CN108809681A - A kind of method, apparatus and system for verifying data consistency - Google Patents
A kind of method, apparatus and system for verifying data consistency Download PDFInfo
- Publication number
- CN108809681A CN108809681A CN201710309227.8A CN201710309227A CN108809681A CN 108809681 A CN108809681 A CN 108809681A CN 201710309227 A CN201710309227 A CN 201710309227A CN 108809681 A CN108809681 A CN 108809681A
- Authority
- CN
- China
- Prior art keywords
- node
- data
- terminal
- terminal data
- synchronizing information
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
Abstract
A kind of method, apparatus and system for verifying data consistency contribute to the possibility for reducing communication failure.Wherein this method includes:Host node generates terminal data synchronizing information, and terminal data and terminal data synchronizing information are sent to data backup node, and terminal data synchronizing information is sent to terminal device.When host node breaks down, terminal data synchronizing information is sent to slave node by terminal device, when terminal data synchronizing information that slave node is sent in the terminal device that receives and the different terminal data synchronizing information stored in the data backup node got, processing is synchronized to the terminal data in the terminal data and terminal device that are backed up in data backup node.Due to introducing terminal data synchronizing information so that for host node when breaking down, slave node can judge the consistency of terminal data based on terminal data synchronizing information, take over to helping to improve slave node and be capable of the probability of normal communication after host node.
Description
Technical field
This application involves field of communication technology, more particularly to a kind of method, apparatus and system for verifying data consistency.
Background technology
Communication network is the network system of a high reliability, and general quality standard is to provide the availability of " 59 ",
The time no more than (1-99.999%) can only be tolerated because failure is unavailable, be approximately equivalent to 1 year communication disruption and be no more than 5 points
Clock.In order to meet the requirement of communication network high availability, various technological means are used at present to promote communication equipment and network
The reliability of link, wherein Hot Spare are a kind of common technological means.
In specific implementation, there are many realization methods, such as main-standby nodes backup mode, independent data library backup for Hot Spare
Mode.Wherein in main-standby nodes backup mode, it is configured with the host node and slave node of equity, specific host node is in normal work
In the case of making state, (such as creates new data when the terminal data on host node changes, deletes data or modification number
According to) when, the terminal data of variation is synchronized to slave node by host node, when host node breaks down, is then switched to slave node
Master state, since slave node has backed up the terminal data in host node, can be substituted and be broken down to substitute host node
Host node work, to reduce the possibility of communication disruption.But in main-standby nodes backup mode, slave node phase
It is larger to occupying resource, and when active and standby node just simultaneous faults, then communication failure can occur, and in self contained data base
In backup mode, the database for backup is not to be directly embedded into slave node, and be independently of slave node deployment and operation
Node (hereinafter referred to as data backup node).Specifically, in self contained data base backup mode, host node is in terminal data
When changing, the terminal data of variation is synchronized in data backup node, when host node breaks down, then passes through data
Terminal data in the host node to break down is synchronized on one or more network equipments working properly by backup node, will
This one or more network equipment working properly works as slave node to take over the host node to break down, this heat
Backup mode can handle the case where large area host node breaks down.
However communication in a communications system is to communicate end to end under normal conditions, is related to terminal device, Yi Jiduo
A network equipment, wherein each network equipment be a node, these nodes by establish terminal data (such as session context,
Endpoint registration context etc.) it is communicated to realize, when the terminal data that each node is established is consistent, to realize terminal and network
The normal communication of equipment room.Due to that when one of network equipment breaks down, will be switched to the network equipment, (network will be set
Standby as host node) backup network equipment (backup network equipment is slave node) on work, and Hot Spare is there are the time difference, when
Difference is bigger, be more susceptible to backup terminal data and communication system in the inconsistent situation of terminal data in other equipment,
Lead to the failure communicated when host node is switched to slave node.Such as when host node breaks down, do not have enough time also backing up
Communication link between changed terminal data or host node and data backup node break down etc. can all cause it is standby
The terminal data of part situation inconsistent with the terminal data in other nodes.
Invention content
The embodiment of the present invention provides a kind of method, apparatus and system for verifying data consistency, helps to reduce Hot Spare
Caused terminal data causes the possibility of communication failure when inconsistent.
In a first aspect, a kind of method for verifying data consistency is provided, including:
Host node generates terminal data synchronizing information, and by the terminal data after variation when terminal data changes
It is sent to data backup node with terminal data synchronizing information, and terminal data synchronizing information is sent to terminal device;Its
In, data backup node is the node for backing up terminal data in host node, and terminal data synchronizing information is used to indicate main section
Terminal data after changing in point.
Since host node is when terminal data changes, terminal data synchronizing information is sent to terminal device and data
Backup node, therefore can judge that the terminal data backed up in data backup node and terminal are set based on terminal data synchronizing information
Whether the terminal data in standby is consistent, so as to timely take corresponding treatment measures when inconsistent, thus contributes to
Reduce the possibility due to the inconsistent caused communication failure of terminal data.
Based in a first aspect, in a kind of possible design, data backup node is slave node;Or data backup node
For that can be accessed by slave node and independently of the node of slave node;Wherein, slave node is for being connect when host node breaks down
For the node of host node.
Based in a first aspect, in a kind of possible design, terminal data synchronizing information is that terminal data is sent out in host node
The cumulative frequency for changing;Alternatively, terminal data synchronizing information is the changed temporal information of terminal data in host node;Or
Person, terminal data synchronizing information are a random identification.
Based on first aspect in a kind of possible design, terminal data synchronizing information is sent to the main section of target by host node
Point, the target host node generate new terminal data synchronizing information based on the terminal data synchronizing information.
Second aspect provides a kind of method for verifying data consistency, including:
Terminal device receives the terminal data synchronizing information that host node is sent, and terminal data synchronizing information is used to indicate main section
Terminal data after changing in point;When host node breaks down, the terminal data that terminal device receives the last time is same
Step information is sent to slave node, and slave node is the node that host node is taken over when host node breaks down.
Since terminal device can be when host node breaks down, by the last terminal data synchronizing information received
The end for being sent to slave node, therefore slave node being enabled to judge to back up in data backup node based on terminal data synchronizing information
Whether end data is consistent with the terminal data in terminal device, so as to timely take corresponding processing to arrange when inconsistent
It applies, thus helps to reduce the possibility due to the inconsistent caused communication failure of terminal data.
Based on second aspect, in a kind of possible design, when host node breaks down, terminal device is sent out to slave node
Terminal data in end equipment of making arrangements for his funeral.
Based on second aspect, in a kind of possible design, terminal device sends the terminal in terminal device to slave node
Before data, the terminal data synchronization request of slave node transmission is received.
The third aspect provides a kind of method for verifying data consistency, including:
It is deposited in first terminal data synchronization information and acquisition data backup node that slave node receiving terminal apparatus is sent
The second terminal data synchronization information of storage, in second terminal data synchronization information and first terminal data synchronization information difference,
Processing is synchronized to the terminal data in the terminal data and terminal device that are backed up in data backup node;Wherein, first eventually
End data synchronizing information is that is received terminal device the last time carry out the terminal data synchronizing information of autonomous node, is used to indicate
Terminal data after changing in host node, slave node is the node that host node is taken over when host node breaks down, second terminal
Data synchronization information is the terminal data synchronizing information for carrying out autonomous node received data backup node the last time, for referring to
Show that the terminal data after changing in host node, data backup node are the node for backing up the terminal data in host node.
Due to introducing terminal data synchronizing information so that for host node when breaking down, slave node can be based on terminal
Terminal data of the data synchronization information in the terminal data and terminal device backed up in verifying to data backup node differs
When cause, processing is synchronized to the terminal data in the terminal data and terminal device that are backed up in data backup node, to have
Help to improve slave node and takes over the probability for capableing of normal communication after host node.
Based on the third aspect, in a kind of possible design, slave node can be based on following manner in data backup node
Terminal data in the terminal data and terminal device of backup synchronizes processing:
Terminal data in the terminal device that slave node receiving terminal apparatus is sent;And according to the number of terminals in terminal device
According to updating the data the terminal data backed up in backup node.
Based on the third aspect, in a kind of possible design, in the terminal device that slave node receiving terminal apparatus is sent
Before terminal data, terminal data synchronization request is sent to terminal device.
Based on the third aspect, in a kind of possible design, slave node can be based on following manner in data backup node
Terminal data in the terminal data and terminal device of backup synchronizes processing:
Slave node initiates the separation process for terminal device;Alternatively,
Slave node initiates the reconstruction flow for terminal device session connection.
Based on the third aspect, in a kind of possible design, slave node is whole with first in second terminal data synchronization information
When end data synchronizing information is identical, it is determined that the terminal data in the terminal data and terminal device that are backed up in data backup node
It is consistent.
Fourth aspect provides a kind of equipment for verifying data consistency, including:Processing unit and Transmit-Receive Unit, wherein
Processing unit is used for when terminal data changes, and generates terminal data synchronizing information, terminal data synchronizing information is for referring to
Show the terminal data after changing in equipment;Transmit-Receive Unit be used for will change after terminal data and terminal data synchronizing information transmission
Data backup node is given, and terminal data synchronizing information is sent to terminal device;Data backup node is to be set for backing up
The node of standby middle terminal data.
Based on fourth aspect, in a kind of possible design, data backup node is slave node;Or data backup node
For that can be accessed by slave node and independently of the node of slave node;Wherein, slave node is for being taken in device fails
The node of equipment.
Based on fourth aspect, in a kind of possible design, terminal data synchronizing information is that terminal data occurs in equipment
The cumulative frequency of variation;Alternatively, terminal data synchronizing information is the changed temporal information of terminal data in equipment;Alternatively,
Terminal data synchronizing information is a random identification.
Based on fourth aspect, in a kind of possible design, Transmit-Receive Unit is additionally operable to send terminal data synchronizing information
To target device, the target host node generates new terminal data synchronizing information based on the terminal data synchronizing information.
5th aspect provides a kind of equipment for verifying data consistency, including:Transmission unit and receiving unit, wherein
Receiving unit is used to receive the terminal data synchronizing information of host node transmission, and terminal data synchronizing information is used to indicate in host node
Terminal data after variation;Transmission unit is used for when host node breaks down, and the last time is received by receiving unit
Terminal data synchronizing information be sent to slave node, slave node is the node that host node is taken over when host node breaks down.
Based on the 5th aspect, in a kind of possible design, transmission unit is additionally operable to when host node breaks down, Xiang Bei
Node sends the terminal data in terminal device.
Based on the 5th aspect, in a kind of possible design, receiving unit is additionally operable to send to slave node in transmission unit
Before terminal data in terminal device, the terminal data synchronization request of slave node transmission is received.
6th aspect provides a kind of equipment for verifying data consistency, including:Transmit-Receive Unit and processing unit, wherein
Transmit-Receive Unit in the first terminal data synchronization information and acquisition data backup node of receiving terminal apparatus transmission for storing
Second terminal data synchronization information, first terminal data synchronization information be receive terminal device the last time come independently save
The terminal data synchronizing information of point, the terminal data being used to indicate after changing in host node, slave node are that event occurs in host node
Take over the node of host node when barrier, second terminal data synchronization information is that coming of receiving data backup node the last time is autonomous
The terminal data synchronizing information of node, the terminal data being used to indicate after changing in host node, data backup node are for standby
The node of terminal data in part host node;Processing unit is used for same in second terminal data synchronization information and first terminal data
When walking information difference, place is synchronized to the terminal data in the terminal data and terminal device that are backed up in data backup node
Reason.
Based on the 6th aspect, in a kind of possible design, Transmit-Receive Unit is additionally operable to the terminal of receiving terminal apparatus transmission
Terminal data in equipment;Processing unit updates the data the end backed up in backup node according to the terminal data in terminal device
End data.
Based on the 6th aspect, in a kind of possible design, in the terminal device that Transmit-Receive Unit receiving terminal apparatus is sent
Terminal data before, to terminal device send terminal data synchronization request.
Based on the 6th aspect, in a kind of possible design, processing unit can be based on following manner to data backup node
Terminal data in the terminal data and terminal device of middle backup synchronizes processing:
Processing unit initiates the separation process for terminal device;Alternatively,
Processing unit initiates the reconstruction flow for terminal device session connection.
Based on the 6th aspect, in a kind of possible design, processing unit is in second terminal data synchronization information and first
When terminal data synchronizing information is identical, it is determined that the number of terminals in the terminal data and terminal device that are backed up in data backup node
According to being consistent.
7th aspect, provides a kind of network equipment, including transceiver, processor and memory, the transceiver is used for
Send and receive data information, the data information that the memory is used to store software program and transceiver sends and receives
Deng, the processor for reading the software program stored in the memory and data and realizing first aspect or above-mentioned first
The method that the possible design method of any one of aspect provides.
Eighth aspect also provides a kind of storage medium, the storage medium can be it is non-volatile, that is, power off after content not
It loses.Software program is stored in the storage medium, which can be real when being read and executed by one or more processors
The method that the possible design method of any one of existing first aspect or above-mentioned first aspect provides.
9th aspect, provides a kind of terminal device, including transceiver, processor and memory, the transceiver is used for
Send and receive data information, the data information that the memory is used to store software program and transceiver sends and receives
Deng, the processor for reading the software program stored in the memory and data and realizing second aspect or above-mentioned second
The method that the possible design method of any one of aspect provides.
Tenth aspect, a kind of storage medium is also provided, the storage medium can be it is non-volatile, that is, power off after content not
It loses.Software program is stored in the storage medium, which can be real when being read and executed by one or more processors
The method that the possible design method of any one of existing second aspect or above-mentioned second aspect provides.
Tenth on the one hand, provides a kind of network equipment, including transceiver, processor and memory, and the transceiver is used
In sending and receiving data information, the data information that the memory is used to store software program and transceiver sends and receives
Deng, the processor for reading the software program stored in the memory and data and realizing the third aspect or above-mentioned third
The method that the possible design method of any one of aspect provides.
12nd aspect, also provides a kind of storage medium, which can be non-volatile, that is, content after powering off
It does not lose.Software program is stored in the storage medium, which can when being read and executed by one or more processors
Realize the method that any one possible design method of the third aspect or the above-mentioned third aspect provides.
13rd aspect provides a kind of system for verifying data consistency, including:Fourth aspect and fourth aspect carry
The equipment for any possible design that the equipment of any possible design supplied, the 5th aspect and the 5th aspect provide, and
The equipment for any possible design that 6th aspect and the 6th aspect provide.
Description of the drawings
The signal for the communication system logical framework that the method that Fig. 1 verifies data consistency by the embodiment of the present application is applied
Figure;
Fig. 2 is the schematic diagram of the system architecture of Hot Spare in communication system;
Fig. 3 is the method flow schematic diagram that the embodiment of the present application verifies data consistency;
Fig. 4 is the schematic diagram of the register flow path for the method that data consistency is verified based on the embodiment of the present application;
Fig. 5 is the schematic diagram for the method flow that the embodiment of the present application verifies data consistency based on register flow path;
Fig. 6 is the PDU session connection Establishing process for being based on the method that the embodiment of the present application verifies data consistency
Schematic diagram;
Fig. 7 is the method flow of verification data consistency of the embodiment of the present application based on PDU session connection Establishing process
Schematic diagram;
Fig. 8 a and Fig. 8 b are respectively the structural schematic diagram that the embodiment of the present application verifies the equipment of data consistency;
Fig. 9 a and Fig. 9 b are respectively the structural schematic diagram that the embodiment of the present application verifies the equipment of data consistency;
Figure 10 a and Figure 10 b are respectively the structural schematic diagram that the embodiment of the present application verifies the equipment of data consistency;
Figure 11 is the structural schematic diagram for the system that the embodiment of the present application verifies data consistency.
Specific implementation mode
The embodiment of the present application is described in detail below in conjunction with the accompanying drawings.
As shown in Figure 1, the communication system logical framework that the method for verifying data consistency by the embodiment of the present application is applied
Figure, wherein the communication system includes terminal device, base station, gateway device and the network equipment.It should be noted that shown in Fig. 1
Communication system logical framework can correspond to next-generation (5G) mobile communications network, evolved packet system (EvolvedPacket
System, EPS) multiple actual mobile communications networks such as network, 2G/3G networks.
Wherein, gateway device can be user plane functions (UserPlane Function, UPF), gateway
(Serving Gateway, SGW), data gateway (Packet DataNetwork-Gateway, PDN-GW), GPRS gateway branch
Support node (GatewayGPRS SupportNode, GGSN) etc..The network equipment can be access and mobile management function to ps domain
(Access&MobilityFunction, AMF), conversation management functional (SessionManagement Function, SMF) move
Dynamic management entity (MobilityManagement Entity, MME), GPRS Service support nodes equipment (Serving GPRS
SupportNode, SGSN) etc..Specifically, AMF and SMF belong to control plane functional network element (Control Plane, CP) or core
Control function (CoreControl Function, CCF), in addition, control plane functional network element also includes policy control functions
(Policy Control function, PCF), uniform data management function (UnifiedDataManagement, UDM) etc..
It should be understood that host node and slave node in the embodiment of the present application can be the network equipment.
As shown in Fig. 2, for the schematic diagram of the system architecture of Hot Spare in communication system, specifically, in the system of Hot Spare
Framework includes host node, slave node and data backup node, and wherein slave node is for being taken over when host node breaks down
The node of host node, data backup node are the node for backing up terminal data in host node, data backup node and standby section
Point can be a node, and data backup node and slave node may be two different nodes, when data backup node and
When slave node is different node, data backup node can be accessed by slave node.
The method that data consistency is verified to the embodiment of the present application below based on the system architecture of Hot Spare as shown in Figure 2
It describes in detail.
As shown in figure 3, the method that the embodiment of the present application verifies data consistency, including:
Step 300, host node generates terminal data synchronizing information, the terminal data is same when terminal data sends and changes
Step information is used to indicate the terminal data after changing in host node.
Step 301, host node by after variation terminal data and terminal data synchronizing information be sent to data backup node,
And terminal data synchronizing information is sent to terminal device.Terminal device receives the terminal data that host node is sent and synchronizes letter
Terminal data after the variation that breath and data backup node standby host node are sent and terminal data synchronizing information.
Step 302, when host node breaks down, terminal device is by the terminal data synchronizing information that receives of the last time
It is sent to slave node, the terminal data synchronizing information that slave node receiving terminal apparatus is sent.
Step 303, slave node obtains the terminal data synchronizing information stored in data backup node, wherein data backup section
The terminal data for carrying out autonomous node that the terminal data synchronizing information stored in point receives for data backup node the last time
Synchronizing information.
Step 304, the terminal data synchronizing information that slave node is sent in the terminal device received and the data got
When the terminal data synchronizing information difference stored in backup node, the terminal data and terminal that are backed up in data backup node are set
Terminal data in standby synchronizes processing.
Due to introducing terminal data synchronizing information so that when host node breaks down, slave node can be based on terminal
Terminal data of the data synchronization information in the terminal data and terminal device backed up in verifying to data backup node differs
Cause property synchronizes processing, to have to the terminal data in the terminal data and terminal device that are backed up in data backup node
Help to improve slave node and takes over the probability for capableing of normal communication after host node.
In addition, when the terminal data synchronizing information that slave node is sent in the terminal device received and the data got are standby
When the terminal data synchronizing information stored in part node is identical, then slave node determines the terminal data backed up in data backup node
It is consistent with the terminal data in terminal device, therefore slave node can directly substitute host node, communication process will not interrupt.
Slave node is additionally provided in the embodiment of the present application to set the terminal data and terminal that back up in data backup node
Terminal data in standby synchronizes the specific implementation of processing:
Mode one:When host node breaks down, terminal device also sends the terminal data in terminal device to slave node,
Terminal data in the terminal device that slave node receiving terminal apparatus is sent, and according to the terminal data in terminal device, update
The terminal data stored in data backup node so that the terminal data stored in updated data backup node is set with terminal
Terminal data in standby is consistent.
In mode one, optionally, the terminal data synchronizing information and obtain that slave node is sent in the terminal device received
When the terminal data synchronizing information difference stored in the data backup node got, sends terminal data synchronization to terminal device and ask
It asks, terminal device sends the terminal data in terminal device when receiving terminal data synchronization request, to slave node.
Mode two, terminal data synchronizing information that slave node is sent in the terminal device that receives and the data got are standby
When the terminal data synchronizing information difference stored in part node, the separation process for terminal device is initiated.
Mode three, terminal data synchronizing information that slave node is sent in the terminal device that receives and the data got are standby
When the terminal data synchronizing information difference stored in part node, the reconstruction flow for terminal session connection is initiated.
It should be noted that in the embodiment of the present application, terminal data synchronizing information can change for terminal data
Cumulative frequency, as in host node terminal data for the first time change when, terminal data synchronizing information be 1, work as terminal data
When changing for the second time, terminal data synchronizing information is 2, and so on.Terminal data synchronizing information can also be host node
The middle changed temporal information of terminal data, such as time when changing is 0 point to terminal data for the first time in host node,
Then terminal data synchronizing information is 0 point, and time when terminal data changes for the second time in host node is 1 point, then number of terminals
It is 1 point according to synchronizing information, and so on.Terminal data synchronizing information can also be a random identification, such as in the master node
The random identification generated by preset algorithm when terminal data changes does not synchronize terminal data in the embodiment of the present application
The specific implementation of information is defined.
Further, since terminal device may cause the variation of host node, i.e. terminal device to exist when moving in a communications system
The service range of target host node is moved in the service range of host node.Therefore host node is generating terminal data synchronizing information
Afterwards, which can also be sent to target host node, target host node is based on when terminal data changes
The terminal data synchronizing information received generates new terminal data synchronizing information, as target host node is same in the terminal data received
The changed number of progress terminal data is accumulated on the basis of walking information.
The method for verifying data consistency to the embodiment of the present application by taking the register flow path of terminal device as an example is introduced,
Middle register flow path (such as register flow path of EPS network attachments flow, 5G) is registered to network for terminal device, needed for carrying out
Business as shown in figure 4, based on the embodiment of the present application verify data consistency method register flow path, including:
Step 400, terminal device sends registration request to base station, initiates register flow path.
Step 401, after base station receives the registration request that terminal device is sent, the registration is forwarded to network equipment host node
Request.
Step 402, network equipment host node initiates the authentication process to terminal device, really after receiving registration request
Determine the safety of terminal device.
Step 403, network equipment host node sends more new position request to subscription data management node, wherein update position
Request is set for the information to subscription data management node registered network equipment host node, and is used for acquisition request terminal device
Subscription data.
Step 404, subscription data management node sends update position response to network equipment host node, which rings
Answer include terminal device subscription data.Network equipment host node receives the update position that subscription data management node is sent and rings
It should and preserve the subscription data of terminal device.
Step 405, network equipment host node is sent to gateway device creates session request, and the establishment session request is for building
The service channel of vertical terminal device.
Step 406, after gateway device receives the establishment session request that network equipment host node is sent, gateway device is initiated
The session connection between policy control node is established, and after completing to establish the session connection between policy control node, obtained
Control strategy and charging policy associated with the session etc..
Step 407, gateway device is replied to network equipment host node creates conversational response, and network equipment host node receives should
Create conversational response message.
Since terminal data is changed network equipment host node in register flow path, as network equipment host node creates
The new registration to the terminal device of network terminal data, therefore execute step 408.
Step 408, network equipment host node generates terminal data synchronizing information, and sending registration to terminal device receives to disappear
Breath, wherein registration received message includes terminal data synchronizing information.Terminal device receives registration received message, obtains and preserves
Terminal data synchronizing information.
It should be understood that network equipment host node can notify terminal device terminal data synchronizing information in the following manner, tool
Body:
Network equipment host node carries independent cell in the registration received message for being sent to terminal device, this is independent
Cell includes terminal data synchronizing information or network equipment host node in the registration received message for being sent to terminal device
Cell is carried, the information which carries includes not only terminal data synchronizing information, further includes the information of other functions, i.e. terminal
Data synchronization information shares a cell with other functional informations.
Step 409, terminal device with base station be wirelessly connected and be reconfigured, and establishes the channel radio for transmitting terminal traffic data
Road.
Step 410, terminal device sends registration to network equipment host node and completes message, and it is logical to complete message for the wherein registration
It crosses base station and is sent to network equipment host node.
Step 411, network equipment host node sends update session request to gateway device, is set to gateway to establish base station
Standby business datum forwarding channel.
Step 412, it after gateway device receives update session request, replys more new session to network equipment host node and rings
It answers.
Step 413, network equipment host node sends terminal data and terminal data after variation to data backup node
Synchronizing information, the terminal data letter synchronous with terminal data after the variation that data backup node standby network equipment host node is sent
Breath.Terminal data after variation, the as establishment, deletion and update of terminal data, create new terminal in the present embodiment
Data.
It should be noted that only list register flow path in the embodiment as shown in fig.4, the in fact main section of the network equipment
Point generates terminal data synchronizing information, notifies to terminal device, and the function of backuping to data backup node at least can be in office
What causes to realize in the flow that terminal data changes.As packet data network (Packet data network, PDN) connection is built
Flow, carrying Establishing process, bearer update flow, deleting load-bearing stream are deleted in vertical flow, PDN connections more new technological process, PDN connections
Journey, Packet Data Unit (Packet Data Unit, PDU) session establishment flow, PDU session updates flow, PDU sessions are deleted
The session managements flow such as flow, for another example mobility such as tracking area update flow, routing region updating flow, se ce request procedure
Management process.Above-mentioned flow elements are that terminal is initiated, and can be partly that network side equipment is initiated.
Register flow path as shown in Figure 4 only lists main part, and specific message can in 5G, EPS network and 2G/3G networks
Some difference can be understood, but do not influence inventive point.After step 413 network equipment host node sends variation to data backup node
Terminal data and terminal data synchronizing information, it is also possible to which not after register flow path is fully completed, embodiment does not limit the network equipment
Host node sends the time of the specific steps of terminal data and terminal data synchronizing information after variation to data backup node.
In addition, the present embodiment presents network equipment host node is sent to terminal device by terminal data synchronizing information, into
One step, terminal data synchronizing information can also be sent to base station, gateway device, other network nodes etc. by host node.And lead to
In letter system, not only the network equipment, other nodes such as gateway device can also have generation terminal synchronizing information and notify to give
The function of other nodes, without limiting in the embodiment of the present application.
When (such as delay machine, power down) failure occurs for network equipment host node, by network equipment slave node from data backup
The terminal data that host node backup is obtained in node, takes over host node, specifically:
As shown in figure 5, the method for the verification data consistency based on connection building process, including:
Step 500, data backup node sends the network equipment host node of the last backup to network equipment slave node
Terminal data, and the last backup terminal data synchronizing information, it should be appreciated that data backup node can be by different ends
The terminal data of end equipment is sent to different network equipment slave nodes.
Step 501, terminal device sends connection to base station and establishes request, which establishes request for establishing new business
Session connection, it includes terminal data synchronizing information which, which establishes request, detects that network equipment host node occurs in base station
When failure, request is established into connection and is transmitted to network equipment slave node, which is specifically as follows PDN connections foundation
Flow and PDU session establishment flows.
It should be noted that the sequence of step 500 and step 501 can be interchanged, after step 500 and step 501 exchange,
After then network equipment slave node receives connection foundation request, the last network equipment host node is asked to data backup node
The terminal data and terminal data synchronizing information of the terminal device for initiating the connection Establishing process of backup.
Network equipment slave node is in the terminal data synchronizing information and terminal device hair for getting the transmission of data backup node
After the terminal data synchronizing information sent, whether identical both compare, when the two is identical, step 502A~510A is executed, when two
When person's difference, step 502B~506B is executed.
Step 502A, network equipment slave node, which is sent, creates session request to gateway device, which is used for
Establish the service channel of terminal device.
Step 503A after gateway device receives establishment session request, initiates to establish the meeting between policy control node
Words connection, to obtain the relevant control strategy of session and charging policy.
Step 504A, gateway device is replied to slave node creates conversational response, and network equipment slave node, which receives, creates session
Response.
Step 505A, terminal data changes in the connection building process, such as updates terminal data, and the network equipment is standby
Node generates terminal data synchronizing information, and is established in connection and terminal data synchronizing information is sent to terminal in received message sets
It is standby.Terminal device receives connection and establishes received message.
Step 506A, terminal device with base station be wirelessly connected and be reconfigured, and establish the wireless of transmission terminal business datum
Channel.
Step 507A, terminal device reply connection setup complete message and give network equipment slave node, which, which establishes, completes
Message is transmitted to network equipment slave node by base station.Network equipment slave node receives connection setup complete message.
Step 508A, network equipment slave node sends update session request to gateway device, to establish base station to gateway
The business datum forwarding channel of equipment.
Step 509A, gateway device receive update session request, and the business datum forwarding for establishing base station to gateway device is logical
Road, and after completing to establish business datum forwarding channel of the base station to gateway device, update conversational response is replied to the network equipment
Slave node.
Step 510A, network equipment slave node to data backup node standby change after terminal data and terminal data it is same
Walk information.
Step 502B, network equipment slave node send separation request to terminal device, initiate the separation for terminal device
The request of flow, the wherein separation requires terminal device to adhere to again.
Step 503B, network equipment slave node is sent to gateway device deletes session request, and terminal device is deleted in request
Session connection.
Step 504B is deleted and is set for terminal between policy control node after gateway device receives deletion session request
Standby session connection.
Step 505B, gateway device reply session to network equipment slave node and delete response.
After terminal device receives separation request, separation received message is sent to network equipment slave node by step 506B.
Attachment flow can be re-initiated after terminal device separation, network is reregistered with and establishes session connection.
Wherein step 502B~step 506B is the separation process for terminal device, which is that the network equipment is standby
In terminal data there are a kind of synchronization process mode after inconsistent, network equipment slave node can also use at others node
Reason mode carrys out synchronization terminal data, for example rebuilds session connection or initiating terminal data and synchronize flow and synchronize.
Network equipment slave node obtain data backup node on terminal data, after taking over network equipment host node, just by
Network equipment slave node is changed into network equipment host node, in order to be distinguished with the network equipment host node before failure in embodiment,
So being called network equipment slave node always.
The inconsistent situation of terminal data synchronizing information possibly is present under multiple network abnormal conditions, such as network equipment master
Node failure, the terminal data changed before failure not to data backup node standby, for another example network equipment host node and
Communication link fails between terminal device, terminal data synchronizing information fail to give notice terminal device, for another example network equipment master
Node and data backup node communication link fails, terminal data synchronizing information is not to data backup node standby etc..
For the ease of understanding the embodiment of the present application, as shown in fig. 6, based in the embodiment of the present application next-generation communication network
PDU session establishment flows, including:
Step 600, terminal device sends the request of PDU session establishments to base station, initiates PDU session establishment flows, and base station will
PDU session establishments request is transmitted to access and mobile management function to ps domain host node.PDU session establishment flows are used for terminal device
Establish the session connection of new business.
Step 601, after access and mobile management function to ps domain host node receive the request of PDU session establishments, PDU sessions are built
Vertical request is sent to conversation management functional.
Step 602, it after conversation management functional receives the request of PDU session establishments, sends and signs to uniform data management function
About request of data, the relevant subscription data of session management for obtaining terminal device;
Step 603, it after uniform data management function receives subscription data request, sends terminal to conversation management functional and sets
Standby subscription data.The subscription data of conversation management functional receiving terminal apparatus.
Step 604, session connection is established between conversation management functional and policy control functions, to obtain control strategy and
The information such as charging regulation;
Step 605, conversation management functional transmission establishes session request to user plane functions, this establishes session request for building
The service channel of vertical terminal device.Session request is established in user plane functions reception.
Step 606, user plane functions establish the service channel of terminal device, establish session to conversation management functional reply and ring
It answers;
Step 607, conversation management functional receives establish conversational response after, reply PDU session establishments respond to access and
Mobile management function to ps domain host node includes that the PDU session establishments for being sent to terminal device is needed to connect in PDU session establishments response
By message.Access and mobile management function to ps domain host node receive the response of PDU session establishments.
Step 608, terminal data during PDU session establishments in access and mobile management function to ps domain host node has change
Change (such as modification terminal data), access and mobile management function to ps domain host node generate terminal data synchronizing information, and in PDU sessions
It establishes in received message and terminal data synchronizing information is sent to terminal device.Terminal device receives the receiving of PDU session establishments
Message.
Step 609, the relevant radio resource of session is distributed between terminal device and base station.
Step 610, base station sends base station session information notice, the base station meeting to access and mobile management function to ps domain host node
Talk about business datum forwarding channel of the information notice for establishing base station to user plane functions.
Step 611, after access and mobile management function to ps domain host node receive base station session information notice, base station meeting is sent
Information notice request is talked about to conversation management functional.
Step 612, after conversation management functional receives base station session information notice, update session request is sent to user plane
Function, the business datum forwarding channel that update session request is used to establish base station to user plane functions.
Step 613, user plane functions receive update session request after, establish base station to user plane functions business datum
Forwarding channel replys update conversational response to conversation management functional.
Step 614, after conversation management functional receives update conversational response, reply base station session information push-notification-answer is connect
Enter and mobile management function to ps domain host node.
Step 615, after access and mobile management function to ps domain host node receive base station session information push-notification-answer, to data
Backup node sends terminal data and terminal data synchronizing information after variation.
The generation of terminal data synchronizing information and carrying mode and the life such as terminal data synchronizing information in Fig. 5 register flow paths
At similar with carrying mode, details are not described herein.
It should be noted that the present embodiment only lists PDU session establishment flows, in fact access and mobile management work(
Energy host node generates terminal data synchronizing information, notifies to terminal device, and the function of backuping to data backup node at least may be used
To be realized in any flow for causing terminal data to change, even such as packet data network (Packet data network, PDN)
Connect Establishing process, PDN connections more new technological process, PDN connections deletion flow, carrying Establishing process, bearer update flow, deleting load-bearing
Flow, Packet Data Unit (Packet Data Unit, PDU) session establishment flow, PDU session updates flow, PDU sessions are deleted
Except the session managements flow such as flow, for another example tracking area update flow, routing region updating flow, se ce request procedure etc. are mobile
Property management process.Above-mentioned flow elements are that terminal is initiated, and can be partly that network side equipment is initiated.
PDU session establishments flow shown in fig. 6 only lists main part, it is practical 5G networks may some difference,
But do not influence inventive point.After step 615 access and mobile management function to ps domain host node change to data backup node standby
Terminal data and terminal data synchronizing information can not also execute after flow, the embodiment of the present application do not limit access and
Mobile management function to ps domain host node sends terminal data and terminal data synchronizing information after variation to data backup node standby
It is specific to execute step.
In addition, the embodiment of the present application presents access and mobile management function to ps domain host node sends out terminal data synchronizing information
Give the detailed process of terminal device, further, access and mobile management function to ps domain host node can also by terminal it is synchronous believe
Breath is sent to other nodes such as base station.
The embodiment of the present application can also be applied to conversation management functional host node and generate terminal data synchronizing information, with such as Fig. 6
Shown in access and mobile management function to ps domain host node generate terminal data synchronizing information the difference is that:
Step 607, conversation management functional host node receives establish conversational response after, meeting during PDU session establishments
Terminal data in words management function host node changes (such as modification terminal data), and conversation management functional host node generates terminal
Data synchronization information, and terminal data synchronizing information is sent to terminal device in PDU session establishment received messages, the PDU
Session establishment received message is carried in the PDU session establishment response messages for being sent to access and mobile management function to ps domain host node
In.
Step 614, conversation management functional host node replys base station session information push-notification-answer to access and mobile management
After function host node, terminal data and terminal data synchronizing information after variation are sent to data backup node.
Step 615, access and mobile management function to ps domain host node receive base station session information push-notification-answer.
It breaks down (such as delay machine, power down) with mobile management function to ps domain host node when accessing, by access and mobility pipe
The terminal data that function slave node obtains host node backup is managed, takes over host node, specifically:
As shown in fig. 7, the method for the verification data consistency based on PDU session updates flows, including:
Step 700, data backup node sends the last access to access and mobile management function to ps domain slave node and moves
What the terminal data of mobility management function host node backup and the last access and mobile management function to ps domain host node backed up
Terminal data synchronizing information, it should be appreciated that data backup node can be same by the terminal data of different terminal equipment and terminal data
Step information is sent to different accesses and mobile management function to ps domain slave node.
Step 701, terminal device sends the request of PDU session updates to base station, initiates PDU session updates flows, wherein PDU
Session updates request is for asking update session connection, carried terminal data synchronization information in PDU session updates request.Work as base
It stands after detecting that access and mobile management function to ps domain host node are broken down, PDU session updates is transmitted to access and movement
Property management function slave node.
It should be noted that the sequence of step 700 and step 701 can be interchanged, after step 700 and step 701 exchange,
After then access and mobile management function to ps domain slave node receive the request of PDU session updates, to data backup node request nearest one
The terminal data and terminal data synchronizing information of secondary access and the backup of mobile management function to ps domain host node.
Access and mobile management function to ps domain slave node are in the terminal data synchronizing information for getting the transmission of data backup node
After the terminal data synchronizing information sent with terminal device, whether identical both compare, when the two is identical, executes step 702A
~710A executes step 702B~703B when the two difference.
Step 702A, access and mobile management function to ps domain slave node send update session request to conversation management functional, are somebody's turn to do
Update session request is used to update the service channel of terminal device.
Step 703A, after conversation management functional receives update session request, the session between update and policy control functions
Connection, for the relevant control strategy of more new session and charging policy etc..
Step 704A, conversation management functional send update conversation informing to access and mobile management function to ps domain slave node.
Step 705A, in PDU session updates flows, the terminal data hair in access and mobile management function to ps domain slave node
Changing (such as update terminal data), access and mobile management function to ps domain slave node generate terminal data synchronizing information, and more
Terminal data synchronizing information is sent to terminal device in new session notice.
Step 706A obtains terminal data synchronizing information, and reply update after terminal device receives update conversation informing
Conversation informing responds to access and mobile management function to ps domain slave node;
After step 707A, access and mobile management function to ps domain slave node receive update conversation informing response, update meeting is replied
Push-notification-answer is talked about to conversation management functional.
Step 708A sends session updates and asks to user after conversation management functional receives update conversation informing response
Face function, to update business datum forwarding channel.
Step 709A after user plane functions receive session updates request, replys session updates and responds to session management work(
Energy.
After step 710A, access and mobile management function to ps domain slave node receive session updates response, to data backup section
Point sends terminal data and terminal data synchronizing information.
Step 702B, access and mobile management function to ps domain slave node send terminal data synchronization request to terminal device, hair
It plays terminal data and synchronizes flow, which is transmitted to terminal device by base station.
Step 703B, terminal device receive terminal data synchronization request after, reply terminal data sync response to access and
Mobile management function to ps domain slave node, terminal data sync response include the terminal data in terminal device.
Access and mobile management function to ps domain slave node are according to the end in the terminal device for including in terminal data sync response
End data completes the synchronization of terminal data, and such as access and mobile management function to ps domain slave node trigger the reconstruction of inconsistent session.
Wherein step 702B~step 703B is that access and mobile management function to ps domain slave node detect that terminal data exists
A kind of synchronization process mode after inconsistent, access and mobile management function to ps domain slave node can also use other processing sides
Formula, for example initiate the separation process etc. for terminal.
Access and mobile management function to ps domain slave node obtain terminal data, take over the access and mobile management broken down
After function host node, reform into as access and mobile management function to ps domain host node, in embodiment in order to the access broken down
It is distinguished with mobile management function to ps domain host node, so being called access and mobile management function to ps domain slave node always.
The inconsistent situation of terminal data synchronizing information possibly is present under multiple network abnormal conditions, is such as accessed and mobile
Property management function host node failure, the terminal data changed before failure for another example access not to data backup node standby
Communication link fails between mobile management function to ps domain host node and terminal device, terminal data synchronizing information were failed to give notice to end
End equipment, for another example access and mobile management function to ps domain host node and data backup node communication link fails, terminal data are same
Information is walked not to data backup node standby etc..
It is directed to the scene that conversation management functional host node generates terminal data synchronizing information, the embodiment of the present application can also answer
For conversation management functional host node failure, i.e., the terminal data sent by conversation management functional host node comparison terminal equipment is same
The terminal data synchronizing information stored in step information and data backup node is carried out when terminal data synchronizing information is inconsistent
Terminal data synchronization process, is no longer discussed in detail herein.
Based on same design, a kind of equipment and system for verifying data consistency is additionally provided in the embodiment of the present application, by
The corresponding method of equipment and system in the embodiment of the present application is the method that the embodiment of the present application verifies data consistency, therefore
The implementation of the embodiment of the present application equipment and system may refer to the implementation of this method, and overlaps will not be repeated.
As shown in Figure 8 a, the embodiment of the present application verifies the equipment 800a of data consistency, including:Processing unit 810a and receipts
Bill member 820a, wherein processing unit 810a is used for when terminal data changes, and generates terminal data synchronizing information, eventually
End data synchronizing information is used to indicate the terminal data after changing in equipment;Transmit-Receive Unit 820a is for the number of terminals after changing
It is sent to data backup node according to terminal data synchronizing information, and terminal data synchronizing information is sent to terminal device;
Data backup node is the node for terminal data in alternate device.
In a kind of possible design, data backup node is slave node;Or data backup node is that can be saved by standby
Point accesses and independently of the node of slave node;Wherein, slave node is the node for the successors in device fails.
In a kind of possible design, terminal data synchronizing information is the changed accumulation time of terminal data in equipment
Number;Alternatively, terminal data synchronizing information is the changed temporal information of terminal data in equipment;Alternatively, terminal data synchronizes
Information is a random identification.
In a kind of possible design, Transmit-Receive Unit 820a, which is additionally operable to terminal data synchronizing information being sent to target, to be set
Standby, target device generates new terminal data synchronizing information based on the terminal data synchronizing information.
It should be understood that processing unit can be realized by processor in the embodiment of the present application, Transmit-Receive Unit can be by transceiver
It realizes, verifies the hardware architecture diagram of the equipment 800b of data consistency, including processor 810b, transceiver as shown in Figure 8 b
820b, memory 830b, wherein wherein memory 830b is for storing for storing software program and transceiver 820b transmitting-receiving
Communication data information etc., processor 810b is for reading the software program stored in memory 830b and transceiver 820b transmitting-receivings
Communication data information, the method to realize the embodiment of the present application verification data consistency as shown in Figure 3.
Wherein, general central processing unit (Central Processing Unit, CPU) may be used in processor 810b,
Microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or
One or more integrated circuits, for executing relevant operation, to realize technical solution that the embodiment of the present application is provided.
It should be noted that although equipment shown in Fig. 8 b illustrate only processor 810b, transceiver 820b and memory 830b,
But during specific implementation, it should be apparent to a person skilled in the art that the equipment also includes to realize that normal operation institute is necessary
Other devices.Meanwhile according to specific needs, it should be apparent to a person skilled in the art that the equipment also may include realizing other
The hardware device of additional function.In addition, it should be apparent to a person skilled in the art that the equipment also can include only to realize the application
Device or module necessary to embodiment, without including whole devices shown in Fig. 8 b.
As illustrated in fig. 9, the embodiment of the present application verifies the equipment 900a of data consistency, including:It transmission unit 910a and connects
Unit 920a is received, wherein receiving unit 920a is used to receive the terminal data synchronizing information of host node transmission, and terminal data synchronizes
Information is used to indicate the terminal data after changing in host node;Transmission unit 910a is used for when host node breaks down, will most
The nearly terminal data synchronizing information once received by receiving unit is sent to slave node, and slave node is that event occurs in host node
The node of host node is taken over when barrier.
In a kind of possible design, transmission unit 910a is additionally operable to when host node breaks down, and is sent to slave node
Terminal data in terminal device.
In a kind of possible design, receiving unit 920a is additionally operable in transmission unit sends terminal device to slave node
Terminal data before, receive slave node transmission terminal data synchronization request.
It should be understood that transmission unit and receiving unit can be realized by transceiver in the embodiment of the present application, as shown in figure 9b
Verify data consistency equipment 900b hardware architecture diagram, including processor 910b, transceiver 920b, memory
930b, wherein wherein memory 930b is used to store the communication data letter for storing software program and transceiver 920b transmitting-receivings
Breath etc., processor 910b are used to read the communication data letter of the software program stored in memory 930b and transceiver 920b transmitting-receivings
Breath, the method to realize the embodiment of the present application verification data consistency as shown in Figure 3.
Wherein, general CPU, microprocessor, ASIC or one or more integrated electricity may be used in processor 910b
Road, for executing relevant operation, to realize technical solution that the embodiment of the present application is provided.
It should be noted that although equipment shown in Fig. 9 b illustrate only processor 910b, transceiver 920b and memory 930b,
But during specific implementation, it should be apparent to a person skilled in the art that the equipment also includes to realize that normal operation institute is necessary
Other devices.Meanwhile according to specific needs, it should be apparent to a person skilled in the art that the equipment also may include realizing other
The hardware device of additional function.In addition, it should be apparent to a person skilled in the art that the equipment also can include only to realize the application
Device or module necessary to embodiment, without including whole devices shown in Fig. 9 b.
As shown in Figure 10 a, the embodiment of the present application verifies the equipment 1000a of data consistency, including:Transmit-Receive Unit 1020a
With processing unit 1010a, wherein Transmit-Receive Unit 1020a for receiving terminal apparatus send first terminal data synchronization information with
And the second terminal data synchronization information stored in data backup node is obtained, first terminal data synchronization information is terminal device
What the last time received carrys out the terminal data synchronizing information of autonomous node, the number of terminals being used to indicate after changing in host node
According to slave node is the node for taking over host node when host node breaks down, and second terminal data synchronization information is data backup
What node the last time received carrys out the terminal data synchronizing information of autonomous node, the terminal being used to indicate after changing in host node
Data, data backup node are the node for backing up the terminal data in host node;Processing unit 1010a is used for second eventually
When end data synchronizing information is with first terminal data synchronization information difference, to the terminal data backed up in data backup node and end
Terminal data in end equipment synchronizes processing.
In a kind of possible design, Transmit-Receive Unit 1020a is additionally operable in the terminal device of receiving terminal apparatus transmission
Terminal data;Processing unit 1010a updates the data the host node backed up in backup node according to the terminal data in terminal device
In terminal data.
In a kind of possible design, the number of terminals in the terminal device that Transmit-Receive Unit 1020a receiving terminal apparatus is sent
According to before, terminal data synchronization request is sent to terminal device.
In a kind of possible design, processing unit 1010a can be based on following manner to backing up in data backup node
The terminal data in terminal data and terminal device in host node synchronizes processing:
Processing unit 1010a initiates the separation process for terminal device;Alternatively,
Processing unit 1010a initiates the reconstruction flow for terminal device session connection.
In a kind of possible design, processing unit 1010a is in second terminal data synchronization information and first terminal data
When synchronizing information is identical, it is determined that the terminal in terminal data and terminal device in the host node backed up in data backup node
Data are consistent.
It should be understood that Transmit-Receive Unit can be realized by transceiver in the embodiment of the present application, processing unit can be by processor
It realizes, verifies the hardware architecture diagram of the equipment 1000b of data consistency, including processor 1010b, receipts as shown in fig. lob
Send out device 1020b, memory 1030b, wherein wherein memory 1030b is for storing for storing software program and transceiver
The communication data information etc. of 1020b transmitting-receivings, processor 1010b is for reading the software program and receipts stored in memory 1030b
The communication data information for sending out device 1020b transmitting-receivings, to realize the side of the embodiment of the present application verification data consistency as shown in Figure 3
Method.
Wherein, general CPU, microprocessor, ASIC or one or more integrated electricity may be used in processor 1010b
Road, for executing relevant operation, to realize technical solution that the embodiment of the present application is provided.
It should be noted that although equipment shown in Figure 10 b illustrate only processor 1010b, transceiver 1020b and memory
1030b, but during specific implementation, it should be apparent to a person skilled in the art that the equipment also includes to realize normal operation
Other necessary devices.Meanwhile according to specific needs, it should be apparent to a person skilled in the art that the equipment also may include reality
The hardware device of other existing additional functions.In addition, it should be apparent to a person skilled in the art that the equipment also can include only to realize
Device or module necessary to the embodiment of the present application, without including whole devices shown in Figure 10 b.
As shown in figure 11, a kind of system for verifying data consistency of the embodiment of the present application, including:Equipment 800a, equipment
900a and equipment 1000a.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter
Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk
Solid State Disk (SSD)) etc..
It should be understood by those skilled in the art that, the embodiment of the present application can be provided as method, system or computer program production
Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in the application
The form of example.Moreover, can be used can in the computer that one or more wherein includes computer usable program code by the application
With the computer program product implemented on storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Form.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the possible embodiment of some in the application has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as
Including the embodiment of the present application and fall into all change and modification of the application range.
Obviously, those skilled in the art can carry out the application essence of the various modification and variations without departing from the application
God and range.In this way, if these modifications and variations of the application belong to the range of the application claim and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
Claims (25)
1. a kind of method for verifying data consistency, which is characterized in that including:
Host node generates terminal data synchronizing information when terminal data changes, and the terminal data synchronizing information is used for
Indicate the terminal data after changing in the host node;
The host node by after variation terminal data and the terminal data synchronizing information be sent to data backup node, and
The terminal data synchronizing information is sent to the terminal device;The data backup node is for backing up the host node
The node of middle terminal data.
2. the method as described in claim 1, which is characterized in that the data backup node is slave node;Or the data
Backup node is that can be accessed by the slave node and independently of the node of the slave node;
Wherein, the slave node is the node for taking over the host node when the host node breaks down.
3. method as claimed in claim 1 or 2, which is characterized in that the terminal data synchronizing information is in the host node
The changed cumulative frequency of terminal data;Alternatively, the terminal data synchronizing information is that terminal data is sent out in the host node
The temporal information for changing;Alternatively, the terminal data synchronizing information is a random identification.
4. the method as described in claims 1 to 3 is any, which is characterized in that further include:
The terminal data synchronizing information is sent to target host node by the host node, and the target host node is based on the end
End data synchronizing information generates new terminal data synchronizing information.
5. a kind of method for verifying data consistency, which is characterized in that including:
Terminal device receives the terminal data synchronizing information that host node is sent, and the terminal data synchronizing information is used to indicate described
Terminal data after changing in host node;
When the host node breaks down, the terminal device is by the terminal data synchronizing information that receives of the last time
It is sent to slave node, the slave node is the node that host node is taken over when the host node breaks down.
6. method as claimed in claim 5, which is characterized in that further include:
When the host node breaks down, the terminal device sends the number of terminals in the terminal device to the slave node
According to.
7. method as claimed in claim 6, which is characterized in that the terminal device sends the terminal to the slave node and sets
Before terminal data in standby, further include:
The terminal device receives the terminal data synchronization request that the slave node is sent.
8. a kind of method for verifying data consistency, which is characterized in that including:
The first terminal data synchronization information that slave node receiving terminal apparatus is sent, the first terminal data synchronization information is institute
The terminal data synchronizing information for carrying out autonomous node that terminal device the last time receives is stated, is used to indicate in the host node and becomes
Terminal data after change, the slave node are the node that the host node is taken over when the host node breaks down;
The slave node obtains the second terminal data synchronization information stored in data backup node, in the second terminal data
When synchronizing information and the first terminal data synchronization information difference, to the terminal data that is backed up in the data backup node and
Terminal data in the terminal device synchronizes processing, and the second terminal data synchronization information is the data backup section
The last terminal data synchronizing information from the host node received of point, is used to indicate after changing in the host node
Terminal data, the data backup node is node for backing up the terminal data in the host node.
9. method as claimed in claim 8, which is characterized in that the slave node is to end for being backed up in the data backup node
Terminal data in end data and the terminal device synchronizes processing, including:
The slave node receives the terminal data in the terminal device that the terminal device is sent;
The slave node updates the number of terminals backed up in the data backup node according to the terminal data in the terminal device
According to.
10. method as claimed in claim 9, which is characterized in that the slave node receives the described of the terminal device transmission
Before terminal data in terminal device, further include:
The slave node sends terminal data synchronization request to the terminal device.
11. method as claimed in claim 8, which is characterized in that the slave node is to backing up in the data backup node
Terminal data in terminal data and the terminal device synchronizes processing, including:
The slave node initiates the separation process for the terminal device;Alternatively,
The slave node initiates the reconstruction flow for the terminal device session connection.
12. the method as described in claim 8 to 11 is any, which is characterized in that the slave node is in the second terminal data
When synchronizing information is identical as the first terminal data synchronization information, it is determined that the number of terminals backed up in the data backup node
It is consistent according to the terminal data in the terminal device.
13. a kind of equipment for verifying data consistency, which is characterized in that including:
Processing unit, for when terminal data changes, generating terminal data synchronizing information, the terminal data synchronizes letter
Breath is used to indicate the terminal data after changing in the equipment;
Transmit-Receive Unit, for the terminal data after changing and the terminal data synchronizing information to be sent to data backup node,
And the terminal data synchronizing information is sent to the terminal device;The data backup node is for backing up described set
The node of standby middle terminal data.
14. equipment as claimed in claim 13, which is characterized in that the data backup node is slave node;Or the number
It is that can be accessed by the slave node and independently of the node of the slave node according to backup node;
Wherein, the slave node is the node for taking over the equipment in the device fails.
15. equipment according to claim 13 or 14, which is characterized in that the terminal data synchronizing information is in the equipment
The changed cumulative frequency of terminal data;Alternatively, the terminal data synchronizing information is that terminal data occurs in the equipment
The temporal information of variation;Alternatively, the terminal data synchronizing information is a random identification.
16. the equipment as described in claim 13 to 15 is any, which is characterized in that the Transmit-Receive Unit is additionally operable to:
The terminal data synchronizing information is sent to target device;The target host node is based on the terminal data and synchronizes letter
Breath generates new terminal data synchronizing information.
17. a kind of equipment for verifying data consistency, which is characterized in that including:
Receiving unit, the terminal data synchronizing information for receiving host node transmission, the terminal data synchronizing information is for referring to
Show the terminal data after changing in the host node;
Transmission unit is used for when the host node breaks down, the terminal that the last time is received by receiving unit
Data synchronization information is sent to slave node, and the slave node is the node that host node is taken over when the host node breaks down.
18. equipment as claimed in claim 17, which is characterized in that the transmission unit is additionally operable to:
When the host node breaks down, the terminal data in the terminal device is sent to the slave node.
19. equipment as claimed in claim 18, which is characterized in that the receiving unit is additionally operable to:
Before the transmission unit sends the terminal data in the terminal device to the slave node, the standby section is received
The terminal data synchronization request that point is sent.
20. a kind of equipment for verifying data consistency, which is characterized in that including:
In Transmit-Receive Unit, the first terminal data synchronization information sent for receiving terminal apparatus and acquisition data backup node
The second terminal data synchronization information of storage, the first terminal data synchronization information are to receive described terminal device the last time
To the terminal data synchronizing information for carrying out autonomous node, be used to indicate in the host node change after terminal data, it is described standby
Node is the node that the host node is taken over when the host node breaks down, and the second terminal data synchronization information is institute
The terminal data synchronizing information from the host node that data backup node the last time receives is stated, the master is used to indicate
Terminal data after changing in node, the data backup node are the section for backing up the terminal data in the host node
Point;
Processing unit is used in the second terminal data synchronization information and the first terminal data synchronization information difference,
Processing is synchronized to the terminal data in the terminal data and the terminal device that are backed up in the data backup node.
21. equipment as claimed in claim 20, which is characterized in that the Transmit-Receive Unit is additionally operable to:
Receive the terminal data in the terminal device that the terminal device is sent;
The processing unit is to the terminal data in the terminal data and the terminal device that are backed up in the data backup node
Processing is synchronized, is specifically included:
According to the terminal data in the terminal device, the terminal data backed up in the data backup node is updated.
22. equipment as claimed in claim 21, which is characterized in that the Transmit-Receive Unit receives the institute that the terminal device is sent
Before stating the terminal data in terminal device, it is additionally operable to:
Terminal data synchronization request is sent to the terminal device.
23. equipment as claimed in claim 20, which is characterized in that the processing unit in the data backup node to backing up
Terminal data and the terminal device in terminal data synchronize processing, specifically include:
Initiate the separation process for the terminal device;Alternatively,
Initiate the reconstruction flow for the terminal device session connection.
24. the equipment as described in claim 20 to 23 is any, which is characterized in that the processing unit is in the second terminal number
When identical as the first terminal data synchronization information according to synchronizing information, it is determined that the terminal backed up in the data backup node
Data are consistent with the terminal data in the terminal device.
25. a kind of system for verifying data consistency, which is characterized in that including:Setting as described in claim 13 to 16 is any
Equipment standby, as described in claim 17 to 19 is any, and the equipment as described in claim 20 to 23 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710309227.8A CN108809681A (en) | 2017-05-04 | 2017-05-04 | A kind of method, apparatus and system for verifying data consistency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710309227.8A CN108809681A (en) | 2017-05-04 | 2017-05-04 | A kind of method, apparatus and system for verifying data consistency |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108809681A true CN108809681A (en) | 2018-11-13 |
Family
ID=64054748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710309227.8A Pending CN108809681A (en) | 2017-05-04 | 2017-05-04 | A kind of method, apparatus and system for verifying data consistency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108809681A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020103796A1 (en) * | 2018-11-23 | 2020-05-28 | 中兴通讯股份有限公司 | Method for achieving disaster recovery and related device |
CN113612814A (en) * | 2021-06-28 | 2021-11-05 | 深圳震有科技股份有限公司 | Method, device, terminal and storage medium for screening session information |
CN117676923A (en) * | 2024-01-31 | 2024-03-08 | 成都爱瑞无线科技有限公司 | Management method, device and storage medium for session establishment in communication system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801543A (en) * | 2011-05-24 | 2012-11-28 | 中国银联股份有限公司 | Method for dynamic data synchronization between active-active systems |
CN104184756A (en) * | 2013-05-21 | 2014-12-03 | 阿里巴巴集团控股有限公司 | Data synchronization method, device and system |
US20150169421A1 (en) * | 2009-05-25 | 2015-06-18 | Alibaba Group Holding Limited | Cache data processing using cache cluster with configurable modes |
-
2017
- 2017-05-04 CN CN201710309227.8A patent/CN108809681A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150169421A1 (en) * | 2009-05-25 | 2015-06-18 | Alibaba Group Holding Limited | Cache data processing using cache cluster with configurable modes |
CN102801543A (en) * | 2011-05-24 | 2012-11-28 | 中国银联股份有限公司 | Method for dynamic data synchronization between active-active systems |
CN104184756A (en) * | 2013-05-21 | 2014-12-03 | 阿里巴巴集团控股有限公司 | Data synchronization method, device and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020103796A1 (en) * | 2018-11-23 | 2020-05-28 | 中兴通讯股份有限公司 | Method for achieving disaster recovery and related device |
US11889330B2 (en) | 2018-11-23 | 2024-01-30 | Zte Corporation | Methods and related devices for implementing disaster recovery |
CN113612814A (en) * | 2021-06-28 | 2021-11-05 | 深圳震有科技股份有限公司 | Method, device, terminal and storage medium for screening session information |
CN113612814B (en) * | 2021-06-28 | 2023-09-01 | 深圳震有科技股份有限公司 | Session information screening method, device, terminal and storage medium |
CN117676923A (en) * | 2024-01-31 | 2024-03-08 | 成都爱瑞无线科技有限公司 | Management method, device and storage medium for session establishment in communication system |
CN117676923B (en) * | 2024-01-31 | 2024-04-02 | 成都爱瑞无线科技有限公司 | Management method, device and storage medium for session establishment in communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021027501A1 (en) | Connection establishment method and device, link state notification method and device, interface establishment method and device, information transmission method and device, integrated access backhaul node, centralized unit, system and storage medium | |
JP6421833B2 (en) | Wireless communication system and method used in wireless communication system | |
JP6120865B2 (en) | Method and apparatus for managing security key for communication authentication with terminal in wireless communication system | |
CN101951616B (en) | Switching method, system and device for wireless controller | |
TWI484789B (en) | Master device, slave device, and methods thereof | |
EP3032882B1 (en) | Method and system for managing multiple connections of a terminal | |
CN108809681A (en) | A kind of method, apparatus and system for verifying data consistency | |
EP2346215B1 (en) | Equipment pool management method, node equipment and communication system | |
CN102137021B (en) | Remote redundancy back-up method of access controllers | |
US11102701B2 (en) | Method, device and system of controlling bluetooth networking among physical devices | |
CN110290471A (en) | A kind of method, apparatus and communication system initiating user plane path and rebuilding | |
CN106105368A (en) | Dual link network | |
US8934914B2 (en) | Key separation method and device | |
CN109982447A (en) | A kind of networking method of wireless network, system and wireless aps | |
KR20200135802A (en) | Handover method and apparatus, computer storage medium | |
CN102256250A (en) | Wireless terminal information synchronization method in wireless local area network and equipment thereof | |
CN110636561A (en) | Information transmission method and device, storage medium and electronic device | |
CN103813340B (en) | Method for sharing network load, AP and system based on resource pool | |
CN101610533A (en) | A kind of method and apparatus of realizing that the access controller backup is switched | |
WO2020093979A1 (en) | Gateway collaborative implementing method and device, iot gateways, and storage medium | |
CN103281720B (en) | The hot standby changing method of wireless controller and device, wireless controller, connecting system | |
CN104969513B (en) | Wireless controller upgrade method and equipment | |
WO2023116338A1 (en) | N2 handover implementation method, session management function network element, network device, and medium | |
CN113133008A (en) | Communication method and device | |
CN103781138A (en) | Method, apparatus and system for connecting WiMo sending terminal to WLAN |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |
|
RJ01 | Rejection of invention patent application after publication |