CN106571942A - Configuration data updating method, client side and server - Google Patents

Configuration data updating method, client side and server Download PDF

Info

Publication number
CN106571942A
CN106571942A CN201510652716.4A CN201510652716A CN106571942A CN 106571942 A CN106571942 A CN 106571942A CN 201510652716 A CN201510652716 A CN 201510652716A CN 106571942 A CN106571942 A CN 106571942A
Authority
CN
China
Prior art keywords
client
data
configuration data
server
mark
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
CN201510652716.4A
Other languages
Chinese (zh)
Other versions
CN106571942B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510652716.4A priority Critical patent/CN106571942B/en
Publication of CN106571942A publication Critical patent/CN106571942A/en
Application granted granted Critical
Publication of CN106571942B publication Critical patent/CN106571942B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a configuration data updating method, a client side and a server. The method comprises the steps that the server receives data transmitted by the client side under the online operation state, wherein the data transmitted by the client side carry an identifier used for representing the local configuration data of the client side; the server identifies the identifier of the local configuration data of the client side from the data transmitted by the client side; the server judges existence of updating data of the configuration data of the client side based on the identified identifier; and the updating data are transmitted to the client when the judgment result of the server indicates existence of the updating data of the configuration data of the client side so that the client side is enabled to update the local configuration data. The technical problem that the client side under the online operation state cannot update the configuration data can be solved by the configuration data updating method, the client side and the server.

Description

Method for updating configuration data, client and server
Technical field
The application is related to data processing field, in particular to a kind of method for updating configuration data, client kimonos Business device.
Background technology
The configuration data local for client updates, typically on startup or into it is several specific during backstage etc. when Between put to server request configuration data.If client is in online running status (non-background operation state), at this moment If have updated configuration data on server, client is had no idea synchronized update configuration data, causes client The renewal of configuration data postpones.Such as:In a ball match is relayed, server receiving data pressure is excessive, if it is desired to Sample rate of the server to data in client is adjusted, is to be difficult to be reached by way of updating and configuring, because Client is in online running status, is unsatisfactory for updating the opportunity of configuration data.
For above-mentioned problem, effective solution is not yet proposed at present.
The content of the invention
The embodiment of the present application provides a kind of method for updating configuration data, client and server, online at least to solve Client under running status cannot update the technical problem of configuration data.
According to the one side of the embodiment of the present application, there is provided a kind of method for updating configuration data, including:Server connects The data that the client being received under line running status sends, the data that the client sends are carried for representing described The mark of the local configuration data of client;The visitor is identified in the data that the server sends from the client The mark of the configuration data at family end;The server determines whether the client based on the mark for identifying Configuration data is updated the data;And judge updating the data for the configuration data for having the client in the server When, transmission is updated the data to the client, by described so that the client updates local configuration data.
According to the another aspect of the embodiment of the present application, a kind of method for updating configuration data is additionally provided, including:Client In online running status when, to server send data, the data carry local for representing the client Configuration data mark so that the server determines whether the configuration data of the client based on described mark Update the data, judge when updating the data of the configuration data for having the client in the server, will described in more New data is sent to the client;The client receives the described of server transmission and updates the data;And institute State client and update local configuration data using described updating the data.
According to the another aspect of the embodiment of the present application, a kind of server is additionally provided, including:Receiving unit, for connecing The data that the client being received under line running status sends, the data that the client sends are carried for representing described The mark of the local configuration data of client;Recognition unit, for identifying institute in the data that send from the client State the mark of the local configuration data of client;Judging unit, it is described for being determined whether based on the mark for identifying The configuration data of client is updated the data;And transmitting element, for judging there is the visitor in the judging unit When updating the data of the configuration data at family end, updates the data transmission to the client, so that the client by described Update local configuration data.
According to the another aspect of the embodiment of the present application, a kind of client is additionally provided, including:Data transmission unit, uses In when client is in online running status, data are sent to server, the data are carried for representing described The mark of the local configuration data of client, so that the server determines whether matching somebody with somebody for the client based on mark Updating the data for data is put, when updating the data of the configuration data for having the client is judged in the server, will It is described to update the data transmission to the client;Data receipt unit, for receiving described in the server transmission more New data;And data updating unit, for updating the local configuration data of the client using described updating the data.
According to the embodiment of the present application, the client transmission received by server under on-line operation state is carried for table Show the data of the mark of the local configuration data of the client, the configuration of client is determined whether based on above-mentioned mark Updating the data for data, when updating the data of the configuration data for having client is judged in server, will be updated the data and is sent out Client is delivered to, so that client updates local configuration data so that client also can under on-line operation state What the reception server sent updates the data, and updates local configuration data, solves the client under on-line operation state End cannot update the technical problem of configuration data, realize the renewal of the configuration data of client under on-line operation state.
Description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, this Shen Schematic description and description please does not constitute the improper restriction to the application for explaining the application.In accompanying drawing In:
Fig. 1 is the flow chart of the method for updating configuration data according to the embodiment of the present application 1;
Fig. 2 is the flow chart of a kind of optional method for updating configuration data according to the embodiment of the present application;
Fig. 3 is the flow chart of the method for updating configuration data according to the embodiment of the present application 2;
Fig. 4 is the schematic diagram of the server according to the embodiment of the present application 3;
Fig. 5 is the schematic diagram of the client according to the embodiment of the present application 4.
Specific embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present application, it is clear that described embodiment The only embodiment of the application part, rather than the embodiment of whole.Based on the embodiment in the application, ability The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, all should belong to The scope of the application protection.
It should be noted that the description and claims of this application and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. the object for distinguishing similar, without for describing specific order or precedence.It should be appreciated that this The data that sample is used can be exchanged in the appropriate case, so as to embodiments herein described herein can with except Here the order beyond those for illustrating or describing is implemented.Additionally, term " comprising " and " having " and they Any deformation, it is intended that covering is non-exclusive to be included, and for example, contains process, the side of series of steps or unit Method, system, product or equipment are not necessarily limited to those steps clearly listed or unit, but may include unclear List or other steps intrinsic for these processes, method, product or equipment or unit.
Embodiment 1
According to the embodiment of the present application, there is provided a kind of embodiment of the method for method for updating configuration data, it should be noted that Can perform in the such as computer system of one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated, And, although show logical order in flow charts, but in some cases, can be with suitable different from herein Sequence performs shown or described step.The method for updating configuration data of the embodiment specifically can have provided herein Server performing.
Fig. 1 is the flow chart of the method for updating configuration data according to the embodiment of the present application 1, as shown in figure 1, the method Comprise the steps:
Step S102, server receives the data that the client under on-line operation state sends.The data that client sends Carry the mark for representing the local configuration data of client.
Step S104, identifies the mark of the local configuration data of client in the data that server sends from client.
Step S106, server determines whether updating the data for the configuration data of client based on the mark for identifying.
Step S108, when updating the data of the configuration data for having client is judged in server, will update the data transmission To client, so that client updates local configuration data.
When client is in online running status, can be to server returned data, these data can be client to clothes Business device sends data, or client for asking video resource, picture resource or textual resources to service The Monitoring Data that device is returned.Client adds the mark for representing the local configuration data of client in these data, Server is received after the data of client transmission, and the configuration number for whether having client on server is judged based on the mark According to update the data, this update the data on server store data.When judging to update the data, server This is updated the data into transmission to client, so that client is updated the data using this updates its local configuration data.
In the present embodiment, by the control of the renewal initiative of the configuration data of client in server end, without the need for client to Server request configuration data, the data that server is sent by the client under on-line operation state, based on wherein taking The mark of band judges whether the configuration data of client needs to update, when the configuration data of client needs to update, To directly update the data and push to client.
According to the embodiment of the present application, the client transmission received by server under on-line operation state is carried for table Show the data of the mark of the local configuration data of client, the configuration data of client is determined whether based on above-mentioned mark Update the data, when updating the data of the configuration data for having client is judged in server, will update the data transmission extremely Client, so that client updates local configuration data so that client also can be received under on-line operation state What server sent updates the data, and updates local configuration data, solve client under on-line operation state without Method updates the technical problem of configuration data, realizes the renewal of the configuration data of client under on-line operation state.
It should be noted that the client of the present embodiment can be terminal, or the application in terminal, or It is the terminal for being provided with application.By taking application as an example, the software tool kit (Software of the data collection of application is embedded in Development Kit, referred to as SDK) operationally, configuration data is depended on, and these configuration datas are unified It is deployed in server end.For example:The transmission address of SDK data, SDK some collection modules enable information etc..
Preferably, server determined whether based on the mark that identifies the configuration data of client update the data including: Judge the mark of the local configuration data of client and the configuration data that server local is stored identify whether it is identical;When When differing, the mark of the local configuration data of client is parsed;According to the mark of the local configuration data of parsing client The result of knowledge, updates the configuration data of client.
Specifically, server is by judging the mark of the local configuration data of client and the configuration of server local storage Identifying whether for data is identical determining whether updating the data for the configuration data of client, wherein, when client sheet When the mark of the configuration data on ground is identical with the mark of the configuration data that server local is stored, it is determined that without client Configuration data is updated the data;When the configuration data that the mark of the local configuration data of client is stored with server local Mark when differing, parse the mark of the local configuration data of the client, according to parsing, the client is local Configuration data mark result, update the configuration data of the client.
Wherein, the mode of the mark of the local configuration data of client is parsed, can is by the local configuration of the client The identification (RNC-ID) analytic of data goes out corresponding equity numerical value, or is parsed into the mode of character or field.To this application Any restriction is not done.
In the present embodiment, the mark for representing its configuration data is carried in the data that user end to server sends, it is different The mark of configuration data is differed, and the mark can be represented with the numerical value in a flag.Due to client Configuration data unified plan is on the server, then when configuration data updates, can be to being deployed on server, then The renewal of the configuration data in client is controlled by server.There is configuration data on server and also correspondingly there is mark Know the mark of its uniqueness.
By the way that the mark of configuration data on server is compared with the mark of configuration data in client, if the two It is identical, then show that the configuration data in client is identical with the configuration data on server, that is to say, it is not necessary to update The configuration data of client;, whereas if it is different, then show the configuration in the configuration data and server in client Data are different, then need the configuration data for updating client.
Further, method also includes:Server updates server while locally stored configuration data is updated The mark of locally stored configuration data, wherein, client updates the data renewal configuration data using what server sent While, update the mark of the local configuration data of client.
In the present embodiment, when the configuration data of server end storage updates, it is identified accordingly and is updated together; Client receives when updating the data and being updated to configuration data of server transmission, and it is also identified accordingly one Rise and update.It can be that the mark for updating the data for sending over server is replaced that client updates the mark of configuration data The mark of original configuration data, realizes the renewal of the mark of the local configuration data of client.
Below by taking Fig. 2 as an example, a kind of optional embodiment of the embodiment of the present application is described.In the example, match somebody with somebody The mark for putting data is identified with the value of a flag.
As shown in Fig. 2 the initial value of flag P of the configuration data of client 100 is -1, now server 200 The value of flag P of locally stored configuration data is 0, i.e. P:0.When client 100 sends number to server 200 According to after, the flag and corresponding value are carried in the data, that is to say P:-1.Server 200 receives visitor After the data that family end 100 sends, value -1 of flag is identified, and by its value and locally stored configuration data The value 0 of flag is compared, and determines 0>- 1, it is determined that the configuration data of client 100 needs to update, service Device 200 sends the configuration data of local renewal to client 100, and client 100 is received and parse after data this more New configuration data is simultaneously updated to configuration data, and the value of flag is set to into 0.
If the configuration data stored on server 200 has renewal, the configuration data of storage, and more new logo are updated The value of position, will P:0 is changed to P:1, when the flag for receiving client 100 again and carrying configuration data During data, judge whether the client 100 needs to update configuration data, the mode of renewal is not ibid repeated here.
In the example, if client restart or it is unexpected exit, can so that the value of flag is replaced with initial value, The flag is identified in order to server, the configuration data of client is updated in time.
It should be noted that being updated only to the mark of configuration data in the way of the value of flag is incremented by the example Only it is a kind of optional embodiment of the embodiment of the present application, those skilled in the art know, on the basis of the example, The mark update mode of the configuration data of the embodiment of the present application can have many substitute modes, not have to this Shen here There please be improper restriction.
Preferably, the data that the client under on-line operation state sends are Monitoring Data of the server to client, its In, when client is in online running status, Monitoring Data is sent to server according to predetermined period.
In the present embodiment, in order to realize the monitoring to client, when client is in online running status, every default Cycle to server sends Monitoring Data, wherein, the mark of the configuration data of client can be carried in the Monitoring Data Know, server identifies whether the configuration data of client needs to update by the mark.In the present embodiment, by Whether the Monitoring Data that the client under line running status is returned needs to update come the configuration data for determining client, so as to When configuration data on the client needs to update, in time the configuration data of renewal is pushed to into client, realize visitor The renewal of the configuration data at family end.
Embodiment 2
The another aspect of the embodiment of the present application, a kind of method for updating configuration data of the offer, the configuration data of the embodiment Update method can specifically have client provided herein to perform.
As shown in figure 3, the method for updating configuration data includes:
Step S302, when client is in online running status, to server data is sent, and data are carried for table Show the mark of the local configuration data of client, so that server determines whether the configuration data of client based on mark Update the data, when updating the data of the configuration data for having client is judged in server, will update the data transmission extremely Client.
Step S304, what client the reception server sent updates the data.
Step S306, the client configuration data local using renewal is updated the data.
When client is in online running status, can be to server returned data, these data can be client to clothes Business device sends data, or client for asking video resource, picture resource or textual resources to service The Monitoring Data that device is returned.Client adds the mark for representing the local configuration data of client in these data, Server is received after the data of client transmission, and the configuration number for whether having client on server is judged based on the mark According to update the data, this update the data on server store data.When judging to update the data, server This is updated the data into transmission to client, so that client is updated the data using this updates its local configuration data.
In the present embodiment, by the control of the renewal initiative of the configuration data of client in server end, without the need for client to Server request configuration data, the data that server is sent by the client under on-line operation state, based on wherein taking The mark of band judges whether the configuration data of client needs to update, when the configuration data of client needs to update, To directly update the data and push to client.
According to the embodiment of the present application, sent by the user end to server in online running status and carried for table Show the data of the mark of the local configuration data of client, so that server determines whether client based on above-mentioned mark Configuration data update the data, when updating the data of the configuration data for having client is judged in server, will update Data is activation updates local configuration data so that client is in on-line operation state to client using updating the data Under be also capable of that the reception server sends update the data, and update local configuration data, solve on-line operation state Under client cannot update the technical problem of configuration data, realize the configuration data of the client under on-line operation state Renewal.
In addition, while server will update the data transmission to client, will also update the data corresponding mark and send extremely Client, the flag of client is updated according to the mark that server is sended over, so, it is to avoid work as client Restart, after flag initialization, client occurs repeatedly more news.
The optional embodiment of the method for updating configuration data of the present embodiment may refer to the configuration number of the embodiment of the present application 1 According to update method, do not repeat here.
Embodiment 3
The embodiment of the present application also provides a kind of server, and the server can be used for performing the configuration of the embodiment of the present application 1 Data-updating method, as shown in figure 4, the server includes:Receiving unit 402, recognition unit 404, judging unit 406 and transmitting element 408.
Receiving unit 402 is used to receive the data that the client under on-line operation state sends., the data that client sends Carry the mark for representing the local configuration data of client.
Recognition unit 404 is used in the data sent from client identify the mark of the local configuration data of client.
Judging unit 406 is used to determine whether that the configuration data of client is updated the data based on the mark that identifies.
Transmitting element 408 is used to judge when updating the data of the configuration data for having client in judging unit, will update Data is activation is to client, so that client updates local configuration data.
When client is in online running status, can be to server returned data, these data can be client to clothes Business device sends data, or client for asking video resource, picture resource or textual resources to service The Monitoring Data that device is returned.Client adds the mark for representing the local configuration data of client in these data, Server is received after the data of client transmission, and the configuration number for whether having client on server is judged based on the mark According to update the data, this update the data on server store data.When judging to update the data, server This is updated the data into transmission to client, so that client is updated the data using this updates its local configuration data.
In the present embodiment, by the control of the renewal initiative of the configuration data of client in server end, without the need for client to Server request configuration data, the data that server is sent by the client under on-line operation state, based on wherein taking The mark of band judges whether the configuration data of client needs to update, when the configuration data of client needs to update, To directly update the data and push to client.
According to the embodiment of the present application, the client transmission received by server under on-line operation state is carried for table Show the data of the mark of the local configuration data of client, the configuration data of client is determined whether based on above-mentioned mark Update the data, when updating the data of the configuration data for having client is judged in server, will update the data transmission extremely Client, so that client updates local configuration data so that client also can be received under on-line operation state What server sent updates the data, and updates local configuration data, solve client under on-line operation state without Method updates the technical problem of configuration data, realizes the renewal of the configuration data of client under on-line operation state.
It should be noted that the client of the present embodiment can be terminal, or the application in terminal, or It is the terminal for being provided with application.By taking application as an example, the software tool kit (Software of the data collection of application is embedded in Development Kit, referred to as SDK) operationally, configuration data is depended on, and these configuration datas are unified It is deployed in server end.For example:The transmission address of SDK data, SDK some collection modules enable information etc..
Alternatively, judging unit includes:Judge module, for being used to judge the mark of the local configuration data of client Identifying whether for the configuration data stored with server local is identical;If differing, the local configuration number of client is parsed According to mark;According to the result of the mark of the local configuration data of parsing client, the configuration data of client is updated.
Specifically, by judging the configuration data that the mark of the local configuration data of client is stored with server local Identify whether it is identical determining whether updating the data for the configuration data of client, wherein, match somebody with somebody when client is local Put data mark it is identical with the mark of the configuration data that server local is stored when, it is determined that the configuration number without client According to update the data;When the mark of the configuration data that the mark of the local configuration data of client is stored with server local When differing, the mark of the local configuration data of the client is parsed;The configuration local according to the client is parsed The result of the mark of data, updates the configuration data of the client.
In the present embodiment, the mark for representing its configuration data is carried in the data that user end to server sends, it is different The mark of configuration data is differed, and the mark can be represented with the numerical value in a flag.Due to client Configuration data unified plan is on the server, then when configuration data updates, can be to being deployed on server, then The renewal of the configuration data in client is controlled by server.There is configuration data on server and also correspondingly there is mark Know the mark of its uniqueness.
By the way that the mark of configuration data on server is compared with the mark of configuration data in client, if the two It is identical, then show that the configuration data in client is identical with the configuration data on server, that is to say, it is not necessary to update The configuration data of client;, whereas if it is different, then show the configuration in the configuration data and server in client Data are different, then need the configuration data for updating client.
Further, server also includes:Updating block, for while locally stored configuration data is updated, The mark of the configuration data of server local storage is updated, wherein, client is updated the data more using what server sent While new configuration data, the mark of the local configuration data of client is updated.
In the present embodiment, when the configuration data of server end storage updates, it is identified accordingly and is updated together; Client receives when updating the data and being updated to configuration data of server transmission, and it is also identified accordingly one Rise and update.It can be that the mark for updating the data for sending over server is replaced that client updates the mark of configuration data The mark of original configuration data, realizes the renewal of the mark of the local configuration data of client.
Alternatively, the data that the client under on-line operation state sends are Monitoring Data of the server to client, its In, when client is in online running status, Monitoring Data is sent to server according to predetermined period.
In the present embodiment, in order to realize the monitoring to client, when client is in online running status, every default Cycle to server sends Monitoring Data, wherein, the mark of the configuration data of client can be carried in the Monitoring Data Know, server identifies whether the configuration data of client needs to update by the mark.In the present embodiment, by Whether the Monitoring Data that the client under line running status is returned needs to update come the configuration data for determining client, so as to When configuration data on the client needs to update, in time the configuration data of renewal is pushed to into client, realize visitor The renewal of the configuration data at family end.
Embodiment 4
The embodiment of the present application additionally provides a kind of client, and the client can be used for performing matching somebody with somebody for the embodiment of the present application 2 Put data-updating method.As shown in figure 5, the client includes:Data transmission unit 502, data receipt unit 504 With data updating unit 506.
Data transmission unit 502 is used for when client is in online running status, and to server data, data are sent The mark for representing the local configuration data of client is carried, so that server determines whether client based on mark Updating the data for the configuration data at end, when updating the data of the configuration data for having client is judged in server, will more New data is sent to client.
Data receipt unit 504 is used for updating the data for the reception server transmission.
Data updating unit 506 is used for the configuration data local using renewal client is updated the data.
When client is in online running status, can be to server returned data, these data can be client to clothes Business device sends data, or client for asking video resource, picture resource or textual resources to service The Monitoring Data that device is returned.Client adds the mark for representing the local configuration data of client in these data, Server is received after the data of client transmission, and the configuration number for whether having client on server is judged based on the mark According to update the data, this update the data on server store data.When judging to update the data, server This is updated the data into transmission to client, so that client is updated the data using this updates its local configuration data.
In the present embodiment, by the control of the renewal initiative of the configuration data of client in server end, without the need for client to Server request configuration data, the data that server is sent by the client under on-line operation state, based on wherein taking The mark of band judges whether the configuration data of client needs to update, when the configuration data of client needs to update, To directly update the data and push to client.
According to the embodiment of the present application, sent by the user end to server in online running status and carried for table Show the data of the mark of the local configuration data of client, so that server judges there is client based on above-mentioned mark When updating the data of configuration data, will update the data transmission to client, and using updating the data local configuration number is updated According to so that client is also capable of updating the data for the reception server transmission under on-line operation state, and updates local Configuration data, solving the client under on-line operation state cannot update the technical problem of configuration data, realize online The renewal of the configuration data of the client under running status.
Above-mentioned the embodiment of the present application sequence number is for illustration only, does not represent the quality of embodiment.
In above-described embodiment of the application, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, other can be passed through Mode realize.Wherein, device embodiment described above is only schematic, such as division of described unit, Can be a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute The coupling each other for showing or discussing or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to On multiple units.Some or all of unit therein can be according to the actual needs selected to realize this embodiment scheme Purpose.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or when using using in the form of SFU software functional unit, During a computer read/write memory medium can be stored in.Based on such understanding, the technical scheme essence of the application On all or part of prior art is contributed part in other words or the technical scheme can be with software product Form is embodied, and the computer software product is stored in a storage medium, including some instructions are used so that one Platform computer equipment (can be personal computer, server or network equipment etc.) performs each embodiment institute of the application State all or part of step of method.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The above is only the preferred implementation of the application, it is noted that for the ordinary skill people of the art For member, on the premise of without departing from the application principle, some improvements and modifications can also be made, these improve and moisten Decorations also should be regarded as the protection domain of the application.

Claims (10)

1. a kind of method for updating configuration data, it is characterised in that include:
Server receives the data that the client under on-line operation state sends, and the data that the client sends are taken With for representing the mark of the local configuration data of the client;
The local configuration data of the client is identified in the data that the server sends from the client Mark;
The server determines whether updating the data for the configuration data of the client based on the mark for identifying; And
When updating the data of the configuration data for having the client is judged in the server, by the renewal number According to sending to the client, so that the client updates local configuration data.
2. method according to claim 1, it is characterised in that the server judged based on the mark for identifying is The no configuration data for having a client update the data including:
Judge the configuration data that the mark of the local configuration data of the client is stored with the server local Identify whether identical;
When differing, the mark of the local configuration data of the client is parsed;
According to the result of the mark for parsing the local configuration data of the client, the configuration number of the client is updated According to.
3. method according to claim 1, it is characterised in that methods described also includes:
The server updates the server local storage while locally stored configuration data is updated The mark of configuration data, wherein, the client using the server send described in update the data renewal and match somebody with somebody While putting data, the mark of the local configuration data of the client is updated.
4. the method according to any one of claims 1 to 3, it is characterised in that the visitor under on-line operation state The data that family end sends are Monitoring Data of the server to the client, wherein, the client is in During on-line operation state, the Monitoring Data is sent to the server according to predetermined period.
5. a kind of method for updating configuration data, it is characterised in that include:
When client is in online running status, data are sent to server, the data are carried for representing The mark of the local configuration data of the client, so that the server is judged whether based on the mark The configuration data for stating client is updated the data, and judges the configuration data for having the client in the server When updating the data, by it is described update the data transmission to the client;
The client receives the described of server transmission and updates the data;And
The client updates local configuration data using described updating the data.
6. a kind of server, it is characterised in that include:
Receiving unit, for receiving on-line operation state under the data that send of client, the client sends Data carry mark for representing the local configuration data of the client;
Recognition unit, for identifying the local configuration number of the client in the data that send from the client According to mark;
Judging unit, the renewal of the configuration data for determining whether the client based on the mark for identifying Data;And
Transmitting element, for judging updating the data for the configuration data for having the client in the judging unit When, transmission is updated the data to the client, by described so that the client updates local configuration data.
7. server according to claim 6, it is characterised in that the judging unit includes:
Judge module, for judging that the mark of the local configuration data of the client is stored with the server local Configuration data identify whether it is identical;If differing, the mark of the local configuration data of the client is parsed; According to the result of the mark for parsing the local configuration data of the client, the configuration data of the client is updated.
8. server according to claim 6, it is characterised in that the server also includes:
Updating block, deposits for while locally stored configuration data is updated, updating the server local The mark of the configuration data of storage, wherein, the client using the server send described in update the data more While new configuration data, the mark of the local configuration data of the client is updated.
9. the server according to any one of claim 6 to 8, it is characterised in that described under on-line operation state The data that client sends are Monitoring Data of the server to the client, wherein, at the client When on-line operation state, the Monitoring Data is sent to the server according to predetermined period.
10. a kind of client, it is characterised in that include:
Data transmission unit, for when client is in online running status, to server data, institute being sent State data and carry mark for representing the local configuration data of the client, so that the server is based on The mark determines whether updating the data for the configuration data of the client, judges have in the server When updating the data of the configuration data of the client, transmission is updated the data to the client by described;
Data receipt unit, updates the data for receiving described in the server transmission;And
Data updating unit, for updating the local configuration data of the client using described updating the data.
CN201510652716.4A 2015-10-10 2015-10-10 Configuration data updating method, client and server Expired - Fee Related CN106571942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510652716.4A CN106571942B (en) 2015-10-10 2015-10-10 Configuration data updating method, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510652716.4A CN106571942B (en) 2015-10-10 2015-10-10 Configuration data updating method, client and server

Publications (2)

Publication Number Publication Date
CN106571942A true CN106571942A (en) 2017-04-19
CN106571942B CN106571942B (en) 2020-02-28

Family

ID=58507431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510652716.4A Expired - Fee Related CN106571942B (en) 2015-10-10 2015-10-10 Configuration data updating method, client and server

Country Status (1)

Country Link
CN (1) CN106571942B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391276A (en) * 2017-07-05 2017-11-24 腾讯科技(深圳)有限公司 Distributed monitor method, interception control device and system
CN110188119A (en) * 2019-06-10 2019-08-30 北京百度网讯科技有限公司 Method and apparatus for obtaining data
CN110580200A (en) * 2019-08-06 2019-12-17 口碑(上海)信息技术有限公司 Data synchronization method and device
CN110585724A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Table data updating method and device in game client
CN113485767A (en) * 2021-07-09 2021-10-08 绿盟科技集团股份有限公司 Control configuration updating method and system and electronic equipment
CN114928610A (en) * 2022-05-12 2022-08-19 优车库网络科技发展(深圳)有限公司 Data update notification method, data processing method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576828A (en) * 2009-06-01 2009-11-11 中兴通讯股份有限公司 Software version upgrading method, device and server
CN102036224A (en) * 2009-09-29 2011-04-27 中国移动通信集团设计院有限公司 Method, system and upgrading control entity for informing mobile equipment of upgrading software
CN103414772A (en) * 2013-08-09 2013-11-27 百灵时代传媒集团有限公司 Cloud resource updating method and device applied to mobile equipment
CN104216749A (en) * 2014-09-10 2014-12-17 广州金山网络科技有限公司 Updating method and updating device for applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576828A (en) * 2009-06-01 2009-11-11 中兴通讯股份有限公司 Software version upgrading method, device and server
CN102036224A (en) * 2009-09-29 2011-04-27 中国移动通信集团设计院有限公司 Method, system and upgrading control entity for informing mobile equipment of upgrading software
CN103414772A (en) * 2013-08-09 2013-11-27 百灵时代传媒集团有限公司 Cloud resource updating method and device applied to mobile equipment
CN104216749A (en) * 2014-09-10 2014-12-17 广州金山网络科技有限公司 Updating method and updating device for applications

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391276A (en) * 2017-07-05 2017-11-24 腾讯科技(深圳)有限公司 Distributed monitor method, interception control device and system
CN110188119A (en) * 2019-06-10 2019-08-30 北京百度网讯科技有限公司 Method and apparatus for obtaining data
CN110580200A (en) * 2019-08-06 2019-12-17 口碑(上海)信息技术有限公司 Data synchronization method and device
CN110580200B (en) * 2019-08-06 2022-11-11 口碑(上海)信息技术有限公司 Data synchronization method and device
CN110585724A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Table data updating method and device in game client
CN110585724B (en) * 2019-09-24 2023-10-27 腾讯科技(深圳)有限公司 Method and device for updating form data in game client
CN113485767A (en) * 2021-07-09 2021-10-08 绿盟科技集团股份有限公司 Control configuration updating method and system and electronic equipment
CN114928610A (en) * 2022-05-12 2022-08-19 优车库网络科技发展(深圳)有限公司 Data update notification method, data processing method, device, equipment and medium

