CN109783426A - Acquire method, apparatus, computer equipment and the storage medium of data - Google Patents
Acquire method, apparatus, computer equipment and the storage medium of data Download PDFInfo
- Publication number
- CN109783426A CN109783426A CN201811535267.5A CN201811535267A CN109783426A CN 109783426 A CN109783426 A CN 109783426A CN 201811535267 A CN201811535267 A CN 201811535267A CN 109783426 A CN109783426 A CN 109783426A
- Authority
- CN
- China
- Prior art keywords
- data
- target data
- information
- acquisition module
- user
- 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 48
- 238000003860 storage Methods 0.000 title claims abstract description 26
- 238000003306 harvesting Methods 0.000 claims abstract description 39
- 238000004590 computer program Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000007306 turnover Effects 0.000 abstract description 15
- 230000004048 modification Effects 0.000 abstract 1
- 238000012986 modification Methods 0.000 abstract 1
- 238000012545 processing Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 238000013480 data collection Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000003012 network analysis Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Abstract
The application provides a kind of method, apparatus, computer equipment and storage medium for acquiring data, this method comprises: according to the data harvesting request information of the first user received from the first equipment;According to the data harvesting request information of the first user, determine that target data acquisition module, the target data acquisition module include the data information that first user needs to acquire, the data information includes data type information;First user data is acquired according to the target data acquisition module, to obtain the target data for meeting the target data acquisition module;The target data is sent to the first equipment.The technical solution of the embodiment of the present application can use different target data acquisition modules for different partners, can effectively improve program code reusability, avoid the modification code of repeatability, data-handling efficiency is effectively increased, it is time-consuming small, and save labour turnover.
Description
Technical field
This application involves field of communication technology more particularly to a kind of method, apparatus for acquiring data, computer equipment and deposit
Storage media.
Background technique
In the prior art, for for the data of a large number of users, needing according to partner services in Cooperation operational mode
The demand of quotient carries out personalisation process.Generally according to the demand of partner services quotient, mass data is acquired, to meet conjunction
Make the demand of service provider.
Up to now, Cooperation operational mode usually mainly passes through hand by the user data that big data screens
Work mode and program schema two ways are handled.The EXCEL document for handling manually into agreement format, passes through file interface
Form is given to different business providers.Each business channel will correspond to one or several operation personnel to handle data.
It is very cumbersome, need the degree of human intervention larger, time-consuming more, low efficiency.Second is program schema, according to the number of partner
According to requiring, specific program code is write to complete the behaviors such as data screening, transmission, data interaction.The shortcomings that this mode: journey
Sequence rate of code reuse is low, needs to remodify code according to different partners, the time cost for docking new partner is higher.
Therefore, a kind of scheme for being able to solve problem of the existing technology is badly in need of in this field.
Summary of the invention
The purpose of the application is to provide a kind of method, apparatus, computer equipment and storage medium for acquiring data, for solving
Problem certainly of the existing technology.
To achieve the above object, the application provides a kind of method for acquiring data, comprising the following steps:
Step 01, according to the data harvesting request information of the first user received from the first equipment;
Step 02, according to the data harvesting request information of the first user, target data acquisition module, the number of targets are determined
It include the data information that first user needs to acquire according to acquisition module, the data information includes data type information;
Step 03, first user data is acquired according to the target data acquisition module, meets the mesh to obtain
Mark the target data of data acquisition board;
Step 04, the target data is sent to the first equipment.
It is described to be believed according to the data harvesting request of the first user in the step 02 in some possible implementations
Breath, determines target data acquisition module, comprising:
The data acquisition board that the data harvesting request includes is determined as the target data acquisition module.
In some possible implementations, the step 05, comprising:
The feedback information of the data harvesting request is sent to first equipment, the feedback information includes the target
Data.
It include identifier in the data harvesting request in some possible implementations, it is described in the step 02
According to the data harvesting request information of the first user, target data acquisition module is determined, comprising:
According to the identifier match in the identifier and the data acquisition board of pre-configuration, to select the number of targets
According to acquisition module.
In some possible implementations, the step 03 includes:
By the information to match with the data type information of the target data acquisition module in database, it is determined as institute
State target data.
In some possible implementations, the data type information includes at least one in following information:
Name, gender, age, contact method, work unit and the home address of user.
In some possible implementations, the data information further includes the attribute information of partner services quotient, the category
Property information includes the data receiver address information of partner services quotient.
To achieve the above object, the application also provides a kind of device for acquiring data, and the device of the acquisition data includes:
Receiving unit, for the data harvesting request information according to the first user received from the first equipment;
Determination unit determines target data acquisition module for the data harvesting request information according to the first user, described
Target data acquisition module includes the data information that first user needs to acquire, and the data information includes data type letter
Breath;
Acquisition unit is met for acquiring first user data according to the target data acquisition module with obtaining
The target data of the target data acquisition module;
Transmission unit, for sending the target data to the first equipment.
In some possible implementations, the determination unit is specifically used for:
The data acquisition board that the data harvesting request includes is determined as the target data acquisition module.
In some possible implementations, the transmission unit is specifically used for:
The feedback information of the data harvesting request is sent to first equipment, the feedback information includes the target
Data.
It include identifier in the data harvesting request in some possible implementations, the determination unit is specific
For:
According to the identifier match in the identifier and the data acquisition board of pre-configuration, to select the number of targets
According to acquisition module.
In some possible implementations, the acquisition unit is specifically used for:
By the information to match with the data type information of the target data acquisition module in database, it is determined as institute
State target data.
In some possible implementations, the data type information includes at least one in following information:
Name, gender, age, contact method, work unit and the home address of user.
In some possible implementations, the data information further includes the attribute information of partner services quotient, the category
Property information includes the data receiver address information of partner services quotient.
To achieve the above object, the application also provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor are realized above-mentioned when executing the computer program
The step of method.
To achieve the above object, the application also provides computer readable storage medium, is stored thereon with computer program, institute
State the step of above method is realized when computer program is executed by processor.
Method, apparatus, computer equipment and the storage medium of acquisition data provided by the present application, target data acquisition module
Afterwards, data acquisition can be carried out based on the target data acquisition module.
The technical solution of the embodiment of the present application avoids compared with existing manual mode and locates collected data manually
The EXCEL document of agreement format is managed into, and then avoid each business channel to correspond to one or several operation personnel
Data are handled, and then data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.
In addition, the technical solution of the embodiment of the present application is compared with existing program program schema, for different partners
Different target data acquisition modules can be used, and then program code reusability can be effectively improved, avoids repeatability
Code is modified, data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.
Therefore, the technical solution of the embodiment of the present application can effectively improve data-handling efficiency, time-consuming small, and save artificial
Cost.
Detailed description of the invention
Fig. 1 is the flow chart of the embodiment for the method that the application acquires data;
Fig. 2 is the flow chart of another embodiment of the method that the application acquires data;
Fig. 3 is the program module schematic diagram for the Installation practice that the application acquires data;
Fig. 4 is another program module schematic diagram for the Installation practice that the application acquires data;
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, not
For limiting the application.Based on the embodiment in the application, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall in the protection scope of this application.
Method, apparatus, computer equipment and the storage medium of acquisition data provided by the present application, are suitable for user and pass through respectively
Kind terminal device access some websites or the technical field of mobile Internet application.
Wherein, terminal device can be any terminal, such as: mobile phone, tablet computer, laptop, computer, access are eventually
End etc..In another example the terminal devices such as PC and mobile phone, PAD.Wherein, access terminal can be cellular phone, wireless phone,
Session initiation protocol (Session Initiation Protocol, SIP) phone, wireless local loop (Wireless Local
Loop, WLL) it stands, personal digital assistant (Personal Digital Assistant, PDA), the hand with wireless communication function
Holding equipment, the other processing equipments for calculating equipment or being connected to radio modem, mobile unit, wearable device, communication
Terminal device etc. in network.
Fig. 1 and Fig. 2 is the schematic flow chart of the method for the acquisition data of the embodiment of the present application.Below with reference to Fig. 1 and Fig. 2
The method of the acquisition data of the embodiment of the present application is described in detail.
Referring to Fig. 1, may comprise steps of in a kind of method of acquisition data of the present embodiment:
Step 01, according to the data harvesting request information of the first user received from the first equipment;
Step 02, according to the data harvesting request information of the first user, target data acquisition module, the number of targets are determined
It include the data information that first user needs to acquire according to acquisition module, the data information includes data type information;
Step 03, first user data is acquired according to the target data acquisition module, meets the mesh to obtain
Mark the target data of data acquisition board;
Step 04, the target data is sent to the first equipment.
It should be understood that the executing subject of the embodiment of the present application can be terminal device or be mounted on the terminal device
Application program.In order to make it easy to understand, below by taking terminal device is executing subject as an example, to the technical solution of the embodiment of the present application into
Row exemplary illustration.
Specifically, can be acquired based on the target data after the terminal device obtains target data acquisition module
Template carries out data acquisition.For the technical solution of the embodiment of the present application compared with existing manual mode, avoiding will be collected
Data handle manually at agreement format EXCEL document, and then avoid each business channel will correspond to it is one or several
Operation personnel handles data, and then can effectively improve data-handling efficiency, time-consuming small, and saves labour turnover.
In addition, the technical solution of the embodiment of the present application is compared with existing program program schema, for different partners
Different target data acquisition modules can be used, and then program code reusability can be effectively improved, avoids repeatability
Code is modified, data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.Therefore, the skill of the embodiment of the present application
Art scheme can effectively improve data-handling efficiency, time-consuming small, and save labour turnover.
In other words, the technical solution of the embodiment of the present application can be with by the business model of less human intervention
Requirement by different clients to data information is processed into personalized template by program code, and operation personnel only needs
Safeguard a template, subsequent data preparation work can be by program on behalf of execution, and great raising efficiency is revised as template
After change processing, it is only necessary to which an artificially template of configuration greatly promotes efficiency, discharges human resources.
It should also be understood that first equipment of the embodiment of the present application can be the server apparatus of cooperation operator, for example, described
First equipment can be the server of mobile operator.Specifically, first equipment can be the server of any brand, this
Application embodiment is not specifically limited in this embodiment.
Optionally, as shown in Fig. 2, before the step 01, can also include:
Step 05, at least one data acquisition board is obtained, at least one described data acquisition board includes the target
Data acquire target.
It should be understood that the embodiment of the present application is not specifically limited the mode of at least one data acquisition board.For example,
At least one described data acquisition board is the template that other equipment are sent.In another example at least one described data acquisition board
For preconfigured template.
Optionally, in some embodiments of the present application, the step 01 be can specifically include:
The data harvesting request that first equipment is sent is received, the data harvesting request includes that the target data is adopted
Collect template.
In other words, in the step 02, the data harvesting request information according to the first user determines target data
Acquisition module, comprising: the data acquisition board that the data harvesting request includes is determined as the target data acquisition module.
Specifically, the terminal device receives the data harvesting request that first equipment is sent, and the data acquisition is asked
It asks including the target data acquisition module.In turn, the terminal device can be acquired according to the target data acquisition module
Data.In other words, terminal device can receive the data harvesting request of partner services quotient transmission, the data harvesting request packet
Include the target data acquisition module.In this embodiment, according to demand, editor's target data acquires mould to the partner services quotient
Plate, and configured target data acquisition module is sent to terminal device.
Optionally, in some embodiments of the present application, as shown in Figure 1, the step 04 may include:
The feedback information of the data harvesting request is sent to first equipment, the feedback information includes the target
Data.
Specifically, the terminal device has acquired after data according to the target data acquisition module and has formed the target
After data, the terminal device sends the feedback information of the data harvesting request, the feedback information to first equipment
Including the target data.
Optionally, in some embodiments of the present application, the target data acquisition module is preconfigured template.
For example, include identifier in the data harvesting request, in the step 02, the data according to the first user
Solicited message is acquired, determines target data acquisition module, comprising: according in the identifier and the data acquisition board of pre-configuration
Identifier match, to select the target data acquisition module.
It should be understood that the identifier is also possible to index or number in other alternate embodiments.
Specifically, the target data acquisition module can be the target data acquisition module that Party A issues Party B, or
The target data acquisition module can be the target data acquisition module of Party B oneself production, then be configured by Party B described
It on terminal device, that is, is stored on the memory of the terminal device, the terminal device needs to obtain the number of targets as a result,
When according to acquisition module, the target data acquisition module can be directly called in local storage.That is, manually obtaining target
After data acquisition board, data acquisition board can be uploaded to by terminal device by artificial mode, so that terminal device can
To obtain target data acquisition module in this way.
It should be understood that the establishment of the target data acquisition module for the embodiment of the present application, can be pre-configuration can also be with
It is that client provides.For the form of the target data acquisition module, it can be code and be also possible to rule.The application is not done
It is specific to limit.
For example, when the user data that partner services quotient A needs includes the information such as name, gender, the age of user, Ke Yiyou
Manual type is target data acquisition module to the data requirements establishment of service provider A, which may include the name of user, property
Not, the information such as age.
Optionally, in some embodiments of the present application, the step 03 be can specifically include:
According to target data acquisition module, the user data is acquired in the database, to obtain the Data Data.Example
Such as, the information to match with the data type information of the target data acquisition module in database can be determined as institute
State target data.
Specifically, after the terminal device obtains target data acquisition module, the terminal device can be according to number of targets
According to acquisition module, the user data is acquired in the database, to obtain the target data.It is appreciated that the database
In be stored with various data gathered in advance, the terminal device according to the target data acquisition module can it is described in advance
In the various data of acquisition, the data selected and meet the target data acquisition module are deleted, and generate according to the data filtered out
The target data.
More specifically, can by the way that master data collection machine and preliminary data harvester are arranged in data gather computer cluster,
Data acquisition is carried out by master data collection machine, and the data of acquisition are stored into the distributed file system to data gather computer cluster
In (i.e. database).When master data collection machine breaks down, counted by preliminary data harvester replacement master data collection machine
According to acquisition, the data of preliminary data harvester acquisition are also stored into the distributed file system (i.e. database) of harvester cluster
In.
It should be understood that the data of the database of the embodiment of the present application can be preparatory collected data, specifically, institute
The acquisition mode for stating the data of database includes but is not limited to following methods: actively acquiring, refers to that data gather computer is regular
Initiatively information is collected from by device for picking or system;Passive receive refers to by device for picking or system at regular intervals or in real time sends information
To data gather computer, is received by data gather computer and carry out respective handling.It should also be understood that the embodiment of the present application is to the database
Specific data data type without limitation.For example, the database can also include the data of equipment.For example, the number
It can also include: performance data, data on flows and business datum etc. according to library.May include with the data in the database
For performance data, specifically, performance collector periodically issues Simple Network Management Protocol request to managed device, described by pipe
Equipment provides the index of the utilization rate of CPU (central processing unit) and memory, and the managed device receives Simple Network Management Protocol
After request, collects index and index is returned into performance harvester.In the embodiment of the present application, the performance collector will be collected
Data storage in the database.
Optionally, in some embodiments of the present application, the data type information includes at least one in following information
:
Name, gender, age, contact method, work unit and the home address of user.
In the concrete realization, the terminal device can carry out the data in database according to the data type information
Screening.For example, it is assumed that the data type information include: the name of user, gender, the age, contact method, work unit and
Home address.Then the terminal device can filter out the name of each user in user used in the database, property
Not, age, contact method, work unit and home address, and then generate the target data.
In other words, in this step, the terminal device can be according to target data acquisition module to the data of user
It is acquired.Specifically, terminal device determines the data type for needing to acquire according to the target data acquisition module, for example,
The data for including in the target data acquisition module include the name of user, gender etc., then the terminal device is according to
Template determines that the data for needing to acquire are the information such as name, the gender of user.The i.e. described terminal device needs to acquire out in determination
Information type after, the terminal device is acquired the data of user.
It should be understood that the terminal device is deleted from the database and selects the mode of the target data and may include
In the prior art to delete mode of selecting, the embodiment of the present application is not specifically limited in this embodiment.For example, can be by being based on bottom I/O request
With the technologies such as network analysis, target software is acquired or all data that targeted company generates, by data conversion and structure again
Change, is output to new database.For example, it is also possible to by Data hub come the data in capturing service database, i.e., according to mesh
Data acquisition board is marked to carry out the data in capturing service database using Data hub.
It should also be understood that the data type information includes at least one in following information: the name of user, gender, year
Age, contact method, work unit and home address are merely illustrative.The embodiment of the present application is without being limited thereto.For example, the data class
Type information can also be leading screened with a kind of type information.For example, the terminal device can screen in the database
Belong to name, gender, age, contact method and the home address of the user of target unit out.In another example the terminal device
Can filter out in the database the name for belonging to the user of target cities, gender, the age, contact method, work unit and
Home address.In another example the terminal device can filter out in the database belong to the user of male or women name,
Age, contact method, work unit and home address.
In the embodiment of the present application, the data type information can be the data type that partner services quotient requires acquisition.This
Apply embodiment to the particular content of data type without limitation.
For example, in some embodiments, the data type information may include the target data text formatting,
It may include the numeric format (i.e. for embodying the mode or mode of acquisition numerical value) etc. of the target data.For example, can be with
The target data is embodied by way of figure or table.In other words, the terminal device can the target data acquisition mould
Plate generates the target data.And the numeric format or document format of the target data need to meet the partner services quotient
Requirement.Wherein, the text formatting of the target data can be Excel format, or TXT format, to this application
Embodiment without limit, can the text formatting according to actual needs to the target data choose.It should be understood that at it
In his alternate embodiments, the text formatting of the target data is referred to as the format of the target data acquisition module.
In the embodiment of the present application, by taking the text formatting of the target data can be for Excel format as an example, further,
The format of the target data can be in the following ways:
[the first data: parameter P].
Wherein, first data indicate that the data type information filtered out with the needs of the first user includes each
The information of seed type.Parameter P indicates name, gender, age, contact method, work unit and the home address of the first user,
It is a data structure.
For example, parameter P can specifically include following information:
[name, gender, age, contact method, work unit and the home address of the first user].
It should be understood that the format and parameter P of target data described above are only exemplary, the embodiment of the present application is not made to have
Body limits.
Optionally, in some embodiments of the present application, the data information further includes the attribute information of partner services quotient,
The attribute information includes the data receiver address information of partner services quotient.The terminal device obtains the number of targets as a result,
According to rear, the data receiver address information for the partner services quotient that can directly include according to the attribute information sends the target
Data.
For example, the service provider is China Mobile, carry out data acquisition after, need to send the data to
Commmunication company, state receives the address information of data by the available service provider of the attribute information of service provider, thus according to the ground
Location information sends data to service provider.
Wherein, the data receiver address information of the partner services quotient may include: mailbox, either fax address or its
The address etc. of his type.The embodiment of the present application is not specifically limited in this embodiment.For example, in other alternate embodiments, it is described
The data receiver address information of the partner services quotient can also be the address information of the server of the partner services quotient.
Based on above scheme, after the terminal device obtains target data acquisition module, the target data can be based on
Acquisition module carries out data acquisition.
The technical solution of the embodiment of the present application avoids compared with existing manual mode and locates collected data manually
The EXCEL document of agreement format is managed into, and then avoid each business channel to correspond to one or several operation personnel
Data are handled, and then data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.
In addition, the technical solution of the embodiment of the present application is compared with existing program program schema, for different partners
Different target data acquisition modules can be used, and then program code reusability can be effectively improved, avoids repeatability
Code is modified, data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.Therefore, the skill of the embodiment of the present application
Art scheme can effectively improve data-handling efficiency, time-consuming small, and save labour turnover.
Fig. 3 is the schematic block diagram of the device of the acquisition data of the embodiment of the present application.Optionally, the dress of the acquisition data
It installs and is placed in server-side gateway.
As shown in figure 3, in the present embodiment, the device 10 for acquiring data may include or be divided into one or more journeys
Sequence module, one or more program module are stored in storage medium, and as performed by one or more processors, with complete
At the application, and the method that can realize above-mentioned acquisition data.The so-called program module of the application is to refer to complete specific function
Series of computation machine program instruction section, relative program more suitable for description acquisition data the holding in storage medium of device 10
Row process.The function of each program module in the present embodiment will specifically be introduced by being described below.
As shown in figure 3, the device 10 of acquisition data may include:
Receiving unit 11, for the data harvesting request information according to the first user received from the first equipment;
Determination unit 12 determines target data acquisition module, institute for the data harvesting request information according to the first user
Stating target data acquisition module includes the data information that first user needs to acquire, and the data information includes data type
Information;
Acquisition unit 13 is full to obtain for acquiring first user data according to the target data acquisition module
The target data of the foot target data acquisition module;
Transmission unit 14, for sending the target data to the first equipment.
In some possible implementations, the determination unit is specifically used for:
The data acquisition board that the data harvesting request includes is determined as the target data acquisition module.
In some possible implementations, the transmission unit 14 is specifically used for:
The feedback information of the data harvesting request is sent to first equipment, the feedback information includes the target
Data.
It include identifier in the data harvesting request in some possible implementations, the determination unit 12 has
Body is used for:
According to the identifier match in the identifier and the data acquisition board of pre-configuration, to select the number of targets
According to acquisition module.
In some possible implementations, the acquisition unit 13 is specifically used for:
By the information to match with the data type information of the target data acquisition module in database, it is determined as institute
State target data.
Optionally, in some embodiments of the present application, the data type information includes at least one in following information
:
Name, gender, age, contact method, work unit and the home address of user.
Optionally, in some embodiments of the present application, the data information further includes the attribute information of partner services quotient,
The attribute information includes the data receiver address information of partner services quotient.
After the device 10 of the acquisition data of the embodiment of the present application obtains target data acquisition module, the target can be based on
Data acquisition board carries out data acquisition.
The technical solution of the embodiment of the present application avoids compared with existing manual mode and locates collected data manually
The EXCEL document of agreement format is managed into, and then avoid each business channel to correspond to one or several operation personnel
Data are handled, and then data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.
In addition, the technical solution of the embodiment of the present application is compared with existing program program schema, for different partners
Different target data acquisition modules can be used, and then program code reusability can be effectively improved, avoids repeatability
Code is modified, data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.Therefore, the skill of the embodiment of the present application
Art scheme can effectively improve data-handling efficiency, time-consuming small, and save labour turnover.
A kind of computer equipment is also provided in the present embodiment, can such as execute the smart phone, tablet computer, notes of program
This computer, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server (including independence
Server or multiple servers composed by server cluster) etc..The computer equipment 20 of the present embodiment include at least but
It is not limited to: memory 21, the processor 22 of connection can be in communication with each other by system bus, as shown in Figure 4.It should be pointed out that
Fig. 4 illustrates only the computer equipment 20 with component 21-22, it should be understood that being not required for implementing all show
Component, the implementation that can be substituted is more or less component.
In the present embodiment, memory 21 (i.e. readable storage medium storing program for executing) includes flash memory, hard disk, multimedia card, memory card (example
Such as, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic
Disk, CD etc..In some embodiments, memory 21 can be the internal storage unit of computer equipment 20, such as the calculating
The hard disk or memory of machine equipment 20.In further embodiments, memory 21 is also possible to the external storage of computer equipment 20
The plug-in type hard disk being equipped in equipment, such as the computer equipment 20, intelligent memory card (Smart Media Card, SMC), peace
Digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 21 can also both include meter
The internal storage unit for calculating machine equipment 20 also includes its External memory equipment.In the present embodiment, memory 21 is commonly used in storage
Be installed on the operating system and types of applications software of computer equipment 20, for example, embodiment acquisition data device 10 program
Code etc..In addition, memory 21 can be also used for temporarily storing the Various types of data that has exported or will export.
Processor 22 can be in some embodiments central processing unit (Central Processing Unit, CPU),
Controller, microcontroller, microprocessor or other data processing chips.The processor 22 is commonly used in control computer equipment
20 overall operation.In the present embodiment, program code or processing data of the processor 22 for being stored in run memory 21,
Such as the device 10 of operation acquisition data, the method to realize the acquisition data of embodiment.
After the computer equipment 20 of the embodiment of the present application obtains target data acquisition module, the target data can be based on
Acquisition module carries out data acquisition.
The technical solution of the embodiment of the present application avoids compared with existing manual mode and locates collected data manually
The EXCEL document of agreement format is managed into, and then avoid each business channel to correspond to one or several operation personnel
Data are handled, and then data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.
In addition, the technical solution of the embodiment of the present application is compared with existing program program schema, for different partners
Different target data acquisition modules can be used, and then program code reusability can be effectively improved, avoids repeatability
Code is modified, data-handling efficiency can be effectively improved, it is time-consuming small, and save labour turnover.Therefore, the skill of the embodiment of the present application
Art scheme can effectively improve data-handling efficiency, time-consuming small, and save labour turnover.
A kind of computer readable storage medium is also provided in the present embodiment, such as flash memory, hard disk, multimedia card, memory card
(for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic
Disk, CD, server, App are stored thereon with computer program, phase are realized when program is executed by processor using store etc.
Answer function.The computer readable storage medium of the present embodiment is used to store the device 10 of acquisition data, real when being executed by processor
The method of the acquisition data of current embodiment.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that the above method is implemented
Example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.I.e. the present invention can take full hardware embodiment, full software implementation or integration software and hard
The form of the embodiment of part.Typical combine of hardware and software can be the general-purpose computing system with computer program,
When program is loaded and is performed, computer system is controlled, so as to execute above-mentioned method.The present invention can be embedded in
In computer program product, it includes all features for being carried out method described herein.The computer program product
It is comprised in one or more computer readable storage mediums, the computer readable storage medium, which has, to be contained therein
Computer readable program code.
The above is only preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all to utilize this Shen
Please equivalent structure or equivalent flow shift made by specification and accompanying drawing content, be applied directly or indirectly in other relevant skills
Art field similarly includes in the scope of patent protection of the application.
Claims (10)
1. a kind of method for acquiring data, which comprises the following steps:
Step 01, according to the data harvesting request information of the first user received from the first equipment;
Step 02, according to the data harvesting request information of the first user, target data acquisition module is determined, the target data is adopted
Collection template includes the data information that first user needs to acquire, and the data information includes data type information;
Step 03, first user data is acquired according to the target data acquisition module, meets the number of targets to obtain
According to the target data of acquisition module;
Step 04, the target data is sent to the first equipment.
2. the method according to claim 1, wherein in the step 02, the data according to the first user
Solicited message is acquired, determines target data acquisition module, comprising:
The data acquisition board that the data harvesting request includes is determined as the target data acquisition module.
3. according to the method described in claim 2, it is characterized in that, the step 05, comprising:
The feedback information of the data harvesting request is sent to first equipment, the feedback information includes the number of targets
According to.
4. the method according to claim 1, wherein including identifier, the step in the data harvesting request
In rapid 02, the data harvesting request information according to the first user determines target data acquisition module, comprising:
According to the identifier match in the identifier and the data acquisition board of pre-configuration, adopted to select the target data
Collect template.
5. method according to claim 1 to 4, which is characterized in that the step 03 includes:
By the information to match with the data type information of the target data acquisition module in database, it is determined as the mesh
Mark data.
6. the method according to any one of claims 1 to 5, which is characterized in that the data type information includes following
At least one of in information:
Name, gender, age, contact method, work unit and the home address of user.
7. the method according to claim 1, wherein the data information further includes the attribute letter of partner services quotient
Breath, the attribute information includes the data receiver address information of partner services quotient.
8. it is a kind of acquire data device, which is characterized in that it is described acquisition data device include:
Receiving unit, for the data harvesting request information according to the first user received from the first equipment;
Determination unit determines target data acquisition module, the target for the data harvesting request information according to the first user
Data acquisition board includes the data information that first user needs to acquire, and the data information includes data type information;
Acquisition unit, for acquiring first user data according to the target data acquisition module, to obtain described in satisfaction
The target data of target data acquisition module;
Transmission unit, for sending the target data to the first equipment.
9. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that the processor realizes any one of claim 1 to 7 institute when executing the computer program
The step of stating method.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program
The step of any one of claim 1 to 7 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535267.5A CN109783426A (en) | 2018-12-14 | 2018-12-14 | Acquire method, apparatus, computer equipment and the storage medium of data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811535267.5A CN109783426A (en) | 2018-12-14 | 2018-12-14 | Acquire method, apparatus, computer equipment and the storage medium of data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109783426A true CN109783426A (en) | 2019-05-21 |
Family
ID=66496965
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811535267.5A Pending CN109783426A (en) | 2018-12-14 | 2018-12-14 | Acquire method, apparatus, computer equipment and the storage medium of data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109783426A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110647552A (en) * | 2019-08-29 | 2020-01-03 | 深圳市新系区块链技术有限公司 | Data distribution method and related product |
CN110908976A (en) * | 2019-10-29 | 2020-03-24 | 中国建设银行股份有限公司 | Accumulation fund data acquisition method and system |
CN111460773A (en) * | 2020-03-30 | 2020-07-28 | 京东数字科技控股有限公司 | Data processing method, device and system, electronic equipment and storage medium |
CN111651482A (en) * | 2020-04-16 | 2020-09-11 | 宁波吉利汽车研究开发有限公司 | Data acquisition method and device |
CN113127321A (en) * | 2021-04-21 | 2021-07-16 | 平安银行股份有限公司 | Data reading method, device and equipment based on Jmeter and storage medium |
CN113392345A (en) * | 2021-06-08 | 2021-09-14 | 北京来看科技有限公司 | Data acquisition method, device, terminal and storage medium |
CN114257392A (en) * | 2020-09-24 | 2022-03-29 | 深圳富桂精密工业有限公司 | Equipment management method, equipment management system and gateway |
CN115904719A (en) * | 2022-12-02 | 2023-04-04 | 杭州义益钛迪信息技术有限公司 | Data acquisition method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843945A (en) * | 2016-04-08 | 2016-08-10 | 联动优势科技有限公司 | Report generation method and system |
CN106202302A (en) * | 2016-07-01 | 2016-12-07 | 龙官波 | Collecting method, Apparatus and system |
CN107943912A (en) * | 2017-11-17 | 2018-04-20 | 江苏中威科技软件系统有限公司 | A kind of response type Resource TOC data visualization management method, terminal and device |
CN108062367A (en) * | 2017-12-08 | 2018-05-22 | 平安科技(深圳)有限公司 | The method for uploading and its terminal of a kind of data list |
CN108304498A (en) * | 2018-01-12 | 2018-07-20 | 深圳壹账通智能科技有限公司 | Webpage data acquiring method, device, computer equipment and storage medium |
CN108877920A (en) * | 2018-06-15 | 2018-11-23 | 申艳莉 | Diagnosis and treatment data managing method and system |
-
2018
- 2018-12-14 CN CN201811535267.5A patent/CN109783426A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843945A (en) * | 2016-04-08 | 2016-08-10 | 联动优势科技有限公司 | Report generation method and system |
CN106202302A (en) * | 2016-07-01 | 2016-12-07 | 龙官波 | Collecting method, Apparatus and system |
CN107943912A (en) * | 2017-11-17 | 2018-04-20 | 江苏中威科技软件系统有限公司 | A kind of response type Resource TOC data visualization management method, terminal and device |
CN108062367A (en) * | 2017-12-08 | 2018-05-22 | 平安科技(深圳)有限公司 | The method for uploading and its terminal of a kind of data list |
CN108304498A (en) * | 2018-01-12 | 2018-07-20 | 深圳壹账通智能科技有限公司 | Webpage data acquiring method, device, computer equipment and storage medium |
CN108877920A (en) * | 2018-06-15 | 2018-11-23 | 申艳莉 | Diagnosis and treatment data managing method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110647552A (en) * | 2019-08-29 | 2020-01-03 | 深圳市新系区块链技术有限公司 | Data distribution method and related product |
CN110908976A (en) * | 2019-10-29 | 2020-03-24 | 中国建设银行股份有限公司 | Accumulation fund data acquisition method and system |
CN111460773A (en) * | 2020-03-30 | 2020-07-28 | 京东数字科技控股有限公司 | Data processing method, device and system, electronic equipment and storage medium |
CN111651482A (en) * | 2020-04-16 | 2020-09-11 | 宁波吉利汽车研究开发有限公司 | Data acquisition method and device |
CN114257392A (en) * | 2020-09-24 | 2022-03-29 | 深圳富桂精密工业有限公司 | Equipment management method, equipment management system and gateway |
CN113127321A (en) * | 2021-04-21 | 2021-07-16 | 平安银行股份有限公司 | Data reading method, device and equipment based on Jmeter and storage medium |
CN113392345A (en) * | 2021-06-08 | 2021-09-14 | 北京来看科技有限公司 | Data acquisition method, device, terminal and storage medium |
CN115904719A (en) * | 2022-12-02 | 2023-04-04 | 杭州义益钛迪信息技术有限公司 | Data acquisition method and device, electronic equipment and storage medium |
CN115904719B (en) * | 2022-12-02 | 2023-12-08 | 杭州义益钛迪信息技术有限公司 | Data acquisition method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109783426A (en) | Acquire method, apparatus, computer equipment and the storage medium of data | |
CN110399550B (en) | Information recommendation method and device | |
CN102819531B (en) | A kind of cloud reading service system, cloud reading service method and apparatus | |
CN105847020B (en) | Message pushing method and device | |
CN102904960B (en) | A kind of information synchronization system and method based on RSS | |
CN112148679A (en) | Data interaction method, system, device and storage medium based on multiple data platforms | |
TW200824345A (en) | Methods and apparatus for providing service notifications in a network environment | |
CN110300084B (en) | IP address-based portrait method and apparatus, electronic device, and readable medium | |
CN105472045A (en) | Database migration method and database migration device | |
CN106095789B (en) | Message subscription management device and method | |
CN104536965B (en) | A kind of data query display systems under the conditions of big data and method | |
CN105868231A (en) | Cache data updating method and device | |
CN110932918B (en) | Log data acquisition method and device and storage medium | |
CN109284448A (en) | Information recommendation method, device, terminal and storage medium | |
CN110928934A (en) | Data processing method and device for business analysis | |
CN111224831B (en) | Method and system for generating call ticket | |
CN105553770B (en) | Data acquisition control method and device | |
CN114401493A (en) | Message pushing method and service system thereof | |
CN107924345A (en) | Data storage area for the polymerization measurement result of measurement | |
US20170331909A1 (en) | System and method of monitoring and tracking online source content and/or determining content influencers | |
Wang et al. | Smart devices information extraction in home wi‐fi networks | |
US20230418847A1 (en) | Methods and Systems for Querying Data Within a Geographical Boundary Using a Query Tool | |
CN107526808B (en) | Real-time data processing method and device | |
KR20210000041A (en) | Method and apparatus for analyzing log data in real time | |
CN109585013A (en) | A kind of distributed medical diagnostic analysis method 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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190521 |
|
WD01 | Invention patent application deemed withdrawn after publication |