CN105827350B - A kind of information synchronization method and the network equipment - Google Patents

A kind of information synchronization method and the network equipment Download PDF

Info

Publication number
CN105827350B
CN105827350B CN201510002247.1A CN201510002247A CN105827350B CN 105827350 B CN105827350 B CN 105827350B CN 201510002247 A CN201510002247 A CN 201510002247A CN 105827350 B CN105827350 B CN 105827350B
Authority
CN
China
Prior art keywords
time
electronic equipment
operation flow
value
network side
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.)
Active
Application number
CN201510002247.1A
Other languages
Chinese (zh)
Other versions
CN105827350A (en
Inventor
高东辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510002247.1A priority Critical patent/CN105827350B/en
Publication of CN105827350A publication Critical patent/CN105827350A/en
Application granted granted Critical
Publication of CN105827350B publication Critical patent/CN105827350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of information synchronization method and the network equipments, wherein the method includes:Collect at least two operation flows;From at least two operation flow, the operation flow and the corresponding network side traffic flow of first electronic equipment of the first electronic equipment for meeting the first preset condition are chosen;When the temporal information difference of the temporal information of first operation flow of first electronic equipment first operation flow of network side corresponding with first electronic equipment, first time offset is determined;Using the first time offset, the temporal information of data information in the operation flow of first electronic equipment is adjusted.

Description

A kind of information synchronization method and the network equipment
Technical field
The present invention relates to the simultaneous techniques of communication network more particularly to a kind of information synchronization methods and the network equipment.
Background technology
Time synchronization technique has global positioning system (GPS, the Global Positioning based on satellite data System) synchronous method and side of synchronization Network Time Protocol (NTP, Network Time Protocol) based on procotol Method.But above two GPS/NTP synchronization means, it can not eliminate in data acquisition, due to the operation system of collecting device System and application program capacity difference, lead to the time error of final data information.
Invention content
In view of this, the purpose of the present invention is to provide a kind of information synchronization method and the network equipment, can at least solve existing There is the above problem existing for technology.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
The present invention provides a kind of information synchronization methods, are applied to the network equipment, the method includes:
Collect at least two operation flows;
From at least two operation flow, the Business Stream for the first electronic equipment for meeting the first preset condition is chosen Journey and the corresponding network side traffic flow of first electronic equipment;
When the temporal information of first operation flow of first electronic equipment is corresponding with first electronic equipment When the temporal information difference of first operation flow of network side, first time offset is determined;
Using the first time offset, the time of data information in the operation flow of first electronic equipment is adjusted Information.
Described from least two operation flows in said program, the first electronics that selection meets the first preset condition is set Standby operation flow and the corresponding network side traffic flow of first electronic equipment, including:
The operation flow of first electronic equipment is sorted sequentially in time, calculates adjacent two after sequence successively Time difference between the operation flow of a first electronic equipment obtains poor list at the first time;
The corresponding network side traffic flow of first electronic equipment is sorted sequentially in time, after calculating sequence successively The adjacent corresponding network side traffic flow of two the first electronic equipments between time difference, obtain the list of the second time difference;
Using the first time poor list and the second time difference list, the redundancy industry of the first electronic equipment is deleted It is engaged in flow and the corresponding network side redundant traffic flow of first electronic equipment, obtains meeting the of the first preset condition The operation flow of one electronic equipment and the corresponding network side traffic flow of first electronic equipment.
In said program, the determination first time offset, including:
It chooses from downgoing time difference set and is worth at the first time, the first time value characterizes the downgoing time difference set In minimum value;
The second time value is chosen from upstream time difference set, second time value characterizes the upstream time difference set In maximum value;
Using the first time value and second time value, the first time offset is determined.
It is described to utilize the first time value and second time value in said program, determine the first time Offset, including:
Continuum is generated using the first time value and second time value;
A numerical value is chosen from the continuum as the first time offset.
It is described to utilize the first time value and second time value in said program, determine the first time Offset, including:
The average value of the first time value and the second time value is calculated as the first time offset.
The present invention also provides a kind of network equipment, the network equipment includes:
Collecting unit, for collecting at least two operation flows;
Selection unit, for from least two operation flow, choosing the first electronics for meeting the first preset condition The operation flow of equipment and the corresponding network side traffic flow of first electronic equipment;
Computing unit, temporal information and first electricity for first operation flow when first electronic equipment When the temporal information difference of corresponding first operation flow of network side of sub- equipment, first time offset is determined;
Processing unit, for utilizing the first time offset, in the operation flow for adjusting first electronic equipment The temporal information of data information.
In said program, the selection unit was specifically used for the operation flow of first electronic equipment according to the time Sequence sorts, and calculates the time difference between the operation flow of two adjacent the first electronic equipments after sequence successively, obtains the The list of one time difference;The corresponding network side traffic flow of first electronic equipment is sorted sequentially in time, is calculated successively The time difference between the adjacent corresponding network side traffic flow of two the first electronic equipments after sequence, obtained for the second time difference List;Using the first time poor list and the second time difference list, the redundant traffic of the first electronic equipment is deleted Flow and the corresponding network side redundant traffic flow of first electronic equipment, obtain meeting the first of the first preset condition The operation flow of electronic equipment and the corresponding network side traffic flow of first electronic equipment.
In said program, the computing unit is specifically used for choosing value at the first time from downgoing time difference set, described Value characterizes the minimum value in the downgoing time difference set at the first time;The second time value is chosen from upstream time difference set, Second time value characterizes the maximum value in the upstream time difference set;Utilize the first time value and described second Time value determines the first time offset.
In said program, the computing unit is specifically used for utilizing the first time value and second time value Generate continuum;A numerical value is chosen from the continuum as the first time offset.
In said program, the computing unit, specifically for calculating being averaged for the first time value and the second time value Value is used as the first time offset.
Information synchronization method and the network equipment provided by the present invention, can from collected at least two operation flow, Choose the operation flow and the corresponding network side of first electronic equipment of the first electronic equipment for meeting the first preset condition After operation flow, according to the temporal information of first operation flow of first electronic equipment and first electronic equipment Relationship between the temporal information of first operation flow of corresponding network side, determines time offset, and then inclined according to the time The time of data information in the operation flow of shifting amount the first electronic equipment of adjustment.So, it will be able to eliminate in data acquisition The time error of introducing ensures the accuracy of temporal information in the operation flow of the first electronic equipment.
Description of the drawings
Fig. 1 is information synchronization method flow diagram of the embodiment of the present invention;
Fig. 2 is the schematic diagram that the embodiment of the present invention chooses operation flow;
Fig. 3 is schematic diagram of a scenario of the embodiment of the present invention one;
Fig. 4 is schematic diagram of a scenario of the embodiment of the present invention two;
Fig. 5 is schematic diagram of a scenario of the embodiment of the present invention three;
Fig. 6 is that network of the embodiment of the present invention sets composed structure schematic diagram;
Fig. 7 is schematic diagram of a scenario of the embodiment of the present invention four.
Specific implementation mode
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
Embodiment one,
The embodiment of the present invention proposes a kind of information synchronization method, as shown in Figure 1, including:
Step 101:Collect at least two operation flows;
Step 102:From at least two operation flow, the first electronic equipment for meeting the first preset condition is chosen Operation flow and the corresponding network side traffic flow of first electronic equipment;
Step 103:When the temporal information of first operation flow of first electronic equipment is set with first electronics When the temporal information difference of first operation flow of standby corresponding network side, first time offset is determined;
Step 104:Using the first time offset, adjusts data in the operation flow of first electronic equipment and believe The temporal information of breath.
Here, the facilities and equipments of the present embodiment can be a kind of network equipment, can access to multiple interfaces in network.
First electronic equipment can be user terminal, for example, mobile phone;Alternatively, first electronic equipment can be with For any one network equipment in network.
It is described collect at least two operation flows can be the network equipment be collected from each interface in network to Few two operation flows.
Preferably, described from least two operation flows, choose the first electronic equipment for meeting the first preset condition Operation flow and the corresponding network side traffic flow of first electronic equipment, including:
The operation flow of first electronic equipment is sorted sequentially in time, calculates adjacent two after sequence successively Time difference between the operation flow of a first electronic equipment obtains poor list at the first time;
The corresponding network side traffic flow of first electronic equipment is sorted sequentially in time, after calculating sequence successively The adjacent corresponding network side traffic flow of two the first electronic equipments between time difference, obtain the list of the second time difference;
Using the first time poor list and the second time difference list, chooses and meet the of the first preset condition The operation flow of one electronic equipment and the corresponding network side traffic flow of first electronic equipment.
Meet the operation flow and described first of the first electronic equipment of the first preset condition below for above-mentioned selection The step of electronic equipment corresponding network side traffic flow, provide an implement scene, it is assumed that the first electronic equipment is terminal, such as Shown in Fig. 2, including:
Step 201:First data information of each operation flow is selected from all operation flows of terminal;It will be each Temporal information of the temporal information of first data information of a operation flow as corresponding operation flow;
Step 202:Time difference between the two neighboring operation flow of computing terminal successively obtains poor list at the first time { A0, A1, A2 ... };For example, shown in Fig. 3, wherein the operation flow time of terminal is respectively TA0, TA1 to TAi, and adjacent two Time difference between a operation flow is respectively then A0, A1 to Ai;
Step 203:First number of each operation flow is selected from all operation flows of the corresponding network side of terminal It is believed that breath;Using the temporal information of first data information of each operation flow as the temporal information of corresponding operation flow;
Step 204:Successively the time difference between the two neighboring operation flow of the corresponding network side of computing terminal, obtain second Time difference list { B0, B1, B2 ... };For example, shown in Fig. 3, wherein the operation flow time of the corresponding network side of terminal is distinguished For TB0, TB1 to TBi;Time difference between two neighboring operation flow is respectively then B0, B1 to Bi;
Step 205:It traverses the first time poor list and the second time difference list, the first time is poor List and the time difference in the second time difference list;
Step 206:When the difference between two time differences is in preset proper network time delay range, remove described two Redundant data before time difference, determining operation flow and terminal from two time differences corresponding terminal are corresponding Network side traffic flow starts, operation flow and the network side traffic flow path match of terminal.Signaling/operation flow is completed to synchronize. As shown in figure 3, the difference between Ai and Bj is in preset proper network time delay range, it is determined that TAi starts the business of terminal Flow and TBj are matched between starting the corresponding network side traffic flow of terminal.
Above-mentioned steps 201- steps 202 and step 203-204 can be operated simultaneously, or can first carry out step Step 201- steps 202 are executed after 203- steps 204.
Preferably, above-mentioned downgoing time difference set and upstream time difference set are according to the preset set of values of actual conditions It closes.
The temporal information of the operation flow can be the timestamp in operation flow in first data information.
The temporal information of first operation flow of the first electronic equipment described in the present embodiment characterizes first electronics In first operation flow that equipment is initiated, the timestamp of the first data information;Correspondingly, first electronic equipment corresponds to The temporal information of first operation flow of network side characterize the corresponding network side of first electronic equipment receives first In a operation flow, the timestamp of the first data information.For example, as shown in figure 4, first Business Stream of the first electronic equipment The temporal information of journey is TA0, and the temporal information of corresponding first operation flow of network side of the first electronic equipment is TB0.
The temporal information of first operation flow of the first electronic equipment described in the present embodiment is set with first electronics The temporal information difference of first operation flow of standby corresponding network side can be there are two types of situation, and one is the first electronic equipments The temporal information of first operation flow is more than the time of corresponding first operation flow of network side of first electronic equipment Information, another kind are that the temporal information of first operation flow of first electronic equipment is less than first electronic equipment pair The temporal information for first operation flow of network side answered.
In addition, the temporal information when first operation flow of first electronic equipment and first electronic equipment pair When the temporal information for first operation flow of network side answered is identical, it is synchronous to be considered as the two, need not be operated, and is tied Beam process flow.
The determination first time offset, including:It chooses from downgoing time difference set and is worth at the first time, described first Time value characterizes the minimum value in the downgoing time difference set;The second time value is chosen from upstream time difference set, it is described Second time value characterizes the maximum value in the upstream time difference set;Utilize the first time value and second time Value, determines the first time offset.
Further, described to utilize the first time value and second time value, determine that the first time is inclined Shifting amount, including following two modes:
Mode one generates continuum using the first time value and second time value;From the continuum Between one numerical value of middle selection as the first time offset.
Mode two calculates the average value of the first time value and the second time value as the first time offset.
Illustrated separately below by Fig. 4 and Fig. 5, two kinds of first electronic equipments first operation flow when Between under the different scene of the information temporal information of first operation flow of network side corresponding from first electronic equipment, determine Time offset and the specific implementation mode for adjusting operation flow:
Scene one, as shown in figure 4, first operation flow of the corresponding network side of the first electronic equipment temporal information TB0 is more than the temporal information TA0 of first operation flow of the first electronic equipment, then the upstream data of first electronic equipment Time difference (UpValue) subtract TB0 equal to TA0;First electronic equipment, second operation flow of corresponding network side when Between information TB1 also greater than the temporal information TA1 of second operation flow of the first electronic equipment, then first electronic equipment The time difference (DownValue) of downlink data subtract TB1 equal to TA1;
If adjusting the industry of first electronic equipment according to the maximum value (UpValueMax) of upstream time difference set The time for flow of being engaged in and the temporal information of the corresponding network side traffic flow of first electronic equipment, then result is as Fig. 4 Shown in intermediate figure, it can be achieved that all upflows it is logically true;
If adjusting first electronic equipment according to the minimum value (DownValueMin) of downgoing time difference set The temporal information of the time of operation flow and the corresponding network side traffic flow of first electronic equipment, then result as Shown in figure on the right of Fig. 4, it can be achieved that all downflows it is logically true;
Therefore, it is necessary to choose the minimum value (DownValueMin) in downgoing time difference set to be used as value at the first time, from Maximum value (UpValueMax) is chosen in upstream time difference set is used as the second time value;So, the first time offset Arbitrary value conduct in the continuum of composition where being worth in this above-mentioned first time value and the second time value two First time offset just can guarantee the logically true of all flows of uplink and downlink;
In the present embodiment, another mode for determining first time offset is additionally provided i.e.:It chooses using at the first time The average value of value and the second time value, as first time offset, circular is (DownValueMin+ UpValueMax)/2。
Further, using the first time offset, data in the operation flow of first electronic equipment are adjusted The temporal information of information is specially:Temporal information in all data informations in all operation flows of first electronic equipment is equal Subtract first time offset so that signaling/operation flow logic obtains whole reduction.
Scene two, with above-mentioned Fig. 4 be directed to when the temporal information of first operation flow of first electronic equipment is big This scene exists another on the contrary when the temporal information of corresponding first operation flow of network side of first electronic equipment A scene, i.e., when the temporal information of first operation flow of first electronic equipment is corresponded to less than first electronic equipment First operation flow of network side temporal information when scene, as shown in Figure 5:
The temporal information TB0 of first operation flow of the corresponding network side of the first electronic equipment is more than the first electronic equipment First operation flow temporal information TA0, then the time difference (UpValue) of the upstream data of first electronic equipment TB0 is subtracted equal to TA0;The temporal information TB1 of the first electronic equipment second operation flow of corresponding network side is also greater than The temporal information TA1 of second operation flow of one electronic equipment, then time difference of the downlink data of first electronic equipment Value (DownValue) subtracts TB1 equal to TA1;
If adjusting first electronic equipment according to above-mentioned upstream time difference set maximum value (UpValueMax) The temporal information of the time of operation flow and the corresponding network side traffic flow of first electronic equipment, then result as Shown in figure among Fig. 5, it can be achieved that all upflows it is logically true;
If adjusting first electronic equipment according to above-mentioned downgoing time difference set minimum value (DownValuemin) Operation flow time and the corresponding network side traffic flow of first electronic equipment temporal information, then result is just Shown in figure on the right of Fig. 5, it can be achieved that all downflows it is logically true;
Therefore, it is necessary to choose the minimum value (DownValueMin) in downgoing time difference set to be used as value at the first time, from Maximum value (UpValueMax) is chosen in upstream time difference set is used as the second time value;So, the first time offset Can in the continuum of the composition where this above-mentioned first time value and the value of the second time value two arbitrary value as the As soon as time offset can guarantee the logically true of all flows of uplink and downlink;
In the present embodiment, another mode for determining first time offset is additionally provided i.e.:It chooses using at the first time The average value of value and the second time value, as first time offset, circular is (DownValueMin+ UpValueMax)/2。
Further, using the first time offset, data in the operation flow of first electronic equipment are adjusted The temporal information of information is specially:Temporal information in all data informations in all operation flows of first electronic equipment is equal Subtract first time offset so that signaling/operation flow logic obtains whole reduction.
Above-mentioned downgoing time difference set and upstream time difference set all can be according to the preset data sets of actual conditions It closes.
As it can be seen that the scheme for implementing to provide using the present invention, it will be able to which the first electronics that selection meets the first preset condition is set After standby operation flow and the corresponding network side traffic flow of first electronic equipment, set according to first electronics The temporal information of first standby operation flow first operation flow of network side corresponding with first electronic equipment when Between relationship between information, determine time offset, and then the operation flow of the first electronic equipment is adjusted according to time offset The time of middle data information.So, it will be able to eliminate the time error brought in data acquisition, ensure the first electronic equipment Operation flow in temporal information accuracy;
In addition, can also ensure that the time of all operation flows is carried out at the same time offset using the above scheme, avoid pair The influence of other Performance Analysis.
Embodiment two,
The embodiment of the present invention proposes a kind of network equipment, as shown in fig. 6, the network equipment includes:
Collecting unit 61, for collecting at least two operation flows;
Selection unit 62, for from least two operation flow, choosing the first electricity for meeting the first preset condition The operation flow of sub- equipment and the corresponding network side traffic flow of first electronic equipment;
Computing unit 63, the temporal information and described first for first operation flow when first electronic equipment When the temporal information difference of electronic equipment first operation flow of corresponding network side, first time offset is determined;
Processing unit 64 adjusts the operation flow of first electronic equipment for utilizing the first time offset The temporal information of middle data information.
Here, the network equipment of the present embodiment can access to multiple interfaces in network.
First electronic equipment can be user terminal, for example, mobile phone;Alternatively, first electronic equipment can be with For any one network equipment in network.
It is described collect at least two operation flows can be the network equipment be collected from each interface in network to Few two operation flows.
Preferably, the selection unit 62 is specifically used for the operation flow of first electronic equipment is suitable according to the time Sequence sorts, and calculates the time difference between the operation flow of two adjacent the first electronic equipments after sequence successively, obtains first Time difference list;The corresponding network side traffic flow of first electronic equipment is sorted sequentially in time, successively the row of calculating The time difference between the adjacent corresponding network side traffic flow of two the first electronic equipments after sequence obtains the second time difference row Table;Using the first time poor list and the second time difference list, the redundant traffic stream of the first electronic equipment is deleted Journey and the corresponding network side redundant traffic flow of first electronic equipment obtain the first electricity for meeting the first preset condition The operation flow of sub- equipment and the corresponding network side traffic flow of first electronic equipment.
Meet the operation flow and described first of the first electronic equipment of the first preset condition below for above-mentioned selection The step of electronic equipment corresponding network side traffic flow, provide an implement scene, it is assumed that the first electronic equipment is terminal, packet It includes:First data information of each operation flow is selected from all operation flows of terminal;By each operation flow Temporal information of the temporal information of first data information as corresponding operation flow;The two neighboring business of computing terminal successively Time difference between flow obtains poor list { A0, A1, A2 ... } at the first time;For example, shown in Fig. 3, wherein the industry of terminal Business flow time is respectively TA0, TA1 to TAi, and the time difference between two neighboring operation flow is respectively then A0, A1 to Ai;From First data information of each operation flow is selected in all operation flows of the corresponding network side of terminal;By each Business Stream Temporal information of the temporal information of first data information of journey as corresponding operation flow;The corresponding net of computing terminal successively Time difference between the two neighboring operation flow in network side obtains the second time difference list { B0, B1, B2 ... };For example, Fig. 3 institutes Show, wherein the operation flow time of the corresponding network side of terminal is respectively TB0, TB1 to TBi;Between two neighboring operation flow Time difference be respectively then B0, B1 to Bi;Traverse the first time poor list and the second time difference list, relatively described in Time difference in poor list and the second time difference list at the first time, when the difference between two time differences it is preset just Within the scope of normal network delay, the operation flow and the corresponding network of terminal from two time differences corresponding terminal are determined Side business flow starts, operation flow and the network side traffic flow path match of terminal.So, it will be able to remove described two times Redundant data before difference is completed signaling/operation flow and is synchronized.As shown in figure 3, the difference between Ai and Bj is preset normal Within the scope of network delay, it is determined that TAi starts the operation flow of terminal and TBj start the corresponding network side traffic flow of terminal it Between be matched.
The temporal information of first operation flow of the first electronic equipment described in the present embodiment is set with first electronics The temporal information difference of first operation flow of standby corresponding network side can be there are two types of situation, and one is the first electronic equipments The temporal information of first operation flow is more than the time of corresponding first operation flow of network side of first electronic equipment Information, another kind are that the temporal information of first operation flow of first electronic equipment is less than first electronic equipment pair The temporal information for first operation flow of network side answered.
In addition, the temporal information when first operation flow of first electronic equipment and first electronic equipment pair When the temporal information for first operation flow of network side answered is identical, it is synchronous to be considered as the two, need not be operated, and is tied Beam process flow.
Preferably, above-mentioned downgoing time difference set and upstream time difference set are according to the preset set of values of actual conditions It closes.
The temporal information of the operation flow can be the timestamp in operation flow in first data information.
The computing unit is specifically used for choosing value at the first time, the first time value from downgoing time difference set Characterize the minimum value in the downgoing time difference set;The second time value is chosen from upstream time difference set, when described second Between value characterize the maximum value in the upstream time difference set;Using the first time value and second time value, really The fixed first time offset.
Further, the computing unit is specifically used for giving birth to using the first time value and second time value At continuum;A numerical value is chosen from the continuum as the first time offset.
Alternatively, the computing unit, is specifically used for calculating the average value conduct of the first time value and the second time value The first time offset.
Illustrated separately below by Fig. 4 and Fig. 5, two kinds of first electronic equipments first operation flow when Between under the different scene of the information temporal information of first operation flow of network side corresponding from first electronic equipment, determine Time offset and the specific implementation mode for adjusting operation flow:
Scene one, as shown in figure 4, first operation flow of the corresponding network side of the first electronic equipment temporal information TB0 is more than the temporal information TA0 of first operation flow of the first electronic equipment, then the upstream data of first electronic equipment Time difference (UpValue) subtract TB0 equal to TA0;First electronic equipment, second operation flow of corresponding network side when Between information TB1 also greater than the temporal information TA1 of second operation flow of the first electronic equipment, then first electronic equipment The time difference (DownValue) of downlink data subtract TB1 equal to TA1;
If adjusting the industry of first electronic equipment according to the maximum value (UpValueMax) of upstream time difference set The time for flow of being engaged in and the temporal information of the corresponding network side traffic flow of first electronic equipment, then result is as Fig. 4 Shown in intermediate figure, it can be achieved that all upflows it is logically true;
If adjusting first electronic equipment according to the minimum value (DownValueMin) of downgoing time difference set The temporal information of the time of operation flow and the corresponding network side traffic flow of first electronic equipment, then result as Shown in figure on the right of Fig. 4, it can be achieved that all downflows it is logically true;
Therefore, it is necessary to choose the minimum value (DownValueMin) in downgoing time difference set to be used as value at the first time, from Maximum value (UpValueMax) is chosen in upstream time difference set is used as the second time value;So, the first time offset Can in the continuum of the composition where this above-mentioned first time value and the value of the second time value two arbitrary value as the As soon as time offset can guarantee the logically true of all flows of uplink and downlink;
In the present embodiment, another mode for determining first time offset is additionally provided i.e.:It chooses using at the first time The average value of value and the second time value, as first time offset, circular is (DownValueMin+ UpValueMax)/2。
Further, using the first time offset, data in the operation flow of first electronic equipment are adjusted The temporal information of information is specially:Temporal information in all data informations in all operation flows of first electronic equipment is equal Subtract first time offset so that signaling/operation flow logic obtains whole reduction.
Scene two, with above-mentioned Fig. 4 be directed to when the temporal information of first operation flow of first electronic equipment is big This scene exists another on the contrary when the temporal information of corresponding first operation flow of network side of first electronic equipment A scene, i.e., when the temporal information of first operation flow of first electronic equipment is corresponded to less than first electronic equipment First operation flow of network side temporal information when scene, as shown in Figure 5:
The temporal information TB0 of first operation flow of the corresponding network side of the first electronic equipment is more than the first electronic equipment First operation flow temporal information TA0, then the time difference (UpValue) of the upstream data of first electronic equipment TB0 is subtracted equal to TA0;The temporal information TB1 of the first electronic equipment second operation flow of corresponding network side is also greater than The temporal information TA1 of second operation flow of one electronic equipment, then time difference of the downlink data of first electronic equipment Value (DownValue) subtracts TB1 equal to TA1;
If adjusting first electronic equipment according to above-mentioned upstream time difference set maximum value (UpValueMax) The temporal information of the time of operation flow and the corresponding network side traffic flow of first electronic equipment, then result as Shown in figure among Fig. 5, it can be achieved that all upflows it is logically true;
If adjusting first electronic equipment according to above-mentioned downgoing time difference set minimum value (DownValuemin) Operation flow time and the corresponding network side traffic flow of first electronic equipment temporal information, then result is just Shown in figure on the right of Fig. 5, it can be achieved that all downflows it is logically true;
Therefore, it is necessary to choose the minimum value (DownValueMin) in downgoing time difference set to be used as value at the first time, from Maximum value (UpValueMax) is chosen in upstream time difference set is used as the second time value;So, the first time offset Arbitrary value conduct in the continuum of composition where being worth in this above-mentioned first time value and the second time value two First time offset just can guarantee the logically true of all flows of uplink and downlink;
In the present embodiment, another mode for determining first time offset is additionally provided i.e.:It chooses using at the first time The average value of value and the second time value, as first time offset, circular is (DownValueMin+ UpValueMax)/2。
Further, using the first time offset, data in the operation flow of first electronic equipment are adjusted The temporal information of information is specially:Temporal information in all data informations in all operation flows of first electronic equipment is equal Subtract first time offset so that signaling/operation flow logic obtains whole reduction.
Above-mentioned downgoing time difference set and upstream time difference set all can be according to the preset data sets of actual conditions It closes.
Fig. 7 is the signal scene that the network equipment provided in this embodiment is operated, wherein the network equipment applies quotient With drive test and Open-Source Tools, it is used for the original signaling/business datum in acquisition terminal side, for example, eat dishes without rice or wine measurement data and user plane Data, and standard data, such as the data of CSV formats are exported after the completion of acquiring;Meanwhile the network equipment is led by application Signaling monitoring system/instrument is flowed, the original signaling of acquisition core net, user face data are simultaneously filtered extraction, export PCAP standards Formatted data realizes signaling and operation flow logic integrally also by signaling/operation flow matching and time synchronizing It is former.
So, it will be able to choose the operation flow and described first for the first electronic equipment for meeting the first preset condition After the corresponding network side traffic flow of electronic equipment, believed according to the time of first operation flow of first electronic equipment The relationship between the temporal information of first operation flow of network side corresponding with first electronic equipment is ceased, determines that the time is inclined Shifting amount, and then according to the time of data information in the operation flow of time offset the first electronic equipment of adjustment.So, it will be able to It eliminates in data acquisition, ensures the accuracy of temporal information in the operation flow of the first electronic equipment;
In addition, can also ensure that the time of all operation flows is carried out at the same time offset using the above scheme, avoid pair The influence of other Performance Analysis.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as:Multiple units or component can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion It can be the INDIRECT COUPLING by some interfaces, equipment or unit to divide mutual coupling or direct-coupling or communication connection Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be and be physically separated, aobvious as unit The component shown can be or may not be physical unit, you can be located at a place, may be distributed over multiple network lists In member;Some or all of wherein unit can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, also may be used It, can also be during two or more units be integrated in one unit to be each unit individually as a unit;It is above-mentioned The form that hardware had both may be used in integrated unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:It is movable storage device, read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or The various media that can store program code such as person's CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (8)

1. a kind of information synchronization method is applied to the network equipment, which is characterized in that the method includes:
Collect at least two operation flows;
From at least two operation flow, choose meet the first preset condition the first electronic equipment operation flow, with And the corresponding network side traffic flow of first electronic equipment;
When the temporal information of first operation flow of first electronic equipment network corresponding with first electronic equipment When the temporal information difference of the operation flow of side first, first time offset is determined;
Using the first time offset, the time letter of data information in the operation flow of first electronic equipment is adjusted Breath;
It is described from least two operation flows, choose meet the first preset condition the first electronic equipment operation flow, with And the corresponding network side traffic flow of first electronic equipment, including:
The operation flow of first electronic equipment is sorted sequentially in time, calculates adjacent two after sequence the successively Time difference between the operation flow of one electronic equipment obtains poor list at the first time;First electronic equipment is corresponding Network side traffic flow sorts sequentially in time, calculates the adjacent corresponding net of two the first electronic equipments after sequence successively Time difference between network side business flow, obtain the list of the second time difference;Utilize the first time poor list and described The redundant traffic flow and the corresponding network side of first electronic equipment of the first electronic equipment are deleted in the list of two time differences Redundant traffic flow, the operation flow and first electronics for obtaining the first electronic equipment for meeting the first preset condition are set Standby corresponding network side traffic flow.
2. according to the method described in claim 1, it is characterized in that, it is described determination first time offset, including:
It chooses from downgoing time difference set and is worth at the first time, the first time value characterizes in the downgoing time difference set Minimum value;
The second time value is chosen from upstream time difference set, second time value characterizes in the upstream time difference set Maximum value;
Using the first time value and second time value, the first time offset is determined.
3. according to the method described in claim 2, it is characterized in that, it is described using the first time value and it is described second when Between be worth, determine the first time offset, including:
Continuum is generated using the first time value and second time value;
A numerical value is chosen from the continuum as the first time offset.
4. according to the method described in claim 2, it is characterized in that, it is described using the first time value and it is described second when Between be worth, determine the first time offset, including:
The average value of the first time value and the second time value is calculated as the first time offset.
5. a kind of network equipment, which is characterized in that the network equipment includes:
Collecting unit, for collecting at least two operation flows;
Selection unit, for from least two operation flow, choosing the first electronic equipment for meeting the first preset condition Operation flow and the corresponding network side traffic flow of first electronic equipment;
Computing unit, temporal information and first electronics for first operation flow when first electronic equipment are set When the temporal information difference of first operation flow of standby corresponding network side, first time offset is determined;
Processing unit adjusts data in the operation flow of first electronic equipment for utilizing the first time offset The temporal information of information;
The selection unit is counted successively specifically for the operation flow of first electronic equipment sorts sequentially in time The time difference between the operation flow of two adjacent the first electronic equipments after sequence is calculated, poor list at the first time is obtained;It will The corresponding network side traffic flow of first electronic equipment sorts sequentially in time, calculates adjacent two after sequence successively Time difference between the corresponding network side traffic flow of a first electronic equipment, obtain the list of the second time difference;Utilize described The redundant traffic flow and described the of the first electronic equipment is deleted in the list of one time difference and the second time difference list The corresponding network side redundant traffic flow of one electronic equipment, obtains the Business Stream for the first electronic equipment for meeting the first preset condition Journey and the corresponding network side traffic flow of first electronic equipment.
6. the network equipment according to claim 5, which is characterized in that
The computing unit is specifically used for choosing value at the first time from downgoing time difference set, the first time value characterization Minimum value in the downgoing time difference set;The second time value, second time value are chosen from upstream time difference set Characterize the maximum value in the upstream time difference set;Using the first time value and second time value, institute is determined State first time offset.
7. the network equipment according to claim 6, which is characterized in that
The computing unit is specifically used for generating continuum using the first time value and second time value;From A numerical value is chosen in the continuum as the first time offset.
8. the network equipment according to claim 6, which is characterized in that the computing unit is specifically used for calculating described the The average value of one time value and the second time value is as the first time offset.
CN201510002247.1A 2015-01-04 2015-01-04 A kind of information synchronization method and the network equipment Active CN105827350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510002247.1A CN105827350B (en) 2015-01-04 2015-01-04 A kind of information synchronization method and the network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510002247.1A CN105827350B (en) 2015-01-04 2015-01-04 A kind of information synchronization method and the network equipment

Publications (2)

Publication Number Publication Date
CN105827350A CN105827350A (en) 2016-08-03
CN105827350B true CN105827350B (en) 2018-09-25

Family

ID=56513507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510002247.1A Active CN105827350B (en) 2015-01-04 2015-01-04 A kind of information synchronization method and the network equipment

Country Status (1)

Country Link
CN (1) CN105827350B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574547B (en) * 2017-03-13 2020-07-03 中国移动通信有限公司研究院 Time calibration method and device
CN109525347B (en) * 2017-09-19 2019-11-22 比亚迪股份有限公司 Method for synchronizing time and device
CN111273538B (en) * 2020-01-13 2021-12-10 广东大普通信技术有限公司 Method and device for dynamically adapting clock noise and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2086135A1 (en) * 2007-06-12 2009-08-05 Huawei Technologies Co., Ltd. Time synchronization method, equipment and network communication system
CN102480653A (en) * 2010-11-30 2012-05-30 中兴通讯股份有限公司 Method for activating service after restarting automatic switched optical network (ASON) node and system thereof
CN103346855A (en) * 2013-05-31 2013-10-09 华为技术有限公司 Signal timing sequence restoration method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2086135A1 (en) * 2007-06-12 2009-08-05 Huawei Technologies Co., Ltd. Time synchronization method, equipment and network communication system
CN102480653A (en) * 2010-11-30 2012-05-30 中兴通讯股份有限公司 Method for activating service after restarting automatic switched optical network (ASON) node and system thereof
CN103346855A (en) * 2013-05-31 2013-10-09 华为技术有限公司 Signal timing sequence restoration method and device

Also Published As

Publication number Publication date
CN105827350A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
JP4188235B2 (en) A system for parameter estimation and tracking of interfering digitally modulated signals.
CN105379220B (en) For correcting the method and integrated circuit related with same of the timestamp in multichannel communication multiple telecommunication link
US8068429B2 (en) Transmit scheduling
CN105827350B (en) A kind of information synchronization method and the network equipment
DE102020115568A1 (en) Techniques for determining time stamp inaccuracies in a transmitter / receiver
CN101674174B (en) Method and equipment for increasing clock stability
CN105450322B (en) Multi-bit stream redundancy telemetering data stream real-time fusion method
CN103220060A (en) Time control apparatus, time control method, and program
CN104579623B (en) System and method during a kind of secondary equipment in power system network pair
CN107306178A (en) clock data recovery device and method
CN108521547A (en) Image processing method, device and equipment
CN108010476A (en) A kind of video signal transmission clock generating device and method
CN108600047A (en) Serial transmission chip and SERDES circuit testing methods
CN103685388B (en) Method and device for information management
JP5532399B2 (en) Method and system for determining a dependency between device parameters and signal parameters of a mobile phone
CN109994128A (en) Voice quality problem localization method, device, equipment and medium
CN108574547A (en) A kind of time calibrating method and device
CN104966155B (en) Consider the intelligent substation of compensation of delay characteristic across the synchronous Wave record method of interval combining unit MU
CN103888227A (en) Data frame receiving and analyzing device and method based on VL
CN102522110B (en) Method and device for realizing data preloading in transmission circuit of digital audio interface
CN104702380B (en) A kind of processing method and processing device of data frame
CN108990086A (en) A kind of synchronizing network alarm method and device
CN112491578B (en) MVB message and waveform acquisition and storage method based on condition filtering
CN113447745B (en) Station domain virtual fault wave recording processing method
CN104602261A (en) Method and device for detecting deviation of synchronous clock

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant