CN105391602A - Data acquisition test method and device - Google Patents
Data acquisition test method and device Download PDFInfo
- Publication number
- CN105391602A CN105391602A CN201510938609.8A CN201510938609A CN105391602A CN 105391602 A CN105391602 A CN 105391602A CN 201510938609 A CN201510938609 A CN 201510938609A CN 105391602 A CN105391602 A CN 105391602A
- Authority
- CN
- China
- Prior art keywords
- information
- storage
- data
- parameter
- quality
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
本发明实施例提供了一种数据采集测试方法和装置,该方法包括:接收上传的参数信息,其中,所述参数信息为应用运行时针对各采集参数采集得到的;从所述参数信息中查找存储参数对应存储信息;依据所述存储信息检测数据质量,确定质量校验结果。本发明实施例通过从参数信息中提取存储参数对应的存储信息,依据存储信息进行数据质量的检测,判断出上传的参数信息是否为造假的数据,即确定质量校验结果,从而可以避免采用造假的采集数据,保证数据采集的准确性,从而提高数据采集的准确度。
The embodiment of the present invention provides a method and device for data collection and testing. The method includes: receiving uploaded parameter information, wherein the parameter information is collected for each collection parameter when the application is running; searching for the parameter information from the parameter information The storage parameters correspond to the storage information; the data quality is detected according to the storage information, and the quality verification result is determined. The embodiment of the present invention extracts the storage information corresponding to the storage parameters from the parameter information, detects the data quality according to the storage information, and judges whether the uploaded parameter information is fake data, that is, determines the quality verification result, thereby avoiding the use of fake data. The collection of data, to ensure the accuracy of data collection, thereby improving the accuracy of data collection.
Description
技术领域technical field
本发明涉及通信技术领域,特别是涉及一种数据采集测试方法和一种数据采集测试装置。The invention relates to the field of communication technology, in particular to a data collection and testing method and a data collection and testing device.
背景技术Background technique
随着通信技术的快速发展,尤其是随着移动互联网的推广,智能终端的普及越来越快,且智能终端的功能也越来越丰富。其中,智能终端通过安装各种各样的应用实现其功能,提供多样化的服务。With the rapid development of communication technology, especially with the popularization of mobile Internet, the popularization of smart terminals is getting faster and faster, and the functions of smart terminals are becoming more and more abundant. Among them, the smart terminal implements its functions by installing various applications, and provides diversified services.
为了提高服务质量,各服务平台的开发人员需要设置的数据采集方案采集应用的数据,以了解业务需求。其中,不同的业务需要采集的应用数据不同。因此,服务平台的开发人员需要根据不同的业务设置不同的应用数据采集方案。In order to improve service quality, developers of each service platform need to set up a data collection scheme to collect application data to understand business needs. Among them, different services need to collect different application data. Therefore, developers of the service platform need to set up different application data collection schemes according to different businesses.
具体的,服务平台的开发人员需要根据服务平台提供的业务,设置各应用的采集参数,按照设置的采集参数对各应用进行数据采集,生成该服务平台的业务报表,以了解业务需求。但是,安装在智能终端上的应用比较多,即需要采集的应用数据比较多,导致各服务平台的数据采集格式难以统一。因此,各服务平台的开发人员还需要定义各应用的数据采集格式,使得各服务平台可以按照设置的数据采集格式采集各应用的数据,进一步增加开发人员的工作量。Specifically, the developer of the service platform needs to set the collection parameters of each application according to the services provided by the service platform, collect data for each application according to the set collection parameters, and generate a business report of the service platform to understand business needs. However, there are many applications installed on smart terminals, that is, a large amount of application data needs to be collected, which makes it difficult to unify the data collection formats of each service platform. Therefore, the developers of each service platform also need to define the data collection format of each application, so that each service platform can collect the data of each application according to the set data collection format, further increasing the workload of the developers.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的数据采集测试方法和相应的数据采集测试装置。In view of the above problems, the present invention is proposed to provide a data collection and testing method and a corresponding data collection and testing device that overcome the above problems or at least partially solve the above problems.
依据本发明的一个方面,提供了一种数据采集测试方法,包括:According to one aspect of the present invention, a kind of data acquisition test method is provided, comprising:
接收上传的参数信息,其中,所述参数信息为应用运行时针对各采集参数采集得到的;receiving the uploaded parameter information, wherein the parameter information is collected for each collection parameter when the application is running;
从所述参数信息中查找存储参数对应存储信息;Searching for storage information corresponding to storage parameters from the parameter information;
依据所述存储信息检测数据质量,确定质量校验结果。Data quality is detected according to the stored information, and a quality verification result is determined.
可选地,从所述参数信息中查找存储参数对应存储信息,包括:Optionally, searching for storage information corresponding to storage parameters from the parameter information includes:
确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息。Determine the storage ID of the storage parameter, and search for the storage information corresponding to the storage ID from the parameter information.
可选地,依据所述存储信息检测数据质量,确定质量校验结果,包括:Optionally, the data quality is detected according to the stored information, and the quality verification result is determined, including:
依据所述存储信息查找至少一个终端标识;Find at least one terminal identifier according to the stored information;
采用所述终端标识检测数据质量,确定质量校验结果。The terminal identification is used to detect data quality, and the quality verification result is determined.
可选地,采用所述终端标识检测数据质量,确定质量校验结果,包括:Optionally, the terminal identification is used to detect data quality, and the quality verification result is determined, including:
当所述存储信息对应一个终端标识,生成质量合格的质量校验结果;When the stored information corresponds to a terminal identifier, generate a qualified quality verification result;
当所述存储信息对应多于一个终端标识,生成数据异常的质量校验结果。When the stored information corresponds to more than one terminal identifier, a quality verification result of abnormal data is generated.
可选地,还包括:当所述终端标识存在多于一个终端标识时,查找所述终端标识对应成功上传信息;Optionally, the method further includes: when there is more than one terminal identifier in the terminal identifier, searching for successful upload information corresponding to the terminal identifier;
将各终端标识对应上传成功信息进行排序;Sort the upload success information corresponding to each terminal identifier;
依据排序结果确定所述上传成功信息不存在冗余时,判断数据异常。When it is determined according to the sorting result that there is no redundancy in the upload success information, it is determined that the data is abnormal.
可选地,所述存储参数包括:安全数字存储SD卡参数,所述存储参数对应存储信息包括:SD卡信息。Optionally, the storage parameters include: secure digital storage SD card parameters, and the corresponding storage information of the storage parameters includes: SD card information.
根据本发明的另一方面,提供了一种数据采集测试装置,包括:According to another aspect of the present invention, a kind of data acquisition testing device is provided, comprising:
参数信息接收模块,用于接收上传的参数信息,其中,所述参数信息为应用运行时针对各采集参数采集得到的;A parameter information receiving module, configured to receive uploaded parameter information, wherein the parameter information is collected for each collection parameter when the application is running;
存储信息查找模块,用于从所述参数信息中查找存储参数对应存储信息;A storage information search module, configured to search the storage information corresponding to the storage parameters from the parameter information;
数据质量检测模块,用于依据所述存储信息检测数据质量,确定质量校验结果。A data quality detection module, configured to detect data quality according to the stored information, and determine a quality verification result.
可选地,所述存储信息查找模块,具体用于确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息。Optionally, the storage information searching module is specifically configured to determine a storage identifier of a storage parameter, and search the storage information corresponding to the storage identifier from the parameter information.
可选地,所述数据质量检测模块,包括:Optionally, the data quality detection module includes:
终端标识查找子模块,用于依据所述存储信息查找至少一个终端标识;A terminal identification search submodule, configured to search for at least one terminal identification according to the stored information;
质量校验子模块,用于采用所述终端标识检测数据质量,确定质量校验结果。The quality verification sub-module is configured to use the terminal identification to detect data quality and determine a quality verification result.
可选地,所述质量校验子模块,包括:Optionally, the quality checking submodule includes:
合格结果生成单元,用于当所述存储信息对应一个终端标识,生成质量合格的质量校验结果;A qualified result generating unit, configured to generate a qualified quality verification result when the stored information corresponds to a terminal identifier;
异常结果生成单元,用于当所述存储信息对应多于一个终端标识,生成数据异常的质量校验结果。The abnormal result generating unit is configured to generate a quality verification result of data abnormality when the stored information corresponds to more than one terminal identifier.
可选地,还包括:Optionally, also include:
上传信息查找模块,用于当所述终端标识存在多于一个终端标识时,查找所述终端标识对应成功上传信息;An upload information search module, configured to search for successfully uploaded information corresponding to the terminal identifier when there is more than one terminal identifier in the terminal identifier;
信息排序模块,用于将各终端标识对应上传成功信息进行排序;The information sorting module is used to sort the successful upload information corresponding to each terminal identifier;
异常判断模块,用于依据排序结果确定所述上传成功信息不存在冗余时,判断数据异常。An abnormality judging module, configured to judge data abnormality when it is determined that there is no redundancy in the successful upload information according to the sorting result.
可选地,所述存储参数包括:安全数字存储SD卡参数,所述存储参数对应存储信息包括:SD卡信息。Optionally, the storage parameters include: secure digital storage SD card parameters, and the corresponding storage information of the storage parameters includes: SD card information.
根据本发明的数据采集测试方案,可以从上传的参数信息中查找存储信息,并依据该存储信息检测数据质量,分析采集到的数据是否异常,即判断是否存在数据造假,确定质量校验结果,由此解决了由于终端设备的数据造假而导致数据采集的准确度低的问题,取得了提高采集数据的准确度的有益效果。According to the data collection and testing scheme of the present invention, the stored information can be searched from the uploaded parameter information, and the quality of the data can be detected according to the stored information, and whether the collected data is analyzed is abnormal, that is, it can be judged whether there is data falsification, and the quality verification result can be determined. In this way, the problem of low accuracy of data collection due to data falsification of the terminal equipment is solved, and the beneficial effect of improving the accuracy of collected data is achieved.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:
图1示出了根据本发明实施例的数据采集分析系统结构框图;Fig. 1 shows a structural block diagram of a data collection and analysis system according to an embodiment of the present invention;
图2示出了根据本发明一个实施例的数据采集测试方法的步骤流程图;Fig. 2 shows the flow chart of the steps of the data collection test method according to one embodiment of the present invention;
图3示出了根据本发明另一个实施例的数据采集测试方法的步骤流程图;Fig. 3 shows a flow chart of the steps of a data collection and testing method according to another embodiment of the present invention;
图4示出了根据本发明一个实施例的数据采集测试装置的结构框图;Fig. 4 shows a structural block diagram of a data acquisition testing device according to an embodiment of the present invention;
图5示出了根据本发明另一个实施例的数据采集测试装置的结构框图;Fig. 5 shows a structural block diagram of a data acquisition testing device according to another embodiment of the present invention;
图6示出了根据本发明另一个实施例的数据采集分析系统结构框图。Fig. 6 shows a structural block diagram of a data collection and analysis system according to another embodiment of the present invention.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
通常,一些终端如手机、平板电脑的供应商、软件开发商通过采集安装在终端上的应用在运行时的数据,并对采集的数据进行分析,生成业务报表,以了解业务需求。本发明实施例提供了一种数据采集分析系统,该系统具有通用性,能够为各种应用采集、分析数据并生成不同的业务报表。Usually, suppliers and software developers of some terminals such as mobile phones and tablet PCs collect running data of applications installed on the terminals, analyze the collected data, and generate business reports to understand business needs. The embodiment of the present invention provides a data collection and analysis system, which is versatile and can collect and analyze data and generate different business reports for various applications.
参照图1,示出了根据本发明实施例的数据采集分析系统结构框图。Referring to FIG. 1 , it shows a structural block diagram of a data collection and analysis system according to an embodiment of the present invention.
该数据采集分析系统,包括:采集控制服务器102、数据分析服务器104、报表生成服务器106和至少一个数据终端108,所述数据终端中安装有采集工具。The data collection and analysis system includes: a collection control server 102, a data analysis server 104, a report generation server 106 and at least one data terminal 108, and a collection tool is installed in the data terminal.
所述采集控制服务器102,用于配置所述采集配置信息给数据终端并下发给相应的数据终端,其中,所述配置信息用于控制采集参数的采集。The collection control server 102 is configured to configure the collection configuration information to a data terminal and send it to a corresponding data terminal, wherein the configuration information is used to control collection of collection parameters.
所述数据终端108,用于在应用运行时调用所述采集工具,依据采集配置信息对采集参数的参数信息进行采集;以及将采集的参数信息上传给所述数据分析服务器。The data terminal 108 is configured to call the collection tool when the application is running, collect parameter information of the collection parameters according to the collection configuration information; and upload the collected parameter information to the data analysis server.
所述数据分析服务器104,用于对上传的各采集参数对应参数信息进行分析,获取数据分析结果;将所述数据分析结果发送给所述报表生成服务器。The data analysis server 104 is configured to analyze the uploaded parameter information corresponding to each collection parameter to obtain a data analysis result; and send the data analysis result to the report generation server.
所述报表生成服务器106,用于依据所述数据分析结果生成数据报表。The report generation server 106 is configured to generate a data report according to the data analysis result.
其中,所述数据分析服务器,还用于从所述参数信息中查找存储参数对应存储信息;依据所述存储信息检测数据质量,确定质量校验结果。从而通过采集控制服务器的控制,使得采集工具能够在应用运行的数据终端中采集各采集参数的参数信息。在上传给数据分析服务器后,通过数据分析服务器的分析,可以确定数据的质量校验结果,即判断是否存在数据造假现象;并依据统计需求以及质量校验结果进行数据分析,生成相应业务的数据报表。通过该数据报表获知用户需求、习惯等,对业务进行调整,更符合用户需求。Wherein, the data analysis server is further configured to search the storage information corresponding to the storage parameters from the parameter information; detect the data quality according to the storage information, and determine the quality verification result. Therefore, through the control of the collection control server, the collection tool can collect the parameter information of each collection parameter in the data terminal where the application is running. After uploading to the data analysis server, through the analysis of the data analysis server, the quality verification result of the data can be determined, that is, whether there is data fraud; and data analysis is performed according to statistical requirements and quality verification results to generate corresponding business data report. Through this data report, the user's needs and habits can be learned, and the business can be adjusted to better meet the user's needs.
本发明实施例详细论述数据分析服务器对上传的参数信息的质量校验。The embodiment of the present invention discusses in detail the quality verification of the uploaded parameter information by the data analysis server.
实施例一Embodiment one
参照图2,示出了根据本发明一个实施例的数据采集测试方法的步骤流程图,具体可以包括如下步骤:Referring to Fig. 2, it shows a flow chart of the steps of the data collection and testing method according to one embodiment of the present invention, which may specifically include the following steps:
步骤202,接收上传的参数信息。Step 202, receiving uploaded parameter information.
其中,所述参数信息为应用运行时针对各采集参数采集得到的。Wherein, the parameter information is collected for each collection parameter when the application is running.
实际上,当数据终端(简称终端)如手机、平板电脑通过采集工具采集到应用数据后,即在采集到各采集参数对应的参数信息后,就会将采集到的参数信息上传,使得数据分析服务器可以接收到该上传的参数信息。该参数信息可以包括存储信息、校验信息和采集参数对应的信息等。其中,存储信可以用来检测数据质量,确定质量校验结果,如安全数码卡(SecureDigitalMemoryCard)信息(简称SD卡信息)、多媒体存储卡(MultiMediaCard,MMC)信息、SM卡(SmartMediaCard)信息、CF卡(CompactFlashCard)信息等;校验信息可以用于分析数据传输情况,确定劫持校验结果,如IP(InternetProtocol)地址信息;采集参数对应的参数信息可以包括动态参数对应的参数信息和/或静态参数的参数信息,如应用界面启动信息、按钮点击信息、时长信息、异常信息和会话信息、应用所在终端的标识信息、版本信息、渠道信息、网络类型、分辨率信息等。终端的标识信息包含了终端标识,可以用于识别应用所在终端。In fact, when data terminals (referred to as terminals) such as mobile phones and tablet computers collect application data through collection tools, that is, after collecting the parameter information corresponding to each collection parameter, they will upload the collected parameter information to make data analysis The server can receive the uploaded parameter information. The parameter information may include storage information, verification information, information corresponding to acquisition parameters, and the like. Among them, the storage information can be used to detect data quality and determine the quality verification results, such as Secure Digital Memory Card (SecureDigitalMemoryCard) information (referred to as SD card information), multimedia memory card (MultiMediaCard, MMC) information, SM card (SmartMediaCard) information, CF Card (CompactFlashCard) information, etc.; verification information can be used to analyze data transmission and determine hijacking verification results, such as IP (Internet Protocol) address information; parameter information corresponding to collection parameters can include parameter information corresponding to dynamic parameters and/or static Parameter information of parameters, such as application interface startup information, button click information, duration information, exception information and session information, identification information of the terminal where the application is located, version information, channel information, network type, resolution information, etc. The identification information of the terminal includes the terminal identification, which can be used to identify the terminal where the application is located.
步骤204,从所述参数信息中查找存储参数对应存储信息。Step 204, look up storage information corresponding to the storage parameters from the parameter information.
在接收到参数信息后,数据分析服务器可以对参数信息进行分析,从所述参数信息中查找存储参数对应存储信息。具体的,可以根据检测需要设预置存储参数,如预置SD卡参数。在数据分析的过程中,通过查找预置的存储参数对应的存储信息,就可以获取到该存储参数所对应的存储信息。After receiving the parameter information, the data analysis server may analyze the parameter information, and search for storage information corresponding to the storage parameters from the parameter information. Specifically, preset storage parameters can be set according to detection needs, such as preset SD card parameters. In the process of data analysis, by searching for the storage information corresponding to the preset storage parameters, the storage information corresponding to the storage parameters can be obtained.
可选的,数据分析服务器可以通过确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息。Optionally, the data analysis server may find the storage information corresponding to the storage identifier from the parameter information by determining the storage identifier of the storage parameter.
作为本发明的一个具体示例,存储参数为硬件存储参数,如安全数字存储SD卡参数,简称为SD卡参数,则对应的存储信息为SD卡信息,且依据SD卡信息可以查找到该SD卡对应的SD卡标识。数据分析服务器在分析数据的过程中,可以通过确定存储参数的存储标识,如SD卡标识符,就可以从参数信息中查找得到该存储标识对应的存储信息,如得到SD卡参数对应SD卡信息。As a specific example of the present invention, the storage parameters are hardware storage parameters, such as secure digital storage SD card parameters, referred to as SD card parameters, then the corresponding storage information is SD card information, and the SD card can be found according to the SD card information The corresponding SD card ID. In the process of analyzing data, the data analysis server can obtain the storage information corresponding to the storage identifier from the parameter information by determining the storage identifier of the storage parameter, such as the SD card identifier, such as obtaining the SD card information corresponding to the SD card parameter .
步骤206,依据所述存储信息检测数据质量,确定质量校验结果。Step 206, check the quality of the data according to the stored information, and determine the result of the quality verification.
数据分析服务器在提取到存储信息后,采用存储信息对参数信息进行数据质量检测,以判断采集到的参数信息是否存在数据造假,即判断采集到的参数信息的准确性,确定质量校验结果。具体的,数据分析服务器可以依据存储信息查找应用所在终端对应终端标识,如SD卡标识,采用终端标识检测数据质量,即判断参数信息是否为造假的数据。当存储信息对应一个终端标识时,如SD卡信息对应一个SD卡标识,即该SD卡信息对应一个SD卡,可以判定数据正常,即可以确定上传的参数信息不是造假的数据,生成质量合格的质量校验结果。当存储信息对应多于一个终端标识时,如同一SD卡信息对应38个SD卡标识,即同一个SD卡具有38个SD卡标识,可以判定数据异常,即上传的参数信息可能为造假的数据,生成数据异常的质量校验结果。After extracting the stored information, the data analysis server uses the stored information to perform data quality inspection on the parameter information to determine whether there is data falsification in the collected parameter information, that is, to judge the accuracy of the collected parameter information and determine the quality verification result. Specifically, the data analysis server can search for the corresponding terminal ID of the terminal where the application is located based on the stored information, such as an SD card ID, and use the terminal ID to detect data quality, that is, determine whether the parameter information is fake data. When the stored information corresponds to a terminal identification, such as SD card information corresponds to an SD card identification, that is, the SD card information corresponds to an SD card, it can be determined that the data is normal, that is, it can be determined that the uploaded parameter information is not fake data, and the generated quality is qualified. Quality check results. When the stored information corresponds to more than one terminal ID, such as the same SD card information corresponds to 38 SD card IDs, that is, the same SD card has 38 SD card IDs, it can be determined that the data is abnormal, that is, the uploaded parameter information may be fake data , to generate the quality check result of abnormal data.
在本发明实施例中,通过从上传的参数信息中提取存储参数对应的存储信息,依据所提取的存储信息进行数据质量的检测,判断出上传的参数信息是否为造假的数据,即确定质量校验结果,从而可以避免采用造假的采集数据,保证数据采集的准确性,从而提高数据采集的准确度。In the embodiment of the present invention, by extracting the storage information corresponding to the storage parameters from the uploaded parameter information, the data quality detection is performed according to the extracted storage information, and it is judged whether the uploaded parameter information is fake data, that is, the quality calibration is determined. The results of the test can avoid the use of falsified data collection and ensure the accuracy of data collection, thereby improving the accuracy of data collection.
实施例二Embodiment two
参照图3,示出了根据本发明另一个实施例的数据采集测试方法的步骤流程图,具体可以包括如下步骤:Referring to FIG. 3 , it shows a flow chart of the steps of a data collection and testing method according to another embodiment of the present invention, which may specifically include the following steps:
步骤302,接收上传的参数信息。Step 302, receiving uploaded parameter information.
其中,所述参数信息为应用运行时针对各采集参数采集得到的。Wherein, the parameter information is collected for each collection parameter when the application is running.
在数据采集分析系统中,采集控制服务器基于各服务平台所需要采集的数据,确定待采集的应用。在确定应用后,云服务器可以根据应用类型确定待采集的应用的静态参数、动态参数,以及设置采集配置信息,使得各应用或者应用的终端可以按照该采集配置信息采集、上传采集到的各采集参数对应参数信息。In the data collection and analysis system, the collection control server determines the application to be collected based on the data collected by each service platform. After the application is determined, the cloud server can determine the static parameters and dynamic parameters of the application to be collected according to the application type, and set the collection configuration information, so that each application or application terminal can collect and upload the collected data according to the collection configuration information. Parameters correspond to parameter information.
需要说明的是,静态参数可以用于采集该应用对应的静态参数信息,如应用所在终端的标识信息、版本信息、渠道信息、网络类型和分辨率信息等。其中,终端的标识信息包含了终端标识,可以用于识别应用所在终端,如可以基于终端的硬件等信息计算M2值,该M2值可以通过序列号、机型号、版本信息等计算,该M2值既能够标识不同的终端又不会泄露终端的硬件信息,保证用户的隐私安全。例如,可以基于SD卡的信息计算SD卡的M2值,将SD卡的M2值作为SD卡标识,如采用SD卡的唯一标识算法如消息摘要算法(Message-DigestAlgorithm)即MD算法,对SD卡的序列号、型号、安卓号等信息进行计算,得到SD卡标识。版本信息可以用于记录该应用对应的版本,如终端的操作系统版本,软件版本或者软件开发工具包版本等。渠道信息可以用于识别该应用的获取路径。网络类型可以用于确定应用所在终端连接的网络类型。分辨率信息可以用于确定该应用所在终端的显示分辨率,显示分辨率又可以称为屏幕分辨率。It should be noted that the static parameters can be used to collect static parameter information corresponding to the application, such as identification information, version information, channel information, network type and resolution information of the terminal where the application is located. Among them, the identification information of the terminal includes the terminal identification, which can be used to identify the terminal where the application is located. For example, the M2 value can be calculated based on the terminal hardware and other information. The M2 value can be calculated through the serial number, model number, version information, etc. The value can identify different terminals without revealing the hardware information of the terminal, ensuring the privacy and security of users. For example, the M2 value of the SD card can be calculated based on the information of the SD card, and the M2 value of the SD card can be used as the SD card identification. Calculate the serial number, model number, Android number and other information of the SD card to get the SD card identification. The version information may be used to record the corresponding version of the application, such as the terminal operating system version, software version or software development kit version, and the like. The channel information can be used to identify the acquisition path of the application. The network type can be used to determine the network type connected to the terminal where the application is located. The resolution information can be used to determine the display resolution of the terminal where the application is located, and the display resolution can also be called a screen resolution.
动态参数可以用于采集该应用在运行过程中生成的参数信息,如应用界面启动信息、按钮点击信息、时长信息、异常信息和会话信息等。其中,应用界面启动信息用于记录应用的界面切换时切换前的页面以及切换后的界面;按钮点击信息用于记录用户点击该应用中各按钮对应的按钮编号以及该按钮编号对应的点击次数;时长信息根据启动时间点和关闭时间点确定,如应用运行时间、界面运行时间;异常信息用于记录应用运行异常的信息,如应用启动失败的时间点或者次数;会话信息用于记录该应用在运行时产生的会话类的消息。Dynamic parameters can be used to collect parameter information generated during the running of the application, such as application interface startup information, button click information, duration information, exception information, and session information. Among them, the application interface startup information is used to record the page before switching and the interface after switching when the interface of the application is switched; the button click information is used to record the button number corresponding to each button clicked by the user in the application and the number of clicks corresponding to the button number; The duration information is determined according to the startup time point and shutdown time point, such as the application running time and interface running time; the exception information is used to record the information about the abnormal operation of the application, such as the time point or number of times when the application fails to start; the session information is used to record the application in the Session class messages generated at runtime.
云服务器可以基于各服务平台所需要采集的数据,确定待采集的应用。在确定应用后,采集工具可以根据应用类型确定待采集的应用的动态参数。动态参数可以用于采集该应用在运行过程中生成的参数信息,如应用界面启动信息、按钮点击信息、时长信息、异常信息和会话信息等。采集工具依据所述应用的运行实时采集所述动态参数的参数信息。The cloud server can determine the application to be collected based on the data to be collected by each service platform. After the application is determined, the collection tool can determine the dynamic parameters of the application to be collected according to the application type. Dynamic parameters can be used to collect parameter information generated during the running of the application, such as application interface startup information, button click information, duration information, exception information, and session information. The collection tool collects the parameter information of the dynamic parameters in real time according to the operation of the application.
其中,应用界面启动信息用于记录应用的界面切换时切换前的页面以及切换后的界面;按钮点击信息用于记录用户点击该应用中各按钮对应的按钮编号以及该按钮编号对应的点击次数;时长信息根据启动时间点和关闭时间点确定,如应用运行时间、界面运行时间;异常信息用于记录应用运行异常的信息,如应用启动失败的时间点或者次数;会话信息用于记录该应用在运行时产生的会话类的消息。Among them, the application interface startup information is used to record the page before switching and the interface after switching when the interface of the application is switched; the button click information is used to record the button number corresponding to each button clicked by the user in the application and the number of clicks corresponding to the button number; The duration information is determined according to the startup time point and shutdown time point, such as the application running time and interface running time; the exception information is used to record the information about the abnormal operation of the application, such as the time point or number of times when the application fails to start; the session information is used to record the application in the Session class messages generated at runtime.
其中,依据所述应用的运行实时采集所述动态参数的参数信息包括:Wherein, collecting the parameter information of the dynamic parameters in real time according to the operation of the application includes:
当检测到所述应用的界面切换时,记录切换前的界面为上一页,记录切换后的界面为当前页,将所述上一页和当前页添加到应用界面启动信息中。即在对用户在应用界面中访问记录时,为了保证访问的连续,可以在记录当前界面的同时记录上一访问界面,从而每一个界面记录均为当前页+上一页,当然若是首页,则上一页为空。When the interface switch of the application is detected, the interface before the switch is recorded as the previous page, and the interface after the switch is recorded as the current page, and the previous page and the current page are added to the application interface startup information. That is to say, when recording the user's access in the application interface, in order to ensure the continuity of the access, the previous access interface can be recorded while recording the current interface, so that each interface record is the current page + the previous page. Of course, if it is the home page, then The previous page is empty.
当检测到所述应用的按钮被触发时,获取所述按钮对应的按钮编号,更新所述按钮编号对应的点击次数,将所述按钮编号和点击次数添加到按钮点击信息中。应用中可以包括许多按钮,可以给每个按钮进行编号来标识不同的按钮,从而在按钮被点击时记录按钮编号以及点击次数,即点击次数初始为0,每点击一次即加一。When it is detected that the button of the application is triggered, the button number corresponding to the button is obtained, the number of clicks corresponding to the button number is updated, and the button number and the number of clicks are added to the button click information. The application can include many buttons, and each button can be numbered to identify different buttons, so that when the button is clicked, the button number and the number of clicks are recorded, that is, the number of clicks is initially 0, and one is added for each click.
应用可以通过多进程方式运行,通常多进程运行时应用启动采用主进程记录启动时间点,采用最后一个进程记录结束时间点,但是,当应用启动时间过短时可能出现主进程未完全启动则应用已关闭的问题,此时记录的运行时间就可能为负值,或者采用上次启动的启动时间点与本次关闭的结束时间点计算时长,则会出现时长超长的情况,导致时长记录不准确。The application can run in a multi-process mode. Usually, when the application starts with multiple processes, the main process is used to record the start time point, and the last process is used to record the end time point. However, when the application startup time is too short, it may occur that the main process is not fully started. If the problem has been closed, the recorded running time may be a negative value at this time, or if the time is calculated by using the start time of the last startup and the end time of this shutdown, the time will be too long, causing the time record to be incorrect. precise.
为解决上述不准确的问题,采集所述应用相关的运行时间作为时长信息,其中,所述时长信息包括:界面运行时间和应用运行时间。其中,所述采集所述应用相关的运行时间作为时长信息包括:所述应用的主进程记录启动时间点和结束时间点,依据所述启动时间点和结束时间点记录运行时间,将所述运行时间作为时长信息。即本实施例针对多进程运行的应用,开始和结束时间的记录均从采用主进程进行记录,即应用启动时采用主进程记录启动时间点,应用关闭是采用主进程记录结束时间点,从而计算结束时间点和启动时间点的差值即为运行时间,确保准确记录运行时长。In order to solve the above inaccurate problem, the running time related to the application is collected as duration information, wherein the duration information includes: interface running time and application running time. Wherein, the collecting the running time related to the application as the duration information includes: the main process of the application records the start time point and the end time point, records the running time according to the start time point and the end time point, and records the running time Time as duration information. That is to say, this embodiment is aimed at the application of multi-process operation. The records of the start and end time are all recorded from the main process, that is, the main process is used to record the start time point when the application is started, and the end time point is recorded by the main process when the application is closed, so as to calculate The difference between the end time point and the start time point is the running time to ensure accurate recording of the running time.
本发明实施例中云服务器可以通过无线或者有线连接的方式连接各应用所在终端下发配置信息,从而采集工具采集到各采集参数的参数信息后,可以上传采集参数对应的参数信息给数据分析服务器。数据分析服务器可以按照预置的算法对参数信息进行分析,报表生成服务器基于统计结果生成各服务平台所需要的业务信息,如生成业务报表、确定业务指标等。In the embodiment of the present invention, the cloud server can connect to the terminal where each application is located to deliver configuration information through a wireless or wired connection, so that after the collection tool collects the parameter information of each collection parameter, it can upload the parameter information corresponding to the collection parameter to the data analysis server . The data analysis server can analyze the parameter information according to the preset algorithm, and the report generation server generates the business information required by each service platform based on the statistical results, such as generating business reports and determining business indicators.
步骤304,确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息。Step 304, determine the storage ID of the storage parameter, and search the storage information corresponding to the storage ID from the parameter information.
在本发明实施例中,数据分析分析服务器可以根据数据质量检测的需求,确定所需要提取的存储信息,采用所提取的存储信息对参数信息进行数据质量检测,以判断上传的参数信息是否异常。具体的,通过确定存储参数的存储标识,就可以依据所确定的参数标识进行查找;若从参数信息中查找到所确定的存储标识对应存储信息,就可以将找到的存储信息提取出来,以便对上传的参数信息进行数据质量的检测,如判断上传的参数信息是否为造假的数据。In the embodiment of the present invention, the data analysis server can determine the stored information to be extracted according to the requirements of data quality testing, and use the extracted stored information to perform data quality testing on the parameter information to determine whether the uploaded parameter information is abnormal. Specifically, by determining the storage identifier of the storage parameter, a search can be performed based on the determined parameter identifier; if the storage information corresponding to the determined storage identifier is found from the parameter information, the found storage information can be extracted, so as to The uploaded parameter information is tested for data quality, such as judging whether the uploaded parameter information is fake data.
实际上,数据分析服务器设置的存储参数可以包括SD卡参数,则存储参数对应存储信息可以包括SD卡信息。作为本发明的一个具体示例,数据分析服务器可以通过确定SD卡标识符,就可以依据SD卡标识符对接收到的参数信息进行查找,从参数信息中提取该SD卡标识符对应SD卡信息。In fact, the storage parameters set by the data analysis server may include SD card parameters, and the storage information corresponding to the storage parameters may include SD card information. As a specific example of the present invention, the data analysis server can search the received parameter information according to the SD card identifier by determining the SD card identifier, and extract the SD card information corresponding to the SD card identifier from the parameter information.
需要说明的是,每个SD卡具有唯一对应的SD卡标识,并且SD卡信息可以用于查找SD卡所对应的SD卡标识。It should be noted that each SD card has a unique corresponding SD card ID, and the SD card information can be used to find the SD card ID corresponding to the SD card.
步骤306,依据所述存储信息查找至少一个终端标识。Step 306, searching for at least one terminal identifier according to the stored information.
在提取存储信息后,就可以依据存储信息进行数据质量检测,判断采集到的参数信息是否存在数据造假。具体的,从接收到的所有参数信息中提取各终端的标识信息;并判断所提取标识信息的终端标识是否对应所提取的存储信息;若是终端标识是否对应所提取的存储信息,即可以确定所提取的存储信息为该终端的存储信息,建立所提取存储信息与该终端的终端标识的对应关系。After extracting the stored information, data quality testing can be performed based on the stored information to determine whether there is data falsification in the collected parameter information. Specifically, extract the identification information of each terminal from all the received parameter information; and judge whether the terminal identification of the extracted identification information corresponds to the extracted storage information; if the terminal identification corresponds to the extracted storage information, it can be determined The extracted storage information is the storage information of the terminal, and a corresponding relationship between the extracted storage information and the terminal identifier of the terminal is established.
作为本发明的一个具体示例,假设终端A、终端B以及终端C连接同一个SD卡,标注为SD卡1,并且将SD卡1的SD卡信息标注为SD卡信息1;终端D连接另一个SD卡,标注为SD卡2,并且将SD卡2的SD卡信息标注为SD卡信息2。当数据分析服务器从终端A、终端B或终端C上传的参数信息中提取SD卡信息时,其所提取的SD卡信息为SD卡信息1,依据SD卡信息1查找SD卡标识,可以找到终端A对应的SD卡标识、终端B对应的SD卡标识以及终端C对应的SD卡标识,即依据SD卡信息1查找上传的参数信息,可以得到SD卡信息1所对应的3个SD卡标识。当数据分析服务器从终端D上传的参数信息中提取SD卡信息时,其所提取的SD卡信息为SD卡信息2,依据SD卡信息2查找SD卡标识,可以找到终端D对应的SD卡标识,即依据SD卡信息2查找上传的参数信息,可以得到SD卡信息2所对应的1个SD卡标识。As a specific example of the present invention, assume that terminal A, terminal B and terminal C are connected to the same SD card, marked as SD card 1, and the SD card information of SD card 1 is marked as SD card information 1; terminal D is connected to another The SD card is marked as SD card 2, and the SD card information of SD card 2 is marked as SD card information 2. When the data analysis server extracts the SD card information from the parameter information uploaded by terminal A, terminal B, or terminal C, the extracted SD card information is SD card information 1. According to the SD card information 1, the SD card identification can be found, and the terminal can be found. The SD card ID corresponding to A, the SD card ID corresponding to terminal B, and the SD card ID corresponding to terminal C, that is, search the uploaded parameter information according to SD card information 1, and obtain the 3 SD card IDs corresponding to SD card information 1. When the data analysis server extracts the SD card information from the parameter information uploaded by terminal D, the extracted SD card information is SD card information 2. According to the SD card information 2, the SD card identification can be found, and the SD card identification corresponding to terminal D can be found , that is, search the uploaded parameter information according to the SD card information 2, and obtain an SD card ID corresponding to the SD card information 2.
步骤308,采用所述终端标识检测数据质量,确定质量校验结果。Step 308, using the terminal identifier to detect data quality, and determine a quality verification result.
在具体实现中,数据分析服务器可以对存储信息所对应的终端标识进行统计,确定该存储信息对应终端标识的数量,基于终端标识的数量判断该存储信息是否属于一个终端,相当于判断该存储信息所对应的参数信息是否存在数据造假。若存储信息对应的终端标识的数量为1,则该存储信息属于一个终端,如上述例子中,SD卡信息2属于终端D,可以判定采集到的数据正常,即确定SD卡信息2所对应的参数信息不是造假的数据,生成该数据采集质量合格的质量校验结果。若存储信息对应的终端标识的数量不为1,则该存储信息不是属于一个终端,如上述例子中,SD卡信息1属于3个终端,可以判定采集到的数据异常,即SD卡信息1所对应的参数信息可能是造假的数据,生成该数据异常的质量校验结果。In a specific implementation, the data analysis server can count the terminal identifiers corresponding to the stored information, determine the number of terminal identifiers corresponding to the stored information, and judge whether the stored information belongs to a terminal based on the number of terminal identifiers, which is equivalent to judging that the stored information Whether there is data falsification in the corresponding parameter information. If the number of terminal identifiers corresponding to the stored information is 1, then the stored information belongs to one terminal. For example, in the above example, SD card information 2 belongs to terminal D, and it can be determined that the collected data is normal, that is, it can be determined that the SD card information 2 corresponds to The parameter information is not falsified data, and the quality verification result of the data collection quality is generated. If the number of terminal identifiers corresponding to the stored information is not 1, the stored information does not belong to one terminal. For example, in the above example, SD card information 1 belongs to 3 terminals, and it can be determined that the collected data is abnormal, that is, SD card information 1 The corresponding parameter information may be fake data, and an abnormal quality verification result of the data is generated.
可选的,当所述存储信息对应一个终端标识,生成质量合格的质量校验结果。当所述存储信息对应多于一个终端标识,生成数据异常的质量校验结果。Optionally, when the stored information corresponds to a terminal identifier, a quality verification result of qualified quality is generated. When the stored information corresponds to more than one terminal identifier, a quality verification result of abnormal data is generated.
具体的,当存储信息对应一个终端标识时,数据分析服务器可以判断该存储信息所对应的参数信息为正常数据,可以采用该参数信息进行数据分析,生成各服务平台所需要的数据报表,以了解业务需求,对业务进行调整。Specifically, when the stored information corresponds to a terminal identifier, the data analysis server can determine that the parameter information corresponding to the stored information is normal data, and can use the parameter information for data analysis to generate the data reports required by each service platform to understand Business needs, adjust the business.
可选的,当所述终端标识存在多于一个终端标识时,查找所述终端标识对应成功上传信息;将各终端标识对应上传成功信息进行排序;依据排序结果确定所述上传成功信息不存在冗余时,判断数据异常。Optionally, when there is more than one terminal identifier in the terminal identifier, search for the successful upload information corresponding to the terminal identifier; sort the upload success information corresponding to each terminal identifier; determine that there is no redundancy in the upload success information according to the sorting result. In the rest of the time, it is judged that the data is abnormal.
实际上,一些应用所在的终端设备如显示器,在本地没有存储空间,通过连接处理器或者硬盘,利用处理器或者硬盘的存储空间处理数据。其中,多个终端可以共用同一个处理器或者硬盘的存储空间处理数据,如多个显示器连接同一个SD卡,即共用同一个SD卡的存储空间。在采集数据过程中,对连接同一个硬盘或者处理器的多个终端进行数据采集,实质上采集到的参数信息是同一个硬盘或者处理器的数据。In fact, some terminal devices, such as monitors, where applications are located, have no local storage space, and are connected to a processor or a hard disk to process data using the storage space of the processor or hard disk. Wherein, multiple terminals can share the same processor or storage space of the hard disk to process data, for example, multiple displays are connected to the same SD card, that is, they share the same storage space of the SD card. In the process of collecting data, data is collected from multiple terminals connected to the same hard disk or processor, and the parameter information collected is actually the data of the same hard disk or processor.
当存储信息对应多于一个终端标识时,数据分析服务器可以查找各终端标识对应成功上传信息,如成功传输日志信息(transformation)。终端标识对应成功上传信息包括了成功传输次数,如成功传输日志的次数transformationtimes(简称为tt值)。每一次成功上传采集到的参数信息,tt值自动按照单位值增加,如自动加1。When the stored information corresponds to more than one terminal identifier, the data analysis server may search for successfully uploaded information corresponding to each terminal identifier, such as successful transmission log information (transformation). The successfully uploaded information corresponding to the terminal identifier includes the number of successful transmission times, such as the number of times transformationtimes (referred to as tt value) for successful log transmission. Every time the collected parameter information is successfully uploaded, the tt value will automatically increase according to the unit value, such as automatically adding 1.
在存储信息对应终端标识多于一个时,数据分析服务器可以将各终端标识对应上传成功信息进行排序,如按照tt值的大小进行排序,基于排序结果判断上传成功信息是否存在冗余。当上传成功信息不存在冗余时,可以确定存储信息对应的多个终端标识实质上是同一个处理器或者硬盘的数据,即存在数据造假,判定数据异常。结合上述例子,SD卡信息1对应3个SD卡标识,数据分析服务器按照tt值的大小,对成功传输日志的次数进行排序,判断成功传输日志的次数是否重复;当成功传输日志的次数不重复时,即在成功传输日志的次数不存在冗余时,可以判定数据异常,如假设终端A对应的SD卡标识的tt值为1,终端B对应的SD卡标识的tt值为3,终端C对应的SD卡标识的tt值为2,即成功传输日志的次数不存在冗余,可以判定包含SD卡信息1的参数信息异常,相当于确定包含SD卡信息1的参数信息存在数据造假,生成数据异常的质量校验结果,避免该参数信息进行数据分析,即避免采用异常的参数信息进行分析,提高数据采集的准确度。When the stored information corresponds to more than one terminal identifier, the data analysis server can sort the upload success information corresponding to each terminal identifier, such as sorting according to the size of the tt value, and judge whether there is redundancy in the upload success information based on the sorting result. When there is no redundancy in the successful upload information, it can be determined that the multiple terminal identifiers corresponding to the stored information are actually the data of the same processor or hard disk, that is, there is data falsification, and it is determined that the data is abnormal. Combined with the above example, SD card information 1 corresponds to 3 SD card identifiers, and the data analysis server sorts the number of successful log transfers according to the size of the tt value, and judges whether the number of successful log transfers is repeated; when the number of successful log transfers is not repeated When , that is, when there is no redundancy in the number of successful log transmissions, it can be determined that the data is abnormal. The tt value of the corresponding SD card ID is 2, that is, there is no redundancy in the number of successful log transfers, and it can be determined that the parameter information containing SD card information 1 is abnormal, which is equivalent to determining that the parameter information containing SD card information 1 has data falsification, and generating The quality verification result of data abnormality avoids the parameter information for data analysis, that is, avoids the use of abnormal parameter information for analysis, and improves the accuracy of data collection.
在本发明实施例中,当存储信息对应多于一个终端标识时,数据分析服务器可以判定数据异常,生成数据异常的质量校验结果,以避免采用异常的数据进行数据分析,保证数据分析结果的准确性。In the embodiment of the present invention, when the stored information corresponds to more than one terminal identifier, the data analysis server can determine that the data is abnormal, and generate a quality verification result of the data abnormality, so as to avoid using abnormal data for data analysis and ensure the accuracy of the data analysis results. accuracy.
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action order, because according to the embodiment of the present invention , certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
实施例三Embodiment Three
参照图4,示出了根据本发明一个实施例的数据采集测试装置的结构框图,具体可以包括如下模块:Referring to Fig. 4, it shows a structural block diagram of a data acquisition and testing device according to an embodiment of the present invention, which may specifically include the following modules:
参数信息接收模块402,用于接收上传的参数信息。The parameter information receiving module 402 is configured to receive uploaded parameter information.
其中,所述参数信息为应用运行时针对各采集参数采集得到的。Wherein, the parameter information is collected for each collection parameter when the application is running.
存储信息查找模块404,用于从所述参数信息中查找存储参数对应存储信息。The storage information searching module 404 is configured to search the storage information corresponding to the storage parameters from the parameter information.
数据质量检测模块406,用于依据所述存储信息检测数据质量,确定质量校验结果。The data quality detection module 406 is configured to detect data quality according to the stored information, and determine a quality verification result.
在本发明实施例中,通过从上传的参数信息中提取存储参数对应的存储信息,依据所提取的存储信息进行数据质量的检测,判断出上传的参数信息是否为造假的数据,即确定质量校验结果,从而可以避免采用造假的采集数据,保证数据采集的准确性,从而提高数据采集的准确度。In the embodiment of the present invention, by extracting the storage information corresponding to the storage parameters from the uploaded parameter information, the data quality detection is performed according to the extracted storage information, and it is judged whether the uploaded parameter information is fake data, that is, the quality calibration is determined. The results of the test can avoid the use of falsified data collection and ensure the accuracy of data collection, thereby improving the accuracy of data collection.
参照图5,示出了根据本发明一个实施例的数据采集测试装置的结构框图,具体可以包括如下模块:Referring to Fig. 5, it shows a structural block diagram of a data acquisition and testing device according to an embodiment of the present invention, which may specifically include the following modules:
在本发明的一种优选实施例中,存储信息查找模块404,具体用于确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息。In a preferred embodiment of the present invention, the storage information search module 404 is specifically configured to determine the storage identifier of the storage parameter, and search the storage information corresponding to the storage identifier from the parameter information.
可选的,数据质量检测模块406可以包括:Optionally, the data quality detection module 406 may include:
其中,终端标识查找子模块4060,用于依据所述存储信息查找至少一个终端标识。质量校验子模块4062,用于采用所述终端标识检测数据质量,确定质量校验结果。Wherein, the terminal identification search submodule 4060 is configured to search for at least one terminal identification according to the stored information. The quality verification sub-module 4062 is configured to use the terminal identifier to detect data quality and determine a quality verification result.
可选的,质量校验子模块4062可以包括以下单元:Optionally, the quality checking submodule 4062 may include the following units:
合格结果生成单元40620,用于当所述存储信息对应一个终端标识,生成质量合格的质量校验结果。The qualified result generating unit 40620 is configured to generate a qualified quality verification result when the stored information corresponds to a terminal identifier.
异常结果生成单元40622,用于当所述存储信息对应多于一个终端标识,生成数据异常的质量校验结果。The abnormal result generating unit 40622 is configured to generate a quality verification result of data abnormality when the stored information corresponds to more than one terminal identifier.
在本发明的一个优选实施例中,数据采集测试装置还可以包括以下模块:In a preferred embodiment of the present invention, the data collection and testing device can also include the following modules:
上传信息查找模块408,用于当所述终端标识存在多于一个终端标识时,查找所述终端标识对应成功上传信息。The upload information search module 408 is configured to search for successful upload information corresponding to the terminal identifier when there is more than one terminal identifier.
信息排序模块410,用于将各终端标识对应上传成功信息进行排序;An information sorting module 410, configured to sort the upload success information corresponding to each terminal identifier;
异常判断模块412,用于依据排序结果确定所述上传成功信息不存在冗余时,判断数据异常。其中,异常判断模块412还可以触发异常结果生成单元40622,使得异常结果生成单元40622生成数据异常的质量校验结果。An abnormality judging module 412, configured to judge data abnormality when it is determined that there is no redundancy in the upload success information according to the sorting result. Wherein, the abnormality judging module 412 may also trigger the abnormal result generating unit 40622, so that the abnormal result generating unit 40622 generates a quality verification result of abnormal data.
可选的,存储参数可以包括安全数字存储SD卡参数;存储参数对应存储信息可以包括:SD卡信息。Optionally, the storage parameters may include secure digital storage SD card parameters; the storage information corresponding to the storage parameters may include: SD card information.
在上述数据采集分析系统中,本实施例的数据采集装置可以配置于数据分析服务器中,如图6所示,该数据采集分析系统,包括:采集控制服务器102、数据分析服务器104、报表生成服务器106和至少一个数据终端108,所述数据终端中安装有采集工具。采集控制服务器102包括:云控服务器1022和开发配置服务器1024。In the above-mentioned data collection and analysis system, the data collection device of this embodiment can be configured in the data analysis server, as shown in Figure 6, the data collection and analysis system includes: collection control server 102, data analysis server 104, report generation server 106 and at least one data terminal 108, the collection tool is installed in the data terminal. The collection and control server 102 includes: a cloud control server 1022 and a development and configuration server 1024 .
其中,采集控制服务器102配置所述采集配置信息给数据终端并下发给相应的数据终端108;所述数据终端108在应用运行时调用所述采集工具,依据采集配置信息对采集参数的参数信息进行采集;所述数据终端108将采集的参数信息上传给所述采集控制服务器104;所述数据分析服务器104对上传的各采集参数对应参数信息进行分析,获取数据分析结果;所述数据分析服务器104将所述数据分析结果发送给所述报表生成服务器106;所述报表生成服务器106依据所述数据分析结果生成数据报表。Wherein, the collection control server 102 configures the collection configuration information to the data terminal and sends it to the corresponding data terminal 108; the data terminal 108 invokes the collection tool when the application is running, and the parameter information of the collection parameters according to the collection configuration information Collect; the data terminal 108 uploads the collected parameter information to the collection control server 104; the data analysis server 104 analyzes the corresponding parameter information of each collection parameter uploaded, and obtains data analysis results; the data analysis server 104 sends the data analysis result to the report generation server 106; the report generation server 106 generates a data report according to the data analysis result.
一个示例中,所述采集控制服务器102,用于配置所述采集配置信息给数据终端并下发给相应的数据终端,其中,所述配置信息用于控制采集参数的采集;所述数据终端108,用于在应用运行时调用所述采集工具,依据采集配置信息对采集参数的参数信息进行采集;以及将采集的参数信息上传给所述数据分析服务器;所述数据分析服务器104,用于对上传的各采集参数对应参数信息进行分析,获取数据分析结果;将所述数据分析结果发送给所述报表生成服务器;所述报表生成服务器106,用于依据所述数据分析结果生成数据报表。In an example, the collection control server 102 is configured to configure the collection configuration information to a data terminal and send it to a corresponding data terminal, wherein the configuration information is used to control the collection of collection parameters; the data terminal 108 , for invoking the collection tool when the application is running, and collecting the parameter information of the collection parameters according to the collection configuration information; and uploading the collected parameter information to the data analysis server; the data analysis server 104 is used for The uploaded acquisition parameters are analyzed corresponding to the parameter information to obtain data analysis results; the data analysis results are sent to the report generation server; the report generation server 106 is used to generate data reports according to the data analysis results.
一个可选实施例中,所述采集控制服务器102包括云控服务器1022;所述云控服务器1022,用于依据应用类型确定所述应用的采集参数,其中,所述采集参数包括:动态参数和/或静态参数;依据所述应用和应用所在终端配置采集配置信息,其中,所述采集配置信息用于控制所述采集参数的采集和上传;将采集参数和采集配置信息下发给应用所在的数据终端。In an optional embodiment, the collection control server 102 includes a cloud control server 1022; the cloud control server 1022 is configured to determine the collection parameters of the application according to the application type, wherein the collection parameters include: dynamic parameters and /or static parameters; collect configuration information according to the configuration of the application and the terminal where the application is located, wherein the collection configuration information is used to control the collection and uploading of the collection parameters; send the collection parameters and collection configuration information to the terminal where the application is located data terminal.
其中,所述采集控制服务器配置所述采集配置信息给数据终端并下发给相应的数据终端,包括:所述采集控制服务器依据应用类型确定所述应用的采集参数,其中,所述采集参数包括:动态参数和/或静态参数;依据所述应用和应用所在终端配置的采集配置信息,其中,所述采集配置信息用于控制所述采集参数的采集和上传;将采集参数和采集配置信息下发给应用所在的数据终端。Wherein, the collection control server configures the collection configuration information to the data terminal and sends it to the corresponding data terminal, including: the collection control server determines the collection parameters of the application according to the application type, wherein the collection parameters include : dynamic parameters and/or static parameters; collection configuration information configured according to the application and the terminal where the application is located, wherein the collection configuration information is used to control the collection and upload of the collection parameters; download the collection parameters and collection configuration information Send to the data terminal where the application is located.
所述云控服务器1022,用于配置参数信息的上传条件和/或采样条件,将上传条件和/或采样条件添加到采集配置信息中;配置所述应用所在终端对应内存的采集阈值,将所述采集阈值添加到采集配置信息中;配置所述应用所在终端对应网络类型的上传间隔,将所述上传间隔添加到所述采集配置信息中;配置所述应用所在终端对应缓存阈值,将所述缓存阈值添加到采集配置信息中;以及,在所述采集配置信息中配置协议上传顺序、采样率和采样参数的优先级。The cloud control server 1022 is configured to configure upload conditions and/or sampling conditions of parameter information, add the upload conditions and/or sampling conditions to the collection configuration information; configure the collection threshold corresponding to the memory of the terminal where the application is located, and set the The collection threshold is added to the collection configuration information; the upload interval of the terminal corresponding to the network type of the application is configured, and the upload interval is added to the collection configuration information; the cache threshold corresponding to the terminal of the application is configured, and the The cache threshold is added to the collection configuration information; and, the protocol upload sequence, sampling rate and priority of sampling parameters are configured in the collection configuration information.
依据所述应用和应用所在终端配置的采集配置信息的步骤包括以下至少一种:配置参数信息的上传条件和/或采样条件,将上传条件和/或采样条件添加到采集配置信息中;配置所述应用所在终端对应内存的采集阈值,将所述采集阈值添加到采集配置信息中;配置所述应用所在终端对应网络类型的上传间隔,将所述上传间隔添加到所述采集配置信息中;配置所述应用所在终端对应缓存阈值,将所述缓存阈值添加到采集配置信息中;在所述采集配置信息中配置协议上传顺序、采样率和采样参数的优先级。The step of collecting configuration information configured according to the application and the terminal where the application is located includes at least one of the following: configuring upload conditions and/or sampling conditions of parameter information, adding the upload conditions and/or sampling conditions to the collection configuration information; The collection threshold of the memory corresponding to the terminal where the application is located, adding the collection threshold to the collection configuration information; configuring the upload interval corresponding to the network type of the terminal where the application is located, and adding the upload interval to the collection configuration information; configuring The terminal where the application is located corresponds to a cache threshold, and the cache threshold is added to the collection configuration information; the protocol upload sequence, sampling rate, and priority of sampling parameters are configured in the collection configuration information.
其中,所述数据终端108,用于采用采集工具依据采集配置信息采集所述应用的静态参数的参数信息;以及,采用所述采集工具依据采集配置信息确定待采集的动态参数,依据所述应用的运行实时采集所述动态参数的参数信息。Wherein, the data terminal 108 is used to collect the parameter information of the static parameters of the application according to the collection configuration information by using the collection tool; and, use the collection tool to determine the dynamic parameters to be collected according to the collection configuration information, The operation collects the parameter information of the dynamic parameters in real time.
所述依据采集配置信息对采集参数的参数信息进行采集,包括:采用所述采集工具依据采集配置信息采集所述应用的静态参数的参数信息;采用所述采集工具依据采集配置信息确定待采集的动态参数,依据所述应用的运行实时采集所述动态参数的参数信息。The collecting the parameter information of the collection parameters according to the collection configuration information includes: using the collection tool to collect the parameter information of the static parameters of the application according to the collection configuration information; using the collection tool to determine the parameters to be collected according to the collection configuration information A dynamic parameter, collecting parameter information of the dynamic parameter in real time according to the operation of the application.
所述数据终端108,用于当检测到所述应用的界面切换时,记录切换前的界面为上一页,记录切换后的界面为当前页,将所述上一页和当前页添加到应用界面启动信息中;当检测到所述应用的按钮被触发时,获取所述按钮对应的按钮编号,更新所述按钮编号对应的点击次数,将所述按钮编号和点击次数添加到按钮点击信息中;采集所述应用相关的运行时间作为时长信息,其中,所述时长信息包括:界面运行时间和应用运行时间。The data terminal 108 is configured to record that the interface before the switch is the previous page, record the interface after the switch as the current page, and add the previous page and the current page to the application when the interface switching of the application is detected. In the interface startup information; when it is detected that the button of the application is triggered, obtain the button number corresponding to the button, update the number of clicks corresponding to the button number, and add the button number and the number of clicks to the button click information ; collecting the running time related to the application as duration information, wherein the duration information includes: interface running time and application running time.
依据所述应用的运行实时采集所述动态参数的参数信息的步骤包括以下至少一种:当检测到所述应用的界面切换时,记录切换前的界面为上一页,记录切换后的界面为当前页,将所述上一页和当前页添加到应用界面启动信息中;当检测到所述应用的按钮被触发时,获取所述按钮对应的按钮编号,更新所述按钮编号对应的点击次数,将所述按钮编号和点击次数添加到按钮点击信息中;采集所述应用相关的运行时间作为时长信息,其中,所述时长信息包括:界面运行时间和应用运行时间。The step of collecting the parameter information of the dynamic parameters in real time according to the operation of the application includes at least one of the following: when the interface switch of the application is detected, the interface before the switch is recorded as the previous page, and the interface after the switch is recorded as For the current page, add the previous page and the current page to the application interface startup information; when it is detected that the button of the application is triggered, obtain the button number corresponding to the button, and update the number of clicks corresponding to the button number , adding the button number and the number of clicks to the button click information; collecting the running time related to the application as duration information, wherein the duration information includes: interface running time and application running time.
其中,所述静态参数的参数信息包括以下至少一项:终端标识、版本信息、渠道信息、网络类型和分辨率信息;所述动态参数的参数信息包括以下至少一项:应用界面启动信息、按钮点击信息、时长信息、异常信息和会话信息。Wherein, the parameter information of the static parameters includes at least one of the following: terminal identification, version information, channel information, network type and resolution information; the parameter information of the dynamic parameters includes at least one of the following: application interface startup information, button Click information, duration information, exception information and session information.
本实施例中,所述报表生成服务器106,用于依据配置的应用对应自定义事件的自定义管理信息,获取业务统计信息;依据所述自定义管理信息和业务统计信息生成自定义事件报表。In this embodiment, the report generation server 106 is configured to obtain service statistics according to the configured custom management information corresponding to the custom events of the application; generate a custom event report according to the custom management information and business statistics.
所述报表生成服务器依据所述数据分析结果生成数据报表,包括:所述报表生成服务器依据配置的应用对应自定义事件的自定义管理信息,获取业务统计信息;依据所述自定义管理信息和业务统计信息生成自定义事件报表。The report generation server generates a data report according to the data analysis result, including: the report generation server obtains business statistical information according to the custom management information of the configured application corresponding to the custom event; according to the custom management information and business Statistics generate custom event reports.
所述报表生成服务器106,还用于从所述业务管理页面中获取所述应用的应用路径,以及所述应用对应自定义事件的自定义事件信息,其中,所述自定义事件信息包括:事件名称和事件属性;采用所述应用路径和自定义事件信息生成自定义管理信息。The report generation server 106 is further configured to obtain the application path of the application from the business management page, and the custom event information corresponding to the custom event of the application, wherein the custom event information includes: event Name and event attributes; use the application path and custom event information to generate custom management information.
还包括配置自定义管理信息的步骤:从所述业务管理页面中获取所述应用的应用路径,以及所述应用对应自定义事件的自定义事件信息,其中,所述自定义事件信息包括:事件名称和事件属性;采用所述应用路径和自定义事件信息生成自定义管理信息。It also includes the step of configuring custom management information: obtaining the application path of the application from the business management page, and the custom event information corresponding to the custom event of the application, wherein the custom event information includes: event Name and event attributes; use the application path and custom event information to generate custom management information.
所述报表生成服务器106,用于依据所述应用路径确定应用;针对每个自定义事件,获取所述事件名称对应的逻辑名称,以及所述事件属性对应的逻辑属性;查找所述逻辑名称对应采集参数,依据所述逻辑属性确定所述采集参数对应的业务统计信息;以及确定各采集参数对应的事件名称,采用各事件名称和对应采集参数的业务统计信息生成应用的自定义事件报表。The report generation server 106 is configured to determine the application according to the application path; for each custom event, obtain the logical name corresponding to the event name and the logical attribute corresponding to the event attribute; find the corresponding logical name Collect parameters, determine business statistics corresponding to the collection parameters according to the logical attributes; and determine event names corresponding to each collection parameter, and use each event name and business statistics corresponding to the collection parameters to generate a user-defined event report for the application.
依据配置的应用对应自定义事件的自定义管理信息,获取业务统计信息;依据所述自定义管理信息和业务统计信息生成自定义事件报表,包括:依据所述应用路径确定应用;针对每个自定义事件,获取所述事件名称对应的逻辑名称,以及所述事件属性对应的逻辑属性;查找所述逻辑名称对应采集参数,依据所述逻辑属性确定所述采集参数对应的业务统计信息;确定各采集参数对应的事件名称,采用各事件名称和对应采集参数的业务统计信息生成应用的自定义事件报表。According to the custom management information of the configured application corresponding to the custom event, obtain business statistical information; generate a custom event report according to the custom management information and business statistical information, including: determine the application according to the application path; Define an event, obtain the logical name corresponding to the event name, and the logical attribute corresponding to the event attribute; find the collection parameters corresponding to the logical name, and determine the business statistical information corresponding to the collection parameter according to the logical attribute; determine each Collect the event names corresponding to the parameters, and use each event name and business statistics corresponding to the collected parameters to generate a custom event report for the application.
其中,所述采集控制服务器,还用于配置所述目标应用对应测试设备的测试信息;所述数据分析服务器,还用于对所述目标应用对应上传的参数信息进行分析;判断所述参数信息属于测试设备时,实时对属于测试设备的参数信息进行分析;所述报表生成服务器,还用于判断所述参数信息属于测试设备时,依据数据分析结果实时生成数据报表。Wherein, the collection control server is also used to configure the test information of the test equipment corresponding to the target application; the data analysis server is also used to analyze the parameter information uploaded correspondingly to the target application; determine the parameter information When it belongs to the test equipment, it analyzes the parameter information belonging to the test equipment in real time; the report generation server is also used to judge that when the parameter information belongs to the test equipment, it generates a data report in real time according to the data analysis results.
所述的方法还包括:所述采集控制服务器配置所述目标应用对应测试设备的测试信息;所述数据分析服务器对所述目标应用对应上传的参数信息进行分析;判断所述参数信息属于测试设备时,实时对属于测试设备的参数信息进行分析;所述报表生成服务器判断所述参数信息属于测试设备时,依据数据分析结果实时生成数据报表。The method further includes: the acquisition control server configuring the test information of the test equipment corresponding to the target application; the data analysis server analyzing the parameter information uploaded corresponding to the target application; judging that the parameter information belongs to the test equipment When the parameter information belonging to the test equipment is analyzed in real time; when the report generating server judges that the parameter information belongs to the test equipment, a data report is generated in real time according to the data analysis result.
其中,所述采集控制服务器102,包括:开发配置服务器1024;所述开发配置服务器,用于在目标应用完成注册后,对所述目标应用配置至少一个测试设备的测试标识;为所述目标应用配置待测试的采集参数,将所述测试标识和采集参数作为测试信息;所述数据分析服务器,还用于从上传的参数信息中获取目标应用对应采集参数的参数信息;通过所述参数信息中终端参数对应终端标识;判断所述终端标识与测试设备表中测试标识是否相同,当所述终端标识与测试设备表中任一测试标识相同时,判断参数信息属于测试设备。Wherein, the acquisition control server 102 includes: a development configuration server 1024; the development configuration server is configured to configure at least one test identification of a test device for the target application after the target application is registered; Configure the collection parameters to be tested, and use the test identification and collection parameters as test information; the data analysis server is also used to obtain the parameter information of the target application corresponding to the collection parameters from the uploaded parameter information; through the parameter information The terminal parameter corresponds to the terminal identifier; judge whether the terminal identifier is the same as the test identifier in the test equipment table, and when the terminal identifier is the same as any test identifier in the test equipment table, it is judged that the parameter information belongs to the test equipment.
配置所述目标应用对应测试设备的测试信息,包括:在目标应用完成注册后,对所述目标应用配置至少一个测试设备的测试标识;为所述目标应用配置待测试的采集参数,将所述测试标识和采集参数作为测试信息;所述的方法还包括:所述数据分析服务器从上传的参数信息中获取目标应用对应采集参数的参数信息;通过所述参数信息中终端参数对应终端标识;判断所述终端标识与测试设备表中测试标识是否相同,当所述终端标识与测试设备表中任一测试标识相同时,判断参数信息属于测试设备。Configuring the test information of the test device corresponding to the target application includes: after the target application completes registration, configuring the test identification of at least one test device for the target application; configuring the acquisition parameters to be tested for the target application, and The test identification and the collection parameters are used as the test information; the method further includes: the data analysis server obtains the parameter information of the target application corresponding to the collection parameters from the uploaded parameter information; through the terminal parameters corresponding to the terminal identification in the parameter information; judging Whether the terminal identifier is the same as the test identifier in the test equipment table, and when the terminal identifier is the same as any test identifier in the test equipment table, it is judged that the parameter information belongs to the test equipment.
所述数据分析服务器104,还用于从所述参数信息中查找校验参数对应校验信息;对所述校验信息进行分析确定劫持校验结果。The data analysis server 104 is further configured to search the verification information corresponding to the verification parameters from the parameter information; analyze the verification information to determine a hijacking verification result.
所述的方法还包括:数据分析服务器从所述参数信息中查找校验参数对应校验信息;对所述校验信息进行分析确定劫持校验结果。The method further includes: the data analysis server searches the parameter information for verification information corresponding to the verification parameter; and analyzes the verification information to determine a hijacking verification result.
所述数据分析服务器104,用于确定校验参数的参数标识,从所述参数信息中查找所述参数标识对应校验信息;检测所述校验信息是否为目标信息;若所述校验信息不为目标信息,确定流量存在劫持异常,在所述劫持校验结果中记录劫持异常;若所述校验信息为目标信息,确定数据传输正常,在所述劫持校验结果中记录传输正常。The data analysis server 104 is configured to determine the parameter identification of the verification parameter, and search the verification information corresponding to the parameter identification from the parameter information; detect whether the verification information is target information; if the verification information If it is not the target information, it is determined that there is a hijacking exception in the traffic, and the hijacking exception is recorded in the hijacking verification result; if the verification information is the target information, it is determined that the data transmission is normal, and the transmission is recorded in the hijacking verification result as normal.
从所述参数信息中查找校验参数对应校验信息;对所述校验信息进行分析确定劫持校验结果,包括:确定校验参数的参数标识,从所述参数信息中查找所述参数标识对应校验信息;检测所述校验信息是否为目标信息;若所述校验信息不为目标信息,确定流量存在劫持异常,在所述劫持校验结果中记录劫持异常;若所述校验信息为目标信息,确定数据传输正常,在所述劫持校验结果中记录传输正常。Finding the verification information corresponding to the verification parameter from the parameter information; analyzing the verification information to determine the hijacking verification result, including: determining the parameter identification of the verification parameter, and searching the parameter identification from the parameter information Corresponding to the verification information; detecting whether the verification information is the target information; if the verification information is not the target information, determine that there is a hijacking exception in the flow, and record the hijacking exception in the hijacking verification result; if the verification The information is the target information, it is determined that the data transmission is normal, and the transmission is recorded in the hijacking verification result as normal.
所述数据分析服务器104,还用于从所述参数信息中查找存储参数对应存储信息;依据所述存储信息检测数据质量,确定质量校验结果。The data analysis server 104 is further configured to search the storage information corresponding to the storage parameters from the parameter information; detect data quality according to the storage information, and determine a quality verification result.
所述的方法还包括:所述数据分析服务器从所述参数信息中查找存储参数对应存储信息;依据所述存储信息检测数据质量,确定质量校验结果。The method further includes: the data analysis server searches the parameter information for storage information corresponding to the storage parameters; detects data quality according to the storage information, and determines a quality verification result.
所述数据分析服务器104,用于确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息;依据所述存储信息查找至少一个终端标识;当所述存储信息对应一个终端标识,生成质量合格的质量校验结果;当所述存储信息对应多于一个终端标识,查找所述终端标识对应成功上传信息;将各终端标识对应上传成功信息进行排序,依据排序结果确定所述上传成功信息不存在冗余时,判断数据异常,生成数据异常的质量校验结果。The data analysis server 104 is configured to determine the storage identifier of the storage parameter, and search the storage information corresponding to the storage identifier from the parameter information; search for at least one terminal identifier according to the storage information; when the storage information corresponds to a terminal ID to generate a quality verification result of qualified quality; when the stored information corresponds to more than one terminal ID, search for the successfully uploaded information corresponding to the terminal ID; sort the upload success information corresponding to each terminal ID, and determine the When there is no redundancy in the successful upload information, it is judged that the data is abnormal, and the quality verification result of the abnormal data is generated.
从所述参数信息中查找存储参数对应存储信息;依据所述存储信息检测数据质量,确定质量校验结果,包括:确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息;依据所述存储信息查找至少一个终端标识;当所述存储信息对应一个终端标识,生成质量合格的质量校验结果;当所述存储信息对应多于一个终端标识,查找所述终端标识对应成功上传信息;将各终端标识对应上传成功信息进行排序,依据排序结果确定所述上传成功信息不存在冗余时,判断数据异常,生成数据异常的质量校验结果。Find the storage information corresponding to the storage parameter from the parameter information; detect the data quality according to the storage information, and determine the quality verification result, including: determining the storage identification of the storage parameter, and searching for the storage identification corresponding to the storage from the parameter information information; search for at least one terminal identifier based on the stored information; when the stored information corresponds to a terminal identifier, generate a qualified quality verification result; when the stored information corresponds to more than one terminal identifier, search for the corresponding terminal identifier Successfully uploading information; sorting the successfully uploaded information corresponding to each terminal identifier, and determining that the uploaded successfully information has no redundancy according to the sorting result, judging that the data is abnormal, and generating a quality verification result of the abnormal data.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的数据采集测试的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the data acquisition and testing device according to the embodiment of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
本发明公开了A1、一种数据采集测试方法,包括:The invention discloses A1. A data collection and testing method, comprising:
接收上传的参数信息,其中,所述参数信息为应用运行时针对各采集参数采集得到的;receiving the uploaded parameter information, wherein the parameter information is collected for each collection parameter when the application is running;
从所述参数信息中查找存储参数对应存储信息;Searching for storage information corresponding to storage parameters from the parameter information;
依据所述存储信息检测数据质量,确定质量校验结果。Data quality is detected according to the stored information, and a quality verification result is determined.
A2、如A1所述的方法,从所述参数信息中查找存储参数对应存储信息,包括:A2. The method as described in A1, searching the storage information corresponding to the storage parameter from the parameter information, including:
确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息。Determine the storage ID of the storage parameter, and search for the storage information corresponding to the storage ID from the parameter information.
A3、如A2所述的方法,依据所述存储信息检测数据质量,确定质量校验结果,包括:A3, the method as described in A2, according to the stored information to detect data quality, determine the quality verification result, including:
依据所述存储信息查找至少一个终端标识;Find at least one terminal identifier according to the stored information;
采用所述终端标识检测数据质量,确定质量校验结果。The terminal identification is used to detect data quality, and the quality verification result is determined.
A4、如A3所述的方法,采用所述终端标识检测数据质量,确定质量校验结果,包括:A4, the method as described in A3, adopt described terminal mark to detect data quality, determine quality verification result, comprise:
当所述存储信息对应一个终端标识,生成质量合格的质量校验结果;When the stored information corresponds to a terminal identifier, generate a qualified quality verification result;
当所述存储信息对应多于一个终端标识,生成数据异常的质量校验结果。When the stored information corresponds to more than one terminal identifier, a quality verification result of abnormal data is generated.
A5、如A4所述的方法,还包括:A5, the method as described in A4, also includes:
当所述终端标识存在多于一个终端标识时,查找所述终端标识对应成功上传信息;When there is more than one terminal identifier in the terminal identifier, search for the successful upload information corresponding to the terminal identifier;
将各终端标识对应上传成功信息进行排序;Sort the upload success information corresponding to each terminal identifier;
依据排序结果确定所述上传成功信息不存在冗余时,判断数据异常。When it is determined according to the sorting result that there is no redundancy in the upload success information, it is determined that the data is abnormal.
A6、如A1至A5任一所述的方法,所述存储参数包括:安全数字存储SD卡参数,所述存储参数对应存储信息包括:SD卡信息。A6. The method described in any one of A1 to A5, wherein the storage parameters include: secure digital storage SD card parameters, and the storage information corresponding to the storage parameters includes: SD card information.
本发明还公开了B7、一种数据采集测试装置,包括:The present invention also discloses B7, a data collection and testing device, comprising:
参数信息接收模块,用于接收上传的参数信息,其中,所述参数信息为应用运行时针对各采集参数采集得到的;A parameter information receiving module, configured to receive uploaded parameter information, wherein the parameter information is collected for each collection parameter when the application is running;
存储信息查找模块,用于从所述参数信息中查找存储参数对应存储信息;A storage information search module, configured to search the storage information corresponding to the storage parameters from the parameter information;
数据质量检测模块,用于依据所述存储信息检测数据质量,确定质量校验结果。A data quality detection module, configured to detect data quality according to the stored information, and determine a quality verification result.
B8、如B7所述的装置,所述存储信息查找模块,具体用于确定存储参数的存储标识,从所述参数信息中查找所述存储标识对应存储信息。B8. The device according to B7, wherein the storage information search module is specifically configured to determine a storage identifier of a storage parameter, and search the storage information corresponding to the storage identifier from the parameter information.
B9、如B8所述的装置,所述数据质量检测模块,包括:B9, the device as described in B8, the data quality detection module includes:
终端标识查找子模块,用于依据所述存储信息查找至少一个终端标识;A terminal identification search submodule, configured to search for at least one terminal identification according to the stored information;
质量校验子模块,用于采用所述终端标识检测数据质量,确定质量校验结果。The quality verification sub-module is configured to use the terminal identification to detect data quality and determine a quality verification result.
B10、如B9所述的装置,所述质量校验子模块,包括:B10, the device as described in B9, the quality checking submodule, comprising:
合格结果生成单元,用于当所述存储信息对应一个终端标识,生成质量合格的质量校验结果;A qualified result generating unit, configured to generate a qualified quality verification result when the stored information corresponds to a terminal identifier;
异常结果生成单元,用于当所述存储信息对应多于一个终端标识,生成数据异常的质量校验结果。The abnormal result generating unit is configured to generate a quality verification result of data abnormality when the stored information corresponds to more than one terminal identifier.
B11、如B10所述的装置,还包括:B11. The device as described in B10, further comprising:
上传信息查找模块,用于当所述终端标识存在多于一个终端标识时,查找所述终端标识对应成功上传信息;An upload information search module, configured to search for successfully uploaded information corresponding to the terminal identifier when there is more than one terminal identifier in the terminal identifier;
信息排序模块,用于将各终端标识对应上传成功信息进行排序;The information sorting module is used to sort the successful upload information corresponding to each terminal identifier;
异常判断模块,用于依据排序结果确定所述上传成功信息不存在冗余时,判断数据异常。An abnormality judging module, configured to judge data abnormality when it is determined that there is no redundancy in the successful upload information according to the sorting result.
B12、如B7至B11任一所述的装置,所述存储参数包括:安全数字存储SD卡参数,所述存储参数对应存储信息包括:SD卡信息。B12. The device according to any one of B7 to B11, wherein the storage parameters include: secure digital storage SD card parameters, and the corresponding storage information of the storage parameters includes: SD card information.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510938609.8A CN105391602B (en) | 2015-12-15 | 2015-12-15 | A method and device for data acquisition and testing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510938609.8A CN105391602B (en) | 2015-12-15 | 2015-12-15 | A method and device for data acquisition and testing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105391602A true CN105391602A (en) | 2016-03-09 |
| CN105391602B CN105391602B (en) | 2019-02-26 |
Family
ID=55423454
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510938609.8A Active CN105391602B (en) | 2015-12-15 | 2015-12-15 | A method and device for data acquisition and testing |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105391602B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105808769A (en) * | 2016-03-21 | 2016-07-27 | 华南师范大学 | Data acquisition method and system facing big data and generic data |
| WO2017101606A1 (en) * | 2015-12-15 | 2017-06-22 | 北京奇虎科技有限公司 | System and method for collecting and analyzing data |
| CN118130716A (en) * | 2024-02-06 | 2024-06-04 | 安徽百视达科技有限公司 | Oxygen data detection method and system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101860823A (en) * | 2009-04-10 | 2010-10-13 | 中国移动通信集团公司 | Method and related device for detecting fake short message |
| CN101888635A (en) * | 2010-06-30 | 2010-11-17 | 中兴通讯股份有限公司 | A method and signaling monitoring system for detecting fake GTP data |
| CN101887392A (en) * | 2010-07-06 | 2010-11-17 | 中兴通讯股份有限公司 | A software system operation stability testing method and device |
| US20150135312A1 (en) * | 2012-08-31 | 2015-05-14 | Hitachi, Ltd. | Service performance monitoring method |
-
2015
- 2015-12-15 CN CN201510938609.8A patent/CN105391602B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101860823A (en) * | 2009-04-10 | 2010-10-13 | 中国移动通信集团公司 | Method and related device for detecting fake short message |
| CN101888635A (en) * | 2010-06-30 | 2010-11-17 | 中兴通讯股份有限公司 | A method and signaling monitoring system for detecting fake GTP data |
| CN101887392A (en) * | 2010-07-06 | 2010-11-17 | 中兴通讯股份有限公司 | A software system operation stability testing method and device |
| US20150135312A1 (en) * | 2012-08-31 | 2015-05-14 | Hitachi, Ltd. | Service performance monitoring method |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017101606A1 (en) * | 2015-12-15 | 2017-06-22 | 北京奇虎科技有限公司 | System and method for collecting and analyzing data |
| CN105808769A (en) * | 2016-03-21 | 2016-07-27 | 华南师范大学 | Data acquisition method and system facing big data and generic data |
| CN118130716A (en) * | 2024-02-06 | 2024-06-04 | 安徽百视达科技有限公司 | Oxygen data detection method and system |
| CN118130716B (en) * | 2024-02-06 | 2025-11-14 | 安徽百视达科技有限公司 | A method and system for detecting oxygen data |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105391602B (en) | 2019-02-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105553769A (en) | Data collecting-analyzing system and method | |
| CN110427323B (en) | Application testing method, device, proxy server and system | |
| CN106649063B (en) | Method and system for monitoring time-consuming data during program operation | |
| CN104579934B (en) | A kind of information processing method and client | |
| CN105376335B (en) | Method and device for uploading collected data | |
| CN105515909B (en) | A kind of data acquisition test method and apparatus | |
| CN105373293A (en) | Data acquisition method and apparatus | |
| CN112948224B (en) | Data processing method, device, terminal and storage medium | |
| CN111309632A (en) | Application program testing method and device, computer equipment and storage medium | |
| CN105577472A (en) | A data collection test method and device | |
| CN106357480B (en) | Method and device for monitoring network performance of application and mobile terminal | |
| CN105516321A (en) | Data acquisition method and device | |
| CN105574150A (en) | Data processing method and device | |
| CN111654495B (en) | Method, apparatus, device and storage medium for determining traffic generation source | |
| CN112241362B (en) | A testing method, device, server and storage medium | |
| WO2021129335A1 (en) | Operation monitoring method and apparatus, operation analysis method and apparatus | |
| CN105553770B (en) | A data acquisition control method and device | |
| CN107770805B (en) | Method and device for judging identification information of terminal | |
| CN105187393B (en) | A kind of mobile terminal from malicious software network behavior reconstructing method and its system | |
| CN105391602A (en) | Data acquisition test method and device | |
| CN109408309A (en) | The test method and device of multiple terminals | |
| CN115934110A (en) | A model deployment method, device and electronic equipment | |
| CN112650557B (en) | Command execution method and device | |
| JP6219621B2 (en) | Communication verification device | |
| CN116521414A (en) | Fault code positioning method, cloud server, system and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20220801 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |