CN114048214A - Data analysis and acquisition method and device and terminal equipment - Google Patents
Data analysis and acquisition method and device and terminal equipment Download PDFInfo
- Publication number
- CN114048214A CN114048214A CN202111364056.1A CN202111364056A CN114048214A CN 114048214 A CN114048214 A CN 114048214A CN 202111364056 A CN202111364056 A CN 202111364056A CN 114048214 A CN114048214 A CN 114048214A
- Authority
- CN
- China
- Prior art keywords
- data
- data collection
- data acquisition
- tool
- acquisition
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000007405 data analysis Methods 0.000 title claims abstract description 20
- 238000013480 data collection Methods 0.000 claims abstract description 52
- 238000004458 analytical method Methods 0.000 claims abstract description 20
- 238000004590 computer program Methods 0.000 claims description 8
- 238000010276 construction Methods 0.000 abstract 1
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000006854 communication Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a data analysis and acquisition method, a data analysis and acquisition device and terminal equipment, wherein the method comprises the steps of sequentially sending data acquisition requests to data acquisition equipment; the analysis protocol corresponding to the data acquisition request is preset with a protocol index according to the sending sequence of the data acquisition request; and receiving the collected data returned by the data collection equipment according to the data collection request, and setting data indexes for the collected data according to the return sequence. Has the advantages that: the data acquisition tool is independent, when the business system needs to acquire data, the data acquisition can be realized through the independent data acquisition tool, the system is prevented from being transformed and integrated for acquiring the data, and the problems of complex construction and deployment and high cost of projects are solved.
Description
Technical Field
The invention relates to the technical field of data acquisition, in particular to a data analysis acquisition method, a data analysis acquisition device and terminal equipment.
Background
The information is an important resource of modern enterprises and is the basis of scientific management and decision analysis of the enterprises. Currently, most enterprises spend a lot of money and time to construct business systems for online transactions, which are used to record various relevant data of the transactions. In this context, data warehouses are used. The data warehouse is used for integrating the generated data together to discover the commercial value and provide decision support. The data warehouse is generated by selecting useful data from a large amount of source data, and storing the useful data into the data warehouse after a series of processing.
At present, the methods for collecting source data and processing data generally compile or order processing tools highly related to the required service data by a service data requiring party according to the service requirements of the business data requiring party, and integrate the processing tools into a service system of the business data requiring party.
Disclosure of Invention
The invention aims to provide a data analysis and acquisition method, a data analysis and acquisition device and terminal equipment.
The technical scheme of the invention is realized as follows:
a data analysis and acquisition method, a data analysis and acquisition device and terminal equipment comprise the steps of sequentially sending data acquisition requests to data acquisition equipment;
the analysis protocol corresponding to the data acquisition request is preset with a protocol index according to the sending sequence of the data acquisition request;
receiving the collected data returned by the data collection equipment according to the data collection request, and setting data indexes for the collected data according to the return sequence;
when an analysis instruction is received, determining a target protocol index through a data index of target acquisition data, acquiring a target analysis protocol according to the target protocol index, and analyzing the target acquisition data to obtain target analysis data;
the data acquisition request receives data acquisition setting information input by a user through a service interface and sends the data acquisition setting information to the data acquisition tool; acquiring data from a data acquisition terminal based on the data acquisition setting information through a universal interface of the data acquisition tool; and after receiving the information of data acquisition completion sent by the data acquisition tool, calling the acquired data from the database of the data acquisition tool.
Further, the data acquisition request and the corresponding resolution protocol are stored in a protocol list according to the sending sequence of the data acquisition request.
Further, after receiving the collected data returned by the data collecting device according to the data collecting request and setting a data index for each collected data according to the returning sequence, the method further includes: and storing the acquired data corresponding to the data acquisition request to a data list according to the return sequence.
Further, after sending the data collection setting information to the data collection tool, the method further comprises: and acquiring the state information of the data acquired by the data acquisition tool, and displaying the state information in real time through the service interface so as to facilitate a user to monitor and view the data acquisition state through the service interface.
A data acquisition device comprising: the display unit is used for displaying a service interface of a pre-established data acquisition tool after a preset instruction is acquired; the sending unit is used for receiving data acquisition setting information input by a user through the service interface and sending the data acquisition setting information to the data acquisition tool; the acquisition unit is used for acquiring data from a data acquisition end through a universal interface of the data acquisition tool based on the data acquisition setting information; and the calling unit is used for calling the acquired data from the database of the data acquisition tool after receiving the information of data acquisition completion sent by the data acquisition tool.
Further, the data acquisition device further comprises: and the acquisition unit is used for acquiring the state information of the data acquired by the data acquisition tool after the data acquisition setting information is sent to the data acquisition tool, and displaying the state information in real time through the service interface so as to facilitate a user to monitor and check the data acquisition state through the service interface.
A terminal device, comprising: memory, processor and computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 4 when executing the computer program.
The invention has the beneficial effects that: the corresponding protocol indexes are preset according to the sending sequence of the analysis protocols corresponding to the data acquisition requests of the data acquisition equipment, the data indexes are set according to the returning sequence of the analysis protocols, the data acquisition requests sent first return the corresponding acquisition data, and therefore the corresponding protocol indexes can be obtained according to the data indexes, the corresponding analysis protocols are obtained, the acquisition data are analyzed according to the analysis protocols, and the analysis data are obtained. In addition, the invention receives data acquisition setting information input by a user through a service interface which displays a pre-established data acquisition tool, and sends the data acquisition setting information to the data acquisition tool, acquires data from a data acquisition end through a universal interface of the data acquisition tool based on the data acquisition setting information, and calls the acquired data from a database of the data acquisition tool after receiving the information which is sent by the data acquisition tool and completes data acquisition The cost is high.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
According to the embodiment of the invention, a data analysis and acquisition method, a data analysis and acquisition device and terminal equipment are provided.
The data analysis and acquisition method, the data analysis and acquisition device and the terminal equipment provided by the embodiment of the invention comprise the steps of sequentially sending each data acquisition request to the data acquisition equipment;
the analysis protocol corresponding to the data acquisition request is preset with a protocol index according to the sending sequence of the data acquisition request;
receiving the collected data returned by the data collection equipment according to the data collection request, and setting data indexes for the collected data according to the return sequence;
when an analysis instruction is received, determining a target protocol index through a data index of target acquisition data, acquiring a target analysis protocol according to the target protocol index, and analyzing the target acquisition data to obtain target analysis data;
the data acquisition request receives data acquisition setting information input by a user through a service interface and sends the data acquisition setting information to the data acquisition tool; acquiring data from a data acquisition terminal based on the data acquisition setting information through a universal interface of the data acquisition tool; and after receiving the information of data acquisition completion sent by the data acquisition tool, calling the acquired data from the database of the data acquisition tool.
Specifically, the data acquisition requests are based on the received data acquisition requests, in the actual data communication process, the types and the number of the data acquisition requests are not unique, the data acquisition requests may be data acquisition requests for different data acquisition devices and different requested data lengths, or data acquisition requests for different data acquisition devices and the same requested data length, and for such data acquisition requests, due to the different types, corresponding comparison can be performed according to the corresponding request information and the data information of the acquired data, without setting an index. Therefore, the data acquisition request can be directly sent to the corresponding data acquisition equipment and acquired data acquired by the data acquisition equipment; further, when the analysis instruction is received, the corresponding analysis protocol can be directly determined according to the relevant information, and data analysis is completed.
Further, the data acquisition request and the corresponding resolution protocol are stored in a protocol list according to the sending sequence of the data acquisition request.
Further, after receiving the collected data returned by the data collecting device according to the data collecting request and setting a data index for each collected data according to the returning sequence, the method further includes: and storing the acquired data corresponding to the data acquisition request to a data list according to the return sequence.
Further, after sending the data collection setting information to the data collection tool, the method further comprises: and acquiring the state information of the data acquired by the data acquisition tool, and displaying the state information in real time through the service interface so as to facilitate a user to monitor and view the data acquisition state through the service interface.
A data acquisition device comprising: the display unit is used for displaying a service interface of a pre-established data acquisition tool after a preset instruction is acquired; the sending unit is used for receiving data acquisition setting information input by a user through the service interface and sending the data acquisition setting information to the data acquisition tool; the acquisition unit is used for acquiring data from a data acquisition end through a universal interface of the data acquisition tool based on the data acquisition setting information; and the calling unit is used for calling the acquired data from the database of the data acquisition tool after receiving the information of data acquisition completion sent by the data acquisition tool.
Further, the data acquisition device further comprises: and the acquisition unit is used for acquiring the state information of the data acquired by the data acquisition tool after the data acquisition setting information is sent to the data acquisition tool, and displaying the state information in real time through the service interface so as to facilitate a user to monitor and check the data acquisition state through the service interface.
A terminal device, comprising: the device comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes the steps of the data analysis and collection method when executing the computer program.
Specifically, an 'automatic trigger' button and a 'trigger' button are preset on a service interface of the data acquisition tool; after the data acquisition setting information is sent to the data acquisition tool, before data is acquired from a data acquisition end through a general interface of the data acquisition tool based on the data acquisition setting information, a system detects whether an 'automatic trigger' button is pressed within a preset time; when the system detects that an 'automatic trigger' button is pressed, namely an automatic trigger instruction is obtained, the system immediately sends an instruction for starting a data conversion task to the data acquisition tool, and the data acquisition tool starts the data conversion task after receiving the instruction for starting the data conversion task sent by the service system; when the system does not detect that the 'automatic trigger' button is pressed, namely a manual trigger instruction is obtained, the service system monitors whether a user manually clicks the 'trigger' button, once the fact that the user clicks the 'trigger' button is monitored, the system sends an instruction for starting a data conversion task to the data acquisition tool, and the data acquisition tool starts the data conversion task after receiving the instruction for starting the data conversion task sent by the service system.
Further, acquiring data from a data acquisition terminal based on the data acquisition setting information through the universal interface of the data acquisition tool further includes: acquiring data according to the data acquisition setting information through a data conversion file in the data acquisition tool, performing escape processing on the acquired data through the data conversion file in the data acquisition tool, inserting the processed data into a database of the data acquisition tool, and specifically retrieving the acquired data from the database of the data acquisition tool as retrieving the processed data from the database of the data acquisition tool.
In practical application, when the dictionary at the data acquisition end and the database dictionary of the data acquisition tool are different in definition mode, after data are acquired, the acquired data need to be subjected to escaping processing, and the acquired data are escaped to be processed into data which can be identified by the database dictionary of the data acquisition tool, so that the acquired data can be stored in the database of the data acquisition tool. In an embodiment of the present invention, when data is collected from a data collection terminal based on the data collection setting information through a general interface of the data collection tool, the method further includes: and monitoring the error information in the data acquisition process, and generating an acquisition log from the error information, so that a user can conveniently check and analyze the error information in the data acquisition process.
In the actual data communication process, the types and the number of the data acquisition requests are not unique, and may be data acquisition requests for different data acquisition devices and different request data lengths, or data acquisition requests for different data acquisition devices and the same request data length. Therefore, the data acquisition request can be directly sent to the corresponding data acquisition equipment and acquired data acquired by the data acquisition equipment; further, when the analysis instruction is received, the corresponding analysis protocol can be directly determined according to the relevant information, and data analysis is completed.
The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111364056.1A CN114048214A (en) | 2021-11-17 | 2021-11-17 | Data analysis and acquisition method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111364056.1A CN114048214A (en) | 2021-11-17 | 2021-11-17 | Data analysis and acquisition method and device and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114048214A true CN114048214A (en) | 2022-02-15 |
Family
ID=80209985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111364056.1A Pending CN114048214A (en) | 2021-11-17 | 2021-11-17 | Data analysis and acquisition method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114048214A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105491038A (en) * | 2015-12-07 | 2016-04-13 | 高新兴科技集团股份有限公司 | Intelligent device protocol analysis method |
CN109450922A (en) * | 2018-11-29 | 2019-03-08 | 厦门科灿信息技术有限公司 | A kind of communication data analytic method, device and relevant device |
CN110019501A (en) * | 2017-08-24 | 2019-07-16 | 深圳市金证科技股份有限公司 | A kind of collecting method, device and terminal device |
CN110222253A (en) * | 2019-06-12 | 2019-09-10 | 北京睦合达信息技术股份有限公司 | A kind of collecting method, equipment and computer readable storage medium |
-
2021
- 2021-11-17 CN CN202111364056.1A patent/CN114048214A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105491038A (en) * | 2015-12-07 | 2016-04-13 | 高新兴科技集团股份有限公司 | Intelligent device protocol analysis method |
CN110019501A (en) * | 2017-08-24 | 2019-07-16 | 深圳市金证科技股份有限公司 | A kind of collecting method, device and terminal device |
CN109450922A (en) * | 2018-11-29 | 2019-03-08 | 厦门科灿信息技术有限公司 | A kind of communication data analytic method, device and relevant device |
CN110222253A (en) * | 2019-06-12 | 2019-09-10 | 北京睦合达信息技术股份有限公司 | A kind of collecting method, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110245078B (en) | Software pressure testing method and device, storage medium and server | |
CN109710615B (en) | Database access management method, system, electronic device and storage medium | |
JP6823265B2 (en) | Analytical instruments, analytical systems, analytical methods and analytical programs | |
US7913233B2 (en) | Performance analyzer | |
CN110019349A (en) | Sentence warning method, apparatus, device, and computer-readable storage medium | |
US20190197140A1 (en) | Automation of sql tuning method and system using statistic sql pattern analysis | |
CN111367760B (en) | Log collection method and device, computer equipment and storage medium | |
EP3384391B1 (en) | Real-time change data from disparate sources | |
CN110515808A (en) | Database monitoring method, device, computer equipment and storage medium | |
CN111352969A (en) | Buried point data analysis method and device and electronic equipment | |
CN111124891A (en) | Access state detection method and device, storage medium and electronic device | |
CN113392005A (en) | Large file processing test method and system | |
CN109783284A (en) | Information acquisition method, system and server, computer readable storage medium | |
CN107634878A (en) | A performance test management platform | |
CN113283760B (en) | Case flow analysis report generation method and system | |
CN114020580A (en) | Method, system, device and storage medium for monitoring performance index of application system | |
CN110011845B (en) | Log collection method and system | |
CN114048214A (en) | Data analysis and acquisition method and device and terminal equipment | |
CN112948262A (en) | System test method, device, computer equipment and storage medium | |
CN118747164A (en) | A log-based risk management method and system | |
CN111506455A (en) | Method and device for checking service release result | |
CN114064650A (en) | A method of data analysis and collection | |
CN117349307A (en) | Method, device, equipment and storage medium for acquiring associated data of slow query | |
CN114039878B (en) | Network request processing method and device, electronic equipment and storage medium | |
CN117033125A (en) | Application relation intelligent construction method based on probe, metadata acquisition method, medium and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |