CN114641060A - Clock synchronization method, device, system and storage medium - Google Patents

Clock synchronization method, device, system and storage medium Download PDF

Info

Publication number
CN114641060A
CN114641060A CN202011481020.7A CN202011481020A CN114641060A CN 114641060 A CN114641060 A CN 114641060A CN 202011481020 A CN202011481020 A CN 202011481020A CN 114641060 A CN114641060 A CN 114641060A
Authority
CN
China
Prior art keywords
processed
network device
core network
clock
service
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
Application number
CN202011481020.7A
Other languages
Chinese (zh)
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 United Network Communications Group Co Ltd
Original Assignee
China United Network 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 United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011481020.7A priority Critical patent/CN114641060A/en
Publication of CN114641060A publication Critical patent/CN114641060A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a clock synchronization method, a device, a system and a storage medium, which are beneficial to realizing low time delay and high reliability in service data processing, and the method comprises the following steps: receiving a service request to be processed; the pending service request includes: the service type of the service requested to be processed by the service request to be processed; and synchronizing the clock with the core network equipment according to the service type.

Description

Clock synchronization method, device, system and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a clock synchronization method, apparatus, system, and storage medium.
Background
At present, a Mobile Edge Computing (MEC) server is deployed at a base station, such as an evolved Node B (e-NB) or a base station convergence Node, in an area where a campus network is located, and a campus network gateway is accessed in a dedicated manner (such as an optical fiber), and is matched with a campus network service offloading mechanism to enable a campus mobile user to access a campus network service only through one hop without long-distance transmission to the campus network through a core network device and the internet, so that service transmission time is greatly reduced, and campus network service access experience of the mobile user is remarkably improved. However, in the service sinking method, the MEC server-side clock is not synchronized with the clock in the core network device, which may affect some user services that are required to be severe at some time, for example: security services or internet of vehicles services, etc.
Disclosure of Invention
The clock synchronization method, the clock synchronization device, the clock synchronization system and the storage medium are beneficial to realizing low time delay and high reliability in service data processing.
In a first aspect, a clock synchronization method is provided, where the method is applied to a network device, and the method includes: receiving a service request to be processed; the pending service request includes: the service type of the service requested to be processed by the service request to be processed; and synchronizing the clock with the core network equipment according to the service type.
Therefore, the network equipment can determine whether the service belongs to a low-delay and high-reliability service according to the service type of the service, and if so, the service is processed after the clock is synchronized with the core network equipment, so that the low-delay and high-reliability service processing is ensured. For a service with low delay requirement, a network device (for example, a campus network base station with an MEC server deployed) may not process the service through a core network device, thereby improving the processing efficiency of the service and ensuring low delay.
In a possible implementation manner, the pending service request further includes an account identifier of an account that sends the pending service request, and the method further includes: determining that the service request to be processed passes verification according to the account identifier; the synchronizing the clock with the core network device according to the service type includes: and under the condition that the service request to be processed is confirmed to pass the verification, synchronizing a clock with the core network equipment according to the service type.
In another possible implementation manner, the synchronizing a clock with a core network device according to the service type includes: and synchronizing a clock with the core network equipment under the condition that the service type meets the preset condition.
In another possible implementation manner, the synchronizing the clock with the core network device includes: acquiring the data volume to be processed; the data volume to be processed comprises the data volume of the service requested to be processed by the service request to be processed; under the condition that the data volume to be processed is larger than a preset threshold value, distributing resources for the service requested to be processed by the service request to be processed and then synchronizing a clock with the core network equipment; and synchronizing the clock with the core network equipment under the condition that the data volume to be processed is less than or equal to a preset threshold value.
In another possible implementation manner, the synchronizing the clock with the core network device includes: acquiring path delay between network equipment and core network equipment; acquiring a master clock of core network equipment; and synchronizing the clock with the core network equipment according to the path delay and the master clock.
In a second aspect, a network device is provided, which is operable to perform any of the methods provided in any of the possible implementation manners of the first aspect.
According to the second aspect, in a first possible implementation manner of the second aspect, the network device includes several functional modules, and the several functional modules are respectively configured to execute corresponding steps in any one of the methods provided by the first aspect.
According to a second aspect, in a second possible implementation manner of the second aspect, the network device may include a processor configured to execute any one of the methods provided in any one of the possible implementation manners of the first aspect to the first aspect. The network device may also include a memory for storing a computer program. To enable the processor to invoke the computer program for performing any of the methods provided in any of the possible implementations of the first aspect described above.
In a third aspect, the present application provides a chip system applied to a computer device, the chip system including one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected through a line; the interface circuit is to receive signals from a memory of the computer device and to send the signals to the processor, the signals including computer instructions stored in the memory. When the processor executes the computer instructions, the computer device performs the method according to any one of the possible implementations of the first aspect to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium comprising computer instructions that, when executed on a computer device, cause the computer device to perform the method according to any one of the possible implementations of the first aspect to the first aspect.
In a fifth aspect, the present application provides a computer program product comprising computer instructions that, when run on a computer device, cause the computer device to perform the method according to any one of the possible implementations of the first aspect to the first aspect.
In a sixth aspect, the present application provides a network system, where the network system includes a terminal device, a network device, and a core network device, and the network device may perform the method according to any one of the possible implementation manners of the first aspect to the first aspect.
It is understood that any of the network devices, computer readable storage media, computer program products, systems or chip systems provided above can be applied to the corresponding methods provided above, and therefore, the beneficial effects achieved by the methods can refer to the beneficial effects in the corresponding methods, which are not described herein again.
These and other aspects of the present application will be more readily apparent from the following description.
Drawings
Fig. 1 is a schematic diagram of a network structure to which the technical solution provided by the embodiment of the present application is applied;
fig. 2 is a schematic structural diagram of an electronic device to which the technical solution provided in the present application is applied;
fig. 3 is a schematic flowchart of a clock synchronization method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a method for synchronizing clocks between a network device and a core network device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a network device according to an embodiment of the present application.
Detailed Description
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more. "plurality" means two or more.
In the embodiment of the present application, "and/or" is only one kind of association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In an embodiment of the application, a combination comprises one or more objects.
The clock synchronization method provided by the embodiment of the application can be applied to a network structure as shown in fig. 1. The network architecture includes a terminal device 10, a network device 20, and a core network device 30. The terminal device 10 is connected with the network device 20 through a network; the network device 20 and the core network device 30 are connected via a network.
The terminal device 10 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a desktop computer, and the like. In the embodiment of the present application, the number of the terminal devices 10 is not limited, and two terminal devices 10 are illustrated as an example in fig. 1.
The network device 20 includes an access network device such as a base station. In this embodiment, the network device 20 may be a network device in a campus network, and the MEC server is deployed in the network device 20.
The core network device 30 is used to manage service data. The core network device 30 includes a master clock therein.
The clock synchronization method provided by the embodiment of the application is suitable for edge scenes. An edge scenario may be a campus network where edge computing platforms such as MEC servers and Concentration Units (CUs) are deployed on the same network device. The network device is used for managing the service data of the base station in the park network.
In a possible implementation manner, the terminal device 10, the network device 20, and the core network device 30 may be implemented by an electronic apparatus as shown in fig. 2. The electronic device 40 as shown in fig. 2 may comprise at least one low power processor 401, a communication line 402, a memory 403 and at least one communication interface 404.
The processor 401 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs in accordance with the present disclosure.
The communication link 402 may include at least one path, such as a data bus, and/or a control bus, for communicating information between the aforementioned components (e.g., the at least one processor 401, the communication link 402, the memory 403, and the at least one communication interface 404).
The communication interface 404 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as Wide Area Networks (WAN), Local Area Networks (LAN), etc.
The memory 403 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory 403, which may be separate, is coupled to the processor 401 via a communication line 402. The memory 403 may also be integrated with the processor 401. The memory 403 provided by the embodiments of the present application generally includes a non-volatile memory. The memory 403 is used for storing computer instructions for executing the present invention, and is controlled by the processor 401. Processor 401 is configured to execute computer instructions stored in memory 403 to implement the methods provided by the embodiments described below.
The storage 403 includes a memory and a hard disk.
Optionally, the computer instructions in the embodiments of the present application may also be referred to as application program code or system, which is not specifically limited in the embodiments of the present application.
The electronic device shown in fig. 2 is merely an example, and does not limit the configuration of the electronic device to which the embodiments of the present application are applicable. In actual implementation, the electronic device may include more or fewer apparatuses or devices than those shown in fig. 2.
The clock synchronization method provided by the embodiment of the present application is described below with reference to the drawings.
As shown in fig. 3, fig. 3 is a schematic flowchart illustrating a clock synchronization method according to an embodiment of the present application. The method may be applied to the network device in fig. 1. As shown in fig. 3, the method may include the steps of:
s100: and the terminal equipment sends a service request to be processed to the network equipment. The pending service request includes: the service type of the service requested to be processed by the service request to be processed.
Specifically, a terminal device in the campus network sends a service request to be processed to a network device.
Optionally, the pending service request further includes an account identifier of an account sending the pending service request.
Optionally, S101, the network device determines that the to-be-processed service request is verified according to the account identifier.
In a possible implementation manner, the network device forwards the account identifier to a corresponding server for authentication. And determining that the to-be-processed service request passes the verification under the condition that the network equipment receives the response message that the corresponding server passes the verification.
S102: and the network equipment synchronizes a clock with the core network equipment according to the service type of the service requested to be processed by the service request to be processed.
Specifically, as shown in fig. 4, a schematic flow chart of a method for synchronizing clocks between a network device and a core network device is shown:
the method comprises the following steps: the network equipment acquires the data volume to be processed. The pending data volume includes a data volume of a service requested to be processed by the pending service request.
Step two: and the network equipment judges whether the data volume to be processed is larger than a preset threshold value, if so, the third step is executed, and if not, the fourth step is executed.
Step three: the network equipment distributes resources for the service requested to be processed by the service request to be processed and synchronizes a clock with the core network equipment.
Specifically, the network device allocates resources to the data to be processed in sequence according to the priority order by using the resource scheduling algorithm, and synchronizes clocks with the core network device after the network device allocates resources to the service requested to be processed by the service request to be processed.
The method for synchronizing the clocks of the network device and the core network device may include the following steps S1 to S3:
s1: the network device obtains a path delay between the network device and the core network device.
In a possible implementation manner, the network device sends a measurement packet to the core network device, where the measurement packet includes a sending timestamp for the network device to send the measurement packet. The network equipment receives the response message of the measurement message responded by the core network equipment, and records the receiving time stamp of the response message. The network device obtains a time difference between the sending time stamp and the receiving time stamp, and the network device takes one half of the time difference as a path delay between the network device and the core network device.
In another possible implementation manner, the network device sends a Pdelay _ Req event packet to the core network device, and records a timestamp t sent1(ii) a After the core network equipment receives the Pdelay _ Req message sent by the network equipment, the core network equipment records the received timestamp t2(ii) a The core network device transmits the time stamp t2Packaging the event message into a Pdelay _ Resp event message, sending the message to network equipment, and recording a sending time stamp t3(ii) a The core network device will again time stamp t3Packing the event message into a Pdelay _ Resp _ Follow _ Up event message, and sending the event message to network equipment; after the network equipment receives the Pdelay _ Resp event message sent by the core network equipment, recording a receiving timestamp t4And resolves the timestamp t contained in the Pdelay _ Resp event message2(ii) a After the network device receives the Pdelay _ Resp _ Follow _ Up message sent by the core network device, the network device analyzes the timestamp t contained in the Pdelay _ Resp _ Follow _ Up message3(ii) a Thus, the network device receives four timestamps, t1,t2,t3,t4. The network device may calculate the path delay D by the following formula:
Figure BDA0002837576660000041
wherein, tirIndicating the path delay from the network device to the core network device, tirIndicating the path delay of the core network device to I.
It is understood that the network device may average the path delay through the above-mentioned steps for a plurality of measurements. Similarly, the network device and the core network device may also exchange roles, and the core network device obtains the path delay and then sends the path delay to the network device.
In another possible implementation manner, the network device requests the core network device for a request message for measuring the path delay, and the network device receives the path delay sent by the core network device.
In another possible implementation manner, the network device obtains a plurality of path delays through the two possible implementation manners, and obtains a path delay between the network device and the core network device according to the plurality of path delays. In one example, the network device obtains an average of the plurality of path delays as a path delay between the network device and the core network device.
In another possible implementation manner, the network device reads a pre-stored path delay between the network device and the core network device.
It can be understood that the network device may obtain and store the path delay between the network device and the core network device in advance in the resource idle period of the network device, so that the network device may directly obtain the pre-stored path delay, thereby accelerating the speed of service processing.
S2: the network device obtains a master clock of the core network device.
Specifically, the network device receives a master clock sent by the core network device.
In one example, a network device receives a master clock that the core network device transmits to the network device in accordance with a clock scheme defined in the ieee802.1as protocol.
The triggering condition for the core network device to send the master clock to the network device is not limited in the present application, and in an example, the core network device sends the master clock to the network device when receiving a request message for requesting the master clock sent by the network device. Optionally, the request message for requesting the master clock, sent by the network device to the core network device, further includes a charging field, where the charging field is used to instruct the core network device to charge the service requested to be processed by the service request to be processed.
S3: and the network equipment synchronizes the clock with the core network equipment according to the path delay and the master clock.
Specifically, the network device corrects the received master clock according to the path delay and synchronizes with the corrected master clock.
In a possible implementation manner, the core network device sends a Sync event message to the network device, and records a sending timestamp tM(ii) a The core network device transmits the time stamp tMPackaging the mixtureSending the Follow _ Up message to the network equipment; after the network equipment receives the Sync event message sent by the core network equipment, the network equipment records a receiving timestamp tS(ii) a After receiving the Follow _ Up message sent by the core network device, the network device analyzes the timestamp information t in the Follow _ Up messageM
Based on the path delay D obtained in S1, the time difference between the core network device and the network device is obtained as follows:
offset=ts-tM-D
clocks of the network device and the core network are synchronized according to the time difference offset.
In one example: assume that the path delay is 30 minutes, tM1 hour, then tsShould be 1.5 hours, if tsIf the clock is not 1.5, it indicates that the clock in the network device is inaccurate, and the clock in the network device is corrected according to the offset so as to be synchronized with the clock of the core network device.
Step four: the network device synchronizes clocks with the core network device.
Specifically, refer to the above steps S1 to S3, which are not described again.
In the embodiment of the application, an MEC server for processing services in a campus network is deployed in a network device, the network device judges whether a clock needs to be synchronized with a core network device according to a received service type of the network device, processes a service corresponding to a service type after synchronizing the clock with the core network device only when the service type needs to guarantee low delay and high reliability, and directly processes the service corresponding to the service type when the service type does not need to guarantee low delay and high reliability, so that the processing efficiency of the service is improved, and the low delay and high reliability of service processing is guaranteed.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the exemplary method steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the network device may be divided into the functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a schematic structural diagram of a network device according to an embodiment of the present application. The network device 50 may be configured to perform the functions performed by the network device in any of the above embodiments (e.g., the embodiments shown in fig. 3 and 4). The network device 50 includes: a receiving module 501 and a synchronization module 502. The receiving module 501 is configured to receive a service request to be processed; the pending service request includes: the service type of the service requested to be processed by the service request to be processed; and synchronizing the clock with the core network equipment according to the service type. For example, in conjunction with fig. 3, the receiving module 501 may be configured to perform S100, and the synchronizing module 502 may be configured to perform S102.
Optionally, the pending service request further includes an account identifier of an account that sends the pending service request, and the network device 50 further includes a determining module 503, configured to determine that the pending service request passes verification according to the account identifier; the synchronization module 502 is specifically configured to: and under the condition that the service request to be processed is confirmed to pass the verification, synchronizing a clock with the core network equipment according to the service type.
Optionally, the synchronization module 502 is specifically configured to: and under the condition that the service type meets the preset condition, synchronizing the clock with the core network equipment.
Optionally, the network device 50 further includes an obtaining module 504, configured to obtain a data amount to be processed; the data volume to be processed comprises the data volume of the service requested to be processed by the service request to be processed; the synchronization module 502 is specifically configured to, when the amount of data to be processed is greater than a preset threshold, allocate resources to a service requested to be processed by a service request to be processed, and synchronize a clock with a core network device; and synchronizing the clock with the core network equipment under the condition that the data volume to be processed is less than or equal to a preset threshold value.
Optionally, the obtaining module 504 is further configured to obtain a path delay between the network device 50 and the core network device; acquiring a master clock of core network equipment; and synchronizing the clock with the core network equipment according to the path delay and the master clock.
In one example, referring to fig. 2, the receiving functions of the obtaining module 504 and the receiving module 501 may be implemented by the communication interface 404 in fig. 2. The processing function of the obtaining module 504, the synchronizing module 502 and the determining module 503 can all be implemented by the processor 401 in fig. 2 calling a computer program stored in the memory 403.
For the detailed description of the above alternative modes, reference is made to the foregoing method embodiments, which are not described herein again. In addition, for any explanation and beneficial effect description of the network device 50 provided above, reference may be made to the corresponding method embodiment described above, and details are not repeated.
It should be noted that the actions correspondingly performed by the modules are merely specific examples, and the actions actually performed by the units refer to the actions or steps mentioned in the description of the embodiment based on fig. 3 and fig. 4.
An embodiment of the present application further provides a computer device, including: a memory and a processor; the memory is for storing a computer program, and the processor is for invoking the computer program to perform the actions or steps mentioned in any of the embodiments provided above.
Embodiments of the present application also provide a computer-readable storage medium, which stores a computer program, and when the computer program runs on a computer, the computer program causes the computer to execute the actions or steps mentioned in any of the embodiments provided above.
The embodiment of the application also provides a chip. The chip has integrated therein circuitry and one or more interfaces for implementing the functionality of the network device described above. Optionally, the functions supported by the chip may include processing actions in the embodiments described based on fig. 3 and fig. 4, which are not described herein again. Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be implemented by a program instructing the associated hardware to perform the steps. The program may be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a random access memory, or the like. The processing unit or processor may be a central processing unit, a general purpose processor, an Application Specific Integrated Circuit (ASIC), a microprocessor (DSP), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof.
The embodiment of the present application further provides a network system, where the network system includes a terminal device, a network device, and a core network device, and the network device may execute any one of the methods in the foregoing embodiments.
The embodiments of the present application also provide a computer program product containing instructions, which when executed on a computer, cause the computer to execute any one of the methods in the above embodiments. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application are all or partially generated upon loading and execution of computer program instructions on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
It should be noted that the above devices for storing computer instructions or computer programs provided in the embodiments of the present application, such as, but not limited to, the above memories, computer readable storage media, communication chips, and the like, are all nonvolatile (non-volatile).
Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Although the present application has been described in conjunction with specific features and embodiments thereof, various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application.

Claims (11)

1. A clock synchronization method applied to a network device, the method comprising:
receiving a service request to be processed; the pending service request includes: the service type of the service requested to be processed by the service request to be processed;
and synchronizing a clock with the core network equipment according to the service type.
2. The method of claim 1, wherein the pending service request further comprises an account identifier of an account sending the pending service request, the method further comprising:
determining that the service request to be processed passes verification according to the account identifier;
the synchronizing the clock with the core network device according to the service type includes:
and synchronizing a clock with the core network equipment according to the service type under the condition that the service request to be processed is determined to pass the verification.
3. The method of claim 2, wherein the synchronizing a clock with a core network device according to the service type comprises:
and synchronizing a clock with the core network equipment under the condition that the service type meets the preset condition.
4. The method of claim 3, wherein synchronizing the clock with the core network device comprises:
acquiring the data volume to be processed; the data volume to be processed comprises the data volume of the service requested to be processed by the service request to be processed;
under the condition that the data volume to be processed is larger than a preset threshold value, distributing resources for the service requested to be processed by the service request to be processed and then synchronizing a clock with core network equipment;
and synchronizing a clock with the core network equipment under the condition that the data volume to be processed is less than or equal to the preset threshold value.
5. The method according to any of claims 1-4, wherein synchronizing the clock with the core network device comprises:
acquiring the path delay between the network equipment and the core network equipment;
acquiring a master clock of the core network equipment;
and synchronizing the clock with the core network equipment according to the path delay and the master clock.
6. A network device, comprising:
the receiving module is used for receiving a service request to be processed; the service request to be processed comprises: the service type of the service requested to be processed by the service request to be processed;
and the synchronization module is used for synchronizing the clock with the core network equipment according to the service type.
7. The network device of claim 6, wherein the synchronization module is specifically configured to:
and synchronizing a clock with the core network equipment under the condition that the service type meets the preset condition.
8. The network device according to claim 7, wherein the network device further comprises an obtaining module, configured to obtain a data amount to be processed; the data volume to be processed comprises the data volume of the service requested to be processed by the service request to be processed;
the synchronization module is specifically configured to: under the condition that the data volume to be processed is larger than a preset threshold value, distributing resources for the service requested to be processed by the service request to be processed and then synchronizing a clock with core network equipment; and synchronizing a clock with the core network equipment under the condition that the data volume to be processed is less than or equal to the preset threshold value.
9. A computer device, comprising: a memory for storing a computer program and a processor for executing the computer program to perform the method of any of claims 1-5.
10. A computer-readable storage medium, having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1-5.
11. A network system comprising a terminal device, a network device and a core network device, the network device being operable to perform the method of any one of claims 1 to 5.
CN202011481020.7A 2020-12-15 2020-12-15 Clock synchronization method, device, system and storage medium Pending CN114641060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011481020.7A CN114641060A (en) 2020-12-15 2020-12-15 Clock synchronization method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011481020.7A CN114641060A (en) 2020-12-15 2020-12-15 Clock synchronization method, device, system and storage medium

Publications (1)

Publication Number Publication Date
CN114641060A true CN114641060A (en) 2022-06-17

Family

ID=81944517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011481020.7A Pending CN114641060A (en) 2020-12-15 2020-12-15 Clock synchronization method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN114641060A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734703A (en) * 2016-08-11 2018-02-23 华为技术有限公司 A kind of resource regulating method and device
CN110167132A (en) * 2018-02-14 2019-08-23 华为技术有限公司 Communication means and communication device
GB201911378D0 (en) * 2019-08-08 2019-09-25 Hoptroff Richard George System for timestamping events on edge devices
CN110365752A (en) * 2019-06-27 2019-10-22 北京大米科技有限公司 Processing method, device, electronic equipment and the storage medium of business datum
CN111030882A (en) * 2019-11-11 2020-04-17 国电南瑞南京控制***有限公司 Network quality measurement method and system based on intelligent substation service message
CN111835656A (en) * 2020-07-21 2020-10-27 浙江大学 Multi-service real-time arranging method based on priority in industrial internet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734703A (en) * 2016-08-11 2018-02-23 华为技术有限公司 A kind of resource regulating method and device
CN110167132A (en) * 2018-02-14 2019-08-23 华为技术有限公司 Communication means and communication device
CN110365752A (en) * 2019-06-27 2019-10-22 北京大米科技有限公司 Processing method, device, electronic equipment and the storage medium of business datum
GB201911378D0 (en) * 2019-08-08 2019-09-25 Hoptroff Richard George System for timestamping events on edge devices
CN111030882A (en) * 2019-11-11 2020-04-17 国电南瑞南京控制***有限公司 Network quality measurement method and system based on intelligent substation service message
CN111835656A (en) * 2020-07-21 2020-10-27 浙江大学 Multi-service real-time arranging method based on priority in industrial internet

