CN102629929B - Method and system and device for obtaining data - Google Patents

Method and system and device for obtaining data Download PDF

Info

Publication number
CN102629929B
CN102629929B CN201210114594.XA CN201210114594A CN102629929B CN 102629929 B CN102629929 B CN 102629929B CN 201210114594 A CN201210114594 A CN 201210114594A CN 102629929 B CN102629929 B CN 102629929B
Authority
CN
China
Prior art keywords
data
data source
parameter
management server
client
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.)
Active
Application number
CN201210114594.XA
Other languages
Chinese (zh)
Other versions
CN102629929A (en
Inventor
陈慧兵
陈悦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210114594.XA priority Critical patent/CN102629929B/en
Publication of CN102629929A publication Critical patent/CN102629929A/en
Application granted granted Critical
Publication of CN102629929B publication Critical patent/CN102629929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides a method for obtaining data. The method comprises the following steps of: receiving updated data transmitted by a data server, wherein the updated data is obtained by the data server from a data source; transmitting a notification of updating data to a client, wherein the notification carries an identification of the data source; receiving a request of obtaining data transmitted by the client, wherein the request carries a user account and the identification of the data source selected by the user; inquiring binding parameters of the data source selected by the user according to the user account and the identification of the data source selected by the user, and filtering out the data updated by the data source selected by the user from the updated data by using the binding parameters; and transmitting the filtered-out data to the client. Simultaneously, the embodiment of the invention provides a corresponding system for obtaining data and a management server. According to the technical scheme provided by the embodiment of the invention, the user account can be used for obtaining the data supplied by the multiple data sources in a unified manner.

Description

A kind of method, system and device obtaining data
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method, system and device obtaining data.
Background technology
Along with the development of science and technology, various data source is relied on more and more to obtain the information closely bound up with self and data in daily life, and these data sources belong to data mapping mostly, namely a kind of data can only be inquired in each data source.Such as in Traffic Administration Bureau's inquiry break in traffic rules and regulations information, in social security office inquiry social security medical insurance information, in Utilities Electric Co.'s inquiry electricity charge information etc.Each data source has oneself independently account and password, and people want to obtain data, need to input account and password in the data source of correspondence, and input inquiry condition, corresponding result could be obtained.
Make the shortcoming of obtaining information in this way clearly: the active inquiry depending on user, the poor real of information; Search efficiency is low, and user wants to obtain certain data, must log in corresponding data source input inquiry condition and inquire about; Need account and the password of keeping multiple data source firmly in mind, be easy to occur that note is mixed or forgets the situation of certain data source login account and password, above shortcoming all can bring inconvenience to the life of user.
In order to solve the problem, some data source is proposed data subscription service, allows user to subscribe to related data thereon.Subscribe to violation information notice as user logs in break in traffic rules and regulations information data source, in time have recorded the break in traffic rules and regulations information of this user in data source, initiatively these violation information can be sent to user.
For the data source providing subscription service, use said method can solve the problem of acquisition of information poor real to a certain extent, but possessing following shortcoming: user needs to log in each data source respectively, independently carry out the setting of information subscribing, cause the low of information acquisition efficiency thus; The subscription service disunity that each data source provides, causes user to receive the mode also disunity of data thus, causes inconvenience to user.
In addition, and the data source of not all both provides data subscription service, for these data sources, user still needs to log in respectively, obtain data respectively, above-mentioned data acquisition poor real, efficiency are low, and login account and password easily remember that mixed problem is not all resolved.
Summary of the invention
For solving data acquisition inefficiency, and the problem of the data that multiple data source provides cannot be obtained by unified mode, the embodiment of the present invention provides a kind of method obtaining data, comprise: the data receiving the renewal that data server sends, the data of described renewal are obtained from data source by described data server; Send the notice of Data Update to client, in described notice, carry the mark of described data source; Receive the request of the acquisition data that described client sends, in described request, carry the mark of the data source of user account and user's selection; The binding parameter of the data source that user selects described in the identified query of the data source selected according to described user account and described user, the data that use described binding parameter to filter out in the data of described renewal data source that described user selects upgrades; The data filtered out described in sending to described client.
One embodiment of the invention also provides a kind of management server, comprising: receiving element, and for receiving the data of the renewal that data server sends, the data of described renewal are obtained from data source by described data server; Transmitting element, for sending the notice of Data Update to client, carries the mark of described data source in described notice; Described receiving element, also for receiving the request of the acquisition data that described client sends, carries the mark of the data source of user account and user's selection in described request; Query unit, for the binding parameter of the data source that user described in the identified query of data source selected according to described user account and described user selects, the data that use described binding parameter to filter out in the data of described renewal data source that described user selects upgrades; Described transmitting element, the data also for filtering out described in sending to described client.
One embodiment of the invention also provides a kind of system obtaining data, comprising: management server, client and data server; Described data server, for obtaining the data upgraded from data source, and sends the data of described renewal to described management server; Described management server, for receiving the data of the renewal that described data server sends, sending the notice of Data Update, carrying the mark of described data source in described notice to described client; Described client, for receiving the notice of described Data Update, and sends the request obtaining data to described management server, carry the mark of the data source of user account and user's selection in described request; Described management server, data source identification also for selecting according to described user account and described user inquires about the binding parameter of the data source that described user selects, use described binding parameter in the data of described renewal, filter out the data of the data source renewal that described user selects, and the data filtered out described in sending to described client; Described client, also for receiving the data filtered out described in the transmission of described management server.
As can be seen from the technique scheme that the embodiment of the present invention provides, first the embodiment of the present invention carries out unified configuration to data source, then the subscription of user is accepted, have the data of renewal in data source after, namely the data of renewal are obtained, and send notice to user, finally send the data of renewal to user according to the demand of user.User can be made to log in client by a unified user account, subscribe to the data source through configuration, and use this user account to obtain the data of multiple subscription data source renewal, no longer need to log in separately each data source and obtain data, thus substantially increase the efficiency obtaining data.
Accompanying drawing explanation
Figure 1 shows that a kind of method schematic diagram obtaining data that the embodiment of the present invention provides;
Figure 2 shows that the exemplary plot of the data source configuration that the embodiment of the present invention provides;
Figure 3 shows that user that the embodiment of the present invention the provides signaling process figure by client subscription data source;
Figure 4 shows that the signaling process figure sending data to client that the embodiment of the present invention provides;
Figure 5 shows that a kind of system schematic obtaining data that the embodiment of the present invention provides;
Figure 6 shows that the structural representation of a kind of management server that the embodiment of the present invention provides;
Figure 7 shows that the structural representation of the another kind of management server that the embodiment of the present invention provides.
Embodiment
Understand for the ease of persons skilled in the art and realize the present invention, now describing embodiments of the invention by reference to the accompanying drawings.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of scheme: bind multiple data source by a user account, the unified data obtaining multi-data source and provide.Following embodiment describes the entire flow realizing this programme in detail.
The attached a kind of method schematic diagram obtaining data that Figure 1 shows that one embodiment of the invention provides.Below in conjunction with this figure in detail, each step of the method for these acquisition data is described in detail:
Step 101, management server receive the data of the renewal that data server sends, and these data upgraded are obtained from data source by data server;
Wherein, data source for providing the third-party application of data query and acquisition, as the break in traffic rules and regulations information data source that Department of Communications provides, the social security medical insurance data source that social security office provides, the water rate data source etc. that Running-water Company provides.
Data server obtains the data upgraded concrete steps from data source are described in subsequent embodiment.
Step 102, management server send the notice of Data Update to client, carry the mark of the data source of the data of the renewal that data server obtains in the notification;
Wherein, client provides the service of data acquisition for user, the subscription comprising data source with quit the subscription of, reception that Data Update notifies and prompting, the transmission of data acquisition request, the reception of data and display etc.Client can be built in the middle of multiple terminal, includes but not limited to mobile phone, desktop computer, notebook, panel computer etc.
Step 103, management server receive the request of the acquisition data that client sends, and carry the data source identification of user account and user's selection in this request;
Wherein, after client receives the notice of Data Update, prompting user has Data Update, and sends according to the operation of user the request obtaining data to management server.The user account carried in request is the unified account number of binding multiple data source, and user can use the unified data obtaining multiple data source and provide of this account.The data source of binding with user account is all through the data source that user selects to subscribe to, and the detailed process in subscription data source provides in subsequent embodiment.
The binding parameter of the identified query data source of the data source that the user account carried in the request of the acquisition data that step 104, management server send according to client and user select, and the data filtering out in the data using the binding parameter that inquires to send at data server that user obtained by client-requested;
Wherein, in a step 101, data server sends to the data of management server to be the data that multiple data source provides, and needs management server to use binding parameter to filter, could obtain the data of user's acquisition request.Preserve the binding parameter of user account, the data source identification of this account subscription and the data source of subscription in management server accordingly, thus can inquire binding parameter according to user account and data source identification.
Step 105, management server send the data filtered out to client.
Use scheme disclosed in the present embodiment, without the need to relying on the subscription service that data source provides, the data that namely user can use a unified user account to receive multiple data source to provide by client, such user just goes to obtain data without the need to logging in separately each data source, not only substantially increase the efficiency of data acquisition, and only need use a user account, eliminate and keep the loaded down with trivial details of multiple account firmly in mind.
Mention in previous embodiment, the data source of binding with user account is all through the data source that user selects to subscribe to, and before permission user's subscription data source, also needs to carry out unified configuration to data source.And why need to be configured data source, mainly for the consideration of three aspects: first, be supplied to user select subscribe to data source quantity more, need to be numbered to each data source according to certain rule and to describe so that identify, distinguish each data source; Secondly, when data server obtains data from the data source of Data Update, how by the authentication of data source, and which kind of mode to be adopted to obtain data, all need to give clearly by the prior configuration to data source; Finally, need to provide different parameter (such as inquire about break in traffic rules and regulations informational needs provides license plate number, inquiry charges for water and electricity need to provide water card number, electric card number etc.) in different data source query data, and the data source had is for the consideration of fail safe, the identity of specific checking parameter to user also will be used to verify, these parameters all need user to provide when subscription data source, thus to be configured each data source, make user clearly need to provide which parameter by it.
For the foregoing reasons, need to configure following content to data source: essential information, access information and binding parameter.Wherein, essential information is used for identifying, distinguishing each data source; Access information is used for the authentication of data server by data source, and specified data server obtains the mode of data; Binding parameter is used for the data filtered out the data obtained from data server needed for user.The configuration operation of above data source can be completed on the management server by keeper.
Accompanying drawing 2 is the exemplary plot of the data source configuration that one embodiment of the invention provides, and is described in detail respectively below in conjunction with accompanying drawing 2 to above-mentioned three category informations:
Essential information includes the configuration of the mark of data source, DSN and data source provider tripartite surface information, and Fig. 2 shows for the essential information of violation information data source configuration.
Access information comprises following content:
1, access address, as the address of data server access data sources.Particularly, can be URL (Uniform Resource Locator, the URL(uniform resource locator)) information of data source.
2, data acquisition, for data server is from the pattern of data source acquisition data.Particularly, can be Real-time Obtaining pattern, also can be timing acquisition pattern.
Wherein the former data server is monitored data source, the data that this data source of Real-time Obtaining upgrades; Latter represents that data server timing is carried out synchronous with data source, obtains the data that this data source upgrades within the time interval of twice access.When option and installment is timing acquisition pattern, also need the acquisition frequency of configuration data: daily obtain, obtain or monthly obtain by week, data acquisition frequency determines according to the character of data source.As shown in Figure 2, when being configured to timing acquisition pattern, can select in the 23:00 of every day, Monday weekly or monthly No. 1 and data source synchrodata.
3, key, is the secret key that data source and data server both sides arrange, carries out legitimacy verification for data source to data server.
4, access parameter, for data source distributes to access parameter title and the parameter value of data server, for the authentication of data source to data server.
It should be noted is that, be all optional the need of configuration access parameter and the type of configuration and number.Such as, arranging two access parameters as shown in Figure 2, is the username and password that data source distributes to data server respectively, and in addition, it is the ID etc. that data server distributes that access parameter can also be configured to a data source.
5, binding parameter, is the parameter that the data of management server in the data upgraded needed for filter user are used.Particularly, management server, when being configured it, comprises parameter name and the two-part content of parametric description.。
The break in traffic rules and regulations information source provided for Department of Communications shown in Fig. 2, user needs to provide license plate number when inquiring about violation information, and therefore configure the parameter name of binding parameter here for " Carnum ", parametric description is " license plate number ".
In addition, some data source also requires that user provides checking parameter, verifies the legitimacy of binding parameter with this, therefore can also select to increase checking parameter in the configuration of binding parameter.Comprising two-part content equally during configuration checking parameter, is parameter name and parametric description respectively.Such as, break in traffic rules and regulations information source requires that user provides checking parameter, and bind parameter name shown in Fig. 2 and be configured to " Validnum ", parametric description is " after Motor Number 4 ".The number of checking parameter also can be set to more than one according to the specific requirement of data source.
After management server completes the configuration of above-mentioned information and parameter, these configuration informations can be carried out unifying preserving, and generate one can the list of subscription data source, comprise the essential information of this data source in list.Afterwards, according to the request of user, management server the list of subscription data source can be supplied to user and subscribes to.
Use management server unifies configuration to data source, from the angle in user's subscription data source, faced by user be one can the list of subscription data source, without the need to considering the difference of the subscription service provided between each data source, only need select the data source that will subscribe to, and according to prompting input relevant parameter, can greatly convenient user; Obtain the angle of data from data server, different data acquisition can be set according to the concrete condition of each data source, the data that data source upgrades can be obtained more in time, ensure the promptness of data better.
The data source configured can be supplied to user and subscribe to, and below provides the flow process that data source is subscribed to.
Figure 3 shows that user that one embodiment of the invention the provides signaling process figure by client subscription data source, each step that subscription data source is described in detail in detail is as follows:
Step 301, user log in client query can data source available on subscription, and client sends the request in data query source to management server;
Wherein, user needs use account to log in client, and the user account in the binding subscription data source that this login account and previous embodiment are mentioned can be same account.If login account and user account are not same accounts, also need to preserve user account in the client, for subscription and binding data source used.
What step 302-303, management server were preserved data source list available on subscription can send to client;
Management server return in the data source list of client contain each can the essential information of data source available on subscription, comprise the information such as the mark of data source, DSN and data source provider.
Step 304, client show the data source and essential information thereof that can subscribe to user, initiate subscribe request after the user makes a selection to management server, comprise mark and user account that user selects the data source of subscribing in request;
The data source identification that step 305, management server are subscribed to according to user, inquire about the configuration information of this data source, judge whether this data source is configured with checking parameter, if do not configure checking parameter, then only obtain parameter name and the parametric description of this data source binding parameter, if the binding parameter of this data source is also configured with checking parameter simultaneously, then also need the parameter name and the parametric description that obtain this checking parameter.
Whether data source is configured with checking parameter, following flow process has certain difference: when not configuring checking parameter, after management server receives the binding parameter of user's input, preserve by this user account, subscription data source mark and binding parameter correspondence thereof; And when needs checking parameter, management server receive user input binding parameter and checking parameter after, these two parameters to be sent to data server, perform verification operation by data server, the check results that management server feeds back according to data server performs corresponding operation again.Follow-up flow process under both of these case is below described respectively.
Do not configure the situation of checking parameter:
The parameter name of binding parameter and parametric description are returned client by step 306A, management server;
The parameter name of step 307A, client display binding parameter and parametric description, and point out user to input this binding parameter, after user's input, client sends it to management server;
After step 308A, management server receive the binding parameter of client transmission, this user account, subscription data source mark and binding parameter correspondence thereof are preserved;
Step 309A, management server send to client and subscribe to successfully notice.
Be configured with the situation of checking parameter:
Step 306B, management server return bind the parameter name of parameter and the parameter name of parametric description and checking parameter and parametric description to client;
Step 307B, the client display binding parameter name of parameter and the parameter name of parametric description and checking parameter and parametric description, and point out user to input binding parameter and checking parameter, after user's input, client sends it to management server;
Step 308B, management server receive client send binding parameter and checking parameter after, these two parameters are forwarded to data server, by data server use checking parameter to binding parameter verify;
In another embodiment of the present invention, also can be performed by management server the verification operation of binding parameter, management server, when receiving binding parameter and the checking parameter of client transmission, also directly can verifying binding parameter, verifying without the need to re-sending to data server.
Step 309B-310B, data server execution parameter verification operation, and to management server back-checking result;
To judge after step 311B, management server receive check results, if verification is passed through, then corresponding preservation user account, data source identification and binding parameter thereof, and return the successful message of subscription (step 312a) to client; If verification is not passed through, then to notify that client re-enters binding parameter, and be forwarded to data server and carry out verifying (step 312b).
After aforesaid operations, user just can use a unified account, receive the data that multiple data source sends, doing so avoids and adopt multiple account to log in the loaded down with trivial details of multiple data source acquisition data respectively, not only substantially increase the efficiency of data acquisition, but also eliminate user and keep the trouble that multiple account causes firmly in mind.
Below illustrate the configuration of aforementioned binding parameter and checking parameter, and the corresponding preservation relation in user account and subscription data source.
Will need the parameter possessed during corresponding with subscription data source for user account preservation shown in following table:
Field name Type Explanation
User account Character string The unified account number of user, as phone number
Data source identification Character string The unique identification of data source
Binding parameter Key Character string The parameter Key value of user's binding, the Key value during configuration of corresponding data source
Binding parameter Value Character string User is bound to the description of parameter, as social security card number, water card number etc.
Parameter type Integer 0: parameter type is checking parameter; 1: parameter type is binding parameter
Wherein, user account is that user arranges the unified account number receiving each data source transmission data, also can be the account that user logs in client; Data source identification is management server when being configured data source, is the unique identification that each data source is distributed; Binding parameter is inquiry, the essential parameter of data obtaining user's request, for different data sources, binding parameter also can be different, Key value and the Value value (binding parameter name and the parametric description of parameter) of binding parameter can be set when management server is configured data source, to point out user to input binding accordingly, such as, input social security card number, water card number etc.
Generally, only use binding parameter just can get the data needed for user, such as, input the social security data that social security card number just can obtain this user, and input water card number obtains water rate data etc.; But in yet some other cases, data source also requires user's input validation parameter, in order to verify the legitimacy of binding parameter, verify by the rear data that just can provide needed for user.
For latter event, also need to configure the Key value of checking parameter and Value value (i.e. the parameter name of checking parameter and parametric description), input corresponding checking parameter in order to point out user.In order to contain above-mentioned two situations, in upper table, add a parameter type field, in order to distinguish checking parameter and binding parameter: represent checking parameter when parameter value is 0, represent binding parameter when parameter value is 1.
Following table is depicted as user when subscribing to violation information data source, management server preserve user account, subscription data source and binding parameter thereof and checking parameter:
Sequence number User account Data source identification Parameter Key Parameter Value Parameter type
1 13912345678 DataSource01 Carnum Guangdong B12345 1
2 13912345678 DataSource01 Validnum 1234 0
User needs input license plate number inquiry violation data, management server is when being configured, the parameter name (i.e. parameter Key shown in table) arranging binding parameter is " Carnum ", and parametric description (i.e. parameter Value shown in table) is " license plate number "; Notebook data source needs to verify binding parameter simultaneously, and therefore management server is also provided with parameter name for " Validnum ", and parametric description is the checking parameter of " after Motor Number 4 ".
Suppose that user is using its cell-phone number 13912345678 as user account, when binding this data source according to the description of above-mentioned binding parameter and checking parameter, input binding parameter---license plate number: Guangdong B 12345 respectively, checking parameter---after Motor Number 4: 1234.
After user selects the data source of subscription and its user account to bind by management server, user just can, by the unified data obtaining multiple data source and provide of client, provide user to obtain the flow process of data by client below.
Figure 4 shows that the signaling process figure sending data to client that one embodiment of the invention provides.Each step of this flow process is below described in detail in detail:
Step 401, data server log-on data obtain task;
The situation that step 402, data server are subscribed to management server queries data source;
Data server needs from management server, obtain subscribed data source and configuration information thereof, in order to obtain data in access data source after starting the task of obtaining data.
Step 403, management server return subscribed data source list and configuration information thereof to data server;
Step 404, data server obtain data according in the configuration information access data source of data source;
The pattern that data server obtains data both can be Real-time Obtaining, also can be timing acquisition.Real-time Obtaining modal representation data server is monitored data source, the data that this data source of Real-time Obtaining upgrades; Timing acquisition pattern then represents that data server timing is carried out synchronous with data source, obtains the data that this data source upgrades within the time interval of twice access.
Step 405, data source return the data of renewal to data server;
Before address, it is used that access information in data source configuration information obtains data for data server access data source, and the detailed content of configuration access information and separately role are described in detail in the aforementioned embodiment, repeat no more herein.
Below still for break in traffic rules and regulations information source, step 404 and 405 is illustrated.
The access information configuration in violation information source can be shown in Figure 2, wherein data acquisition is " timing acquisition ", and acquisition frequency is " 23:00 every day ", this shows that data server accesses in violation information source at the 23:00 of every day and inquires about the data whether having renewal, namely judge within the time interval of one day, in violation information source, whether have the data of renewal.
Particularly, in step 404, during data server access violation information source, need to carry key information and access parameter simultaneously, for violation information source, authentication is carried out to data server, by rear, just allow it to access, and judge the data whether having renewal within the time of one day.If there are the data upgraded, then in step 405, the data return data server that violation information source will upgrade.
Need that clear and definite some access parameter is not the requisite information of disposition data source, data server carries key and access parameter request access violation information source simultaneously in this instance, all needs to provide access parameter when not representing data server access data source.
Step 401-405 is the flow process that data server obtains data from data source, and in this flow process, data server obtains the data of renewal from subscribed data source.
To be completed by management server the distribution of the data upgraded, the flow process of the data that management server distribution upgrades below is described:
Step 406, data server send the data upgraded to management server;
The data of step 407, management server buffer update, obtain the mark in the data corresponding data source upgraded, and according to the subscription data source mark of preservation and the corresponding relation of user account, obtain booking reader's account;
Step 408, management server are to the notice of the client transmission Data Update of booking reader;
Wherein, management server will carry the mark of the data source of Data Update in the notification.
After step 409, client receive the notice of Data Update, which data source prompting user has Data Update, and initiates to management server the request obtaining new data according to the selection of user;
Wherein, the data source identification of user account and user's selection will be carried in the data acquisition request that client sends.The data source that user selects is part or all in the data source of Data Update.
The data source identification that step 410, management server are selected according to user account and user, searches the binding parameter of the data source that user selects, and uses this binding parameter to filter out data needed for user;
Data due to management server buffer memory are data that multiple data source upgrades, each data source relates to again multiple booking reader, therefore will according to the user account of corresponding preservation before, subscription data source mark and binding parameter, obtain the binding parameter of data source, and use this binding parameter to filter out data needed for user.
Step 411, management server send the data filtered out to client.
Method disclosed in the present embodiment is used to obtain data, the mode of data can be obtained by setting data server flexibly, after the data obtaining data source renewal, not send directly to client, but first sent the notice of Data Update to client by management server, inform which data source of user have updated data, and then filter out corresponding Data Concurrent according to the selection of user and give, user's independence to greatest extent can be given like this, selected to obtain appropriate data on appropriate opportunity by user.
In the present embodiment, obtained the data upgraded by data server access data source, and by the selection filtering data of management server according to user.In another embodiment of the present invention, can perform by management server the operation obtaining data and filtering data simultaneously, thus can simple flow step further, mutual without the need to carrying out between management server and data server.
Correspondingly, the embodiment of the present invention provides a kind of system obtaining data, and in order to implement the method obtaining data disclosed in previous embodiment, as shown in Figure 5, described system comprises data server 501, client 502 and management server 503.
Wherein, data server 501 respectively with management server 503, and the data source of its exterior is connected, and for obtaining the data upgraded from data source, and sends to management server 503 data that data source upgrades;
Management server 503 is connected with data server 501 with client 502 respectively, for receiving the data that data server 501 sends, sending the notice of Data Update, carry the mark of the data source of Data Update in the notice of Data Update to client 502;
Client 502 is connected with management server 503, for the notice of Data Update that receiving management server 503 sends, and sends to it request obtaining data, carry in the request the data source that user account and user select mark;
Management server 503, also for the binding parameter of the data source of the identified query user selection of the data source according to user account and user's selection, and use binding parameter to filter out the data that user selects acquisition in the received data, and send the data filtered out to client 502;
Client 502, also for the data filtered out of receiving management server 503 transmission.
Before data server 501 obtains data from the data source of Data Update, management server 503 is also for parameter name and the parametric description of the access information needed for the essential information of disposition data source, data server 501 access data source and data source binding parameter.After completing the configuration of data source, management server 503 also for generating the data source list that can subscribe to, wherein comprises the essential information of data source.
In another embodiment of the present invention, management server 503, except configuration above-mentioned parameter, also configures parameter name and the parametric description of checking parameter.
After the configuration of management server 503 pairs of data sources completes, client 502, also for sending data source query request to management server 503;
Management server 503, also for receiving the data source query request that client 502 sends, and sends the data source list that can subscribe to client 502;
Client 502, also for according to the data source list that can subscribe to, sends data source subscribe request to management server 503, comprises the mark that user account and user select the data source of subscribing in data source subscribe request;
Management server 503, also for receiving the data source subscribe request that client 502 sends, sends to client 502 parameter name and the parametric description that user selects the binding parameter of the data source of subscribing to;
Client 502, also for sending the binding parameter of user's input to management server 503;
Management server 503, also for receiving the binding parameter that client 502 sends, preserve user account, user select the data source of subscribing to mark and binding parameter.
Be configured with parameter name and the parametric description of checking parameter corresponding to management server 503, in another embodiment of the present invention, management server 503 is also for sending parameter name and the parametric description of checking parameter to client 502;
Client 502, also for sending binding parameter and the checking parameter of user's input to management server 503;
Management server 503, also for receiving binding parameter and the checking parameter of client 502 transmission, and is sent to data server 501 by binding parameter and checking parameter;
Data server 501, also for using checking parameter to verify binding parameter, and to the result of management server 503 feedback check;
Management server 503, also for receiving the result of verification that data server 501 feeds back, after binding parameter is by verification, preserves user account, mark that user selects the data source of subscribing to and binding parameter; If binding parameter is not by verification, also for notifying that client 502 resends binding parameter.
In another embodiment of the present invention, the function of data server 501 can be integrated in management server 503, can only include management server and client in the system obtaining data.
Accordingly, the embodiment of the present invention provides a kind of management server, in order to implement the method obtaining data disclosed in previous embodiment.
Be the structural representation of the management server that one embodiment of the invention provides shown in Fig. 6, as shown in the figure, management server comprises: receiving element 30, transmitting element 40, and query unit 50.
Receiving element 30, for receiving the data of the renewal that data server sends, the data of described renewal are obtained from data source by data server;
Transmitting element 40, for sending the notice of Data Update to client, carries the mark of the data source of Data Update in notice;
Receiving element 30, also for receiving the request of the acquisition data that client sends, carries the mark of the data source of user account and user's selection in request;
Query unit 50, the binding parameter of the data source that the identified query user for the data source selected according to user account and user selects, and the data that the data source using binding parameter to filter out user's selection in the received data upgrades;
Transmitting element 30, also for sending the data filtered out to client.
As shown in Figure 7, the management server that the embodiment of the present invention provides also comprises dispensing unit 10 and subscriber units 20.
Wherein, dispensing unit 10, for being configured data source, and generating the data source list that can subscribe to, wherein comprising the essential information of the data source configured;
Subscriber units 20, for after dispensing unit 10 pairs of data sources are configured, accepts user to the subscription of data source through configuration, and preserve user account, the mark of data source that user subscribes to and binding parameter.
Those skilled in the art can recognize, in conjunction with the various method steps described in embodiment disclosed herein and unit, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe step and the composition of each embodiment in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can make differently to realize described function to each specific application, but this realization should not thought and exceeds scope of the present invention.
The method step described in conjunction with embodiment disclosed herein can be implemented with the software program of hardware, processor execution or the combination of the two.Software program can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field, described software or program, comprise the steps: (claim to a method).
Although illustrate and describe some embodiments of the present invention, it should be appreciated by those skilled in the art that without departing from the principles and spirit of the present invention, can carry out various amendment to these embodiments, such amendment should fall into scope of the present invention.

Claims (18)

1. obtain a method for data, it is characterized in that, described method comprises:
Management server receives the data of the renewal that data server sends, and the data of described renewal are obtained from data source by described data server;
Described management server sends the notice of Data Update to client, and carry the mark of described data source in described notice, described client is connected with described management server;
Described management server receives the request of the acquisition data that described client sends, and carry the mark of the data source of user account and user's selection in described request, described user account is the unified account number of binding multiple data source;
The binding parameter of the data source that user selects described in the identified query of the data source that described management server is selected according to described user account and described user, uses described binding parameter in the data of described renewal, filter out the data of the data source renewal that described user selects;
The data filtered out described in described management server sends to described client.
2. the method for claim 1, is characterized in that, before the data receiving the renewal that described data server sends, also comprises:
Data source is configured;
Accept the subscription of user to the described data source through configuration.
3. method as claimed in claim 2, is characterized in that, is describedly configured data source, comprising:
Configure the essential information of described data source; And
Configure described data server and access access information needed for described data source; And
Configure parameter name and the parametric description of described data source binding parameter;
After the configuration of described data source is completed, generate the data source list that can subscribe to, in described data source list, comprise the essential information of described data source.
4. method as claimed in claim 3, is characterized in that, describedly accepts the subscription of user to the described data source through configuration, comprising:
Receive the data source query request that described user is sent by described client;
The data source list can subscribed to described in sending to described client;
Receive the data source subscribe request that described client sends, in described data source subscribe request, comprise the mark that described user account and described user select the data source of subscribing to;
Parameter name and the parametric description that described user selects the binding parameter of the data source of subscribing to is sent to described client;
Receive the binding parameter of the described user input that described client sends, preserve described user account, binding parameter that described user selects data source identification and the described user input of subscribing to.
5. method as claimed in claim 3, is characterized in that, also comprise: the parameter name and the parametric description that configure the checking parameter of described data source binding parameter.
6. method as claimed in claim 5, is characterized in that, describedly accepts the subscription of user to the described data source through configuration, comprising:
Receive the data source query request that described user is sent by described client;
The data source list can subscribed to described in sending to described client;
Receive the data source subscribe request that described client sends, in described request, comprise the mark that described user account and described user select the data source of subscribing to;
Parameter name and the parametric description that described user selects the binding parameter of the data source of subscribing to is sent to described client;
Parameter name and the parametric description of described checking parameter is sent to described client;
Receive binding parameter and the checking parameter of described user's input that described client sends, the binding parameter described user inputted and checking parameter are sent to described data server;
Receive the check results that described data server sends, after described binding parameter is by verification, preserve described user account, binding parameter that described user selects the mark of data source and the described user input of subscribing to.
7. method as claimed in claim 6, is characterized in that, if described binding parameter is not by verification, then notifies that described client resends binding parameter.
8. the method as described in any one of claim 3-7, is characterized in that, the essential information of described data source comprises: the information of the mark of described data source, the title of described data source and described data source provider;
The access information that described data server accesses needed for described data source comprises: the access address of described data source, data acquisition and key.
9. method as claimed in claim 8, it is characterized in that, the access information that described data server accesses needed for described data source also comprises: access parameter.
10. a management server, is characterized in that, described management server comprises:
Receiving element, for receiving the data of the renewal that data server sends, the data of described renewal are obtained from data source by described data server;
Transmitting element, for sending the notice of Data Update to client, carries the mark of described data source in described notice;
Described receiving element, also for receiving the request of the acquisition data that described client sends, carry the mark of the data source of user account and user's selection in described request, described user account is the unified account number of binding multiple data source;
Query unit, for the binding parameter of the data source that user described in the identified query of data source selected according to described user account and described user selects, the data that use described binding parameter to filter out in the data of described renewal data source that described user selects upgrades;
Described transmitting element, the data also for filtering out described in sending to described client.
11. management servers as claimed in claim 10, it is characterized in that, described management server also comprises:
Dispensing unit, for being configured data source, and generating the data source list that can subscribe to, comprising the essential information of described data source in described data source list.
12. management servers as claimed in claim 11, it is characterized in that, described management server also comprises:
Subscriber units, for after described dispensing unit is configured data source, accepts user to the described subscription of data source through configuration, and preserve described user account, data source identification that described user subscribes to and described binding parameter.
13. 1 kinds of systems obtaining data, it is characterized in that, described system comprises: management server, client and data server;
Described data server, for obtaining the data upgraded from data source, and sends the data of described renewal to described management server;
Described management server, for receiving the data of the renewal that described data server sends, sending the notice of Data Update, carrying the mark of described data source in described notice to described client;
Described client, for receiving the notice of described Data Update, and the request obtaining data is sent to described management server, carry the mark of the data source of user account and user's selection in described request, described user account is the unified account number of binding multiple data source;
Described management server, data source identification also for selecting according to described user account and described user inquires about the binding parameter of the data source that described user selects, use described binding parameter in the data of described renewal, filter out the data of the data source renewal that described user selects, and the data filtered out described in sending to described client;
Described client, also for receiving the data filtered out described in the transmission of described management server.
14. systems obtaining data as claimed in claim 13, is characterized in that,
Described management server, also for configuring the essential information of described data source, described data server accesses parameter name and the parametric description of access information needed for described data source and described data source binding parameter;
After the configuration of described data source is completed, described management server also for, generate the data source list that can subscribe to, in described data source list, comprise the essential information of described data source.
15. systems obtaining data as claimed in claim 14, is characterized in that,
Described client, also for sending data source query request to described management server;
Described management server, also for receiving the data source query request that described client sends, and the data source list can subscribed to described in sending to described client;
Described client, also for according to described data source list of subscribing to, sends data source subscribe request to described management server, comprises the data source identification that described user account and described user select to subscribe in described data source subscribe request;
Described management server, also for receiving the data source subscribe request that described client sends, sends to described client parameter name and the parametric description that described user selects the binding parameter of the data source of subscribing to;
Described client, also for sending the binding parameter of described user input to described management server;
Described management server, also for receive described client send described binding parameter, preserve described user account, described user select subscribe to data source identification and described user input binding parameter.
16. systems obtaining data as claimed in claim 14, is characterized in that,
Described management server, also for configuring parameter name and the parametric description of the checking parameter of described data source binding parameter.
17. systems obtaining data as claimed in claim 16, is characterized in that,
Described client, also for sending data source query request to described management server;
Described management server, also for receiving the data source query request that described client sends, and the data source list can subscribed to described in sending to described client;
Described client, also for according to described data source list of subscribing to, sends data source subscribe request to described management server, comprises the data source identification that described user account and described user select to subscribe in described data source subscribe request;
Described management server, also for receiving the data source subscribe request that described client sends, send to described client parameter name and the parametric description that described user selects the binding parameter of the data source of subscribing to, send parameter name and the parametric description of described checking parameter to described client;
Described client, also for sending binding parameter and the checking parameter of described user input to described management server;
Described management server, also for receiving described binding parameter and the checking parameter of the transmission of described client, and the binding parameter described user inputted and checking parameter are sent to described data server;
Described data server, also for using described checking parameter to verify described binding parameter, and feeds back the result of described verification to described management server;
Described management server, also for receiving the result of verification of described data server feedback, after described binding parameter is by verification, preserves described user account, binding parameter that described user selects data source identification and the described user input of subscribing to.
18. systems as claimed in claim 17, is characterized in that,
Described management server, if also do not pass through verification for described binding parameter, notifies that described client resends binding parameter.
CN201210114594.XA 2012-04-18 2012-04-18 Method and system and device for obtaining data Active CN102629929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210114594.XA CN102629929B (en) 2012-04-18 2012-04-18 Method and system and device for obtaining data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210114594.XA CN102629929B (en) 2012-04-18 2012-04-18 Method and system and device for obtaining data

Publications (2)

Publication Number Publication Date
CN102629929A CN102629929A (en) 2012-08-08
CN102629929B true CN102629929B (en) 2015-07-08

Family

ID=46588088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210114594.XA Active CN102629929B (en) 2012-04-18 2012-04-18 Method and system and device for obtaining data

Country Status (1)

Country Link
CN (1) CN102629929B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580085B (en) * 2013-10-17 2019-12-13 腾讯科技(深圳)有限公司 service data updating method, system, client and server
CN104639585B (en) * 2013-11-13 2019-01-08 腾讯科技(深圳)有限公司 A kind of real-time data transmission system and its method of data synchronization
CN105335170A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Distributed system and incremental data updating method
CN104144223B (en) * 2014-08-21 2018-02-09 北京奇艺世纪科技有限公司 A kind of data capture method and device
CN105677798A (en) * 2015-12-31 2016-06-15 上海万格科学器材有限公司 Custom data acquisition method and device
CN108123866B (en) * 2016-11-30 2019-01-25 北京云中融信网络科技有限公司 Method for message transmission and device
CN108337280B (en) * 2017-01-20 2019-12-20 北京数安鑫云信息技术有限公司 Resource updating method and device
CN107528894A (en) * 2017-08-16 2017-12-29 郑州云海信息技术有限公司 A kind of storage system Real time data acquisition method and platform
CN109729061B (en) * 2018-05-04 2021-09-21 平安科技(深圳)有限公司 Message processing method, device, equipment and readable storage medium
CN108874294B (en) * 2018-05-04 2022-10-04 中国信息安全研究院有限公司 Data acquisition method
CN109067558A (en) * 2018-06-11 2018-12-21 玖富金科控股集团有限责任公司 data service method and system
CN109325066A (en) * 2018-08-02 2019-02-12 平安科技(深圳)有限公司 A kind of database switching method and terminal device
CN109933623A (en) * 2018-09-04 2019-06-25 中国平安人寿保险股份有限公司 By method, equipment and the storage medium of data source access BI tool
CN109656984A (en) * 2018-12-21 2019-04-19 树根互联技术有限公司 Data rule management system, method and apparatus
CN111382729A (en) * 2018-12-27 2020-07-07 北京图森智途科技有限公司 Method for acquiring data from data source, host and automobile
CN112671818A (en) * 2019-10-16 2021-04-16 华为技术有限公司 Data subscription method, device and system
CN111159199B (en) * 2019-12-31 2023-10-24 中国建设银行股份有限公司 Index data acquisition method and device
CN112214475B (en) * 2020-11-04 2023-07-07 成都中科大旗软件股份有限公司 Method, system, storage medium and terminal for configuring multiple data sources
CN113220718B (en) * 2021-05-19 2023-01-20 北京达佳互联信息技术有限公司 Data query method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714920A (en) * 2008-10-07 2010-05-26 英业达股份有限公司 Authority management system centralizing a plurality of service account numbers and method thereof
CN102307227A (en) * 2011-06-23 2012-01-04 湖南中烟工业有限责任公司 Enterprise portal integrating method based on custom client

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714920A (en) * 2008-10-07 2010-05-26 英业达股份有限公司 Authority management system centralizing a plurality of service account numbers and method thereof
CN102307227A (en) * 2011-06-23 2012-01-04 湖南中烟工业有限责任公司 Enterprise portal integrating method based on custom client

Also Published As

Publication number Publication date
CN102629929A (en) 2012-08-08

Similar Documents

Publication Publication Date Title
CN102629929B (en) Method and system and device for obtaining data
EP3429243B1 (en) Remote management method and device
EP2854433B1 (en) Method, system and related device for realizing virtual sim card
CN105812479B (en) Request method and device and acquisition method and device for use permission
CN104717261B (en) A kind of login method and desktop management equipment
CN103959857A (en) Managing mobile device applications in a wireless network
CN100481978C (en) Method for realizing user identifying module service and application for specific group users
CN112188493A (en) Authentication method, system and related equipment
CN107623907B (en) eSIM card network locking method, terminal and network locking authentication server
CN110826043A (en) Digital identity application system and method, identity authentication system and method
CN102215488A (en) Smart phone digital certificate application method and system
CN102238547B (en) User session control method, session server, authentication, authorization and accounting (AAA) server and system
CN112953779A (en) Remote management system and method for automobile software function configuration
EP2827621B1 (en) Application program distribution method, terminal and server
CN109726545B (en) Information display method, equipment, computer readable storage medium and device
CN109669955A (en) A kind of digital asset inquiry system and method based on block chain
CN107819766B (en) Security authentication method, system and computer readable storage medium
CN105991610B (en) Log in the method and device of application server
CN103415847A (en) A system and method for accessing a service
CN109558710B (en) User login method, device, system and storage medium
CN110881039A (en) Cloud security management system
CN103701612B (en) Method for obtaining and issuing identity private key
CN103888415A (en) IMS subscriber nomadism control method and device
CN101827347A (en) Communication method, communication system and access method to service provider base
Scorer Identity directories and databases

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant