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

Method and system and device for obtaining data Download PDF

Info

Publication number
CN102629929A
CN102629929A CN201210114594XA CN201210114594A CN102629929A CN 102629929 A CN102629929 A CN 102629929A CN 201210114594X A CN201210114594X A CN 201210114594XA CN 201210114594 A CN201210114594 A CN 201210114594A CN 102629929 A CN102629929 A CN 102629929A
Authority
CN
China
Prior art keywords
data
data source
user
parameter
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.)
Granted
Application number
CN201210114594XA
Other languages
Chinese (zh)
Other versions
CN102629929B (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

Images

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 that obtain data
Technical field
The present invention relates to communication technical field, be specifically related to a kind of method, system and device that obtain data.
Background technology
Along with development of science and technology; In daily life, relying on various data sources more and more obtains and self closely bound up information and data; And these data sources belong to single data source mostly, promptly can only inquire a kind of data in each data source.For example 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 or the like.Each data source all has oneself independently number of the account and password, and people will seek out data, need on the data source of correspondence, import number of the account and password, and the input inquiry condition, just can obtain corresponding results.
Make obtain information in this way shortcoming clearly: depend on user's active inquiry, the real-time of information is poor; Search efficiency is low, and the user wants to obtain certain data, must login corresponding data source input inquiry condition and inquire about; Need keep the number of the account and the password of a plurality of data sources firmly in mind, be easy to occur remembering the situation of mixing or forgetting certain data source login account and password that above shortcoming all can bring inconvenience to user's life.
In order to address the above problem, some data source has been released the data subscription service, allows the user to subscribe to related data above that.Login the break in traffic rules and regulations information data source like the user and subscribe to the violation information notice, when having write down this user's break in traffic rules and regulations information in the data source, can initiatively these violation information be sent to the user.
For the data source that subscription service is provided; Use said method solution information to a certain extent to obtain the problem of real-time difference; But possess following shortcoming: the user need login 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 also disunity of mode that the user receives data thus, has caused inconvenience to the user.
In addition, be not that all data sources all provide the data subscription service, for these data sources; The user still needs login respectively; Obtain data respectively, above-mentioned data obtain that real-time is poor, efficient is low, and login account and password easily the note problem of mixing all be not resolved.
Summary of the invention
Obtain inefficiency for solving data; And the problem that can't obtain the data that a plurality of data sources provide through uniform way; The embodiment of the invention provides a kind of method of obtaining data; Comprise: receive the data updated that data server sends, said data updated is obtained from data source by said data server; To the notice of client transmission Data Update, carry the sign of said data source in the said notice; Receive the request of obtaining data that said client is sent, carry the sign of the data source of user account and user selection in the described request; The sign of the data source of selecting according to said user account and said user is inquired about the binding parameter of the data source that said user selects, and uses said binding parameter in said data updated, to filter out the data source data updated that said user selects; Send the said data that filter out to said client.
One embodiment of the invention also provides a kind of management server, comprising: receiving element, be used to receive the data updated that data server sends, and said data updated is obtained from data source by said data server; Transmitting element is used for the notice to client transmission Data Update, carries the sign of said data source in the said notice; Said receiving element also is used to receive the request of obtaining data that said client is sent, and carries the sign of the data source of user account and user selection in the described request; Query unit; The sign of the data source that is used for selecting according to said user account and said user is inquired about the binding parameter of the data source that said user selects, and uses said binding parameter in said data updated, to filter out the data source data updated that said user selects; Said transmitting element also is used for sending the said data that filter out to said client.
One embodiment of the invention also provides a kind of system that obtains data, comprising: management server, client and data server; Said data server is used for obtaining data updated from data source, and sends said data updated to said management server; Said management server is used to receive the data updated that said data server sends, and to the notice of said client transmission Data Update, carries the sign of said data source in the said notice; Said client is used to receive the notice of said Data Update, and to the request that data are obtained in said management server transmission, carries the sign of the data source of user account and user selection in the described request; Said management server; Also be used for inquiring about the binding parameter of the data source of said user's selection according to the data source identification of said user account and said user selection; Use said binding parameter in said data updated, to filter out the data source data updated that said user selects, and send the said data that filter out to said client; Said client also is used to receive the said data that filter out that said management server sends.
Can find out from the technique scheme that the embodiment of the invention provides; The embodiment of the invention is at first carried out unified configuration to data source; Accept user's subscription then, in data source, data updated is arranged after, promptly obtain data updated; And send notice to the user, send data updated according to user's demand to the user at last.Can make the user pass through a unified user account logging on client; Subscribe to data source through configuration; And use this user account to obtain a plurality of subscription data source data updated, no longer need to login each data source separately and obtain data, thereby improved the efficient of obtaining data greatly.
Description of drawings
A kind of method sketch map that obtains data that provides for the embodiment of the invention shown in Figure 1;
The exemplary plot that the data source that provides for the embodiment of the invention shown in Figure 2 disposes;
The user who provides for the embodiment of the invention shown in Figure 3 is through the signaling process figure of client subscription data source;
Shown in Figure 4ly send the signaling process figure of data to client for what the embodiment of the invention provided;
A kind of system schematic of obtaining data that provides for the embodiment of the invention shown in Figure 5;
The structural representation of a kind of management server that provides for the embodiment of the invention shown in Figure 6;
The structural representation of the another kind of management server that provides for the embodiment of the invention shown in Figure 7.
Embodiment
Understand and realization the present invention for the ease of persons skilled in the art, combine accompanying drawing to describe embodiments of the invention at present.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of scheme: bind a plurality of data sources through a user account, the data that multi-data source provides are obtained in unification.Below each embodiment the entire flow that realizes this programme is detailed.
Accompanying drawing 1 is depicted as a kind of method sketch map that obtains data that one embodiment of the invention provides.Below in conjunction with this figure, each step of this method of obtaining data is detailed:
Step 101, management server receive the data updated that data server sends, and these data updated are obtained from data source by data server;
Wherein, data source is to provide data query and the third party who obtains to use, like the break in traffic rules and regulations information data source that Department of Communications provides, and the social security medical insurance data source that social security office provides, the water rate data source that Running-water Company provides etc.
Data server obtains data updated from data source concrete steps describe in the subsequent implementation example.
Step 102, management server are sent the notice of Data Update to client, in notice, carry the sign of the data source of the data updated that data server obtains;
Wherein, client is the service that the user provides data to obtain, the subscription that comprises data source with quit the subscription of, the reception of the transmission of the reception of Data Update notice and prompting, data acquisition request, data and demonstration etc.Client can be built in the middle of the multiple terminal, includes but not limited to mobile phone, desktop computer, notebook, panel computer etc.
Step 103, management server receive the request of obtaining data that client is sent, and carry the data source identification that user account and user select in this request;
Wherein, after client was received the notice of Data Update, the prompting user had Data Update, and sent the request of obtaining data to management server according to user's operation.The user account that carries in the request is the unified account number of binding a plurality of data sources, and the user can use this number of the account unification to obtain the data that a plurality of data sources provide.The data source of binding with user account all is to select the data source of subscribing to through the user, and the detailed process in subscription data source provides in the subsequent implementation example.
The binding parameter in the sign data query source of the data source that user account that carries in step 104, the request of obtaining data of management server according to the client transmission and user select, and use the binding parameter that inquires in the data that data server sends, to filter out the data that the user obtains through client-requested;
Wherein, in step 101, the data that data server sends to management server are data that a plurality of data sources provide, and need management server to use the binding parameter to filter, and could obtain the data of user's acquisition request.Preserve the binding parameter of the data source of user account, data source identification that this number of the account is subscribed to and subscription in the management server accordingly, thereby can inquire the binding parameter according to user account and data source identification.
Step 105, management server send the data that filter out to client.
Use the disclosed scheme of present embodiment; Need not to rely on the subscription service that data source provides; The user promptly can use a unified user account to receive the data that a plurality of data sources provide through client, and the user just need not to login separately each data source and goes to obtain data like this, has not only improved the efficient that data are obtained greatly; And only need use a user account, exempted and kept the loaded down with trivial details of a plurality of numbers of the account firmly in mind.
Mention in the previous embodiment, the data source of binding with user account all is to select the data source of subscribing to through the user, and before allowing user's subscription data source, also need carry out unified configuration to data source.And why need data source be configured; Mainly be consideration: at first from three aspects; It is more to offer the data source quantity that the user selects to subscribe to, and need number and describe according to certain rule each data source, so that identification, distinguish each data source; Secondly, when data server obtains data from the data source of Data Update, the authentication through data source how, and to adopt which kind of mode to obtain data, all need be through in advance the configuration of data source being given clearly; At last; At different data source data queries different parameters (for example inquiring about the break in traffic rules and regulations informational needs provides license plate number, inquiry charges for water and electricity that water card number, electric card number or the like need be provided) need be provided; And the data source that has also will use specific checking parameter that user's identity is verified from the consideration of fail safe, and these parameters all need the user when the subscription data source, to provide; Thereby will be configured each data source, make the user clearly need which parameter be provided by it.
For the foregoing reasons, need dispose following content to data source: essential information, access information and binding parameter.Wherein, essential information is used for identification, distinguishes each data source; Access information is used for the authentication of data server through data source, and the specified data server obtains the mode of data; Binding parameter is used for filtering out the required data of user from the data that data server obtains.The configuration operation of above data source can be accomplished on management server by the keeper.
Accompanying drawing 2 is exemplary plot of the data source configuration that provides of one embodiment of the invention, respectively above-mentioned three category informations is described in detail below in conjunction with accompanying drawing 2:
Essential information has comprised the configuration of the tripartite surface information of sign, DSN and data source provider of data source, and it is the essential information of example configuration that Fig. 2 shows with the violation information data source.
Access information comprises following content:
1, access address is as the address of data server access data sources.Particularly, can be URL (Uniform Resource Locator, the URL) information of data source.
2, data acquisition is obtained the pattern of data from data source for data server.Particularly, real-time obtaining mode can be, also the timing obtaining mode can be.
Wherein the former representes that data server monitors data source, obtains this data source data updated in real time; The latter representes that then data server regularly carries out synchronously with data source, obtains this data source data updated in the time interval of twice access.When selecting to be configured to regularly obtaining mode, also need the frequency of obtaining of configuration data: by the sky obtain, by obtaining in week or monthly obtaining, data are obtained the character decision of frequency according to data source.As shown in Figure 2, when being configured to regularly obtaining mode, can be chosen in No. 1 and the data source synchrodata of the 23:00 of every day, Monday weekly or every month.
3, key, the close spoon for data source and data server both sides agreement carries out the legitimacy verification for data source to the data server.
4, access parameter is distributed to the access parameter title and the parameter value of data server for data source, is used for the authentication of data source to the data server.
What need explanation a bit is that the type and the number that whether need dispose access parameter and configuration all are optional.For example, as shown in Figure 2 two access parameters are set, be respectively the username and password that data source is distributed to data server, in addition, it is the ID that distributes of data server etc. that access parameter can also be configured to a data source.
5, bind parameter, be the required used parameter of data of management server filter user in data updated.Particularly, management server comprises the two-part content of parameter title and parametric description when it is configured.。
The break in traffic rules and regulations information source that provides with Department of Communications shown in Figure 2 is an example, and the user need provide license plate number when the inquiry violation information, and therefore the parameter name of configuration the binding parameter here is called " Carnum ", and parametric description is " license plate number ".
In addition, some data source also requires the user that checking parameter is provided, and with this legitimacy of binding parameter is carried out verification, therefore in the configuration of binding parameter, can also select to increase checking parameter.Comprising two-part content equally during the configuration checking parameter, is respectively parameter title and parametric description.For example, the break in traffic rules and regulations information source requires the user that checking parameter is provided, and binds the parameter title shown in Fig. 2 and is configured to " Validnum ", and parametric description is " behind the Motor Number 4 ".The number of checking parameter also can be set to according to the specific requirement of data source more than one.
After management server is accomplished the configuration of above-mentioned information and parameter, can these configuration informations be unified to preserve, but and generate a subscription data source tabulation, comprise the essential information of this data source in the tabulation.Afterwards, according to user's request,, subscribes to management server but offering the user with the tabulation of subscription data source.
The use and management server is unified configuration to data source; Angle from user's subscription data source; But user plane is right is a subscription data source tabulation, need not to consider the difference of the subscription service that provides between each data source, only needs to select the data source that will subscribe to; And get final product 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, can obtain the data source data updated more in time, guarantee the promptness of data better.
The data source that configuration is accomplished can offer the user and subscribe to, the flow process that below provides data source to subscribe to.
The user who provides for one embodiment of the invention shown in Figure 3 is through the signaling process figure of client subscription data source, and each step that the subscription data source is detailed is following:
The inquiry of step 301, user's logging on client can data source available on subscription, and client is sent the request in data query source to management server;
Wherein, the user need use a number of the account logging on client, and the user account in the binding subscription data source that this login account and previous embodiment are mentioned can be same number of the account.If login account and user account are not same numbers of the account, also need in client, preserve user account, used for subscription and binding data source.
Step 302-303, management server can data source list available on subscription send to client with its preservation;
Management server returns and has comprised the essential information that each can data source available on subscription in the data source list of client, comprises the information such as sign, DSN and data source provider of data source.
Step 304, client show data source and the essential information thereof that can subscribe to the user, initiate subscribe request in the user back that makes one's options to management server, comprise the sign and the user account of the data source that the user selects to subscribe in the request;
The data source identification that step 305, management server are subscribed to according to the user; Inquire about the configuration information of this data source; Judge whether this data source disposes checking parameter,, then only obtain parameter title and parametric description that this data source is bound parameter if do not dispose checking parameter; If the binding parameter of this data source also disposes checking parameter simultaneously, then also need obtain the parameter title and the parametric description of this checking parameter.
Whether data source disposes checking parameter; Following flow process has certain difference: do not disposing under the situation of checking parameter; After management server is received the binding parameter that the user imports, be about to this user account, subscription data source sign and bind that parameter is corresponding preserves; And needing under the situation of checking parameter; After management server is received the binding parameter and checking parameter that the user imports; To these two parameters be sent to data server; Carry out verification operation by data server, management server is carried out corresponding operation again according to the check results of data server feedback.Flow under the both of these case below is described respectively.
Do not dispose the situation of checking parameter:
Parameter title and parametric description that step 306A, management server will be bound parameter return client;
Step 307A, client show parameter title and the parametric description of binding parameter, and point out the user to import this binding parameter, and after user's input, client sends it to management server;
After step 308A, management server are received the binding parameter of client transmission, with this user account, subscription data source sign and the corresponding preservation of binding parameter thereof;
Step 309A, management server send to client and subscribe to successful notice.
Dispose the situation of checking parameter:
Step 306B, management server will be bound the parameter title of parameter and the parameter title and the parametric description of parametric description and checking parameter returns client;
Step 307B, client show the parameter title of binding parameter and the parameter title and the parametric description of parametric description and checking parameter, and point out the user to import and bind parameter and checking parameter, and after user's input, client sends it to management server;
Step 308B, management server are forwarded to data server with these two parameters after receiving the binding parameter and checking parameter that client is sent, and use checking parameter to carry out verification to binding parameter by data server;
In another embodiment of the present invention; Verification operation to binding parameter also can be carried out by management server; Management server also can directly carry out verification to binding parameter when the binding parameter of receiving the client transmission and checking parameter, need not to re-send to data server and carry out verification.
Step 309B-310B, data server execution parameter verification operation, and to management server back-checking result;
Step 311B, management server will judge after receiving check results that if verification is passed through, then correspondence is preserved user account, data source identification and binding parameter thereof, and return subscription message of successful (step 312a) to client; If verification do not pass through, then to notify client to re-enter the binding parameter, and it is forwarded to data server carries out verification (step 312b).
Through behind the aforesaid operations; The user just can use a unified number of the account; Receive the data that a plurality of data sources are sent; So just avoided adopting a plurality of numbers of the account to login a plurality of data sources respectively and obtained the loaded down with trivial details of data, not only improved the efficient that data are obtained greatly, kept the trouble that a plurality of number of the account causes firmly in mind but also exempted the user.
Below illustrate the configuration of aforementioned binding parameter and checking parameter, and the corresponding preservation relation in user account and subscription data source.
Be the parameter that need possess when preserving shown in the following table with user account is corresponding with the subscription data source:
Field name Type Explanation
User account Character string User's unified account number is like phone number
Data source identification Character string The unique identification of data source
Bind parameter K ey Character string The parameter K ey value of user binding, the Key value the during configuration of corresponding data source
Bind V parameter alue Character string To the description of user binding parameter, like the social security card number, water card number etc.
Parameter type Integer 0: parameter type is a checking parameter; 1: parameter type is to bind parameter
Wherein, user account is that the user is provided with the unified account number that receives each data source transmission data, also can be the number of the account of user's logging on client; Data source identification is management server when data source is configured, and is the unique identification that each data source is distributed; Binding parameter is to inquire about, obtain the essential parameter of data of user's request; To different data sources; Binding parameter also can be different; The Key value and the Value value (binding the parameter title and the parametric description of parameter) of binding parameter can be set when management server is configured data source, bind, for example import social security card number, water card number etc. so that the prompting user imports corresponding binding.
Generally speaking, only use the binding parameter just can get access to the required data of user, for example import the social security data that the social security card number just can obtain this user, input water card number obtains water rate data etc.; But under the other situation, data source also requires user's input validation parameter, in order to the legitimacy of binding parameter is carried out verification, verification through after just can provide the user required data.
To latter event, also need dispose the Key value and the Value value (being the parameter title and the parametric description of checking parameter) of checking parameter, import corresponding checking parameter in order to the prompting user.In order to contain above-mentioned two kinds of situation, in last table, increased a parameter type field, in order to distinguish checking parameter and to bind parameter: parameter value is to represent that checking parameter, parameter value were to represent to bind parameter at 1 o'clock at 0 o'clock.
Following table is depicted as the user when subscribing to the violation information data source, the user account of management server stores, subscription data source and bind parameter and checking parameter:
Sequence number User account Data source identification Parameter K ey V parameter alue Parameter type
1 13912345678 DataSource01 Carnum Guangdong B12345 1
2 13912345678 DataSource01 Validnum 1234 0
The user need import license plate number inquiry violation data, and management server is provided with the parameter title (i.e. parameter K ey shown in the table) of binding parameter and is " Carnum " when being configured, and parametric description (i.e. V parameter alue shown in the table) is " license plate number "; Simultaneously verification need be carried out to binding parameter in the notebook data source, so management server also is provided with parameter name and is called " Validnum ", and parametric description is the checking parameter of " behind the Motor Number 4 ".
Suppose the user with 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; Parameter---license plate number: Guangdong B 12345, checking parameter are bound in input respectively---and behind the Motor Number 4: 1234.
After the data source that management server is selected the user to subscribe to and its user account were bound, the user just can obtain the data that a plurality of data sources provide through the client unification, provides the user to obtain the flow process of data through client below.
Shown in Figure 4ly send the signaling process figure of data to client for what one embodiment of the invention provided.Each step of this flow process below is detailed:
Step 401, data server log-on data are obtained task;
The situation that step 402, data server are subscribed to the management server queries data source;
After the task of data is obtained in the data server startup, need from management server, obtain subscribed data source and configuration information thereof, obtain data in order to insert in the data source.
Step 403, management server return subscribed data source list and configuration information thereof to data server;
Obtain data in step 404, the configuration information access data source of data server according to data source;
Data server obtains the pattern of data and both can also can obtain for timing for obtaining in real time.In real time obtaining mode representes that data server monitors data source, obtains this data source data updated in real time; Regularly obtaining mode representes that then data server regularly carries out synchronously with data source, obtains this data source data updated in the time interval of twice access.
Step 405, data source are returned data updated to data server;
Before address, access information in the data source configuration information supply data server to insert data source to obtain data used, the detailed content of configuration access information and separately role detailed description has been arranged in the aforementioned embodiment, repeat no more here.
Be example still below, specify step 404 and 405 with the break in traffic rules and regulations information source.
The access information configuration in violation information source can be referring to shown in Figure 2; Wherein data acquisition is " regularly obtaining "; And obtain frequency and be " 23:00 every day "; This shows that data server inserts at the 23:00 of every day whether inquiry has data updated in the violation information source, judges promptly in one day the time interval whether data updated is arranged in the violation information source.
Particularly, in step 404, when data server inserts the violation information source; Need carry key information and access parameter simultaneously, the data server carried out authentication for the violation information source, through after; Just allow it to insert, and judge whether data updated is arranged in one day time.If there is data updated, then in step 405, the violation information source is with data updated return data server.
Need clear and definite a bit to be, access parameter is not the indispensable information of disposition data source, and data server carries key simultaneously and inserts the violation information source with the access parameter request in this example, all access parameter need be provided when not representing data server access data source.
Step 401-405 is data server obtains data from data source a flow process, and data server has obtained data updated from subscribed data source in this flow process.
Distribution to data updated will be accomplished by management server, below the flow process of explanation management server distribution data updated:
Step 406, data server send data updated to management server;
The data of step 407, management server buffer update are obtained the sign in data updated corresponding data source, and according to the subscription data source sign of preserving and the corresponding relation of user account, obtain booking reader's number of the account;
Step 408, management server send the notice of Data Update to booking reader's client;
Wherein, management server will carry the sign of the data source of Data Update in notice.
After step 409, client were received the notice of Data Update, prompting had user which data source Data Update, and initiated the request of obtaining new data to management server according to user's selection;
Wherein, to carry the data source identification that user account and user select in the data acquisition request that client is sent.The data source that the user selects is the part or all in the data source of Data Update.
Step 410, management server be according to the data source identification that user account and user select, and searches the binding parameter of the data source that the user selects, and use this binding parameter to filter out the required data of user;
Because the management server data in buffer is a plurality of data source data updated; Each data source relates to a plurality of booking readers again; Therefore will be according to the corresponding user account of preserving, subscription data source identify and bind parameter before; Obtain the binding parameter of data source, and use this binding parameter to filter out the required data of user.
Step 411, management server send the data that filter out to client.
Use the present embodiment disclosed method to obtain data; The mode that data server obtains data can be set flexibly; After having obtained the data source data updated, not directly to send, but at first send the notice of Data Update to client by management server to client; Inform that which data source of user upgraded data; And then filter out corresponding data and send according to user's selection, can give user's independence to greatest extent like this, be chosen in by the user and obtain appropriate data appropriate opportunity.
In the present embodiment, insert data source by data server and obtain data updated, and by the selection filtering data of management server according to the user.In another embodiment of the present invention, can carry out the operation of obtaining data and filtering data simultaneously, thereby can simplify process step further, need not between management server and data server, to carry out mutual by management server.
Correspondingly, the embodiment of the invention provides a kind of system that obtains data, and in order to implement the disclosed method of obtaining data in the previous embodiment, as shown in Figure 5, said system comprises data server 501, client 502 and management server 503.
Wherein, data server 501 respectively with management server 503, and the outside data source of system links to each other, and is used for obtaining data updated from data source, and sends the data source data updated to management server 503;
Management server 503 links to each other with data server 501 with client 502 respectively, is used to receive the data that data server 501 sends, and to the notice of client 502 transmission Data Update, in the notice of Data Update, carries the sign of the data source of Data Update;
Client 502 links to each other with management server 503, is used for the notice of the Data Update that receiving management server 503 sends, and to the request that data are obtained in its transmission, in request, carry user account and user selection data source sign;
Management server 503; The binding parameter of the data source that the sign inquiring user of the data source that also is used for selecting according to user account and user is selected; And use the binding parameter in the data that receive, to filter out the data that user's selection is obtained, and send the data that filter out to client 502;
Client 502 also is used for the data that filter out that receiving management server 503 sends.
Before data server 501 obtained data from the data source of Data Update, management server 503 also was used for essential information, the required access information and the data source of data server 501 access data sources of disposition data source and binds the parameter title and the parametric description of parameter.After the configuration completion to data source, management server 503 also is used to generate 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 also disposes the parameter title and the parametric description of checking parameter except the configuration above-mentioned parameter.
After the configuration of 503 pairs of data sources of management server was accomplished, client 502 also was used for sending the data source query requests to management server 503;
Management server 503 also is used to receive the data source query requests that client 502 is sent, and sends the data source list that can subscribe to client 502;
Client 502 also is used for according to the data source list that can subscribe to, sends the data source subscribe request to management server 503, comprises the sign of the data source that user account and user select to subscribe in the data source subscribe request;
Management server 503 also is used to receive the data source subscribe request that client 502 is sent, and sends the parameter title and the parametric description of the binding parameter of the data source that users select to subscribe to client 502;
Client 502 also is used for sending the binding parameter that the user imports to management server 503;
Management server 503 also is used to receive the binding parameter that client 502 is sent, preserve data source that user account, user select to subscribe to sign and bind parameter.
Disposed the parameter title and the parametric description of checking parameter corresponding to management server 503, in another embodiment of the present invention, management server 503 also is used for sending to client 502 the parameter title and the parametric description of checking parameters;
Client 502 also is used for sending the binding parameter and the checking parameter of user's input to management server 503;
Management server 503 also is used to receive binding parameter and checking parameter that client 502 is sent, and will bind parameter and checking parameter sends to data server 501;
Data server 501 also is used to use checking parameter to carry out verification to binding parameter, and to the result of management server 503 feedback checks;
Management server 503 also is used to receive the result of the verification of data server 501 feedbacks, bind parameter through verification after, preserve the sign and the binding parameter of the data source that user account, user select to subscribe to; If bind parameter not through verification, also be used to notify client 502 to resend the binding parameter.
In another embodiment of the present invention, the function of data server 501 can be integrated in the management server 503, in obtaining the system of data, can include only management server and client.
Accordingly, the embodiment of the invention provides a kind of management server, in order to implement the disclosed method of obtaining data in the previous embodiment.
Shown in Figure 6 is the structural representation of the management server that provides of one embodiment of the invention, and as shown in the figure, management server comprises: receiving element 30, transmitting element 40, and query unit 50.
Receiving element 30 is used to receive the data updated that data server sends, and said data updated is obtained from data source by data server;
Transmitting element 40 is used for the notice to client transmission Data Update, carries the sign of the data source of Data Update in the notice;
Receiving element 30 also is used to receive the request of obtaining data that client is sent, and carries the sign of the data source of user account and user selection in the request;
Query unit 50, the binding parameter of the data source that the sign inquiring user of the data source that is used for selecting according to user account and user is selected, and use and bind parameter and in the data that receive, filter out the data source data updated that the user selects;
Transmitting element 30 also is used for sending the data that filter out to client.
As shown in Figure 7, the management server that the embodiment of the invention provides also comprises dispensing unit 10 and subscriber units 20.
Wherein, dispensing unit 10 is used for data source is configured, and generates the data source list that can subscribe to, wherein comprises the essential information of the data source of configuration completion;
Subscriber units 20 is used for after 10 pairs of data sources of dispensing unit are configured, and accepts the subscription of user to the data source of process configuration, and preserves the sign and the binding parameter of the data source of user account, user's subscription.
Those skilled in the art can recognize; In conjunction with various method steps of describing among the embodiment disclosed herein and unit; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, step and the composition of each embodiment described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.Those skilled in the art can use distinct methods realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
Method step in conjunction with embodiment disclosed herein describes can use hardware, the software program of processor execution or the combination of the two to implement.Software program can place the storage medium of any other form 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 the technical field; Described software or program comprise the steps: (claim to a method).
Although illustrated and described some embodiments of the present invention, it should be appreciated by those skilled in the art that under the situation that does not break away from principle of the present invention and spirit can carry out various modifications to these embodiment, such modification should fall into scope of the present invention.

Claims (18)

1. a method of obtaining data is characterized in that, said method comprises:
Receive the data updated that data server sends, said data updated is obtained from data source by said data server;
To the notice of client transmission Data Update, carry the sign of said data source in the said notice;
Receive the request of obtaining data that said client is sent, carry the sign of the data source of user account and user selection in the described request;
The sign of the data source of selecting according to said user account and said user is inquired about the binding parameter of the data source that said user selects, and uses said binding parameter in said data updated, to filter out the data source data updated that said user selects;
Send the said data that filter out to said client.
2. the method for claim 1 is characterized in that, before the data updated that receives said data server transmission, also comprises:
Data source is configured;
Accept the subscription of user to the data source of said process configuration.
3. method as claimed in claim 2 is characterized in that, said data source is configured, and comprising:
Dispose the essential information of said data source; And
Dispose said data server and insert the required access information of said data source; And
Dispose said data source and bind the parameter title and the parametric description of parameter;
After the configuration of said data source accomplished, the data source list that generation can be subscribed to comprised the essential information of said data source in the said data source list.
4. method as claimed in claim 3 is characterized in that, the said subscription of accepting the user to the data source of said process configuration comprises:
Receive the data source query requests that said user sends through said client;
Send said data source list of subscribing to said client;
Receive the data source subscribe request that said client is sent, comprise the sign of the data source that said user account and said user select to subscribe in the said data source subscribe request;
Send the parameter title and the parametric description of the binding parameter of the data source that said user selects to subscribe to said client;
Receive the binding parameter of said user's input that said client sends, preserve the data source identification that said user account, said user select to subscribe to and the binding parameter of said user input.
5. method as claimed in claim 3 is characterized in that, also comprises: dispose parameter title and parametric description that said data source is bound the checking parameter of parameter.
6. method as claimed in claim 5 is characterized in that, the said subscription of accepting the user to the data source of said process configuration comprises:
Receive the data source query requests that said user sends through said client;
Send said data source list of subscribing to said client;
Receive the data source subscribe request that said client is sent, comprise the sign of the data source that said user account and said user select to subscribe in the described request;
Send the parameter title and the parametric description of the binding parameter of the data source that said user selects to subscribe to said client;
Send the parameter title and the parametric description of said checking parameter to said client;
Receive the binding parameter and the checking parameter of said user's input of said client transmission, binding parameter and checking parameter that said user is imported send to said data server;
Receive the check results that said data server sends, after said binding parameter is through verification, preserve the sign of the data source that said user account, said user select to subscribe to and the binding parameter that said user imports.
7. method as claimed in claim 6 is characterized in that, if said binding parameter not through verification, then notifies said client to resend the binding parameter.
8. like each described method of claim 3-7, it is characterized in that the essential information of said data source comprises: the sign of said data source, the title of said data source and said data source provider's information;
Said data server inserts the required access information of said data source and comprises: the access address of said data source, data acquisition and key.
9. method as claimed in claim 8 is characterized in that, said data server inserts the required access information of said data source and also comprises: access parameter.
10. a management server is characterized in that, said management server comprises:
Receiving element is used to receive the data updated that data server sends, and said data updated is obtained from data source by said data server;
Transmitting element is used for the notice to client transmission Data Update, carries the sign of said data source in the said notice;
Said receiving element also is used to receive the request of obtaining data that said client is sent, and carries the sign of the data source of user account and user selection in the described request;
Query unit; The sign of the data source that is used for selecting according to said user account and said user is inquired about the binding parameter of the data source that said user selects, and uses said binding parameter in said data updated, to filter out the data source data updated that said user selects;
Said transmitting element also is used for sending the said data that filter out to said client.
11. management server as claimed in claim 10 is characterized in that, said management server also comprises:
Dispensing unit is used for data source is configured, and generates the data source list that can subscribe to, comprises the essential information of said data source in the said data source list.
12. management server as claimed in claim 11 is characterized in that, said management server also comprises:
Subscriber units is used for after said dispensing unit is configured data source, accepts the subscription of user to the data source of said process configuration, and preserves the data source identification and the said binding parameter of said user account, said user subscription.
13. a system that obtains data is characterized in that, said system comprises: management server, client and data server;
Said data server is used for obtaining data updated from data source, and sends said data updated to said management server;
Said management server is used to receive the data updated that said data server sends, and to the notice of said client transmission Data Update, carries the sign of said data source in the said notice;
Said client is used to receive the notice of said Data Update, and to the request that data are obtained in said management server transmission, carries the sign of the data source of user account and user selection in the described request;
Said management server; Also be used for inquiring about the binding parameter of the data source of said user's selection according to the data source identification of said user account and said user selection; Use said binding parameter in said data updated, to filter out the data source data updated that said user selects, and send the said data that filter out to said client;
Said client also is used to receive the said data that filter out that said management server sends.
14. the system that obtains data as claimed in claim 13 is characterized in that,
Said management server is used to also dispose that the essential information of said data source, said data server insert the required access information of said data source and said data source is bound the parameter title and the parametric description of parameter;
After the configuration of said data source accomplished, said management server also was used for, and the data source list that generation can be subscribed to comprises the essential information of said data source in the said data source list.
15. the system that obtains data as claimed in claim 14 is characterized in that,
Said client also is used for sending the data source query requests to said management server;
Said management server also is used to receive the data source query requests that said client is sent, and sends said data source list of subscribing to said client;
Said client also is used for the data source list of subscribing to according to said, sends the data source subscribe request to said management server, comprises said user account and said user in the said data source subscribe request and selects the data source identification of subscribing to;
Said management server also is used to receive the data source subscribe request that said client is sent, and sends the parameter title and the parametric description of the binding parameter of the data source that said user selects to subscribe to said client;
Said client also is used for sending the binding parameter that said user imports to said management server;
Said management server also is used to receive the said binding parameter that said client is sent, and preserves the data source identification that said user account, said user select to subscribe to and the binding parameter of said user input.
16. the system that obtains data as claimed in claim 14 is characterized in that,
Said management server also is used to dispose parameter title and the parametric description that said data source is bound the checking parameter of parameter.
17. the system that obtains data as claimed in claim 16 is characterized in that,
Said client also is used for sending the data source query requests to said management server;
Said management server also is used to receive the data source query requests that said client is sent, and sends said data source list of subscribing to said client;
Said client also is used for the data source list of subscribing to according to said, sends the data source subscribe request to said management server, comprises said user account and said user in the said data source subscribe request and selects the data source identification of subscribing to;
Said management server; Also be used to receive the data source subscribe request that said client is sent; Send the parameter title and the parametric description of the binding parameter of the data source that said user selects to subscribe to said client, send the parameter title and the parametric description of said checking parameter to said client;
Said client also is used for sending binding parameter and the checking parameter that said user imports to said management server;
Said management server also is used to receive said binding parameter and the checking parameter that said client is sent, and the binding parameter and the checking parameter of said user's input sent to said data server;
Said data server also is used to use said checking parameter that said binding parameter is carried out verification, and feeds back the result of said verification to said management server;
Said management server also is used to receive the result of the verification of said data server feedback, after said binding parameter is through verification, preserves the binding parameter that data source identification that said user account, said user select to subscribe to and said user import.
18. system as claimed in claim 17 is characterized in that,
Said management server also is used for if said binding parameter not through verification, notifies said client to resend the 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 true CN102629929A (en) 2012-08-08
CN102629929B 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)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144223A (en) * 2014-08-21 2014-11-12 北京奇艺世纪科技有限公司 Data obtaining method and device
CN104580085A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Business data updating method, system, client side and server
CN104639585A (en) * 2013-11-13 2015-05-20 腾讯科技(深圳)有限公司 Real-time data transmission system and data synchronization method thereof
CN105335170A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Distributed system and incremental data updating method
CN105677798A (en) * 2015-12-31 2016-06-15 上海万格科学器材有限公司 Custom data acquisition method and device
CN107528894A (en) * 2017-08-16 2017-12-29 郑州云海信息技术有限公司 A kind of storage system Real time data acquisition method and platform
CN108123866A (en) * 2016-11-30 2018-06-05 北京云中融信网络科技有限公司 Method for message transmission and device
CN108337280A (en) * 2017-01-20 2018-07-27 贵州白山云科技有限公司 A kind of resource regeneration method and device
CN108874294A (en) * 2018-05-04 2018-11-23 中国信息安全研究院有限公司 A kind of collecting 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
CN109656984A (en) * 2018-12-21 2019-04-19 树根互联技术有限公司 Data rule management system, method and apparatus
CN109729061A (en) * 2018-05-04 2019-05-07 平安科技(深圳)有限公司 Message treatment method, device, equipment and readable storage medium storing program for executing
CN109933623A (en) * 2018-09-04 2019-06-25 中国平安人寿保险股份有限公司 By method, equipment and the storage medium of data source access BI tool
CN111159199A (en) * 2019-12-31 2020-05-15 中国建设银行股份有限公司 Index data acquisition method and device
CN111382729A (en) * 2018-12-27 2020-07-07 北京图森智途科技有限公司 Method for acquiring data from data source, host and automobile
CN112214475A (en) * 2020-11-04 2021-01-12 成都中科大旗软件股份有限公司 Method, system, storage medium and terminal for configuring multiple data sources
WO2021073392A1 (en) * 2019-10-16 2021-04-22 华为技术有限公司 Data subscription method, apparatus and system
CN113220718A (en) * 2021-05-19 2021-08-06 北京达佳互联信息技术有限公司 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

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580085A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Business data updating method, system, client side and server
CN104639585B (en) * 2013-11-13 2019-01-08 腾讯科技(深圳)有限公司 A kind of real-time data transmission system and its method of data synchronization
CN104639585A (en) * 2013-11-13 2015-05-20 腾讯科技(深圳)有限公司 Real-time data transmission system and data synchronization method thereof
CN105335170A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Distributed system and incremental data updating method
CN104144223A (en) * 2014-08-21 2014-11-12 北京奇艺世纪科技有限公司 Data obtaining method and device
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
CN108123866A (en) * 2016-11-30 2018-06-05 北京云中融信网络科技有限公司 Method for message transmission and device
CN108337280B (en) * 2017-01-20 2019-12-20 北京数安鑫云信息技术有限公司 Resource updating method and device
CN108337280A (en) * 2017-01-20 2018-07-27 贵州白山云科技有限公司 A kind of resource regeneration method and device
CN107528894A (en) * 2017-08-16 2017-12-29 郑州云海信息技术有限公司 A kind of storage system Real time data acquisition method and platform
CN108874294A (en) * 2018-05-04 2018-11-23 中国信息安全研究院有限公司 A kind of collecting method
CN108874294B (en) * 2018-05-04 2022-10-04 中国信息安全研究院有限公司 Data acquisition method
CN109729061A (en) * 2018-05-04 2019-05-07 平安科技(深圳)有限公司 Message treatment method, device, equipment and readable storage medium storing program for executing
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
WO2021073392A1 (en) * 2019-10-16 2021-04-22 华为技术有限公司 Data subscription method, apparatus and system
CN111159199A (en) * 2019-12-31 2020-05-15 中国建设银行股份有限公司 Index data acquisition method and device
CN111159199B (en) * 2019-12-31 2023-10-24 中国建设银行股份有限公司 Index data acquisition method and device
CN112214475A (en) * 2020-11-04 2021-01-12 成都中科大旗软件股份有限公司 Method, system, storage medium and terminal for configuring multiple data sources
CN113220718A (en) * 2021-05-19 2021-08-06 北京达佳互联信息技术有限公司 Data query method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102629929B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN102629929A (en) Method and system and device for obtaining data
CN110636492B (en) Handover of mobile service providers using blockchains
CN1829227B (en) Integrating multiple identities, identity mechanisms and identity providers in a single user paradigm
CN1941718B (en) Method for managing instant-telecommunication group
CN101626363B (en) Convergence service device and system, and convergence service establishing and using methods
CN107077559B (en) Verification System reminds terminal and information recording carrier
CN103023875A (en) Account management system and method
US20050021428A1 (en) Time management system for mobile employees
CN109669955B (en) Digital asset query system and method based on block chain
CN102664871A (en) Method for processing intelligent terminal address list
US20140222478A1 (en) Method and system for creating and managing schedule on basis of social network
US20220014621A1 (en) Systems and methods for blockchain wireless services in a controlled environment
CN112188493A (en) Authentication method, system and related equipment
CN103119911A (en) System and method for synchronizing the profile of a user in social networks and the user's personal contact card (PCC)
CN111034149A (en) System and method for single ID service based on block chain
CN102486785A (en) Data synchronization method, device and system
Garcia-Font SocialBlock: An architecture for decentralized user-centric data management applications for communications in smart cities
CN109040300A (en) The method, apparatus and storage medium of PUSH message
CN107222481A (en) The method and apparatus of User logs in data query system
CN115242644A (en) Micro-service development and management system
CN101355447B (en) Method for managing service certificate
CN111988260A (en) Symmetric key management system, transmission method and device
CN102045457A (en) Interaction data template matching device and method
CN106575341B (en) Compound document access
EP3557470A1 (en) System and method for secure data handling

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