Similar Documents

Publication Publication Date Title
CN112968967B (en) Block synchronization method and device
EP3861805B1 (en) Apparatus and method for synchronization using wireless communication network in wireless communication system
US8520599B2 (en) Master station of communication system and access control method
RU2770181C2 (en) Method and device for service identification and network device
JP2022513083A (en) Time-dependent networking Communication methods and equipment
US8351954B2 (en) Personal independent basic service set cluster resource sharing
CN103905135A (en) Method, device and system for realizing time synchronization
US10021182B2 (en) Method and apparatus for data synchronization
WO2015196685A1 (en) Clock synchronization method and apparatus
CN109714757B (en) Method and device for preparing eSIM card in shared mode
US7814205B2 (en) Method and apparatus for managing floor control in a network
US20220417944A1 (en) Communication method and related apparatus
CN110740481A (en) Data processing method, apparatus and computer storage medium based on quality of service
WO2014101563A1 (en) Data transmission method and data terminal
CN110958132A (en) Method for monitoring network card equipment, substrate management controller and network card equipment
CN116055023A (en) Data transmission method and device
CN111698787B (en) Scheduling rule determining method and device
WO2021233313A1 (en) Port state configuration method, apparatus, system, and storage medium
WO2022033127A1 (en) Radio frequency module distribution method, wireless communication apparatus, and storage medium
CN109600853B (en) Uplink data transmission method and device
CN114641060A (en) Clock synchronization method, device, system and storage medium
CN111884751A (en) Smart grid time synchronization method and device based on PTP
JP2022522984A (en) Resource cycle configuration method and device, link processing and establishment method and device
EP4366212A1 (en) Clock synchronization method and communication apparatus
WO2022160298A1 (en) Time synchronization method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination