WO2023207719A1 - 时钟同步的方法和装置 - Google Patents
时钟同步的方法和装置 Download PDFInfo
- Publication number
- WO2023207719A1 WO2023207719A1 PCT/CN2023/089281 CN2023089281W WO2023207719A1 WO 2023207719 A1 WO2023207719 A1 WO 2023207719A1 CN 2023089281 W CN2023089281 W CN 2023089281W WO 2023207719 A1 WO2023207719 A1 WO 2023207719A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- timing
- information
- network element
- network
- terminal device
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 217
- 238000004891 communication Methods 0.000 claims description 144
- 230000004044 response Effects 0.000 claims description 82
- 230000006870 function Effects 0.000 claims description 74
- 238000007726 management method Methods 0.000 claims description 56
- 230000015654 memory Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 19
- 238000013523 data management Methods 0.000 claims description 17
- 101150069124 RAN1 gene Proteins 0.000 description 333
- 101100355633 Salmo salar ran gene Proteins 0.000 description 333
- 238000012545 processing Methods 0.000 description 45
- 101150014328 RAN2 gene Proteins 0.000 description 25
- 238000005516 engineering process Methods 0.000 description 15
- 230000005540 biological transmission Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000011156 evaluation Methods 0.000 description 6
- 101150084062 RAN gene Proteins 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000005012 migration Effects 0.000 description 2
- 238000013508 migration Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 229920001690 polydopamine Polymers 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101150074586 RAN3 gene Proteins 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000037237 body shape Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000009849 deactivation Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000012010 growth Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
Definitions
- the embodiments of the present application relate to the field of communications, and more specifically, to a clock synchronization method and device.
- the base station uses the global navigation satellite system (GNSS) to control the air interface time error within 1.5us, achieving hundreds of nanoseconds.
- GNSS global navigation satellite system
- the network structure in the fifth generation mobile communication system (5GS) period has changed.
- the accuracy of time synchronization of terminal equipment has also been further improved.
- the requirements have also increased further.
- the terminal equipment is dependent on the timing of the base station. Once the GNSS information on the base station fails, or the timing (or service) base station changes due to the mobility of the terminal equipment, the terminal equipment often cannot receive the previous timing request. clock information required in . This is unacceptable to some users who have strong demand for high precision. For example, in smart grids, precise time is required for differential protection and fault detection. Therefore, how to ensure that the terminal device can receive clock information that meets the requirements and ensure the clock synchronization of the system is an urgent problem that needs to be solved.
- Embodiments of the present application provide a clock synchronization method and device, which can ensure that the terminal device receives clock information that meets the requirements to ensure clock synchronization of the system.
- a clock synchronization method includes: a policy control network element determines whether the timing capability of a first network device meets a first condition, where the first condition is related to a first timing accuracy error, and the The first timing accuracy error is determined based on the first request information, which is used to request timing services for the terminal device.
- the first request information comes from the application function or the terminal device; when the first network When the timing capability of the device meets the first condition, the policy control network element sends first timing indication information to the first network device, and the first timing indication information is used to indicate that the first network device is the The above terminal equipment provides timing services.
- the policy control network element determines whether the timing capability of the first network device is sufficient.
- the first condition is satisfied, and the first condition is related to the first timing accuracy error.
- the first timing accuracy error is determined according to the timing service information requested by the application function for the terminal device.
- the policy control network element instructs the first network device to provide timing services for the terminal device; when the first network device can provide timing services for the terminal device, the policy control network element determines that the Whether the timing capability of the first network device meets the timing requirements of the terminal device, ensures that the terminal device can receive clock information that meets the requirements, and ensures clock synchronization of the system.
- the method before the policy control network element determines whether the timing capability of the first network device meets the first condition, the method further includes: the policy control network element It is determined that the timing capability of the first network device does not meet a second condition, the second condition is related to a second timing accuracy error, and the second timing accuracy error is based on the first timing error from the application function network element. The request information is determined, and the second timing accuracy error is not greater than the first timing accuracy error.
- the policy control network element determines the second condition based on the second timing accuracy error, and the policy control network element first determines the timing capability of the first network device. Whether the second condition is met, and if the second condition is not met, it is further determined whether the timing capability of the first network device meets the first condition to ensure that the terminal device can receive clock information that meets the requirements.
- the policy control network element determines that the timing capability of the second network device does not meet the second condition, and the timing capability of the second network device does not satisfy The first condition.
- the policy control network element sends second information to the time-sensitive communication and time synchronization network element, the second information is used to instruct the second network device Timing failed for the terminal device.
- the policy control network element determines that the timing capability of the first network device does not meet the first condition and the second condition, it sends the second information to the time-sensitive communication and time synchronization network element, and the time-sensitive communication and time synchronization network element
- the timing accuracy error further determines that the network equipment can provide timing services that meet the terminal equipment timing requirements, and the network equipment provides timing services for the terminal equipment, thereby ensuring that the terminal equipment can receive clock information that meets the requirements.
- the policy control network element sends subscription information to the mobility management network element, where the subscription information is used to subscribe to location information of the terminal device; the policy control network element The network element receives the first information sent from the mobility management network element, where the first information includes the identification information of the first network device and/or the identification information of the second network device.
- the policy control network element sends subscription information to the mobility management function network element.
- the subscription information is used to subscribe to the location information of the terminal device.
- the mobility management network element sends a third message to the policy control network element.
- Information, the first information is used to indicate that the first network device can provide timing services for the terminal device.
- the second information includes identification information of the first network device and/or identification information of the second network device.
- the second information further includes the reason why the first network device and/or the second network device failed to provide timing for the terminal device.
- the first timing accuracy error and the second timing accuracy error belong to the timing accuracy error, and the timing accuracy error comes from the time-sensitive communication and time synchronization. network element.
- the first timing accuracy error and the second timing accuracy error belong to the timing accuracy error.
- the accuracy error is determined by the time-sensitive communication and time synchronization network elements based on the timing request information of the terminal equipment.
- the policy control network element determines the first condition according to the service type of the terminal device and the first timing accuracy error.
- the policy control network element determines the second condition according to the service type of the terminal device and the second timing accuracy error.
- the first request information when the first request information comes from an application function, the first request information includes the coverage area for which the application function requests timing services for the terminal device. scope.
- the policy control network element receives timing capability data from the first network device and/or the second network device, and the timing capability data is To indicate the timing capability of the first network device and/or the second network device.
- a clock synchronization method includes: time-sensitive communication and time synchronization network elements determine whether the timing capability of the first network device meets a third condition, and the third condition is consistent with the third timing accuracy error.
- the third timing accuracy error is determined based on the first request information, the first request information is used to request timing services for the terminal device, the first request information comes from the application function or the terminal device; when the When the timing capability of the first network device meets the first condition, the time-sensitive communication and time synchronization network element sends first timing indication information to the first network device, and the first timing indication information is used to indicate The first network device provides timing services for the terminal device.
- the time-sensitive communication and time synchronization network element determines whether the timing capability of the first network device meets the third condition.
- the third condition is related to the third timing accuracy error.
- the third timing accuracy error Determined based on the timing service information requested by the terminal device based on the application function.
- the policy control network element instructs the first network device to provide timing services for the terminal device.
- the time-sensitive communication and time synchronization network element determines whether the timing capability of the first network device meets the timing requirements of the terminal device, ensuring that the terminal device can receive clock information that meets the requirements, and ensuring that the system clock synchronization.
- the method before the time-sensitive communication and time synchronization network element determines whether the timing capability of the first network device meets the third condition, the method further includes: The time-sensitive communication and time synchronization network element determines that the timing capability of the first network device does not meet the fourth condition.
- the fourth condition is related to a fourth timing accuracy error.
- the fourth timing accuracy error is based on the The first request information of the application function is determined, and the fourth timing accuracy error is not greater than the third timing accuracy error.
- the third condition and the above-mentioned first condition, the fourth condition and the above-mentioned second condition, the third timing accuracy error and the above-mentioned first timing accuracy error, the fourth timing accuracy error and the above-mentioned second timing accuracy error may be the same or different, and this application does not limit this.
- the policy control network element determines that the timing capability of the second network device does not meet the fourth condition, and the timing capability of the second network device does not satisfy The third condition.
- the time-sensitive communication and time synchronization network element sends second information, and the second information is used to indicate timing failure.
- the time-sensitive communication and time synchronization network element sends third information to the policy control network element, and the third information is used to instruct the first network device for the terminal
- the equipment provides a timing service, wherein the third information includes identification information of the terminal device, the first network device identification information, the third timing accuracy error and/or the fourth timing accuracy error.
- the second information includes identification information of the first network device and/or identification information of the second network device.
- the time-sensitive communication and time synchronization network element sends subscription information to the mobility management network element, and the subscription information is used to subscribe to the location information of the terminal device;
- the time-sensitive communication and time synchronization network receives first information sent from the mobility management network element, where the first information includes identification information of the first network device and/or identification information of the second network device.
- the method before the time-sensitive communication and time synchronization network element sends subscription information to the mobility management network element, the method further includes: the time-sensitive communication and the time synchronization network element receives the fourth information from the policy control network element, the fourth information includes the identification information of the terminal device, the identification information of the mobility management network element, the identification information of the first network device and /or the identification information of the second network device.
- the second information includes identification information of the first network device and/or identification information of the second network device.
- the time-sensitive communication and time synchronization network element determines a timing accuracy error based on the first request information from the application function, and the timing accuracy error includes The first timing accuracy error, the second timing accuracy error, the third timing accuracy error, and the fourth timing accuracy error; the time-sensitive communication and time synchronization network element sends the first timing accuracy error to the policy control network element. timing accuracy error and/or the second timing accuracy error.
- the first request information when the first request information comes from an application function, the first request information includes the coverage area for which the application function requests timing services for the terminal device. scope.
- the time-sensitive communication and time synchronization network element determines that the terminal device moves out of the coverage area requested by the terminal device, and the time-sensitive communication and time synchronization The network element sends stop timing instruction information.
- the stop timing instruction information is used to instruct a network device to stop providing timing services for the terminal device.
- the network device is a network device that provides timing services for the terminal device.
- the time-sensitive communication and time synchronization network element receives timing capability data from the first network device and/or the second network device, and the The timing capability data is used to indicate the timing capability of the first network device and/or the second network device.
- the time-sensitive communication and time synchronization network element receives second response information from the unified data management network element, and the second response information includes the Clock subscription data of the terminal device; the time-sensitive communication and time synchronization network element determines whether the timing service data in the first request information belongs to the clock subscription data of the terminal device according to the second response information.
- the method when one or more timing service data in the first request information belongs to the clock subscription data of the terminal device, the method further includes: The time-sensitive communication and time synchronization network element sends fourth response information to the terminal device, and the fourth response information is used to instruct the time-sensitive communication and time synchronization network element to provide the one or more timing service data. Timing services.
- the time-sensitive communication and time synchronization network element determines whether the timing capability of the first network device meets the third condition, including: the time-sensitive communication and The time synchronization network element determines whether the timing capability of the first network device meets the third condition according to the one or more timing service data.
- the method when none of the timing service data in the first request information belongs to the clock subscription data of the terminal device, the method further includes: The sensitive communication and time synchronization network element sends timing service rejection information to the terminal device.
- the time-sensitive communication and time synchronization network element sends second request information to the unified data management network element, and the second request information is used to request all Describes the clock subscription data of the terminal device.
- a clock synchronization method includes: a terminal device sending first request information, where the first request information includes one or more timing accuracy errors.
- the timing accuracy errors may include air interface timing accuracy errors.
- the terminal device receives timing response information, the timing response information is used to instruct the first network device to provide timing services for the terminal device, and the timing response information comes from the first network device or a policy control network element, Or time-sensitive communication and time synchronization network elements.
- the terminal device actively requests timing service.
- the request information includes one or more timing accuracy errors.
- the network device, policy control network element, time-sensitive communication and time synchronization network element can directly respond to the one or more timing accuracy errors. Or multiple timing accuracy errors are used to evaluate timing capabilities, saving resource overhead.
- the first request information also includes data network name information and/or single slice selection assistance information, the data network name information and the single slice selection assistance information.
- the information corresponds to the timing accuracy error one-to-one.
- a clock synchronization method includes: a terminal device sending first request information to a mobility management network element, the first request information being used to request a timing service for the terminal device, and the third request information is used to request a timing service for the terminal device.
- a request information includes multiple timing accuracy errors; the terminal device receives the first response information from the mobility management network element, and the first response information is used to indicate the timing status of the terminal device, and the timing status includes The terminal device is timed successfully or failed.
- the terminal device actively requests the timing service and sends the first request information to the mobility management function network element, where the first request information includes multiple timing accuracy errors.
- the first request information further includes data network name information and/or single slice selection assistance information, and the data network name information and the single slice selection assistance information The information corresponds to the timing accuracy error one-to-one.
- the first response information when the first response information includes information that the terminal device is successfully timed, the first response information also includes identification information of the first network device. , the timing capability of the first network device meets the timing requirements of the terminal device.
- the first response information includes the identification information of the first network device.
- the first response information further includes the timing accuracy error when the timing is successful and the timing accuracy error when the timing is successful.
- Data network name information and the single slice selection auxiliary information are included in some implementations of the fourth aspect.
- a clock synchronization method includes: a mobility management network element receiving first request information from a terminal device, the first request information being used to request timing services for the terminal device; move The management network element sends second request information to the unified data management network element according to the first request information, and the second request information is used to request clock subscription data of the terminal device; the mobility management network element receives data from the The second response information of the unified data management network element, the second response information includes the clock subscription data of the terminal device; the first request information is within the clock subscription data range of the terminal device, and the mobile management network
- the element sends third request information to the time-sensitive communication and time synchronization network element, the third request information is used to request timing services for the terminal device; or the first request information exceeds the clock subscription data of the terminal device Within the scope, the mobility management network element sends rejection information to the terminal device.
- the mobility management network element receives the first request information, and queries the unified data management network element for the subscription data of the terminal device according to the first request information.
- the mobility management network element determines whether the timing service data requested by the terminal device is within the scope of the contract data based on the request data in the first request information and the subscription data of the terminal device. If the timing service data requested by the terminal device is not within the scope of the contract data, that is, the mobility management network element sends rejection information to the terminal device, and the rejection information is used to refuse to provide timing services for the timing service data requested by the terminal device.
- the third request information includes a plurality of timing error values, and the plurality of timing error values are from the first request information.
- the third request information further includes data network name information and single slice selection auxiliary information, and the data network name information and the single slice selection auxiliary information are the same as The plurality of timing accuracy errors correspond one to one.
- the first request information is within the clock subscription data range of the terminal device, and the method further includes: the mobility management network element receives from the First timing indication information of the time-sensitive communication and time synchronization network element.
- the first timing indication information is used to instruct the first network device to provide timing services for the terminal device.
- the first network device includes a device capable of communicating with the terminal device. Device is a network device that provides timing services.
- the first timing indication information includes identification information of the terminal device, identification information of the first network device, and the plurality of timing error values.
- the mobility management network element receives second information from the first network device, where the second information is used to indicate timing failure.
- the method before the mobility management network element sends the third request information to the time-sensitive communication and time synchronization network element, the method further includes: the mobility management network element Determine whether the timing service data in the first request information belongs to the clock subscription data of the terminal device according to the second response information.
- the method further includes: The mobility management network element sends fourth response information to the terminal device, where the fourth response information is used to instruct the time-sensitive communication and time synchronization network element to provide timing services for the one or more timing service data.
- the method when none of the timing service data in the first request information belongs to the clock subscription data of the terminal device, the method further includes: the mobile The management network element sends timing service rejection information to the terminal device.
- a clock synchronization method includes: a policy control network element receiving second information from a first network device, the second information being used to indicate a timing failure of the first network device; Two network devices If the timing capability of the device meets the first condition, the policy control network element sends first timing indication information to the second network device, and the first timing indication information is used to indicate that the second network device is the terminal device.
- the policy control network element determines whether the timing capability of the third network device satisfies the first condition, wherein the first condition Related to the first timing accuracy error, the first timing accuracy error is determined based on the first request information, the first request information is used to indicate requesting timing service for the terminal device, the second network device and the
- the third network device includes a network device capable of providing timing services for the terminal device.
- the policy control network element when the policy control network element receives the second information sent by the first network device, the policy control network element determines based on the second information that the timing capability of the first network device does not meet the timing requirements of the terminal device, That is, the policy control network element determines whether the timing capability of the second network device meets the first condition.
- the policy control network element instructs the second network device to provide timing services for the terminal device; when When the timing capability of the second network device does not meet the first condition, the policy control network element determines whether the timing capability of the third network device meets the first condition to ensure that clock information that meets the requirements can be provided to the terminal device.
- the method when the timing capability of the second network device does not meet the first condition, the method further includes: the policy control network element according to The second timing accuracy error determines the second condition, the second timing accuracy error is determined based on the first request information, and the second timing accuracy error is different from the first timing accuracy error.
- the first timing accuracy error and the second timing accuracy error belong to the timing accuracy error, and the timing accuracy error comes from time-sensitive communication and time synchronization network elements. .
- the second network device satisfies the second condition
- the policy control network element sends the first timing indication information to the second network device.
- the method further includes: the policy control network element sending second timing indication information to the third network device, where the second timing indication information is used to indicate that the third network device is the terminal device Provide timing services.
- the method when the timing capability of the third network device does not meet the first condition, the method further includes: The timing capability satisfies the second condition, and the policy control network element sends the second timing indication information to the third network device.
- the timing capability of the second network device does not meet the second condition, and the policy control network element sends a first message to the time-sensitive communication and time synchronization network element. Two information, the second information is used to indicate timing failure.
- the timing capability of the third network device does not satisfy the first condition and the second condition, and the policy control network element responds to the time-sensitive
- the communication and time synchronization network element sends second information, where the second information is used to indicate timing failure.
- the second information includes identification information of the third network device and/or identification information of the fourth network device.
- a clock synchronization method includes: a time-sensitive communication and time synchronization network element receiving second information from a policy control network element, where the second information is used to indicate a timing failure of the terminal device. ; The timing capability of the fourth network device meets the third condition, the time-sensitive communication and time synchronization network element sends fourth timing indication information to the fourth network device, the fourth timing indication information is used to indicate the The fourth network device provides timing services for the terminal device; or, the timing capability of the fourth network device does not meet the third condition, and the time-sensitive communication and time synchronization network element determines the timing capability of the fifth network device.
- the third condition is met, wherein the third condition is related to a third timing accuracy error, the third timing accuracy error is determined based on the first request information, and the first request information is used to indicate that the The terminal device requests timing service, and the second network device includes a network device capable of providing timing information for the terminal device.
- the time-sensitive communication and time synchronization network element receives the second information from the policy control network element, and the time-sensitive communication and time synchronization network element determines whether the timing capability of the fourth network device meets the requirements based on the second information.
- Timing requirements of the terminal device when the timing capability of the fourth network device meets the third condition, the time-sensitive communication and time synchronization network element instructs the fourth network device to provide timing services for the terminal device; when the timing capability of the fourth network device does not meet the
- the time-sensitive communication and time synchronization network element determines whether the timing capability of the fifth network device meets the third condition, thereby ensuring that clock information that meets the requirements can be provided to the terminal device.
- the method when the timing capability of the fourth network device does not meet the third condition, the method further includes: the time-sensitive communication and time The synchronization network element determines a fourth condition based on a fourth timing accuracy error, the fourth timing accuracy error is determined based on the first request information, and the third timing accuracy error is different from the fourth timing accuracy error.
- the fourth network device satisfies the fourth condition, and the time-sensitive communication and time synchronization network element sends the fourth network device to the fourth network device. 4. Timing instruction information.
- the timing capability of the fourth network device does not meet the third condition
- the timing capability of the fifth network device does not satisfy the third condition.
- the method further includes: the timing capability of the fifth network device meets the fourth condition, and the time-sensitive communication and time synchronization network element sends fifth timing indication information to the fifth network device, The fifth timing indication information is used to instruct the fifth network device to provide timing services for the terminal device.
- the method further includes: the time-sensitive communication and time synchronization network element sending the fifth timing indication information to the fifth network device.
- the time-sensitive communication and time synchronization network element sends third information to the policy control network element, the third information is used to instruct the fourth network device Or the fifth network device provides timing services for the terminal device, wherein the third information includes identification information of the terminal device, the identification information of the fourth network device, or the identification information of the fifth network device. , the third timing accuracy error and/or the fourth timing accuracy error.
- the timing capability of the fourth network device does not meet the fourth condition
- the time-sensitive communication and time synchronization network element sends the second information
- the The second information is used to indicate timing failure.
- the timing capability of the fifth network device does not satisfy the third condition and the fourth condition, and the time-sensitive communication and time synchronization network element sends The second information, so The second information is used to indicate timing failure.
- the time-sensitive communication and time synchronization network element receives fourth information from the policy control network element, where the fourth information includes identification information of the terminal device , the identification information of the mobility management network element, the identification information of the fourth network device, or the identification information of the fifth network device.
- the second information includes identification information of the fourth network device and/or identification information of the fifth network device.
- the method before the time-sensitive communication and time synchronization network element receives the second information from the policy control network element, the method further includes: The time-sensitive communication and time synchronization network element receives third request information from the mobility management function network element, and the third request information is used to request timing services for the terminal device.
- the third request information further includes data network name information and single slice selection auxiliary information, and the data network name information and the single slice selection auxiliary information are the same as The plurality of timing accuracy errors correspond one to one.
- the method before the time-sensitive communication and time synchronization network element receives the third request information from the mobility management function network element, the method further includes: the time The sensitive communication and time synchronization network element sends second request information to the unified data management network element.
- the second request information is used to request the clock subscription data of the terminal device; the time-sensitive communication and time synchronization network element receives data from the terminal device.
- the second response information of the unified data management network element includes the clock subscription data of the terminal device.
- the method further includes: the time-sensitive communication and time synchronization network element determines the timing service in the first request information based on the second response information. Whether the data belongs to the clock subscription data of the terminal device.
- the method when one or more timing service data in the first request information belongs to the clock subscription data of the terminal device, the method further includes: The time-sensitive communication and time synchronization network element sends fourth response information to the terminal device, and the fourth response information is used to instruct the time-sensitive communication and time synchronization network element to provide the one or more timing service data. Timing services.
- the time-sensitive communication and time synchronization network element determines whether the timing capability of the first network device meets the third condition, including: the time-sensitive The communication and time synchronization network element determines whether the timing capability of the first network device meets the third condition based on the one or more timing service data.
- the method when none of the timing service data in the first request information belongs to the clock subscription data of the terminal device, the method further includes: The sensitive communication and time synchronization network element sends timing service rejection information to the terminal device.
- a device for clock synchronization determines that the timing capability of the first network device satisfies a first condition.
- the first condition is related to a first timing accuracy error.
- the first timing accuracy error is based on the first timing accuracy error.
- a request information is determined, the first request information is used to request timing service for the terminal device, the first request information comes from the application function or the terminal device; the transceiver unit sends a first timing instruction to the first network device Information, the first timing indication information is used to instruct the first network device to provide timing services for the terminal device.
- the processing unit determines that the timing capability of the first network device does not meet the second condition, and the second condition is related to a second timing accuracy error.
- the timing accuracy error is determined based on the first request information from the application function network element, and the second timing accuracy error is different from the first timing accuracy error.
- the processing unit determines that the timing capability of the second network device does not meet the second condition, and the timing capability of the second network device does not satisfy the First condition.
- the transceiver unit sends second information to the time-sensitive communication and time synchronization network element, where the second information is used to indicate timing failure.
- the transceiver unit sends subscription information to the mobility management network element, the subscription information is used to subscribe to the location information of the terminal device; the transceiver unit receives from The mobility management network element sends first information, where the first information includes identification information of the first network device and/or identification information of the second network device.
- the second information includes identification information of the first network device and/or identification information of the second network device.
- the second information further includes the reason why the first network device and/or the second network device failed to provide timing for the terminal device.
- the first timing accuracy error and the second timing accuracy error belong to the timing accuracy error, and the timing accuracy error comes from the time-sensitive communication and time synchronization network element.
- the processing unit determines the first condition according to the service type of the terminal device and the first timing accuracy error.
- the processing unit determines the second condition according to the service type of the terminal device and the second timing accuracy error.
- the first request information when the first request information comes from the application function, the first request information also includes the coverage requested by the application function for the terminal device. geographic range.
- the transceiver unit receives timing capability data from the first network device and/or the second network device, and the timing capability data is used to indicate Timing capabilities of the first network device and/or the second network device.
- a device for clock synchronization determines that the timing capability of the first network device satisfies a third condition.
- the third condition is related to a third timing accuracy error.
- the third timing accuracy error is based on Determined by the first request information, the first request information comes from the application function or the terminal device; the transceiver unit sends the first timing indication information to the first network device, the first timing indication information is used to indicate the The first network device provides timing services for the terminal device.
- the processing unit determines that the timing capability of the first network device does not meet the fourth condition, and the fourth condition is related to a fourth timing accuracy error.
- the fourth timing accuracy error is determined based on the first request information from the application function, and the fourth timing accuracy error is different from the third timing accuracy error.
- the processing unit determines that the timing capability of the second network device does not meet the fourth condition, and the timing capability of the second network device does not satisfy the fourth condition.
- the third condition in conjunction with the ninth aspect, determines that the timing capability of the second network device does not meet the fourth condition, and the timing capability of the second network device does not satisfy the fourth condition. The third condition.
- the transceiver unit sends second information, where the second information is used to indicate timing failure.
- the transceiver unit sends third information to the policy control network element, where the third information is used to instruct the first network device to provide the terminal device with Timing service, wherein the third information includes identification information of the terminal device, the first network device identification information, the third timing accuracy error and/or the fourth timing accuracy error.
- the second information includes identification information of the first network device and/or identification information of the second network device.
- the transceiver unit sends subscription information to the mobility management network element, the subscription information is used to subscribe to the location information of the terminal device; the transceiver unit receives from The mobility management network element sends first information, where the first information includes identification information of the first network device and/or identification information of the second network device.
- the transceiver unit receives fourth information from the policy control network element, where the fourth information includes identification information of the terminal device, the mobile management network The identification information of the element, the identification information of the first network device and/or the identification information of the second network device.
- the second information includes identification information of the first network device and/or identification information of the second network device.
- the processing unit determines a timing accuracy error according to the first request information from the application function, and the timing accuracy error includes a first timing accuracy error, a second timing accuracy error, the third timing accuracy error, and the fourth timing accuracy error; the transceiver unit sends the first timing accuracy error and/or the second timing accuracy error to the policy control network element.
- the first information includes identification information of the terminal device and identification information of the first network device.
- the second information includes identification information of the first network device and/or identification information of the second network device.
- the processing unit determines a timing accuracy error according to the first request information, and the timing accuracy error includes a first timing accuracy error, a second timing accuracy error, The third timing accuracy error and the fourth timing accuracy error; the transceiver unit sends the first timing accuracy error and/or the second timing accuracy error to the policy control network element.
- the first request information when the first request information comes from an application function, the first request information includes the coverage area for which the application function requests timing services for the terminal device. scope.
- the processing unit determines that the terminal device moves out of the coverage area requested by the terminal device, the transceiver unit sends stop timing indication information, and the stop timing The instruction information is used to instruct the network device to stop providing timing services for the terminal device.
- the network device is a network device that provides timing services for the terminal device.
- the transceiver unit receives timing capability data from the first network device and/or the second network device, and the timing capability data is used to indicate Timing capabilities of the first network device and/or the second network device.
- the transceiver unit receives second response information from the unified data management network element, where the second response information includes clock subscription data of the terminal device ;
- the processing unit determines whether the timing service data in the first request information belongs to the terminal device according to the second response information;
- the clock signing data of the equipment is included in the unified data management network element.
- the transceiver unit when one or more timing service data in the first request information belongs to the clock subscription data of the terminal device, the transceiver unit sends a message to the terminal device.
- the terminal device sends fourth response information, where the fourth response information is used to instruct the processing unit to provide timing service for the one or more timing service data.
- the processing unit determines whether the timing capability of the first network device satisfies the third condition based on the one or more timing service data.
- the method when none of the timing service data in the first request information belongs to the clock subscription data of the terminal device, the method further includes: sending and receiving The unit sends timing service rejection information to the terminal device.
- the transceiver unit sends second request information to the unified data management network element, and the second request information is used to request clock subscription of the terminal device. data.
- a device for clock synchronization sends first request information to the mobility management network element.
- the first request information is used to request timing services for the terminal device.
- the first request information includes Multiple timing accuracy errors; the transceiver unit receives the first response information from the mobility management network element, the first response information is used to indicate the timing status of the terminal device, the timing status includes the terminal device Timing is successful or timing fails.
- the first request information further includes data network name information and/or single slice selection assistance information, and the data network name information and the single slice selection assistance information The information corresponds to the timing accuracy error one-to-one.
- the first response information when the first response information includes information that the terminal device is successfully timed, the first response information also includes identification information of the first network device. , the timing capability of the first network device meets the timing requirements of the terminal device.
- the first response information further includes the timing accuracy error when the timing is successful and the timing accuracy error when the timing is successful.
- Data network name information and the single slice selection auxiliary information are included in some implementations of the tenth aspect.
- a device for clock synchronization receives first request information from a terminal device, and the first request information is used to request timing services for the terminal device; the transceiver unit receives according to the The first request information sends the second request information to the unified data management network element, and the second request information is used to request the clock subscription data of the terminal device; the transceiver unit receives the second request information from the unified data management network element.
- the second response information includes the clock subscription data of the terminal device; the first request information is within the clock subscription data range of the terminal device, and the transceiver unit sends a request to the time-sensitive communication and time synchronization network element
- Send third request information the third request information is used to request timing services for the terminal device; or, the first request information exceeds the clock subscription data range of the terminal device, and the mobility management network element requests the timing service to the terminal device.
- the above terminal device sends a rejection message.
- the third request information includes a plurality of timing error values, and the plurality of timing error values are from the first request information.
- the third request information further includes data network name information and single slice selection assistance information, and the data network name information and the single slice selection assistance information The information corresponds to the plurality of timing accuracy errors one-to-one.
- the transceiver unit receives a time-sensitive Sensing communication and time synchronization network element first timing indication information, the first timing indication information is used to instruct the first network device to provide timing services for the terminal device, and the first network device is capable of providing timing services for the terminal device.
- the first indication information includes identification information of the terminal device, identification information of the first network device and the plurality of timing error values. .
- the transceiver unit receives second information from the first network device, where the second information is used to indicate timing failure.
- the processing unit determines the request information based on the second response information. Whether the timing service data in the first request information belongs to the clock subscription data of the terminal device.
- the transceiver unit when one or more timing service data in the first request information belongs to the clock subscription data of the terminal device, the transceiver unit sends a request to The terminal device sends fourth response information, where the fourth response information is used to instruct the processing unit to provide timing service for the one or more timing service data.
- the transceiver unit when none of the timing service data in the first request information belongs to the clock subscription data of the terminal device, the transceiver unit sends a request to the The terminal device sends timing service rejection information.
- a device for clock synchronization receives second information from the first network device.
- the second information is used to indicate that the timing of the first network device fails; the timing of the second network device The capability meets the first condition, and the transceiver unit sends first timing indication information to the second network device, and the first timing indication information is used to instruct the second network device to provide timing services for the terminal device; or , the timing capability of the second network device does not meet the first condition, and the processing unit determines whether the timing capability of the third network device satisfies the first condition, where the first condition is related to the first timing accuracy error, so The first timing accuracy error is determined based on first request information, the first request information is used to request timing services for the terminal device, the second network device and the third network device include a device capable of providing the terminal with Device is a network device that provides timing services.
- the processing unit determines the second condition based on a second timing accuracy error, the second timing accuracy error is determined based on the first request information, And the second timing accuracy error is different from the first timing accuracy error.
- the first timing accuracy error and the second timing accuracy error belong to the timing accuracy error, and the timing accuracy error comes from time-sensitive communication and time synchronization. network element.
- the second network device satisfies the second condition, and the policy control network element sends the first timing to the second network device. Instructions.
- the transceiver unit sends second timing indication information to the third network device, the second timing indication information is used to instruct the third The network device provides timing services for the terminal device.
- the timing capability of the third network device satisfies the second condition, and the transceiver unit sends the second second condition to the third network device. Timing instructions.
- the timing capability of the second network device If the second condition is not met, the transceiver unit sends second information to the time-sensitive communication and time synchronization network element, where the second information is used to indicate timing failure.
- the timing capability of the third network device does not meet the first condition and the second condition, and the transceiver unit responds to the time-sensitive
- the communication and time synchronization network element sends second information, where the second information is used to indicate timing failure.
- the second information includes identification information of the third network device and/or identification information of the fourth network device.
- a device for clock synchronization receives second information from the policy control network element.
- the second information is used to indicate that the terminal equipment timing fails; the timing of the fourth network equipment The capability meets the third condition, and the transceiver unit sends fourth timing indication information to the fourth network device, where the fourth timing indication information is used to instruct the fourth network device to provide timing services for the terminal device; or , the timing capability of the fourth network device does not satisfy the third condition, and the processing unit determines whether the timing capability of the fifth network device satisfies the third condition, wherein the third condition is consistent with the third timing accuracy.
- the third timing accuracy error is determined based on the first request information, the first request information is used to request timing services for the terminal device, and the second network device includes a component capable of providing timing services for the terminal device. Information network equipment.
- the processing unit determines a fourth condition based on a fourth timing accuracy error, and the fourth timing accuracy error is determined based on the first request information. , and the third timing accuracy error is different from the fourth timing accuracy error.
- the fourth network device satisfies the fourth condition, and the transceiver unit sends the fourth timing indication information to the fourth network device.
- the timing capability of the fifth network device satisfies the fourth condition, and the transceiver unit sends a fifth timing instruction to the fifth network device.
- the fifth timing indication information is used to instruct the fifth network device to provide timing services for the terminal device.
- the transceiver unit sends the fifth timing indication information to the fifth network device.
- the transceiver unit sends third information to the policy control network element, where the third information is used to indicate the fourth network device or the third The fifth network device provides timing services for the terminal device, wherein the third information includes the identification information of the terminal device, the fourth network device identification information or the identification information of the fifth network device, the third The third timing accuracy error and/or the fourth timing accuracy error.
- the timing capability of the fourth network device does not meet the fourth condition, the transceiver unit sends second information, and the second information is The instruction timing failed.
- the timing capability of the fifth network device does not meet the third condition and the fourth condition, and the transceiver unit sends the second information,
- the second information is used to indicate timing failure.
- the transceiver unit receives fourth information from the policy control network element, where the fourth information includes identification information of the terminal device, the mobile The identification information of the management network element, the identification information of the fourth network device, or the identification information of the fifth network device.
- the second information includes the fourth network The identification information of the network device and/or the identification information of the fifth network device.
- the transceiver unit before the transceiver unit receives the second information from the policy control network element, the transceiver unit receives the second information from the mobility management function network element.
- the third request information is used to request timing service for the terminal device.
- the third request information further includes data network name information and single slice selection assistance information, and the data network name information and the single slice selection assistance information The information corresponds to the plurality of timing accuracy errors one-to-one.
- the transceiver unit before the transceiver unit receives the third request information from the mobility management function network element, the transceiver unit sends the second request information to the unified data management network element.
- Request information the second request information is used to request clock subscription data of the terminal device; the transceiver unit receives second response information from the unified data management network element, the second response information includes the terminal The device's clock signing data.
- the processing unit determines whether the timing service data in the first request information belongs to the clock subscription of the terminal device based on the second response information. data.
- the transceiver unit when one or more timing service data in the first request information belongs to the clock subscription data of the terminal device, the transceiver unit sends a request to The terminal device sends fourth response information, where the fourth response information is used to instruct the processing unit to provide timing service for the one or more timing service data.
- the processing unit determines whether the timing capability of the first network device satisfies the third condition based on the one or more timing service data.
- the transceiver unit when none of the timing service data in the first request information belongs to the clock subscription data of the terminal device, the transceiver unit sends a request to the terminal device.
- the terminal device sends timing service rejection information.
- a clock synchronization device in a fourteenth aspect, sends first request information, the first request information includes one or more timing accuracy errors; the processing unit receives timing response information, and the timing response The information is used to instruct the first network device to provide timing services for the terminal device, and the timing response information comes from the first network device, or a policy control network element, or a time-sensitive communication and time synchronization network element.
- the first request information further includes data network name information and/or single slice selection assistance information, and the data network name information and the single slice selection information are The selection auxiliary information corresponds to the timing accuracy error one-to-one.
- a fifteenth aspect provides a communication device, which is used to perform the method in any of the possible implementation modes of the first to seventh aspects.
- the device may include units and/or modules for performing the method in any possible implementation of the first to seventh aspects, such as a processing unit and/or a communication unit.
- the device is a network element.
- the communication unit may be a transceiver, or an input/output interface;
- the processing unit may be at least one processor.
- the transceiver may be a transceiver circuit.
- the input/output interface may be an input/output circuit.
- the device is a chip, chip system or circuit for a network element.
- the communication unit may be an input/output on the chip, chip system or circuit Interface, interface circuit, output circuit, input circuit, pin or related circuit, etc.;
- the processing unit can be at least one processor, processing circuit or logic circuit, etc.
- a communication device includes: at least one processor for executing computer programs or instructions stored in a memory to perform any of the possible implementations of the first to seventh aspects. method.
- the device further includes a memory for storing computer programs or instructions.
- the device further includes a communication interface, through which the processor reads the computer program or instructions stored in the memory.
- the device is a network element.
- the device is a chip, chip system or circuit for a network element.
- this application provides a processor for executing the methods provided in the above aspects.
- processor output, reception, input and other operations can be understood as processor output, reception, input and other operations.
- transmitting and receiving operations performed by the radio frequency circuit and the antenna, which is not limited in this application.
- a computer-readable storage medium stores a program code for device execution.
- the program code includes a program code for executing any of the possible implementations of the above-mentioned first to seventh aspects. Methods.
- a nineteenth aspect provides a computer program product containing instructions, which when the computer program product is run on a computer, causes the computer to execute the method in any of the possible implementation modes of the first to seventh aspects.
- a twentieth aspect provides a communication system, including one or more of the aforementioned policy control network elements, time-sensitive communication and time synchronization network elements, and application function network elements.
- Figure 1 is a schematic diagram of the network architecture applicable to this application.
- Figure 2 is a schematic flow chart of a clock synchronization method provided by an embodiment of the present application.
- FIG. 3 is a schematic flow chart of another clock synchronization method provided by an embodiment of the present application.
- FIG. 4 is a schematic flow chart of another clock synchronization method provided by an embodiment of the present application.
- FIG. 5 is a schematic flow chart of another clock synchronization method provided by an embodiment of the present application.
- FIG. 6 is a schematic flow chart of another clock synchronization method provided by an embodiment of the present application.
- FIG. 7 is a schematic flowchart of another clock synchronization method provided by an embodiment of the present application.
- FIG. 8 is a schematic diagram of a clock synchronization device 800 proposed in an embodiment of the present application.
- FIG. 9 is a schematic diagram of a clock synchronization device 900 proposed in an embodiment of the present application.
- the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: fifth generation (5th generation, 5G) or new radio (NR) systems, long term evolution (long term evolution, LTE) systems, LTE frequency Frequency division duplex (FDD) system, LTE time division duplex (TDD) system, etc.
- the technical solution provided by this application can also be applied to future communication systems, such as the sixth generation mobile communication system.
- the technical solution provided by this application can also be applied to device-to-device (D2D) communication, vehicle-to-everything (V2X) communication, and machine-to-machine (M2M) communication.
- D2D device-to-device
- V2X vehicle-to-everything
- M2M machine-to-machine
- information machine type communication
- IoT Internet of things
- Figure 1 shows a schematic architectural diagram of a communication system suitable for embodiments of the present application.
- the communication system includes one or more network devices (110 and 120 in Figure 1).
- the network devices 110 and 120 communicate with one or more terminal devices, such as the terminal in Figure 1.
- Device 130 It should be understood that only one terminal device 130 and two network devices, 110 and 120, are shown in Figure 1 .
- the communication system is not limited to including more network devices and terminal devices, nor is each terminal device limited to communicating with one or more network devices.
- the terminal device in this application is not limited to the handover scenario.
- the core network element performs authorization evaluation on the network device.
- the core network element determines the appropriate network device for timing. Evaluate and instruct the selected network equipment to provide timing services for terminal equipment to ensure clock synchronization of the system.
- User equipment It can be called terminal equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, User agent or user device.
- the terminal device may be a device that provides voice/data to users, for example, a handheld device with wireless connection function, a vehicle-mounted device, etc.
- terminals are: mobile phones, tablets, laptops, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, and smart grids Wireless terminals, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocols , SIP) telephone, wireless local loop (WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem, which can Wearable devices, terminal devices in the 5G network or terminal devices in the future evolved public land mobile communication network (public land mobile network, PLMN), etc., are not limited in the embodiments of this application.
- MID mobile internet devices
- Radio access network It can provide authorized users in a specific area with the function of accessing communication networks. Specifically, it can include wireless networks in the 3rd generation partnership project (3GPP) network. Devices may also include access points in non-3GPP (non-3GPP) networks. For convenience of description, the following uses RAN equipment representation.
- 3GPP 3rd generation partnership project
- Devices may also include access points in non-3GPP (non-3GPP) networks.
- non-3GPP non-3GPP
- 3GPP access technologies for example, wireless access technologies used in third generation (3G), fourth generation (4G) or 5G systems
- non-3GPP non- 3GPP (non-3GPP) access technology
- 3GPP access technology refers to access technology that complies with 3GPP standard specifications.
- the access network equipment in the 5G system is called the next generation base station node (next generation).
- Non-3GPP access technologies may include air interface technology represented by access point (AP) in wireless fidelity (WiFi), global interoperability for microwave access (WiMAX), code Code division multiple access (CDMA), etc.
- RAN equipment can allow interconnection and interoperability between terminal equipment and the 3GPP core network using non-3GPP technologies.
- RAN equipment can be responsible for functions such as wireless resource management, quality of service (QoS) management, data compression and encryption on the air interface side.
- RAN equipment provides access services to terminal equipment, thereby completing the forwarding of control signals and user data between the terminal equipment and the core network.
- QoS quality of service
- RAN equipment may include, for example, but is not limited to: macro base station, micro base station (also known as small station), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller) , BSC), base transceiver station (BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit, BBU), AP in WiFi system, wireless relay Node, wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc., can also be a gNB or transmission point (TRP or TP) in the 5G (such as NR) system , one or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or it can also be a network node that constitutes a gNB or transmission point, such as a distributed unit (DU), or next-generation communications Base stations in 6G systems, etc.
- RNC radio network controller
- Access and mobility management function (AMF): mainly used for access control, mobility management, attachment and detachment and other functions.
- PCF Policy control function
- Application function Mainly used to provide services to the 3GPP network, such as interacting with PCF for policy control, etc.
- AF can be a third-party functional entity or an application service deployed by an operator, such as IP multimedia subsystem (IMS) voice call service.
- IMS IP multimedia subsystem
- a multi-access edge computing (MEC) platform or application server can serve as an AF to communicate with the 5G core network.
- Unified data management Mainly used for UE subscription data management, including storage and management of UE identification, UE access authorization, etc.
- Network exposure function Mainly used to safely open the services and capabilities provided by 3GPP network functions to the outside world.
- Application function Mainly used to provide services to the 3GPP network, such as interacting with PCF for policy control, etc.
- Time sensitive communication and time synchronization function network element time sensitive communication and time synchronization function, TSCTSF: mainly used to determine the timing accuracy error of the UE.
- the AMF, PCF, UDM, AF, etc. mentioned above can be understood as network elements used to implement different functions. For example, they can be combined into network slices as needed. These network elements can be independent devices or integrated into Different functions are implemented in the same device, or they can be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform). This application is for The above network elements have Body shape is not limited.
- the above network elements or functions can be divided into one or more services, and further, there may also be services that exist independently of network functions.
- instances of the above functions, or instances of services included in the above functions, or service instances that exist independently of network functions can be called service instances.
- network elements with different functions can be co-located.
- the access and mobility management network element can be co-located with the session management network element; the session management network element can be co-located with the user plane network element.
- Node B Node B
- evolved NodeB evolved NodeB
- Next generation base station nodeB, gNB
- relay station access point (AP), transmission point (transmitting and receiving point, TRP), transmitting point (TP), primary station, secondary station, multi-standard Wireless (motor slide retainer, MSR) node, home base station, network controller, access node, wireless node, access point, transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU) ), active antenna unit (active antenna unit, AAU), radio frequency head (remote radio head, RRH), central unit (central unit, CU), distributed unit (distributed unit, DU), positioning node, base station, etc.
- NodeB Node B
- eNB evolved NodeB
- Next generation NodeB Next generation NodeB, gNB
- relay station access point (AP), transmission point (transmitting and receiving point, TRP), transmitting point (TP), primary station, secondary station, multi-standard Wireless (motor slide retain
- the base station may be a macro base station, a micro base station, a relay node, a donor node or the like, or a combination thereof.
- a base station may also refer to a communication module, modem or chip used in the aforementioned equipment or devices.
- the base station can also be a mobile switching center and equipment that performs base station functions in D2D, V2X, and M2M communications, network-side equipment in 6G networks, equipment that performs base station functions in future communication systems, etc.
- Base stations can support networks with the same or different access technologies.
- the timing capability of the 5G network is a network function that can be opened to the outside.
- the timing opening capability defined in R17 can be activated and deactivated by the application function network element AF.
- the timing capability of the 5G network is a capability that can be opened to external networks and can be used as the master clock of the entire system to provide timing for other devices.
- the AF timing request includes the identification information of the terminal device.
- NEF further forwards the timing request information to TSCTSF.
- the AF request may also include the timing error range (error budget).
- error budget is used to indicate the upper limit requirements of the terminal equipment on the timing error. If TSCTSF receives the timing request from AF with error budget, TSCTSF will use error budget as the total error requirement to determine whether the network device can provide timing requirements for the terminal device. When the AF timing request does not carry an error budget, TSCTSF will use the preconfigured default value as the error budget.
- TSCTSF After TSCTSF receives the error budget, it will use it to subtract the internal error (the error is pre-configured or obtained from other transmissions), that is, TSCTSF obtains the air interface timing accuracy error (Uu error budget).
- Uu error budget can Corresponds to one or more Uu error budgets, or multiple error budgets can correspond to multiple Uu error budgets.
- TSCTSF sends the obtained Uu error budget to the network equipment, and then the network equipment decides which timing method to use to time the terminal equipment to meet the timing error requirements of the terminal equipment.
- timing methods for network equipment in standard R17 namely TA-based base station pre-compensation. compensation or terminal independent compensation and RTT-based timing scheme.
- the timing errors of these two methods are different, and the timing errors of different network devices are also different, which is not limited in this application.
- the first network device (which may be referred to as the first base station) is RAN1
- the second network device (which may be referred to as the second base station) is RAN2
- the source network device to which the terminal device is connected (which may be referred to as the second base station) is RAN2.
- the source base station) is RAN#1
- other network devices connected to the terminal device are called RAN3.
- FIG. 2 shows a schematic diagram of a clock synchronization method according to an embodiment of the present application.
- Figure 2 includes the following steps.
- the AMF sends the first information to the first network element, or the first network element receives the first information from the AMF.
- the first information is used to indicate that RAN1 can provide timing services for the terminal equipment UE.
- the first network element is the policy control network element PCF or/and the time-sensitive communication and time synchronization network element TSCTSF.
- RAN1 can provide timing services for the terminal equipment UE, and other base stations can also provide timing services for the UE.
- the UE is connected to RAN#1 and RAN1 at the same time, or the UE switches from RAN#1 to RAN1, and the UE disconnects from RAN#1 and connects to RAN1.
- this application No restrictions.
- both RAN#1 and RAN1 can provide timing services for UE
- both RAN#1 and RAN1 can provide services for UE.
- RAN#1 and RAN1 can provide timing services for the UE, but it cannot be determined whether RAN#1 and RAN1 can provide the UE with clock information that meets the UE's timing requirements.
- the first network element determines whether the timing capability of RAN#1 meets the timing requirements of the UE.
- the clock synchronization method provided by this application is not limited to the scenario where the UE switches network equipment. The method provided by this application is also applicable when the UE does not switch network equipment.
- the first network element determines whether the timing capability of RAN1 meets the first condition based on the first information.
- the first network element determines the timing capability of RAN1, and then determines whether the timing capability of RAN1 meets the first condition.
- the first condition is determined by the first network element based on the first timing accuracy error.
- the first timing accuracy error is determined by the first network element based on the first request information.
- the first request information is used to request timing services for the UE.
- the first request information comes from AF or UE.
- the first timing accuracy error Uu error budget comes from TSCTSF.
- TSCTSF determines one or more Uu error budgets based on the UE's timing request information, and sends all or part of the determined one or more Uu error budgets to the PCF.
- the PCF may select the smallest Uu error budget as the first condition.
- the TSCTSF determines one or more Uu error budgets based on the information of the AF requesting timing services for the UE, and uses one of the Uu error budgets as the first timing accuracy error.
- the first network element determines whether the timing capability of RAN1 satisfies the second condition.
- the first network element determines that the timing service capability of RAN1 meets the second condition, that is, the first network element instructs RAN1 to provide timing services for the UE.
- the first network element determines that the timing capability of RAN1 does not meet the second condition, that is, the first network element determines the first condition based on the first timing accuracy error, the first network element determines that the timing capability of RAN1 Whether the timing capability meets the first condition.
- the first network element determines that the timing capability of RAN1 meets the first condition, the first network element instructs RAN1 to provide timing services for the UE. That is, in the method shown in Figure 2, the method also includes:
- the first network element sends first timing indication information to RAN1.
- the first timing indication information is used to instruct RAN1 to provide timing services for the UE.
- the first network element directly sends the first timing indication information to RAN1, instructing RAN1 to provide timing services for the UE.
- the first network element sends first timing indication information to the AMF, and the AMF sends information used to instruct RAN1 to provide timing for the UE to RAN1.
- RAN1 provides timing for the UE.
- RAN1 After receiving the first timing indication information, RAN1 provides the timing service for the UE according to the first timing indication information.
- RAN1 determines the timing scheme according to the first timing indication information, where the timing scheme includes TA-based base station pre-compensation or UE autonomous compensation and RTT-based timing scheme.
- RAN1 selects an appropriate timing opportunity to provide timing services to the UE according to the first timing indication information.
- the first network element determines whether the timing capability of RAN1 does not meet the first condition. That is, in the method shown in Figure 2, the method also include:
- the first network element determines whether the timing capability of RAN2 meets the first condition.
- RAN2 is different from RAN1, and RAN2 is a network device capable of providing timing services for UE.
- the first network element determines whether the timing capability of RAN2 satisfies the first condition.
- the first network element sends second timing indication information to RAN2.
- the second timing indication information is used to instruct RAN2 to provide timing services to the UE.
- the first network element determines that the timing capability of RAN2 does not meet the first condition, that is, the timing capability of RAN2 does not meet the timing requirements of the UE, the first network element selects other network devices currently connected to the UE to provide timing for the UE.
- the first network element determines that no other network device's timing capability meets the UE's timing requirements
- the first network element sends the second information, or the AF receives the second information from the first network element.
- the second information is used to indicate timing failure.
- the method shown in Figure 2 may also include:
- RAN1 sends the identification information of RAN1 (for example: ID identification) and the timing accuracy error obtained by RAN1 according to different timing methods to the AMF.
- ID identification for example: ID identification
- RAN1 obtains the timing accuracy error according to different timing methods, including RAN1 performing TA-based and/or RTT-based timing methods to obtain the timing accuracy error.
- the specific timing scheme can refer to the existing technology.
- the TSCTSF determines whether the timing capability of the network device meets the timing requirements of the UE based on the UE's timing request. And instruct network equipment that meets the UE timing requirements to provide timing services for the UE.
- FIG 3 shows a flow chart of another clock synchronization method provided by an embodiment of the present application. As shown in Figure 3, it includes the following steps.
- the TSCSTF receives the first request information (which may also be called: requesting timing service information) from the AF.
- the first request information is used to request timing service for the UE.
- the AF sends the first request information for the timing service requested by the UE to the NEF, and the NEF forwards the information to the TSCTSF.
- the first request information includes the identification information of the UE.
- the first request information when the first request information comes from the AF, the first request information also includes the coverage area for which the AF requests timing services for the UE.
- the coverage area in the first request information sent by the AF may be granular per RAN node or per cell, or the AF may request regional information within a geographical scope.
- AF or NEF will pre-configure a mapping list. AF will map the requested geographical range into range information in the 3GPP concept that TSCTSF can understand. AF then sends it to NEF, and NEF forwards the information to TSCTSF.
- the TSCTSF sends second request information to the UDM, or the UDM receives the second request information from the TSCTSF.
- the second request information is used to request UE timing subscription data.
- the TSCTSF sends the second request information to the UDM according to the first request information.
- the TSCTSF receives the second response information from the UDM, or the UDM sends the second response information to the TSCTSF.
- the second response information includes the timing subscription data of the UE.
- TSCTSF makes a judgment based on the timing service data requested by the UE in the first request information and the UE timing subscription data in the second response information.
- TSCTSF updates the timing accuracy error Uu error budget based on the first request information, and determines that the network equipment that meets the requirements can be provided to the UE. For example, when RAN#1 meets the timing requirements of the UE, TSCTSF sends the first timing indication information to RAN#1.
- the method also includes:
- the TSCTSF determines whether the timing service data requested by the UE in the first request information satisfies the UE timing subscription data.
- TSCTSF updates Uu error budget and the information of the network device (RAN#1) determined to be the UE timing; when the timing service data requested by the UE does not meet the UE timing subscription data , TSCTSF sends the first response information to the AF, and the first response information is used to reject timing.
- the TSCTSF updates the Uu error budget and the information of the network equipment (RAN#1) determined to be the UE timing, and instructs RAN#1 to provide timing services for the UE.
- the TSCTSF updates Uu error budget and the information of the network equipment (RAN#1) determined to serve the UE according to the timing service data requested by the UE and the coverage area information requested by the UE in the first request information.
- RAN#1 network equipment
- the TSCTSF determines whether the timing service data requested by the UE in the first request information satisfies the UE timing subscription data
- the TSCTSF determines whether the timing service data in the first request information belongs to the terminal device based on the second response information. Clock signing data.
- the TSCTSF sends the fourth response information to the UE.
- the fourth response information is used to instruct the TSCTSF to provide timing services for the one or more timing service data; when the first request information When none of the timing service data belongs to the UE's clock subscription data, the TSCTSF sends timing service rejection information to the UE.
- the TSCTSF provides timing services for one or more timing service data in the clock data subscribed by the UE, and the TSCTSF determines whether the timing service capability of the network device (for example: RAN1) meets the timing service requirements of the UE based on the one or more timing service data.
- the timing service capability of the network device for example: RAN1
- the method shown in Figure 3 is used. The method also includes:
- RAN#1 receives the first timing indication information from TSCTSF.
- the first timing indication information is used to instruct RAN#1 to provide timing services for the UE.
- the TSCTSF can directly send the first timing indication information to RAN1, instructing RAN1 to provide timing services for the UE.
- the TSCTSF first sends the first timing indication information to the PCF, and the PCF then sends the information used to instruct RAN1 to provide timing for the UE to RAN1.
- the first timing information includes the identification information of the UE, the updated Uu error budget and the identification information of RAN#1.
- RAN#1 provides timing services for the UE.
- RAN#1 After receiving the first timing indication information from the TSCTSF, RAN#1 provides the timing service for the UE according to the first timing indication information.
- RAN#1 selects an appropriate timing opportunity to provide timing service to the UE according to the first timing indication information.
- RAN#1 determines the timing scheme according to the first timing indication information, where the timing scheme includes TA-based base station pre-compensation or UE autonomous compensation and RTT-based timing scheme.
- the timing scheme includes TA-based base station pre-compensation or UE autonomous compensation and RTT-based timing scheme.
- the specific timing scheme please refer to the existing technology.
- the method shown in Figure 3 further includes:
- the PCF determines the timing strategy according to the first timing indication information, and the PCF sends the timing strategy response information to the TSCTSF. Among them, the timing strategy response information indicates the timing result.
- the timing policy response information includes identification information of RAN#1, and RAN#1 determines the timing scheme (ie, timing capability data of RAN#1) and AMF identification information based on the first timing indication information.
- the above-mentioned Figure 3 shows that the AF initiates the timing request of the UE and further sends it to the TSCTSF.
- the first request information carries the UE's timing request service data.
- the TSCTSF obtains the UE's timing subscription data from the UDM.
- the TSCTSF makes further judgment on the UE's timing request data based on the first request information and the UE's timing subscription data.
- the TSCTSF further determines the appropriate timing network equipment for the UE, ensuring system clock synchronization while saving resource overhead.
- Figure 4 shows on the basis of Figure 3 that the location of the UE has changed compared to before.
- the serving base station of the UE may be switched from RAN#1 to RAN1, or both RAN#1 and RAN1 can provide timing services for the UE.
- the timing capability of RAN#1 does not meet the timing requirements of the UE, and it is necessary to further determine whether the timing capability of RAN1 meets the timing requirements of the UE.
- RAN1 can provide timing services for UE means that RAN1 can provide timing services for UE, but it cannot be determined whether RAN1 can provide clock information that meets the UE's timing requirements for UE.
- TSCTSF vs. RAN1 Evaluate the timing capability of RAN1 to determine whether the timing capability of RAN1 meets the timing requirements of the UE.
- Figure 4 shows a flow chart of another clock synchronization method provided by an embodiment of the present application. Figure 4 includes the following steps.
- AMF receives subscription information sent from TSCTSF, or TSCTSF sends subscription information to AMF.
- the subscription information is used to subscribe the location information of the UE to the AMF.
- the AMF sends the information of the network equipment that can provide services to the UE to the TSCTSF.
- step S401 is optional.
- the AMF may also regularly send the location information of the UE to the TSCTSF according to its own protocol regulations and send the information of the network equipment capable of providing timing services to the TSCTSF to the TSCTSF. Therefore, S401 is an optional step.
- AMF sends the first information to TSCTSF, or TSCTSF receives the first information sent from AMF.
- the first information is used to indicate that RAN1 can provide timing services for the UE.
- RAN1's timing capabilities for example: RAN1's timing accuracy error obtained according to different timing methods
- the first information sent by the AMF to the TSCTSF may include the timing capabilities of RAN#1 and RAN1.
- RAN1 when RAN1 does not send the timing capability of RAN1 to the AMF.
- RAN1 sends the timing capability of RAN1 to the AMF.
- AMF can actively request timing capability information from RAN1, or RAN1 randomly sends the timing capability of RAN1 to AMF.
- step S402 is optional.
- the TSCTSF obtains other indication information or information about network devices that can provide timing services for the UE carried in the broadcast information. Therefore, S402 is an optional step.
- TSCTSF determines whether the timing capability of RAN1 meets the third condition.
- the TSCTSF determines whether RAN1 can provide timing services for the UE based on the timing capabilities of RAN1 and the third condition.
- the third condition is related to the third timing accuracy error, and the third timing accuracy error is determined by TSCTSF based on the first request information.
- first condition and the third condition, the second condition and the fourth condition, the first timing accuracy error and the third timing accuracy error, the second timing accuracy error and the fourth timing accuracy error in this application can be the same. , may also be different, which is not limited in this application.
- the TSCTSF determines whether the timing capability of RAN1 meets the third condition. This application explains in detail the following three situations as an example.
- TSCTSF Before determining whether RAN1's timing capability satisfies the third condition, TSCTSF first determines whether RAN1's timing capability satisfies the fourth condition. When RAN1's timing capability does not satisfy the fourth condition and meets the third condition, that is, RAN1's timing capability satisfies According to the UE's timing requirements, RAN1 can provide the UE with clock information that meets the requirements. As shown in Figure 4, the method also includes:
- TSCTSF determines the fourth condition based on the fourth timing accuracy error and determines that the timing capability of RAN1 does not meet the fourth condition.
- the TSCTSF determines the fourth condition based on the fourth timing accuracy error.
- the fourth condition is different from the third condition.
- the timing capability of RAN1 does not meet the fourth condition. That is, the TSCTSF determines that RAN1 cannot provide timing services for the UE.
- TSCTSF received the first request information from AF, where the first request information included includes one or more error budgets, or the first request information includes one or more Uu error budgets.
- TSCTFS further determines the air interface timing accuracy error Uu error budget according to the internal error value.
- one error budget can obtain multiple Uu error budgets, and TSCTSF uses the obtained one or more Uu error budgets as a condition for meeting the UE timing requirements.
- TSCTSF sends all or part of the determined one or more Uu error budgets to the PCF.
- the first request information includes error budget1 and error budget2.
- TSCTSF obtains Uu error budget(1) and Uu error budget(2) based on error budget1.
- TSCTSF obtains Uu error budget(3) and Uu error based on error budget2. budget(4). That is, TCSTSF determines whether the RAN1 timing capability meets the UE's timing requirements based on the determined multiple air-to-air timing accuracy errors. That is, TCSTSF determines whether the RAN1 timing capability meets the UE's timing requirements based on the determined multiple air-to-air timing accuracy errors.
- TSCTSF regards Uu error budget(1) as the fourth timing accuracy error, so the fourth condition for whether RAN1 can provide services for UE is that the timing capability exceeds the fourth timing error accuracy (Uu error budget(1)).
- the timing capability of RAN1 is error budget(X). When error budget(X) exceeds the range of Uu error budget(1), the timing capability of RAN1 does not meet the fourth condition.
- the TSCTSF determines that the timing capability of RAN1 meets the fourth condition, that is, the TSCTSF instructs RAN1 to provide timing services for the UE. That is, steps SA406 and SA407 are executed.
- the method also includes:
- TSCTSF determines the third condition based on the third timing accuracy error and determines that the timing capability of RAN1 meets the third condition.
- TSCTSF evaluates the timing capability of RAN1 and the third condition, and determines that the timing capability of RAN1 meets the third condition.
- the TSCTSF determines the third condition according to the third timing accuracy error of the UE.
- TSCTSF uses Uu error budget(4) as the third timing accuracy error based on the determined multiple timing accuracy errors.
- the third condition for determining whether RAN1 can provide services for the UE is whether the timing capability of RAN1 exceeds the third 3.
- the timing capability of RAN1 is error budget(X). When error budget(X) does not exceed the range of Uu error budget(4), then RAN1’s timing capability meets the third condition; when error budget(X) exceeds the range of Uu error budget(4), then RAN1’s timing capability does not meet The third condition.
- TSCTFS/PCF determines whether the timing capability of RAN1 meets the timing requirements of the terminal equipment, it generally starts from the smallest timing accuracy error and increases sequentially to the largest timing accuracy error.
- the examples in this application are not limiting.
- the embodiment of this application shows that the timing capability of RAN1 meets the third condition, that is, error budget (X) does not exceed the range of Uu error budget (4).
- the method also includes:
- TSCTSF sends the first timing indication information to RAN1, or RAN1 receives the first timing indication information from TSCTSF.
- the TSCTSF directly sends the first timing indication information to RAN1, instructing RAN1 to provide timing services for the UE.
- the TSCTSF sends the first timing indication information to the PCF, and the PCF then sends the information used to instruct RAN1 to provide timing for the UE to RAN1.
- the first timing indication information includes identification information of the UE, identification information of RAN1 and multiple timing accuracy errors determined by the TSCTSF.
- RAN1 provides timing services for UE.
- RAN1 After receiving the first timing indication information, RAN1 provides the timing service for the UE according to the first timing indication information.
- RAN1 determines the timing scheme according to the first timing indication information, where the timing scheme includes TA-based base station pre-compensation or UE autonomous compensation and RTT-based timing scheme.
- RAN1 selects an appropriate timing opportunity to provide timing services to the UE according to the first timing indication information.
- TSCTS directly determines that the timing capability of RAN1 meets the third condition, that is, the timing capability of RAN1 meets the timing requirements of the UE, and RAN1 can provide the UE with clock information that meets the requirements.
- the method also includes:
- TSCTSF determines that RAN1’s timing capability meets the third condition.
- the TSCTSF compares the timing capability of RAN1 with the third condition and determines that the timing capability of RAN1 meets the third condition, that is, the timing capability of RAN1 meets the timing requirements of the UE.
- the TSCTSF determines that RAN1 can provide timing services for the UE, and the TSCTSF instructs RAN1 to provide timing services for the UE.
- TSCTSF determines multiple timing accuracy errors based on the first request information, including Uu error budget(1), Uu error budget(2), Uu error budget(3), Uu error budget(4), assuming Uu The timing accuracy errors of error budget(1), Uu error budget(2), Uu error budget(3), and Uu error budget(4) increase in sequence.
- TSCTSF regards Uu error budget(4) as the third timing accuracy error, and the third condition to determine whether RAN1 can provide services for UE is whether the timing capability of RAN1 exceeds the third timing error accuracy (Uu error budget(4)).
- the timing capability of RAN1 is error budget(X). When error budget(X) does not exceed the range of Uu error budget(4), then RAN1’s timing capability meets the third condition. When error budget(X) exceeds the range of Uu error budget(4), then RAN1’s timing capability does not satisfy The third condition.
- TSCTSF sends the first timing indication information to RAN1, or RAN1 receives the first timing indication information from TSCTSF.
- the TSCTSF directly sends the first timing indication information to RAN1, instructing RAN1 to provide timing services for the UE.
- the TSCTSF sends the first timing indication information to the PCF, and the PCF then sends the information used to instruct RAN1 to provide timing for the UE to RAN1.
- the first timing indication information includes identification information of the UE, identification information of RAN1 and multiple timing accuracy errors determined by the TSCTSF.
- RAN1 provides timing services for UE.
- RAN1 After receiving the first timing indication information, RAN1 provides the timing service for the UE according to the first timing indication information.
- RAN1 determines the timing scheme according to the first timing indication information, where the timing scheme includes TA-based base station pre-compensation or UE autonomous compensation and RTT-based timing scheme.
- RAN1 selects an appropriate timing opportunity to provide timing services to the UE according to the first timing indication information.
- TSCTSF determines that RAN1's timing capability does not meet the third condition, and RAN1's timing capability does not meet the fourth condition, that is, RAN1's timing capability does not meet the UE's timing requirements, and RAN1 cannot provide the UE with clock information that meets the requirements, as shown in Figure 4
- the method shown also includes:
- SC404 AF receives the second information sent from TSCTSF.
- the TSCTSF determines that the timing service capability of RAN1 does not meet the third condition and the fourth condition, determines that the timing service fails, that is, the TSCTSF sends second information, and the second information is used to indicate the timing service failure.
- AF receives the second information sent by TSCTSF through NEF.
- the second information includes identification information of RAN1, the third timing accuracy error and/or the fourth timing accuracy error.
- the method shown in Figure 4 also includes:
- the TSCTSF determines that the UE has moved out of the coverage area of the AF requesting timing services for the UE, and the TSCTSF sends stop timing indication information.
- the stop timing indication information is used to instruct the network equipment to stop providing timing services for the UE, where the network equipment is to provide timing services for the UE. network equipment.
- the network device may be a base station (such as a BS), an access network device (such as a RAN), or a user plane network element UPF.
- a base station such as a BS
- an access network device such as a RAN
- UPF user plane network element
- This application takes the network device as RAN1 as an example.
- the TSCTSF initiates sending timing service stop indication information to RAN1.
- the timing service stop indication information is used to instruct RAN1 to stop providing timing services for the UE.
- TSCTSF initiates a clock service deactivation indication (i.e., stop timing indication information) to RAN1, and instructs RAN1 to stop timing service to the UE; or, TSCTSF first sends the timing stop indication information to AMF, and AMF forwards the timing stop indication information to RAN1.
- stop timing indication information i.e., stop timing indication information
- the source network device RAN#1 cannot provide the UE with clock information that meets the requirements.
- RAN1 can provide timing services for the UE.
- TSCTSF determines whether RAN1 can provide the UE with clock information that meets the requirements. clock information.
- TSCTSF determines the timing capability evaluation conditions based on the determined multiple timing accuracy errors, and uses the determined evaluation conditions to further evaluate the timing capability of RAN1. Among them, when the TSCTSF determines that RAN1 cannot provide timing services for the UE, the TSCTSF modifies the evaluation conditions within the range of the UE's timing accuracy error.
- the TSCTSF determines that RAN1 is still unable to provide timing services for the UE, the TSCTSF sends timing failure information.
- the TSCTSF evaluates the network device by evaluating the network device according to the UE's timing requirements, or by changing the conditions for evaluation within the scope of the UE's timing requirements. While ensuring system clock synchronization, resource overhead is reduced.
- Figure 5 shows that when the UE location changes compared to before, the UE's serving base station may be switched from RAN#1 to RAN1, or both RAN#1 and RAN1 can provide timing services for the UE, where RAN#
- the timing capability of RAN1 does not meet the timing requirements of the UE. It is necessary to further determine whether the timing capability of RAN1 meets the timing requirements of the UE. It should be understood that the fact that RAN1 can provide timing services for UE means that RAN1 can provide timing services for UE, but it cannot be determined whether RAN1 can provide clock information that meets the UE's timing requirements for UE.
- the PCF evaluates the timing capability of RAN1 and determines whether the timing capability of RAN1 meets the timing requirements of the UE.
- Figure 5 shows a flow chart of another clock synchronization method provided by an embodiment of the present application. Figure 5 includes the following steps.
- AMF receives subscription information sent from PCF, or PCF sends subscription information to AMF.
- the subscription information is used to subscribe to the AMF for the location information of the UE.
- the AMF sends information about network devices that can provide services for the UE to the PCF.
- step S501 is optional.
- the AMF may also regularly send the location information of the UE to the PCF according to its own protocol regulations and send the information of the network equipment capable of providing timing services to the PCF to the PCF. Therefore, S501 is an optional step.
- the AMF sends the first information to the PCF, or the PCF receives the first information sent from the AMF.
- the first information is used to indicate that RAN1 can provide timing services for the UE.
- RAN1's timing capabilities for example: RAN1's timing accuracy error obtained according to different timing methods
- the first information sent by the AMF to the TSCTSF may include the timing capabilities of RAN#1 and RAN1.
- RAN1 when RAN1 does not send the timing capability of RAN1 to the AMF.
- RAN1 sends the timing capability of RAN1 to the AMF.
- AMF can actively request timing capability information from RAN1, or RAN1 randomly sends the timing capability of RAN1 to AMF.
- step S502 is optional.
- the TSCTSF obtains other indication information or information about network devices that can provide timing services for the UE carried in the broadcast information. Therefore, S502 is an optional step.
- PCF determines whether the timing capability of RAN1 meets the first condition.
- PCF determines whether RAN1 can provide timing services for the UE based on the timing capabilities of RAN1 and the first condition.
- the first condition is related to the first timing accuracy error, and the first condition is determined by the PCF based on the first timing accuracy error of the UE.
- the PCF determines the first condition according to the service type of the UE and the first timing accuracy error.
- timing accuracy errors corresponding to different service types of the UE are different, and the PCF further determines the first condition according to the service type of the UE.
- the PCF determines whether the timing capability of RAN1 meets the first condition. This application explains the following three situations in detail as an example.
- the method Before PCF determines whether RAN1's timing capability meets the first condition, it first determines whether RAN1's timing capability satisfies the second condition. When RAN1's timing capability does not satisfy the second condition and meets the first condition, that is, RAN1's timing capability satisfies the UE According to the timing requirements, RAN1 can provide the UE with clock information that meets the requirements. As shown in Figure 5, the method also includes:
- PCF determines the second condition based on the second timing accuracy error, and determines that the timing capability of RAN1 meets the second condition.
- the PCF determines the second condition based on the second timing accuracy error.
- the second condition is different from the first condition.
- the timing capability of RAN1 satisfies the second condition, that is, the PCF determines that RAN1 can provide timing services for the UE.
- TSCTSF determines multiple timing accuracy errors based on the first request information, including Uu error budget(1), Uu error budget(2), Uu error budget(3), Uu error budget(4), assuming Uu The timing accuracy errors of error budget(1), Uu error budget(2), Uu error budget(3), and Uu error budget(4) increase in sequence.
- TSCTSF sends the determined Uu error budget(1) and Uu error budget(2) to PCF, and PCF selects the smallest timing accuracy error as the second condition, that is, Uu error budget(1) as the second timing accuracy error.
- PCF determines RAN1
- the timing capability exceeds the second timing error accuracy (Uu error budget(1))
- PCF will use Uu error budget(1) and Uu error budget(2) as the first timing accuracy error based on Uu error budget(1) and Uu error budget(2).
- the timing capability of RAN1 is error budget (X).
- the error budget (X) does not exceed the range of Uu error budget (2)
- the timing capability of RAN1 meets the first condition.
- the error budget (X) exceeds the range of Uu error budget (2)
- the timing capability of RAN1 does not meet the requirement.
- First condition is
- the PCF determines the second condition according to the service type of the UE and the second timing accuracy error.
- timing accuracy errors corresponding to different service types of the UE are different, and the PCF further determines the second condition according to the service type of the UE.
- TSCTSF determines multiple timing accuracy errors based on the first request information, including Uu error budget(1), Uu error budget(2), Uu error budget(3), Uu error budget(4), assuming Uu The timing accuracy errors of error budget(1), Uu error budget(2), Uu error budget(3), and Uu error budget(4) increase in sequence.
- the PCF determines that the timing accuracy error corresponding to the service type requested by the UE is Uu error budget(2), that is, the PCF selects Uu error budget(2) as the second condition, that is, Uu error budget(2) as the second timing accuracy error.
- PCF determines whether the timing capability of RAN1 exceeds the second timing error accuracy (Uu error budget(2)).
- the timing capability of RAN1 is error budget(X). When error budget(X) does not exceed the range of Uu error budget(2), then the timing capability of RAN1 meets the second condition, and the PCF determines that RAN1 can provide timing services for the UE.
- the PCF determines that the timing capability of RAN1 meets the second condition, the PCF instructs RAN1 to provide timing services for the UE. That is, steps SA506 and SA507 are executed.
- the method also includes:
- PCF determines that RAN1's timing capability meets the first condition.
- the PCF compares the timing capability of RAN1 with the first condition, and determines that the timing capability of RAN1 satisfies the first condition, where the PCF determines the first condition based on the first timing accuracy error of the UE.
- the PCF determines the first condition based on the first timing accuracy error of the UE.
- PCF sends the first timing indication information to RAN1, or RAN1 receives the first timing indication information from PCF.
- PCF sends the first timing indication information to RAN1, or RAN1 receives the first timing indication information from TSCTSF.
- the PCF directly sends the first timing indication information to RAN1, instructing RAN1 to provide timing services for the UE.
- the PCF updates the timing policy and sends information used to instruct RAN1 to time the UE to RAN1.
- the first timing indication information includes the identification information of the UE, the identification information of RAN1, and one or more timing accuracy errors received by the PCF from the TSCTSF.
- RAN1 provides timing services for UE.
- RAN1 After receiving the first timing indication information, RAN1 provides the timing service for the UE according to the first timing indication information.
- RAN1 determines the timing scheme according to the first timing indication information, where the timing scheme includes TA-based base station pre-compensation or UE autonomous compensation and RTT-based timing scheme.
- RAN1 selects an appropriate timing opportunity to provide timing services to the UE according to the first timing indication information.
- the PCF directly determines that the timing capability of RAN1 meets the first condition, that is, the timing capability of RAN1 meets the timing requirements of the UE, and RAN1 can provide the UE with clock information that meets the requirements.
- the method also includes:
- the PCF evaluates the timing capability of RAN1 and the first condition, and determines that the timing capability of RAN1 meets the first condition, that is, the timing capability of RAN1 meets the timing requirements of the UE.
- the PCF determines that RAN1 can provide timing services for the UE, and the PCF instructs RAN1 to provide timing services for the UE.
- TSCTSF determines multiple timing accuracy errors based on the first request information, including Uu error budget(1), Uu error budget(2), Uu error budget(3), Uu error budget(4), assuming Uu The timing accuracy errors of error budget(1), Uu error budget(2), Uu error budget(3), and Uu error budget(4) increase in sequence.
- TSCTSF sends the determined Uu error budget(1) and Uu error budget(2) to PCF.
- PCF selects Uu error budget(2) as the first timing accuracy error.
- PCF determines the first condition for whether RAN1 can provide services for UE. It is whether the timing capability of RAN1 exceeds the first timing error accuracy (Uu error budget(2)).
- the timing capability of RAN1 is error budget(X). When error budget(X) does not exceed the range of Uu error budget(2), then RAN1’s timing capability meets the first condition. When error budget(X) exceeds the range of Uu error budget(1), then RAN1’s timing capability does not meet First condition.
- SB505 PCF sends the first timing indication information to RAN1, or RAN1 receives the first timing indication information from PCF.
- the PCF directly sends the first timing indication information to RAN1, instructing RAN1 to provide timing services for the UE.
- the PCF updates the timing policy and sends information used to instruct RAN1 to time the UE to RAN1.
- the first timing indication information includes the identification information of the UE, the identification information of RAN1, and one or more timing accuracy errors received by the PCF from the TSCTSF.
- RAN1 provides timing services for UE.
- RAN1 After receiving the first timing indication information, RAN1 provides the timing service for the UE according to the first timing indication information.
- RAN1 determines the timing scheme according to the first timing indication information, where the timing scheme includes TA-based base station pre-compensation or UE autonomous compensation and RTT-based timing scheme.
- RAN1 selects an appropriate timing opportunity to provide timing services to the UE according to the first timing indication information.
- PCF determines that RAN1's timing capability does not meet the second condition, and RAN1's timing capability does not meet the first condition, that is, RAN1's timing capability does not meet the UE's timing requirements, and RAN1 cannot provide the UE with clock information that meets the requirements, as shown in Figure 5
- the method shown also includes:
- PCF sends the second information to TSCSTF, or TSCTSF receives the second information from PCF.
- the second information is used to indicate timing failure.
- the second information includes identification information of RAN#1 and/or RAN1.
- the second information also includes the reason why RAN#1 and/or RAN1 failed to serve the UE.
- the PCF when the PCF determines that the timing capability of RAN1 does not meet the timing requirements of the UE, the PCF sends the second information to the TSCTSF.
- This second information is used to indicate that the timing capability of RAN1 does not meet the timing requirements of the UE, that is, The TSCTSF selects other RANs to provide timing services for the UE; when the PCF determines that the UE has moved out of the coverage area requested by the UE in the first request information, the PCF sends second information to the TSCTSF.
- the second information is used to instruct the UE to move out of the requested coverage area.
- the TSCTSF After receiving the second information, the TSCTSF sends the second information to the NEF, and the NEF forwards the second information indicating the timing request failure to the AF.
- TSCTSF selects RAN2 to provide timing services for UE.
- the TSCTSF receives the second information, and selects other network devices to provide timing services for the UE according to the second information.
- the second information includes identification information of RAN#1 and/or RAN1.
- the PCF determines that RAN#1 cannot provide timing services for the UE, the PCF sends second information to the TSCTSF, and the second information includes the identification information of RAN#1.
- the TSCTSF determines that RAN#1 cannot provide timing services for the UE based on the second information, that is, the TSCTSF selects other network devices to provide timing services for the UE based on the first condition or the second condition determined by multiple timing accuracy errors determined in the first request information.
- the other network equipment is different from RAN#1 and can provide timing services for the UE.
- the PCF determines that neither RAN#1 nor RAN1 can provide timing services for the UE
- the PCF sends second information to the TSCTSF, and the second information includes the identification information of RAN#1 and RAN1.
- TSCTSF determines based on the second information that neither RAN#1 nor RAN1 can provide timing services for the UE, that is, TSCTSF determines the first condition or the second condition based on the multiple timing accuracy errors determined by the first request information and selects other network equipment to provide timing services for the UE.
- the other network equipment is different from RAN#1 and RAN1, and has information interaction or connection relationship with the UE.
- TSCTSF determines multiple timing accuracy errors based on the first request information, including Uu error budget(1), Uu error budget(2), Uu error budget(3), Uu error budget(4), TSCTSF will Uu error budget(1), Uu error budget(2) are sent to PCF.
- TSCTSF receives the second information from PCF
- TSCTSF determines the third timing error accuracy based on Uu error budget(3), Uu error budget(4)
- the second information includes the identification information of RAN1
- the TSCTSF selects a network device that satisfies the third condition or the fourth condition from RAN2 or other network devices.
- the second information includes the identification information of RAN1 and RAN2
- the TSCTSF selects a network device that satisfies the third condition or the fourth condition among other network devices other than RAN1 and RAN2.
- the TSCTSF selects a network device that meets the timing requirements of the UE, the method described in Figure 4 above is followed.
- the method further includes:
- SC506 AF receives the second information #1 from TSCTSF.
- the AF receives the second information sent by the TSCTSF through the NEF.
- the above Figure 5 shows that when the UE location has changed compared to before, the serving base station is switched from RAN#1 to RAN1, that is, RAN#1 cannot provide timing services for the UE, and PCF evaluates the timing capability of RAN1. Determine whether the timing capability of RAN1 meets the timing requirements of the UE.
- the TSCTSF continues to select appropriate network equipment among other network equipment to provide the UE with clock information that meets the requirements. The network equipment that provides timing for the UE is determined through PCF and TSCTSF to further ensure the system's clock synchronization requirements.
- the AMF determines whether the UE's requested timing service data is within the UE's timing subscription number. Within the scope of the data, if the timing service data requested by the UE is within the scope of the timing subscription data, the AMF further sends a request message to the TSCTSF to request timing for the UE. If the timing service data requested by the UE exceeds the scope of the UE's timing subscription data, the AMF further sends response information to the UE, and the response information is used to refuse timing for the UE.
- FIG. 6 shows a flow chart of another clock synchronization method provided by an embodiment of the present application.
- Figure 6 includes the following steps.
- the AMF receives the first request information from the UE, or the UE sends the first request information to the AMF, where the first request information is used to request timing services for the UE.
- the first request information includes identification information of the UE, multiple timing accuracy errors provided by the UE, and requested timing service data.
- the first request information includes one or more error budgets, and the one or more error budgets correspond to different service types of the UE.
- the first request information also includes data network name information DNN, single slice selection auxiliary information S-NSSAI, the data network name information DNN, single slice selection auxiliary information S-NSSAI and one or more error budgets. correspond.
- the first request information includes one or more Uu error budgets.
- the AMF sends the second request information to the UDM, or the UDM receives the second request information from the AMF.
- the second request information is used to request the timing subscription data of the UE.
- the AMF sends the second request information to the UDM according to the first request information.
- the AMF receives the second response information from the UDM, or the UDM sends the second response information to the AMF.
- the second response information includes the timing subscription data of the UE.
- the AMF makes a judgment based on the timing service data requested by the UE in the first request information and the timing subscription data of the UE in the second response information, that is, the method shown in Figure 6.
- This method also includes:
- the AMF determines whether the UE timing subscription data includes the timing service data in the first request information according to the second response information.
- the subscription data in the first response information includes all the timing service data in the first request information, and the AMF sends the third request information to the TSCTSF, that is, as shown in case 1 of the method shown in Figure 6, where No longer.
- the subscription data in the first response information can only satisfy one or more of the first request information, and the AMF filters the timing service data in the first request information of the UE.
- the AMF sends the data in the first request information that conforms to the contract to the UE, and sends the third request information to the TSCTSF, that is, as shown in case 1 of the method shown in Figure 6, which will not be described again here.
- the subscription data in the first response information does not include one or more timing service data in the first request information, and the AMF sends timing service rejection information to the UE.
- the TSCTSF can also perform the above steps S602 and S603. In order to avoid redundancy, they will not be described again here.
- the method also includes:
- AMF sends the third request information to TSCTSF, or TSCTSF receives the third request information from AMF.
- the AMF determines that the timing service data requested by the UE is within the scope of the timing subscription data of the UE, and the AMF sends third request information to the TSCTSF, and the third request information is used to request timing for the UE.
- the third request information includes the identification information of the terminal device and one or more timing accuracy errors (error budget) or air interface timing accuracy errors (Uu error budget) provided by the UE.
- error budget timing accuracy errors
- Uu error budget air interface timing accuracy errors
- the third request information also includes data network name information DNN, single slice selection auxiliary information S-NSSAI, the data network name information DNN, single slice selection auxiliary information S-NSSAI and one or more error budgets. correspond.
- TSCTSF updates Uu error budget and timeable RAN information based on the third request information.
- the multiple timing accuracy errors in the third request information include error budget(1), error budget(2), and error budget(3).
- TSCTSF determines the error budget corresponding to each error budget based on the above three error budgets. Multiple Uu error budget.
- TSCTSF gets Uu error budget(1') and Uu error budget(1") based on error budget(1)
- TSCTSF gets Uu error budget(2') and Uu error budget(2") based on error budget(2)
- TSCTSF Get error budget(3) to determine Uu error budget(3') and Uu error budget(3").
- the TSCTSF updates Uu error budget (for example, the updated Uu error budget is Uu error budget(1'), Uu error budget(1 "), error budget(2'), Uu error budget(2"), error budget(3'), Uu error budget(3")) and timeable RAN information.
- the TSCTSF determines the RAN (for example: RAN#1) that can provide timing services for the UE, and instructs the RAN to provide timing services for the UE.
- TSCTSF directly updates the Uu error budget and the timeable RAN information based on the multiple Uu error budgets in the third request information.
- TSCTSF updates the Uu error budget based on the updated The Uu error budget determines the RAN (for example: RAN#1) that can provide timing services for the UE, and instructs the RAN to provide timing services for the UE.
- TSCTSF updates the Uu error budget according to the third request information, and sends one or more of the updated Uu error budget to the PCF.
- the PCF determines whether the timing capability of the network device timing the terminal device meets the timing requirements of the terminal device based on receiving one or more Uu error budgets from the TSCTSF.
- RAN#1 is taken as an example to introduce in detail.
- step SA606 in Figure 6 the TSCTSF determines the timeable RAN information based on the third request information, which is similar to the above step S304 in Figure 3. In order to avoid redundancy, it will not be described again here.
- the method shown in Figure 6 also includes:
- RAN#1 receives the first timing indication information from TSCTSF.
- the first timing indication information is used to instruct RAN#1 to provide timing services for the UE.
- the TSCTSF can directly send the first timing indication information to RAN1, instructing RAN1 to provide timing services for the UE.
- the TSCTSF first sends the first timing indication information to the PCF, and the PCF then instructs RAN1 to send the timing information for the UE to RAN1.
- the first timing indication information includes the identification information of the UE and the Uu error budget that meets the timing requirements of the UE. and identification information of RAN#1.
- the Uu error budget that meets the UE timing requirements may be determined based on the smallest error budget, or it may be the Uu error budget required by the current service type of the UE. This application is not limited to this.
- SA608, RAN1 provides timing services for UE.
- RAN1 After receiving the first timing indication information, RAN1 provides the timing service for the UE according to the first timing indication information.
- RAN1 determines the timing scheme according to the first timing indication information, where the timing scheme includes TA-based base station pre-compensation or UE autonomous compensation and RTT-based timing scheme.
- RAN1 selects an appropriate timing opportunity to provide timing services to the UE according to the first timing indication information.
- this method also includes:
- the AMF sends the first response information to the UE, or the UE receives the first response information from the AMF.
- the AMF determines that the timing service data requested by the UE exceeds the scope of the UE's timing subscription data, or the AMF determines that the timing service data requested by the UE is not within the scope of the UE's timing subscription data, and the AMF rejects the UE's timing service request, that is, the AMF sends a message to the UE.
- First response information the first response information is used to reject the timing request of the UE.
- the above Figure 6 shows that the UE actively initiates the timing request.
- the AMF first determines whether the timing service requested by the UE is within the scope of the UE's subscription data based on the UE's timing request. When the timing service data requested by the UE meets the subscription data, the AMF sends a request message to the TSCTSF to request the timing service for the UE.
- TSCTSF further determines appropriate timing network equipment for the UE, ensuring system clock synchronization while saving resource overhead.
- Figure 7 shows that when the UE location changes compared to before, the UE's serving base station may be switched from RAN#1 to RAN1, or both RAN#1 and RAN1 can provide timing services for the UE, where RAN#
- the timing capability of RAN1 does not meet the timing requirements of the UE. It is necessary to further determine whether the timing capability of RAN1 meets the timing requirements of the UE.
- RAN1 can provide timing services for UE means that RAN1 can provide timing services for UE, but it cannot be determined whether RAN1 can provide clock information that meets the UE's timing requirements for UE.
- the UE sends the first request information to the AMF, and RAN1 first makes a judgment based on its own timing capability and the timing service requested by the UE.
- RAN1 when RAN1 determines that its own timing capability meets the timing requirements of the UE, RAN1 directly provides timing services to the UE.
- FIG. 7 shows a flow chart of another clock synchronization method provided by an embodiment of the present application. Figure 7 includes the following steps.
- RAN1 determines that its own timing capability does not meet the UE's timing requirements.
- RAN#1 and RAN1 perform context migration of the UE timing information, which includes the UE's identification information and multiple timing accuracy errors (error budget, Uu error budget), among which multiple timing accuracy errors Including the Uu error budget currently used by RAN#1, RAN1 determines whether the timing capability of RAN1 can meet the timing requirements of the UE based on the multiple timing accuracy errors.
- error budget error budget
- Uu error budget timing accuracy errors
- RAN#1 and RAN1 when RAN#1 and RAN1 perform context migration of UE timing information, it includes Uu error budget (1'), Uu error budget (1").
- Uu error budget (1') When RAN1 determines that its timing capability does not meet Uu error budget (1'), Uu error budget (1”), that is, RAN1 determines that its own timing capability does not meet the UE’s timing requirements.
- RAN1 determines that its own timing capability cannot meet the timing requirements of the UE, and RAN1 sends second information, where the second information is used to indicate that RAN1 has failed to provide timing for the UE.
- the second information includes the timing accuracy error of RAN1's timing capability evaluation (for example: Uu error budget (1'), Uu error budget (1")) and the indication that RAN1 cannot meet the Uu error budget requirements for timing.
- the method also includes:
- PCF receives the second information from RAN1.
- the PCF receives the second information from RAN1, may receive the second information from RAN1 through the AMF network element, or may receive the second information from RAN1 through other network elements.
- RAN1 first sends the second information to the AMF network element, and then the AMF network element forwards it to the PCF.
- the PCF further determines whether RAN1 meets the timing requirements requested by the UE. As shown in Figure 7, the method also includes:
- PCF determines the first condition based on the first timing accuracy error and determines whether the timing capability of RAN1 meets the first condition.
- the PCF determines the first timing accuracy error based on receiving one or more Uu error budgets sent from the TSCTSF.
- the PCF determines the first condition based on the first timing accuracy error, judges the timing capability of RAN1, and determines whether RAN1 can provide timing services for the UE.
- the PCF determines based on the second information that the timing capability of RAN1 does not meet Uu error budget(1'), Uu error budget(1”), and receives one or more Uu error budget sent from TSCTSF (such as: Uu error budget(1'), Uu error budget(1"), error budget(2'), error budget(2') in Uu error budget(2")), Uu error budget(2") further determine Timing capability assessment conditions.
- the PCF determines whether the timing capability of RAN1 meets the timing requirements of the UE, as shown in case 1 of the method shown in Figure 7:
- PCF determines the second condition based on the second timing accuracy error and determines that the timing capability of RAN1 does not meet the first condition.
- the PCF determines the second condition based on the second timing accuracy error, and first determines whether the timing capability of RAN1 satisfies the second condition.
- the PCF indicates RAN1 provides timing services for UE; when the timing capability of RAN1 does not meet the second condition, PCF will determine the first condition based on the first timing accuracy error to determine whether the timing capability of RAN1 meets the first condition, as shown in Figure 7
- the method also includes:
- PCF determines the first condition based on the first timing accuracy error and determines that the timing capability of RAN1 meets the first condition.
- the PCF determines the first condition based on the first timing accuracy error.
- the first condition is different from the second condition determined by RAN1.
- the timing capability of RAN1 satisfies the first condition, that is, the PCF determines that RAN1 can provide timing services for the UE.
- PCF sends the first timing indication information to RAN1, or RAN1 receives the first timing indication information from PCF.
- RAN1 provides timing services for UE.
- step SA704 is an optional step, and the PCF can also directly determine the first condition based on the first timing accuracy error, and further the PCF determines whether the timing capability of RAN1 meets the first condition.
- steps SA705, SA706, and SA707 please refer to steps SB505, SB506, and SB507 shown in Figure 5 for details. To avoid redundancy, they will not be described again here.
- the PCF further determines whether RAN1 meets the timing requirements requested by the UE.
- PCF determines the first condition based on the first timing accuracy error and determines that the timing capability of RAN1 does not meet the first condition.
- the PCF determines the first condition based on the first timing accuracy error.
- the first condition is different from the second condition.
- the timing capability of RAN1 does not meet the first condition. That is, the PCF determines that RAN1 cannot provide the UE with a timing service that meets the timing requirements. .
- PCF selects other RANs to provide timing services to UE.
- PCF determines that RAN1 does not meet the first condition
- PCF selects RAN2 among the network devices served by the UE for judgment.
- the timing capability of RAN2 enables the UE to provide timing services that meet the requirements
- RAN2 is different from RAN#1 and RAN1.
- RAN2 has a connection relationship or information exchange with the terminal equipment.
- PCF first obtains the timing capability of RAN2, and then determines whether the timing capability of RAN2 meets the timing requirements of the UE. When the timing capability of RAN2 meets the timing requirements of the UE, the PCF instructs RAN2 to provide timing services for the UE.
- SC704 PCF sends second information #1 to TSCTSF, or in other words, TSCTSF receives second information #1 from PCF.
- the PCF determines that the timing capability of RAN1 does not meet the timing requirements of the UE, the PCF sends the second information #1 to the TSCTSF, where the second information #1 is used to indicate the timing failure.
- the second information #1 includes identification information of RAN1.
- TSCTSF selects other RANs to provide timing services to the UE.
- the TSCTSF determines that the timing capability of RAN1 does not meet the timing requirements of the UE, and the TSCTSF selects other RANs to provide timing services for the UE.
- step SC704 For details of step SC704, please refer to the detailed description in SB704. To avoid redundancy, it will not be described again here.
- SC706 AF receives the second information #2 sent from TSCTSF.
- the TSCTSF inquires that there is no RAN that meets the UE time limit requirement. That is, TSCTSF sends the second message #2.
- AF receives the second information #2 sent from TSCTSF through NEF.
- the above Figure 7 shows that the serving base station of the UE is changed from RAN#1 to RAN1.
- RAN1 first determines whether the timing requirements of the UE are met through its own timing capability. When RAN1 determines that its timing capability meets the UE's timing requirements, RAN1 provides timing services for the UE. When RAN1 determines that its own timing capability does not meet the UE's timing requirements, PCF and TSCTSF make further judgments based on the UE's timing requirements or select other RANs to provide timing services to the UE to further ensure the system's clock synchronization requirements.
- the above-mentioned Figure 6 and Figure 7 mainly introduce the case where the UE issues a timing request according to the embodiment of the present application, where the timing request The request includes multiple timing accuracy errors.
- the network device determines that it meets the UE's timing requirements based on the UE's timing request information, the network device directly provides timing services to the UE.
- PCF and/or TSCTSF make further determinations to ensure that the UE can receive clock information that meets the requirements, further ensuring system clock synchronization.
- a clock synchronization method is described in detail above with reference to FIGS. 2 and 7 .
- a clock synchronization device provided by an embodiment of the present application will be described in detail below with reference to FIGS. 8 and 9 . It should be understood that the description of the device embodiments corresponds to the description of the method embodiments. Therefore, for content that is not described in detail, please refer to the above method embodiments. For the sake of brevity, some content will not be described again.
- FIG. 8 is a schematic block diagram of a clock synchronization configuration device provided by an embodiment of the present application.
- the device 800 includes a transceiver unit 810 and a processing unit 820.
- the transceiver unit 810 can be used to implement corresponding communication functions.
- the transceiver unit 810 may also be called a communication interface or communication unit.
- the processing unit 820 can be used to implement corresponding processing functions, such as modifying addresses, etc.
- the device 800 also includes a storage unit, which can be used to store instructions and/or data, and the processing unit 820 can read the instructions and/or data in the storage unit, so that the device implements each of the foregoing method embodiments.
- the actions of the equipment or network elements in the network can be used to store instructions and/or data, and the processing unit 820 can read the instructions and/or data in the storage unit, so that the device implements each of the foregoing method embodiments.
- the actions of the equipment or network elements in the network can be used to store instructions and/or data, and the processing unit 820 can read the instructions and/or data in the storage unit, so that the device implements each of the foregoing method embodiments.
- the actions of the equipment or network elements in the network can be used to store instructions and/or data, and the processing unit 820 can read the instructions and/or data in the storage unit, so that the device implements each of the foregoing method embodiments.
- the actions of the equipment or network elements in the network can be used to store instructions
- the device 800 may also include a processing unit 820, which may be used for data processing.
- a processing unit 820 which may be used for data processing.
- the device 800 also includes a storage unit, which can be used to store instructions and/or data, and the processing unit 820 can read the instructions and/or data in the storage unit, so that the device implements each of the foregoing method embodiments.
- the actions of different terminal devices for example, the actions of user equipment.
- the device 800 can be used to perform the actions performed by the user equipment or network equipment in each of the above method embodiments.
- the device 800 can be a user equipment or network equipment, or a component or transceiver unit of the user equipment or network equipment.
- 810 is used to perform operations related to the transmission and reception of user equipment or network equipment in the above method embodiment
- the processing unit 820 is used to perform operations related to processing of user equipment or network equipment in the above method embodiment.
- the device 800 here is embodied in the form of a functional unit.
- the term "unit” as used herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor, or a group of processors) used to execute one or more software or firmware programs. processor, etc.) and memory, merged logic circuitry, and/or other suitable components to support the described functionality.
- ASIC application specific integrated circuit
- the apparatus 800 can be specifically the user equipment or network equipment in the above embodiments, and can be used to execute various processes corresponding to the user equipment or network equipment in the above method embodiments.
- the apparatus 800 can be specifically the user equipment or network equipment in the above embodiments, and can be used to perform various processes and/or steps corresponding to the user equipment or network equipment in the above method embodiments. In order to avoid Repeat, I won’t go into details here.
- the apparatus 800 of each of the above solutions has the function of realizing the corresponding steps performed by the user equipment or the network equipment in the above method, or the apparatus 800 of the above various solutions has the function of realizing the corresponding steps of the user equipment or the network equipment of the above method.
- the functions described can be implemented by hardware, or can be implemented by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above functions; for example, the transceiver unit can be replaced by a transceiver (for example, the sending unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiving unit. (machine replacement), other units, such as processing units, etc., can be replaced by processors to respectively perform the sending and receiving operations and related processing operations in each method embodiment.
- transceiver unit 810 may also be a transceiver circuit (for example, it may include a receiving circuit and a transmitting circuit),
- the processing unit may be a processing circuit.
- the device in Figure 8 may be the network element or device in the aforementioned embodiment, or it may be a chip or a chip system, such as a system on chip (SoC).
- the transceiver unit may be an input-output circuit or a communication interface; the processing unit may be a processor, microprocessor, or integrated circuit integrated on the chip. No limitation is made here.
- the device 900 includes a processor 910, which is configured to execute computer programs or instructions stored in the memory 920, or read data/signaling stored in the memory 920, to perform the methods in each of the above method embodiments.
- processors 910 there are one or more processors 910 .
- the device 900 further includes a memory 920, which is used to store computer programs or instructions and/or data.
- the memory 920 may be integrated with the processor 910, or may be provided separately.
- the device 900 also includes a transceiver 930, which is used for receiving and/or transmitting signals.
- the processor 910 is used to control the transceiver 930 to receive and/or transmit signals.
- the device 900 is used to implement the operations performed by the network element in each of the above method embodiments.
- the processor 910 is used to execute computer programs or instructions stored in the memory 920 to implement relevant operations in each of the above method embodiments.
- processors mentioned in the embodiments of this application may be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), or application-specific integrated circuit (ASIC).
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
- non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory. Erase electrically programmable read-only memory (EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM). For example, RAM can be used as an external cache.
- RAM includes the following forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and direct Memory bus random access memory (direct rambus RAM, DR RAM).
- the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component
- the memory storage module
- memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
- Embodiments of the present application also provide a computer-readable storage medium on which computer instructions for implementing the methods executed by user equipment and/or network equipment in each of the above method embodiments are stored.
- the computer program when executed by a computer, the computer can implement the methods executed by user equipment and/or network equipment in each embodiment of the above method.
- Embodiments of the present application also provide a computer program product that includes instructions that, when executed by a computer, implement the methods executed by user equipment and/or network equipment in each of the above method embodiments.
- An embodiment of the present application also provides a communication system, including the foregoing user equipment and/or the foregoing network device.
- the disclosed devices and methods can be implemented in other ways.
- the device embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
- the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
- each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
- a and/or B can mean: A exists alone, A and B exist simultaneously, alone There are three situations B. Among them, A, B and C can all be singular or plural without limitation.
- a plurality in this application refers to two or more than two.
- first and second are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art can understand that “first” and “second” do not limit the number and sequence, and “first”, “second”, etc. are not necessarily different.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
- the computer may be a personal computer, a server, or a network device.
- the computer instructions may be stored in or transmitted from one computer-readable storage medium to another, e.g., the computer instructions may be transferred from a website, computer, server, or data center Transmission to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more available media integrated.
- the available media may be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as DVDs), or semiconductor media (such as solid state disks (SSD)).
- the aforementioned available media include but Not limited to: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Electric Clocks (AREA)
- Telephonic Communication Services (AREA)
Abstract
本申请实施例提供了一种时钟同步的方法和装置。该方法包括:第一网元确定第一网络设备的授时能力是否满足第一条件,其中,该第一网元为策略控制网元和/或时间敏感网络和时间同步网元,该第一条件与第一授时精度误差相关,该第一授时精度误差是根据应用功能为终端设备请求授时服务的信息确定的。本申请通过对第一网络设备的授时能力与终端设备的授时要求进行判断,确定第一网络设备是否能够为终端设备提供符合终端设备要求的授时服务,保证了终端设备能够接收到符合要求的时钟信息,同时保证了系统的时钟同步。
Description
本申请要求于2022年04月25日提交中国专利局、申请号为202210444295.6、申请名称为“时钟同步的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请要求于2022年05月06日提交中国专利局、申请号为202210488142.1、申请名称为“时钟同步的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及通信领域,更具体地,涉及一种时钟同步的方法和装置。
随着移动通信业务的迅速增长,无线网络升级演进速度逐步加快。在第四代移动通信系统(the 4th generation mobile communication system,4GS)时期,基站采用全球导航卫星系统(global navigation satellite system,GNSS)将空口时间误差控制在1.5us以内,实现了百纳秒量级的校准精度,满足了4GS时期的时间同步基本需求。
相比于4GS时期,第五代移动通信系统(the 5th generation mobile communication system,5GS)时期的网络结构发生了变化,除了对于基站间时间同步的精度要求也进一步提高,终端设备对于时间同步的精度要求也进一步地提高。现有的技术中,终端设备对基站的授时的依赖性,一旦基站上的GNSS信息失效,或者由于终端设备的移动性造成授时(或者服务)基站的改变,终端设备往往收不到之前授时请求中所要求的时钟信息。这对于一些高精度的需求很强烈的用户来说,是不能接收的。例如,智能电网中,需要依靠精准的时间进行差动保护和故障检测。因此,如何保证终端设备能够接收到符合要求的时钟信息,保证系统的时钟同步时亟需解决的问题。
发明内容
本申请实施例提供一种时钟同步的方法和装置,能够保证终端设备接收到符合要求的时钟信息,以保证系统的时钟同步。
第一方面,提供了一种时钟同步的方法,该方法包括:策略控制网元确定第一网络设备的授时能力是否满足第一条件,所述第一条件与第一授时精度误差相关,所述第一授时精度误差是根据第一请求信息确定的,所述第一请求信息用于为终端设备请求授时服务,所述第一请求信息来自应用功能或者所述终端设备;当所述第一网络设备的授时能力满足所述第一条件时,所述策略控制网元向所述第一网络设备发送第一授时指示信息,所述第一授时指示信息用于指示所述第一网络设备为所述终端设备提供授时服务。
根据本申请实施例提供的方法,策略控制网元确定第一网络设备的授时能力是否满
足第一条件,该第一条件与第一授时精度误差相关,该第一授时精度误差根据应用功能为终端设备请求的授时服务信息确定的。当第一网络设备的授时能力满足第一条件,策略控制网元指示该第一网络设备为终端设备提供授时服务;当第一网络设备能够为终端设备提供授时服务时,策略控制网元确定该第一网络设备的授时能力是否符合终端设备的授时要求,保证终端设备能够接收到符合要求的时钟信息,保证系统的时钟同步。
结合第一方面,在第一方面的某些实现方式中,在所述策略控制网元确定第一网络设备的授时能力是否满足第一条件之前,所述方法还包括:所述策略控制网元确定所述第一网络设备的授时能力不满足第二条件,所述第二条件与第二授时精度误差相关,所述第二授时精度误差是根据来自所述应用功能网元的所述第一请求信息确定的,且所述第二授时精度误差不大于所述第一授时精度误差。
基于上述方案,策略控制网元确定第一网络设备的授时能力满足第一条件之前,策略控制网元根据第二授时精度误差确定第二条件,策略控制网元先确定第一网络设备的授时能力是否满足第二条件,如不满足第二条件,则进一步地确定第一网络设备的授时能力是否满足第一条件,保证终端设备能够接收到符合要求的时钟信息。
结合第一方面,在第一方面的某些实现方式中,所述策略控制网元确定第二网络设备的授时能力不满足所述第二条件,且所述第二网络设备的授时能力不满足所述第一条件。
结合第一方面,在第一方面的某些实现方式中,所述策略控制网元向时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示所述第二网络设备为所述终端设备授时失败。
基于上述方案,策略控制网元确定第一网络设备的授时能力不满足第一条件和第二条件时,向时间敏感通信和时间同步网元发送第二信息,时间敏感通信和时间同步网元根据授时精度误差进一步地确定能够提供符合终端设备授时要求的网络设备,该网络设备为终端设备提供授时服务,从而保证终端设备能够收到符合要求的时钟信息。
结合第一方面,在第一方面的某些实现方式中,所述策略控制网元向移动管理网元发送订阅信息,所述订阅信息用于订阅所述终端设备的位置信息;所述策略控制网元接收来自所述移动管理网元发送第一信息,所述第一信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
基于上述方案,策略控制网元向移动管理功能网元发送订阅信息,该订阅信息用于订阅终端设备的位置信息,当终端设备的位置发生变化时,移动管理网元向策略控制网元发送第一信息,该第一信息用于指示第一网络设备能够为终端设备提供授时服务。
结合第一方面,在第一方面的某些实现方式中,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第一方面,在第一方面的某些实现方式中,所述第二信息还包括所述第一网络设备和/或所述第二网络设备为所述终端设备授时失败的原因。
结合第一方面,在第一方面的某些实现方式中,所述第一授时精度误差和所述第二授时精度误差属于授时精度误差,所述授时精度误差来自所述时间敏感通信和时间同步网元。
基于上述方案,第一授时精度误差和第二授时精度误差属于授时精度误差,该授时
精度误差由时间敏感通信和时间同步网元根据终端设备的授时请求信息确定的。
结合第一方面,在第一方面的某些实现方式中,所述策略控制网元根据所述终端设备的业务类型与所述第一授时精度误差确定所述第一条件。
结合第一方面,在第一方面的某些实现方式中,所述策略控制网元根据所述终端设备的业务类型与所述第二授时精度误差确定所述第二条件。
结合第一方面,在第一方面的某些实现方式中,当所述第一请求信息来自应用功能时,所述第一请求信息包括所述应用功能为所述终端设备请求授时服务的覆盖区域范围。
结合第一方面,在第一方面的某些实现方式中,所述策略控制网元接收来自所述第一网络设备和/或所述第二网络设备的授时能力数据,所述授时能力数据用于指示所述第一网络设备和/或所述第二网络设备的授时能力。
第二方面,提供了一种时钟同步的方法,该方法包括:时间敏感通信和时间同步网元确定第一网络设备的授时能力是否满足第三条件,所述第三条件与第三授时精度误差相关,所述第三授时精度误差是根据第一请求信息确定的,所述第一请求信息用于为终端设备请求授时服务,所述第一请求信息来自应用功能或者所述终端设备;当所述第一网络设备的授时能力满足所述第一条件时,所述时间敏感通信和时间同步网元向所述第一网络设备发送第一授时指示信息,所述第一授时指示信息用于指示所述第一网络设备为所述终端设备提供授时服务。
根据本申请实施例提供的方法,时间敏感通信和时间同步网元确定该第一网络设备的授时能力是否满足第三条件,该第三条件与第三授时精度误差相关,该第三授时精度误差根据应用功能为终端设备请求的授时服务信息确定的。当第一网络设备的授时能力满足第三条件,策略控制网元指示该第一网络设备为终端设备提供授时服务。在终端设备连接到第一网络设备时,时间敏感通信和时间同步网元确定该第一网络设备的授时能力是否符合终端设备的授时要求,保证终端设备能够接收到符合要求的时钟信息,保证系统的时钟同步。
结合第二方面,在第二方面的某些实现方式中,在所述时间敏感通信和时间同步网元确定第一网络设备的授时能力是否满足第三条件之前,所述方法还包括:所述时间敏感通信和时间同步网元确定所述第一网络设备的授时能力不满足所述第四条件,所述第四条件与第四授时精度误差相关,所述第四授时精度误差是根据来自所述应用功能的所述第一请求信息确定的,且所述第四授时精度误差不大于所述第三授时精度误差。
需要说明的是,该第三条件与上述第一条件,第四条件与上述第二条件,第三授时精度误差与上述第一授时精度误差,第四授时精度误差与上述第二授时精度误差,可能相同也可能不同,对此本申请不做限定。
结合第二方面,在第二方面的某些实现方式中,所述策略控制网元确定第二网络设备的授时能力不满足所述第四条件,且所述第二网络设备的授时能力不满足所述第三条件。
结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示授时失败。
结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元向策略控制网元发送第三信息,所述第三信息用于指示所述第一网络设备为所述终端设
备提供授时服务,其中,所述第三信息包括所述终端设备的标识信息、所述第一网络设备标识信息、所述第三授时精度误差和/或所述第四授时精度误差。
结合第二方面,在第二方面的某些实现方式中,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元向移动管理网元发送订阅信息,所述订阅信息用于订阅所述终端设备的位置信息;所述时间敏感通信和时间同步网接收来自所述移动管理网元发送第一信息,所述第一信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第二方面,在第二方面的某些实现方式中,在所述时间敏感通信和时间同步网元向所述移动管理网元发送订阅信息之前,所述方法还包括:所述时间敏感通信和时间同步网元接收来自策略控制网元的第四信息,所述第四信息包括所述终端设备的标识信息、所述移动管理网元的标识信息、所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第二方面,在第二方面的某些实现方式中,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元根据来自所述应用功能的所述第一请求信息确定授时精度误差,所述授时精度误差包括第一授时精度误差、第二授时精度误差、所述第三授时精度误差、所述第四授时精度误差;所述时间敏感通信和时间同步网元向所述策略控制网元发送所述第一授时精度误差和/或所述第二授时精度误差。
结合第二方面,在第二方面的某些实现方式中,当所述第一请求信息来自应用功能时,所述第一请求信息包括所述应用功能为所述终端设备请求授时服务的覆盖区域范围。
结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元确定所述终端设备移出所述终端设备请求的覆盖区域范围,所述时间敏感通信和时间同步网元发送停止授时指示信息,所述停止授时指示信息用于指示网络设备停止为所述终端设备提供授时服务,所述网络设备是为所述终端设备提供授时服务的网络设备。结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元接收来自所述第一网络设备和/或所述第二网络设备的授时能力数据,所述授时能力数据用于指示所述第一网络设备和/或所述第二网络设备的授时能力。
结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元接收来自所述统一数据管理网元的第二响应信息,所述第二响应信息包括所述终端设备的时钟签约数据;所述时间敏感通信和时间同步网元根据第二响应信息确定所述第一请求信息中的授时服务数据是否属于所述终端设备的时钟签约数据。
结合第二方面,在第二方面的某些实现方式中,当所述第一请求信息中的一个或多个授时服务数据属于所述终端设备的时钟签约数据时,所述方法还包括:所述时间敏感通信和时间同步网元向所述终端设备发送第四响应信息,所述第四响应信息用于指示所述时间敏感通信和时间同步网元对所述一个或多个授时服务数据提供授时服务。
结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元确定所述第一网络设备的授时能力是否满足所述第三条件,包括:所述时间敏感通信和
时间同步网元根据所述一个或多个授时服务数据确定所述第一网络设备的授时能力是否满足所述第三条件。
结合第二方面,在第二方面的某些实现方式中,当所述第一请求信息中的授时服务数据均不属于所述终端设备的时钟签约数据时,所述方法还包括:所述时间敏感通信和时间同步网元向所述终端设备发送拒绝授时服务信息。
结合第二方面,在第二方面的某些实现方式中,所述时间敏感通信和时间同步网元向所述统一数据管理网元发送第二请求信息,所述第二请求信息用于请求所述终端设备的时钟签约数据。
第三方面,提供了一种时钟同步的方法,该方法包括:终端设备发送第一请求信息,所述第一请求信息包括一个或多个授时精度误差,该授时精度误差可以包括空口授时精度误差;所述终端设备接收授时响应信息,所述授时响应信息用于指示第一网络设备为所述终端设备提供授时服务,所述授时响应信息来自所述第一网络设备,或者策略控制网元,或者时间敏感通信和时间同步网元。
根据本申请实施例提供的方法,终端设备主动请求授时服务,该请求信息中包括一个或多个授时精度误差,网络设备、策略控制网元、时间敏感通信和时间同步网元可以直接根据该一个或多个授时精度误差进行授时能力评估,节省了资源开销。
结合第三方面,在第三方面的某些实现方式中,所述第一请求信息还包括数据网络名称信息和/或单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述授时精度误差一一对应。
第四方面,提供了一种时钟同步的方法,该方法包括:终端设备向移动管理网元发送第一请求信息,所述第一请求信息用于为所述终端设备请求授时服务,所述第一请求信息包括多个授时精度误差;所述终端设备接收来自所述移动管理网元的第一响应信息,所述第一响应信息用于指示所述终端设备的授时情况,所述授时情况包括所述终端设备授时成功或者授时失败。
根据本申请实施例提供的方法,终端设备主动请求授时服务,向移动管理功能网元发送第一请求信息,其中该第一请求信息包括多个授时精度误差。
结合第四方面,在第四方面的某些实现方式中,所述第一请求信息还包括数据网络名称信息和/或单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述授时精度误差一一对应。
结合第四方面,在第四方面的某些实现方式中,所述第一响应信息包括所述终端设备授时成功的信息时,所述第一响应信息还包括所述第一网络设备的标识信息,所述第一网络设备的授时能力满足所述终端设备的授时要求。
基于上述方案,当第一网络设备的授时能力符合终端设备的授时要求时,该第一响应信息包括第一网络设备的标识信息。
结合第四方面,在第四方面的某些实现方式中,所述第一响应信息还包括在授时成功的情况下的授时精度误差和所述授时成功的情况下的授时精度误差对应的所述数据网络名称信息和所述单切片选择辅助信息。
第五方面,提供了一种时钟同步的方法,该方法包括:移动管理网元接收来自终端设备的第一请求信息,所述第一请求信息用于为所述终端设备请求授时服务;所述移动
管理网元根据所述第一请求信息向统一数据管理网元发送第二请求信息,所述第二请求信息用于请求所述终端设备的时钟签约数据;所述移动管理网元接收来自所述统一数据管理网元的第二响应信息,所述第二响应信息包括所述终端设备的时钟签约数据;所述第一请求信息在所述终端设备的时钟签约数据范围内,所述移动管理网元向时间敏感通信和时间同步网元发送第三请求信息,所述第三请求信息用于为所述终端设备请求授时服务;或者,所述第一请求信息超出所述终端设备的时钟签约数据范围,所述移动管理网元向所述终端设备发送拒绝信息。
根据本申请实施例提供的方法,移动管理网元接收到第一请求信息,并根据第一请求信息向统一数据管理网元查询终端设备的签约数据。移动管理网元根据第一请求信息中的请求数据和终端设备的签约数据进行判断,终端设备请求的授时服务数据是否在签约数据的范围内。若终端设备的请求的授时服务数据不在签约数据范围内,即移动管理网元向终端设备发送拒绝信息,该拒绝信息用于拒绝为终端设备所请求的授时服务数据提供授时服务。
结合第五方面,在第五方面的某些实现方式中,所述第三请求信息包括多个授时误差值,所述多个授时误差值来自所述第一请求信息。
结合第五方面,在第五方面的某些实现方式中,所述第三请求信息还包括数据网络名称信息和单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述多个授时精度误差一一对应。结合第五方面,在第五方面的某些实现方式中,所述第一请求信息在所述终端设备的时钟签约数据范围内,所述方法还包括:所述移动管理网元接收来自所述时间敏感通信和时间同步网元的第一授时指示信息,所述第一授时指示信息用于指示第一网络设备为所述终端设备提供授时服务,所述第一网络设备包括能够与所述终端设备提供授时服务的网络设备。
结合第五方面,在第五方面的某些实现方式中,所述第一授时指示信息包括所述终端设备的标识信息、所述第一网络设备的标识信息和所述多个授时误差值。
结合第五方面,在第四方面的某些实现方式中,所述移动管理网元接收来自第一网络设备的第二信息,所述第二信息用于指示授时失败。
结合第五方面,在第五方面的某些实现方式中,在所述移动管理网元向时间敏感通信和时间同步网元发送第三请求信息之前,所述方法还包括:所述移动管理网元根据第二响应信息确定所述第一请求信息中的授时服务数据是否属于所述终端设备的时钟签约数据。
结合第五方面,在第五方面的某些实现方式中,当所述第一请求信息中的一个或多个授时服务数据属于所述终端设备的时钟签约数据时,所述方法还包括:所述移动管理网元向所述终端设备发送第四响应信息,所述第四响应信息用于指示所述时间敏感通信和时间同步网元对所述一个或多个授时服务数据提供授时服务。
结合第五方面,在第五方面的某些实现方式中,当所述第一请求信息中的授时服务数据均不属于所述终端设备的时钟签约数据时,所述方法还包括:所述移动管理网元向所述终端设备发送拒绝授时服务信息。
第六方面,提供了一种时钟同步的方法,该方法包括:策略控制网元接收来自第一网络设备的第二信息,所述第二信息用于指示第一网络设备授时失败;所述第二网络设
备的授时能力满足第一条件,所述策略控制网元向所述第二网络设备发送第一授时指示信息,所述第一授时指示信息用于指示所述第二网络设备为所述终端设备提供授时服务;或者,所述第二网络设备的授时能力不满足所述第一条件,所述策略控制网元确定第三网络设备的授时能力是否满足第一条件,其中,所述第一条件与第一授时精度误差相关,所述第一授时精度误差基于第一请求信息确定的,所述第一请求信息用于指示为所述终端设备请求授时服务,所述第二网络设备和所述第三网络设备包括能够为所述终端设备提供授时服务的网络设备。
根据本申请实施例提供的方法,策略控制网元接收到第一网络设备发送的第二信息时,策略控制网元根据第二信息确定第一网络设备的授时能力不满足终端设备的授时要求,即策略控制网元确定第二网络设备的授时能力是否满足第一条件,当第二网络设备的授时能力满足第一条件时,策略控制网元指示第二网络设备为终端设备提供授时服务;当第二网络设备的授时能力不满足第一条件时,策略控制网元确定第三网络设备的授时能力是否满足第一条件,保证能够为终端设备提供符合要求的时钟信息。
结合第六方面,在第六方面的某些实现方式中,在所述第二网络设备的授时能力不满足所述第一条件的情况下,所述方法还包括:所述策略控制网元根据第二授时精度误差确定第二条件,所述第二授时精度误差基于所述第一请求信息确定的,且所述第二授时精度误差与所述第一授时精度误差不同。
结合第六方面,在第六方面的某些实现方式中,所述第一授时精度误差和所述第二授时精度误差属于授时精度误差,所述授时精度误差来自时间敏感通信和时间同步网元。
结合第六方面,在第六方面的某些实现方式中,所述第二网络设备满足所述第二条件,所述策略控制网元向所述第二网络设备发送所述第一授时指示信息。
结合第六方面,在第六方面的某些实现方式中,在所述第二网络设备的授时能力不满足所述第一条件,所述第三网络设备的授时能力满足所述第一条件的情况下,所述方法还包括:所述策略控制网元向所述第三网络设备发送第二授时指示信息,所述第二授时指示信息用于指示所述第三网络设备为所述终端设备提供授时服务。
结合第六方面,在第六方面的某些实现方式中,在所述第三网络设备的授时能力不满足所述第一条件的情况下,所述方法还包括:所述第三网络设备的授时能力满足所述第二条件,所述策略控制网元向所述第三网络设备发送所述第二授时指示信息。
结合第六方面,在第六方面的某些实现方式中,所述第二网络设备的授时能力不满足所述第二条件,所述策略控制网元向时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示授时失败。
结合第六方面,在第六方面的某些实现方式中,所述第三网络设备的授时能力不满足所述第一条件和所述第二条件,所述策略控制网元向所述时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示授时失败。
结合第六方面,在第六方面的某些实现方式中,所述第二信息包括所述第三网络设备的标识信息和/或所述第四网络设备的标识信息。
第七方面,提供了一种时钟同步的方法,该方法包括:时间敏感通信和时间同步网元接收来自策略控制网元的第二信息,所述第二信息用于指示所述终端设备授时失败;
所述第四网络设备的授时能力满足第三条件,所述时间敏感通信和时间同步网元向所述第四网络设备发送第四授时指示信息,所述第四授时指示信息用于指示所述第四网络设备为所述终端设备提供授时服务;或者,所述第四网络设备的授时能力不满足所述第三条件,所述时间敏感通信和时间同步网元确定第五网络设备的授时能力是否满足所述第三条件,其中,所述第三条件与第三授时精度误差相关,所述第三授时精度误差基于基于第一请求信息确定的,所述第一请求信息用于指示为所述终端设备请求授时服务,所述第二网络设备包括能够为所述终端设备提供授时信息的网络设备。
根据本申请实施例提供的方法,时间敏感通信和时间同步网元接收来自策略控制网元的第二信息,时间敏感通信和时间同步网元根据第二信息确定第四网络设备的授时能力是否满足终端设备的授时要求,当第四网络设备的授时能力满足第三条件时,时间敏感通信和时间同步网元指示第四网络设备为终端设备提供授时服务;当第四网络设备的授时能力不满足第三条件时,时间敏感通信和时间同步网元确定第五网络设备的授时能力是否满足第三条件,以此保证能够为终端设备提供符合要求的时钟信息。
结合第七方面,在第七方面的某些实现方式中,在所述第四网络设备的授时能力不满足所述第三条件的情况下,所述方法还包括:所述时间敏感通信和时间同步网元根据第四授时精度误差确定第四条件,所述第四授时精度误差是基于所述第一请求信息确定的,且所述第三授时精度误差与所述第四授时精度误差不同。
结合第七方面,在第七方面的某些实现方式中,所述第四网络设备满足所述第四条件,所述时间敏感通信和时间同步网元向所述第四网络设备发送所述第四授时指示信息。
结合第七方面,在第七方面的某些实现方式中,在所述第四网络设备的授时能力不满足所述第三条件,所述第五网络设备的授时能力不满足所述第三条件的情况下,所述方法还包括:所述第五网络设备的授时能力满足所述第四条件,所述时间敏感通信和时间同步网元向所述第五网络设备发送第五授时指示信息,所述第五授时指示信息用于指示所述第五网络设备为所述终端设备提供授时服务。
结合第七方面,在第七方面的某些实现方式中,在所述第四网络设备的授时能力不满足所述第三条件,所述第五网络设备的授时能力满足所述第三条件的情况下,所述方法还包括:所述时间敏感通信和时间同步网元向所述第五网络设备发送所述第五授时指示信息。
结合第七方面,在第七方面的某些实现方式中,所述时间敏感通信和时间同步网元向策略控制网元发送第三信息,所述第三信息用于指示所述第四网络设备或所述第五网络设备为所述终端设备提供授时服务,其中,所述第三信息包括所述终端设备的标识信息、所述第四网络设备标识信息或者所述第五网络设备的标识信息、所述第三授时精度误差和/或所述第四授时精度误差。
结合第七方面,在第七方面的某些实现方式中,所述第四网络设备的授时能力不满足所述第四条件,所述时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示授时失败。
结合第七方面,在第七方面的某些实现方式中,所述第五网络设备的授时能力不满足所述第三条件和所述第四条件,所述时间敏感通信和时间同步网元发送第二信息,所
述第二信息用于指示授时失败。
结合第七方面,在第七方面的某些实现方式中,所述时间敏感通信和时间同步网元接收来自策略控制网元的第四信息,所述第四信息包括所述终端设备的标识信息、所述移动管理网元的标识信息、所述第四网络设备的标识信息或者所述第五网络设备的标识信息。
结合第七方面,在第七方面的某些实现方式中,所述第二信息包括所述第四网络设备的标识信息和/或所述第五网络设备的标识信息。结合第七方面,在第七方面的某些实现方式中,在所述时间敏感通信和时间同步网元接收来自所述策略控制网元的所述第二信息之前,所述方法还包括:所述时间敏感通信和时间同步网元接收来自移动管理功能网元的第三请求信息,所述第三请求信息用于为所述终端设备请求授时服务。
结合第七方面,在第七方面的某些实现方式中,所述第三请求信息还包括数据网络名称信息和单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述多个授时精度误差一一对应。
结合第七方面,在第七方面的某些实现方式中,在所述时间敏感通信和时间同步网元接收来自移动管理功能网元的第三请求信息之前,所述方法还包括:所述时间敏感通信和时间同步网元向统一数据管理网元发送第二请求信息,所述第二请求信息用于请求所述终端设备的时钟签约数据;所述时间敏感通信和时间同步网元接收来自所述统一数据管理网元的第二响应信息,所述第二响应信息包括所述终端设备的时钟签约数据。
结合第七方面,在第七方面的某些实现方式中,所述方法还包括:所述时间敏感通信和时间同步网元根据所述第二响应信息确定所述第一请求信息中的授时服务数据是否属于所述终端设备的时钟签约数据。
结合第七方面,在第七方面的某些实现方式中,当所述第一请求信息中的一个或多个授时服务数据属于所述终端设备的时钟签约数据时,所述方法还包括:所述时间敏感通信和时间同步网元向所述终端设备发送第四响应信息,所述第四响应信息用于指示所述时间敏感通信和时间同步网元对所述一个或多个授时服务数据提供授时服务。
结合第七方面,在第七方面的某些实现方式中,所述时间敏感通信和时间同步网元确定所述第一网络设备的授时能力是否满足所述第三条件,包括:所述时间敏感通信和时间同步网元根据所述一个或多个授时服务数据确定所述第一网络设备的授时能力是否满足所述第三条件。
结合第七方面,在第七方面的某些实现方式中,当所述第一请求信息中的授时服务数据均不属于所述终端设备的时钟签约数据时,所述方法还包括:所述时间敏感通信和时间同步网元向所述终端设备发送拒绝授时服务信息。
第八方面,提供一种时钟同步的装置,处理单元确定第一网络设备的授时能力满足第一条件,所述第一条件与第一授时精度误差相关,所述第一授时精度误差是根据第一请求信息确定的,所述第一请求信息用于为终端设备请求授时服务,所述第一请求信息来自应用功能或者所述终端设备;收发单元向所述第一网络设备发送第一授时指示信息,所述第一授时指示信息用于指示所述第一网络设备为所述终端设备提供授时服务。
结合第八方面,在第八方面的某些实现方式中,所述处理单元确定所述第一网络设备的授时能力不满足所述第二条件,所述第二条件与第二授时精度误差相关,所述第二
授时精度误差是根据来自所述应用功能网元的所述第一请求信息确定的,且所述第二授时精度误差与所述第一授时精度误差不同。
结合第八方面,在第八方面的某些实现方式中,所述处理单元确定第二网络设备的授时能力不满足所述第二条件,且所述第二网络设备的授时能力不满足所述第一条件。
结合第八方面,在第八方面的某些实现方式中,所述收发单元向时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示授时失败。
结合第八方面,在第八方面的某些实现方式中,所述收发单元向移动管理网元发送订阅信息,所述订阅信息用于订阅所述终端设备的位置信息;所述收发单元接收来自所述移动管理网元发送第一信息,所述第一信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第八方面,在第八方面的某些实现方式中,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第八方面,在第八方面的某些实现方式中,所述第二信息还包括所述第一网络设备和/或所述第二网络设备为所述终端设备授时失败的原因。
结合第八方面,在第八方面的某些实现方式中,所述第一授时精度误差和所述第二授时精度误差属于授时精度误差,所述授时精度误差来自所述时间敏感通信和时间同步网元。
结合第八方面,在第八方面的某些实现方式中,所述处理单元根据所述终端设备的业务类型与所述第一授时精度误差确定所述第一条件。
结合第八方面,在第八方面的某些实现方式中,所述处理单元根据所述终端设备的业务类型与所述第二授时精度误差确定所述第二条件。
结合第八方面,在第八方面的某些实现方式中,当所述第一请求信息来自所述应用功能时,所述第一请求信息还包括所述应用功能为所述终端设备请求的覆盖区域范围。
结合第八方面,在第八方面的某些实现方式中,所述收发单元接收来自所述第一网络设备和/或所述第二网络设备的授时能力数据,所述授时能力数据用于指示所述第一网络设备和/或所述第二网络设备的授时能力。
第九方面,提供了一种时钟同步的装置,处理单元确定第一网络设备的授时能力满足第三条件,所述第三条件与第三授时精度误差相关,所述第三授时精度误差是根据第一请求信息确定的,所述第一请求信息来自应用功能或者所述终端设备;收发单元向所述第一网络设备发送第一授时指示信息,所述第一授时指示信息用于指示所述第一网络设备为所述终端设备提供授时服务。
结合第九方面,在第九方面的某些实现方式中,所述处理单元确定所述第一网络设备的授时能力不满足所述第四条件,所述第四条件与第四授时精度误差相关,所述第四授时精度误差是根据来自所述应用功能的所述第一请求信息确定的,且所述第四授时精度误差与所述第三授时精度误差不同。
结合第九方面,在第九方面的某些实现方式中,所述处理单元确定第二网络设备的授时能力不满足所述第四条件,且所述第二网络设备的授时能力不满足所述第三条件。
结合第九方面,在第九方面的某些实现方式中,所述收发单元发送第二信息,所述第二信息用于指示授时失败。
结合第九方面,在第九方面的某些实现方式中,所述收发单元向策略控制网元发送第三信息,所述第三信息用于指示所述第一网络设备为所述终端设备提供授时服务,其中,所述第三信息包括所述终端设备的标识信息、所述第一网络设备标识信息、所述第三授时精度误差和/或所述第四授时精度误差。
结合第九方面,在第九方面的某些实现方式中,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第九方面,在第九方面的某些实现方式中,所述收发单元向移动管理网元发送订阅信息,所述订阅信息用于订阅所述终端设备的位置信息;所述收发单元接收来自所述移动管理网元发送第一信息,所述第一信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第九方面,在第九方面的某些实现方式中,所述收发单元接收来自策略控制网元的第四信息,所述第四信息包括所述终端设备的标识信息、所述移动管理网元的标识信息、所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第九方面,在第九方面的某些实现方式中,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第九方面,在第九方面的某些实现方式中,所述处理单元根据来自应用功能的第一请求信息确定授时精度误差,所述授时精度误差包括第一授时精度误差、第二授时精度误差、所述第三授时精度误差、所述第四授时精度误差;所述收发单元向所述策略控制网元发送所述第一授时精度误差和/或所述第二授时精度误差。
结合第九方面,在第九方面的某些实现方式中,所述第一信息包括所述终端设备的标识信息和所述第一网络设备的标识信息。
结合第九方面,在第九方面的某些实现方式中,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
结合第九方面,在第九方面的某些实现方式中,所述处理单元根据所述第一请求信息确定授时精度误差,所述授时精度误差包括第一授时精度误差、第二授时精度误差、所述第三授时精度误差、所述第四授时精度误差;所述收发单元向所述策略控制网元发送所述第一授时精度误差和/或所述第二授时精度误差。
结合第九方面,在第九方面的某些实现方式中,当所述第一请求信息来自应用功能时,所述第一请求信息包括所述应用功能为所述终端设备请求授时服务的覆盖区域范围。
结合第九方面,在第九方面的某些实现方式中,所述处理单元确定所述终端设备移出所述终端设备请求的覆盖区域范围,所述收发单元发送停止授时指示信息,所述停止授时指示信息用于指示网络设备停止为所述终端设备提供授时服务,所述网络设备是为所述终端设备提供授时服务的网络设备。
结合第九方面,在第九方面的某些实现方式中,所述收发单元接收来自所述第一网络设备和/或所述第二网络设备的授时能力数据,所述授时能力数据用于指示所述第一网络设备和/或所述第二网络设备的授时能力。
结合第九方面,在第九方面的某些实现方式中,所述收发单元接收来自所述统一数据管理网元的第二响应信息,所述第二响应信息包括所述终端设备的时钟签约数据;所述处理单元根据第二响应信息确定所述第一请求信息中的授时服务数据是否属于所述终端设
备的时钟签约数据。
结合第九方面,在第九方面的某些实现方式中,当所述第一请求信息中的一个或多个授时服务数据属于所述终端设备的时钟签约数据时,所述收发单元向所述终端设备发送第四响应信息,所述第四响应信息用于指示所述处理单元对所述一个或多个授时服务数据提供授时服务。
结合第九方面,在第九方面的某些实现方式中,所述处理单元根据所述一个或多个授时服务数据确定所述第一网络设备的授时能力是否满足所述第三条件。
结合第九方面,在第九方面的某些实现方式中,当所述第一请求信息中的授时服务数据均不属于所述终端设备的时钟签约数据时,所述方法还包括:所述收发单元向所述终端设备发送拒绝授时服务信息。
结合第九方面,在第九方面的某些实现方式中,所述收发单元向所述统一数据管理网元发送第二请求信息,所述第二请求信息用于请求所述终端设备的时钟签约数据。
第十方面,提供了一种时钟同步的装置,收发单元向移动管理网元发送第一请求信息,所述第一请求信息用于为所述终端设备请求授时服务,所述第一请求信息包括多个授时精度误差;所述收发单元接收来自所述移动管理网元的第一响应信息,所述第一响应信息用于指示所述终端设备的授时情况,所述授时情况包括所述终端设备授时成功或者授时失败。
结合第十方面,在第十方面的某些实现方式中,所述第一请求信息还包括数据网络名称信息和/或单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述授时精度误差一一对应。
结合第十方面,在第十方面的某些实现方式中,所述第一响应信息包括所述终端设备授时成功的信息时,所述第一响应信息还包括所述第一网络设备的标识信息,所述第一网络设备的授时能力满足所述终端设备的授时要求。
结合第十方面,在第十方面的某些实现方式中,所述第一响应信息还包括在授时成功的情况下的授时精度误差和所述授时成功的情况下的授时精度误差对应的所述数据网络名称信息和所述单切片选择辅助信息。
第十一方面,提供了一种时钟同步的装置,收发单元接收来自终端设备的第一请求信息,所述第一请求信息用于为所述终端设备请求授时服务;所述收发单元根据所述第一请求信息向统一数据管理网元发送第二请求信息,所述第二请求信息用于请求所述终端设备的时钟签约数据;所述收发单元接收来自所述统一数据管理网元的第二响应信息,所述第二响应信息包括所述终端设备的时钟签约数据;所述第一请求信息在所述终端设备的时钟签约数据范围内,所述收发单元向时间敏感通信和时间同步网元发送第三请求信息,所述第三请求信息用于为所述终端设备请求授时服务;或者,所述第一请求信息超出所述终端设备的时钟签约数据范围,所述移动管理网元向所述终端设备发送拒绝信息。
结合第十一方面,在第十一方面的某些实现方式中,所述第三请求信息包括多个授时误差值,所述多个授时误差值来自所述第一请求信息。
结合第十一方面,在第十一方面的某些实现方式中,所述第三请求信息还包括数据网络名称信息和单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述多个授时精度误差一一对应。
结合第十一方面,在第十一方面的某些实现方式中,所述收发单元接收来自时间敏
感通信和时间同步网元的第一授时指示信息,所述第一授时指示信息用于指示第一网络设备为所述终端设备提供授时服务,所述第一网络设备是能够为所述终端设备提供授时服务的网络设备
结合第十一方面,在第十一方面的某些实现方式中,所述第一指示信息包括所述终端设备的标识信息、所述第一网络设备的标识信息和所述多个授时误差值。
结合第十一方面,在第十一方面的某些实现方式中,所述收发单元接收来自第一网络设备的第二信息,所述第二信息用于指示授时失败。
结合第十一方面,在第十一方面的某些实现方式中,在所述收发单元向时间敏感通信和时间同步网元发送第三请求信息之前,所述处理单元根据第二响应信息确定所述第一请求信息中的授时服务数据是否属于所述终端设备的时钟签约数据。
结合第十一方面,在第十一方面的某些实现方式中,当所述第一请求信息中的一个或多个授时服务数据属于所述终端设备的时钟签约数据时,所述收发单元向所述终端设备发送第四响应信息,所述第四响应信息用于指示所述处理单元对所述一个或多个授时服务数据提供授时服务。
结合第十一方面,在第十一方面的某些实现方式中,当所述第一请求信息中的授时服务数据均不属于所述终端设备的时钟签约数据时,所述收发单元向所述终端设备发送拒绝授时服务信息。
第十二方面,提供了一种时钟同步的装置,收发单元接收来自第一网络设备的第二信息,所述第二信息用于指示第一网络设备授时失败;所述第二网络设备的授时能力满足第一条件,所述收发单元向所述第二网络设备发送第一授时指示信息,所述第一授时指示信息用于指示所述第二网络设备为所述终端设备提供授时服务;或者,所述第二网络设备的授时能力不满足所述第一条件,处理单元确定第三网络设备的授时能力是否满足第一条件,其中,所述第一条件与第一授时精度误差相关,所述第一授时精度误差基于第一请求信息确定的,所述第一请求信息用于为所述终端设备请求授时服务,所述第二网络设备和所述第三网络设备包括能够为所述终端设备提供授时服务的网络设备。
结合第十二方面,在第十二方面的某些实现方式中,所述处理单元根据第二授时精度误差确定第二条件,所述第二授时精度误差基于所述第一请求信息确定的,且所述第二授时精度误差与所述第一授时精度误差不同。
结合第十二方面,在第十二方面的某些实现方式中,所述第一授时精度误差和所述第二授时精度误差属于授时精度误差,所述授时精度误差来自时间敏感通信和时间同步网元。
结合第十二方面,在第十二方面的某些实现方式中,所述第二网络设备满足所述第二条件,所述策略控制网元向所述第二网络设备发送所述第一授时指示信息。
结合第十二方面,在第十二方面的某些实现方式中,所述收发单元向所述第三网络设备发送第二授时指示信息,所述第二授时指示信息用于指示所述第三网络设备为所述终端设备提供授时服务。
结合第十二方面,在第十二方面的某些实现方式中,所述第三网络设备的授时能力满足所述第二条件,所述收发单元向所述第三网络设备发送所述第二授时指示信息。
结合第十二方面,在第十二方面的某些实现方式中,所述第二网络设备的授时能力
不满足所述第二条件,所述收发单元向时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示授时失败。
结合第十二方面,在第十二方面的某些实现方式中,所述第三网络设备的授时能力不满足所述第一条件和所述第二条件,所述收发单元向所述时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示授时失败。
结合第十二方面,在第十二方面的某些实现方式中,所述第二信息包括所述第三网络设备的标识信息和/或所述第四网络设备的标识信息。
第十三方面,提供了一种时钟同步的装置,收发单元接收来自策略控制网元的第二信息,所述第二信息用于指示所述终端设备授时失败;所述第四网络设备的授时能力满足第三条件,所述收发单元向所述第四网络设备发送第四授时指示信息,所述第四授时指示信息用于指示所述第四网络设备为所述终端设备提供授时服务;或者,所述第四网络设备的授时能力不满足所述第三条件,所述处理单元确定第五网络设备的授时能力是否满足所述第三条件,其中,所述第三条件与第三授时精度误差相关,所述第三授时精度误差基于第一请求信息确定的,所述第一请求信息用于为所述终端设备请求授时服务,所述第二网络设备包括能够为所述终端设备提供授时信息的网络设备。
结合第十三方面,在第十三方面的某些实现方式中,所述处理单元根据第四授时精度误差确定第四条件,所述第四授时精度误差是基于所述第一请求信息确定的,且所述第三授时精度误差与所述第四授时精度误差不同。
结合第十三方面,在第十三方面的某些实现方式中,所述第四网络设备满足所述第四条件,所述收发单元向所述第四网络设备发送所述第四授时指示信息。
结合第十三方面,在第十三方面的某些实现方式中,所述第五网络设备的授时能力满足所述第四条件,所述收发单元向所述第五网络设备发送第五授时指示信息,所述第五授时指示信息用于指示所述第五网络设备为所述终端设备提供授时服务。
结合第十三方面,在第十三方面的某些实现方式中,所述收发单元向所述第五网络设备发送所述第五授时指示信息。
结合第十三方面,在第十三方面的某些实现方式中,所述收发单元向策略控制网元发送第三信息,所述第三信息用于指示所述第四网络设备或所述第五网络设备为所述终端设备提供授时服务,其中,所述第三信息包括所述终端设备的标识信息、所述第四网络设备标识信息或者所述第五网络设备的标识信息、所述第三授时精度误差和/或所述第四授时精度误差。
结合第十三方面,在第十三方面的某些实现方式中,所述第四网络设备的授时能力不满足所述第四条件,所述收发单元发送第二信息,所述第二信息用于指示授时失败。
结合第十三方面,在第十三方面的某些实现方式中,所述第五网络设备的授时能力不满足所述第三条件和所述第四条件,所述收发单元发送第二信息,所述第二信息用于指示授时失败。
结合第十三方面,在第十三方面的某些实现方式中,所述收发单元接收来自策略控制网元的第四信息,所述第四信息包括所述终端设备的标识信息、所述移动管理网元的标识信息、所述第四网络设备的标识信息或者所述第五网络设备的标识信息。
结合第十三方面,在第十三方面的某些实现方式中,所述第二信息包括所述第四网
络设备的标识信息和/或所述第五网络设备的标识信息。
结合第十三方面,在第十三方面的某些实现方式中,在所述收发单元接收来自所述策略控制网元的所述第二信息之前,所述收发单元接收来自移动管理功能网元的第三请求信息,所述第三请求信息用于为所述终端设备请求授时服务。
结合第十三方面,在第十三方面的某些实现方式中,所述第三请求信息还包括数据网络名称信息和单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述多个授时精度误差一一对应。
结合第十三方面,在第十三方面的某些实现方式中,在所述收发单元接收来自移动管理功能网元的第三请求信息之前,所述收发单元向统一数据管理网元发送第二请求信息,所述第二请求信息用于请求所述终端设备的时钟签约数据;所述收发单元接收来自所述统一数据管理网元的第二响应信息,所述第二响应信息包括所述终端设备的时钟签约数据。
结合第十三方面,在第十三方面的某些实现方式中,所述处理单元根据所述第二响应信息确定所述第一请求信息中的授时服务数据是否属于所述终端设备的时钟签约数据。
结合第十三方面,在第十三方面的某些实现方式中,当所述第一请求信息中的一个或多个授时服务数据属于所述终端设备的时钟签约数据时,所述收发单元向所述终端设备发送第四响应信息,所述第四响应信息用于指示所述处理单元对所述一个或多个授时服务数据提供授时服务。
结合第十三方面,在第十三方面的某些实现方式中,所述处理单元根据所述一个或多个授时服务数据确定所述第一网络设备的授时能力是否满足所述第三条件。
结合第十三方面,在第十三方面的某些实现方式中,当所述第一请求信息中的授时服务数据均不属于所述终端设备的时钟签约数据时,所述收发单元向所述终端设备发送拒绝授时服务信息。
第十四方面,提供了一种时钟同步的装置,收发单元发送第一请求信息,所述第一请求信息包括一个或多个授时精度误差;所述处理单元接收授时响应信息,所述授时响应信息用于指示第一网络设备为所述终端设备提供授时服务,所述授时响应信息来自所述第一网络设备,或者策略控制网元,或者时间敏感通信和时间同步网元。
结合第十四方面,在第十四方面的某些实现方式中,所述第一请求信息还包括数据网络名称信息和/或单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述授时精度误差一一对应。
第十五方面,提供一种通信的装置,该装置用于执行上述第一方面至第七方面任一种可能实现方式中的方法。具体地,该装置可以包括用于执行第一方面至第七方面任一种可能实现方式中的方法的单元和/或模块,如处理单元和/或通信单元。
在一种实现方式中,该装置为网元。当该装置为网元时,通信单元可以是收发器,或,输入/输出接口;处理单元可以是至少一个处理器。可选地,收发器可以为收发电路。可选地,输入/输出接口可以为输入/输出电路。
在另一种实现方式中,该装置为用于网元的芯片、芯片系统或电路。当该装置为用于网元的芯片、芯片系统或电路时,通信单元可以是该芯片、芯片系统或电路上的输入/输出
接口、接口电路、输出电路、输入电路、管脚或相关电路等;处理单元可以是至少一个处理器、处理电路或逻辑电路等。
第十六方面,提供一种通信的装置,该装置包括:至少一个处理器,用于执行存储器存储的计算机程序或指令,以执行上述第一方面至第七方面任一种可能实现方式中的方法。可选地,该装置还包括存储器,用于存储的计算机程序或指令。可选地,该装置还包括通信接口,处理器通过通信接口读取存储器存储的计算机程序或指令。
在一种实现方式中,该装置为网元。
在另一种实现方式中,该装置为用于网元的芯片、芯片系统或电路。
第十七方面,本申请提供一种处理器,用于执行上述各方面提供的方法。
对于处理器所涉及的发送和获取/接收等操作,如果没有特殊说明,或者,如果未与其在相关描述中的实际作用或者内在逻辑相抵触,则可以理解为处理器输出和接收、输入等操作,也可以理解为由射频电路和天线所进行的发送和接收操作,本申请对此不做限定。
第十八方面,提供一种计算机可读存储介质,该计算机可读介质存储用于设备执行的程序代码,该程序代码包括用于执行上述第一方面至第七方面任一种可能实现方式中的方法。
第十九方面,提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面至第七方面任一种可能实现方式中的方法。
第二十方面,提供一种通信系统,包括前述的用策略控制网元、时间敏感通信和时间同步网元、应用功能网元中的一个或多个。
图1是本申请适用的网络架构的示意图。
图2是本申请实施例提供的一种时钟同步的方法示意性流程图。
图3是本申请实施例提供的另一种时钟同步的方法示意性流程图。
图4是本申请实施例提供的另一种时钟同步的方法示意性流程图。
图5是本申请实施例提供的另一种时钟同步的方法示意性流程图。
图6是本申请实施例提供的另一种时钟同步的方法示意性流程图。
图7是本申请实施例提供的另一种时钟同步的方法示意性流程图。
图8是本申请实施例提出的一种时钟同步的装置800示意图。
图9是本申请实施例提出的一种时钟同步的装置900示意图。
下面将结合附图,对本申请实施例中的技术方案进行描述。
本申请实施例的技术方案可以应用于各种通信系统,例如:第五代(5th generation,5G)或新无线(new radio,NR)系统、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统等。本申请提供的技术方案还可以应用于未来的通信系统,如第六代移动通信系统。本申请提供的技术方案还可以应用于设备到设备(device to device,D2D)通信,车到万物(vehicle-to-everything,V2X)通信,机器到机器(machine to machine,M2M)通
信,机器类型通信(machine type communication,MTC),以及物联网(internet of things,IoT)通信系统或者其他通信系统。
首先结合图1简单介绍适用于本申请实施例的网络架构,如下。
参见图1,图1示出了适用于本申请实施例的通信系统的架构示意图。如图1所示,该通信系统中包括一个或多个网络设备(如图1中的110和120),该网络设备110和120与一个或多个终端设备进行通信,如图1中的终端设备130。应理解,图1中仅以一个终端设备130和两个网络设备,110和120。作为示例,该通信系统不限于包括更多的网络设备和终端设备,每个终端设备也不限于和一个或多个网络设备进行通信。
此外,本申请中的终端设备不限于在切换的场景中,核心网网元对网络设备进行授权评估,终端设备同时与多个网络设备进行通信时,核心网网元确定合适的网络设备进行授时评估,并指示选择的网络设备为终端设备提供授时服务,保障系统的时钟同步。
为便于理解本申请实施例,对本申请实施例中涉及的网元(或设备)的主要功能和几个基本概念做简单说明。应理解,下文中所介绍的基本概念是以目前协议中规定的基本概念为例进行简单说明,但并不限定本申请实施例只能够应用于目前已有的系统中。因此,以目前已有的系统为例描述时出现的名称,都是功能性描述,具体名称并不限定,仅表示功能,可以对应的扩展到其它系统,比如6G或未来通信系统中。
1、用户设备(user equipment,UE):可以称终端设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。
终端设备可以是一种向用户提供语音/数据的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。
2、无线接入网(radio access network,RAN):可以为特定区域的授权用户提供接入通信网络的功能,具体可以包括第三代合作伙伴计划(3rd generation partnership project,3GPP)网络中无线网络设备也可以包括非3GPP(non-3GPP)网络中的接入点。下文为方便描述采用RAN设备表示。
RAN设备可以为采用不同的无线接入技术。目前的无线接入技术有两种类型:3GPP接入技术(例如,第三代(3rd generation,3G)、第四代(4th generation,4G)或5G系统中采用的无线接入技术)和非3GPP(non-3GPP)接入技术。3GPP接入技术是指符合3GPP标准规范的接入技术,例如,5G系统中的接入网设备称为下一代基站节点(next
generation Node Base station,gNB)或者RAN设备。非3GPP接入技术可以包括以无线保真(wireless fidelity,WiFi)中的接入点(access point,AP)为代表的空口技术、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)、码分多址(code division multiple access,CDMA)等。RAN设备可以允许终端设备和3GPP核心网之间采用非3GPP技术互连互通。
RAN设备能够负责空口侧的无线资源管理、服务质量(quality of service,QoS)管理、数据压缩和加密等功能。RAN设备为终端设备提供接入服务,进而完成控制信号和用户数据在终端设备和核心网之间的转发。
RAN设备例如可以包括但不限于:宏基站、微基站(也称为小站)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),WiFi系统中的AP、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G(如,NR)系统中的gNB或传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如分布式单元(distributed unit,DU),或者下一代通信6G系统中的基站等。本申请实施例对RAN设备所采用的具体技术和具体设备形态不做限定。
3、接入和移动管理网元(access and mobility management function,AMF):主要用于接入控制、移动性管理、附着与去附着等功能。
4、策略控制功能(policy control function,PCF):主要用于指导网络行为的统一策略框架,为控制面网元(例如AMF等)提供策略规则信息等。
5、应用功能(application function,AF):主要用于向3GPP网络提供业务,如与PCF之间交互以进行策略控制等。AF可以是第三方功能实体,也可以是运营商部署的应用服务,如IP多媒体子系统(IP multimedia subsystem,IMS)语音呼叫业务。在本申请中,多接入边缘计算(multi-access edge computing,MEC)平台或应用服务器可以作为AF与5G核心网进行通信。
6、统一数据管理(unified data management,UDM):主要用于UE的签约数据管理,包括UE标识的存储和管理,UE的接入授权等。
7、网络开放功能(network exposure function,NEF):主要用于安全地向外部开放由3GPP网络功能提供的业务和能力等。
8、应用功能(application function):主要用于向3GPP网络提供业务,如与PCF之间交互以进行策略控制等。
9、时间敏感通信和时间同步功能网元(time sensitive communication and time synchronization function,TSCTSF):主要用于确定UE的授时精度误差。
应理解,上述中所述的AMF、PCF、UDM、AF等可以理解为用于实现不同功能的网元,例如可以按需组合成网络切片,这些网元可以各自独立的设备,也可以集成于同一设备中实现不同的功能,或者可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能,本申请对于上述网元的具
体形态不作限定。
还应理解,上述网元或者功能可划分出一个或多个服务,进一步,还可能会出现独立于网络功能存在的服务。在本申请中,上述功能的实例、或上述功能中包括的服务的实例、或独立于网络功能存在的服务实例均可称为服务实例。此外,在实际部署中,不同功能的网元可以合设。例如,接入与移动性管理网元可以与会话管理网元合设;会话管理网元可以与用户面网元合设。当两个网元合设的时候,本申请实施例提供的这两个网元之间的交互就成为该合设网元的内部操作或者可以省略。
还应理解,上述命名仅为便于区分不同的功能而定义,不应对本申请构成任何限定。本申请并不排除在6G网络以及未来其它的网络中采用其他命名的可能。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称等。
需要说明的是:本申请实施例中的网络设备可以广义的覆盖如下中的各种名称,或与如下名称进行替换,比如:节点B(NodeB)、演进型基站(evolved NodeB,eNB)、下一代基站(next generation NodeB,gNB)、中继站、接入点(access point,AP)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、主站、辅站、多制式无线(motor slide retainer,MSR)节点、家庭基站、网络控制器、接入节点、无线节点、接入点、传输节点、收发节点、基带单元(BBU)、射频拉远单元(remote radio unit,RRU)、有源天线单元(active antenna unit,AAU)、射频头(remote radio head,RRH)、中心单元(central unit,CU)、分布式单元(distributed unit,DU)、定位节点、基站等。其中,基站可以是宏基站、微基站、中继节点、施主节点或类似物,或其组合。基站还可以指用于设置于前述设备或装置内的通信模块、调制解调器或芯片。基站还可以是移动交换中心以及D2D、V2X、M2M通信中承担基站功能的设备、6G网络中的网络侧设备、未来的通信系统中承担基站功能的设备等。基站可以支持相同或不同接入技术的网络。
根据上述基础概念的介绍,5G网络的授时能力是一种可以开放给外部的网络功能。在R17定义的授时开放能力可以由应用功能网元AF来激活和去激活。5G网络的授时能力,是一种可以开放给外部的网络的能力,并且可以作为整个系统的主时钟,可以对其他设备进行授时。
作为一种示例,以5G系统的时钟信息给终端设备授时为例,首先需要将有AF的授时请求发送给NEF。其中,AF的授时请求包括终端设备的标识信息。NEF进一步地将授时请求信息转发给TSCTSF。在AF的请求中,还可能包括授时误差范围(error budget)。其中,error budget用于指示终端设备对授时误差的上限要求。如果TSCTSF收到AF的授时请求中带有error budget,则TSCTSF将error budget作为判断网络设备是否能够为终端设备提供授时需求的总的误差要求。当AF的授时请求中没有携带error budget,TSCTSF就会使用预先配置的默认值作为error budget。TSCTSF收到error budget之后,将会再去用其减去内部误差(该误差是预先配置的或者其他传输获得的),即TSCTSF得到空口授时精度误差(Uu error budget),其中,一个error budget可以对应一个或多个Uu error budget,或者多个error budget可以对应多个Uu error budget。TSCTSF将该获得到Uu error budget发送给网络设备,再由网络设备决定采用哪一种授时方法对终端设备进行授时,以符合终端设备的授时误差的要求。
其中,目前标准R17中网络设备的授时方法包括两种,分别是TA-based的基站预补
偿或者终端自主补偿和RTT-based授时方案。这两种方法的授时误差不同,不同的网络设备的授时误差也不尽相同,对此本申请不做限定。
以下本申请提供的示例中,假设第一网络设备(可以称为第一基站)为RAN1,第二网络设备(可以称为第二基站)为RAN2,终端设备连接的源网络设备(可以称为源基站)为RAN#1,终端设备连接的其他网络设备称为RAN3,其中,终端设备连接的网络设备可以有一个,也可以有多个,以下示例对此不作限定。
下面将结合图2至图7中的实施例详细说明本申请提供的一种时钟同步方法,图2示出了本申请实施例示出的一种时钟同步的方法的示意图。图2包括如下步骤。
S201,AMF向第一网元发送第一信息,或者说第一网元接收到来自AMF的第一信息,该第一信息用于指示RAN1能够为终端设备UE提供授时服务。
应理解,该第一网元为策略控制网元PCF或/和时间敏感通信和时间同步网元TSCTSF。
其中,RAN1能够为终端设备UE提供授时服务,其他基站也能够为UE提供授时服务。例如,在UE移动的场景中,UE同时与RAN#1和RAN1连接,或者UE从RAN#1切换至RAN1,UE断开与RAN#1的连接,与RAN1连接,对于UE的场景,本申请不做限定。
本申请适用的场景不限于由于UE的位置发生移动服务基站变化,RAN#1无法为UE提供授时服务的场景中。当RAN#1,RAN1都能够为UE提供授时服务,既RAN#1和RAN1都能为UE提供服务。应理解,RAN#1和RAN1能够为UE提供授时服务,但是不能确定RAN#1和RAN1是否能够为UE提供符合UE授时要求的时钟信息。当RAN#1的授时能力不能满足UE的授时要求时,第一网元确定RAN1授时能力是否满足UE的授时要求。当第一网元确定RAN1的授时能力满足UE的授时要求时,即第一网元指示RAN1为UE提供授时服务。故,本申请提供的时钟同步的方法不限于应用在UE切换网络设备的场景中,在UE不进行切换网络设备也同样适用于本申请提供的方法。
S202,第一网元根据第一信息确定RAN1的授时能力是否满足第一条件。
具体地,第一网元接收到第一信息之后,确定RAN1的授时能力,再确定RAN1的授时能力是否满足第一条件。其中第一条件是第一网元根据第一授时精度误差确定的,该第一授时精度误差是第一网元根据第一请求信息确定的,该第一请求信息用于为UE请求授时服务。该第一请求信息来自AF或者UE。
可选地,当第一网元为PCF时,该第一授时精度误差Uu error budget来自TSCTSF。其中,TSCTSF根据UE的授时请求信息确定一个或多个Uu error budget,并将确定的一个或多个Uu error budget中的全部或者部分Uu error budget发送给PCF。
应理解,PCF接收到来自TSCTSF的Uu error budget,PCF可能选择最小的Uu error budget作为第一条件。
可选地,当第一网元为TSCTSF时,TSCTSF根据AF为UE请求授时服务的信息确定一个或多个Uu error budget,将其中一个Uu error budget作为第一授时精度误差。
可选地,在第一网元确定RAN1的授时能力是否满足第一条件之前,第一网元确定RAN1的授时能力是否满足第二条件。当第一网元确定RAN1的授时能力满足第二条件时,即第一网元指示RAN1为UE提供授时服务。当第一网元确定RAN1的授时能力不满足第二条件时,即第一网元根据第一授时精度误差确定第一条件,第一网元确定RAN1的
授时能力是否满足第一条件。
应理解,当第一网元确定RAN1的授时能力满足第一条件时,第一网元指示RAN1为UE提供授时服务,即,如图2所示的方法中,该方法还包括:
S203,第一网元向RAN1发送第一授时指示信息,该第一授时指示信息用于指示RAN1为UE提供授时服务。
可选地,第一网元直接将第一授时指示信息发送给RAN1,指示RAN1为UE提供授时服务。
可选地,第一网元向AMF发送第一授时指示信息,AMF再将用于指示RAN1为UE授时的信息发送给RAN1。
S204,RAN1为UE授时。
具体地,RAN1接收到第一授时指示信息后,根据第一授时指示信息为UE提供授时服务。
可选地,RAN1根据第一授时指示信息确定授时方案,其中授时方案包括TA-based基站预补偿或者UE自主补偿和RTT-based授时方案。
可选地,RAN1根据第一授时指示信息选择合适的授时时机为UE提供授时服务。
还应理解,当第一网元确定RAN1的授时能力不满足第一条件时,第一网元确定RAN2的授时能力是否满足第一条件,即,如图2所示的方法中,该方法还包括:
S205,第一网元确定RAN2的授时能力是否满足第一条件。
其中,RAN2不同于RAN1,且RAN2是能够为UE提供授时服务的网络设备。
可选地,当第一网元确定RAN1的授时能力不满足第一条件时,第一网元确定RAN2的授时能力是否满足第一条件。当RAN2的授时能力满足第一条件时,即第一网元向RAN2发送第二授时指示信息,该第二授时指示信息用于指示RAN2向UE提供授时服务。
可选地,当第一网元确定RAN2的授时能力不满足第一条件,即RAN2的授时能力不符合UE的授时要求,第一网元选择UE当前连接的其他网络设备对UE进行授时。
可选地,当第一网元确定没有其他网络设备的授时能力满足UE的授时要求,则第一网元发送第二信息,或者说AF接收来自第一网元的第二信息。该第二信息用于指示授时失败。
图2中所示的技术方案中,通过对网络设备的授时能力与UE的授时要求进行评估,确定符合UE授时要求的网络设备为UE提供授时,保证了终端设备能够接收到符合要求的时钟信息,进一步地保证系统的时钟同步。
可选地,在一些实施例中,在AMF向第一网元发送第一信息之前,图2所示的方法还可能包括:
RAN1或者其他基站在数据建立请求过程中(例如:NG Setup),RAN1将RAN1的标识信息(例如:ID标识)以及RAN1根据不同授时方式获得的授时精度误差发送给AMF。其中,RAN1根据不同授时方式获得授时精度误差包括RAN1进行TA-based和/或RTT-based授时方式获得授时精度误差,具体地授时方案可以参照现有技术。
下面,将进一步地结合图3至图4详细说明在为UE授时的过程中,TSCTSF接收来自AF的授时请求信息时,TSCTSF根据UE的授时请求确定网络设备的授时能力是否满足UE的授时要求,并指示符合UE授时要求的网络设备为UE提供授时服务。
图3示出了本申请实施例提供的另一种时钟同步的方法的流程图,如图3所述,包括如下步骤。
S301,TSCSTF接收来自AF的第一请求信息(也可以称为:请求授时服务信息),第一请求信息用于为UE请求授时服务。
具体地,AF将为UE请求的授时服务的第一请求信息发送给NEF,NEF将该信息转发给TSCTSF。
其中,该第一请求信息包括UE的标识信息。
可选地,当该第一请求信息来自AF时,该第一请求信息还包括AF为UE请求授时服务的覆盖区域范围。
作为一种示例,AF发送的第一请求信息中的覆盖区域范围可以是以per RAN node或者per cell为粒度的,也可能是AF请求一个地理范围上的区域信息。举例来说,一个企业园区或者在智能电网场景中的配电网范围,此时AF或者NEF会预先配置一个mapping list,AF将请求的地理范围映射成TSCTSF可以理解的3GPP概念里的范围信息,AF再发送给NEF,NEF将该信息转发给TSCTSF。
S302,TSCTSF向UDM发送第二请求信息,或者说UDM接收来自TSCTSF的第二请求信息,该第二请求信息用于请求UE授时签约数据。
具体地,TSCTSF接收到第一请求信息之后,TSCTSF根据第一请求信息向UDM发送第二请求信息。
S303,TSCTSF接收来自UDM的第二响应信息,或者说UDM向TSCTSF发送第二响应信息,该第二响应信息包括UE的授时签约数据。
具体地,TSCTSF接收到第二响应信息之后,TSCTSF根据第一请求信息中UE请求的授时的服务数据与第二响应信息中UE授时的签约数据进行判断,当UE请求的授时服务数据在UE的授时签约数据范围内时,TSCTSF根据第一请求信息更新授时精度误差Uu error budget,并向确定可为UE提供符合要求的网络设备。例如,RAN#1符合UE的授时要求时,TSCTSF向RAN#1发送第一授时指示信息,如图3所示的方法中,该方法还包括:
S304,TSCTSF确定第一请求信息中UE请求的授时服务数据是否满足UE授时签约数据。
具体地,当UE请求的授时服务数据满足UE授时签约数据,TSCTSF更新Uu error budget和确定为UE授时的网络设备(RAN#1)的信息;当UE请求的授时服务数据不满足UE授时签约数据,TSCTSF向AF发送第一响应信息,该第一响应信息用于拒绝授时。
应理解,当UE请求的授时服务数据满足UE授时签约数据,TSCTSF更新Uu error budget和确定为UE授时的网络设备(RAN#1)的信息,并指示RAN#1为UE提供授时服务。
可选地,TSCTSF根据UE请求的授时服务数据和第一请求信息中UE请求的覆盖区域信息更新Uu error budget和确定为UE授时的网络设备(RAN#1)的信息。
可选地,TSCTSF确定第一请求信息中UE请求的授时服务数据是否满足UE授时签约数据时,TSCTSF根据第二响应信息确定所述第一请求信息中的授时服务数据是否属于所述终端设备的时钟签约数据。其中,当所述第一请求信息中的一个或多个授时服务
数据属于UE的时钟签约数据时,TSCTSF向UE发送第四响应信息,该第四响应信息用于指示TSCTSF对上述这一个或多个授时服务数据提供授时服务;当所述第一请求信息中的授时服务数据均不属于UE的时钟签约数据时,TSCTSF向UE发送拒绝授时服务信息。
进一步地,TSCTSF对上述在UE签约的时钟数据中的一个或多个授时服务数据提供授时服务,TSCTSF根据一个或多个授时服务数据确定网络设备(例如:RAN1)的授时能力是否满足UE的授时要求,详细步骤请参见图4中的步骤S403,此处不再赘述。
其中,TSCTSF确定第一请求信息中UE请求的授时服务数据满足UE授时签约数据时,如图3所示的方法,该方法还包括:
S305,RAN#1接收来自TSCTSF的第一授时指示信息。
其中,第一授时指示信息用于指示RAN#1为UE提供授时服务。
应理解,TSCTSF可以直接将第一授时指示信息发送给RAN1,指示RAN1为UE提供授时服务。
还应理解,TSCTSF先向PCF发送第一授时指示信息,PCF再将用于指示RAN1为UE授时的信息发送给RAN1。
其中,该第一授时信息包括UE的标识信息、更新后的Uu error budget和RAN#1的标识信息。
S306,RAN#1为UE提供授时服务。
具体地,RAN#1接收到来自TSCTSF的第一授时指示信息后,根据该第一授时指示信息为UE提供授时服务。
可选地,RAN#1根据第一授时指示信息选择合适的授时时机为UE提供授时服务。
可选地,RAN#1根据第一授时指示信息确定授时方案,其中,授时方案包括TA-based基站预补偿或者UE自主补偿和RTT-based授时方案,具体授时方案可以参照现有技术。
可选地,在一些实施例中,在TSCTSF向PCF发送第一授时指示信息的情况下,图3所示的方法还包括:
PCF根据第一授时指示信息确定授时策略,PCF向TSCTSF发送该授时策略响应信息。其中,该授时策略响应信息表明授时结果。
该授时策略响应信息包括RAN#1的标识信息,RAN#1根据第一授时指示信息确定授时方案(即,RAN#1的授时能力数据)和AMF标识信息。
上述图3示出了由AF发起UE的授时请求,并进一步地发送给TSCTSF。第一请求信息中携带UE的授时请求服务数据,TSCTSF接收到第一请求信息后,向UDM获取UE的授时签约数据。TSCTSF根据第一请求信息和UE的授时签约数据对UE的授时请求数据做出进一步地判断。当UE请求的授时服务数据满足UE授时签约数据时,TSCTSF进一步地为UE确定合适的授时网络设备,保障了系统的时钟同步的同时节省了资源的开销。
图4在图3的基础上示出了,UE位置相较于之前发生了变化,UE的服务基站可能由RAN#1切换至RAN1,或者,RAN#1和RAN1都能够为UE提供授时服务,其中RAN#1的授时能力不满足UE的授时要求,需要进一步地确定RAN1的授时能力是否满足UE的授时要求。应理解,RAN1能够为UE提供授时服务是指RAN1可以为UE提供授时服务,但是不能确定RAN1是否能够为UE提供符合UE授时要求的时钟信息。TSCTSF对RAN1
的授时能力进行评估,判断RAN1的授时能力是否满足UE的授时要求。如图4示出了本申请实施例提供的另一种时钟同步的方法的流程图,如图4包括如下步骤。
S401,AMF接收来自TSCTSF发送的订阅信息,或者说TSCTSF向AMF发送订阅信息。
其中,该订阅信息用于向AMF订阅UE的位置信息,当UE的位置发生变化时,AMF将能够为UE提供服务的网络设备的信息发送给TSCTSF。
应理解,该S401步骤为可选地,AMF根据自身协议规定也可以定时向TSCTSF发送UE的位置信息并将能够为UE提供授时服务的网络设备的信息发送给TSCTSF。故,S401为可选步骤。
S402,AMF向TSCTSF发送第一信息,或者说TSCTSF接收来自AMF发送的第一信息。
其中,第一信息用于指示RAN1能够为UE提供授时服务。
可选地,当RAN1在数据建立请求过程中(例如:NG Setup),已经将RAN1的授时能力(例如:RAN1根据不同授时方式获得的授时精度误差)发送给AMF。AMF向TSCTSF发送的第一信息中可能包括RAN#1和RAN1的授时能力。
可选地,当RAN1没有将RAN1的授时能力发送给AMF。当UE从RAN#1切换至RAN1,则RAN1将RAN1的授时能力发送给AMF。其中,AMF可以主动向RAN1请求授时能力信息,或者,RAN1随机向AMF发送RAN1的授时能力。
应理解,该S402步骤为可选地,TSCTSF获取到其他指示信息或者广播信息中携带的能够为UE提供授时服务的网络设备的信息。故,S402为可选步骤。
S403,TSCTSF确定RAN1的授时能力是否满足第三条件。
具体地,TSCTSF根据第一信息获取RAN1能够为UE提供授时之后,TSCTSF根据RAN1的授时能力与第三条件确定RAN1能否能够为UE提供授时服务。其中,第三条件是与第三授时精度误差相关,该第三授时精度误差是TSCTSF根据第一请求信息确定的。
需要说明的是,本申请中的第一条件与第三条件、第二条件与第四条件、第一授时精度误差与第三授时精度误差、第二授时精度误差与第四授时精度误差可以相同,也可以不同,对此本申请不做限定。
TSCTSF确定RAN1的授时能力是否满足第三条件,本申请作为示例性地对如下三种情况进行详细说明。
情况一
TSCTSF在确定RAN1的授时能力是否满足满足第三条件之前,先确定RAN1的授时能力是否满足第四条件,当RAN1的授时能力不满足第四条件,满足第三条件时,即RAN1的授时能力满足UE的授时要求,RAN1能够为UE提供符合要求的时钟信息。如图4所示的方法,该方法还包括:
SA404,TSCTSF根据第四授时精度误差确定第四条件,确定RAN1的授时能力不满足第四条件。
具体地,TSCTSF根据第四授时精度误差确定第四条件,该第四条件不同于第三条件,RAN1的授时能力不满足第四条件,即,TSCTSF确定RAN1不能为UE提供授时服务。
需要说明的是,TSCTSF接收到来自AF的第一请求信息,其中,第一请求信息中包
括一个或多个error budget,或者第一请求信息中包括一个或多个Uu error budget。其中,当第一请求信息中包括一个或多个总的授时精度误差error budget时,TSCTFS根据内部误差值进一步地确定空口授时精度误差Uu error budget。其中,一个error budget能够得到多个Uu error budget,TSCTSF将得到的一个或多个Uu error budget作为是否满足UE授时要求的条件。
可选地,TSCTSF将确定的一个或多个Uu error budget中的全部或者部分发送给PCF。作为一种示例,第一请求信息中包括error budget1和error budget2,TSCTSF根据error budget1得到Uu error budget(1),Uu error budget(2),TSCTSF根据error budget2得到Uu error budget(3),Uu error budget(4)。即TCSTSF根据确定的多个口空授时精度误差判断RAN1授时能力是否满足UE的授时要求。即TCSTSF根据确定的多个口空授时精度误差判断RAN1授时能力是否满足UE的授时要求。假设Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4)的授时精度误差依次增大。TSCTSF将Uu error budget(1)作为第四授时精度误差,则RAN1能否能够为UE提供服务的第四条件为授时能力超出第四授时误差精度(Uu error budget(1))。RAN1的授时能力为error budget(X)。当error budget(X)超出Uu error budget(1)的范围,则RAN1的授时能力不满足第四条件。
应理解,当TSCTSF确定RAN1的授时能力满足第四条件时,即TSCTSF指示RAN1为UE提供授时服务。即执行步骤SA406,SA407。
当TSCTSF确定RAN1的授时能力不满足第四条件时,即如图4中所示,该方法还包括:
SA405,TSCTSF根据第三授时精度误差确定第三条件,确定RAN1的授时能力满足第三条件。
具体地,TSCTSF根据RAN1的授时能力与第三条件进行评估,确定RAN1的授时能力满足第三条件。TSCTSF根据UE的第三授时精度误差确定第三条件。
作为一种示例:TSCTSF根据确定的多个授时精度误差,将Uu error budget(4)作为第三授时精度误差,则确定RAN1是否能够为UE提供服务的第三条件为RAN1的授时能力是否超出第三授时误差精度(Uu error budget(4))。RAN1的授时能力为error budget(X)。当error budget(X)未超出Uu error budget(4)的范围,则RAN1的授时能力满足第三条件;当error budget(X)超出Uu error budget(4)的范围,则RAN1的授时能力不满足第三条件。
需要说明的是,本申请中TSCTFS/PCF确定RAN1的授时能力是否满足终端设备的授时要求时,一般从最小的授时精度误差开始判断,依次增大到最大的授时精度误差。本申请中的举例说明,并不对此限定。
其中,本申请实施例中显示RAN1的授时能力满足第三条件,即error budget(X)未超出Uu error budget(4)的范围,如图4中所示,该方法还包括:
SA406,TSCTSF向RAN1发送第一授时指示信息,或者说RAN1接收来自TSCTSF的第一授时指示信息。
可选地,TSCTSF直接将第一授时指示信息发送给RAN1,指示RAN1为UE提供授时服务。
可选地,TSCTSF向PCF发送第一授时指示信息,PCF再将用于指示RAN1为UE授时的信息发送给RAN1。
其中,该第一授时指示信息包括UE的标识信息、RAN1的标识信息和TSCTSF确定的多个授时精度误差。
SA407,RAN1为UE提供授时服务。
具体地,RAN1接收到第一授时指示信息后,根据第一授时指示信息为UE提供授时服务。
可选地,RAN1根据第一授时指示信息确定授时方案,其中授时方案包括TA-based基站预补偿或者UE自主补偿和RTT-based授时方案。
可选地,RAN1根据第一授时指示信息选择合适的授时时机为UE提供授时服务。
情况二
TSCTS直接确定RAN1的授时能力满足第三条件,即RAN1的授时能力满足UE的授时要求,RAN1能够为UE提供符合要求的时钟信息。如图4所示的方法,该方法还包括:
SB404,TSCTSF确定RAN1的授时能力满足第三条件。
TSCTSF根据RAN1的授时能力与第三条件进行对比,确定RAN1的授时能力满足第三条件,即RAN1的授时能力符合UE的授时要求。
应理解,TSCTSF确定RAN1能够为UE提供授时服务,TSCTSF指示RAN1为UE提供授时服务。
作为一种示例,TSCTSF根据第一请求信息确定的多个授时精度误差,包括Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4),假设Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4)的授时精度误差依次增大。TSCTSF将Uu error budget(4)作为第三授时精度误差,则确定RAN1能否为UE提供服务的第三条件为RAN1授时能力是否超出第三授时误差精度(Uu error budget(4))。RAN1的授时能力为error budget(X)。当error budget(X)未超出Uu error budget(4)的范围,则RAN1的授时能力满足第三条件,当error budget(X)超出Uu error budget(4)的范围,则RAN1的授时能力不满足第三条件。
SB405,TSCTSF向RAN1发送第一授时指示信息,或者说RAN1接收来自TSCTSF的第一授时指示信息。
可选地,TSCTSF直接将第一授时指示信息发送给RAN1,指示RAN1为UE提供授时服务。
可选地,TSCTSF向PCF发送第一授时指示信息,PCF再将用于指示RAN1为UE授时的信息发送给RAN1。
其中,该第一授时指示信息包括UE的标识信息、RAN1的标识信息和TSCTSF确定的多个授时精度误差。
SB406,RAN1为UE提供授时服务。
具体地,RAN1接收到第一授时指示信息后,根据第一授时指示信息为UE提供授时服务。
可选地,RAN1根据第一授时指示信息确定授时方案,其中授时方案包括TA-based基站预补偿或者UE自主补偿和RTT-based授时方案。
可选地,RAN1根据第一授时指示信息选择合适的授时时机为UE提供授时服务。
情况三
TSCTSF确定RAN1的授时能力不满足第三条件,且RAN1的授时能力不满足第四条件,即RAN1的授时能力不满足UE的授时要求,RAN1不能为UE提供符合要求的时钟信息,如图4所示的方法,该方法还包括:
SC404,AF接收来自TSCTSF发送的第二信息。
具体地,TSCTSF确定RAN1的授时能力不满足第三条件和第四条件时,TSCTSF确定授时失败,即TSCTSF发送第二信息,该第二信息用于指示授时失败。AF通过NEF接收到TSCTSF发送的第二信息。
可选地,该第二信息包括RAN1的标识信息、第三授时精度误差和/或第四授时精度误差。
可选地,TSCTSF确定UE移出AF发送的第一请求信息中UE请求的覆盖信息中的覆盖区域范围时,图4所示的方法还包括:
TSCTSF确定UE移出AF为UE请求授时服务的覆盖区域范围,TSCTSF发送停止授时指示信息,该停止授时指示信息用于指示网络设备停止为UE提供授时服务,其中,该网络设备是为UE提供授时服务的网络设备。
应理解,该网络设备可以是基站(如:BS),也可以是接入网设备(如:RAN),也可以是用户面网元UPF。
本申请以网络设备为RAN1作为举例,TSCTSF向RAN1发起送停止授时指示信息,该停止授时指示信息用于指示RAN1停止为UE提供授时服务。
举例来说,在RAN1为UE提供授时服务的过程中,由于UE的移动,UE移出了第一请求信息中UE请求的覆盖区域信息。TSCTSF向RAN1发起时钟服务去激活指示(即,停止授时指示信息),并指示RAN1对UE停止授时;或者,TSCTSF先向AMF发送停止授时指示信息,AMF将该停止授时指示信息转发给RAN1。
上述图4中所示的技术方案,UE位置发生了变化,源网络设备RAN#1无法为UE提供符合要求的时钟信息,RAN1能够为UE提供授时服务,TSCTSF确定RAN1是否能够为UE提供符合要求的时钟信息。TSCTSF根据确定的多个授时精度误差确定授时能力评估条件,将确定的评估条件对RAN1的授时能力做出进一步地评估。其中,当TSCTSF确定RAN1不能为UE提供授时服务时,TSCTSF在UE的授时精度误差的范围内修改评估条件。如果TSCTSF确定RAN1仍然不能为UE提供授时服务时,TSCTSF发送授时失败信息。图4示出的方法,TSCTSF通过根据UE的授时要求对网络设备进行评估,或者在UE的授时要求范围内改变评估的条件,对网络设备进行评估。在保证系统时钟同步地同时,降低资源的开销。
图5示出了在UE位置相较于之前发生了变化的情况下,UE的服务基站可能由RAN#1切换至RAN1,或者,RAN#1和RAN1都能够为UE提供授时服务,其中RAN#1的授时能力不满足UE的授时要求,需要进一步地确定RAN1的授时能力是否满足UE的授时要求。应理解,RAN1能够为UE提供授时服务是指RAN1可以为UE提供授时服务,但是不能确定RAN1是否能够为UE提供符合UE授时要求的时钟信息。PCF对RAN1的授时能力进行评估,判断RAN1的授时能力是否满足UE的授时要求。如图5示出了本申请实施例提供的另一种时钟同步的方法的流程图,如图5包括如下步骤。
S501,AMF接收来自PCF发送的订阅信息,或者说PCF向AMF发送订阅信息。
其中,该订阅信息用于向AMF订阅UE的位置信息,当UE的位置发生变化时,AMF将能够为UE提供服务的网络设备的信息发送给PCF。
应理解,该S501步骤为可选地,AMF根据自身协议规定也可以定时向PCF发送UE的位置信息并将能够为UE提供授时服务的网络设备的信息发送给PCF。故,S501为可选步骤。
S502,AMF向PCF发送第一信息,或者说PCF接收来自AMF发送的第一信息。
其中,第一信息用于指示RAN1能够为UE提供授时服务。
可选地,当RAN1在数据建立请求过程中(例如:NG Setup),已经将RAN1的授时能力(例如:RAN1根据不同授时方式获得的授时精度误差)发送给AMF。AMF向TSCTSF发送的第一信息中可能包括RAN#1和RAN1的授时能力。
可选地,当RAN1没有将RAN1的授时能力发送给AMF。当UE从RAN#1切换至RAN1,则RAN1将RAN1的授时能力发送给AMF。其中,AMF可以主动向RAN1请求授时能力信息,或者,RAN1随机向AMF发送RAN1的授时能力。
应理解,该S502步骤为可选地,TSCTSF获取到其他指示信息或者广播信息中携带的能够为UE提供授时服务的网络设备的信息。故,S502为可选步骤。
S503,PCF确定RAN1的授时能力是否满足第一条件。
具体地,PCF根据第一信息确定RAN1能够为UE提供授时服务之后,PCF根据RAN1的授时能力与第一条件确定RAN1能否为UE提供授时服务。其中,第一条件是与第一授时精度误差相关,第一条件是PCF根据UE的第一授时精度误差确定的。
可选地,PCF根据UE的业务类型与所述第一授时精度误差确定该第一条件。
应理解,UE的不同业务类型对应的授时精度误差不同,PCF根据UE的业务类型进一步地确定第一条件。
PCF确定RAN1的授时能力是否满足第一条件,本申请作为示例性地对如下三种情况进行详细说明。
情况一
PCF在确定RAN1的授时能力是否满足第一条件之前,先确定RAN1的授时能力是否满足第二条件,当RAN1的授时能力不满足第二条件,满足第一条件时,即RAN1的授时能力满足UE的授时要求,RAN1能够为UE提供符合要求的时钟信息。如图5所示的方法,该方法还包括:
SA504,PCF根据第二授时精度误差确定第二条件,确定RAN1的授时能力满足第二条件。
具体地,PCF根据第二授时精度误差确定第二条件,该第二条件不同于第一条件,RAN1的授时能力满足第二条件,即,PCF确定RAN1能够为UE提供授时服务。
作为一种示例,TSCTSF根据第一请求信息确定的多个授时精度误差,包括Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4),假设Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4)的授时精度误差依次增大。TSCTSF将确定的Uu error budget(1),Uu error budget(2)发送给PCF,PCF选择最小的授时精度误差作为第二条件,即Uu error budget(1)作为第二授时精度误差。则PCF确定RAN1
的授时能力超出第二授时误差精度(Uu error budget(1))时,PCF根据Uu error budget(1),Uu error budget(2),将Uu error budget(2)作为第一授时精度误差。RAN1的授时能力为error budget(X)。当error budget(X)未超出Uu error budget(2)的范围,则RAN1的授时能力满足第一条件,当error budget(X)超出Uu error budget(2)的范围,则RAN1的授时能力不满足第一条件。
可选地,PCF根据UE的业务类型与所述第二授时精度误差确定该第二条件。
应理解,UE的不同业务类型对应的授时精度误差不同,PCF根据UE的业务类型进一步地确定第二条件。
作为一种示例,TSCTSF根据第一请求信息确定的多个授时精度误差,包括Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4),假设Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4)的授时精度误差依次增大。PCF确定UE请求的业务类型对应的授时精度误差为Uu error budget(2),即PCF选择Uu error budget(2)作为第二条件,即Uu error budget(2)作为第二授时精度误差。PCF确定RAN1的授时能力是否超出第二授时误差精度(Uu error budget(2))。RAN1的授时能力为error budget(X)。当error budget(X)未超出Uu error budget(2)的范围,则RAN1的授时能力满足第二条件,PCF确定RAN1能够为UE提供授时服务。
应理解,当PCF确定RAN1的授时能力满足第二条件时,即PCF指示RAN1为UE提供授时服务。即执行步骤SA506,SA507。
当PCF确定RAN1的授时能力不满足第二条件时,即如图5中所示,该方法还包括:
SA505,PCF确定RAN1的授时能力满足第一条件。
具体地,PCF根据RAN1的授时能力与第一条件进行对比,确定RAN1的授时能力满足第一条件,其中,PCF根据UE的第一授时精度误差确定第一条件,具体详细说明可以参照上述步骤SA504中的举例。
SA506,PCF向RAN1发送第一授时指示信息,或者说RAN1接收来自PCF的第一授时指示信息。
具体地,PCF向RAN1发送第一授时指示信息,或者说RAN1接收来自TSCTSF的第一授时指示信息。
可选地,PCF直接将第一授时指示信息发送给RAN1,指示RAN1为UE提供授时服务。
可选地,PCF更新授时策略,并将用于指示RAN1为UE授时的信息发送给RAN1。
其中,该第一授时指示信息包括UE的标识信息、RAN1的标识信息和PCF接收到来自TSCTSF的一个或多个授时精度误差。
SA507,RAN1为UE提供授时服务。
具体地,RAN1接收到第一授时指示信息后,根据第一授时指示信息为UE提供授时服务。
可选地,RAN1根据第一授时指示信息确定授时方案,其中授时方案包括TA-based基站预补偿或者UE自主补偿和RTT-based授时方案。
可选地,RAN1根据第一授时指示信息选择合适的授时时机为UE提供授时服务。
情况二
PCF直接确定RAN1的授时能力满足第一条件,即RAN1的授时能力满足UE的授时要求,RAN1能够为UE提供符合要求的时钟信息。如图5所示的方法,该方法还包括:
SB504,PCF确定RAN1的授时能力满足第一条件。
PCF根据RAN1的授时能力与第一条件进行评估,确定RAN1的授时能力满足第一条件,即RAN1的授时能力符合UE的授时要求。
应理解,PCF确定RAN1能够为UE提供授时服务,PCF指示RAN1为UE提供授时服务。
作为一种示例,TSCTSF根据第一请求信息确定的多个授时精度误差,包括Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4),假设Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4)的授时精度误差依次增大。TSCTSF将确定的Uu error budget(1),Uu error budget(2)发送给PCF,PCF选择Uu error budget(2)作为第一授时精度误差,则PCF确定RAN1能否为UE提供服务的第一条件为RAN1授时能力是否超出第一授时误差精度(Uu error budget(2))。RAN1的授时能力为error budget(X)。当error budget(X)未超出Uu error budget(2)的范围,则RAN1的授时能力满足第一条件,当error budget(X)超出Uu error budget(1)的范围,则RAN1的授时能力不满足第一条件。
SB505,PCF向RAN1发送第一授时指示信息,或者说RAN1接收来自PCF的第一授时指示信息。
可选地,PCF直接将第一授时指示信息发送给RAN1,指示RAN1为UE提供授时服务。
可选地,PCF更新授时策略,并将用于指示RAN1为UE授时的信息发送给RAN1。
其中,该第一授时指示信息包括UE的标识信息、RAN1的标识信息和PCF接收到来自TSCTSF的一个或多个授时精度误差。
SB506,RAN1为UE提供授时服务。
具体地,RAN1接收到第一授时指示信息后,根据第一授时指示信息为UE提供授时服务。
可选地,RAN1根据第一授时指示信息确定授时方案,其中授时方案包括TA-based基站预补偿或者UE自主补偿和RTT-based授时方案。
可选地,RAN1根据第一授时指示信息选择合适的授时时机为UE提供授时服务。
情况三
PCF确定RAN1的授时能力不满足第二条件,且RAN1的授时能力不满足第一条件,即RAN1的授时能力不满足UE的授时要求,RAN1不能为UE提供符合要求的时钟信息,如图5所示的方法,该方法还包括:
SC504,PCF向TSCSTF发送第二信息,或者说TSCTSF接收来自PCF的第二信息。
具体地,第二信息用于指示授时失败。
可选地,第二信息包括RAN#1和/或RAN1的标识信息。
可选地,第二信息还包括RAN#1和/或RAN1为UE授时失败的原因。
作为一种示例,当PCF确定RAN1的授时能力不满足UE的授时要求时,PCF向TSCTSF发送第二信息。该第二信息用于指示RAN1授时能力不满足UE的授时要求,即
TSCTSF选择其他RAN为UE提供授时服务;当PCF确定UE移出了第一请求信息中UE请求的覆盖区域范围,PCF向TSCTSF发送第二信息,该第二信息用于指示UE移出请求覆盖区域范围。TSCTSF收到第二信息之后,向NEF发送第二信息,NEF将该指示授时请求失败的第二信息转发给AF。
SC505,TSCTSF选择RAN2为UE提供授时服务。
具体地,TSCTSF接收到第二信息,并根据第二信息选择其他的网络设备为UE提供授时服务。
可选地,第二信息包括RAN#1和/或RAN1的标识信息。
应理解,PCF确定RAN#1不能为UE提供授时服务时,PCF向TSCTSF发送第二信息,该第二信息包括RAN#1的标识信息。TSCTSF根据该第二信息确定RAN#1不能为UE提供授时服务,即TSCTSF根据第一请求信息确定的多个授时精度误差确定的第一条件或者第二条件选择其他网络设备为UE提供授时服务。其中,该其他网络设备不同于RAN#1,且能够为UE提供授时服务。
其中,PCF确定RAN#1和RAN1都不能为UE提供授时服务时,PCF向TSCTSF发送第二信息,该第二信息包括RAN#1和RAN1的标识信息。TSCTSF根据该第二信息确定RAN#1和RAN1都不能为UE提供授时服务,即TSCTSF根据第一请求信息确定的多个授时精度误差确定第一条件或者第二条件选择其他网络设备为UE提供授时服务。其中,该其他网络设备不同于RAN#1和RAN1,且与UE具有信息交互或者连接关系。
作为一种示例,TSCTSF根据第一请求信息确定的多个授时精度误差,包括Uu error budget(1),Uu error budget(2),Uu error budget(3),Uu error budget(4),TSCTSF将Uu error budget(1),Uu error budget(2)发送给PCF,TSCTSF接收到来自PCF的第二信息时,TSCTSF基于Uu error budget(3),Uu error budget(4)确定第三授时误差精度,当第二信息包括RAN1的标识信息,则TSCTSF在RAN2或者其他网络设备中选择满足第三条件或第四条件的网络设备。当第二信息包括RAN1和RAN2的标识信息,则TSCTSF在RAN1和RAN2之外的其他网络设备中选择满足第三条件或第四条件的网络设备。
可选地,当TSCTSF选择到满足UE的授时要求的网络设备时,按照上述图4所述的方法。
可选地,当TSCTSF确定没有合适的网络设备能够为UE提供授时能力时,该方法还包括:
SC506,AF接收来自TSCTSF的第二信息#1。
具体地,AF通过NEF接收到TSCTSF发送的第二信息。
上述图5示出了在UE位置相较于之前发生了变化的情况下,服务基站由RAN#1切换为RAN1,即RAN#1无法为UE提供授时服务,PCF对RAN1的授时能力进行评估,判断RAN1的授时能力是否满足UE的授时要求。PCF确定RAN1不能为UE提供授时服务时,TSCTSF在其他网络设备中继续选择合适的网络设备为UE提供符合要求的时钟信息。通过PCF和TSCTSF确定为UE提供授时的网络设备,进一步地保证系统的是时钟同步的需求。
接下来,将进一步地结合图6至图7详细说明在为UE授时的过程中,由UE向AMF网元发送UE的授时请求时,AMF确定UE的请求授时服务数据是否在UE的授时签约数
据的范围内,如果UE请求的授时服务数据在授时签约数据的范围内,进一步地AMF向TSCTSF发送请求信息为UE请求授时。如果UE请求的授时服务数据超出UE授时签约数据的范围,进一步地AMF向UE发送响应信息,该响应信息用于拒绝为UE授时。
图6示出了本申请实施例提供的另一种时钟同步的方法的流程图。如图6包括如下步骤。
S601,AMF接收来自UE的第一请求信息,或者说UE向AMF发送第一请求信息,其中该第一请求信息用于为UE请求授时服务。
其中,该第一请求信息包括UE的标识信息、UE提供的多个授时精度误差、请求的授时服务数据。
可选地,该第一请求信息包括一个或多个error budget,该一个或多个error budget对应UE的不同业务类型。
可选地,该第一请求信息还包括数据网络名称信息DNN,单切片选择辅助信息S-NSSAI,该数据网络名称信息DNN,单切片选择辅助信息S-NSSAI与一个或多个error budget一一对应。
可选地,该第一请求信息包括一个或多个Uu error budget。
S602,AMF向UDM发送第二请求信息,或者说UDM接收来自AMF的第二请求信息,该第二请求信息用于请求UE的授时签约数据。
具体地,AMF接收到第一请求信息之后,AMF根据第一请求信息向UDM发送第二请求信息。
S603,AMF接收来自UDM的第二响应信息,或者说UDM向AMF发送第二响应信息,该第二响应信息包括UE的授时签约数据。
具体地,AMF接收到第二响应信息之后,AMF根据第一请求信息中UE请求的授时服务数据与第二响应信息中UE的授时签约数据进行判断,即如图6所示的方法,该方法还包括:
S604,AMF根据第二响应信息确定UE授时签约数据是否包括第一请求信息中的授时服务数据。
可选地,第一响应信息中的签约数据包括第一请求信息中所有的授时服务数据,AMF向TSCTSF发送第三请求信息,即如图6所示的方法中的情况一所示,此处不再赘述。
可选地,第一响应信息中的签约数据只能满足第一请求信息中的一个或者多个,AMF对UE的第一请求信息中的授时服务数据进行过滤。AMF将第一请求信息中符合签约的数据发送给UE,并向TSCTSF发送第三请求信息,即如图6所示的方法中的情况一所示,此处不再赘述。
可选地,第一响应信息中的签约数据不包括第一请求信息中一个或多个授时服务数据,AMF向UE发送拒绝授时服务信息。
需要说明的是,当AMF接收来自UE的第一请求信息,AMF直接向TSCTSF发送第三请求信息时,TSCTSF也可以执行上述S602和S603步骤,为了避免冗余,此处不再赘述。
应理解,当AMF确定UE请求的授时服务数据在UE的授时签约数据范围内时,如图6中所示的情况一,该方法还包括:
SA605,AMF向TSCTSF发送第三请求信息,或者说TSCTSF接收来自AMF的第三请求信息。
具体地,AMF确定UE请求的授时服务数据在UE的授时签约数据范围内,AMF向TSCTSF发送第三请求信息,该第三请求信息用于为UE请求授时。
其中,第三请求信息包括终端设备的标识信息和UE提供的一个或多个授时精度误差(error budget)或者空口授时精度误差(Uu error budget)。
可选地,该第三请求信息还包括数据网络名称信息DNN,单切片选择辅助信息S-NSSAI,该数据网络名称信息DNN,单切片选择辅助信息S-NSSAI与一个或多个error budget一一对应。
SA606,TSCTSF根据第三请求信息更新Uu error budget和可授时的RAN信息。
作为一种示例,第三请求信息中的多个授时精度误差中包括error budget(1),error budget(2),error budget(3),TSCTSF根据上述3个error budget确定每个error budget对应的多个Uu error budget。假设TSCTSF根据error budget(1)得到Uu error budget(1’)和Uu error budget(1”),TSCTSF根据error budget(2)得到Uu error budget(2’)和Uu error budget(2”),TSCTSF得到error budget(3)确定Uu error budget(3’)和Uu error budget(3”)。TSCTSF更新Uu error budget(例如更新后的Uu error budget为Uu error budget(1’),Uu error budget(1”),error budget(2’),Uu error budget(2”),error budget(3’),Uu error budget(3”))和可授时的RAN信息。TSCTSF确定能够为UE提供授时的RAN(例如:RAN#1),并指示该RAN为UE提供授时服务。
作为另一种示例,第三请求信息中的多个授时精度误差中多个Uu error budget,如Uu error budget(1’),Uu error budget(1”),error budget(2’),Uu error budget(2”),error budget(3’),Uu error budget(3”),TSCTSF直接根据第三请求信息中的多个Uu error budget更新Uu error budget和可授时的RAN信息。TSCTSF根据更新后的Uu error budget确定能够为UE提供授时的RAN(例如:RAN#1),并指示该RAN为UE提供授时服务。
可选地,TSCTSF根据第三请求信息更新得到Uu error budget,并将更新后的Uu error budget中的一个或多个发送给PCF。PCF根据接收来自TSCTSF的一个或多个Uu error budget确定为终端设备授时的网络设备的授时能力是否满足终端设备的授时要求。
其中,在本申请实施例中以RAN#1为例,详细地介绍。
应理解,图6中步骤SA606,TSCTSF根据第三请求信息确定可授时的RAN信息,与上述图3中步骤S304类似,为了避免冗余,此处不再赘述。
TSCTSF确定RAN#1能够为UE提供授时服务时,如图6所示的方法,该方法还包括:
SA607,RAN#1接收来自TSCTSF的第一授时指示信息。
其中,第一授时指示信息用于指示RAN#1为UE提供授时服务。
应理解,TSCTSF可以直接将第一授时指示信息发送给RAN1,指示RAN1为UE提供授时服务。
还应理解,TSCTSF先向PCF发送第一授时指示信息,PCF再指示RAN1为UE授时的信息发送给RAN1。
其中,该第一授时指示信息包括UE的标识信息、符合UE授时要求的Uu error budget
和RAN#1的标识信息。
应理解,符合UE授时要求的Uu error budget可能是基于最小的error budget确定的,也可能是UE当前业务类型需要的Uu error budget。对此本申请不做限定。SA608,RAN1为UE提供授时服务。
具体地,RAN1接收到第一授时指示信息后,根据第一授时指示信息为UE提供授时服务。
可选地,RAN1根据第一授时指示信息确定授时方案,其中授时方案包括TA-based基站预补偿或者UE自主补偿和RTT-based授时方案。
可选地,RAN1根据第一授时指示信息选择合适的授时时机为UE提供授时服务。
应理解,当AMF确定UE请求的授时服务数据超出UE的授时签约数据范围,或者AMF确定UE请求的授时服务数据不在UE的授时签约数据范围内,如图3中所示的情况二,该方法还包括:
SB605,AMF向UE发送第一响应信息,或者说UE接收来自AMF的第一响应信息。
具体地,AMF确定UE请求的授时服务数据超出UE的授时签约数据范围,或者AMF确定UE请求的授时服务数据不在UE的授时签约数据范围内,AMF拒绝UE的授时服务请求,即AMF向UE发送第一响应信息,该第一响应信息用于拒绝UE的授时请求。
上述图6示出了由UE主动发起授时请求,AMF根据UE的授时请求先确定UE请求的授时服务是否在UE的签约数据范围内。当UE请求的授时服务数据满足签约数据时,AMF向TSCTSF发送请求信息为UE请求授时服务。TSCTSF进一步地为UE确定合适的授时网络设备,保障了系统的时钟同步的同时节省了资源的开销。
图7示出了在UE位置相较于之前发生了变化的情况下,UE的服务基站可能由RAN#1切换至RAN1,或者,RAN#1和RAN1都能够为UE提供授时服务,其中RAN#1的授时能力不满足UE的授时要求,需要进一步地确定RAN1的授时能力是否满足UE的授时要求。应理解,RAN1能够为UE提供授时服务是指RAN1可以为UE提供授时服务,但是不能确定RAN1是否能够为UE提供符合UE授时要求的时钟信息。UE向AMF发送第一请求信息,RAN1首先根据自身的授时能力与UE请求的授时服务进行判断。
其中,当RAN1确定自身的授时能力满足UE的授时要求时,RAN1直接为UE提供授时服务。
其中,当RAN1确定自身的授时能力不满足UE的授时要求时,由PCF网元和TSCTSF网元进一步地选择其他能够为UE提供授时服务的网络设备。如图7示出了本申请实施例提供的另一种时钟同步的方法的流程图,如图7包括如下步骤。
S701,RAN1确定自身的授时能力不满足UE的授时要求。
具体地,当UE的位置发生移动,RAN#1与RAN1进行UE授时信息的上下文迁移,其中包括UE的标识信息和多个授时精度误差(error budget、Uu error budget),其中多个授时精度误差包括RAN#1当前使用的Uu error budget,RAN1根据该多个授时精度误差确定RAN1的授时能力是否能够满足UE的授时要求。
作为一种示例,其中RAN#1与RAN1进行UE授时信息的上下文迁移时,其中包括Uu error budget(1’),Uu error budget(1”)。当RAN1确定自己的授时能力不满足Uu error budget(1’),Uu error budget(1”),即RAN1确定自身的授时能力不满足UE的授时要求。
RAN1确定自身的授时能力不能满足UE的授时要求,RAN1发送第二信息,其中第二信息用于指示RAN1为UE授时失败。其中,该第二信息中包括RAN1进行授时能力评估的授时精度误差(例如:Uu error budget(1’),Uu error budget(1”))以及RAN1不能满足Uu error budget要求进行授时的指示。
如图7所示的方法,该方法还包括:
S702,PCF接收来自RAN1的第二信息。
应理解,PCF接收来自RAN1的第二信息,可以通过AMF网元接收来自RAN1的第二信息,也可以通过其他网元接收来自RAN1的第二信息。例如,RAN1先将第二信息发送给AMF网元,再由AMF网元转发给PCF。
还应理解,PCF接收到来自UE的第二信息后,PCF进一步地确定RAN1是否满足UE请求的授时要求。如图7所示,该该方法还包括:
S703,PCF根据第一授时精度误差确定第一条件,确定RAN1的授时能力是否满足第一条件。
应理解,PCF根据接收来自TSCTSF发送的一个或多个Uu error budget,确定第一授时精度误差。PCF根据第一授时精度误差确定第一条件,对RAN1的授时能力进行判断,确定RAN1是否能够为UE提供授时服务。
作为一种示例,PCF根据第二信息确定RAN1的授时能力不满足Uu error budget(1’),Uu error budget(1”),并根据接收来自TSCTSF发送的一个或多个Uu error budget(如:Uu error budget(1’),Uu error budget(1”),error budget(2’),Uu error budget(2”))中的error budget(2’),Uu error budget(2”)进一步地确定授时能力评估条件。
PCF确定RAN1的授时能力是否满足UE的授时要求,如图7所示的方法中的情况一:
SA704,PCF根据第二授时精度误差确定第二条件,确定RAN1的授时能力不满足第一条件。
可选地,在PCF确定第一条件之前,PCF根据第二授时精度误差确定第二条件,首先确定RAN1的授时能力是否满足第二条件,当RAN1的授时能力满足第二条件时,即PCF指示RAN1为UE提供授时服务;当RAN1的授时能力不满足第二条件时,即PCF将根据第一授时精度误差确定第一条件,确定RAN1的授时能力是否满足第一条件,即如图7中所示,该方法还包括:
SA705,PCF根据第一授时精度误差确定第一条件,确定RAN1的授时能力满足第一条件。
具体地,PCF根据第一授时精度误差确定第一条件,该第一条件不同于RAN1确定的第二条件,RAN1的授时能力满足第一条件,即,PCF确定RAN1能够为UE提供授时服务。
SA706,PCF向RAN1发送第一授时指示信息,或者说RAN1接收来自PCF的第一授时指示信息。
SA707,RAN1为UE提供授时服务。
应理解,上述步骤SA704为可选步骤,PCF也可以直接根据第一授时精度误差确定第一条件,进一步地PCF确定RAN1的授时能力是否满足第一条件。
还应理解,上述步骤SA705,SA706,SA707具体请参见图5所示的步骤SB505,SB506,SB507为了避免冗余,此处不在赘述。
还应理解,PCF接收到来自RAN1的第二信息后,PCF进一步地确定RAN1是否满足UE请求的授时要求。
当PCF确定RAN1的授时能力不满足第一条件时,如图7所示的方法中的情况二:
SB704,PCF根据第一授时精度误差确定第一条件,确定RAN1的授时能力不满足第一条件。
具体地,PCF根据第一授时精度误差确定第一条件,该第一条件不同于第二条件,RAN1的授时能力不满足第一条件,即,PCF确定RAN1不能为UE提供符合授时要求的授时服务。
SB705,PCF选择其他RAN为UE提供授时服务。
具体地,当PCF确定RAN1不满足第一条件时,PCF在UE的服务的网络设备中选择RAN2进行判断,当RAN2的授时能力UE提供符合要求的授时服务,RAN2不同于RAN#1和RAN1,且RAN2与终端设备具有连接关系或者信息交互。
其中,PCF首先获取RAN2的授时能力,再判断RAN2的授时能力是否满足UE的授时要求。当RAN2的授时能力满足UE的授时要求时,PCF指示RAN2为UE提供授时服务。
当RAN2的授时能力不满足UE的授时要求时,如图7中的情况三:
SC704,PCF向TSCTSF发送第二信息#1,或者说,TSCTSF接收来自PCF的第二信息#1。
具体地,当PCF确定RAN1的授时能力不符合UE的授时要求时,PCF向TSCTSF发送第二信息#1,其中第二信息#1用于指示授时失败。
其中,第二信息#1包括RAN1的标识信息。
SC705,TSCTSF选择其他RAN为UE提供授时服务。
具体地,TSCTSF接收来自PCF的第二信息#1后,TSCTSF确定RAN1的授时能力不满足UE的授时要求,TSCTSF选择其他的RAN为UE提供的授时服务。
步骤SC704具体可以请参见SB704中的详细描述,为了避免冗余,此处不再赘述。
SC706,AF接收来自TSCTSF发送的第二信息#2。
具体地,TSCTSF查询到没有符合UE时限要求的RAN。即TSCTSF发送第二信息#2。
其中,AF通过NEF接收来自TSCTSF发送的第二信息#2。
上述图7中所示的情况三具体可以参见上述图5中所示的情况三中的描述,为了避免冗余,此处不在赘述。
上述图7示出了在UE的服务基站由RAN#1变化为RAN1,RAN1首先通过自身的授时能力确定是否满足UE的授时要求。当RAN1确定自身授时能力满足UE的授时要求时,RAN1为UE提供授时服务。当RAN1确定自身授时能力不满足UE的授时要求时,PCF和TSCTSF根据UE的授时要求做出进一步地判断或者选择其他RAN为UE提供授时服务,进一步地保证系统的是时钟同步的需求。
上述图6和图7主要介绍了本申请实施例在UE发出授时请求的情况下,其中该授时
请求中包括多个授时精度误差,网络设备根据UE的授时请求信息确定自身满足UE的授时要求时,该网络设备直接为UE提供授时服务。当网络设备确定自身授时能力不满足UE的授时要求时,PCF和/或TSCTSF做出进一步地确定,保证了UE能够接收到符合要求的时钟信息,进一步地保证了系统的时钟同步。
上面结合图2和图7详细介绍了本申请实施例的一种时钟同步的方法,下面将结合图8和图9详细介绍本申请实施例提供的一种时钟同步的装置。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文方法实施例,为了简洁,部分内容不再赘述。
图8是本申请实施例提供的一种时钟同步的配置装置示意性框图。该装置800包括收发单元810和处理单元820。收发单元810可以用于实现相应的通信功能。收发单元810还可以称为通信接口或通信单元。处理单元820可以用于实现相应的处理功能,如修改地址等。
可选地,该装置800还包括存储单元,该存储单元可以用于存储指令和/或数据,处理单元820可以读取存储单元中的指令和/或数据,以使得装置实现前述各个方法实施例中设备或网元的动作。
可选地,该装置800还可以包括处理单元820,处理单元820可以用于进行数据处理。
可选地,该装置800还包括存储单元,该存储单元可以用于存储指令和/或数据,处理单元820可以读取存储单元中的指令和/或数据,以使得装置实现前述各个方法实施例中不同的终端设备的动作,例如,用户设备的动作。
该装置800可以用于执行上文各个方法实施例中用户设备或者网络设备所执行的动作,这时,该装置800可以为用户设备或者网络设备,或者用户设备或者网络设备的组成部件,收发单元810用于执行上文方法实施例中用户设备或者网络设备的收发相关的操作,处理单元820用于执行上文方法实施例中用户设备或者网络设备的处理相关的操作。
还应理解,这里的装置800以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置800可以具体为上述实施例中的用户设备或者网络设备,可以用于执行上述各方法实施例中与用户设备或者网络设备对应的各个流程和/或步骤,或者,装置800可以具体为上述实施例中的用户设备或者网络设备,可以用于执行上述各方法实施例中与用户设备或者网络设备对应的各个流程和/或步骤,为避免重复,在此不再赘述。
上述各个方案的装置800具有实现上述方法中用户设备或者网络设备所执行的相应步骤的功能,或者,上述各个方案的装置800具有实现上述方法中用户设备或者网络设备所执行的相应步骤的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块;例如收发单元可以由收发机替代(例如,收发单元中的发送单元可以由发送机替代,收发单元中的接收单元可以由接收机替代),其它单元,如处理单元等可以由处理器替代,分别执行各个方法实施例中的收发操作以及相关的处理操作。
此外,上述收发单元810还可以是收发电路(例如可以包括接收电路和发送电路),
处理单元可以是处理电路。
需要指出的是,图8中的装置可以是前述实施例中的网元或设备,也可以是芯片或者芯片系统,例如:片上系统(system on chip,SoC)。其中,收发单元可以是输入输出电路、通信接口;处理单元为该芯片上集成的处理器或者微处理器或者集成电路。在此不做限定。
如图9所示,本申请实施例提供另一种时钟同步的装置示意性框图。该装置900包括处理器910,处理器910用于执行存储器920存储的计算机程序或指令,或读取存储器920存储的数据/信令,以执行上文各方法实施例中的方法。可选地,处理器910为一个或多个。
可选地,如图9所示,该装置900还包括存储器920,存储器920用于存储计算机程序或指令和/或数据。该存储器920可以与处理器910集成在一起,或者也可以分离设置。可选地,存储器920为一个或多个。
可选地,如图9所示,该装置900还包括收发器930,收发器930用于信号的接收和/或发送。例如,处理器910用于控制收发器930进行信号的接收和/或发送。
作为一种方案,该装置900用于实现上文各个方法实施例中由网元执行的操作。
例如,处理器910用于执行存储器920存储的计算机程序或指令,以实现上文各个方法实施例中的相关操作。例如,图4中所示实施例中的策略控制网元PCF和/或时间敏感通信和时间同步网络网元TSCTSF的方法。
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
还应理解,本申请实施例中提及的存储器可以是易失性存储器和/或非易失性存储器。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。
还需要说明的是,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本申请实施例还提供一种计算机可读存储介质,其上存储有用于实现上述各方法实施例中由用户设备和/或网络设备执行的方法的计算机指令。
例如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由用户设备和/或网络设备执行的方法。
本申请实施例还提供一种计算机程序产品,包含指令,该指令被计算机执行时以实现上述各方法实施例中由用户设备和/或网络设备执行的方法。
本申请实施例还提供一种通信的系统,包括前述的用户设备和/或前述的网络设备。
上述提供的任一种装置中相关内容的解释及有益效果均可参考上文提供的对应的方法实施例,此处不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
本申请中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。其中,A、B以及C均可以为单数或者复数,不作限定。本申请中的多个指两个或多于两个。
在本申请的实施例中,采用了编号“第一”、“第二”对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”并不对数量和先后次序进行限定,并且“第一”、“第二”等也并不限定一定不同。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。例如,所述计算机可以是个人计算机,服务器,或者网络设备等。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD)等。例如,前述的可用介质包括但不限于:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
Claims (38)
- 一种时钟同步的方法,其特征在于,包括:策略控制网元确定第一网络设备的授时能力是否满足第一条件,所述第一条件与第一授时精度误差相关,所述第一授时精度误差是根据第一请求信息确定的,所述第一请求信息用于为终端设备请求授时服务,所述第一请求信息来自应用功能或者所述终端设备;当所述第一网络设备的授时能力满足所述第一条件时,所述策略控制网元向所述第一网络设备发送第一授时指示信息,所述第一授时指示信息用于指示所述第一网络设备为所述终端设备提供授时服务。
- 根据权利要求1所述的方法,其特征在于,在所述策略控制网元确定第一网络设备的授时能力是否满足第一条件之前,所述方法还包括:所述策略控制网元确定所述第一网络设备的授时能力不满足第二条件,所述第二条件与第二授时精度误差相关,所述第二授时精度误差是根据来自所述应用功能网元的所述第一请求信息确定的,且所述第二授时精度误差不大于所述第一授时精度误差。
- 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:所述策略控制网元确定第二网络设备的授时能力不满足所述第二条件,且所述第二网络设备的授时能力不满足所述第一条件。
- 根据权利要求3所述的方法,所述方法还包括:所述策略控制网元向时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示所述第二网络设备为所述终端设备授时失败。
- 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:所述策略控制网元向移动管理网元发送订阅信息,所述订阅信息用于订阅所述终端设备的位置信息;所述策略控制网元接收来自所述移动管理网元发送第一信息,所述第一信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
- 根据权利要求4或5所述的方法,其特征在于,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
- 根据所述权利要求4至6中任一项所述的方法,其特征在于,所述第二信息还包括所述第一网络设备和/或所述第二网络设备为所述终端设备授时失败的原因。
- 根据权利要求1至7中任一项所述的方法,其特征在于,所述第一授时精度误差和所述第二授时精度误差属于授时精度误差,所述授时精度误差来自所述时间敏感通信和时间同步网元。
- 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:所述策略控制网元根据所述终端设备的业务类型与所述第一授时精度误差确定所述第一条件。
- 根据权利要求2至9中任一项所述的方法,其特征在于,所述方法还包括:所述策略控制网元根据所述终端设备的业务类型与所述第二授时精度误差确定所述第二条件。
- 根据权利要求1至10中任一项所述的方法,其特征在于,当所述第一请求信息来自应用功能时,所述第一请求信息包括所述应用功能为所述终端设备请求授时服务的覆盖区域范围。
- 根据权利要求1至11中任一项所述的方法,其特征在于,所述方法还包括:所述策略控制网元接收来自所述第一网络设备和/或所述第二网络设备的授时能力数据,所述授时能力数据用于指示所述第一网络设备和/或所述第二网络设备的授时能力。
- 一种时钟同步的方法,其特征在于,包括:时间敏感通信和时间同步网元确定第一网络设备的授时能力是否满足第三条件,所述第三条件与第三授时精度误差相关,所述第三授时精度误差是根据第一请求信息确定的,所述第一请求信息用于为终端设备请求授时服务,所述第一请求信息来自应用功能或者所述终端设备;当所述第一网络设备的授时能力满足所述第三条件时,所述时间敏感通信和时间同步网元向所述第一网络设备发送第一授时指示信息,所述第一授时指示信息用于指示所述第一网络设备为所述终端设备提供授时服务。
- 根据权利要求13所述的方法,其特征在于,在所述时间敏感通信和时间同步网元确定第一网络设备的授时能力是否满足第三条件之前,所述方法还包括:所述时间敏感通信和时间同步网元确定所述第一网络设备的授时能力不满足所述第四条件,所述第四条件与第四授时精度误差相关,所述第四授时精度误差是根据应用功能为所述第一请求信息确定的,且所述第四授时精度误差不大于所述第三授时精度误差。
- 根据权利要求14所述的方法,其特征在于,所述方法还包括:所述策略控制网元确定第二网络设备的授时能力不满足所述第四条件,且所述第二网络设备的授时能力不满足所述第三条件。
- 根据权利要求14或15所述的方法,其特征在于,所述方法还包括:所述时间敏感通信和时间同步网元发送第二信息,所述第二信息用于指示所述第二网络设备为所述终端设备授时失败。
- 根据权利要求13至16中任一项所述的方法,其特征在于,所述方法还包括:所述时间敏感通信和时间同步网元向策略控制网元发送第三信息,所述第三信息用于指示所述第一网络设备为所述终端设备提供授时服务,其中,所述第三信息包括所述终端设备的标识信息、所述第一网络设备标识信息、所述第三授时精度误差和/或所述第四授时精度误差。
- 根据权利要求16或17所述的方法,其特征在于,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
- 根据权利要求13至18中任一项所述的方法,其特征在于,所述方法还包括:所述时间敏感通信和时间同步网元向移动管理网元发送订阅信息,所述订阅信息用于订阅所述终端设备的位置信息;所述时间敏感通信和时间同步网接收来自所述移动管理网元发送第一信息,所述第一信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
- 根据权利要求19所述的方法,其特征在于,在所述时间敏感通信和时间同步网元 向所述移动管理网元发送订阅信息之前,所述方法还包括:所述时间敏感通信和时间同步网元接收来自策略控制网元的第四信息,所述第四信息包括所述终端设备的标识信息、所述移动管理网元的标识信息、所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
- 根据权利要求16至20中任一项所述的方法,其特征在于,所述第二信息包括所述第一网络设备的标识信息和/或所述第二网络设备的标识信息。
- 根据权利要求13至21中任一项所述的方法,其特征在于,所述方法还包括:所述时间敏感通信和时间同步网元根据所述第一请求信息确定授时精度误差,所述授时精度误差包括第一授时精度误差、第二授时精度误差、所述第三授时精度误差、所述第四授时精度误差;所述时间敏感通信和时间同步网元向所述策略控制网元发送以下至少一个:所述第一授时精度误差,所述第二授时精度误差,所述第三授时精度误差,所述第四授时精度误差。
- 根据权利要求13至22中任一项所述的方法,其特征在于,当所述第一请求信息来自应用功能时,所述第一请求信息包括所述应用功能为所述终端设备请求授时服务的覆盖区域范围。
- 根据权利要求23所述的方法,其特征在于,所述方法还包括:所述时间敏感通信和时间同步网元确定所述终端设备移出所述终端设备请求的覆盖区域范围,所述时间敏感通信和时间同步网元发送停止授时指示信息,所述停止授时指示信息用于指示网络设备停止为所述终端设备提供授时服务,所述网络设备是为所述终端设备提供授时服务的网络设备。
- 根据权利要求13至24中任一项所述的方法,其特征在于,所述方法还包括:所述时间敏感通信和时间同步网元接收来自所述第一网络设备和/或所述第二网络设备的授时能力数据,所述授时能力数据用于指示所述第一网络设备和/或所述第二网络设备的授时能力。
- 根据权利要求13至25中任一项所述的方法,其特征在于,所述方法还包括:所述时间敏感通信和时间同步网元接收来自所述统一数据管理网元的第二响应信息,所述第二响应信息包括所述终端设备的时钟签约数据;所述时间敏感通信和时间同步网元根据第二响应信息确定所述第一请求信息中的授时服务数据是否属于所述终端设备的时钟签约数据。
- 根据权利要求26所述的方法,其特征在于,当所述第一请求信息中的一个或多个授时服务数据属于所述终端设备的时钟签约数据时,所述方法还包括:所述时间敏感通信和时间同步网元向所述终端设备发送第四响应信息,所述第四响应信息用于指示所述时间敏感通信和时间同步网元对所述一个或多个授时服务数据提供授时服务。
- 根据权利要求27所述的方法,其特征在于,所述时间敏感通信和时间同步网元确定所述第一网络设备的授时能力是否满足所述第三条件,包括:所述时间敏感通信和时间同步网元根据所述一个或多个授时服务数据确定所述第一网络设备的授时能力是否满足所述第三条件。
- 根据权利要求26所述的方法,其特征在于,当所述第一请求信息中的授时服务 数据均不属于所述终端设备的时钟签约数据时,所述方法还包括:所述时间敏感通信和时间同步网元向所述终端设备发送拒绝授时服务信息。
- 根据权利要求13至29中任一项所述的方法,其特征在于,所述方法还包括:所述时间敏感通信和时间同步网元向所述统一数据管理网元发送第二请求信息,所述第二请求信息用于请求所述终端设备的时钟签约数据。
- 一种时钟同步的方法,其特征在于,包括:终端设备发送第一请求信息,所述第一请求信息包括一个或多个授时精度误差;所述终端设备接收授时响应信息,所述授时响应信息用于指示第一网络设备为所述终端设备提供授时服务,所述授时响应信息来自所述第一网络设备,或者策略控制网元,或者时间敏感通信和时间同步网元,或者移动管理功能网元。
- 根据权利要求31所述的方法,其特征在于,所述第一请求信息还包括数据网络名称信息和/或单切片选择辅助信息,所述数据网络名称信息和所述单切片选择辅助信息与所述授时精度误差一一对应。
- 一种通信的装置,其特征在于,所述装置包括:用于执行如权利要求1至12中任一项所述的方法的单元,或者用于执行如权利要求13至30中任一项所述的方法的单元或者用于执行如权利要求31或32所述的方法的单元。
- 一种通信的装置,其特征在于,包括:处理器,用于执行存储器中存储的计算机程序,以使得所述装置执行如权利要求1至12中任一项所述的方法,或者以使得所述装置执行如权利要求13至30中任一项所述的方法,或者用于执行如权利要求31或32所述的方法的单元。
- 根据权利要求34所述的装置,其特征在于,所述装置还包括所述存储器。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至12中任意一项所述的方法,或者以使得所述计算机执行如权利要求13至30中任一项所述的方法,或者用于执行如权利要求31或32所述的方法的单元。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括用于执行如权利要求1至12中任一项所述的方法的指令,或者,所述计算机程序产品包括用于执行如权利要求13至30中任一项所述的方法的指令,或者用于执行如权利要求31或32所述的方法的单元。
- 一种通信的系统,其特征在于,包括策略管理网元,时间敏感通信和时间同步网元,终端设备;所述策略管理网元用于执行如权利要求1至12中任一项所述的方法;所述时间敏感通信和时间同步网元用于执行如权利要求13至30中任一项所述的方法;所述终端设备用于执行如权利要求31或32所述的方法的单元。
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210444295 | 2022-04-25 | ||
CN202210444295.6 | 2022-04-25 | ||
CN202210488142.1 | 2022-05-06 | ||
CN202210488142.1A CN116996983A (zh) | 2022-04-25 | 2022-05-06 | 时钟同步的方法和装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023207719A1 true WO2023207719A1 (zh) | 2023-11-02 |
Family
ID=88517712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/089281 WO2023207719A1 (zh) | 2022-04-25 | 2023-04-19 | 时钟同步的方法和装置 |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2023207719A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117452436A (zh) * | 2023-12-26 | 2024-01-26 | 中国科学院国家授时中心 | 一种gnss拒止情景下l频段的授时方法及装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109687931A (zh) * | 2019-02-02 | 2019-04-26 | 北京邮电大学 | 用于移动网络的授时方法、设备及可读存储介质 |
CN112953668A (zh) * | 2019-12-10 | 2021-06-11 | 华为技术有限公司 | 一种通信系统授时方法及相关设备 |
WO2021147090A1 (zh) * | 2020-01-23 | 2021-07-29 | 华为技术有限公司 | 时间同步方法、接入网设备、通信装置、计算机存储介质及通信系统 |
US20210250886A1 (en) * | 2018-09-26 | 2021-08-12 | Huawei Technologies Co., Ltd. | Method, apparatus, and system for determining synchronization cycle |
WO2021198070A1 (en) * | 2020-03-31 | 2021-10-07 | Telefonaktiebolaget Lm Ericsson (Publ) | User equipment capabilities for time sensitive networking |
CN113746585A (zh) * | 2020-05-28 | 2021-12-03 | 华为技术有限公司 | 授时方法和通信装置 |
-
2023
- 2023-04-19 WO PCT/CN2023/089281 patent/WO2023207719A1/zh unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210250886A1 (en) * | 2018-09-26 | 2021-08-12 | Huawei Technologies Co., Ltd. | Method, apparatus, and system for determining synchronization cycle |
CN109687931A (zh) * | 2019-02-02 | 2019-04-26 | 北京邮电大学 | 用于移动网络的授时方法、设备及可读存储介质 |
CN112953668A (zh) * | 2019-12-10 | 2021-06-11 | 华为技术有限公司 | 一种通信系统授时方法及相关设备 |
WO2021147090A1 (zh) * | 2020-01-23 | 2021-07-29 | 华为技术有限公司 | 时间同步方法、接入网设备、通信装置、计算机存储介质及通信系统 |
WO2021198070A1 (en) * | 2020-03-31 | 2021-10-07 | Telefonaktiebolaget Lm Ericsson (Publ) | User equipment capabilities for time sensitive networking |
CN113746585A (zh) * | 2020-05-28 | 2021-12-03 | 华为技术有限公司 | 授时方法和通信装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117452436A (zh) * | 2023-12-26 | 2024-01-26 | 中国科学院国家授时中心 | 一种gnss拒止情景下l频段的授时方法及装置 |
CN117452436B (zh) * | 2023-12-26 | 2024-03-19 | 中国科学院国家授时中心 | 一种gnss拒止情景下l频段的授时方法及装置 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11291064B2 (en) | Communication method, network node, and radio access network system | |
US11012471B2 (en) | Communication method and system for MBMS interest indication communication | |
WO2020164016A1 (zh) | 小区切换的方法和设备 | |
WO2020167087A1 (ko) | 무선 통신 시스템에서 데이터를 전송하기 위한 방법 및 장치 | |
US20230199550A1 (en) | Relay Management Method and Communication Apparatus | |
WO2020077577A1 (zh) | 数据包传输方法和设备 | |
WO2022067643A1 (zh) | 一种小区选择方法、寻呼方法及装置 | |
US20240244491A1 (en) | Communication method and apparatus | |
US20230164685A1 (en) | Access Control Method and Apparatus for Terminal Device | |
US20230209450A1 (en) | Mobility management method and apparatus | |
US20230189054A1 (en) | Relay communication method, and communication apparatus | |
EP4266746A1 (en) | Data transmission method and apparatus | |
WO2023207719A1 (zh) | 时钟同步的方法和装置 | |
WO2023151888A1 (en) | Configuration enhancements for l1/l2 mobility | |
US20210144630A1 (en) | Base station and data transmission method thereof for mobile communication system | |
CN113747605A (zh) | 通信方法和通信装置 | |
US11805563B2 (en) | Wireless communication method and base station | |
US10681702B2 (en) | Communication method and device | |
AU2018442251A1 (en) | Switching processing method, terminal device and network device | |
RU2690778C1 (ru) | Способы установления соответствия cif и обслуживающих сот | |
WO2021081818A1 (zh) | 小区切换的管理方法、设备及存储介质 | |
WO2021204343A1 (en) | Communication system | |
US20230262563A1 (en) | Managing multiple subscriber identities in cellular network | |
WO2022137473A1 (ja) | ネットワークノード、基地局及び通信方法 | |
CN116996983A (zh) | 时钟同步的方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23795152 Country of ref document: EP Kind code of ref document: A1 |