CN113360723A - Data acquisition method and device - Google Patents

Data acquisition method and device Download PDF

Info

Publication number
CN113360723A
CN113360723A CN202110771942.XA CN202110771942A CN113360723A CN 113360723 A CN113360723 A CN 113360723A CN 202110771942 A CN202110771942 A CN 202110771942A CN 113360723 A CN113360723 A CN 113360723A
Authority
CN
China
Prior art keywords
data
original data
original
acquiring
data set
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
Application number
CN202110771942.XA
Other languages
Chinese (zh)
Inventor
王洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhisidi Technology Co ltd
Original Assignee
Beijing Zhisidi Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Zhisidi Technology Co ltd filed Critical Beijing Zhisidi Technology Co ltd
Priority to CN202110771942.XA priority Critical patent/CN113360723A/en
Publication of CN113360723A publication Critical patent/CN113360723A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data acquisition method and a data acquisition device. Wherein, the method comprises the following steps: acquiring first original data; acquiring second original data according to the first original data; summarizing the first original data and the second original data to obtain a data set; and displaying the data set. The invention solves the technical problems that the data acquisition process in the prior art often cannot achieve the acquisition of a plurality of data and cannot summarize and process the data acquired by the plurality of data.

Description

Data acquisition method and device
Technical Field
The invention relates to the field of data processing, in particular to a data acquisition method and device.
Background
Along with the continuous development of intelligent science and technology, people use intelligent equipment more and more among life, work, the study, use intelligent science and technology means, improved the quality of people's life, increased the efficiency of people's study and work.
Currently, in the conventional data collection process, a single item of data or parameter is collected and displayed, and the collection result is analyzed and processed to some extent. However, the conventional data acquisition process often cannot achieve the acquisition of multiple data, and cannot summarize and process the data acquired by the multiple data.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a data acquisition method and a data acquisition device, which at least solve the technical problems that the data acquisition process in the prior art often cannot achieve the acquisition of a plurality of data and cannot summarize and process the data acquired by the data.
According to an aspect of an embodiment of the present invention, there is provided a data acquisition method, including: acquiring first original data; acquiring second original data according to the first original data; summarizing the first original data and the second original data to obtain a data set; and displaying the data set.
Optionally, the obtaining second original data according to the first original data includes: comparing the first original data with a preset data set to obtain a comparison result, wherein the comparison result comprises: coincidence and non-coincidence; and when the comparison result is in line, acquiring the second original data.
Optionally, the summarizing the first original data and the second original data to obtain a data set includes: acquiring a preset rule matrix; and inputting the first original data and the second original data according to the preset rule matrix to obtain the data set.
Optionally, after the summarizing the first original data and the second original data to obtain a data set, the method further includes: and optimizing the data set.
According to another aspect of the embodiments of the present invention, there is also provided a data acquisition apparatus including: the first acquisition module is used for acquiring first original data; the second acquisition module is used for acquiring second original data according to the first original data; the summarizing module is used for summarizing the first original data and the second original data to obtain a data set; and the display module is used for displaying the data set.
Optionally, the second obtaining module includes: a comparison unit, configured to compare the first original data with a preset data set to obtain a comparison result, where the comparison result includes: coincidence and non-coincidence; and the obtaining unit is used for obtaining the second original data when the comparison result is in accordance.
Optionally, the summarizing module includes: the acquiring unit is used for acquiring a preset rule matrix; and the input unit is used for inputting the first original data and the second original data according to the preset rule matrix to obtain the data set.
Optionally, the apparatus further comprises: and the optimization module is used for optimizing the data set.
According to another aspect of the embodiments of the present invention, a non-volatile storage medium is further provided, where the non-volatile storage medium includes a stored program, and the program controls, when running, a device in which the non-volatile storage medium is located to execute a data acquisition method.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a processor and a memory; the memory is stored with computer readable instructions, and the processor is used for executing the computer readable instructions, wherein the computer readable instructions execute a data acquisition method.
In the embodiment of the invention, the first original data is obtained; acquiring second original data according to the first original data; summarizing the first original data and the second original data to obtain a data set; the data collection display method solves the technical problems that the data collection process in the prior art often cannot achieve collection of multiple data and data after collection of the multiple data cannot be summarized and processed.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of data acquisition according to an embodiment of the present invention;
fig. 2 is a block diagram of a data acquisition apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in 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. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided a method embodiment of a data acquisition method, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than presented herein.
Example one
Fig. 1 is a flow chart of a data acquisition method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, first original data are obtained.
Specifically, in order to acquire a plurality of raw data, the embodiment of the present invention first needs to acquire first raw data, and when the first raw data is acquired, a data transmission pin of the processor may be electrically connected to the memory or the remote data receiver, so as to timely and continuously acquire information of the first raw data and store the first raw data.
In addition, for the acquisition of the first original data, the user may also perform remote server database storage on the remote data along with the progress of data processing work, so when the embodiment of the present invention needs to acquire the first original data, the user may also call the related stored data through a database call instruction of the remote server, the called data is sent to the wireless data receiving port of the local ARM processor through a remote communication protocol, and the local ARM processor may perform data storage for subsequent analysis and processing according to the condition of the received data.
And step S104, acquiring second original data according to the first original data.
Optionally, the obtaining second original data according to the first original data includes: comparing the first original data with a preset data set to obtain a comparison result, wherein the comparison result comprises: coincidence and non-coincidence; and when the comparison result is in line, acquiring the second original data.
Specifically, in order to obtain diversified original data, after first original data is obtained, it is necessary to determine whether the first original data meets a preset diverse data obtaining rule, and when the first original data meets a relevant rule, an operation of obtaining second original data is performed, for example, the first original data is compared with a preset data set, so as to obtain a comparison result, where the comparison result includes: coincidence and non-coincidence; and when the comparison result is in line, acquiring the second original data.
It should be noted that, when acquiring diversified data, the second raw data may also be acquired according to the remote communication protocol and the judgment of the local processor on the first raw data, for example, a user stores the remote data in a remote server database, so when acquiring the first raw data, according to the embodiment of the present invention, the related stored data may also be called by a database calling instruction of the remote server, the called data is sent to the wireless data receiving port of the local ARM processor through the remote communication protocol, and the local ARM processor may store the data according to the condition of the received data for subsequent analysis and processing.
And step S106, summarizing the first original data and the second original data to obtain a data set.
Optionally, the summarizing the first original data and the second original data to obtain a data set includes: acquiring a preset rule matrix; and inputting the first original data and the second original data according to the preset rule matrix to obtain the data set.
Specifically, in order to summarize the first original data and the second original data obtained in the embodiment of the present invention, the first original data and the second original data need to be processed according to a preset rule matrix preset in a processor, and a processed data set is generated.
It should be noted that the preset rule matrix is used to perform element splitting and element sorting on the first original data and the second original data, perform one-by-one matching on the data of the two data sources, and perform merging operation on the data that can be merged after matching, that is, merge the first original data and the second original data into a data set. For example, the first original data includes "A, B, C", the second original data includes "C1, D", then the first original data and the second original data may be merged by the preset rule matrix α, the merged data set is generated as "A, B, C + C1, D", and the merged data set is output to the output port for subsequent data optimization and data display.
Optionally, after the summarizing the first original data and the second original data to obtain a data set, the method further includes: and optimizing the data set.
Specifically, since the data set obtained after the first original data and the second original data are summarized is not optimized and sorted, the display and output effects of the data set are affected, and the accuracy of subsequent data analysis is also affected, so that the data set is optimized according to the data optimization processing rule in the embodiment of the present invention, so as to be used in subsequent display and analysis.
And step S108, displaying the data set.
Specifically, in order to facilitate a user to view a data set obtained by combining the first original data and the second original data, the data set needs to be displayed on a display terminal.
Through the embodiment, the technical problems that the data acquisition process in the prior art often cannot achieve the acquisition of a plurality of data and the data after the data acquisition cannot be summarized and processed are solved.
Example two
Fig. 2 is a block diagram of a data acquisition apparatus according to an embodiment of the present invention, as shown in fig. 2, the apparatus including:
the first obtaining module 20 is configured to obtain first raw data.
Specifically, in order to acquire a plurality of raw data, the embodiment of the present invention first needs to acquire first raw data, and when the first raw data is acquired, a data transmission pin of the processor may be electrically connected to the memory or the remote data receiver, so as to timely and continuously acquire information of the first raw data and store the first raw data.
In addition, for the acquisition of the first original data, the user may also perform remote server database storage on the remote data along with the progress of data processing work, so when the embodiment of the present invention needs to acquire the first original data, the user may also call the related stored data through a database call instruction of the remote server, the called data is sent to the wireless data receiving port of the local ARM processor through a remote communication protocol, and the local ARM processor may perform data storage for subsequent analysis and processing according to the condition of the received data.
And a second obtaining module 22, configured to obtain second original data according to the first original data.
Optionally, the second obtaining module includes: a comparison unit, configured to compare the first original data with a preset data set to obtain a comparison result, where the comparison result includes: coincidence and non-coincidence; and the obtaining unit is used for obtaining the second original data when the comparison result is in accordance.
Specifically, in order to obtain diversified original data, after first original data is obtained, it is necessary to determine whether the first original data meets a preset diverse data obtaining rule, and when the first original data meets a relevant rule, an operation of obtaining second original data is performed, for example, the first original data is compared with a preset data set, so as to obtain a comparison result, where the comparison result includes: coincidence and non-coincidence; and when the comparison result is in line, acquiring the second original data.
It should be noted that, when acquiring diversified data, the second raw data may also be acquired according to the remote communication protocol and the judgment of the local processor on the first raw data, for example, a user stores the remote data in a remote server database, so when acquiring the first raw data, according to the embodiment of the present invention, the related stored data may also be called by a database calling instruction of the remote server, the called data is sent to the wireless data receiving port of the local ARM processor through the remote communication protocol, and the local ARM processor may store the data according to the condition of the received data for subsequent analysis and processing.
And the summarizing module 24 is configured to summarize the first original data and the second original data to obtain a data set.
Optionally, the summarizing module includes: the acquiring unit is used for acquiring a preset rule matrix; and the input unit is used for inputting the first original data and the second original data according to the preset rule matrix to obtain the data set.
Specifically, in order to summarize the first original data and the second original data obtained in the embodiment of the present invention, the first original data and the second original data need to be processed according to a preset rule matrix preset in a processor, and a processed data set is generated.
It should be noted that the preset rule matrix is used to perform element splitting and element sorting on the first original data and the second original data, perform one-by-one matching on the data of the two data sources, and perform merging operation on the data that can be merged after matching, that is, merge the first original data and the second original data into a data set. For example, the first original data includes "A, B, C", the second original data includes "C1, D", then the first original data and the second original data may be merged by the preset rule matrix α, the merged data set is generated as "A, B, C + C1, D", and the merged data set is output to the output port for subsequent data optimization and data display.
Optionally, the apparatus further comprises: and the optimization module is used for optimizing the data set.
Specifically, since the data set obtained after the first original data and the second original data are summarized is not optimized and sorted, the display and output effects of the data set are affected, and the accuracy of subsequent data analysis is also affected, so that the data set is optimized according to the data optimization processing rule in the embodiment of the present invention, so as to be used in subsequent display and analysis.
A display module 26, configured to display the data set.
Specifically, in order to facilitate a user to view a data set obtained by combining the first original data and the second original data, the data set needs to be displayed on a display terminal.
According to another aspect of the embodiments of the present invention, a non-volatile storage medium is further provided, where the non-volatile storage medium includes a stored program, and the program controls, when running, a device in which the non-volatile storage medium is located to execute a data acquisition method.
Specifically, the method comprises the following steps: acquiring first original data; acquiring second original data according to the first original data; summarizing the first original data and the second original data to obtain a data set; and displaying the data set.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a processor and a memory; the memory is stored with computer readable instructions, and the processor is used for executing the computer readable instructions, wherein the computer readable instructions execute a data acquisition method.
Specifically, the method comprises the following steps: acquiring first original data; acquiring second original data according to the first original data; summarizing the first original data and the second original data to obtain a data set; and displaying the data set.
Through the embodiment, the technical problems that the data acquisition process in the prior art often cannot achieve the acquisition of a plurality of data and the data after the data acquisition cannot be summarized and processed are solved.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of data acquisition, comprising:
acquiring first original data;
acquiring second original data according to the first original data;
summarizing the first original data and the second original data to obtain a data set;
and displaying the data set.
2. The method of claim 1, wherein obtaining second raw data from the first raw data comprises:
comparing the first original data with a preset data set to obtain a comparison result, wherein the comparison result comprises: coincidence and non-coincidence;
and when the comparison result is in line, acquiring the second original data.
3. The method of claim 1, wherein the aggregating the first raw data and the second raw data to obtain a data set comprises:
acquiring a preset rule matrix;
and inputting the first original data and the second original data according to the preset rule matrix to obtain the data set.
4. The method of claim 1, wherein after the aggregating the first raw data and the second raw data into a data set, the method further comprises:
and optimizing the data set.
5. A data acquisition device, comprising:
the first acquisition module is used for acquiring first original data;
the second acquisition module is used for acquiring second original data according to the first original data;
the summarizing module is used for summarizing the first original data and the second original data to obtain a data set;
and the display module is used for displaying the data set.
6. The apparatus of claim 5, wherein the second obtaining module comprises:
a comparison unit, configured to compare the first original data with a preset data set to obtain a comparison result, where the comparison result includes: coincidence and non-coincidence;
and the obtaining unit is used for obtaining the second original data when the comparison result is in accordance.
7. The apparatus of claim 5, wherein the aggregation module comprises:
the acquiring unit is used for acquiring a preset rule matrix;
and the input unit is used for inputting the first original data and the second original data according to the preset rule matrix to obtain the data set.
8. The apparatus of claim 5, further comprising:
and the optimization module is used for optimizing the data set.
9. A non-volatile storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the non-volatile storage medium is located to perform the method of any one of claims 1 to 4.
10. An electronic device comprising a processor and a memory; the memory has stored therein computer readable instructions for execution by the processor, wherein the computer readable instructions when executed perform the method of any one of claims 1 to 4.
CN202110771942.XA 2021-07-08 2021-07-08 Data acquisition method and device Pending CN113360723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110771942.XA CN113360723A (en) 2021-07-08 2021-07-08 Data acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110771942.XA CN113360723A (en) 2021-07-08 2021-07-08 Data acquisition method and device

Publications (1)

Publication Number Publication Date
CN113360723A true CN113360723A (en) 2021-09-07

Family

ID=77538916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110771942.XA Pending CN113360723A (en) 2021-07-08 2021-07-08 Data acquisition method and device

Country Status (1)

Country Link
CN (1) CN113360723A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111144355A (en) * 2019-12-31 2020-05-12 北京师范大学 Data acquisition method, device, equipment and computer readable storage medium
CN111552566A (en) * 2020-04-26 2020-08-18 北京奇艺世纪科技有限公司 Data processing system, method, electronic equipment and storage medium
CN112115145A (en) * 2020-09-15 2020-12-22 招商局金融科技有限公司 Data acquisition method and device, electronic equipment and storage medium
CN112860956A (en) * 2021-03-03 2021-05-28 杭州天时亿科技有限公司 Multivariate environmental data analysis method and system
CN112906806A (en) * 2021-03-03 2021-06-04 杭州潇楠科技有限公司 Data optimization method and device based on neural network
CN112905579A (en) * 2021-03-03 2021-06-04 杭州裕圣科技有限公司 Log optimization method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111144355A (en) * 2019-12-31 2020-05-12 北京师范大学 Data acquisition method, device, equipment and computer readable storage medium
CN111552566A (en) * 2020-04-26 2020-08-18 北京奇艺世纪科技有限公司 Data processing system, method, electronic equipment and storage medium
CN112115145A (en) * 2020-09-15 2020-12-22 招商局金融科技有限公司 Data acquisition method and device, electronic equipment and storage medium
CN112860956A (en) * 2021-03-03 2021-05-28 杭州天时亿科技有限公司 Multivariate environmental data analysis method and system
CN112906806A (en) * 2021-03-03 2021-06-04 杭州潇楠科技有限公司 Data optimization method and device based on neural network
CN112905579A (en) * 2021-03-03 2021-06-04 杭州裕圣科技有限公司 Log optimization method and system

