CN105744617A - Synchronization method and device - Google Patents
Synchronization method and device Download PDFInfo
- Publication number
- CN105744617A CN105744617A CN201610101878.3A CN201610101878A CN105744617A CN 105744617 A CN105744617 A CN 105744617A CN 201610101878 A CN201610101878 A CN 201610101878A CN 105744617 A CN105744617 A CN 105744617A
- Authority
- CN
- China
- Prior art keywords
- information
- node
- downstream site
- superior node
- module
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
- H04W56/002—Mutual synchronization
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a synchronization method and a synchronization device. The synchronization method comprises the steps of reading an adjacency information table preset by a current node, wherein the adjacency information table comprises the address information of an upper node; sending heartbeat request information to the address information of the upper node; if receiving the heartbeat response information based on the heartbeat request information, sending caching information to the upper node, wherein the caching information comprises data information within a preset time slot; sending a user subscription information request to the upper mode; and receiving the user subscription data information which is sent by the upper mode and belongs to the current node, and updating the data according to the user subscription data information of the current node. According to the synchronization method and device, through synchronizing data information between the nodes in time, the accordance of each node data in the network can be ensured, the cross-regional roaming problem in the miniaturized LTE network can be effectively solved, and the network building cost and the network resources can be saved.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of synchronous method and device.
Background technology
Present stage, along with the development of communication technology, in increasing specific region, industry, adopt the LTE (LongTermEvolution of miniaturization, Long Term Evolution) communication network carries out data communication, to realize communication solution method end to end.
But, when the bigger needs in region are trans-regional realize network interconnection time, it is necessary to ensure zones of different data be consistent.Owing to being subject to the restriction of cost and resource, small-sized LTE network can not realize the consistent of data by deployment HSS (HomeSubscriberServer, home signature user server) network element entity as incumbent operator network.Therefore, how in small-sized LTE network, to realize trans-regional data consistent, be the problem needing solution badly.
Summary of the invention
The embodiment of the present invention provides a kind of synchronous method and device, it is possible to the data message between synchronization node in time, it is ensured that the concordance of data.
Embodiment of the present invention first aspect provides a kind of synchronous method, including:
Reading the adjacency information table that present node is preset, described adjacency information table includes the address information of superior node;
Heartbeat request information is sent to the address information of described superior node;
If receiving the heart beating response message based on described heartbeat request information, then sending cache information to described superior node, described cache information includes the data message in preset time period;
User signing contract information request is sent to described superior node;
Receive the user contracting data information belonging to described present node that described superior node sends, and the user contracting data information according to described present node carries out data renewal.
Alternatively, after the adjacency information table that described reading present node is preset, also include:
Set up cache table;
Being saved in described cache table by the information of described superior node, wherein, the information of described superior node includes address information and the status information of described superior node, and described status information includes malfunction and normal condition.
Alternatively, also including enumerator in described cache table, the initial value value of described enumerator is 0;
Described after the destination address transmission heartbeat request information of described superior node, also include:
If not receiving the heart beating response message based on described heartbeat request information, then the value of described enumerator is added 1;
Again heartbeat request information is sent to the destination address of described superior node after waiting the time preset;
If the value of described enumerator is 5, then confirm the connection chain rupture of described present node and described superior node;
If receiving the heart beating response message based on described heartbeat request information, then the value of described enumerator is reset to 0, the status information of described superior node is set to normal condition.
Embodiment of the present invention second aspect provides a kind of synchronous method, including:
If receiving the heartbeat request information that downstream site sends, then send heart beating response message according to described heartbeat request information;
Receiving the cache information that described downstream site sends, described cache information includes the user contracting data information in preset time period;
If receiving the user signing contract information request that described downstream site sends, then send the user contracting data information belonging to described downstream site to described downstream site, so that described downstream site carries out data renewal according to described user contracting data information.
Alternatively, described in receive downstream site send heartbeat request information, also include:
Set up cache table;
Being saved in described cache table by the information of described downstream site, wherein, the information of described downstream site includes: the address information of described downstream site and status information;
The status information of described downstream site is set to normal condition.
The embodiment of the present invention third aspect provides a kind of synchronizer, including:
Read module, for reading the adjacency information table that present node is preset, described adjacency information table includes the address information of superior node;
Heartbeat request module, for sending heartbeat request information to the address information of described superior node;
Sending module, for when receiving the heart beating response message based on described heartbeat request information, sending cache information to described superior node, described cache information includes the data message in preset time period;
Subscription request module, for sending user signing contract information request to described superior node;
More new module, for receiving the user contracting data information belonging to described present node that described superior node sends, and the user contracting data information according to described present node carries out data renewal.
Alternatively, described synchronizer also includes:
First sets up module, is used for setting up cache table;
First memory module, for being saved in described cache table by the information of described superior node, wherein, the information of described superior node includes address information and the status information of described superior node, and described status information includes malfunction and normal condition.
Alternatively, also including enumerator in described cache table, the initial value value of described enumerator is 0;
Described synchronizer also includes:
Counting module, for when not receiving the heart beating response message based on described heartbeat request information, adding 1 by the value of described enumerator;
Described sending module is additionally operable to after waiting the time preset and again sends heartbeat request information to the destination address of described superior node;
Confirm module, for when the value of described enumerator is 5, confirming the connection chain rupture of described present node and described superior node;
Described counting module is additionally operable to, when receiving the heart beating response message based on described heartbeat request information, the value of described enumerator be reset to 0;
Described confirmation module is additionally operable to the status information of described superior node is set to normal condition.
Fourth aspect present invention provides a kind of synchronizer, including:
Respond module, for when receiving the heartbeat request information that downstream site sends, sending heart beating response message according to described heartbeat request information;
Receiver module, for receiving the cache information that described downstream site sends, described cache information includes the user contracting data information in preset time period;
Signing module, for when receiving the user signing contract information request that described downstream site sends, then send the user contracting data information belonging to described downstream site to described downstream site, so that described downstream site carries out data renewal according to described user contracting data information.
Alternatively, described synchronizer also includes:
Second sets up module, is used for setting up cache table;
Second memory module, for being saved in described cache table by the information of described downstream site, wherein, the information of described downstream site includes address information and the status information of described downstream site;
Module is set, for the status information of described downstream site is set to normal condition.
Implement the embodiment of the present invention, have the advantages that
When present node startup or re-accessing network, superior node sends heartbeat request information, and superior node sends cache information when receiving heart beating return information, it is possible to ensure the information of present node is synchronized to superior node in time;Meanwhile, by receiving the user contracting data information belonging to present node that superior node sends, and data renewal is carried out according to described user contracting data information, it is possible to ensure the synchronizing information of superior node to present node;By synchronizing each internodal data message in time, it can be ensured that in network, each node data is consistent, effectively solve the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, saved Internet resources.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The implementation environment figure of a kind of synchronous method that Fig. 1 provides for the embodiment of the present invention.
The signal flow graph of a kind of synchronous method that Fig. 2 provides for the embodiment of the present invention.
The flow chart of a kind of synchronous method first embodiment that Fig. 3 provides for the embodiment of the present invention.
The flow chart of a kind of synchronous method the second embodiment that Fig. 4 provides for the embodiment of the present invention.
The flow chart of the another kind of synchronous method first embodiment that Fig. 5 provides for the embodiment of the present invention.
The flow chart of another kind of synchronous method the second embodiment that Fig. 6 provides for the embodiment of the present invention.
The structural representation of a kind of synchronizer first embodiment that Fig. 7 provides for the embodiment of the present invention.
The structural representation of a kind of synchronizer the second embodiment that Fig. 8 provides for the embodiment of the present invention.
The structural representation of the another kind of synchronizer first embodiment that Fig. 9 provides for the embodiment of the present invention.
The structural representation of another kind of synchronizer the second embodiment that Figure 10 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " and " the 3rd " etc. are for distinguishing different object, not for describing particular order.Additionally, term " including " and their any deformation, it is intended that cover non-exclusive comprising.Such as contain series of steps or the process of unit, method, system, product or equipment are not limited to step or the unit listed, but also include step or the unit do not listed alternatively, or also include other step intrinsic for these processes, method, product or equipment or unit alternatively.
The implementation environment figure of a kind of synchronous method that Fig. 1 provides for the embodiment of the present invention.As shown being the schematic diagram of miniaturization LTE network, in this miniaturization LTE network, adopt hierarchical structure, each level is provided with multiple node, the first level is node 100, and the second level is node 200-203, and third layer level is node 300-303.In the present embodiment, described synchronous method is applied on each node, and wherein each node can be equipment of the core network, such as EPC (EvolvedPacketCore, evolution block core net) equipment etc., each node may be used for the terminal in certain area and accesses.As shown in the figure, described node 300 and node 302 lay respectively in different regions, when the region that the terminal roaming belonging to node 300 covers to node 302, owing to the data message of terminal is saved in node 300, therefore, need to be synchronized in node 302 in time by the data of node 300, the support to terminal roaming could be realized.In the present embodiment, first related data is sent in superior node 201 by node 300, superior node 201 further transmits data in superior node 100, superior node 100 is by data distributing to node 203, and it is issued to node 302 by node 203, thus realizing the unification of data with consistent, it is achieved the support to terminal roaming.
The signal flow graph of a kind of synchronous method that Fig. 2 provides for the embodiment of the present invention.The signal that there is shown between present node 300 and superior node 201 flows to schematic diagram, it is to be understood that also apply be applicable in the signal of node 201 and superior node 100 flow direction.As it can be seen, when node 300 starts, by reading default adjacency list, obtain the address information of superior node 201;Node 300 superior node 201 sends heartbeat request information;Superior node 201, after receiving this heartbeat request information, replys corresponding heart beating response message;The node 300 all cache informations after receiving heart beating response message, on sending node 300;When there being trans-regional terminal request access node 300, the node 300 request according to terminal, superior node 201 sends user signing contract information request;Superior node 201 receives this request, and issues the user signing contract information belonging to this node according to this request;Node 300 carries out data renewal according to this user signing contract information, it is achieved thereby that data consistent in network and unification, it is achieved that the roaming support to trans-regional terminal.
The flow chart of a kind of synchronous method first embodiment that Fig. 3 provides for the embodiment of the present invention.In the present embodiment, described synchronous method is applied to node device, described node device can be EPC equipment, this node device is integrated with MME (MobileManagementEntity, mobile management entity), SGW (ServingGateWay, gateway), PGW (PacketdatanetworkGateWay, packet data network gateway) and HSS (HomeSubscriberServer, home subscriber server) etc. network element, said network element presents concentrating form on one server or in a small-sized frame device.Synchronous method in the present embodiment is applied to node device and carries out synchronizing information with superior node, such as, can apply to the synchronizing information of the node 300 shown in Fig. 1 and superior node 201, it is also possible to be applied to the synchronizing information of the node 201 shown in Fig. 1 and superior node 100.This synchronous method includes step S101-S105.
In step S101, reading the adjacency information table that present node is preset, described adjacency information table includes the address information of superior node.
Concrete, when setting up small-sized LTE network, the adjacency information table of each node device can be configured, described adjacency information table includes the address information of superior node, and optionally, described address information refers to the address information of superior node HSS.Additionally, each node device also can be provided with corresponding user contracting data in an initial condition, it is used for as the Terminal for service in predeterminable area.When node device starts or from when replying off-state, node device, by reading the adjacency information table preset, obtains the address information of superior node.
In step s 102, heartbeat request information is sent to the address information of described superior node.
Concrete, present node superior node sends heartbeat request information, and whether described heartbeat request information can be used for judgement normal with the connection of superior node.
In step s 103, if receiving the heart beating response message based on described heartbeat request information, then sending cache information to described superior node, described cache information includes the data message in preset time period.
Concrete, when receive that superior node replys based on the heart beating response message of heartbeat request information time, it was shown that being now normal with the connection of superior node, now superior node sends cache information.Described cache information includes the data message in preset time period, described data message can be modification information and other information of user signing contract information, when node is in broken string state in certain time period, by being cache information by the data information memory in this time period, and again send after a connection is established, it is possible to strengthen the reliability of data.
In step S104, send user signing contract information request to described superior node.
Concrete, if receiving the connection request of trans-regional terminal, or arriving the synchronizing time point preset, present node can send user signing contract information request by superior node.
In step S105, receive the user contracting data information belonging to described present node that described superior node sends, and the user contracting data information according to described present node carries out data renewal.
Concrete, superior node, after receiving user signing contract information request, issues the user contracting data information belonging to present node, and present node receives this user contracting data information, and the user contracting data information according to described present node carries out data renewal.Wherein, described data update and include this user contracting data information covering this locality and triggering the data renewal of internal memory, webmaster.
Above-mentioned known, synchronous method in the embodiment of the present invention, when present node startup or re-accessing network, superior node sends heartbeat request information, and superior node sends cache information when receiving heart beating return information, it is possible to ensure the information of present node is synchronized to superior node in time;Meanwhile, by receiving the user contracting data information belonging to present node that superior node sends, and data renewal is carried out according to described user contracting data information, it is possible to ensure the synchronizing information of superior node to present node;By synchronizing each internodal data message in time, it can be ensured that in network, each node data is consistent, effectively solve the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, saved Internet resources.
The flow chart of a kind of synchronous method the second embodiment that Fig. 4 provides for the embodiment of the present invention.First embodiment shown in comparison diagram 3, in the present embodiment, present node can also preserve the information of other nodes by setting up cache table, consequently facilitating network operation.This synchronous method includes step S201-S212.
In step s 201, reading the adjacency information table that present node is preset, described adjacency information table includes the address information of superior node.
In step S202, set up cache table.
Concrete, in the present embodiment, described node device sets up cache table, described cache table is for storing the information of other node devices, wherein, described cache table cannot be only used for the information of storage superior node, it is also possible to for storing the information of downstream site when receiving the heartbeat request of downstream site.
In step S203, being saved in described cache table by the information of described superior node, wherein, the information of described superior node includes address information and the status information of described superior node.
Concrete, the information of superior node is saved in cache table, described information includes address information and the status information of described superior node.Alternatively, described information also can farther include IMSI (InternationalMobileSubscriberIdentificationNumber, international mobile subscriber identity) number section of node, enumerator.Wherein, the initial value of described enumerator is 0, and described enumerator is for counting to judge the connection status of corresponding node.Described status information includes malfunction and normal condition.Alternatively, the original state of the status information of described superior node is malfunction.
In step S204, send heartbeat request information to the address information of described superior node.
In step S205, it may be judged whether receive heart beating response message.
Concrete, it may be judged whether receiving the heart beating response message based on heartbeat request information, if receiving, then entering in step S206;If not receiving, then enter in step S210.
In step S206, if receiving the heart beating response message based on described heartbeat request information, then the value of enumerator is reset to 0, the status information of described superior node is set to normal condition.
Concrete, when receiving heart beating response message, it was shown that now normal with the connection of superior node, now the status information of superior node is set to normal condition.
In step S207, sending cache information to described superior node, described cache information includes the data message in preset time period.
In step S208, send user signing contract information request to described superior node.
In step S209, receive the user contracting data information belonging to described present node that described superior node sends, and the user contracting data information according to described present node carries out data renewal.
In step S210, if not receiving the heart beating response message based on described heartbeat request information, then the value of described enumerator is added 1.
Concrete, if not receiving heart beating response message, then the value of enumerator is added 1, and proceed in step S204, again send heart beating response message.Alternatively, it is also possible to arrange an intervalometer, after waiting timer timing completes, entering back into and carry out in step S204 sending at this, the time of described intervalometer can pre-set.
In step S211, it is judged that whether the value of described enumerator is 5.
Concrete, in this step, before again sending heart beating response message, in addition it is also necessary to whether the value judging nonce counter is 5.If the value of this enumerator is 5, it was shown that have sent 5 heartbeat request, all do not receive heart beating response, now it is believed that with the connection chain rupture of superior node, now enter step S212,;If the value of this enumerator is not 5, then enters in step S204, be transmitted at this.
It is understood that this step S211 is optional step, namely do not receive in step S210 after heart beating response message, it is possible to be directly entered in step S204 and be repeated sending.Enumerator criterion value 5 in this step can also be other numerical value, and the embodiment of the present invention is not limited thereto.
In step S212, confirm the connection chain rupture of present node and described superior node.
Concrete, when enumerator is 5, confirm the connection chain rupture of present node and described superior node.Now it is believed that there is fault between present node and superior node, it is possible to notify that related personnel safeguards by the mode sent a notification message.
Above-mentioned known, synchronous method in the embodiment of the present invention, when present node startup or re-accessing network, superior node sends heartbeat request information, and superior node sends cache information when receiving heart beating return information, it is possible to ensure the information of present node is synchronized to superior node in time;Meanwhile, by receiving the user contracting data information belonging to present node that superior node sends, and data renewal is carried out according to described user contracting data information, it is possible to ensure the synchronizing information of superior node to present node;In addition, also by setting up cache table to preserve the information of corresponding node, it is easy to follow-up administering and maintaining, the embodiment of the present invention is by synchronizing each internodal data message in time, what be able to ensure that in network each node data is consistent, effectively solve the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, saved Internet resources.
The flow chart of the another kind of synchronous method first embodiment that Fig. 5 provides for the embodiment of the present invention.In the present embodiment, described synchronous method is applied to node device, described node device can be EPC equipment, this node device is integrated with MME (MobileManagementEntity, mobile management entity), SGW (ServingGateWay, gateway), PGW (PacketdatanetworkGateWay, packet data network gateway) and HSS (HomeSubscriberServer, home subscriber server) etc. network element, said network element presents concentrating form on one server or in a small-sized frame device.Synchronous method in the present embodiment is applied to node device and receives the information of downstream site, carries out synchronizing information with downstream site.Such as, it is possible to be applied to the information of node 100 receiving node 201, it is also possible to be applied to the information of node 201 receiving node 300.This synchronous method includes step S301-S303.
In step S301, if receiving the heartbeat request information that downstream site sends, then send heart beating response message according to described heartbeat request information.
Concrete, when current node device receives the heartbeat request information that downstream site sends, according to this heartbeat request information-reply heart beating response message.
In step s 302, receiving the cache information that described downstream site sends, described cache information includes the user contracting data information in preset time period.
Concrete, downstream site, after receiving heart beating response message, can send cache information.Now node device receives the cache information that downstream site sends.Wherein, described cache information includes the user contracting data information in preset time period.
In step S303, if receiving the user signing contract information request that described downstream site sends, then send the user contracting data information belonging to described downstream site to described downstream site, so that described downstream site carries out data renewal according to described user contracting data information.
Concrete, if receiving the user signing contract information request that downstream site sends, then in the data base of storage, search the user contracting data information belonging to this downstream site, and described user contracting data information is issued to this downstream site.Described downstream site carries out data renewal according to this user contracting data information.
Above-mentioned known, synchronous method in the embodiment of the present invention, heart beating response message is replied when receiving the heartbeat request that downstream site sends, receive the cache information that downstream site sends, and the request according to downstream site issues the user contracting data information belonging to this downstream site, it is thus possible to the synchronizing information completed between downstream site, guarantee the consistent of each node data in network, effectively solve the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, save Internet resources.
The flow chart of another kind of synchronous method the second embodiment that Fig. 6 provides for the embodiment of the present invention.First embodiment shown in comparison diagram 5, in the present embodiment, present node can also preserve the information of other nodes by setting up cache table, consequently facilitating network operation.This synchronous method includes step S401-S406.
In step S401, if receiving the heartbeat request information that downstream site sends, then send heart beating response message according to described heartbeat request information.
In step S402, set up cache table.
Concrete, described node device sets up cache table, and described cache table is for storing the information of other node devices, wherein, described cache table cannot be only used for storing the information of downstream site when receiving the heartbeat request of downstream site, it is also possible to for storing the information of superior node.
In step S403, being saved in described cache table by the information of described downstream site, wherein, the information of described downstream site includes: the address information of described downstream site and status information.
Concrete, after the heartbeat request information receiving downstream site, the information of described downstream site is saved in described cache table, the information of described downstream site includes: the address information of described downstream site and status information, alternatively, described information also can farther include IMSI (InternationalMobileSubscriberIdentificationNumber, international mobile subscriber identity) number section of node.Wherein, described status information includes normal condition and malfunction.
In step s 404, the status information of described downstream site is set to normal condition.
Concrete, owing to have received the heartbeat request information of downstream site, therefore, in cache table, the heartbeat request information of downstream site is set to normal condition.
In step S405, receiving the cache information that described downstream site sends, described cache information includes the user contracting data information in preset time period.
In step S406, if receiving the user signing contract information request that described downstream site sends, then send the user contracting data information belonging to described downstream site to described downstream site, so that described downstream site carries out data renewal according to described user contracting data information.
Above-mentioned known, synchronous method in the embodiment of the present invention, heart beating response message is replied when receiving the heartbeat request that downstream site sends, receive the cache information that downstream site sends, and the request according to downstream site issues the user contracting data information belonging to this downstream site, it is thus possible to the synchronizing information completed between downstream site, guarantee the consistent of each node data in network, in addition, also by setting up cache table to preserve the information of corresponding node, it is easy to follow-up administering and maintaining, the embodiment of the present invention effectively solves the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, Internet resources are saved.
For ease of better implementing the such scheme of the embodiment of the present invention, it is also provided below for coordinating the relevant apparatus implementing such scheme.
The structural representation of a kind of synchronizer first embodiment that Fig. 7 provides for the embodiment of the present invention.In the present embodiment, described synchronizer is applied to node device, described node device can be EPC equipment, this node device is integrated with MME (MobileManagementEntity, mobile management entity), SGW (ServingGateWay, gateway), PGW (PacketdatanetworkGateWay, packet data network gateway) and HSS (HomeSubscriberServer, home subscriber server) etc. network element, said network element presents concentrating form on one server or in a small-sized frame device.Synchronizer in the present embodiment is applied to node device and carries out synchronizing information with superior node.
This synchronizer includes:
Read module 501, for reading the adjacency information table that present node is preset, described adjacency information table includes the address information of superior node;
Heartbeat request module 502, for sending heartbeat request information to the address information of described superior node;
Sending module 503, for when receiving the heart beating response message based on described heartbeat request information, sending cache information to described superior node, described cache information includes the data message in preset time period;
Subscription request module 504, for sending user signing contract information request to described superior node;
More new module 505, for receiving the user contracting data information belonging to described present node that described superior node sends, and the user contracting data information according to described present node carries out data renewal.
It is understood that the function of each functional module of the device of the present embodiment can implement according to the method in said method embodiment, it implements process and is referred to the associated description of said method embodiment, no longer repeats herein.
Above-mentioned known, synchronizer in the embodiment of the present invention, when present node startup or re-accessing network, superior node sends heartbeat request information, and superior node sends cache information when receiving heart beating return information, it is possible to ensure the information of present node is synchronized to superior node in time;Meanwhile, by receiving the user contracting data information belonging to present node that superior node sends, and data renewal is carried out according to described user contracting data information, it is possible to ensure the synchronizing information of superior node to present node;By synchronizing each internodal data message in time, it can be ensured that in network, each node data is consistent, effectively solve the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, saved Internet resources.
The structural representation of a kind of synchronizer the second embodiment that Fig. 8 provides for the embodiment of the present invention.In the present embodiment, described synchronizer can farther include:
First sets up module 506, is used for setting up cache table;
First memory module 507, for being saved in described cache table by the information of described superior node, wherein, the information of described superior node includes address information and the status information of described superior node, and described status information includes malfunction and normal condition.
Alternatively, also including enumerator in described cache table, the initial value value of described enumerator is 0;
Alternatively, described synchronizer also can farther include:
Counting module 508, for when not receiving the heart beating response message based on described heartbeat request information, adding 1 by the value of described enumerator;
Described sending module 503 is additionally operable to after waiting the time preset and again sends heartbeat request information to the destination address of described superior node;
Confirm module 509, for when the value of described enumerator is 5, confirming the connection chain rupture of described present node and described superior node;
Described counting module 508 is additionally operable to, when receiving the heart beating response message based on described heartbeat request information, the value of described enumerator be reset to 0;
Described confirmation module 509 is additionally operable to the status information of described superior node is set to normal condition.
It is understood that the function of each functional module of the device of the present embodiment can implement according to the method in said method embodiment, it implements process and is referred to the associated description of said method embodiment, no longer repeats herein.
Above-mentioned known, synchronizer in the embodiment of the present invention, when present node startup or re-accessing network, superior node sends heartbeat request information, and superior node sends cache information when receiving heart beating return information, it is possible to ensure the information of present node is synchronized to superior node in time;Meanwhile, by receiving the user contracting data information belonging to present node that superior node sends, and data renewal is carried out according to described user contracting data information, it is possible to ensure the synchronizing information of superior node to present node;In addition, also by setting up cache table to preserve the information of corresponding node, it is easy to follow-up administering and maintaining, the embodiment of the present invention is by synchronizing each internodal data message in time, what be able to ensure that in network each node data is consistent, effectively solve the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, saved Internet resources.
The structural representation of the another kind of synchronizer first embodiment that Fig. 9 provides for the embodiment of the present invention.In the present embodiment, described synchronous method is applied to node device, described node device can be EPC equipment, this node device is integrated with MME (MobileManagementEntity, mobile management entity), SGW (ServingGateWay, gateway), PGW (PacketdatanetworkGateWay, packet data network gateway) and HSS (HomeSubscriberServer, home subscriber server) etc. network element, said network element presents concentrating form on one server or in a small-sized frame device.Synchronizer in the present embodiment is applied to node device and receives the information of downstream site, carries out synchronizing information with downstream site.
This synchronizer includes:
Respond module 601, for when receiving the heartbeat request information that downstream site sends, sending heart beating response message according to described heartbeat request information;
Receiver module 602, for receiving the cache information that described downstream site sends, described cache information includes the user contracting data information in preset time period;
Signing module 603, for when receiving the user signing contract information request that described downstream site sends, then send the user contracting data information belonging to described downstream site to described downstream site, so that described downstream site carries out data renewal according to described user contracting data information.
It is understood that the function of each functional module of the device of the present embodiment can implement according to the method in said method embodiment, it implements process and is referred to the associated description of said method embodiment, no longer repeats herein.
Above-mentioned known, synchronizer in the embodiment of the present invention, heart beating response message is replied when receiving the heartbeat request that downstream site sends, receive the cache information that downstream site sends, and the request according to downstream site issues the user contracting data information belonging to this downstream site, it is thus possible to the synchronizing information completed between downstream site, guarantee the consistent of each node data in network, effectively solve the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, save Internet resources.
The structural representation of another kind of synchronizer the second embodiment that Figure 10 provides for the embodiment of the present invention.In the present embodiment, described synchronizer also can farther include:
Second sets up module 604, is used for setting up cache table;
Second memory module 605, for being saved in described cache table by the information of described downstream site, wherein, the information of described downstream site includes address information and the status information of described downstream site;
Module 606 is set, for the status information of described downstream site is set to normal condition.
It is understood that the function of each functional module of the device of the present embodiment can implement according to the method in said method embodiment, it implements process and is referred to the associated description of said method embodiment, no longer repeats herein.
Above-mentioned known, synchronizer in the embodiment of the present invention, heart beating response message is replied when receiving the heartbeat request that downstream site sends, receive the cache information that downstream site sends, and the request according to downstream site issues the user contracting data information belonging to this downstream site, it is thus possible to the synchronizing information completed between downstream site, guarantee the consistent of each node data in network, in addition, also by setting up cache table to preserve the information of corresponding node, it is easy to follow-up administering and maintaining, the embodiment of the present invention effectively solves the trans-regional roaming problem in miniaturization LTE network, save network rack and be set as this, Internet resources are saved.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
Above disclosed it is only present pre-ferred embodiments, certainly can not limit the interest field of the present invention, the equivalent variations therefore made according to the claims in the present invention with this, still belong to the scope that the present invention contains.
Claims (10)
1. a synchronous method, it is characterised in that including:
Reading the adjacency information table that present node is preset, described adjacency information table includes the address information of superior node;
Heartbeat request information is sent to the address information of described superior node;
If receiving the heart beating response message based on described heartbeat request information, then sending cache information to described superior node, described cache information includes the data message in preset time period;
User signing contract information request is sent to described superior node;
Receive the user contracting data information belonging to described present node that described superior node sends, and the user contracting data information according to described present node carries out data renewal.
2. synchronous method as claimed in claim 1, it is characterised in that after the adjacency information table that described reading present node is preset, also include:
Set up cache table;
Being saved in described cache table by the information of described superior node, wherein, the information of described superior node includes address information and the status information of described superior node, and described status information includes malfunction and normal condition.
3. synchronous method as claimed in claim 2, it is characterised in that also including enumerator in described cache table, the initial value value of described enumerator is 0;
Described after the destination address transmission heartbeat request information of described superior node, also include:
If not receiving the heart beating response message based on described heartbeat request information, then the value of described enumerator is added 1;
Again heartbeat request information is sent to the destination address of described superior node after waiting the time preset;
If the value of described enumerator is 5, then confirm the connection chain rupture of described present node and described superior node;
If receiving the heart beating response message based on described heartbeat request information, then the value of described enumerator is reset to 0, the status information of described superior node is set to normal condition.
4. a synchronous method, it is characterised in that including:
If receiving the heartbeat request information that downstream site sends, then send heart beating response message according to described heartbeat request information;
Receiving the cache information that described downstream site sends, described cache information includes the user contracting data information in preset time period;
If receiving the user signing contract information request that described downstream site sends, then send the user contracting data information belonging to described downstream site to described downstream site, so that described downstream site carries out data renewal according to described user contracting data information.
5. synchronous method as claimed in claim 4, it is characterised in that described in receive the heartbeat request information that downstream site sends, also include:
Set up cache table;
Being saved in described cache table by the information of described downstream site, wherein, the information of described downstream site includes: the address information of described downstream site and status information;
The status information of described downstream site is set to normal condition.
6. a synchronizer, it is characterised in that including:
Read module, for reading the adjacency information table that present node is preset, described adjacency information table includes the address information of superior node;
Heartbeat request module, for sending heartbeat request information to the address information of described superior node;
Sending module, for when receiving the heart beating response message based on described heartbeat request information, sending cache information to described superior node, described cache information includes the data message in preset time period;
Subscription request module, for sending user signing contract information request to described superior node;
More new module, for receiving the user contracting data information belonging to described present node that described superior node sends, and the user contracting data information according to described present node carries out data renewal.
7. synchronizer as claimed in claim 6, it is characterised in that also include:
First sets up module, is used for setting up cache table;
First memory module, for being saved in described cache table by the information of described superior node, wherein, the information of described superior node includes address information and the status information of described superior node, and described status information includes malfunction and normal condition.
8. synchronizer as claimed in claim 7, it is characterised in that also including enumerator in described cache table, the initial value value of described enumerator is 0;
Described synchronizer also includes:
Counting module, for when not receiving the heart beating response message based on described heartbeat request information, adding 1 by the value of described enumerator;
Described sending module is additionally operable to after waiting the time preset and again sends heartbeat request information to the destination address of described superior node;
Confirm module, for when the value of described enumerator is 5, confirming the connection chain rupture of described present node and described superior node;
Described counting module is additionally operable to, when receiving the heart beating response message based on described heartbeat request information, the value of described enumerator be reset to 0;
Described confirmation module is additionally operable to the status information of described superior node is set to normal condition.
9. a synchronizer, it is characterised in that including:
Respond module, for when receiving the heartbeat request information that downstream site sends, sending heart beating response message according to described heartbeat request information;
Receiver module, for receiving the cache information that described downstream site sends, described cache information includes the user contracting data information in preset time period;
Signing module, for when receiving the user signing contract information request that described downstream site sends, then send the user contracting data information belonging to described downstream site to described downstream site, so that described downstream site carries out data renewal according to described user contracting data information.
10. synchronizer as claimed in claim 9, it is characterised in that also include:
Second sets up module, is used for setting up cache table;
Second memory module, for being saved in described cache table by the information of described downstream site, wherein, the information of described downstream site includes address information and the status information of described downstream site;
Module is set, for the status information of described downstream site is set to normal condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610101878.3A CN105744617B (en) | 2016-02-25 | 2016-02-25 | Synchronization method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610101878.3A CN105744617B (en) | 2016-02-25 | 2016-02-25 | Synchronization method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105744617A true CN105744617A (en) | 2016-07-06 |
CN105744617B CN105744617B (en) | 2020-01-14 |
Family
ID=56248421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610101878.3A Expired - Fee Related CN105744617B (en) | 2016-02-25 | 2016-02-25 | Synchronization method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105744617B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547512A (en) * | 2017-07-14 | 2018-01-05 | 新华三云计算技术有限公司 | User authen method and device in a kind of multistage cloud platform |
CN109298981A (en) * | 2018-09-27 | 2019-02-01 | 郑州云海信息技术有限公司 | Method of data synchronization, system between a kind of PCIE dual redundant chip |
CN110149495A (en) * | 2019-04-08 | 2019-08-20 | 视联动力信息技术股份有限公司 | State display method and device based on view networking |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296502A (en) * | 2007-04-28 | 2008-10-29 | 华为技术有限公司 | Method and device for sending short messages after exception of user signing data |
CN102801782A (en) * | 2012-06-28 | 2012-11-28 | 大唐移动通信设备有限公司 | Synchronous updating method and system for data |
US20150006613A1 (en) * | 2010-05-28 | 2015-01-01 | Medconnex / 6763294 Canada inc. | System and method for providing hybrid on demand services to a work unit |
CN104504062A (en) * | 2014-12-22 | 2015-04-08 | 浙江宇视科技有限公司 | Data synchronization method and device of primary and standby databases |
-
2016
- 2016-02-25 CN CN201610101878.3A patent/CN105744617B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296502A (en) * | 2007-04-28 | 2008-10-29 | 华为技术有限公司 | Method and device for sending short messages after exception of user signing data |
US20150006613A1 (en) * | 2010-05-28 | 2015-01-01 | Medconnex / 6763294 Canada inc. | System and method for providing hybrid on demand services to a work unit |
CN102801782A (en) * | 2012-06-28 | 2012-11-28 | 大唐移动通信设备有限公司 | Synchronous updating method and system for data |
CN104504062A (en) * | 2014-12-22 | 2015-04-08 | 浙江宇视科技有限公司 | Data synchronization method and device of primary and standby databases |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107547512A (en) * | 2017-07-14 | 2018-01-05 | 新华三云计算技术有限公司 | User authen method and device in a kind of multistage cloud platform |
CN107547512B (en) * | 2017-07-14 | 2020-04-17 | 新华三云计算技术有限公司 | User authentication method and device in multi-level cloud platform |
CN109298981A (en) * | 2018-09-27 | 2019-02-01 | 郑州云海信息技术有限公司 | Method of data synchronization, system between a kind of PCIE dual redundant chip |
CN110149495A (en) * | 2019-04-08 | 2019-08-20 | 视联动力信息技术股份有限公司 | State display method and device based on view networking |
Also Published As
Publication number | Publication date |
---|---|
CN105744617B (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9271222B2 (en) | Method and apparatus for implementing access to machine to machine (M2M) core network | |
CN109729181A (en) | A kind of method for accessing domain name and equipment | |
EP2528406B1 (en) | Method based on a machine to machine (m2m) application | |
CN106060900A (en) | Method and apparatus for controlling access to network slicing, terminal small cell and SDN controller | |
EP3413537A1 (en) | Method of transmitting information and core network access apparatus | |
CN106162825A (en) | Processing method that a kind of registered network is failed and terminal | |
CN104618312A (en) | Remote registration method, device and system for M2M (Machine-to-Machine) application | |
CN104243406A (en) | Terminal access authentication method and device in internet of things system | |
EP3432151A1 (en) | Service node selection and query method, apparatus and system | |
CN109417492A (en) | A kind of network function NF management method and NF management equipment | |
WO2019091307A1 (en) | Communication method and device | |
CN113453213A (en) | Authentication data synchronization method and device | |
EP3185598B1 (en) | Application registration method and apparatus | |
CN105744617A (en) | Synchronization method and device | |
CN109644335A (en) | A kind of processing method of identification information, database control system and relevant device | |
CN103702368B (en) | A kind of SGSN systems of selection and equipment | |
CN107005842A (en) | Method for authenticating, relevant apparatus and system in a kind of cordless communication network | |
CN102196449B (en) | Wireless communication system and method for assigning physical-layer cell ID of base stations in wireless communication system | |
CN103379579A (en) | Message transmitting method, message transmitting device and method for accessing terminal to PLMN | |
CN110336794A (en) | A kind of Intranet access method, system and relevant apparatus | |
CN103051484B (en) | Session service processing method, system and Session Border Controll | |
CN112752352B (en) | Method and equipment for determining I-SMF (intermediate session management function) | |
CN111163033B (en) | Message forwarding method and device, communication network element and computer readable storage medium | |
CN108029014A (en) | The method and apparatus for managing user equipment | |
EP3174322A1 (en) | Method for deleting notification resource, and common service entity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200114 |
|
CF01 | Termination of patent right due to non-payment of annual fee |