CN101098249A - State synchronous system and method - Google Patents

State synchronous system and method Download PDF

Info

Publication number
CN101098249A
CN101098249A CNA2006100903278A CN200610090327A CN101098249A CN 101098249 A CN101098249 A CN 101098249A CN A2006100903278 A CNA2006100903278 A CN A2006100903278A CN 200610090327 A CN200610090327 A CN 200610090327A CN 101098249 A CN101098249 A CN 101098249A
Authority
CN
China
Prior art keywords
service state
electronic installation
recognition code
service
version recognition
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
CNA2006100903278A
Other languages
Chinese (zh)
Other versions
CN100531059C (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.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CNB2006100903278A priority Critical patent/CN100531059C/en
Publication of CN101098249A publication Critical patent/CN101098249A/en
Application granted granted Critical
Publication of CN100531059C publication Critical patent/CN100531059C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a state synchronizing method, which is executed by a first electric device. The method comprises that obtaining a first service state version recognize code stored in a local high-speed buffer of the first electric device, receiving a second service version recognize code sent from a second electric device, judging if the first service state version recognize code is older than the second one, and when the first code is older than the second one, inquiring and obtaining new service state value from a third electric device and a third service state version recognize code relative to the obtained service state value. The first, second and third electric devices are formed into event broadcast tree structure, while the third electric device is at the root node, and the first and second electric devices are at the blade nodes of the structure.

Description

State synchronous system and method
Technical field
The present invention relates to a kind of event synchronization technology, particularly a kind of state synchronous system and method in large-scale distribution service environment.
Background technology
Device in distributed environment (the particularly service management system that is driving with incident) can be shared common state (common states), realizes service coordination and cooperate the purpose of (service coordination and collaboration).Generally speaking, in service management system, the mode that the notice that service state changes can asynchronous (asynchronous) is carried out, and just a service (or a central management platform) is one by one with the state notifying device that is changed.Yet, when the value of common state is stored (cache) in device the time, different device can be safeguarded the common state of storage with different modes, so, may have the value of inconsistent common state between different device, and then cause the situation of service collaboration failure.Therefore, need a kind of state synchronizing apparatus and method, in order to reduce the generation probability that has the value of inconsistent common state between different device.
Summary of the invention
The object of the present invention is to provide a kind of state synchronous system and method, in order to reduce the generation probability that has the value of inconsistent common state between different device.
The embodiment of the invention provides a kind of state synchronization method, uses first electronic installation to carry out.Comprise following steps among the embodiment: obtain the first service state version recognition code in the local cache memory that is stored in first electronic installation; Reception is by the second service state version recognition code that second electronic device transmitted; Judge whether the first service state version recognition code is older than the second service state version recognition code; And when the first service state version recognition code than the second service state version recognition code old times, the service-seeking in the 3rd electronic installation is also obtained up-to-date service state value and corresponding to the 3rd service state version recognition code of the service state value of being obtained.Wherein, first electronic installation, second electronic device and the 3rd electronic installation are organized into event propagation tree (event casting tree), the 3rd electronic installation is arranged in the root node of event propagation tree, and first electronic installation and second electronic device are arranged in the leaf node of event propagation tree.
The embodiment of the invention also provides a kind of state synchronization method, uses first electronic installation to carry out.Comprise following steps among the embodiment: receive the request of upwards checking by second electronic device, should check upwards that request comprised the first service state version recognition code; Obtain the second service state version recognition code in the local cache memory that is stored in first electronic installation; And by relatively the first service state version recognition code and the second service state version recognition code optionally activate upwards audit program or refresh routine downwards.First electronic installation and second electronic device are organized into the event propagation tree, and first electronic installation is the father node of second electronic device.Upwards audit program is used for asking upwards to be sent to cause the inconsistent electronic installation of service release with upwards checking, and, all nodes that downward refresh routine directly or indirectly is linked to first electronic installation to sending a notice are used to store the first service state value corresponding to the first service state version recognition code.
The embodiment of the invention also provides a kind of state synchronization method, uses first electronic installation to carry out.Comprise following steps among the embodiment: receive downward update request by second electronic device, downwards update request comprises the first service state version recognition code and corresponding to the first service state value of the first service state version recognition code; And use the first service state version recognition code and the first service state value to upgrade the second service state version recognition code and the second service state value in the local cache memory that originally is stored in first electronic installation respectively.Wherein, first electronic installation and second electronic device are organized into the event propagation tree, and first electronic installation is the child node of second electronic device.
The embodiment of the invention provides a kind of state synchronous system, comprises first, second and the 3rd electronic installation.First electronic installation comprises a service.Wherein, first electronic installation, second electronic device and the 3rd electronic installation are organized into the event propagation tree.First electronic installation is represented the root node in the event propagation tree, and second electronic device is represented the via node (relay node) in the event propagation tree, and the 3rd electronic installation is represented the leaf node in the event propagation tree.The 3rd electronic installation is to a plurality of event notices of service subscription corresponding to service, and the first electronic installation hierarchy type ground sends event notice to the 3rd electronic installation one by one by second electronic device.
For above and other objects of the present invention, feature and advantage can be become apparent, cited below particularlyly go out preferred embodiment, and conjunction with figs., be described in detail below:
Description of drawings
Fig. 1 is the network architecture schematic diagram of expression according to the state synchronous system of the embodiment of the invention;
Fig. 2 is the hardware structure figure of expression according to the personal computer of the embodiment of the invention;
Fig. 3 is the distributed event propagation schematic diagram of mechanism of expression according to the embodiment of the invention;
Fig. 4 is the inconsistent schematic diagram of the typical state of expression;
Fig. 5 is the state synchronization method by the leaf node execution according to the embodiment of the invention;
Fig. 6 is the state synchronization method by via node or root node execution according to the embodiment of the invention;
Fig. 7 is the state synchronization method by via node or leaf node execution according to the embodiment of the invention;
Fig. 8 represents the state synchronized finite state machine according to the embodiment of the invention;
Fig. 9 represents the state synchronized computer read/write memory medium schematic diagram according to the embodiment of the invention;
Figure 10 and Figure 11 represent the state synchronized schematic diagram according to the embodiment of the invention.
Embodiment
Fig. 1 is the network architecture schematic diagram of expression according to the state synchronous system 10 of the embodiment of the invention.In the preferred case, this network architecture comprises personal computer 11,13,15,17 and 19.Wherein, personal computer 11,13,15, the 17 mixed mutually mode of (wired-connection), wireless connections or wired connection and wireless connections that can be wired with 19 is connected to each other.And those skilled in the art know that perhaps personal computer 11,13,15,17 and 19 be connected need by a plurality of agent nodes, for example, WAP (wireless access point) (access point), base station (base station), hub (hub), bridger (bridge), router (router) or other are used to handle the agent node of network communication.State synchronous system 10 adopts publisher-subscriber's models (publisher-subscriber model) or pushes away and broadcasts model (push model) and carry out state and change notice.Specifically, personal computer 11 is announced the service that (advertise) provides on network, makes personal computer 13,15,17 and 19 can find and subscribe to the service that these come forth.Personal computer 11 is played the part of state source (state source) role, and its event notice (event notification) that uses asynchronous mode transmission to comprise the service state value is given personal computer 13,15,17 and 19. Personal computer 13,15,17 and 19 can be subscribed to a service to personal computer 11, so that can receive the event notice (information that wherein comprises the service state value) of ordered service in the future.When many personal computers are subscribed to same service, personal computer 11 can use single-point broadcast (clean culture) (unicasting), multicast (multicast) (multicasting) or the mode of broadcasting (broadcasting) event notice is passed to the computer of subscription.The computer of subscribing to is stored in service state value wherein the cache memory (local cache) of this locality after receiving event notice.In addition, the computer of subscription also can initiatively be asked (request) service state values to personal computer 11, and upgrades local service state value of being stored according to the service state value in the answer that receives (response).It should be noted that at this personal computer 11 also can transmit the valid period (valid duration) corresponding to the service state value, representative is before its valid period overtime, and the service state value of this storage can be in an effective state.
Fig. 2 is that expression is according to the personal computer 11,13,15,17 of the embodiment of the invention and 19 hardware structure figure.In the personal computer 11,13,15,17 and 19 one comprises processing unit 21, memory 22, storage device 23, output device 24, input unit 25, communication device 26, and uses bus 27 that it is linked together.In addition, those skilled in the art also can be applied in personal computer 11,13,15,17 and 19 on other computer system configurations (configuration), for example, multicomputer system, based on microprocessor or programmable consumption electronic products (microprocessor-based or programmable consumer electronics), network computer, microcomputer, mainframe, mobile computer and similar equipment.Wherein, based on microprocessor or programmable consumption electronic products can comprise mobile phone, projector, display screen, personal digital assistant (personal digital assistant, PDA), digital video recording equipment, digital music player etc.Processing unit 21 can comprise single CPU (central-processing unit; CPU) or with a plurality of parallel processing elements of parallel processing environment (parallel processing environment).Memory 22 comprises read-only memory (read only memory; ROM), flash memory (flash ROM), with and/or random access memory (random access memory; RAM), being used to store can be for the program module and the data of processing unit 21 execution.Generally speaking, program module comprise routine (routines), program (program), target (program) (object), assembly (component) etc., be used for the executing state synchronizing function.The present invention can also be applied to the distributed arithmetic environment, and its computing work is carried out by the teleprocessing equipment that is attached at communication network.In distributed environment, one function executing in the personal computer 11,13,15,17 and 19 can be finished jointly by this locality and multi-section remote computer system.In distributed environment, program module can be present in this locality and the remote memory storage devices simultaneously, and the remote access framework comprises DCOM (DCOM), common object request broker architecture (CORBA), webpage assembly (Web objects), network service (Web Services) or other similar framework.
When the personal computer of subscription service or electronic installation are scattered in the large network environment, use distributed event propagation mechanism (distributed event disseminationmechanism) to send event notice to personal computer or electronic installation.Fig. 3 represents the distributed event propagation schematic diagram of mechanism according to the embodiment of the invention.It is an event propagation tree (event castingtree) that all personal computers or electronic installation are organized into, and uses the mode (cascade-like way) of similar waterfall that event notice is from top to bottom transmitted.The event propagation tree comprises three kinds of fundamental nodes: root node (root node) S, via node (relay node) R 1To R 10Deng and leaf node (leaf node) L 1To L 4Deng.Root node S representative comprises the personal computer or the electronic installation of service, and this service is used for by via node R for event publisher 1To R 10Deng event notice being passed to leaf node L 1To L 4Deng.Leaf node L 1To L 4Deng being the incident recipient, it subscribes to event notice service (event notification service) to event publisher.Via node R 1To R 10Deng representing middle (in-between) device, be positioned at root node S and leaf node L 1To L 4Deng between.Via node can be personal computer, electronic installation or or even network equipment, for example, WAP (wireless access point), base station, hub, bridger, router or other are used to handle the node of network communication.
Event notice can be packaged into form as follows:
Event?notification
service_identifier sid;
service_location_reference?slr;
relay_node_identifier rid;
state?sValue;
version?vValue;
time?tValue;
duration dValue;
Comprise position, several data territory in the event notice, be used to write down Service Identifier (serviceidentifier, sid), service position is with reference to (service location reference, slr), via node identification code (relay node identifier, rid), service state value (service statevalue, sValue), service state version recognition code (service state version, vValue), incident generation time (tValue) and valid period (valid duration, dValue).Version recognition code is used to distinguish different event notices.Each version recognition code can comprise a Service Identifier (service identifier) and an Identification of events sign indicating number (event identifier), separates with hyphen (hyphen) between two identification codes, and form is as follows:
version:=“service?identifier”-“event?identifier”。
Via node identification code field wherein nullifies when initialization (" null " value), is packaged in the initial event notice, and sends sub-via node to by root node.When via node receives an event notice, oneself identification code is joined via node identification code field in this event notice, and the event notice after will upgrading sends sub-via node or leaf node to.In addition, via node records the Service Identifier (sid) in father node identification code (parent ' srid) and the event notice, service state value (sValue) and service state version identification code (vValue) in the local cache memory.The form of record can be expressed as<sid parent ' s rid, vValue, sValue 〉.When leaf node receives an event notice, with the Service Identifier (sid) in father node identification code (parent ' s rid) and the event notice, via node identification code (rid), service state value (sValue) and service state version identification code information such as (vValue), record in the local cache memory.The form of record can be expressed as<sid rid, parent ' s rid, vValue, sValue 〉.
Any two leaf nodes may be found the service state value with different editions when service collaboration, and the inconsistent situation of generation state.Have and manyly may cause the inconsistent reason of state, for instance, may temporarily lose efficacy, cause temporary incident bang path to interrupt, or the situation of network blockage takes place on the bang path between certain two node because of one of them via node.Fig. 4 is the inconsistent schematic diagram of the typical state of expression.Event propagation tree T 0In have a root node S, root node S is linked to a via node R K-1, and, via node R K-1Be linked to two via node R k *And R kWhen the relaying node R k *During the device mistake that takes place temporarily can not to expect, event notice just can't be delivered to and directly or indirectly be attached at via node R k *All via nodes or leaf node, thereby cause subtree (sub-tree) T k *And T kBetween the inconsistent situation of generation state.As leaf node L iAnd L jBetween when carrying out service collaboration and checking to each other service state version, then can find leaf node L iThe service state value version that is had is than leaf node L jIn had old.
Fig. 5 is the state synchronization method according to the embodiment of the invention, is carried out by leaf node, for example the L of Fig. 4 iOr L jAt step S511, obtain the service state version recognition code V that is stored in local cache memory i, this identification code is corresponding to the up-to-date service state value of storing in the local cache memory.Local cache memory can be comprised in memory 22 or the storage device 23 (as shown in Figure 2).At step S513, receive the service state version recognition code V that transmits by another leaf node j, this identification code is corresponding to the up-to-date service state value of storing in another leaf node.At step S521, judge V iWhether than V jOld, be the processing of then carrying out step S531, otherwise finish entire process.At step S531, come the service-seeking (query) in root node S (as Fig. 3 or shown in Figure 4) and obtain up-to-date service state value and version recognition code thereof by sending a request (request).At step S533, will check upwards that request (upward check request) sends father node (can be via node or root node) to, comprise up-to-date service state value and the version recognition code thereof that is obtained by service in this request.The father node identification code can be obtained from local cache memory.
Fig. 6 is the state synchronization method according to the embodiment of the invention, by via node or root node (as the S among Fig. 3, R 1To R 10Deng) carry out.At step S611, receive the request of upwards checking that transmits by child node.At step S613, obtain the service state version recognition code V that upwards checks in the request bAt step S615, obtain the service state identification code V that is stored in the local cache memory a, this identification code is corresponding to the up-to-date service state value of storing in the local cache memory.At step S621, judge V aWhether than V bOld, be the processing of then carrying out step S631, otherwise carry out the processing of step S641.At step S631, the request will upwards checked sends father node (can be via node or root node) to, comprises the service state value and the version recognition code thereof that are obtained from the upwards inspection request that receives in this request.The father node identification code can be obtained from local cache memory.At step S641, (downward update request) sends all child nodes (can be via node or leaf node) to downward update request, comprises up-to-date service state value and the version recognition code thereof that is obtained by child node in this request.
Fig. 7 is the state synchronization method according to the embodiment of the invention, by via node or leaf node (as the R among Fig. 3 1To R 10, L 1To L 4Deng) carry out.At step S711, receive the downward update request that transmits by father node.At step S713, obtain service state value and service state version recognition code thereof in the downward update request.At step S721, judge whether to exist the child node of binding, be the processing of then carrying out step S731 and S741, otherwise carry out the processing of step S741.At step S731, send downward update request the child node (can be via node or leaf node) of all bindings to, comprise service state value and the version recognition code thereof that from the downward update request that receives, is obtained in this request.At step S741, service state value that use is obtained and service state version recognition code thereof upgrade service state value and the service state version recognition code thereof in the local cache memory.
Fig. 8 represents the state synchronized finite state machine (finite stateautomata) according to the embodiment of the invention, comprises three state S1 to S5.State S1 comprises any two leaf nodes when service collaboration, the action (action) that must carry out, detailed action details can be with reference to figure 5 described steps.When one of them leaf node detects the own service state identification code that is had than in the service state identification code old times that another leaf node had, then change (transit) to state S3.State S3 comprises when relaying node or root node and receives the action that institute when upwards checking request must execution, and detailed action details can be with reference to step shown in Figure 6.State S3 can continue to carry out, and detects when checking that upwards service state identification code that the service state identification code that comprised in the request stored unlike itself is new up to a via node or root node, just state can be transformed into S5 by S3.State S5 comprise when relaying node or leaf node receive downward update request the action that must carry out, detailed action details can be with reference to step shown in Figure 7.State S5 can continue to carry out, and when all via nodes and leaf node detect without any the child node that links, just state can be transformed into S1 by S5.
Moreover the embodiment of the invention more proposes a kind of computer read/write memory medium, is used for storage computation machine program, and aforementioned calculation machine program is used to realize state synchronization method, and these methods can be carried out aforesaid step.Fig. 9 represents the state synchronized computer read/write memory medium schematic diagram according to the embodiment of the invention.This storage medium 90 is used for store status synchronous computer program 920, when this program is loaded into processing unit 21 (as shown in Figure 2) and carries out, realizes aforesaid state synchronization method.
Below also enumerate the detailed operation situation that several examples illustrate state synchronization method.Figure 10 represents the state synchronized schematic diagram according to the embodiment of the invention.At first, as leaf node L iDetect the service state version recognition code that had than leaf node L jIn old times of being had, come to the service-seeking among the root node S and obtain up-to-date service state value and version recognition code (shown in the step S531 among Fig. 5) by sending a request, the request will upwards checked sends father node (shown in the step S533 among Fig. 5) to and activates a upwards audit program, is used for asking to be sent to cause the inconsistent node of service state version with upwards checking.With reference to method shown in Figure 6, upwards audit program inspection request that this can be made progress is sent to via node R in proper order kWhen the relaying node R kDetect the service state version recognition code that is had and check the service state version recognition code old times that comprised in the request, transmit downward update request and activate a downward refresh routine for all child nodes (shown in the step S641 among Fig. 6) unlike making progress.This downward refresh routine is used for upgrading via node R downwards kService state value and the service state identification code thereof in all nodes of directly or indirectly linking.With reference to method shown in Figure 7, subtree T kIn all nodes all can use service state value in the downward update request of reception and service state version recognition code thereof to upgrade service state value and service state version recognition code (shown in the step S741 among Fig. 7) thereof in the local cache memory.
Figure 11 represents the state synchronized schematic diagram according to the embodiment of the invention.In this example, suppose leaf node L iWith leaf node L i' have an identical service state version recognition code.As leaf node L iDetect the service state version recognition code that had than leaf node L jIn old times of being had, remove the state synchronized mechanism that activates as shown in figure 10 and upgrade subtree T kIn all nodes in the service state value and the service state version recognition code outside, also will pass to another leaf node L by service state value and the service state identification code thereof that root node S is obtained i'.Make leaf node L i' the state synchronized mechanism that can activate as shown in figure 10 upgrades subtree T k' in all nodes in service state value and service state version recognition code thereof.
Though the present invention discloses as above by preferred embodiment; but it also is not used in qualification the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; all can change and revise, so protection scope of the present invention should be as the criterion with appended claim institute restricted portion.

Claims (18)

1. a state synchronization method uses first electronic installation to carry out, and its method comprises:
Obtain the first service state version recognition code in the local cache memory that is stored in described first electronic installation;
Reception is by the second service state version recognition code that second electronic device transmitted;
Judge whether the described first service state version recognition code is older than the described second service state version recognition code; And
When the described first service state version recognition code than the described second service state version recognition code old times, service-seeking in the 3rd electronic installation is also obtained up-to-date service state value and corresponding to the 3rd service state version recognition code of the described service state value of obtaining
Wherein, described first electronic installation, described second electronic device and described the 3rd electronic installation are organized into the event propagation tree, described the 3rd electronic installation is arranged in the root node of described event propagation tree, and described first electronic installation and described second electronic device are arranged in the leaf node of described event propagation tree.
2. state synchronization method according to claim 1 also comprises:
Transmit to quadrielectron device and upwards to check request activating upwards audit program,
Wherein said upwards check request comprise the described service state value of obtaining and
Described the 3rd service state version recognition code, and described upwards audit program is used for described upwards the inspection asked to be sent to cause the inconsistent electronic installation of service release, wherein said quadrielectron device is arranged in described event propagation tree, and the described quadrielectron device father node that is described first electronic installation.
3. state synchronization method according to claim 1 also comprises the described up-to-date service state value of obtaining is stored in the described local cache memory.
4. a state synchronization method uses first electronic installation to carry out, and its method comprises:
Receive the request of upwards checking by second electronic device, described making progress checks that request comprises the first service state version recognition code;
Obtain the second service state version recognition code in the local cache memory that is stored in described first electronic installation; And
Optionally activate upwards audit program or refresh routine downwards by more described first service state version recognition code and the described second service state version recognition code;
Wherein, described first electronic installation and described second electronic device are organized into the event propagation tree, described first electronic installation is the father node of described second electronic device, described upwards audit program is used for described upwards the inspection asked upwards to be sent to cause the inconsistent electronic installation of service release, and, described downward refresh routine is used for all nodes of directly or indirectly being linked to described first electronic installation to sending a notice, and storage is corresponding to the first service state value of the described first service state version recognition code.
5. state synchronization method according to claim 4 in the step that optionally activates described upwards audit program or described downward refresh routine, also comprises:
When the described second service state version recognition code than the described first service state version recognition code old times, transmit to the 3rd electronic installation and describedly upwards to check request activating described upwards audit program,
Wherein, described the 3rd electronic installation is organized in the described event propagation tree, and described the 3rd electronic installation father node that is described first electronic installation.
6. state synchronization method according to claim 4 in the step that optionally activates described upwards audit program or described downward refresh routine, also comprises:
When the described second service state version recognition code unlike the described first service state version recognition code old times, transmit described downward update request at least one the 3rd electronic installation, be used to activate described downward refresh routine,
Wherein, described the 3rd electronic installation is organized in the described event propagation tree, and described the 3rd electronic installation child node that is described first electronic installation.
7. state synchronization method, use first electronic installation to carry out, its method comprises: receive downward update request by second electronic device, described downward update request comprises the first service state version recognition code and corresponding to the first service state value of the described first service state version recognition code; And
Use described first service state version recognition code and the described first service state value to upgrade the second service state version recognition code and the second service state value in the local cache memory that originally is stored in described first electronic installation respectively, wherein, described first electronic installation and described second electronic device are organized into the event propagation tree, and described first electronic installation is the child node of described second electronic device.
8. state synchronization method according to claim 7 more comprises:
Judge whether to exist the 3rd electronic installation as the child node of described first electronic installation; And
When described electric three electronic installations that exist as the child node of described first electronic installation, send described downward update request to described the 3rd electronic installation activating downward refresh routine,
Wherein said downward refresh routine is used for all nodes of directly or indirectly being linked to described first electronic installation to sending a notice, stores described first service state version recognition code and the described first service state value.
9. state synchronous system comprises:
First electronic installation comprises service;
Second electronic device; And
The 3rd electronic installation,
Wherein, described first electronic installation, described second electronic device, and described the 3rd electronic installation is organized into the event propagation tree, described first electronic installation is represented the root node in the described event propagation tree, described second electronic device is represented the via node in the described event propagation tree, described the 3rd electronic installation is represented the leaf node in the described event propagation tree, described the 3rd electronic installation is to a plurality of event notices of described service subscription corresponding to described service, and the described first electronic installation hierarchy type ground sends described event notice to described the 3rd electronic installation one by one by described second electronic device.
10. state synchronous system according to claim 9 wherein, comprises the service state value and corresponding to the service state version recognition code of described service state value in each described event notice.
11. state synchronous system according to claim 9, wherein, described the 3rd electronic installation obtains the first service state version recognition code in the local cache memory that is stored in described the 3rd electronic installation, the second service state version recognition code that reception is transmitted by quadrielectron device, judge whether the described first service state version recognition code is older than the described second service state version recognition code, and, when described service state version recognition code than the described second service state version recognition code old times, described service-seeking in described first electronic installation is also obtained up-to-date service state value and the 3rd service state version recognition code of the corresponding described service state value of obtaining, and wherein said quadrielectron device is represented the leaf node in the described event propagation tree.
12. state synchronous system according to claim 11, wherein, described the 3rd electronic installation transmits to described second electronic device and checks that upwards request is to activate upwards audit program, wherein, described upwards inspection request comprises described service state value of obtaining and described the 3rd service state version recognition code, and described upwards audit program is used for described upwards the inspection asked to be sent to cause the inconsistent electronic installation of service release.
13. state synchronous system according to claim 11, wherein said the 3rd electronic installation is stored in the described up-to-date service state value of obtaining in the described local cache memory.
14. state synchronous system according to claim 9, wherein, described second electronic device receives the request of upwards checking by the child node of described second electronic device, described upwards the inspection asks to comprise the first service state version recognition code, described second electronic device obtains the second service state version recognition code in the local cache memory that is stored in described second electronic device, and optionally activate upwards audit program or refresh routine downwards by more described first service state version recognition code and the described second service state version recognition code, described upwards audit program is used for described upwards the inspection asked upwards to be sent to cause the inconsistent electronic installation of service release, and, described downward refresh routine is used for all nodes of directly or indirectly being linked to described second electronic device to sending a notice, and storage is corresponding to the first service state value of the described first service state version recognition code.
15. state synchronous system according to claim 14, wherein, when the described second service state version recognition code than the described first service state version recognition code old times, described second electronic device transmits to the father node of described second electronic device and describedly checks that upwards request is to activate described upwards audit program.
16. state synchronous system according to claim 14, wherein, when the described second service state version recognition code unlike the described first service state version recognition code old times, described second electronic device transmits described downward update request to all child nodes of described second electronic device, is used to activate described downward refresh routine.
17. state synchronous system according to claim 9, wherein said second electronic device receives downward update request by the father node of described second electronic device, described downward update request comprises the first service state version recognition code and corresponding to the first service state value of the described first service state version recognition code, and described second electronic device uses described first service state version recognition code and the described first service state value to upgrade the second service state version recognition code and the second service state value in the local cache memory that is stored in described second electronic device originally respectively.
18. state synchronous system according to claim 17, described second electronic device judges whether to exist the child node of described second electronic device, when having the child node of described second electronic device, all child nodes that described downward update request sent to described second electronic device are to activate downward refresh routine, described downward refresh routine is used for all nodes of directly or indirectly being linked to described first electronic installation to sending a notice, stores described first service state version recognition code and the described first service state value.
CNB2006100903278A 2006-06-29 2006-06-29 State synchronous system and method Expired - Fee Related CN100531059C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100903278A CN100531059C (en) 2006-06-29 2006-06-29 State synchronous system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100903278A CN100531059C (en) 2006-06-29 2006-06-29 State synchronous system and method

Publications (2)

Publication Number Publication Date
CN101098249A true CN101098249A (en) 2008-01-02
CN100531059C CN100531059C (en) 2009-08-19

Family

ID=39011788

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100903278A Expired - Fee Related CN100531059C (en) 2006-06-29 2006-06-29 State synchronous system and method

Country Status (1)

Country Link
CN (1) CN100531059C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103077078A (en) * 2010-11-04 2013-05-01 宏达国际电子股份有限公司 Method of defining state transitions in a software and application control management object
CN101933294B (en) * 2008-02-01 2013-08-21 微软公司 Representation of qualitative object changes in a knowledge based framework for a multi-master synchronization environment
CN108446356A (en) * 2018-03-12 2018-08-24 上海哔哩哔哩科技有限公司 Data cache method, server and data buffering system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101933294B (en) * 2008-02-01 2013-08-21 微软公司 Representation of qualitative object changes in a knowledge based framework for a multi-master synchronization environment
CN103077078A (en) * 2010-11-04 2013-05-01 宏达国际电子股份有限公司 Method of defining state transitions in a software and application control management object
CN108446356A (en) * 2018-03-12 2018-08-24 上海哔哩哔哩科技有限公司 Data cache method, server and data buffering system
CN108446356B (en) * 2018-03-12 2023-08-29 上海哔哩哔哩科技有限公司 Data caching method, server and data caching system

Also Published As

Publication number Publication date
CN100531059C (en) 2009-08-19

Similar Documents

Publication Publication Date Title
CN101529415B (en) Offline execution of web based applications
CN1499395B (en) Service appts. integration
CN103379159B (en) A kind of method that distributed Web station data synchronizes
CN102742303B (en) There is the message based mobile object that local PIM is integrated
CN102362272A (en) Device dependent on-demand compiling and deployment of mobile applications
CN102811379B (en) A kind of television set, message treatment method and system
CN101019376A (en) Method and system for monitoring server events in a node configuration by using direct communication between servers
CN101686145A (en) Equipment capable of upgrading, upgrading method and system
CN108712501A (en) Sending method, device, computing device and the storage medium of information
CN101326512A (en) Automated device blog creation
US7366505B2 (en) Apparatus and method for delivering messages to a mobile information terminal
CN101917394A (en) Middleware system for sharing data in mobile phone equipment and working method
CN110875850A (en) Firmware upgrading method and system, readable storage medium and terminal equipment
CN102937897A (en) Asynchronous data binding
CN100531059C (en) State synchronous system and method
WO2023020242A1 (en) Blockchain-based data processing method and apparatus, computer device, computer-readable storage medium, and computer program product
CN101675424A (en) Inter-process communication methods and apparatus for building scalable/redundant telecommunications systems
CN108877188A (en) A kind of environment protection digital concurrently acquires and Multi net voting dissemination method and device
CN203340096U (en) Interactive electric power communication network simulator
CN114205322A (en) Message sending method and device, electronic equipment and storage medium
CN101106489A (en) Status synchronization system and its method
WO2013161522A1 (en) Log collection server, log collection system, log collection method
CN201854301U (en) Middleware system for sharing data on mobile phones
CN107147522A (en) A kind of method and device for determining networking topological structure
EP4296922A1 (en) Method and apparatus for determining logistics product, and electronic device and computer-readable medium

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090819

Termination date: 20100629