Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to
The range of this specification protection.
In view of existing service data acquisition method is often relatively rough, operation system can be directly acquired mostly
Log recording.And a large amount of data information would generally be recorded in the log recording of operation system, it at this moment needs to including big
The retrieval that the log recording of the data information of amount is recorded entirely, to find the inclusive segment for including required supplemental characteristic,
Above content section is integrally extracted again, and then the information in extracted inclusive segment is handled again, to finally obtain
Required business datum.The above method is when it is implemented, comparatively cumbersome.And process and processing number due to acquisition data
According to process carry out together, cause the specific aim of two processes not strong, the accuracy of processing, treatment effeciency are relatively
It is low.In addition, again due to based on existing method being extracted for whole section of inclusive segment of the required supplemental characteristic that includes,
Cause collection process also relatively large to the consumption of resource.
Based on the above situation, this specification proposes to separate data acquisition flow and flow chart of data processing.Specifically,
It can targetedly go acquisition corresponding with required business datum based on preset configuration information by data acquisition flow
More crucial target data.Such as corresponding parameter values etc., so as to avoid having the acquisition of some non-critical datas
Effect ground reduces data collection capacity, improves collecting efficiency, reduces the consumption to resource;Meanwhile flow chart of data processing base can be passed through
In corresponding preset configuration information, recovery processing is carried out to target data collected, obtains the really necessary target industry wanted
Business data, to achieve the purpose that the collecting efficiency and accuracy that improve service data acquisition.
This specification embodiment provides a kind of acquisition method of business datum, as shown in fig.1, the business datum
Acquisition method specifically can be applied to include in the system architecture of multiple services.
Wherein, the Service Processing Unit that the part server in above-mentioned multiple servers can be used as operation system is had
The business processing of body;And it can carry out burying a little on server in above-mentioned operation system in advance, so that operation system can be rung
Data acquisition management system instruction is answered to carry out the acquisition of target data, data acquisition process;The server of another part is then
It can be used as data acquisition management system to be responsible for generating the preset configuration information for the target data that instruction needs to acquire, and will be upper
It states preset configuration information and is supplied to operation system;The target data for acquiring feedback of operation system can also be restored
Processing, obtains target service data.
In the present embodiment, the server can have data operation, store function and network interaction for one
The electronic equipment of function;Or run in the electronic equipment, support is provided for data processing, storage and network interaction
Software.Do not limit the quantity of the server specifically in the present embodiment.The server can be a server, also
It can be several servers, alternatively, the server cluster formed by several servers.
It, can be as shown in fig.2, the service data acquisition provided using this specification embodiment in a Sample Scenario
Method is acquired the specified services data in certain network platform business procession.
In this Sample Scenario, the setting operation that data acquisition management system receives user can be first passed through, to generate needle
To the preset configuration information of target data.It is adopted specifically, data acquisition management system can be supplied to required for user setting
The set interface of the target data of collection is operated with receiving user to the setting for the target data that needs acquire;And then it can basis
User operates the setting of target data, generates the preset configuration information that can indicate to need the target data acquired.
Wherein, above-mentioned preset configuration information specifically can be understood as being used to indicate the finger for needing the target data acquired
Registration evidence.In addition, can also include business information relevant to number of targets in above-mentioned preset configuration information.On specifically,
State target data be specifically understood that with user want obtain business datum it is corresponding, operation system progress business procession
In be related to, for characterizing the supplemental characteristic of specific object feature.For example, the business datum that user wants to obtain is user A
Age data, corresponding target data can be the year of birth of user A.
Specifically, above-mentioned preset configuration information can be a kind of execution language for being based on object figure navigation language (ognl)
Sentence.For example, the preset configuration information for being used to indicate the year of birth for needing the target data acquired to be user A specifically can be with table
It is shown as following form: " example, UserA, birthday, year ".In above-mentioned preset configuration information " UserA,
Birthday, year " are used to indicate the year of birth that the target data for needing to acquire is user A.Certainly, it should be noted that
Above-mentioned cited preset configuration information is intended merely to that this specification embodiment is better described.When it is implemented, according to
Specific application scenarios, above-mentioned preset configuration information can also use the execution sentence of other forms.In this regard, this specification is not
It limits.
Data acquisition management system after response user generates preset configuration information for the setting operation of target data,
Above-mentioned preset configuration information can be sent to operation system.
Operation system can parse preset configuration information, really after receiving above-mentioned preset configuration information
The target data for needing to acquire calmly, then the data in business procession are specifically acquired.
For example, operation system is determining that the target data for needing to acquire is going out for user A according to preset configuration information
After the raw time, it can be searched for according to the target data to the inclusive segment for including the target data.For example, specifically can be with
Under data content section: " User A, Birthday, 1989.04.12 ".Only extract the birth of user A in section from the discussion above again
Time, such as " 1989 " that can only extract in inclusive segment are used as target data.This way it is possible to avoid similar existing method is to packet
Inclusive segment containing target data integrally extracts, and reduces data collection capacity, reduces consumption of the acquisition data to resource,
Achieve the effect that precise acquisition, improves the precision and efficiency of acquisition.
It is considered that it is corresponding with business datum that operation system only collects characterization in order to improve the precision of acquisition and efficiency
A certain attributive character supplemental characteristic, although this data data volume is less, cost is relatively low for acquisition, is included accordingly
Information it is often sufficiently complete, therefore often can not directly use.At this moment the number of targets that operation system can will be collected
According to data acquisition management system is sent to, target required for obtaining user according to target data so as to data acquisition management system
Business datum.
Specifically, data acquisition management system can be determined first after receiving operation system target data collected
Preset configuration information corresponding with target data, and then target data can be restored according to preset configuration information
Processing, obtains target service data.
Wherein, above-mentioned target service data specifically can be understood as user or machine-readable uses, and include mesh
Data, and business information relevant to target data are marked, and meet the information data of preset format.
Above-mentioned to carry out recovery processing to target data in this Sample Scenario, when specific implementation, may comprise steps of:
Data acquisition management system carries out data convert according to preset configuration information, to the target data, for example, can be according to pre-
If configuration information be based on target data and supplement relevant to target data business information, so as to be included target
Data, and include the business datum more abundant of business information relevant to target data.
Specifically, after data acquisition management system obtains target data, it can be according to corresponding with target data default
Configuration information in the tactic data key that carries, extract carried in the target data of return it is corresponding with the data key
Data value;The data key and data value corresponding with the data key are combined, one or more key-value pairs are obtained;
Using obtained one or more key-value pairs as the target service data.
After obtaining target service data, acquired target service data can also further be formatted,
Target service data are converted to the business datum of preset format, to obtain satisfactory target service data.
Wherein, above-mentioned business information relevant to target data specifically can be understood as characterizing corresponding to target data
The features such as Property Name, classification, source or business meaning information data (such as corresponding data key).For example, and mesh
Mark data " 1989 " related service information may include: to characterize the information data of the corresponding Property Name of the target data
" year ", characterize the other information data of the corresponding Attribute class of the target data " birthday " and characterize the target data it is corresponding
Information data " User A " etc..I.e. above-mentioned business information relevant to target data specifically can be tactic data
Key, the data key are used to indicate the target data for needing to acquire.It can be carried in the target data that follow-up business system returns
Data value corresponding with the data key.Certainly, above-mentioned cited business information relevant to target data is intended merely to more
Illustrate this specification embodiment well.When it is implemented, may be incorporated into and remove according to specific application scenarios and application requirement
Other kinds of information data is as business information relevant to target data other than above-mentioned cited information data.In this regard,
This specification is not construed as limiting.
When it is implemented, for example, data acquisition management system can be according to preset configuration information corresponding with number of targets
Determine business information relevant to target data.Such as " User A ", " birthday ", " year " etc..Again by above-mentioned and mesh
The relevant business information of mark data and target data are combined (i.e. to the data key and data corresponding with the data key
Value is combined, and obtains one or more key-value pairs), reach the reduction to target data, obtains corresponding target service data.
For example, further, it is possible to target data " 1989 " and above-mentioned business information " User A ", " birthday ", " year " are carried out
Combination, the data after being combined: " User A, birthday, year, 1989 " are to get having arrived above-mentioned business datum.
After obtaining above-mentioned target service data, read for the ease of user or machine, identification, it further, can be with
Business datum is formatted, target service data are converted to the business datum of preset format, to be conformed to
The target service data asked.For example, above-mentioned business datum can be uniformly converted to json format by data acquisition management system
Business datum, as target service data.Certainly, it should be noted that above-mentioned cited preset format is intended merely to more preferably
Ground illustrates this specification embodiment.When it is implemented, according to specific application scenarios and performance, it is also an option that using
Preset format of the other kinds of format as target service data.In this regard, this specification is not construed as limiting.
After acquiring target service data, user or service can be right according to acquired target service data
The business processing situation of operation system is judged.For example, can be according to acquired target service data evaluation operation system
Process performance;Specific business diagnosis can also be carried out according to acquired target service data;It can also be according to acquired in
Target service data operation system is monitored, to identify in time and determine abnormality processing.Certainly, above-mentioned cited
Application about target service data is that one kind schematically illustrates.In this regard, this specification is not construed as limiting.
In another Sample Scenario, user can also be received for described default by above-mentioned data acquisition management system
Configuration information change operation;And according to the change operation, the change data for being directed to the preset configuration information are generated;
Above-mentioned change data are sent to operation system again.In this way, operation system can be according to above-mentioned change data to original preset
Configuration information carries out corresponding modification change, the preset configuration information after being changed, and then can respond in time user's
Change request carries out specific target data acquisition according to the preset configuration information after change.
Wherein, above-mentioned change operation can specifically include the target data acquired to the needs in preset configuration information
Modification operation, the operation for increasing or decreasing the target data that the needs in preset configuration information acquire match confidence to preset
The modification operation of business information relevant to target data in breath increases or decreases in preset configuration information and number of targets
According to the operation etc. of relevant business information.Certainly, it should be noted that above-mentioned cited change operation is a kind of schematic
Explanation.The improper restriction to this specification should not be constituted.
By above-mentioned Sample Scenario as it can be seen that this specification provide business datum acquisition method, due to by the way that data are adopted
Collect process and the separation of data process flow, i.e., needed for targetedly acquiring using operation system according to preset configuration information
The target data wanted recycles data acquisition management system according to corresponding preset configuration information to target data collected
Recovery processing is carried out, target service data are obtained, to improve the collecting efficiency and accuracy of service data acquisition.
As shown in fig.3, this specification embodiment provides a kind of acquisition method of business datum, wherein this method tool
Body is applied to data acquisition management system side.When it is implemented, this method may include the following contents:
S31: receiving the target data collected according to preset configuration information that operation system returns, described preset
Configuration information is used to indicate the target data for needing to acquire.
In the present embodiment, the target data specifically can be understood as and finally need to acquire the target service of acquisition
Data are corresponding, what operation system was related in carrying out business procession, for characterizing the supplemental characteristic of specific object feature.
For example, it may be specific data value.
In the present embodiment, the preset configuration information specifically can be understood as being used to indicate the target for needing to acquire
The designation date of data.In addition, can also include business information relevant to number of targets in above-mentioned preset configuration information.Tool
Body, above-mentioned preset configuration information can also carry tactic data key.The data key specifically can be description
The data of the attributive character of target data collected can serve to indicate that the target data for specifically needing to acquire.
Specifically, operation system can carry out dissection process to preset configuration information, according to parsing result, determines and need
The corresponding data key of the target data of acquisition, and other business information relevant to target data.
For example, can be as shown in fig.4, can be determined by carrying out dissection process to some preset configuration information
What the preset configuration information was included is used to characterize the data key for needing the target data acquired are as follows: key1, key3 will be adopted
The data integrated is key1, key3 corresponding data value value1, value3.It can also be determined simultaneously by dissection process preset
It also include the business information for characterizing other business meanings relevant to target datas such as key1, key3 in configuration information, such as:
Eg1, eg3 etc..
In the present embodiment, above-mentioned data acquisition management system can be specifically deployed on server, and with business system
System coupling.Data acquisition management system can control operation system by preset configuration and acquire target data, to complete data
Process flow;Data collected are handled again, complete flow chart of data processing.
In the present embodiment, when it is implemented, data acquisition management system can will be used to indicate acquisition target data
Preset configuration information be sent to operation system;By operation system according to preset configuration information, targetedly from business
In a variety of data and relevant data content during reason, the relatively small number of number of targets of the data volume accurately collected
According to (such as operation system can be acquired only and return to data corresponding with data key entrained by preset configuration data);Data are adopted
Collection management system itself is not involved in the acquisition of target data, but receives the target data collected by operation system.
S33: according to the preset configuration information, the target data received is handled, obtains target service number
According to.
In the present embodiment, above-mentioned target service data specifically can be understood as user or machine-readable uses
, it include target data, and business information relevant to target data, i.e., the business datum finally to be collected.
In the present embodiment, the target data that data management collection system directly acquires is an independent parameter
Data, for example, it may be possible to only the two supplemental characteristics of value1, value3.Based on above-mentioned parameter data, user or machine can not
Determine the business meaning that above-mentioned parameter numerical value is characterized.Specifically it is to be understood that executing data acquisition to reduce operation system
Consumption of the process to resource improves the collecting efficiency of target data acquisition, and the data volume of target data collected is relatively small,
It is not complete business datum.Therefore, data acquisition management system also needs after having acquired target data to target
Data carry out further data processing, i.e. flow chart of data processing, are carried out by data acquisition management system to target data extensive
Multiple processing, which obtains user or machine, can read the target service data used.
In the present embodiment, above-mentioned recovery processing can specifically include: to target data carry out reduction treatment obtain with
The corresponding business datum of target data.Specifically, data acquisition management system can be taken according in the preset configuration information
The tactic data key of band extracts the data corresponding with the data key carried in the target data of return;And to institute
It states data key and data corresponding with the data key is combined, obtain one or more key-value pairs;Again by obtained one
A or multiple key-value pairs are as the target service data.
In the present embodiment, after obtaining above-mentioned target service data, business datum can also be formatted,
Obtain satisfactory target service data.
Data acquisition management system is when it is implemented, the data processing stream to target data can be completed in the manner described above
Journey, to obtain the business datum of user or the machine acquisition of being acquired.
It, can be with due to by data acquisition flow and flow chart of data processing separation it should be noted that in the present embodiment
To the management that data acquisition flow and flow chart of data processing are refined respectively, to help to improve efficiency of the practice, reduce
Consumption to resource.Further, since realizing above-mentioned process respectively by different systems, the accuracy of realization is helped to improve.
In the present embodiment, after acquiring target service data, the method can also include the following contents: root
The business processing of operation system is monitored according to the target service data.For example, can to above-mentioned target service data into
Row parsing, obtains the procedure information of characterization business procession;And then business processing mistake can be judged according to above-mentioned procedure information
Whether journey is normal;If there is exception, then inspection adjustment is carried out to operation system.Certainly, above-mentioned cited utilization business number
It is monitored according to the business processing to operation system and is intended merely to be better described this specification embodiment.When it is implemented,
According to specific application scenarios and implement to require, other applications or data processing can also be carried out according to target service data.
For example, it is also possible to carry out business diagnosis etc. according to target service data.In this regard, this specification is not construed as limiting.
Therefore the acquisition method of the business datum of this specification embodiment offer, due to being flowed by acquiring data
Journey and flow chart of data processing separation, i.e., required for targetedly being acquired using operation system according to preset configuration information
Target data recycles data acquisition management system to be carried out according to corresponding preset configuration information to target data collected
Recovery processing, obtains target service data, to improve the collecting efficiency and accuracy of service data acquisition.
In one embodiment, before obtaining target data, the method is when it is implemented, can also include in following
Hold:
S1: the setting received for target data operates;
S2: operating according to the setting, generates the preset configuration information;
S3: Xiang Suoshu operation system sends the preset configuration information.
In the present embodiment, when it is implemented, data acquisition management system can be to provide one for target to be arranged
The set interface of data.User or machine can be by being configured the specified mesh for needing to acquire of operation in above-mentioned set interface
Mark data.Certainly, the business datum for needing to acquire can also be arranged in user or machine directly in above-mentioned set interface, and data are adopted
Collection management system can determine the corresponding target data for needing to acquire according to the business datum of user or machine set.
In the present embodiment, when it is implemented, the available setting of data acquisition management system operates, and according to above-mentioned
Operation is set and determines pointed target data, and then preset configuration information corresponding with target data can be generated, and
Above-mentioned preset configuration information is sent to operation system, so that operation system there can be needle according to above-mentioned preset configuration information
Target data acquisition to property is carried out, data collection capacity is reduced, improves collecting efficiency.
In one embodiment, the preset configuration information can specifically include based on object figure navigation language
(ognl) execution sentence.That is, the language format of above-mentioned preset configuration information specifically can be object figure navigation language lattice
The configuration information of formula.Such as " example, eg1, key1 ".By using the above-mentioned execution language based on object figure navigation language
Sentence is used as preset configuration information, can accurately indicate the target data that needs acquire.In addition, in above-mentioned execution sentence also
Carry business information relevant to target data.For example, executing " example ", " eg1 " in sentence, target can be characterized
The business meaning of data and corresponding Property Name.Certainly, it should be noted that above-mentioned cited object graphics wizard language
The execution sentence of speech is intended merely to that this specification embodiment is better described.It, can also be with when it is implemented, as the case may be
Use the execution sentence of extended formatting as above-mentioned preset configuration information.In this regard, this specification is not construed as limiting.
In one embodiment, above-mentioned basis preset configuration information corresponding with the target data, to the mesh
Mark data carry out recovery processing, when it is implemented, may include: according to corresponding with the target data preset with confidence
Breath carries out data convert to the target data, obtains business datum corresponding with the target data, wherein the business
Data include at least target data and business information relevant to target data.
In the present embodiment, it is contemplated that in order to improve collecting efficiency in data acquisition flow, reduce data acquisition pair
The consumption of resource, therefore operation system only acquires the less target data of data volume when acquiring data, includes without acquiring
There is the inclusive segment of target data whole.But target data collected is since data volume is less, in addition to target data is characterized
Key message outside, also lack other business information relevant to target data.For example, the corresponding Property Name of target data,
The information data of the features such as classification, source or business meaning.Therefore, it directly acquires to obtain target data being not complete industry
Business data, cannot directly read use by user or machine.
In the present embodiment, user or machine can be read using complete business datum, i.e. target industry in order to obtain
Business data, data acquisition management system can determine preset configuration information corresponding with target data according to target data,
It is extracted from the preset configuration information and obtains business information relevant to target data;It again will be above-mentioned related to target data
Business information be combined according to certain rule with target data, reduction of the completion to target data obtains and target data
Corresponding business datum.
In one embodiment, tactic data key can be specifically carried in the preset configuration information,
The data key is used to indicate the target data for needing to acquire;Carried in the target data that the operation system returns with it is described
The corresponding data of data key.
In the present embodiment, the data key of said sequence arrangement can be understood as a kind of industry relevant to target data
Business information.Wherein, above-mentioned data key specifically can be understood as the data of the attributive character for describing target data collected,
For example, the title etc. of target data.Therefore, operation system can remove acquisition data key according to data key in preset configuration information
Corresponding data, obtain target data.In addition, also including different data collected in the data key of said sequence arrangement
Built-up sequence, therefore, according to data acquisition management system can the sequence according to entrained by above-mentioned preset configuration information row
The data key of column is combined target data collected, so that reduction obtains corresponding target service data.
In one embodiment, in the case where carrying tactic data key in the preset configuration information,
The target data received is handled, target service data are obtained, when it is implemented, may include the following contents: according to
The tactic data key carried in the preset configuration information extracts carrying in the target data of return with the number
According to the corresponding data of key;The data key and data corresponding with the data key are combined, one or more keys are obtained
Value pair;Using obtained one or more key-value pairs as the target service data.
It in the present embodiment, further can also be to target after the target service data obtained by data convert
Business datum formats, and target service data are converted to the business datum of preset format, i.e., satisfactory target
Business datum, so that user or machine can preferably read use.
In one embodiment, the target service data are formatted, when it is implemented, may include:
The target service data are converted to the business datum of json format.Certainly, it should be noted that above-mentioned cited json
The business datum of format is that one kind schematically illustrates.When it is implemented, extended formatting can also be used as the case may be
Business datum.In this regard, this specification is not construed as limiting.
In one embodiment, above-mentioned basis preset configuration information corresponding with the target data, to the mesh
It marks data and carries out data convert, after obtaining business datum corresponding with the target data, when it is implemented, the method may be used also
To include: the number for counting the target data;Determine the target data number be greater than 1 in the case where, according to
The corresponding target service data of multiple number of targets are combined by the relevant business information of target data again according to type of service,
Business datum after being combined.
In the present embodiment, the acquisition method of above-mentioned business datum also can be suitably used for adopting multiple and different target datas
Collection.In the case where target data collected includes multiple target datas, i.e., the number of target data be greater than 1 the case where,
After obtaining target service data corresponding with multiple target datas by data convert;It can be first according to relevant to target data
Business information, according to certain rule of combination, the corresponding target service data of above-mentioned multiple target datas are combined (can also
Referred to as it polymerize), the target service data after being combined.Correspondingly, it is subsequent can again by the target service data after combination into
Row format conversion, obtains satisfactory target service data.
For example, as shown in fig.4, the target data collected includes that two target datas are respectively as follows: key1, key3 couple
Data value value1, the value3 answered.By data convert, the corresponding business datum difference of above-mentioned two target data is obtained
For following data: " example:eg1:{ key1:value1 } " and " example:eg3:{ key3:value3 } ".Further, it examines
That consider above-mentioned two target data instruction is the same business " example ", therefore can be according to certain rule of combination, will
Above-mentioned two target data is combined, the business datum after obtaining a richer combination of information, such as is specifically as follows
“example:{eg1:{key1:value1},eg3:{key3:value3}}”。
In one embodiment, after sending the preset configuration information to the operation system, the method tool
It can also include the following contents when body is implemented: receive the change operation for being directed to the preset configuration information;According to the change
Operation generates the change data for being directed to the preset configuration information;The change data are sent to the operation system.
In the present embodiment, above-mentioned change operation, which can specifically include, acquires the needs in preset configuration information
Target data modification operation, increase or decrease the target data that the needs in preset configuration information acquire operation, to pre-
If configuration information in business information relevant to target data modification operation, increase or decrease in preset configuration information
Business information relevant to target data operation etc..Certainly, it should be noted that above-mentioned cited change operation is
One kind schematically illustrates.The improper restriction to this specification should not be constituted.
In the present embodiment, data acquisition management system can also acquire user or machine needle to preset configuration information
Change operation.And the corresponding change data for preset configuration information are generated according to change operation.And then it can be to industry
Business system sends above-mentioned change data, received before being changed according to above-mentioned change data so as to operation system preset to match
Confidence breath, and then target data can be resurveyed according to the preset configuration information after change.
Therefore the acquisition method of the business datum of this specification embodiment offer, due to being flowed by acquiring data
Journey and flow chart of data processing separation, i.e., required for targetedly being acquired using operation system according to preset configuration information
Target data recycles data acquisition management system to be carried out according to corresponding preset configuration information to target data collected
Recovery processing, obtains target service data, to improve the collecting efficiency and accuracy of service data acquisition;Also pass through utilization
The target data conduct for needing to acquire required for being arranged based on the preset configuration information that object figure navigation language generates
Preset configuration information avoids the acquisition to other unwanted data, reduces data collection capacity, improves the essence of acquisition
Degree reduces consumption of the data acquisition to resource.
Refering to shown in fig. 5, this specification embodiment provides a kind of acquisition method of business datum, wherein this method
It is applied particularly to operation system side.When it is implemented, this method may include the following contents:
S51: obtain preset configuration information, wherein the preset configuration information from data acquisition management system,
The preset configuration information is used to indicate the target data for needing to acquire;
S53: the target data according to the preset configuration information, in capturing service treatment process;
S55: the target data is sent to the data acquisition management system, the data acquisition management system is used for
Recovery processing is carried out to the target data, obtains target service data.
In the present embodiment, above-mentioned operation system can be specifically deployed on server, and with data capture management system
System coupling.The preset configuration information that the available data acquisition management system of operation system is sent, and according to preset configuration
Target data in information capturing service treatment process, data acquisition process.
In the present embodiment, operation system, can be to preset configuration information after obtaining preset configuration information
It is parsed, determines the target data for needing to acquire;It, can be only to target data and then in specific data acquisition
It is targetedly acquired, and does not have to integrally be acquired inclusive segment as existing method, so as to effectively by ground
Data collection capacity realizes fine-grained precise acquisition.
In the present embodiment, when it is implemented, operation system can the sequence according to entrained by preset configuration information
The data key of arrangement acquires data corresponding with data key, obtains the target data.
In the present embodiment, it is also necessary to explanation, in order to improve treatment effeciency, at data acquisition flow and data
Manage process separation.Therefore, after having collected target data, itself is not handled target data specifically operation system,
But target data is sent to data acquisition management system.By data acquisition management system according to corresponding with target data pre-
If configuration information recovery processing is carried out to target data, converted by data convert and format, obtain target service data.
In one embodiment, after obtaining preset configuration information, the method is when it is implemented, can also include
The following contents: the change data for being directed to the preset configuration information are obtained;According to the change data, change described preset
Configuration information, the configuration information after being changed.
In the present embodiment, above-mentioned change data specifically can be by data acquisition management system according to user or machine
It is generated that operation is changed for preset configuration information.
In the present embodiment, when it is implemented, operation system can match confidence to preset according to above-mentioned change data
The target data that needs in breath acquire, which changes, (such as increases, reduces or modifies number of targets in preset configuration information
According to);And/or the business information relevant to target data in preset configuration information is changed (such as increase, reduce
Or business information relevant to target data in the preset configuration information of modification), to complete the change to preset configuration information
More, the configuration information after being changed.And then user or machine can be responded according to the preset configuration information after change in time
The change operation of device carries out corresponding target data acquisition.
Therefore the acquisition method of the business datum of this specification embodiment offer, due to being flowed by acquiring data
Journey and flow chart of data processing separation, i.e., required for targetedly being acquired using operation system according to preset configuration information
Target data recycles data acquisition management system to be carried out according to corresponding preset configuration information to target data collected
Recovery processing, obtains target service data, to improve the collecting efficiency and accuracy of service data acquisition.
As shown in fig.6, this specification embodiment provides a kind of acquisition method of business datum, wherein this method tool
Body is applied to the system architecture entirety for including operation system and data acquisition management system.When it is implemented, this method can be with
Including the following contents:
S61: data acquisition management system sends preset configuration information to operation system, wherein the preset configuration
Information is used to indicate the target data for needing to acquire;
S63: operation system is according to the preset configuration information, target data in capturing service treatment process, and will
The target data is sent to the data acquisition management system;
S65: the data acquisition management system is according to preset configuration information corresponding with the target data, to described
Target data carries out recovery processing, obtains target service data.
In the present embodiment, in order to improve treatment effeciency, data acquisition flow can be separated with flow chart of data processing.
Specifically, carry out the acquisition of target data according to preset configuration information fine granularity by operation system, avoid to need not
The acquisition for wanting data reduces data collection capacity, improves the precision and efficiency of data acquisition.Pass through data acquisition management system
Recovery processing is carried out according to preset configuration information corresponding with target data, from data volume is relatively small, sufficiently complete
Target data is first reduced to corresponding business datum, then is converted by format, is converted to user or machine can read and use
Target service data.
In one embodiment, the data acquisition management system preset is matched according to corresponding with the target data
Confidence breath, carries out recovery processing to the target data, obtains target service data, when it is implemented, may include: the number
According to acquisition management system according to preset configuration information corresponding with the target data, data are carried out also to the target data
Original obtains target service data corresponding with the target data.
In the present embodiment, the data acquisition management system is according to preset configuration corresponding with the target data
Information carries out data convert to the target data, obtains target service data corresponding with the target data, is embodied
When, may include: the data acquisition management system can be determined according to target data it is corresponding with target data preset
Configuration information, and then can be extracted from the preset configuration information and obtain business information relevant to target data;Again will
Above-mentioned business information relevant to target data is combined according to certain rule with target data, and target data is gone back in completion
Original obtains business datum corresponding with target data.
In one embodiment, described in the case where preset configuration information carries tactic data key
Data acquisition management system is according to preset configuration information corresponding with the target data, at the target data
Reason, obtains target service data, when it is implemented, may include: the data acquisition management system according to the number of targets
According to tactic data key entrained by corresponding preset configuration information, extract carried in the target data with it is described
The corresponding data of data key;The data key and data corresponding with the data key are combined, one or more is obtained
Key-value pair;Using obtained one or more key-value pairs as the target service data.
In the present embodiment, the data acquisition management system can also format the business datum,
Satisfactory target service data are obtained, when it is implemented, may include: that the data acquisition management system can will be described
Business datum is converted to the business datum of json format.Certainly, it should be noted that the business of above-mentioned cited json format
Data are that one kind schematically illustrates.When it is implemented, the business datum of extended formatting can also be used as the case may be.It is right
This, this specification is not construed as limiting.
Therefore the acquisition method of the business datum of this specification embodiment offer, due to being flowed by acquiring data
Journey and flow chart of data processing separation, specifically, using operation system come according to preset configuration information targetedly to required
The target data wanted carries out fine-grained precise acquisition, to reduce data collection capacity, improves data acquisition efficiency;Pass through data again
Acquisition management system carries out recovery processing to target data collected according to preset configuration information corresponding with target data,
Target service data are obtained, the reading requirement of user or machine is met, to improve the acquisition effect of service data acquisition
Rate and accuracy.
This specification embodiment also provides a kind of server, including processor and is used for storage processor executable instruction
Memory, the processor be embodied when can be according to instruction execution following steps: receive operation system return basis
The target data that preset configuration information collects, the preset configuration information are used to indicate the number of targets for needing to acquire
According to;According to the preset configuration information, the target data received is handled, obtains target service data.
In order to more accurately complete above-metioned instruction, as shown in fig.7, this specification additionally provides another kind specifically
Server, wherein the server includes network communications port 701, processor 702 and memory 703, and above structure is logical
It crosses Internal cable to be connected, so that each structure can carry out specific data interaction.
Wherein, the network communications port 701, specifically can be used for receiving operation system return according to preset configuration
The target data that information collection obtains, the preset configuration information are used to indicate the target data for needing to acquire.
The processor 702, specifically can be used for according to the preset configuration information, to the target data received into
Row processing, obtains target service data.
The memory 703 specifically can be used for storing the target data inputted through network communications port 701, Yi Jicun
Store up the corresponding instruction repertorie of processor 702.
In the present embodiment, the network communications port 701 can be is bound from different communication protocol, thus
The virtual port of different data can be sent or received.Lead to for example, the network communications port can be responsible for progress web data
No. 80 ports of letter are also possible to No. 21 ports for being responsible for carrying out FTP data communication, can also be that responsible progress mail data is logical
No. 25 ports of letter.In addition, the network communications port can also be the communication interface or communication chip of entity.For example, its
It can be mobile radio network communication chip, such as GSM, CDMA;It can also be Wifi chip;It can also be bluetooth core
Piece.
In the present embodiment, the processor 702 can be implemented in any suitable manner.For example, processor can be with
Take such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as
Software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.This specification is simultaneously
It is not construed as limiting.
In the present embodiment, the memory 703 may include many levels, in digital display circuit, as long as can save
Binary data can be memory;In integrated circuits, the circuit with store function of a not no physical form
Also memory, such as RAM, FIFO are;In systems, the storage equipment with physical form is also memory, such as memory bar, TF
Card etc..
This specification embodiment additionally provides a kind of computer storage medium of acquisition method based on above-mentioned business datum,
The computer storage medium is stored with computer program instructions, is performed realization in the computer program instructions: receiving
The target data collected according to preset configuration information that operation system returns, the preset configuration information are used to indicate
The target data for needing to acquire;According to the preset configuration information, the target data received is handled, target is obtained
Business datum.
In the present embodiment, above-mentioned storage medium includes but is not limited to random access memory (Random Access
Memory, RAM), read-only memory (Read-Only Memory, ROM), caching (Cache), hard disk (Hard DiskDrive,
) or storage card (Memory Card) HDD.The memory can be used for storing computer program instructions.Network communication unit
It can be according to standard setting as defined in communication protocol, for carrying out the interface of network connection communication.
In the present embodiment, the function and effect of the program instruction specific implementation of computer storage medium storage, can
To compare explanation with other embodiment, details are not described herein.
As shown in fig.8, this specification embodiment additionally provides a kind of acquisition dress of business datum on software view
It sets, which can specifically include construction module below:
Module 801 is obtained, specifically can be used for receiving collecting according to preset configuration information for operation system return
Target data, the preset configuration information, which is used to indicate, needs the target data that acquires;
Processing module 802 specifically can be used for carrying out the target data received according to the preset configuration information
Processing, obtains target service data.
In one embodiment, described device specifically can also include generation module, wherein above-mentioned generation module is specific
It can be used for receiving the setting operation for target data;It is operated according to the setting, generates the preset configuration information;And
The preset configuration information is sent to the operation system.
In one embodiment, the preset configuration information can specifically include based on object figure navigation language
Execute sentence etc..Certainly, it should be noted that above-mentioned cited preset configuration information is intended merely to that this theory is better described
Bright book embodiment.When it is implemented, as the case may be with application scenarios can also use extended formatting sentence or other
The data of type are as above-mentioned preset configuration information.In this regard, this specification is not construed as limiting.
In one embodiment, tactic data can also specifically be carried in the preset configuration information
Key, the data key are used to indicate the target data for needing to acquire;Carried in the target data that the operation system returns with
The corresponding data of the data key.
In one embodiment, the processing module 802 can specifically include following structural unit:
Extraction unit specifically can be used for according to the tactic data key carried in the preset configuration information,
Extract the data corresponding with the data key carried in the target data returned;
Assembled unit specifically can be used for being combined the data key and data corresponding with the data key, obtain
To one or more key-value pairs;And using obtained one or more key-value pairs as the target service data.
In one embodiment, the processing module 802 can also include specifically converting unit, for the target
Business datum formats, and the target service data are converted to the business datum of json format.
In one embodiment, described device specifically can also include change module, wherein above-mentioned change module is specific
It can be used for receiving the change operation for being directed to the preset configuration information;According to the change operation, generate for described pre-
If configuration information change data;And the change data are sent to the operation system.
It should be noted that unit, device or module etc. that above-described embodiment illustrates, specifically can by computer chip or
Entity is realized, or is realized by the product with certain function.For convenience of description, it describes to divide when apparatus above with function
It is described respectively for various modules.It certainly, can be the function of each module in same or multiple softwares when implementing this specification
And/or realized in hardware, the module for realizing same function can also be realized by the combination of multiple submodule or subelement etc..With
Upper described Installation practice is only schematical, for example, the division of the unit, only a kind of logic function is drawn
Point, there may be another division manner in actual implementation, such as multiple units or components may be combined or can be integrated into separately
One system, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling or straight
Connecing coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of device or unit can be electrical property,
Mechanical or other forms.
Therefore the acquisition device of the business datum of this specification embodiment offer, due to being flowed by acquiring data
Journey and flow chart of data processing separation, and then can be had by operation system according to preset configuration information by obtaining module and obtaining
The target data pointedly collected, then utilize data acquisition management system according to corresponding preset by processing module
Configuration information carries out recovery processing to target data collected, obtains target service data, adopts to improve business datum
The collecting efficiency and accuracy of collection.
Although being based on routine or nothing present description provides the method operating procedure as described in embodiment or flow chart
Creative means may include more or less operating procedure.The step of enumerating in embodiment sequence is only numerous steps
One of rapid execution sequence mode does not represent and unique executes sequence.When device or client production in practice executes,
Can be executed according to embodiment or the execution of method shown in the drawings sequence or parallel (such as parallel processor or multithreading
The environment of processing, even distributed data processing environment).The terms "include", "comprise" or its any other variant are intended to
Cover non-exclusive inclusion, so that the process, method, product or the equipment that include a series of elements not only include those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, product or setting
Standby intrinsic element.In the absence of more restrictions, being not precluded is including process, method, the product of the element
Or there is also other identical or equivalent elements in equipment.The first, the second equal words are used to indicate names, and are not offered as appointing
What specific sequence.
It is also known in the art that other than realizing controller in a manner of pure computer readable program code, it is complete
Entirely can by by method and step carry out programming in logic come so that controller with logic gate, switch, specific integrated circuit, programmable
Logic controller realizes identical function with the form for being embedded in microcontroller etc..Therefore this controller is considered one kind
Hardware component, and the structure that the device for realizing various functions that its inside includes can also be considered as in hardware component.Or
Person even, can will be considered as realizing the device of various functions either the software module of implementation method can be hardware again
Structure in component.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Generally, program module include routines performing specific tasks or implementing specific abstract data types, programs, objects,
Component, data structure, class etc..This specification can also be practiced in a distributed computing environment, in these distributed computing rings
In border, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program mould
Block can be located in the local and remote computer storage media including storage equipment.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
It can realize by means of software and necessary general hardware platform.Based on this understanding, the technical solution of this specification
Substantially the part that contributes to existing technology can be embodied in the form of software products in other words, the computer software
Product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer
Equipment (can be personal computer, mobile terminal, server or the network equipment etc.) execute each embodiment of this specification or
Method described in certain parts of person's embodiment.
Each embodiment in this specification is described in a progressive manner, the same or similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.This specification can be used for
In numerous general or special purpose computing system environments or configuration.Such as: personal computer, server computer, handheld device
Or portable device, laptop device, multicomputer system, microprocessor-based system, set top box, programmable electronics set
Standby, network PC, minicomputer, mainframe computer, distributed computing environment including any of the above system or equipment etc..
Although depicting this specification by embodiment, it will be appreciated by the skilled addressee that there are many become for this specification
Shape and the spirit changed without departing from this specification, it is desirable to which the attached claims include these deformations and change without departing from this
The spirit of specification.