Similar Documents

Publication Publication Date Title
CN110276060B (en) Data processing method and device
CN113808037A (en) Image optimization method and device
CN112906806A (en) Data optimization method and device based on neural network
CN108073707B (en) Financial business data updating method and device and computer readable storage medium
CN108537291A (en) A kind of sample classification method and apparatus
CN114461705A (en) Data visualization generation method and device, electronic equipment and storage medium
CN113676533A (en) Transmission channel determination method and system based on data compression of Internet of things
CN111125226B (en) Configuration data acquisition method and device
CN113360723A (en) Data acquisition method and device
CN110222286A (en) Information acquisition method, device, terminal and computer readable storage medium
CN111401478A (en) Data abnormity identification method and device
CN109992614A (en) Data capture method, device and server
CN110750561A (en) Method and device for mining associated application program
CN114647656A (en) Method, device and equipment for updating data and storage medium
CN114240663A (en) Data reconciliation method, device, terminal and storage medium
CN114968933A (en) Method and device for classifying logs of data center
CN110688547B (en) Method for customizing single-phase intercommunication telephone data analysis model of graphic presentation
CN114140241A (en) Abnormity identification method and device for transaction monitoring index
CN109040990B (en) Information acquisition method and device, computer equipment and storage medium
CN111277302A (en) Electronic business card interchange method and device, computer equipment and storage medium
CN112801788A (en) Internet stock right financing platform monitoring system and monitoring method
CN110930195A (en) Data processing method and electronic equipment
CN106469086B (en) Event processing method and device
CN113360731A (en) Household appliance information summarizing method and device
CN113342754A (en) Method and device for extracting log abnormal data

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210907