Also Published As

Publication number Publication date
CN106571942B (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN106571942A (en) Configuration data updating method, client side and server
CN102291430B (en) Method for processing allocation information of Internet of things, Internet of things platform and system
CN110380954B (en) Data sharing method and device, storage medium and electronic device
CN102802059B (en) The method of configuration machine top box, Apparatus and system
CN107621937A (en) Method, device and system for upgrading software program
CN107211029A (en) Discovery and connection to service controller
CN104767756B (en) Facility information processing method, client terminal device and service terminal device
CN103139259A (en) Method and server of achieving low-flux synchronous message logging
CN104320325A (en) Information push method and device
CN108111330A (en) The acquisition of updated data package, the update method of application component and device
CN104935612A (en) Data processing method and server
CN105302925A (en) Method and device for pushing voice search data
CN108304368A (en) The kind identification method and device and storage medium and processor of text message
CN106713291A (en) Multi-screen interaction method, communication terminal and server
CN103618792A (en) Data stream identification method and device
CN104468330A (en) Data processing method and device of distributed information queue
CN104320863A (en) Wireless network access method applied to mobile terminal and mobile terminal
CN114328392A (en) Advertising media material management system, method, equipment and medium
CN105512318B (en) Page generation method and device
CN105450365A (en) Message-sending device and method, message-receiving device and method, and message interaction system
CN107330069B (en) Multimedia data processing method and device, server and storage medium
CN103220260B (en) The more method of new data, server, client and system
CN103051738A (en) DHCP (Dynamic Host Configuration Protocol) address distribution method and system
CN105208141A (en) Equipment coding processing method and server
CN109040798A (en) Live data drainage method, storage medium, electronic equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200228