WO2023104123A1 - Communication method and apparatus, and device - Google Patents

Communication method and apparatus, and device Download PDF

Info

Publication number
WO2023104123A1
WO2023104123A1 PCT/CN2022/137355 CN2022137355W WO2023104123A1 WO 2023104123 A1 WO2023104123 A1 WO 2023104123A1 CN 2022137355 W CN2022137355 W CN 2022137355W WO 2023104123 A1 WO2023104123 A1 WO 2023104123A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
network
network device
time
communication device
Prior art date
Application number
PCT/CN2022/137355
Other languages
French (fr)
Chinese (zh)
Inventor
臧昕
周润泽
王远
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023104123A1 publication Critical patent/WO2023104123A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/0015Synchronization between nodes one node acting as a reference for the others
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Definitions

  • the present application relates to the technical field of communication, and in particular to a communication method, device and equipment.
  • a communication device including a clock can provide time information for other communication devices (ie, a timing demander).
  • the timing provider may be a communication device inside the mobile communication system
  • the timing demander may be a communication device inside or outside the mobile communication system.
  • a mobile communication system may include multiple timing providers. How to determine the timing provider that provides time information is a problem that needs to be solved.
  • Embodiments of the present application provide a communication method, device, and equipment to determine a timing provider that provides time information.
  • the embodiment of the present application provides a communication method.
  • the method includes:
  • the clock network function may acquire timing capability information of one or more network devices, where the timing capability information may be used to indicate the capability of the network device to provide time information. Then, the clock network function may select a first network device that provides time information for the first communication device according to the time requirement information of the first communication device and the timing capability information of the one or more network devices.
  • the clock network function After the clock network function obtains the timing capability information of one or more network devices, it can be selected according to the time requirement information of the first communication device and the timing capability information of the one or more network devices.
  • the first network device through which the first communication device provides time information that is, determines the timing provider for providing time information.
  • the clock network function may select the first network device to provide time information for the first communication device.
  • the clock network function may receive the first information.
  • the first information may be used to indicate that the second network device currently providing time information for the first communication device cannot provide services.
  • the second network device when the second network device currently providing time information for the first communication device cannot provide services, the second network device can send the first information to the clock network function; After the first information, a network device that provides time for the first communication device may be reselected according to the timing capability information of the one or more network devices. In this way, the continuity and accuracy of providing time information for the first communication device can be guaranteed.
  • the clock network function may receive the first information from a network storage function or a session management function. Through this design, the clock network function can flexibly acquire the first information.
  • the clock network function may acquire timing capability information of the one or more network devices from a network storage function.
  • the clock network function may send configuration information to the first communication device.
  • the configuration information may include at least one of the following: information used to indicate the time domain resources used by the first network device to send time information, information used to indicate frequency domain resources used by the first network device to send time information , the encryption information that the first network device encrypts the time information sent, the frequency of the first network device sending the time information, and the information used to indicate the area where the first network device sends the time information.
  • the clock network function can send configuration information to the first communication device.
  • the first communication device can receive time information from the first network device according to the configuration information, thereby preventing the first communication device from constantly detecting time information from the first network device, thereby reducing Energy consumption of the first communication device.
  • the clock network function may send a first indication to the first network device.
  • the first indication may instruct the first network device to provide time information for the first communication device.
  • the clock network function can timely notify the first network device to provide time information for the first communication device.
  • the first indication may include at least one of the following: information for indicating a location of the first communication device, and a time accuracy requirement of the first communication device.
  • the clock network function may generate a clock for the first communication device according to the time accuracy requirement of the first communication device Billing information of a communication device.
  • the clock network function may generate charging information for the first communication device according to the time accuracy requirement of the first communication device and the subscription data of the first communication device.
  • the clock network function can accurately determine the charging information for the first communication device.
  • the timing capability information of any network device may include at least one of the following:
  • the time accuracy of the time information provided by the network device the service range of the network device, the frequency of sending the time information by the network device, and the encryption information of the time information by the network device.
  • the time requirement information may include at least one of the following: a time accuracy requirement, a frequency of receiving time information, and information for indicating a location of the first communication device.
  • the embodiment of the present application provides a communication method.
  • the method includes:
  • the first network device After receiving the first indication from the clock network function, the first network device sends time information to the first communication device.
  • the first indication may be used to instruct the first network device to provide time information for the first communication device, and the first network device is the clock network function according to the time requirements of the first communication device information and timing capability information of one or more network devices; the timing capability information of one or more network devices may be used to indicate the capability of the one or more network devices to provide time information.
  • the clock network function selects the first network device (that is, determines the time information for providing time information) according to the time requirement information of the first communication device and the timing capability information of the one or more network devices. After that, the first indication may be sent to the first network device, so as to instruct the first network device to send time information to the first communication device. In addition, through this method, when there are multiple network devices capable of providing time information, the clock network function may instruct the first network device to provide time information for the first communication device.
  • the first network device may information, determining an area for sending time information to the first communication device; and sending time information to the first communication device within the area.
  • the first network device can determine the area for sending time information according to the location of the first communication device. In this way, the first network device can only send time information in some cells without sending time information in all cells, thereby saving resources for sending time information and avoiding waste of resources.
  • the first network device may determine to send the time accuracy requirement to the first communication device according to the time accuracy requirement The time precision of the time information; and sending the time information with the time precision to the first communication device.
  • the first network device can determine the time accuracy of the time information sent by the first network device according to the time accuracy requirements of the first communication device, so as to provide time information for the first communication device in a targeted manner .
  • the first network device before receiving the first indication from the clock network function, may send the timing capability information of the first network device to the network storage function.
  • the first network device can send the timing capability information of the first network device to the clock network function.
  • the clock network function can manage the first network device.
  • the clock network function may select the first network device to provide time information for the first communication device according to the timing capability information of the first network device.
  • the first network device may send first information to the clock network function; where the first information is used to indicate the The first network device cannot provide the service.
  • the first network device when the first network device currently providing time information for the first communication device cannot provide services, the first network device can send the first information to the clock network function; After the first information, the network device that provides time for the first communication device may be reselected according to the locally stored timing capability information of the one or more network devices. In this way, the continuity and accuracy of providing time information for the first communication device can be guaranteed.
  • the first network device may send the first information to the clock network function through a network storage function or a session management function.
  • the first network device can flexibly send the first information to the clock network function.
  • the first network device may send configuration information to the clock network function.
  • the configuration information may include at least one of the following: information used to indicate the time domain resources used by the first network device to send time information, information used to indicate frequency domain resources used by the first network device to send time information , the encryption information that the first network device encrypts the time information sent, the frequency of the first network device sending the time information, and the information used to indicate the area where the first network device sends the time information.
  • the first network device can send configuration information to the clock network function.
  • the clock network function can forward configuration information to the first communication device, so that the first communication device receives time information from the first network device according to the configuration information, thereby avoiding the first
  • the communication device always detects the time information from the first network device, thereby reducing the energy consumption of the first communication device.
  • the timing capability information of any network device may include at least one of the following: the time accuracy of the time information provided by the network device, the service range of the network device, and the time information sent by the network device. Frequency, encryption information of the time information by the network device.
  • the time requirement information may include at least one of the following: a time accuracy requirement, a frequency of receiving time information, and information for indicating a location of the first communication device.
  • the embodiment of the present application provides a communication device, including a unit configured to perform each step in any one of the above aspects.
  • the embodiment of the present application provides a communication device, including at least one processing element and at least one storage element, wherein the at least one storage element is used to store programs and data, and the at least one processing element is used to read and execute The program and data stored in the storage element enable the method provided by any one of the above aspects of the present application to be realized.
  • the embodiment of the present application provides a communication system, including: a clock network function for performing the method provided in the first aspect, and one or more of the first network devices for performing the method provided in the second aspect indivual.
  • the embodiment of the present application further provides a computer program, which, when the computer program is run on a computer, causes the computer to execute the method provided in any one of the above aspects.
  • the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes any one of the above-mentioned method provided.
  • the embodiment of the present application further provides a chip, the chip is used to read a computer program stored in a memory, and execute the method provided in any one of the above aspects.
  • the embodiment of the present application further provides a chip system, where the chip system includes a processor, configured to support a computer device to implement the method provided in any one of the above aspects.
  • the chip system further includes a memory, and the memory is used to store necessary programs and data of the computer device.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • FIG. 1A is an architecture diagram of a communication system provided by an embodiment of the present application.
  • FIG. 1B is an architecture diagram of another communication system provided by an embodiment of the present application.
  • FIG. 1C is an architecture diagram of another communication system provided by the embodiment of the present application.
  • FIG. 2 is a flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 3 is a flow chart of another communication method provided by the embodiment of the present application.
  • FIG. 4 is a flowchart of another communication method provided by the embodiment of the present application.
  • FIG. 5 is a flowchart of another communication method provided by the embodiment of the present application.
  • FIG. 6 is a structural diagram of a communication device provided in an embodiment of the present application.
  • FIG. 7 is a structural diagram of a communication device provided by an embodiment of the present application.
  • the present application provides a communication method, device and equipment for determining a timing provider who provides time information for a timing requester.
  • the method, device and equipment are based on the same technical conception. Since the principles of solving the problems are similar, the implementation of the device, device and method can be referred to each other, and the repetition will not be repeated.
  • the clock network function after the clock network function obtains the timing capability information of one or more network devices, it can, according to the time requirement information of the first communication device and the timing capability information of the one or more network devices, Selecting the first network device that provides time information for the first communication device means determining the timing provider that provides time information.
  • the clock network function may select the first network device from among the multiple network devices to provide time information for the first communication device.
  • Communication equipment generally refers to equipment with communication functions.
  • the communication device may be, but not limited to, a terminal device, an access network (access network, AN) device, an access point, a core network (core network, CN) device, and the like.
  • Network equipment generally refers to communication equipment located in a network of a mobile communication system.
  • the network device may be, but not limited to, an AN device, an access point, a CN device, and the like.
  • Time precision also called time granularity, means the smallest unit to which time information is accurate.
  • the time precision may be 1 microsecond (us) or 500 nanoseconds (ns), etc.
  • nouns as for the number of nouns, unless otherwise specified, it means “singular noun or plural noun", that is, “one or more”. “At least one” means one or more, and “plurality” means two or more. "And/or” describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. "At least one (individual) of the following" or similar expressions refer to any combination of these items (individuals), including any combination of a single item (individuals) or a plurality of item (individuals).
  • FIG. 1A is an architecture diagram of a communication system provided by an embodiment of the present application, which shows a fifth generation (the 5th generation, 5G) network architecture based on a service architecture.
  • the 5G network architecture shown in FIG. 1A may include terminal equipment (for example, UE), access network equipment, and core network equipment.
  • the terminal device accesses the data network (data network, DN) through the access network device and the core network device.
  • data network data network
  • the core network equipment includes some or all of the following network elements: unified data management (unified data management, UDM) network elements, unified database (unified data repository, UDR) network elements, network exposure function (network exposure function, NEF) Network element (not shown in the figure), application function (application function, AF) network element, policy control function (policy control function, PCF) network element, access and mobility management function (access and mobility management function, AMF) Network element, session management function (session management function, SMF) network element, user plane function (user plane function, UPF) network element, network storage function (network repository function, NRF) network element (not shown in the figure), clock Network function (timing network function, TNF) network element.
  • UDM unified data management
  • UDR unified data repository
  • NEF network exposure function
  • NEF network exposure function
  • application function application function, AF
  • policy control function policy control function
  • PCF policy control function
  • AMF access and mobility management function
  • AMF session management function
  • SMF session management function
  • the terminal equipment also called user equipment, UE of this application is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); can also be deployed in the air (such as aircraft, balloons and satellites, etc.).
  • the terminal device may be a mobile phone, a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, an industrial control (industrial control ), wireless terminals in self driving, wireless terminals in remote medical, wireless terminals in smart grid, wireless terminals in transportation safety , wireless terminals in smart cities, wireless terminals in smart homes, etc.
  • VR virtual reality
  • AR augmented reality
  • industrial control industrial control
  • the above-mentioned terminal device can establish a connection with the operator network through an interface provided by the operator network (such as N1, etc.), and use services such as data and/or voice provided by the operator network.
  • the terminal device can also access the DN through the operator's network, and use the operator's service deployed on the DN, and/or the service provided by a third party.
  • the above-mentioned third party may be a service party other than the operator's network and the terminal device, and may provide other services such as data and/or voice for the terminal device.
  • the specific form of expression of the above-mentioned third party can be determined according to the actual application scenario, and is not limited here.
  • the access network device is a device that provides wireless communication functions for terminal devices.
  • Access network equipment includes, but is not limited to: a next-generation base station (g nodeB, gNB) in 5G, an evolved node B (evolved node B, eNB), a radio network controller (radio network controller, RNC), a node B ( node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit , BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
  • g nodeB, gNB next-generation base station
  • eNB evolved node B
  • RNC radio network controller
  • RNC radio network controller
  • node B node B
  • base station controller base station controller
  • BTS base transceiver station
  • Access network equipment and terminal equipment can be fixed or mobile. Access network equipment and terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed on aircraft, balloons and artificial satellites in the air.
  • the embodiments of the present application do not limit the application scenarios of the access network device and the terminal device.
  • the mobility management network element is a control plane network element provided by the operator network, which is responsible for access control and mobility management of terminal equipment accessing the operator network, such as including mobility status management, assigning user temporary identities, Functions such as authenticating and authorizing users.
  • the mobility management network element can be an AMF network element.
  • future communications such as the 6th generation (6G)
  • the mobility management network element can still be an AMF network element, or have other names.
  • the session management network element is a control plane network element provided by an operator network, and is responsible for managing a protocol data unit (protocol data unit, PDU) session of a terminal device.
  • a PDU session is a channel for transmitting PDUs, and terminal equipment needs to transmit PDUs with DN through the PDU session.
  • the PDU session is established, maintained and deleted by the SMF network element.
  • Session management network elements include session management (such as session establishment, modification and release, including tunnel maintenance between user plane network elements and access network equipment), selection and control of user plane network elements, service and session continuity (Service and Session Continuity (SSC) mode selection, roaming and other session-related functions.
  • the session management network element can be an SMF network element.
  • future communications such as 6G, the session management network element can still be an SMF network element, or have other names, which are not limited in this application.
  • the user plane network element is a gateway provided by an operator, and is a gateway for communication between the operator's network and the DN.
  • UPF network elements include data packet routing and transmission, packet detection, service usage reporting, Quality of Service (QoS) processing, lawful interception, uplink packet detection, downlink data packet storage, and other user-plane-related functions.
  • QoS Quality of Service
  • the user plane network element can be a UPF network element.
  • future communication such as 6G, the user plane network element can still be a UPF network element, or have other names, which are not limited in this application.
  • the data management network element is the control plane network element provided by the operator, which is responsible for storing the subscriber permanent identifier (SUPI), credential, and security context of the subscriber in the operator's network. context), signing data and other information.
  • the information stored by the data management network element can be used for authentication and authorization of terminal equipment to access the operator's network.
  • the subscribers of the above-mentioned operator network may specifically be users who use services provided by the operator network, such as users who use China Telecom's mobile phone chip card, or users who use China Mobile's mobile phone chip card.
  • the Subscription Permanent Identifier (SUPI) of the above-mentioned subscriber can be the number of the mobile phone chip card, etc.
  • the credential and security context of the above-mentioned contracted user may be small files stored in the encryption key of the mobile phone chip card or information related to the encryption of the mobile phone chip card for authentication and/or authorization.
  • the aforementioned security context may be data (cookie) or token (token) stored on the user's local terminal (such as a mobile phone).
  • the subscription data of the above-mentioned subscribers can be the supporting services of the mobile phone chip card, such as the data package or network usage of the mobile phone chip card.
  • permanent identifiers, credentials, security contexts, authentication data (cookies), and tokens are equivalent to information related to authentication and authorization. In this application document, for the convenience of description, no distinction or limitation is made.
  • the embodiment of the present application will be described by taking the security context as an example, but the embodiment of the present application is also applicable to authentication and/or authorization information expressed in other ways.
  • the data management network element can be a UDM network element.
  • future communication such as 6G, the data management network element can still be a UDM network element, or have other names, which are not limited in this application.
  • the unified database network element is a control plane network element provided by an operator, and includes the access function for executing contract data, policy data, application data and other types of data.
  • the unified database network element can be a UDR network element.
  • future communications such as 6G, the unified database network element can still be a UDR network element, or have other names, which are not limited in this application.
  • the network open network element is a control plane network element provided by an operator.
  • the network opening network element opens the external interface of the operator's network to the third party in a secure manner.
  • the network open network element can serve as a relay for the session management network element to communicate with the third-party network element.
  • the open network element can be used as the translation of the identification information of the subscriber and the translation of the identification information of the third-party network element. For example, when the network open network element sends the subscriber's SUPI from the operator's network to a third party, it may translate the SUPI into its corresponding external identity (identity, ID).
  • an open network element when an open network element sends an external ID (the third-party network element ID) to the operator network, it can translate it into SUPI.
  • the network open network element can be a NEF network element.
  • future communications such as 6G, the network open network element can still be a NEF network element, or have other names, which are not limited in this application.
  • the application function network element is used to transfer the requirements from the application side to the network side, for example, QoS requirements or user status event subscription.
  • the application function network element can be a third-party functional entity, or an application server deployed by an operator.
  • the application function network element can be an AF network element.
  • future communications such as 6G, the application function network element can still be an AF network element, or have other names, which are not limited in this application.
  • the policy control network element is a control plane function provided by the operator, and is used to provide the policy of the PDU session to the session management network element.
  • Policies may include accounting-related policies, QoS-related policies, and authorization-related policies.
  • the policy control network element can be a PCF network element.
  • future communications such as 6G, the policy control network element can still be a PCF network element, or have other names, which are not limited in this application.
  • the network element with the network storage function may be used to provide the network element discovery function, and provide network element information corresponding to the network element type based on the request of other network elements.
  • the network element with the network storage function also provides network element management services, such as network element registration, update, de-registration, and network element status subscription and push.
  • the network storage function network element may be an NRF network element.
  • future communications such as 6G, the network storage function network element may still be an NRF network element, or have other names, which are not limited in this application.
  • the clock network function network element can be used to manage the information of one or more clocks in the 5G network, and can provide clock time information externally through its own port, such as directly or indirectly to terminal equipment, access network equipment, core Network devices or third-party application function network elements provide clock time information.
  • the time information represents the time, moment or time point of the clock.
  • the clock network function network element can be a TNF network element.
  • the clock network function network element can be a time-sensitive communication and time synchronization function (time sensitive communication&time synchronization function, TSCTSF) (for example, TSCTSF defined by the 3GPP version 17 (R17) standard); in future communications such as 6G, the clock network function network element can still be a TNF network element, or have other names, this application No limit.
  • TSCTSF time sensitive communication&time synchronization function
  • R17 3GPP version 17
  • DN is a network outside the operator's network.
  • the operator's network can access multiple DNs, and various services can be deployed on the DN, which can provide data and/or voice services for terminal equipment.
  • DN is a private network of a smart factory.
  • the sensors installed in the workshop of the smart factory can be terminal devices.
  • the control server of the sensor is deployed in the DN, and the control server can provide services for the sensor.
  • the sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions.
  • DN is a company's internal office network, and the mobile phone or computer of the company's employees can be a terminal device, and the employee's mobile phone or computer can access information and data resources on the company's internal office network.
  • Npcf, Nudr, Nudm, Naf, Namf, Nsmf, and Ntnf in Figure 1A are the service interfaces provided by the above PCF, UDR, UDM, AF, AMF, SMF, and TNF, respectively, and are used to call corresponding service operations.
  • N1, N2, N3, N4, and N6 are interface serial numbers, and the meanings of these interface serial numbers may refer to the description in FIG. 1B.
  • FIG. 1B is an architecture diagram of another communication system provided by the embodiment of the present application, which shows a 5G network architecture based on a point-to-point interface, and the introduction of the functions of the network elements can refer to the function of the corresponding network elements in Figure 1A Introduction, no more details.
  • the main difference between FIG. 1B and FIG. 1A is that: the interface between each control plane network element in FIG. 1A is a service interface, and the interface between each control plane network element in FIG. 1B is a point-to-point interface.
  • N1 the interface between the AMF and the terminal device, which can be used to transmit NAS signaling (such as including QoS rules from the AMF) to the terminal device.
  • N2 the interface between the AMF and the RAN, which can be used to transfer radio bearer control information from the core network side to the RAN.
  • N3 the interface between the RAN and the UPF, mainly used to transfer the uplink and downlink user plane data between the RAN and the UPF.
  • N4 The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the distribution of forwarding rules, QoS control rules, traffic statistics rules, etc. Information reporting.
  • N5 the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
  • N6 the interface between UPF and DN, used to transfer the uplink and downlink user data flow between UPF and DN.
  • N7 the interface between PCF and SMF, which can be used to deliver protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control policy.
  • protocol data unit protocol data unit
  • PDU protocol data unit
  • N8 the interface between AMF and UDM, which can be used for AMF to obtain subscription data and authentication data related to access and mobility management from UDM, and for AMF to register information related to current mobility management of terminal equipment with UDM.
  • N9 a user plane interface between UPF and UPF, used to transmit uplink and downlink user data flows between UPFs.
  • N10 the interface between SMF and UDM, which can be used for SMF to obtain session management-related subscription data from UDM, and for SMF to register current session-related information of terminal equipment with UDM.
  • N11 the interface between SMF and AMF, which can be used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to terminal devices, transfer radio resource control information sent to RAN, etc.
  • N15 the interface between PCF and AMF, which can be used to issue terminal device policies and access control related policies.
  • N35 the interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
  • N36 the interface between PCF and UDR, which can be used for PCF to obtain policy-related subscription data and application data-related information from UDR.
  • the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • a platform for example, a cloud platform.
  • the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
  • FIG. 1C shows the architecture of another possible communication system to which the communication method provided by the embodiment of the present application is applicable.
  • the communication system includes three parts: a terminal station in a time sensitive network (TSN), a 5G network, and a TSN server.
  • TSN time sensitive network
  • the 5G network can be a TSN bridge device (TSN bridge), and the service data packets of the TSN network can be sent uplink/downlink through the mobile communication system. That is to say, the terminal station of TSN and the TSN server can interact through the 5G network.
  • TSN bridge TSN bridge device
  • the 5G network includes a 5G master clock (Grand Master clock, GM).
  • the clock signal of the 5G master clock can come from the Global Positioning System (Global Positioning System, GPS) plugged into the AN device, or from a terrestrial high-precision clock connected through a terrestrial cable.
  • the 5G network is used as a non-transparent clock system (which can be used as a boundary clock or an ordinary clock), and can serve time for TSN nodes (eg, terminal stations, TSN servers) through the 5G master clock.
  • the TSN adapter may include: a device-side TSN adapter (Device-side TSN Translator, DS-TT) connected to the UE in Figure 1C, and a NW-TT connected to the UPF in Figure 1C.
  • DS-TT may also be called UE-TT or other names
  • the TSN adapter may be a device connected to the UE, or a logical function in the UE.
  • the NW-TT can be a device connected to the UPF, or a logical function in the UPF.
  • TSN node for example, a terminal station or a TSN server
  • the AN device completes 5G time synchronization with the UE through the air interface; then, the UE can convert the message including the 5G time into the message format of the TSN domain through the DS-TT (the specific value of the time is not changed, but the format is converted), and sent to the TSN In the terminal station, the time of the terminal station is synchronized with the 5G time.
  • the AN device completes the 5G time synchronization with the UPF through a wired connection; then, the UPF can convert the message including the 5G time into the message format of the TSN domain through the NW-TT (the specific value of the time is not changed, but the format is converted), Send it to the TSN server to synchronize the time of the TSN server with the 5G time.
  • the communication method provided by the embodiment of the present application can also be applied to communication systems of various standards, such as: LTE communication system, 5G communication system, 6G communication system and future communication system, vehicle to everything (V2X), long-term Evolution - Internet of Vehicles (LTE-vehicle, LTE-V), Vehicle to Vehicle (V2V), Internet of Vehicles, Machine Type Communications (Machine Type Communications, MTC), Internet of Things (Internet of Things, IoT), long-term Evolution - machine to machine (LTE-machine to machine, LTE-M), machine to machine (machine to machine, M2M), Internet of Things, etc.
  • LTE communication system 5G communication system
  • V2X vehicle to everything
  • LTE-vehicle LTE-V
  • V2V Vehicle to Vehicle
  • MTC Machine Type Communications
  • Internet of Things Internet of Things
  • LTE-machine to machine LTE-M
  • machine to machine machine to machine
  • M2M Internet of Things
  • each network element may have other names;
  • the physical device can also have other names.
  • An embodiment of the present application provides a communication method, which can be applied to the communication system shown in FIG. 1A-FIG. 1C.
  • TNF as the clock management function network element
  • NRF as the network storage function network element
  • SMF session management function network element
  • TNF acquires timing capability information of one or more network devices.
  • any network device may be an AN device, a UPF, a NW-TT, or a control plane network element, etc.
  • the timing capability information of the one or more network devices may be used to indicate the capability of the one or more network devices to provide time information.
  • the timing capability information of any network device includes at least one of the following:
  • the time accuracy of the time information provided by the network device it is the minimum accurate unit of the time information that the network device can provide, and can represent the error between the clock of the network device and the master clock.
  • the error may be 1 us or 500 ns and so on.
  • the master clock may be one or more of the clocks managed by the TNF.
  • the service range of the network device (also referred to as the timing range of the communication device): Indicates the range in which the network device can provide time information, for example, in the form of a public land mobile network (PLMN)
  • PLMN public land mobile network
  • the frequency (that is, the period) at which the network device sends time information for example, the frequency may be 1 us or 2 us.
  • Encryption information of the time information by the network device for example, the encryption information may be an encryption key or the like.
  • the TNF may acquire timing capability information of the one or more network devices from the NRF. Specifically, the TNF may obtain, but is not limited to, the timing capability information of the one or more network devices from the NRF through the following implementation manners.
  • Implementation manner 1 the TNF may receive the timing capability information of the one or more network devices from the NRF after sending a request to the NRF to obtain the timing capability information.
  • the NRF before sending the timing capability information of the one or more network devices to the TNF, acquires the timing capability information of the one or more network devices in the following manner .
  • each of the one or more network devices sends the timing capability information of the network device to the NRF through the AMF.
  • the NRF may receive the timing capability information of each network device through the AMF.
  • the one or more network devices include a first AN device and a second AN device.
  • the AMF sends a first RAN capability registration request to the NRF after receiving a first next generation (next generation, NG) setup request (NG setup request) from the first AN device.
  • the first NG setup request and the first RAN capability registration request include timing capability information of the first AN device.
  • the AMF sends a second RAN capability registration request to the NRF after receiving the second NG setup request from the second AN device.
  • the second NG setup request and the second RAN capability registration request include timing capability information of the second AN device.
  • Each of the one or more network devices may send the timing capability information of the network device to the NRF through a service interface.
  • the NRF may receive the timing capability information of the network device from each network device through the service interface.
  • each network device may send the timing capability information of the network device to the NRF when it is powered on or registered to the mobile communication system to which the NRF belongs.
  • the NRF may store the timing capability information of the one or more network devices.
  • Implementation manner 2 after the NRF acquires the timing capability information of the network device from each of the one or more network devices, it may send the received timing capability information of the network device to the TNF.
  • the manner in which the NRF obtains the timing capability information of each network device may refer to the implementation manner 1, which will not be repeated here.
  • the TNF after acquiring the timing capability information of the one or more network devices, the TNF saves the timing capability information of the one or more network devices.
  • the TNF can obtain the timing capability information of one or more network devices including clocks, so as to manage the one or more network devices including clocks in the network.
  • any of the above timing capability information may be carried in an existing message (for example, NG setup request (NG setup request), registration request (registration request) or RAN capability registration request), or in a new message (For example, a message used for the NRF to notify the TNF of the clock capability), this application does not limit this.
  • NG setup request for example, NG setup request
  • registration request registration request
  • RAN capability registration request for example, a message used for the NRF to notify the TNF of the clock capability
  • the TNF selects a first network device that provides time information for the first communication device according to the time requirement information of the first communication device and the timing capability information of the one or more network devices.
  • the first communication device may be one of the following: a communication device in a mobile communication system (for example, a 5G mobile communication system) (for example, a terminal device, an AN device or a CN device, etc.), a third-party application, a slave terminal device Devices that obtain time information (for example, campus devices, etc.).
  • a communication device in a mobile communication system for example, a 5G mobile communication system
  • a terminal device for example, a terminal device, an AN device or a CN device, etc.
  • a third-party application may be a device (for example, a server, etc.) that belongs to a third party (for example, a financial industry or an electric power industry, etc.) and needs time information.
  • the first network device when the first network device is an AN device, the first network device may be an AN device accessed by the first communication device (that is, the serving AN device of the first communication device), or may not be The AN device accessed by the first communication device (that is, the non-serving AN device of the first communication device).
  • the time requirement information includes at least one of the following:
  • Time accuracy requirement indicates the time accuracy that the first communication device wishes to obtain, for example, 1 us or 500 ns.
  • Frequency of receiving time information indicates the frequency at which the first communication device wishes to receive time information, for example, 1 us or 2 us.
  • the information used to indicate the location of the first communication device may include at least one of the following: location information of the first communication device (for example, global position system (global position system, GPS) information), the first The identifier of the AN device accessed by the communication device, the address information of the AN device accessed by the first communication device, the identifier of the cell accessed by the first communication device (for example, the serving cell identifier of the first communication device (serving cell ID)).
  • the TNF can select the first communication device according to the time requirement information of the first communication device and the timing capability information of the one or more network devices.
  • the first network device that provides the time information is the timing provider determined to provide the time information.
  • the TNF may select the first network device to provide time information for the first communication device.
  • the TNF may receive the time requirement information from the first communication device.
  • the time requirement information can be carried in an existing message (for example: a registration request (registration request), a protocol data unit (protocol data unit, PDU) session establishment request (PDU session establishment request) or a connection establishment request, etc.
  • In-stratum (non-access-stratum, NAS) message) may also be carried in a new message.
  • This application does not limit the execution order of receiving the time requirement information and acquiring the timing capability information of one or more network devices (ie S201).
  • the TNF may first receive the time requirement information, and then obtain the timing capability information of one or more network devices; or may first obtain the timing capability information of one or more network devices, and then receive the time requirement information.
  • the TNF may execute S202 after receiving the time requirement information of the first communication device.
  • the time requirement information may trigger the TNF to select a first network device that provides time for the first communication device from among the one or more network devices.
  • the TNF may execute S202 after receiving the first information.
  • the first information may trigger the TNF to select a first network device that provides time for the first communication device from among the one or more network devices.
  • the first information may be used to indicate that the second network device currently providing time information for the first communication device cannot provide services.
  • the scenario where the second network device fails to provide services may include, but is not limited to, at least one of the following: a clock failure on the second network device, disconnection of the second network device from the first communication device, and the like.
  • the first information may be carried in an existing message (for example, RAN configuration update (RAN configuration update), RAN capability update request), or may be carried in a new message (for example, a message for updating timing capabilities) .
  • the first information includes: an indication that the service cannot be provided (for example, the first indication field is the first value), and information used to indicate the second network device.
  • the information used to indicate the second network device may include at least one of the following: an identifier of the second network device, and address information of the second network device. For example, when the first information includes a first indication field whose value is the first value and the identifier of the device 1, the first information indicates that the device 1 cannot provide the service.
  • the TNF may, but is not limited to, receive the first information in the following manner.
  • Way 1 The second network device sends the first information to the TNF through the NRF.
  • the TNF receives the first information from the second network device through the NRF.
  • the second network device when providing time information to the first communication device, finds that the second network device cannot provide the service. At this time, the second network device may send the first information to the NRF through the AMF; or, the second network device may send the first information to the NRF through a service interface. After receiving the first information, the NRF sends the first information to the TNF.
  • the second network device is an AN device or a control plane network element.
  • the second network device may be an AN device accessed by the first communication device (that is, the serving AN device of the first communication device), or may not be The AN device accessed by the first communication device (that is, the non-serving AN device of the first communication device).
  • Manner 2 The second network device sends the first information to the TNF through the SMF.
  • the TNF receives the first information from the second network device through the SMF.
  • the second network device when providing time information to the first communication device, finds that the second network device cannot provide the service. Then, the second network device may send the first information to the TNF through the SMF.
  • the second network device is UPF or NW-TT.
  • the second network device when the second network device currently providing time information for the first communication device cannot provide services, the second network device can send the first information to the TNF; after the TNF receives the first information
  • the network device that provides time for the first communication device may be reselected according to the locally stored timing capability information of the one or more network devices. In this way, the continuity and accuracy of providing time information for the first communication device can be guaranteed.
  • the first network device may send the first information to the TNF, so as to trigger the TNF to send the first information from the one or more A network device that provides time for the first communication device is selected among the network devices.
  • the first network device may send the first information to the TNF through NRF or SMF.
  • the manner in which the first network device sends the first information may refer to the manner in which the second network device sends the first information, except that the second network device is replaced by the first network device; the For a manner in which the TNF selects a network device that provides time for the first communication device from the one or more network devices, reference may be made to S202, which will not be repeated here.
  • the TNF may select a network device (that is, the first network device) whose timing capability meets the requirement indicated by the time requirement information from the one or more network devices.
  • a network device that is, the first network device
  • the following example illustrates how the TNF selects the first network device that provides time information for the first communication device from the one or more network devices.
  • the TNF may select a network device whose service scope includes the location indicated by the location information from the one or more network devices.
  • the location information of the first communication device is an identifier of a third AN device accessed by the first communication device, and the TNF selects a service range from the one or more network devices including the third AN device.
  • a network device in the service range of the three AN devices that is, the first network device).
  • the TNF may select a network device whose time precision meets the time precision requirement from the one or more network devices.
  • a network device whose time precision meets the time precision requirement from the one or more network devices.
  • the TNF may select the fifth AN A device (ie, the first network device) provides time information to the first communication device.
  • the TNF may select from the one or more network devices that the frequency of sending time information is higher than or equal to the frequency of receiving time information. degree of network equipment. An example is: when the frequency of receiving time information is receiving time information every 1us, the frequency of sending time information of the sixth AN device is sending time information every 2us, and the frequency of sending time information of the seventh AN device is every 1us
  • the TNF may select the seventh AN device (that is, the first network device) to provide time information for the first communication device.
  • the TNF may select a network device that satisfies the following conditions from the one or more network devices (that is, the The first network device): the service scope includes the location indicated by the location information, and the time accuracy meets the time accuracy requirement.
  • the TNF may select performance (for example, time accuracy, signal Quality, etc.) of a network device (that is, the first network device) with the best quality, or randomly select a network device (that is, the first network device) from the at least two network devices.
  • performance for example, time accuracy, signal Quality, etc.
  • the TNF can select a suitable timing device for the first communication device from one or more network devices according to the timing capability information and the time requirement information.
  • the method further includes S203-S204, which will be described in detail below.
  • the TNF sends a first indication to the first network device.
  • the first network device receives the first indication from the TNF.
  • the first indication may be used to instruct the first network device to provide time information for the first communication device.
  • the first indication may be a message for instructing the first network device to provide time information for the first communication device, or may be an information element in the message.
  • the first information may reuse an information element in an existing message, or may be a new information element in an existing message.
  • the information element may be a second indication field, and when the field takes a second value, it may instruct the first network device to provide time information for the first communication device.
  • the first indication includes at least one of the following: information for indicating the location of the first communication device, and a time accuracy requirement of the first communication device.
  • the first indication is carried in a request message for configuring timing.
  • the first network device may send a response message to the TNF to the request message.
  • the response message may carry a confirmation for the time accuracy requirement of the first communication device, that is, the first network device confirms that the time information provided by it satisfies the time accuracy requirement of the first communication device.
  • the first network device sends time information to the first communication device.
  • the first communication device receives time information from the first network device.
  • the first network device may directly send time information to the first communication device, or may send time information to the first communication device through other devices connected to the first communication device.
  • the terminal device accesses a first AN device
  • the first network device is a second AN device
  • the second AN device may pass through the first AN device The device sends time information to the terminal device.
  • the time information may be a specific time, for example, may be the time of a clock in the first network device.
  • the implementation method of the time information will be described below with an example.
  • the time information is represented by a field in the following format:
  • the refDays-r16 field is used to indicate "days” in the time information
  • the refSeconds-r16 field is used to indicate "seconds” in the time information
  • the refMilliSeconds-r16 field is used to indicate "milliseconds” in the time information
  • refTenNanoSeconds-r16 field is used to indicate "ten nanoseconds” in time information.
  • the corresponding time information may be: 10:1:6, 500 milliseconds, 100 nanoseconds on December 26, 2000.
  • the first communication device After the first communication device receives the ReferenceTime-r16 information, it can calculate the time information according to the conversion rule as: December 26, 2000, 10:01:6, 500 milliseconds, 100 nanoseconds.
  • the time information may also be related information used to determine time, for example, it may be the time between the time of the clock in the first network device and the time of the first communication device difference.
  • the first communication device may calibrate the time of the first communication device according to the difference and the time of the first communication device.
  • the first network device sends time information to the first communication device according to the first indication from the TNF. This will be described in detail below.
  • the first network device may information, determining an area for sending time information to the first communication device; and sending time information to the first communication device within the area.
  • the first network device may select a cell whose service range includes the location of the first communication device, and send time information to the first communication device in the selected cell.
  • the location information of the first communication device is the identifier of the third AN device accessed by the first communication device, and the first network device has three cells, namely cell a, cell b and cell c.
  • the service range of cell c includes the service range of the third AN device
  • the first network device determines that the area for sending time information to the first communication device is cell c, and transmits to the first network device in cell c
  • the communication device transmits time information.
  • the first network device can determine an area for sending time information according to the location of the first communication device. In this way, the first network device can only send time information in some cells without sending time information in all cells, thereby saving resources for sending time information and avoiding waste of resources.
  • the first network device may determine to send the time accuracy requirement to the first communication device according to the time accuracy requirement The time precision of the time information; and sending the time information with the time precision to the first communication device.
  • the first network device may select a time precision that meets the time precision requirement, and send time information with the time precision to the first communication device.
  • the time accuracy requirement of the first communication device is 1 us
  • the time accuracy requirement of the first network device is 50 ns.
  • the first network device may select a first time precision to provide time information for the first communication device.
  • the first time precision is greater than or equal to 50 ns and less than or equal to 1 us.
  • the first network device can determine the time accuracy of the time information sent by the first network device according to the time accuracy requirements of the first communication device, so as to provide time information for the first communication device in a targeted manner .
  • the method further includes S205, which will be specifically described below.
  • the TNF sends configuration information to the first communication device.
  • the first communication device receives the configuration information from the TNF.
  • the configuration information may include at least one of the following: information used to indicate time domain resources (for example, subframes, time slots, sub-slots, or symbols, etc.) for the first network device to send time information; Information indicating the frequency domain resources (for example, frequency point or frequency band) that the first network device sends the time information, encryption information that the first network device encrypts the time information sent, and the time information that the first network device sends The frequency of the information, and the information used to indicate the area where the first network device sends the time information.
  • time domain resources for example, subframes, time slots, sub-slots, or symbols, etc.
  • the configuration information may be carried in an existing message (for example, a NAS message such as a registration response (registration response), a PDU session establishment response (PDU session establishment response) or a connection establishment response), or may be carried in a new message middle.
  • a NAS message such as a registration response (registration response), a PDU session establishment response (PDU session establishment response) or a connection establishment response
  • PDU session establishment response PDU session establishment response
  • connection establishment response a new message middle.
  • the TNF obtains the configuration information in the following manner.
  • Manner a the TNF receives the configuration information from the first network device.
  • the first network device may send a response message to the TNF to the request message.
  • the response message includes the configuration information.
  • Manner b the TNF acquires the configuration information from the first network device and locally.
  • the TNF may obtain the second information from the first network device (for the specific method of obtaining, refer to method a), and obtain the second information from the locally saved
  • the third information is obtained from the timing capability information of the first network device.
  • the second information includes at least one of the following: information used to indicate the time domain resources used by the first network device to send time information, information used to indicate frequency domain resources used by the first network device to send time information .
  • the first communications device receives time information from the first network device.
  • time information For specific content, reference may be made to the operations performed by the first communication device in S204, and repeated descriptions will not be repeated. Only the differences are described below.
  • the The first communication device may receive time information from the first network device on the resource indicated by the configuration information.
  • the first communication device may receive time information from the first network device according to the frequency.
  • the first communication device may use the encryption information to The time information of the network device is decrypted.
  • encryption information for example, a key
  • the first communication device may receive information from the first network within the area indicated by the configuration information. Device time information.
  • the TNF can send configuration information to the first communication device.
  • the first communication device can receive the time information from the first network device according to the configuration information, so as to avoid constantly detecting the time information from the first network device, thereby reducing the performance of the first communication device. consumption.
  • the method further includes S206, which will be described in detail below.
  • the TNF generates charging information for the first communication device according to the time accuracy requirement of the first communication device.
  • the TNF when the time precision requirement of the first communication device is higher than a first precision threshold, the TNF generates charging information for the first communication device.
  • the TNF may also generate charging information for the first communication device according to the time accuracy requirement of the first communication device and the subscription data of the first communication device.
  • the subscription data may indicate a corresponding relationship between the time precision requirement of the first communication device and the charging standard.
  • the TNF may determine a charging standard corresponding to the time accuracy requirement of the first communication device according to the correspondence, and generate charging information for the first communication device corresponding to the charging standard.
  • the billing information may also be related to the time period for which the first communication device needs the time information.
  • the charge indicated by the billing information may be proportional to the time length for which the first communication device needs the time information.
  • the TNF can accurately determine the charging information for the first communication device.
  • the TNF selects from the one or more network devices the first network device that provides time for the first communication device
  • the method shown in FIG. 3 mainly introduces possible situation 1, that is, the time requirement information of the first communication device triggers TNF to select the first network device that provides time for the first communication device
  • the method shown mainly introduces the second possible situation, that is, the first information triggers the TNF to select the first network device that provides time for the first communication device, where the first information can be used to indicate that the current The second network device for which the first communication device provides time information cannot provide services.
  • FIG. 3 may be applicable to the communication system shown in FIGS. 1A-1C .
  • another communication method provided by the embodiment of this application may include the following process:
  • the first AN device sends a first NG setup request (NG setup request) to the AMF.
  • the first AN device may be an AN device accessed by the UE, that is, a serving AN device of the UE.
  • the first NG setup request may include timing capability information of the first AN device.
  • timing capability information of the first AN device For specific content of the timing capability information of the first AN device, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
  • the second AN device sends a second NG establishment request to the AMF.
  • the second AN device may not be an AN device accessed by the UE, that is, a non-serving AN device of the UE.
  • the first NG setup request may include timing capability information of the second AN device.
  • the timing capability information of the second AN device For specific content of the timing capability information of the second AN device, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
  • the AMF sends a RAN capability registration request to the NRF.
  • the RAN capability registration request includes timing capability information of the first AN device and timing capability information of the second AN device.
  • the first AN device and the second AN device may send respective timing capability information to the NRF through a service interface, and at this time, there is no need to transfer through the AMF.
  • the TNF sends a first request to the NRF, where the first request is used to request to acquire timing capability information of one or more network devices managed by the NRF.
  • the NRF sends the timing capability information of the first AN device and the timing capability information of the second AN device to the TNF.
  • the timing capability information of the first AN device and the timing capability information of the second AN device may be carried in an existing message, or may be carried in a new message (for example, a message for sending RAN timing capability )middle.
  • S306 The UE sends time requirement information to the TNF.
  • the time requirement information may be carried in an existing message or in a new message.
  • the time requirement information may be carried in a NAS message (for example, a registration request, a PDU session establishment request, or a connection establishment request) for requesting to acquire time information.
  • the TNF determines a first network device that provides time information for the UE according to the time requirement information, the timing capability information of the first AN device, and the timing capability information of the second AN device.
  • the following takes the first network device as the second AN device as an example for description.
  • the TNF sends a second request to the second AN device.
  • the second request may include the first indication, and for the specific content of the first indication, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
  • the second AN device sends a second response to the TNF.
  • the second response may include at least one of the following: a time-frequency resource for sending time information by the second AN device, and an acknowledgment of the time precision requirement.
  • the TNF sends configuration information to the UE.
  • the configuration information may be carried in an existing message or in a new message.
  • the configuration information may be carried in a NAS message (for example, a registration response (registration response), a PDU session establishment response (PDU session establishment response) or a connection establishment response).
  • S311 The second AN device sends time information to the UE.
  • the second AN device may send time information to the UE through an air interface.
  • the second AN device may send time information to the UE through the first AN device.
  • the TNF records the timing status of the UE, and generates charging information.
  • At least one step in S304, S310 and S312 is an optional step.
  • the NRF may send the first AN device to the TNF after receiving the timing capability information of the first AN device and the timing capability information of the second AN device.
  • the timing capability information of an AN device and the timing capability information of the second AN device may be sent to the TNF after receiving the timing capability information of the first AN device and the timing capability information of the second AN device.
  • the UE may detect time information on all resources.
  • the TNF may not generate charging information for the time information for the UE, and at this time, the network may provide the time information for the UE free of charge.
  • the TNF may determine as The first network device that provides the time information to the UE is the timing provider determined to provide the time information.
  • the TNF may select the first network device from among the one or more network devices to provide time information for the UE.
  • the methods shown in Fig. 4-Fig. 5 mainly introduce “the TNF selects from the one or more network devices the first network device that provides time for the first communication device” in the method shown in Fig. 2
  • the second possible situation of "network device”, that is, the first information triggers the TNF to select the first network device that provides time for the first communication device, wherein the first information can be used to indicate that the first communication device is currently
  • the second network device for which the communication device provides time information cannot provide services.
  • the method shown in FIG. 4 mainly introduces the first implementation of situation 2, that is, the second network device is an AN device;
  • the method shown in FIG. 5 mainly introduces the second implementation of situation 2, that is, the The second network device is UPF or NW-TT.
  • the second network device as an AN device or UPF/NW-TT as an example with reference to FIG. 4 and FIG. 5 .
  • the method shown in FIG. 4 can be applied to the communication system shown in FIG. 1A-FIG. 1C.
  • the TNF can receive information from the control plane indicating that the network device currently providing time information cannot provide services. , according to the timing capability information of one or more network devices, reselect the network device used for timing.
  • the communication method will be described in detail below. For convenience of description, the following takes the first communication device as a UE as an example for description.
  • S401 The first AN device provides time information for the UE.
  • the first AN device may be the AN device accessed by the UE, or may not be the AN device accessed by the UE.
  • the first AN device When the first AN device is an AN device accessed by the UE, the first AN device may send time information to the UE through an air interface.
  • the first AN device may send time information to the UE through the air interface, or send time information to the UE through the AN device accessed by the UE Send time information.
  • the first AN device determines that the first AN device cannot provide a service.
  • the first AN device sends a RAN configuration update (RAN configuration update) to the AMF.
  • RAN configuration update RAN configuration update
  • the RAN configuration update includes the first information.
  • the first information may be used to indicate that the first AN device currently providing time information for the UE cannot provide a service.
  • the specific content of the first information reference may be made to the method shown in FIG. 2 , which will not be repeated here.
  • S404 The AMF sends a RAN capability update request to the NRF.
  • the RAN capability update request includes the first information.
  • the first AN device may send the first information to the NRF through a service interface, and at this time, there is no need to pass through the AMF for relay.
  • S405 The NRF sends the first information to the TNF.
  • the first information may be carried in an existing message, or in a new message (for example, information for updating the timing capability).
  • the TNF determines a first network device that provides time information for the UE according to the timing requirement information of the UE and the timing capability information of one or more network devices.
  • the TNF may obtain the timing capability information of the one or more network devices according to the method shown in FIG. 2 or FIG. 3 .
  • the following description is made by taking the first network device as the second AN device as an example.
  • the TNF sends a second request to the second AN device.
  • S408 The second AN device sends a second response to the TNF.
  • the TNF sends configuration information to the UE.
  • S410 The second AN device sends time information to the UE.
  • the TNF records the timing status of the UE, and generates charging information.
  • At least one step in S409 and S411 is an optional step, and for specific content, refer to the method shown in FIG. 3 , which will not be repeated here.
  • the first AN device when the first AN device currently providing time information for the UE cannot provide services, the first AN device can send the first information to the TNF; after receiving the first information, the TNF can, according to The locally stored timing capability information of one or more network devices reselects a network device that provides time for the UE. In this way, the continuity and accuracy of providing time information for the UE can be guaranteed.
  • the method shown in FIG. 5 can be applied to the communication system shown in FIG. 1A-FIG. 1C.
  • the TNF can receive information from the user plane indicating that the network device currently providing time information cannot provide services. , according to the timing capability information of one or more network devices, reselect the network device used for timing.
  • the communication method will be described in detail. For the convenience of description, the following takes the UE as an example for illustration.
  • UPF or NW-TT provides time information for UE.
  • UPF is taken as an example for illustration.
  • the UPF or NW-TT may provide time information for the UE.
  • the clock in the UPF or the clock in the NW-TT may send the time information to the UE through a user plane PTP message.
  • S502 The UPF or NW-TT determines that it cannot provide services.
  • S503 The UPF or NW-TT sends the first information to the SMF.
  • the first information may be used to indicate that the UPF or NW-TT currently providing time information for the UE cannot provide services.
  • the first information may be carried in an existing message, or in a new message (for example, a message for updating the timing capability).
  • the SMF sends the first information to the TNF.
  • the first information may be carried in an existing message, or in a new message (for example, a message for updating the timing capability).
  • the UPF or the NW-TT may send the first information to the NRF through a service interface, and at this time, there is no need to transfer through the SMF.
  • the TNF determines a first network device that provides time information for the UE according to the timing requirement information of the UE and the timing capability information of one or more network devices.
  • the TNF may obtain the timing capability information of the one or more network devices according to the method shown in FIG. 2 or FIG. 3 .
  • the following description is made by taking the first network device as the second AN device as an example.
  • the TNF sends a second request to the second AN device.
  • S507 The second AN device sends a second response to the TNF.
  • the TNF sends configuration information to the UE.
  • the second AN device sends time information to the UE.
  • the TNF records the timing status of the UE, and generates charging information.
  • At least one step in S508 and S510 is an optional step, and for specific content, reference may be made to the method shown in FIG. 3 , which will not be repeated here.
  • the UPF or NW-TT when the UPF or NW-TT currently providing time information for the UE cannot provide services, the UPF or NW-TT can send the first information to the TNF; after the TNF receives the first information, The network device that provides time for the UE may be reselected according to the locally stored timing capability information of one or more network devices. In this way, the continuity and accuracy of providing time information for the UE can be guaranteed.
  • the embodiment of the present application provides a communication device through FIG. 6 , which can be used to perform the functions of the relevant steps in the above method embodiments.
  • the functions described above may be realized by hardware, or may be realized by software or hardware executes corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the structure of the communication device is shown in FIG. 6 , including a communication unit 601 and a processing unit 602 .
  • the communication apparatus 600 may be applied to TNF, UPF, control plane network element or AN equipment in the communication system shown in FIG. 1A or FIG. 1B , or, the communication apparatus 600 may be applied to the communication system shown in FIG. 1C UPF, NW-TT or AN equipment, and can implement the communication methods provided by the above embodiments and examples of this application.
  • the functions of each unit in the communication device 600 are introduced below.
  • the communication unit 601 is configured to receive and send data.
  • the communication unit 601 may It is realized through physical interfaces, communication modules, communication interfaces, and input and output interfaces.
  • the communication device 600 can be connected with a network cable or cable through the communication unit, and then establish a physical connection with other devices.
  • the communication unit 601 may be implemented by a transceiver, for example, a mobile communication module.
  • the mobile communication module may include at least one antenna, at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA) and the like.
  • the AN device can communicate with the accessed terminal device through the mobile communication module.
  • the processing unit 602 may be configured to support the communication device 600 to execute the processing actions in the foregoing method embodiments.
  • the processing unit 602 may be implemented by a processor.
  • the processor can be a central processing unit (central processing unit, CPU), and can also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC) , field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • a general-purpose processor can be a microprocessor, or any conventional processor.
  • the communication device 600 is applied to the TNF in the embodiment of the present application shown in any one of FIG. 2 to FIG. 5 .
  • the specific functions of the processing unit 602 in this embodiment will be introduced below.
  • the processing unit 602 is configured to obtain timing capability information of one or more network devices; wherein, the timing capability information is used to indicate the capability of the network device to provide time information; according to the time requirement information of the first communication device and The timing capability information of the one or more network devices selects the first network device that provides time information for the first communication device.
  • the processing unit 602 is specifically configured to: receive first information through the communication unit 601 before selecting a first network device that provides time information for the first communication device; wherein, the first information It is used to indicate that the second network device currently providing time information for the first communication device cannot provide services.
  • the processing unit 602 is specifically configured to: use the communication unit 601 to receive the first information from the NRF or SMF.
  • the processing unit 602 is specifically configured to: obtain the timing capability information of the one or more network devices from the NRF through the communication unit 601 .
  • the processing unit 602 is specifically configured to: after selecting a first network device that provides time information for the first communication device, send configuration information to the first communication device through the communication unit 601; wherein , the configuration information includes at least one of the following: information for instructing the first network device to send time domain resource information, information for instructing the first network device to send time domain resource information for time information, the Encrypted information for encrypting the time information sent by the first network device, frequency of sending time information by the first network device, and information for indicating an area where the first network device sends time information.
  • the processing unit 602 is specifically configured to: send a first indication to the first network device through the communication unit 601 after selecting a first network device that provides time information for the first communication device; Wherein, the first indication is used to instruct the first network device to provide time information for the first communication device.
  • the first indication includes at least one of the following: information for indicating the location of the first communication device, and a time accuracy requirement of the first communication device.
  • the processing unit 602 is specifically configured to: after selecting the first network device that provides time information for the first communication device, according to the time accuracy requirements of the first communication device, generate Billing information for communication devices.
  • the processing unit 602 is specifically configured to: generate billing information for the first communication device according to the time accuracy requirement of the first communication device and the subscription data of the first communication device.
  • the timing capability information of any network device includes at least one of the following: the time accuracy of the time information provided by the network device, the service range of the network device, the frequency of sending time information by the network device, the Encrypted information of time information by network equipment.
  • the time requirement information includes at least one of the following: time accuracy requirements, frequency of receiving time information, and information for indicating the location of the first communication device.
  • the communication device 600 is applied to the first network device in any one of the embodiments of the present application shown in FIG. 2-FIG. 5 (for example, the first network device in FIG. 2, the first network device in FIG. The second AN device shown in any one of 5).
  • the specific functions of the processing unit 602 in this embodiment will be introduced below.
  • the processing unit 602 is configured to receive a first indication from the TNF through the communication unit 601; wherein the first indication is used to instruct the first network device to provide time information for the first communication device, and the first network
  • the device is a network device selected by the TNF to provide time information for the first communication device according to the time requirement information of the first communication device and the timing capability information of one or more network devices; the one or more The timing capability information of the network device is used to indicate the capability of the one or more network devices to provide time information; and the time information is sent to the first communication device through the communication unit 601 .
  • the processing unit 602 is specifically configured to: when the first indication includes information indicating the location of the first communication device, according to the information indicating the location of the first communication device, Determine an area for sending time information to the first communication device; in the area, send time information to the first communication device through the communication unit 601 .
  • the processing unit 602 is specifically configured to: when the first indication includes a time accuracy requirement of the first communication device, determine the time to send to the first communication device according to the time accuracy requirement Time precision of information: sending time information with the time precision to the first communication device through the communication unit 601 .
  • the processing unit 602 is specifically configured to: before receiving the first indication from the TNF, send the timing capability information of the first network device to the TNF through the communication unit 601 via the NRF.
  • the processing unit 602 is specifically configured to: send first information to the TNF through the communication unit 601 after sending time information to the first communication device; where the first information is used to Indicate that the first network device cannot provide the service.
  • the processing unit 602 is specifically configured to: use the communication unit 601 to send the first information to the TNF via NRF or SMF.
  • the processing unit 602 is specifically configured to: after receiving the first indication from the TNF, send configuration information to the TNF through the communication unit 601; wherein the configuration information includes at least one of the following: The information used to indicate the time domain resource for sending time information by the first network device, the information for frequency domain resource for indicating the first network device to send time information, and the first network device encrypts the time information sent The encryption information of the first network device, the frequency of sending the time information by the first network device, and the information used to indicate the area where the first network device sends the time information.
  • the timing capability information of any network device includes at least one of the following: the time accuracy of the time information provided by the network device, the service range of the network device, the frequency of sending time information by the network device, the Encrypted information of time information by network equipment.
  • the time requirement information includes at least one of the following: a time accuracy requirement, a frequency of receiving time information, and information for indicating a location of the first communication device.
  • each function in each embodiment of the present application Units can be integrated into one processing unit, or physically exist separately, or two or more units can be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
  • the embodiment of the present application provides a communication device as shown in FIG. 7 , which can be used to execute the relevant steps in the above method embodiments.
  • the communication device may be applied to a TNF, UPF, control plane network element or AN device in the communication system shown in FIG. 1A or FIG. 1B , or, the communication apparatus 600 may be applied to a
  • the UPF, NW-TT or AN equipment can implement the communication methods provided in the above embodiments and examples of the present application, and have the functions of the communication device shown in FIG. 6 .
  • the communication device 700 includes: a communication module 701 , a processor 702 and a memory 703 . Wherein, the communication module 701 , the processor 702 and the memory 703 are connected to each other.
  • the communication module 701 , the processor 702 and the memory 703 are connected to each other through a bus 704 .
  • the bus 704 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus or the like.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 7 , but it does not mean that there is only one bus or one type of bus.
  • the communication module 701 is configured to receive and send data to realize communication interaction with other devices.
  • the communication module 701 may be implemented through a physical interface, a communication module, a communication interface, or an input/output interface.
  • the processor 702 may be configured to support the communication device 700 to execute the processing actions in the foregoing method embodiments. When the communication device 700 is used to implement the foregoing method embodiments, the processor 702 may also be configured to implement the functions of the foregoing processing unit 602 .
  • the processor 702 may be a CPU, or other general-purpose processors, DSP, ASIC, FPGA or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • a general-purpose processor can be a microprocessor, or any conventional processor.
  • the communication device 700 is applied to the TNF in the embodiment of the present application shown in any one of FIG. 2 to FIG. 5 .
  • the processor 702 is specifically used for:
  • Timing capability information of one or more network devices Acquiring timing capability information of one or more network devices; wherein, the timing capability information is used to indicate the capability of the network device to provide time information; according to the time requirement information of the first communication device and the one or more network devices Selecting the first network device that provides time information for the first communication device.
  • the communication device 700 is applied to the first network device in the embodiment of the present application shown in any one of FIGS. 2-5 (for example, the first network device in FIG. 2, the first network device in FIG. The second AN device shown in any one of 5).
  • the processor 702 is specifically used for:
  • the first indication is used to instruct the first network device to provide time information for the first communication device, and the first network device is the TNF according to The time requirement information of the first communication device and the timing capability information of one or more network devices, the network device selected to provide time information for the first communication device; the timing capability information of the one or more network devices It is used to indicate the capability of the one or more network devices to provide time information; sending the time information to the first communication device through the communication module 701 .
  • processor 702 For the specific functions of the processor 702, refer to the descriptions in the above embodiments of the application and the communication methods provided in the examples, as well as the specific function description of the communication device 600 in the embodiment of the application shown in FIG. 6 , which will not be repeated here. repeat.
  • the memory 703 is used to store program instructions and data.
  • the program instructions may include program codes including computer operation instructions.
  • the memory 703 may include a RAM, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the processor 702 executes the program instructions stored in the memory 703, and uses the data stored in the memory 703 to implement the above functions, thereby realizing the communication method provided by the above embodiments of the present application.
  • the memory 703 in FIG. 7 of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
  • the non-volatile memory can be ROM, programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM) , EEPROM) or flash memory.
  • Volatile memory can be RAM, which acts as external cache memory.
  • RAM Static Random Access Memory
  • SRAM Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • Synchronous Dynamic Random Access Memory Synchronous Dynamic Random Access Memory
  • 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 connection dynamic random access memory
  • Synchlink DRAM, SLDRAM Direct Memory Bus Random Access Memory
  • Direct Rambus RAM Direct Rambus RAM
  • an embodiment of the present application further provides a computer program that, when the computer program is run on a computer, causes the computer to execute the method provided in the above embodiments.
  • the embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a computer, the computer executes the method provided in the above embodiments .
  • the storage medium may be any available medium that can be accessed by a computer.
  • computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or may be used to carry or store information in the form of instructions or data structures desired program code and any other medium that can be accessed by a computer.
  • an embodiment of the present application further provides a chip, the chip is used to read a computer program stored in a memory, and implement the method provided in the above embodiments.
  • an embodiment of the present application provides a chip system, where the chip system includes a processor, configured to support a computer device to implement functions involved in each device in the above embodiments.
  • the chip system further includes a memory, and the memory is used to store necessary programs and data of the computer device.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • the embodiment of the present application provides a communication method, device, and equipment.
  • TNF obtains the timing capability information of one or more network equipment, it can and the timing capability information of the one or more network devices, select the first network device that provides time information for the first communication device, that is, determine the timing provider for providing time information.
  • the TNF may select the first network device to provide time information for the first communication device.
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

Landscapes

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

Abstract

The present application discloses a communication method and apparatus, and a device, used for determining a time service provider for providing time information. The method comprises: after obtaining time service capability information of one or more network devices, a clock network function may select, according to time requirement information of a first communication device and the time service capability information of the one or more network devices, a first network device that provides time information for the first communication device. By means of the method, the clock network function may determine a time service provider for providing time information.

Description

一种通信方法、装置及设备A communication method, device and equipment
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年12月09日提交中国专利局、申请号为202111497791.X、申请名称为“一种通信方法、装置及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111497791.X and the application title "a communication method, device and equipment" filed with the China Patent Office on December 09, 2021, the entire contents of which are incorporated by reference in In this application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种通信方法、装置及设备。The present application relates to the technical field of communication, and in particular to a communication method, device and equipment.
背景技术Background technique
移动通信系统(例如,从第五代(5 th generation,5G)移动通信系统)中,包含时钟的通信设备(即授时提供方)可以为其他通信设备(即授时需求方)提供时间信息。其中,授时提供方可以是移动通信系统内部的通信设备,授时需求方可以是移动通信系统内部或外部的通信设备。 In a mobile communication system (for example, from the fifth generation (5 th generation, 5G) mobile communication system), a communication device including a clock (ie, a timing provider) can provide time information for other communication devices (ie, a timing demander). Wherein, the timing provider may be a communication device inside the mobile communication system, and the timing demander may be a communication device inside or outside the mobile communication system.
目前,移动通信系统中可能包括多个授时提供方。如何确定提供时间信息的授时提供方,是一个需要解决的问题。Currently, a mobile communication system may include multiple timing providers. How to determine the timing provider that provides time information is a problem that needs to be solved.
发明内容Contents of the invention
本申请实施例提供了一种通信方法、装置及设备,以确定提供时间信息的授时提供方。Embodiments of the present application provide a communication method, device, and equipment to determine a timing provider that provides time information.
第一方面,本申请实施例提供了一种通信方法。该方法包括:In a first aspect, the embodiment of the present application provides a communication method. The method includes:
时钟网络功能可以获取一个或者多个网络设备的授时能力信息,其中,所述授时能力信息可以用于指示所述网络设备提供时间信息的能力。然后,所述时钟网络功能可以根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备。The clock network function may acquire timing capability information of one or more network devices, where the timing capability information may be used to indicate the capability of the network device to provide time information. Then, the clock network function may select a first network device that provides time information for the first communication device according to the time requirement information of the first communication device and the timing capability information of the one or more network devices.
通过该方法,所述时钟网络功能在获取一个或者多个网络设备的授时能力信息之后,可以根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备,即确定出用于提供时间信息的授时提供方。另外,通过该方法,当存在多个能够提供时间信息的网络设备时,所述时钟网络功能可以选择所述第一网络设备来为所述第一通信设备提供时间信息。Through this method, after the clock network function obtains the timing capability information of one or more network devices, it can be selected according to the time requirement information of the first communication device and the timing capability information of the one or more network devices. The first network device through which the first communication device provides time information, that is, determines the timing provider for providing time information. In addition, through this method, when there are multiple network devices capable of providing time information, the clock network function may select the first network device to provide time information for the first communication device.
在一种可能的设计中,在选择为所述第一通信设备提供时间信息的第一网络设备之前,所述时钟网络功能可以接收第一信息。其中,所述第一信息可以用于指示当前为所述第一通信设备提供时间信息的第二网络设备无法提供服务。In a possible design, before selecting a first network device that provides time information for the first communication device, the clock network function may receive the first information. Wherein, the first information may be used to indicate that the second network device currently providing time information for the first communication device cannot provide services.
通过该设计,当当前为所述第一通信设备提供时间信息的第二网络设备无法提供服务时,所述第二网络设备可以向时钟网络功能发送第一信息;所述时钟网络功能在接收到第一信息之后,可以根据所述一个或者多个网络设备的授时能力信息重新选择为所述第一通信设备提供时间的网络设备。这样,可以保证为所述第一通信设备提供时间信息的连续性和准确性。Through this design, when the second network device currently providing time information for the first communication device cannot provide services, the second network device can send the first information to the clock network function; After the first information, a network device that provides time for the first communication device may be reselected according to the timing capability information of the one or more network devices. In this way, the continuity and accuracy of providing time information for the first communication device can be guaranteed.
在一种可能的设计中,所述时钟网络功能可以接收来自网络存储功能或会话管理功能的所述第一信息。通过该设计,所述时钟网络功能可以灵活的获取所述第一信息。In a possible design, the clock network function may receive the first information from a network storage function or a session management function. Through this design, the clock network function can flexibly acquire the first information.
在一种可能的设计中,所述时钟网络功能可以从网络存储功能获取所述一个或者多个网络设备的授时能力信息。In a possible design, the clock network function may acquire timing capability information of the one or more network devices from a network storage function.
在一种可能的设计中,在选择为所述第一通信设备提供时间信息的第一网络设备之后,所述时钟网络功能可以向所述第一通信设备发送配置信息。其中,所述配置信息可以包括以下至少一项:用于指示所述第一网络设备发送时间信息的时域资源的信息、用于指示所述第一网络设备发送时间信息的频域资源的信息、所述第一网络设备对发送的时间信息进行加密的加密信息、所述第一网络设备发送时间信息的频度、用于指示所述第一网络设备发送时间信息的区域的信息。In a possible design, after the first network device that provides time information for the first communication device is selected, the clock network function may send configuration information to the first communication device. Wherein, the configuration information may include at least one of the following: information used to indicate the time domain resources used by the first network device to send time information, information used to indicate frequency domain resources used by the first network device to send time information , the encryption information that the first network device encrypts the time information sent, the frequency of the first network device sending the time information, and the information used to indicate the area where the first network device sends the time information.
通过该设计,所述时钟网络功能可以向所述第一通信设备发送配置信息。这样,所述第一通信设备可以根据所述配置信息接收来自所述第一网络设备的时间信息,从而可以避免所述第一通信设备一直检测来自所述第一网络设备的时间信息,进而降低所述第一通信设备的能耗。With this design, the clock network function can send configuration information to the first communication device. In this way, the first communication device can receive time information from the first network device according to the configuration information, thereby preventing the first communication device from constantly detecting time information from the first network device, thereby reducing Energy consumption of the first communication device.
在一种可能的设计中,在选择为所述第一通信设备提供时间信息的第一网络设备之后,所述时钟网络功能可以向所述第一网络设备发送第一指示。其中,所述第一指示可以指示所述第一网络设备为所述第一通信设备提供时间信息。In a possible design, after selecting a first network device that provides time information for the first communication device, the clock network function may send a first indication to the first network device. Wherein, the first indication may instruct the first network device to provide time information for the first communication device.
通过该设计,所述时钟网络功能可以及时的通知第一网络设备为所述第一通信设备提供时间信息。Through this design, the clock network function can timely notify the first network device to provide time information for the first communication device.
在一种可能的设计中,所述第一指示可以包括以下至少一项:用于指示所述第一通信设备位置的信息、所述第一通信设备的时间精度需求。In a possible design, the first indication may include at least one of the following: information for indicating a location of the first communication device, and a time accuracy requirement of the first communication device.
在一种可能的设计中,在选择为所述第一通信设备提供时间信息的第一网络设备之后,所述时钟网络功能可以根据所述第一通信设备的时间精度需求,生成针对所述第一通信设备的计费信息。In a possible design, after selecting the first network device that provides time information for the first communication device, the clock network function may generate a clock for the first communication device according to the time accuracy requirement of the first communication device Billing information of a communication device.
可选的,所述时钟网络功能可以根据所述第一通信设备的时间精度需求和所述第一通信设备的签约数据,生成针对所述第一通信设备的计费信息。Optionally, the clock network function may generate charging information for the first communication device according to the time accuracy requirement of the first communication device and the subscription data of the first communication device.
通过该设计,所述时钟网络功能可以准确的确定针对第一通信设备的计费信息。Through this design, the clock network function can accurately determine the charging information for the first communication device.
在一种可能的设计中,任一个网络设备的授时能力信息可以包括以下至少一项:In a possible design, the timing capability information of any network device may include at least one of the following:
所述网络设备提供时间信息的时间精度、所述网络设备的服务范围、所述网络设备发送时间信息的频度、所述网络设备对时间信息的加密信息。The time accuracy of the time information provided by the network device, the service range of the network device, the frequency of sending the time information by the network device, and the encryption information of the time information by the network device.
在一种可能的设计中,所述时间需求信息可以包括以下至少一项:时间精度需求、接收时间信息的频度、用于指示所述第一通信设备位置的信息。In a possible design, the time requirement information may include at least one of the following: a time accuracy requirement, a frequency of receiving time information, and information for indicating a location of the first communication device.
第二方面,本申请实施例提供了一种通信方法。该方法包括:In a second aspect, the embodiment of the present application provides a communication method. The method includes:
第一网络设备在接收到来自时钟网络功能的第一指示之后,向第一通信设备发送时间信息。其中,所述第一指示可以用于指示所述第一网络设备为所述第一通信设备提供时间信息,所述第一网络设备是所述时钟网络功能根据所述第一通信设备的时间需求信息和一个或者多个网络设备的授时能力信息选择的;所述一个或者多个网络设备的授时能力信息可以用于指示所述一个或者多个网络设备提供时间信息的能力。After receiving the first indication from the clock network function, the first network device sends time information to the first communication device. Wherein, the first indication may be used to instruct the first network device to provide time information for the first communication device, and the first network device is the clock network function according to the time requirements of the first communication device information and timing capability information of one or more network devices; the timing capability information of one or more network devices may be used to indicate the capability of the one or more network devices to provide time information.
通过该方法,所述时钟网络功能在根据第一通信设备的时间需求信息和所述一个或者 多个网络设备的授时能力信息,选择出所述第一网络设备(即确定出用于提供时间信息的授时提供方)之后,可以向所述第一网络设备发送所述第一指示,以指示所述第一网络设备向所述第一通信设备发送时间信息。另外,通过该方法,当存在多个能够提供时间信息的网络设备时,所述时钟网络功能可以指示所述第一网络设备为所述第一通信设备提供时间信息。Through this method, the clock network function selects the first network device (that is, determines the time information for providing time information) according to the time requirement information of the first communication device and the timing capability information of the one or more network devices. After that, the first indication may be sent to the first network device, so as to instruct the first network device to send time information to the first communication device. In addition, through this method, when there are multiple network devices capable of providing time information, the clock network function may instruct the first network device to provide time information for the first communication device.
在一种可能的设计中,当所述第一指示包括用于指示所述第一通信设备位置的信息时,所述第一网络设备可以根据所述用于指示所述第一通信设备位置的信息,确定向所述第一通信设备发送时间信息的区域;并在所述区域内,向所述第一通信设备发送时间信息。In a possible design, when the first indication includes information indicating the location of the first communication device, the first network device may information, determining an area for sending time information to the first communication device; and sending time information to the first communication device within the area.
通过该设计,所述第一网络设备可以根据第一通信设备的位置,确定发送时间信息的区域。这样,所述第一网络设备可以仅在部分小区内发送时间信息,无需在所有小区内都发送时间信息,从而可以节约发送时间信息的资源,避免资源浪费。With this design, the first network device can determine the area for sending time information according to the location of the first communication device. In this way, the first network device can only send time information in some cells without sending time information in all cells, thereby saving resources for sending time information and avoiding waste of resources.
在一种可能的设计中,当所述第一指示包括所述第一通信设备的时间精度需求时,所述第一网络设备可以根据所述时间精度需求,确定向所述第一通信设备发送的时间信息的时间精度;并向所述第一通信设备发送具有所述时间精度的时间信息。In a possible design, when the first indication includes the time accuracy requirement of the first communication device, the first network device may determine to send the time accuracy requirement to the first communication device according to the time accuracy requirement The time precision of the time information; and sending the time information with the time precision to the first communication device.
通过该设计,所述第一网络设备可以根据第一通信设备的时间精度需求,确定所述第一网络设备发送时间信息的时间精度,从而有针对性地为所述第一通信设备提供时间信息。Through this design, the first network device can determine the time accuracy of the time information sent by the first network device according to the time accuracy requirements of the first communication device, so as to provide time information for the first communication device in a targeted manner .
在一种可能的设计中,在接收来自时钟网络功能的第一指示之前,所述第一网络设备可以向网络存储功能发送所述第一网络设备的授时能力信息。In a possible design, before receiving the first indication from the clock network function, the first network device may send the timing capability information of the first network device to the network storage function.
通过该设计,所述第一网络设备可以向所述时钟网络功能发送所述第一网络设备的授时能力信息。这样,所述时钟网络功能可以对所述第一网络设备进行管理。例如,所述时钟网络功能可以根据所述第一网络设备的授时能力信息,选择所述第一网络设备来为所述第一通信设备提供时间信息。With this design, the first network device can send the timing capability information of the first network device to the clock network function. In this way, the clock network function can manage the first network device. For example, the clock network function may select the first network device to provide time information for the first communication device according to the timing capability information of the first network device.
在一种可能的设计中,在向所述第一通信设备发送时间信息之后,所述第一网络设备可以向所述时钟网络功能发送第一信息;其中,所述第一信息用于指示所述第一网络设备无法提供服务。In a possible design, after sending time information to the first communication device, the first network device may send first information to the clock network function; where the first information is used to indicate the The first network device cannot provide the service.
通过该设计,当当前为所述第一通信设备提供时间信息的第一网络设备无法提供服务时,所述第一网络设备可以向时钟网络功能发送第一信息;所述时钟网络功能在接收到第一信息之后,可以根据本地保存的所述一个或者多个网络设备的授时能力信息重新选择为所述第一通信设备提供时间的网络设备。这样,可以保证为所述第一通信设备提供时间信息的连续性和准确性。Through this design, when the first network device currently providing time information for the first communication device cannot provide services, the first network device can send the first information to the clock network function; After the first information, the network device that provides time for the first communication device may be reselected according to the locally stored timing capability information of the one or more network devices. In this way, the continuity and accuracy of providing time information for the first communication device can be guaranteed.
在一种可能的设计中,所述第一网络设备可以通过网络存储功能或会话管理功能向所述时钟网络功能发送所述第一信息。通过该设计,所述第一网络设备可以灵活的向所述时钟网络功能发送所述第一信息。In a possible design, the first network device may send the first information to the clock network function through a network storage function or a session management function. With this design, the first network device can flexibly send the first information to the clock network function.
在一种可能的设计中,在接收来自时钟网络功能的第一指示之后,所述第一网络设备可以向所述时钟网络功能发送配置信息。其中,所述配置信息可以包括以下至少一项:用于指示所述第一网络设备发送时间信息的时域资源的信息、用于指示所述第一网络设备发送时间信息的频域资源的信息、所述第一网络设备对发送的时间信息进行加密的加密信息、所述第一网络设备发送时间信息的频度、用于指示所述第一网络设备发送时间信息的区域的信息。In a possible design, after receiving the first indication from the clock network function, the first network device may send configuration information to the clock network function. Wherein, the configuration information may include at least one of the following: information used to indicate the time domain resources used by the first network device to send time information, information used to indicate frequency domain resources used by the first network device to send time information , the encryption information that the first network device encrypts the time information sent, the frequency of the first network device sending the time information, and the information used to indicate the area where the first network device sends the time information.
通过该设计,所述第一网络设备可以向所述时钟网络功能发送配置信息。这样,所述 时钟网络功能可以向所述第一通信设备转发配置信息,使得所述第一通信设备根据所述配置信息接收来自所述第一网络设备的时间信息,从而可以避免所述第一通信设备一直检测来自所述第一网络设备的时间信息,进而降低所述第一通信设备的能耗。With this design, the first network device can send configuration information to the clock network function. In this way, the clock network function can forward configuration information to the first communication device, so that the first communication device receives time information from the first network device according to the configuration information, thereby avoiding the first The communication device always detects the time information from the first network device, thereby reducing the energy consumption of the first communication device.
在一种可能的设计中,任一个网络设备的授时能力信息可以包括以下至少一项:所述网络设备提供时间信息的时间精度、所述网络设备的服务范围、所述网络设备发送时间信息的频度、所述网络设备对时间信息的加密信息。In a possible design, the timing capability information of any network device may include at least one of the following: the time accuracy of the time information provided by the network device, the service range of the network device, and the time information sent by the network device. Frequency, encryption information of the time information by the network device.
在一种可能的设计中,所述时间需求信息可以包括以下至少一项:时间精度需求、接收时间信息的频度、用于指示所述第一通信设备位置的信息。In a possible design, the time requirement information may include at least one of the following: a time accuracy requirement, a frequency of receiving time information, and information for indicating a location of the first communication device.
第三方面,本申请实施例提供了一种通信装置,包括用于执行以上任一方面中各个步骤的单元。In a third aspect, the embodiment of the present application provides a communication device, including a unit configured to perform each step in any one of the above aspects.
第四方面,本申请实施例提供了一种通信设备,包括至少一个处理元件和至少一个存储元件,其中该至少一个存储元件用于存储程序和数据,该至少一个处理元件用于读取并执行存储元件存储的程序和数据,以使得本申请以上任一方面提供的方法被实现。In a fourth aspect, the embodiment of the present application provides a communication device, including at least one processing element and at least one storage element, wherein the at least one storage element is used to store programs and data, and the at least one processing element is used to read and execute The program and data stored in the storage element enable the method provided by any one of the above aspects of the present application to be realized.
第五方面,本申请实施例提供了一种通信系统,包括:用于执行第一方面提供的方法的时钟网络功能,用于执行第二方面提供的方法的第一网络设备中的一个或多个。In the fifth aspect, the embodiment of the present application provides a communication system, including: a clock network function for performing the method provided in the first aspect, and one or more of the first network devices for performing the method provided in the second aspect indivual.
第六方面,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述任一方面提供的方法。In a sixth aspect, the embodiment of the present application further provides a computer program, which, when the computer program is run on a computer, causes the computer to execute the method provided in any one of the above aspects.
第七方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序被计算机执行时,使得所述计算机执行上述任一方面提供的方法。In the seventh aspect, the embodiment of the present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a computer, the computer executes any one of the above-mentioned method provided.
第八方面,本申请实施例还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,执行上述任一方面提供的方法。In an eighth aspect, the embodiment of the present application further provides a chip, the chip is used to read a computer program stored in a memory, and execute the method provided in any one of the above aspects.
第九方面,本申请实施例还提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现上述任一方面提供的方法。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a ninth aspect, the embodiment of the present application further provides a chip system, where the chip system includes a processor, configured to support a computer device to implement the method provided in any one of the above aspects. In a possible design, the chip system further includes a memory, and the memory is used to store necessary programs and data of the computer device. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
上述第三方面至第九方面中任一方面可以达到的技术效果可以参照上述第一方面或第二方面中任一方面中任一种可能设计可以达到的技术效果说明,重复之处不予论述。The technical effects that can be achieved by any one of the above-mentioned third to ninth aspects can be described with reference to the technical effects that can be achieved by any possible design of any one of the above-mentioned first or second aspects, and the repetition will not be discussed .
附图说明Description of drawings
图1A为本申请实施例提供的一种通信系统的架构图;FIG. 1A is an architecture diagram of a communication system provided by an embodiment of the present application;
图1B为本申请实施例提供的另一种通信系统的架构图;FIG. 1B is an architecture diagram of another communication system provided by an embodiment of the present application;
图1C为本申请实施例提供的又一种通信系统的架构图;FIG. 1C is an architecture diagram of another communication system provided by the embodiment of the present application;
图2为本申请实施例提供的一种通信方法的流程图;FIG. 2 is a flowchart of a communication method provided by an embodiment of the present application;
图3为本申请实施例提供的另一种通信方法的流程图;FIG. 3 is a flow chart of another communication method provided by the embodiment of the present application;
图4为本申请实施例提供的又一种通信方法的流程图;FIG. 4 is a flowchart of another communication method provided by the embodiment of the present application;
图5为本申请实施例提供的再一种通信方法的流程图;FIG. 5 is a flowchart of another communication method provided by the embodiment of the present application;
图6为本申请实施例提供的一种通信装置的结构图;FIG. 6 is a structural diagram of a communication device provided in an embodiment of the present application;
图7为本申请实施例提供的一种通信设备的结构图。FIG. 7 is a structural diagram of a communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请提供一种通信方法、装置及设备,用以确定为授时需求方提供时间信息的授时提供方。其中,方法、装置和设备是基于同一技术构思的,由于解决问题的原理相似,因此装置、设备与方法的实施可以相互参见,重复之处不再赘述。The present application provides a communication method, device and equipment for determining a timing provider who provides time information for a timing requester. Among them, the method, device and equipment are based on the same technical conception. Since the principles of solving the problems are similar, the implementation of the device, device and method can be referred to each other, and the repetition will not be repeated.
通过本申请实施例提供的方案,时钟网络功能在获取一个或者多个网络设备的授时能力信息之后,可以根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备,即确定出提供时间信息的授时提供方。另外,当存在多个能够提供时间信息的网络设备时,所述时钟网络功能可以在所述多个网络设备中选择所述第一网络设备来为所述第一通信设备提供时间信息。Through the solution provided by the embodiment of this application, after the clock network function obtains the timing capability information of one or more network devices, it can, according to the time requirement information of the first communication device and the timing capability information of the one or more network devices, Selecting the first network device that provides time information for the first communication device means determining the timing provider that provides time information. In addition, when there are multiple network devices capable of providing time information, the clock network function may select the first network device from among the multiple network devices to provide time information for the first communication device.
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。In the following, some terms used in the embodiments of the present application are explained, so as to facilitate the understanding of those skilled in the art.
1)、通信设备,泛指具有通信功能的设备。示例性的,所述通信设备可以但不限于为终端设备、接入网(access network,AN)设备、接入点、核心网(core network,CN)设备等。1) Communication equipment, generally refers to equipment with communication functions. Exemplarily, the communication device may be, but not limited to, a terminal device, an access network (access network, AN) device, an access point, a core network (core network, CN) device, and the like.
2)、网络设备,泛指位于移动通信系统的网络中的通信设备。示例性的,所述网络设备可以但不限于为AN设备、接入点、CN设备等。2) Network equipment generally refers to communication equipment located in a network of a mobile communication system. Exemplarily, the network device may be, but not limited to, an AN device, an access point, a CN device, and the like.
3)、时间精度,也称为时间粒度,表示时间信息精确到的最小单位。例如,时间精度可以是1微秒(us)或者500纳秒(ns)等。3) Time precision, also called time granularity, means the smallest unit to which time information is accurate. For example, the time precision may be 1 microsecond (us) or 500 nanoseconds (ns), etc.
本申请实施例中,对于名词的数目,除非特别说明,表示“单数名词或复数名词”,即“一个或多个”。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“以下至少一项(个)”或其类似表达,是指这些项(个)中的任意组合,包括单项(个)或复数项(个)的任意组合。In the embodiments of the present application, as for the number of nouns, unless otherwise specified, it means "singular noun or plural noun", that is, "one or more". "At least one" means one or more, and "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three kinds of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. "At least one (individual) of the following" or similar expressions refer to any combination of these items (individuals), including any combination of a single item (individuals) or a plurality of item (individuals).
另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不应理解为指示或暗示相对重要性,也不应理解为指示或暗示顺序。In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used to distinguish the purpose of description, and should not be interpreted as indicating or implying relative importance, nor should they be understood as To indicate or imply an order.
下面将结合附图,对本申请实施例应用的通信系统进行描述。The communication system applied in the embodiment of the present application will be described below with reference to the accompanying drawings.
图1A为本申请实施例提供的一种通信系统的架构图,其中示出了基于服务化架构的第五代(the 5th generation,5G)网络架构。图1A所示的5G网络架构中可包括终端设备(例如,UE)、接入网设备以及核心网设备。终端设备通过接入网设备和核心网设备接入数据网络(data network,DN)。其中,核心网设备包括以下网元中的部分或者全部:统一数据管理(unified data management,UDM)网元、统一数据库(unified data repository,UDR)网元、网络开放功能(network exposure function,NEF)网元(图中未示出)、应用功能(application function,AF)网元、策略控制功能(policy control function,PCF)网元、接入与移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、网络存储功能(network repository function,NRF)网元(图中未示出)、时钟网络功能(timing network function,TNF)网元。FIG. 1A is an architecture diagram of a communication system provided by an embodiment of the present application, which shows a fifth generation (the 5th generation, 5G) network architecture based on a service architecture. The 5G network architecture shown in FIG. 1A may include terminal equipment (for example, UE), access network equipment, and core network equipment. The terminal device accesses the data network (data network, DN) through the access network device and the core network device. Among them, the core network equipment includes some or all of the following network elements: unified data management (unified data management, UDM) network elements, unified database (unified data repository, UDR) network elements, network exposure function (network exposure function, NEF) Network element (not shown in the figure), application function (application function, AF) network element, policy control function (policy control function, PCF) network element, access and mobility management function (access and mobility management function, AMF) Network element, session management function (session management function, SMF) network element, user plane function (user plane function, UPF) network element, network storage function (network repository function, NRF) network element (not shown in the figure), clock Network function (timing network function, TNF) network element.
本申请的终端设备(也可以称为用户设备(user equipment,UE))是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端设备可以是手 机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。The terminal equipment (also called user equipment, UE) of this application is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships, etc.); can also be deployed in the air (such as aircraft, balloons and satellites, etc.). The terminal device may be a mobile phone, a tablet computer (pad), a computer with a wireless transceiver function, a virtual reality (virtual reality, VR) terminal, an augmented reality (augmented reality, AR) terminal, an industrial control (industrial control ), wireless terminals in self driving, wireless terminals in remote medical, wireless terminals in smart grid, wireless terminals in transportation safety , wireless terminals in smart cities, wireless terminals in smart homes, etc.
上述终端设备可通过运营商网络提供的接口(例如N1等)与运营商网络建立连接,使用运营商网络提供的数据和/或语音等服务。终端设备还可通过运营商网络访问DN,使用DN上部署的运营商业务,和/或第三方提供的业务。其中,上述第三方可为运营商网络和终端设备之外的服务方,可为终端设备提供他数据和/或语音等服务。其中,上述第三方的具体表现形式,具体可根据实际应用场景确定,在此不做限制。The above-mentioned terminal device can establish a connection with the operator network through an interface provided by the operator network (such as N1, etc.), and use services such as data and/or voice provided by the operator network. The terminal device can also access the DN through the operator's network, and use the operator's service deployed on the DN, and/or the service provided by a third party. Wherein, the above-mentioned third party may be a service party other than the operator's network and the terminal device, and may provide other services such as data and/or voice for the terminal device. Among them, the specific form of expression of the above-mentioned third party can be determined according to the actual application scenario, and is not limited here.
接入网设备,是一种为终端设备提供无线通信功能的设备。接入网设备例如包括但不限于:5G中的下一代基站(g nodeB,gNB)、演进型节点B(evolved node B,eNB)、无线网络控制器(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)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。The access network device is a device that provides wireless communication functions for terminal devices. Access network equipment includes, but is not limited to: a next-generation base station (g nodeB, gNB) in 5G, an evolved node B (evolved node B, eNB), a radio network controller (radio network controller, RNC), a node B ( node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit , BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
接入网设备和终端设备可以是固定位置的,也可以是可移动的。接入网设备和终端设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和人造卫星上。本申请的实施例对接入网设备和终端设备的应用场景不做限定。Access network equipment and terminal equipment can be fixed or mobile. Access network equipment and terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; they can also be deployed on water; they can also be deployed on aircraft, balloons and artificial satellites in the air. The embodiments of the present application do not limit the application scenarios of the access network device and the terminal device.
本申请中,移动性管理网元是由运营商网络提供的控制面网元,负责终端设备接入运营商网络的接入控制和移动性管理,例如包括移动状态管理,分配用户临时身份标识,认证和授权用户等功能。在5G中,移动性管理网元可以是AMF网元,在未来通信如第六代(the 6th generation,6G)中,移动性管理网元仍可以是AMF网元,或有其它的名称,本申请不做限定。In this application, the mobility management network element is a control plane network element provided by the operator network, which is responsible for access control and mobility management of terminal equipment accessing the operator network, such as including mobility status management, assigning user temporary identities, Functions such as authenticating and authorizing users. In 5G, the mobility management network element can be an AMF network element. In future communications such as the 6th generation (6G), the mobility management network element can still be an AMF network element, or have other names. Applications are not limited.
本申请中,会话管理网元是由运营商网络提供的控制面网元,负责管理终端设备的协议数据单元(protocol data unit,PDU)会话。PDU会话是一个用于传输PDU的通道,终端设备需要通过PDU会话与DN互相传送PDU。PDU会话由SMF网元负责建立、维护和删除等。会话管理网元包括会话管理(如会话建立、修改和释放,包含用户面网元和接入网设备之间的隧道维护)、用户面网元的选择和控制、业务和会话连续性(Service and Session Continuity,SSC)模式选择、漫游等会话相关的功能。在5G中,会话管理网元可以是SMF网元,在未来通信如6G中,会话管理网元仍可以是SMF网元,或有其它的名称,本申请不做限定。In this application, the session management network element is a control plane network element provided by an operator network, and is responsible for managing a protocol data unit (protocol data unit, PDU) session of a terminal device. A PDU session is a channel for transmitting PDUs, and terminal equipment needs to transmit PDUs with DN through the PDU session. The PDU session is established, maintained and deleted by the SMF network element. Session management network elements include session management (such as session establishment, modification and release, including tunnel maintenance between user plane network elements and access network equipment), selection and control of user plane network elements, service and session continuity (Service and Session Continuity (SSC) mode selection, roaming and other session-related functions. In 5G, the session management network element can be an SMF network element. In future communications such as 6G, the session management network element can still be an SMF network element, or have other names, which are not limited in this application.
本申请中,用户面网元是由运营商提供的网关,是运营商网络与DN通信的网关。UPF网元包括数据包路由和传输、包检测、业务用量上报、服务质量(Quality of Service,QoS)处理、合法监听、上行包检测、下行数据包存储等用户面相关的功能。在5G中,用户面网元可以是UPF网元,在未来通信如6G中,用户面网元仍可以是UPF网元,或有其它的名称,本申请不做限定。In this application, the user plane network element is a gateway provided by an operator, and is a gateway for communication between the operator's network and the DN. UPF network elements include data packet routing and transmission, packet detection, service usage reporting, Quality of Service (QoS) processing, lawful interception, uplink packet detection, downlink data packet storage, and other user-plane-related functions. In 5G, the user plane network element can be a UPF network element. In future communication such as 6G, the user plane network element can still be a UPF network element, or have other names, which are not limited in this application.
本申请中,数据管理网元是由运营商提供的控制面网元,负责存储运营商网络中签约用户的用户永久标识符(subscriber permanent identifier,SUPI)、信任状(credential)、安全 上下文(security context)、签约数据等信息。数据管理网元所存储的这些信息可用于终端设备接入运营商网络的认证和授权。其中,上述运营商网络的签约用户具体可为使用运营商网络提供的业务的用户,例如使用中国电信的手机芯卡的用户,或者使用中国移动的手机芯卡的用户等。上述签约用户的永久签约标识(Subscription Permanent Identifier,SUPI)可为该手机芯卡的号码等。上述签约用户的信任状、安全上下文可为该手机芯卡的加密密钥或者跟该手机芯卡加密相关的信息等存储的小文件,用于认证和/或授权。上述安全上下文可为存储在用户本地终端(例如手机)上的数据(cookie)或者令牌(token)等。上述签约用户的签约数据可为该手机芯卡的配套业务,例如该手机芯卡的流量套餐或者使用网络等。需要说明的是,永久标识符、信任状、安全上下文、认证数据(cookie)、以及令牌等同认证、授权相关的信息,在本申请文件中,为了描述方便起见不做区分、限制。如果不做特殊说明,本申请实施例将以用安全上下文为例进行来描述,但本申请实施例同样适用于其他表述方式的认证、和/或授权信息。在5G中,数据管理网元可以是UDM网元,在未来通信如6G中,数据管理网元仍可以是UDM网元,或有其它的名称,本申请不做限定。In this application, the data management network element is the control plane network element provided by the operator, which is responsible for storing the subscriber permanent identifier (SUPI), credential, and security context of the subscriber in the operator's network. context), signing data and other information. The information stored by the data management network element can be used for authentication and authorization of terminal equipment to access the operator's network. Wherein, the subscribers of the above-mentioned operator network may specifically be users who use services provided by the operator network, such as users who use China Telecom's mobile phone chip card, or users who use China Mobile's mobile phone chip card. The Subscription Permanent Identifier (SUPI) of the above-mentioned subscriber can be the number of the mobile phone chip card, etc. The credential and security context of the above-mentioned contracted user may be small files stored in the encryption key of the mobile phone chip card or information related to the encryption of the mobile phone chip card for authentication and/or authorization. The aforementioned security context may be data (cookie) or token (token) stored on the user's local terminal (such as a mobile phone). The subscription data of the above-mentioned subscribers can be the supporting services of the mobile phone chip card, such as the data package or network usage of the mobile phone chip card. It should be noted that permanent identifiers, credentials, security contexts, authentication data (cookies), and tokens are equivalent to information related to authentication and authorization. In this application document, for the convenience of description, no distinction or limitation is made. Unless otherwise specified, the embodiment of the present application will be described by taking the security context as an example, but the embodiment of the present application is also applicable to authentication and/or authorization information expressed in other ways. In 5G, the data management network element can be a UDM network element. In future communication such as 6G, the data management network element can still be a UDM network element, or have other names, which are not limited in this application.
本申请中,统一数据库网元是由运营商提供的控制面网元,包含执行签约数据、策略数据、应用数据等类型数据的存取功能。在5G中,统一数据库网元可以是UDR网元,在未来通信如6G中,统一数据库网元仍可以是UDR网元,或有其它的名称,本申请不做限定。In this application, the unified database network element is a control plane network element provided by an operator, and includes the access function for executing contract data, policy data, application data and other types of data. In 5G, the unified database network element can be a UDR network element. In future communications such as 6G, the unified database network element can still be a UDR network element, or have other names, which are not limited in this application.
本申请中,网络开放网元是由运营商提供控制面网元。网络开放网元以安全的方式对第三方开放运营商网络的对外接口。在会话管理网元需要与第三方的网元通信时,网络开放网元可作为会话管理网元与第三方的网元通信的中继。网络开放网元作为中继时,可作为签约用户的标识信息的翻译,以及第三方的网元的标识信息的翻译。比如,网络开放网元将签约用户的SUPI从运营商网络发送到第三方时,可以将SUPI翻译成其对应的外部身份标识(identity,ID)。反之,网络开放网元将外部ID(第三方的网元ID)发送到运营商网络时,可将其翻译成SUPI。在5G中,网络开放网元可以是NEF网元,在未来通信如6G中,网络开放网元仍可以是NEF网元,或有其它的名称,本申请不做限定。In this application, the network open network element is a control plane network element provided by an operator. The network opening network element opens the external interface of the operator's network to the third party in a secure manner. When the session management network element needs to communicate with a third-party network element, the network open network element can serve as a relay for the session management network element to communicate with the third-party network element. When the open network element is used as a relay, it can be used as the translation of the identification information of the subscriber and the translation of the identification information of the third-party network element. For example, when the network open network element sends the subscriber's SUPI from the operator's network to a third party, it may translate the SUPI into its corresponding external identity (identity, ID). Conversely, when an open network element sends an external ID (the third-party network element ID) to the operator network, it can translate it into SUPI. In 5G, the network open network element can be a NEF network element. In future communications such as 6G, the network open network element can still be a NEF network element, or have other names, which are not limited in this application.
本申请中,应用功能网元用于传递应用侧对网络侧的需求,例如,QoS需求或用户状态事件订阅等。应用功能网元可以是第三方功能实体,也可以是运营商部署的应用服务器。在5G中,应用功能网元可以是AF网元,在未来通信如6G中,应用功能网元仍可以是AF网元,或有其它的名称,本申请不做限定。In this application, the application function network element is used to transfer the requirements from the application side to the network side, for example, QoS requirements or user status event subscription. The application function network element can be a third-party functional entity, or an application server deployed by an operator. In 5G, the application function network element can be an AF network element. In future communications such as 6G, the application function network element can still be an AF network element, or have other names, which are not limited in this application.
本申请中,策略控制网元是由运营商提供的控制面功能,用于向会话管理网元提供PDU会话的策略。策略可以包括计费相关策略、QoS相关策略和授权相关策略等。在5G中,策略控制网元可以是PCF网元,在未来通信如6G中,策略控制网元仍可以是PCF网元,或有其它的名称,本申请不做限定。In this application, the policy control network element is a control plane function provided by the operator, and is used to provide the policy of the PDU session to the session management network element. Policies may include accounting-related policies, QoS-related policies, and authorization-related policies. In 5G, the policy control network element can be a PCF network element. In future communications such as 6G, the policy control network element can still be a PCF network element, or have other names, which are not limited in this application.
本申请中,网络存储功能网元可用于提供网元发现功能,基于其他网元的请求,提供网元类型对应的网元信息。网络存储功能网元还提供网元管理服务,如网元注册、更新、去注册以及网元状态订阅和推送等。在5G中,网络存储功能网元可以是NRF网元,在未来通信如6G中,网络存储功能网元仍可以是NRF网元,或有其它的名称,本申请不做限定。In this application, the network element with the network storage function may be used to provide the network element discovery function, and provide network element information corresponding to the network element type based on the request of other network elements. The network element with the network storage function also provides network element management services, such as network element registration, update, de-registration, and network element status subscription and push. In 5G, the network storage function network element may be an NRF network element. In future communications such as 6G, the network storage function network element may still be an NRF network element, or have other names, which are not limited in this application.
本申请中,时钟网络功能网元可用于管理5G网络的一个或多个时钟的信息,且可以 通过自己的端口对外提供时钟的时间信息,比如直接或间接向终端设备、接入网设备、核心网设备或第三方应用功能网元提供时钟的时间信息。其中,时间信息表示时钟的时间、时刻或时间点。在5G中,时钟网络功能网元可以是TNF网元,例如,时钟网络功能网元可以为基于第三代合作伙伴计划(3rd generation partnership project,3GPP)定义的时间敏感通信和时间同步功能(time sensitive communication&time synchronization function,TSCTSF)(例如,由3GPP版本17(R17)标准定义的TSCTSF);在未来通信如6G中,时钟网络功能网元仍可以是TNF网元,或有其它的名称,本申请不做限定。In this application, the clock network function network element can be used to manage the information of one or more clocks in the 5G network, and can provide clock time information externally through its own port, such as directly or indirectly to terminal equipment, access network equipment, core Network devices or third-party application function network elements provide clock time information. Wherein, the time information represents the time, moment or time point of the clock. In 5G, the clock network function network element can be a TNF network element. For example, the clock network function network element can be a time-sensitive communication and time synchronization function (time sensitive communication&time synchronization function, TSCTSF) (for example, TSCTSF defined by the 3GPP version 17 (R17) standard); in future communications such as 6G, the clock network function network element can still be a TNF network element, or have other names, this application No limit.
DN,是位于运营商网络之外的网络,运营商网络可以接入多个DN,DN上可部署多种业务,可为终端设备提供数据和/或语音等服务。例如,DN是某智能工厂的私有网络,智能工厂安装在车间的传感器可为终端设备,DN中部署了传感器的控制服务器,控制服务器可为传感器提供服务。传感器可与控制服务器通信,获取控制服务器的指令,根据指令将采集的传感器数据传送给控制服务器等。又例如,DN是某公司的内部办公网络,该公司员工的手机或者电脑可为终端设备,员工的手机或者电脑可以访问公司内部办公网络上的信息、数据资源等。DN is a network outside the operator's network. The operator's network can access multiple DNs, and various services can be deployed on the DN, which can provide data and/or voice services for terminal equipment. For example, DN is a private network of a smart factory. The sensors installed in the workshop of the smart factory can be terminal devices. The control server of the sensor is deployed in the DN, and the control server can provide services for the sensor. The sensor can communicate with the control server, obtain instructions from the control server, and transmit the collected sensor data to the control server according to the instructions. For another example, DN is a company's internal office network, and the mobile phone or computer of the company's employees can be a terminal device, and the employee's mobile phone or computer can access information and data resources on the company's internal office network.
图1A中Npcf、Nudr、Nudm、Naf、Namf、Nsmf、Ntnf分别为上述PCF、UDR、UDM、AF、AMF、SMF、TNF提供的服务化接口,用于调用相应的服务化操作。N1、N2、N3、N4,以及N6为接口序列号,这些接口序列号的含义可参见图1B中的描述。Npcf, Nudr, Nudm, Naf, Namf, Nsmf, and Ntnf in Figure 1A are the service interfaces provided by the above PCF, UDR, UDM, AF, AMF, SMF, and TNF, respectively, and are used to call corresponding service operations. N1, N2, N3, N4, and N6 are interface serial numbers, and the meanings of these interface serial numbers may refer to the description in FIG. 1B.
图1B为本申请实施例提供的另一种通信系统的架构图,其中示出了基于点对点接口的5G网络架构,其中的网元的功能的介绍可以参考图1A中对应的网元的功能的介绍,不再赘述。图1B与图1A的主要区别在于:图1A中的各个控制面网元之间的接口是服务化的接口,图1B中的各个控制面网元之间的接口是点对点的接口。Figure 1B is an architecture diagram of another communication system provided by the embodiment of the present application, which shows a 5G network architecture based on a point-to-point interface, and the introduction of the functions of the network elements can refer to the function of the corresponding network elements in Figure 1A Introduction, no more details. The main difference between FIG. 1B and FIG. 1A is that: the interface between each control plane network element in FIG. 1A is a service interface, and the interface between each control plane network element in FIG. 1B is a point-to-point interface.
在图1B所示的架构中,各个网元之间的接口名称及功能如下:In the architecture shown in FIG. 1B, the interface names and functions between each network element are as follows:
1)、N1:AMF与终端设备之间的接口,可以用于向终端设备传递NAS信令(如包括来自AMF的QoS规则)等。1), N1: the interface between the AMF and the terminal device, which can be used to transmit NAS signaling (such as including QoS rules from the AMF) to the terminal device.
2)、N2:AMF与RAN之间的接口,可以用于传递核心网侧至RAN的无线承载控制信息等。2), N2: the interface between the AMF and the RAN, which can be used to transfer radio bearer control information from the core network side to the RAN.
3)、N3:RAN与UPF之间的接口,主要用于传递RAN与UPF间的上下行用户面数据。3), N3: the interface between the RAN and the UPF, mainly used to transfer the uplink and downlink user plane data between the RAN and the UPF.
4)、N4:SMF与UPF之间的接口,可以用于控制面与用户面之间传递信息,包括控制面向用户面的转发规则、QoS控制规则、流量统计规则等的下发以及用户面的信息上报。4), N4: The interface between SMF and UPF, which can be used to transfer information between the control plane and the user plane, including controlling the distribution of forwarding rules, QoS control rules, traffic statistics rules, etc. Information reporting.
5)、N5:AF与PCF之间的接口,可以用于应用业务请求下发以及网络事件上报。5), N5: the interface between the AF and the PCF, which can be used for sending application service requests and reporting network events.
6)、N6:UPF与DN的接口,用于传递UPF与DN之间的上下行用户数据流。6), N6: the interface between UPF and DN, used to transfer the uplink and downlink user data flow between UPF and DN.
7)、N7:PCF与SMF之间的接口,可以用于下发协议数据单元(protocol data unit,PDU)会话粒度以及业务数据流粒度控制策略。7), N7: the interface between PCF and SMF, which can be used to deliver protocol data unit (protocol data unit, PDU) session granularity and service data flow granularity control policy.
8)、N8:AMF与UDM间的接口,可以用于AMF向UDM获取接入与移动性管理相关签约数据与鉴权数据,以及AMF向UDM注册终端设备当前移动性管理相关信息等。8), N8: the interface between AMF and UDM, which can be used for AMF to obtain subscription data and authentication data related to access and mobility management from UDM, and for AMF to register information related to current mobility management of terminal equipment with UDM.
9)、N9:UPF和UPF之间的用户面接口,用于传递UPF间的上下行用户数据流。9), N9: a user plane interface between UPF and UPF, used to transmit uplink and downlink user data flows between UPFs.
10)、N10:SMF与UDM间的接口,可以用于SMF向UDM获取会话管理相关签约数据,以及SMF向UDM注册终端设备当前会话相关信息等。10), N10: the interface between SMF and UDM, which can be used for SMF to obtain session management-related subscription data from UDM, and for SMF to register current session-related information of terminal equipment with UDM.
11)、N11:SMF与AMF之间的接口,可以用于传递RAN和UPF之间的PDU会话隧道信息、传递发送给终端设备的控制消息、传递发送给RAN的无线资源控制信息等。11), N11: the interface between SMF and AMF, which can be used to transfer PDU session tunnel information between RAN and UPF, transfer control messages sent to terminal devices, transfer radio resource control information sent to RAN, etc.
12)、N15:PCF与AMF之间的接口,可以用于下发终端设备策略及接入控制相关策略。12), N15: the interface between PCF and AMF, which can be used to issue terminal device policies and access control related policies.
13)、N35:UDM与UDR间的接口,可以用于UDM从UDR中获取用户签约数据信息。13), N35: the interface between UDM and UDR, which can be used for UDM to obtain user subscription data information from UDR.
14)、N36:PCF与UDR间的接口,可以用于PCF从UDR中获取策略相关签约数据以及应用数据相关信息。14), N36: the interface between PCF and UDR, which can be used for PCF to obtain policy-related subscription data and application data-related information from UDR.
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。作为一种可能的实现方法,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。It can be understood that the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform). As a possible implementation method, the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
图1C示出了本申请实施例提供的通信方法适用的又一种可能的通信系统的架构。如图1C所示,所述通信系统包括三部分:时间敏感网络(time sensitive network,TSN)中的终端站、5G网络和TSN服务器。FIG. 1C shows the architecture of another possible communication system to which the communication method provided by the embodiment of the present application is applicable. As shown in FIG. 1C, the communication system includes three parts: a terminal station in a time sensitive network (TSN), a 5G network, and a TSN server.
其中,5G网络可以是TSN桥接设备(TSN bridge),TSN网络的业务数据包可以通过移动通信系统进行上行/下行发送。也就是说,TSN的终端站和TSN服务器可以通过5G网络进行交互。Among them, the 5G network can be a TSN bridge device (TSN bridge), and the service data packets of the TSN network can be sent uplink/downlink through the mobile communication system. That is to say, the terminal station of TSN and the TSN server can interact through the 5G network.
所述5G网络的具体内容可以参考对图1A和图1B的说明,重复之处不再赘述。下面仅对不同之处进行说明。For the specific content of the 5G network, reference may be made to the description of FIG. 1A and FIG. 1B , and repeated descriptions will not be repeated. Only the differences are described below.
所述5G网络包括5G主时钟(Grand Master clock,GM)。5G主时钟的时钟信号可以来源于AN设备外挂的全球定位系统(Global Positioning System,GPS),或者来源于通过陆地有线线缆所连接的陆地高精时钟等。所述5G网络作为一个非透明时钟系统(可以作为边界时钟,也可以作为普通时钟),可以通过所述5G主时钟来为给TSN节点(例如,终端站,TSN服务器)授时。The 5G network includes a 5G master clock (Grand Master clock, GM). The clock signal of the 5G master clock can come from the Global Positioning System (Global Positioning System, GPS) plugged into the AN device, or from a terrestrial high-precision clock connected through a terrestrial cable. The 5G network is used as a non-transparent clock system (which can be used as a boundary clock or an ordinary clock), and can serve time for TSN nodes (eg, terminal stations, TSN servers) through the 5G master clock.
此外,在5G网络和TSN相连接的边界位置有TSN适配器,用于处理点到点(point to point,PTP)协议相关的消息或TSN业务数据包。例如,TSN适配器可以包括:图1C中与UE连接的设备侧TSN适配器(Device-side TSN Translator,DS-TT),图1C中与UPF连接的NW-TT。其中,DS-TT也可以称为UE-TT等名称,TSN适配器可以是连接到UE的一个设备,也可以是UE中的一个逻辑功能。相应的,NW-TT可以是连接到UPF的一个设备,也可以是UPF中的一个逻辑功能。In addition, there is a TSN adapter at the border where the 5G network and TSN are connected to process point-to-point (point to point, PTP) protocol-related messages or TSN service data packets. For example, the TSN adapter may include: a device-side TSN adapter (Device-side TSN Translator, DS-TT) connected to the UE in Figure 1C, and a NW-TT connected to the UPF in Figure 1C. Wherein, DS-TT may also be called UE-TT or other names, and the TSN adapter may be a device connected to the UE, or a logical function in the UE. Correspondingly, the NW-TT can be a device connected to the UPF, or a logical function in the UPF.
下面对所述5G网络为TSN节点(例如,终端站或TSN服务器)授时的一种可能的方式进行说明。A possible manner in which the 5G network provides timing for a TSN node (for example, a terminal station or a TSN server) is described below.
AN设备通过空口与UE完成5G时间同步;然后,UE可以通过DS-TT将包括5G时间的报文转换为TSN域的报文格式(不改变时间的具体数值,只是转换格式),发给TSN中的终端站,使终端站的时间与5G时间完成同步。AN设备通过有线连接的方式与UPF完成5G时间同步;然后,UPF可以通过NW-TT将包括5G时间的报文转换为TSN域的报文格式(不改变时间的具体数值,只是转换格式),发给TSN服务器,使TSN服务器的时间与5G时间完成同步。The AN device completes 5G time synchronization with the UE through the air interface; then, the UE can convert the message including the 5G time into the message format of the TSN domain through the DS-TT (the specific value of the time is not changed, but the format is converted), and sent to the TSN In the terminal station, the time of the terminal station is synchronized with the 5G time. The AN device completes the 5G time synchronization with the UPF through a wired connection; then, the UPF can convert the message including the 5G time into the message format of the TSN domain through the NW-TT (the specific value of the time is not changed, but the format is converted), Send it to the TSN server to synchronize the time of the TSN server with the 5G time.
需要说明的是,图1A-图1C所示的通信系统并不构成对本申请实施例能够适用的通信系统的限定。因此本申请实施例提供的通信方法还可以适用于各种制式的通信系统,例如:LTE通信系统、5G通信系统、6G通信系统以及未来通信系统、车到万物(vehicle to everything,V2X)、长期演进-车联网(LTE-vehicle,LTE-V)、车到车(vehicle to vehicle,V2V)、车联网、机器类通信(Machine Type Communications,MTC)、物联网(internet of things,IoT)、长期演进-机器到机器(LTE-machine to machine,LTE-M)、机器到机器(machine to machine,M2M)、物联网等。另外,还需要说明的是,本申请实施例也不对通信系统中各网元的名称进行限定,例如,在不同制式的通信系统中,各网元可以有其它名称;又例如,当多个网元融合在同一物理设备中时,该物理设备也可以有其他名称。It should be noted that the communication systems shown in FIG. 1A-FIG. 1C do not limit the applicable communication systems of the embodiments of the present application. Therefore, the communication method provided by the embodiment of the present application can also be applied to communication systems of various standards, such as: LTE communication system, 5G communication system, 6G communication system and future communication system, vehicle to everything (V2X), long-term Evolution - Internet of Vehicles (LTE-vehicle, LTE-V), Vehicle to Vehicle (V2V), Internet of Vehicles, Machine Type Communications (Machine Type Communications, MTC), Internet of Things (Internet of Things, IoT), long-term Evolution - machine to machine (LTE-machine to machine, LTE-M), machine to machine (machine to machine, M2M), Internet of Things, etc. In addition, it should be noted that the embodiment of the present application does not limit the names of the network elements in the communication system. For example, in communication systems of different standards, each network element may have other names; When elements are fused in the same physical device, the physical device can also have other names.
下面结合附图对本申请提供的方案进行说明。The solutions provided by the present application will be described below in conjunction with the accompanying drawings.
本申请实施例提供了一种通信方法,该方法可应用于图1A-图1C所示的通信系统中。下面参阅图2所示的流程图,以时钟管理功能网元为TNF、网络存储功能网元为NRF、会话管理功能网元为SMF为例,对该方法的流程进行具体说明。An embodiment of the present application provides a communication method, which can be applied to the communication system shown in FIG. 1A-FIG. 1C. Referring to the flow chart shown in FIG. 2 , taking TNF as the clock management function network element, NRF as the network storage function network element, and SMF as the session management function network element as examples, the flow of the method will be described in detail.
S201:TNF获取一个或者多个网络设备的授时能力信息。S201: TNF acquires timing capability information of one or more network devices.
其中,任一网络设备可以为AN设备、UPF、NW-TT或控制面网元等。Wherein, any network device may be an AN device, a UPF, a NW-TT, or a control plane network element, etc.
所述一个或者多个网络设备的授时能力信息可以用于指示所述一个或者多个网络设备提供时间信息的能力。可选的,任一网络设备的授时能力信息包括以下至少一项:The timing capability information of the one or more network devices may be used to indicate the capability of the one or more network devices to provide time information. Optionally, the timing capability information of any network device includes at least one of the following:
1)所述网络设备提供时间信息的时间精度:为所述网络设备能够提供的时间信息的精确到的最小单位,可以表示所述网络设备的时钟与主时钟之间的误差。例如,该误差可以是1us或者500ns等。其中,主时钟可以是所述TNF管理的时钟中的一个或多个。1) The time accuracy of the time information provided by the network device: it is the minimum accurate unit of the time information that the network device can provide, and can represent the error between the clock of the network device and the master clock. For example, the error may be 1 us or 500 ns and so on. Wherein, the master clock may be one or more of the clocks managed by the TNF.
2)所述网络设备的服务范围(也可以被称为所述通信设备的授时范围):表示所述网络设备能够时间信息的范围,例如,以公共陆地移动网络(public land mobile network,PLMN)粒度划定的服务区域,或者以跟踪区域(tracking area,TA)列表粒度划定的服务区域。2) The service range of the network device (also referred to as the timing range of the communication device): Indicates the range in which the network device can provide time information, for example, in the form of a public land mobile network (PLMN) The service area defined by the granularity, or the service area defined by the tracking area (tracking area, TA) list granularity.
3)所述网络设备发送时间信息的频度(即周期):例如,该频度可以为1us或者2us等。3) The frequency (that is, the period) at which the network device sends time information: for example, the frequency may be 1 us or 2 us.
4)所述网络设备对时间信息的加密信息:例如,该加密信息可以为加密密钥等。4) Encryption information of the time information by the network device: for example, the encryption information may be an encryption key or the like.
在S201中,所述TNF可以从NRF获取所述一个或者多个网络设备的授时能力信息。具体的,所述TNF可以但不限于通过以下实现方式从NRF获取所述一个或者多个网络设备的授时能力信息。In S201, the TNF may acquire timing capability information of the one or more network devices from the NRF. Specifically, the TNF may obtain, but is not limited to, the timing capability information of the one or more network devices from the NRF through the following implementation manners.
实现方式一:所述TNF可以在向所述NRF发送获取授时能力信息的请求之后,接收来自所述NRF的所述一个或者多个网络设备的授时能力信息。Implementation manner 1: the TNF may receive the timing capability information of the one or more network devices from the NRF after sending a request to the NRF to obtain the timing capability information.
可选的,在本实现方式一中,在向所述TNF发送所述一个或者多个网络设备的授时能力信息之前,所述NRF通过以下方式获取所述一个或者多个网络设备的授时能力信息。Optionally, in this first implementation, before sending the timing capability information of the one or more network devices to the TNF, the NRF acquires the timing capability information of the one or more network devices in the following manner .
方式A:所述一个或者多个网络设备中的每个网络设备通过AMF向所述NRF发送该网络设备的授时能力信息。相应的,所述NRF可以通过所述AMF接收每个网络设备的授时能力信息。Manner A: each of the one or more network devices sends the timing capability information of the network device to the NRF through the AMF. Correspondingly, the NRF may receive the timing capability information of each network device through the AMF.
例如,所述一个或者多个网络设备包括第一AN设备和第二AN设备。所述AMF在接收到来自所述第一AN设备的第一下一代(next generation,NG)建立请求(NG setup  request)之后,向所述NRF发送第一RAN能力注册请求。其中,所述第一NG建立请求和所述第一RAN能力注册请求中包含所述第一AN设备的授时能力信息。所述AMF在接收到来自所述第二AN设备的第二NG建立请求之后,向所述NRF发送第二RAN能力注册请求。其中,所述第二NG建立请求和所述第二RAN能力注册请求中包含所述第二AN设备的授时能力信息。For example, the one or more network devices include a first AN device and a second AN device. The AMF sends a first RAN capability registration request to the NRF after receiving a first next generation (next generation, NG) setup request (NG setup request) from the first AN device. Wherein, the first NG setup request and the first RAN capability registration request include timing capability information of the first AN device. The AMF sends a second RAN capability registration request to the NRF after receiving the second NG setup request from the second AN device. Wherein, the second NG setup request and the second RAN capability registration request include timing capability information of the second AN device.
方式B:所述一个或者多个网络设备中的每个网络设备可以通过服务化接口向所述NRF发送该网络设备的授时能力信息。相应的,所述NRF可以通过服务化接口接收来自每个网络设备的该网络设备的授时能力信息。Manner B: Each of the one or more network devices may send the timing capability information of the network device to the NRF through a service interface. Correspondingly, the NRF may receive the timing capability information of the network device from each network device through the service interface.
在上述方式一和方式二中,每个网络设备可以在上电或者注册到所述NRF所属的移动通信系统时,向所述NRF发送该网络设备的授时能力信息。In the above method 1 and method 2, each network device may send the timing capability information of the network device to the NRF when it is powered on or registered to the mobile communication system to which the NRF belongs.
可选的,在获取到所述一个或者多个网络设备的授时能力信息之后,所述NRF可以保存所述一个或者多个网络设备的授时能力信息。Optionally, after acquiring the timing capability information of the one or more network devices, the NRF may store the timing capability information of the one or more network devices.
实现方式二:所述NRF可以在从所述一个或者多个网络设备中的每个网络设备获取该网络设备的授时能力信息之后,向所述TNF发送接收到的该网络设备的授时能力信息。其中,所述NRF获取每个网络设备的授时能力信息的方式可以参考实现方式一,此处不再赘述。Implementation manner 2: after the NRF acquires the timing capability information of the network device from each of the one or more network devices, it may send the received timing capability information of the network device to the TNF. Wherein, the manner in which the NRF obtains the timing capability information of each network device may refer to the implementation manner 1, which will not be repeated here.
可选的,在上述实现方式一和实现方式二中,所述TNF在获取所述一个或者多个网络设备的授时能力信息之后,保存所述一个或者多个网络设备的授时能力信息。Optionally, in the foregoing implementation manners 1 and 2, after acquiring the timing capability information of the one or more network devices, the TNF saves the timing capability information of the one or more network devices.
通过上述两种实现方式,所述TNF可以获取到包含时钟的一个或者多个网络设备的授时能力信息,从而对网络中包含时钟的一个或者多个网络设备进行管理。Through the above two implementation manners, the TNF can obtain the timing capability information of one or more network devices including clocks, so as to manage the one or more network devices including clocks in the network.
可选的,上述任一授时能力信息可以承载在现有的消息(例如,NG建立请求(NG setup request)、注册请求(registration request)或RAN能力注册请求)中,也可以承载在新的消息(例如,用于NRF向TNF通知时钟能力的消息)中,本申请对此不做限制。Optionally, any of the above timing capability information may be carried in an existing message (for example, NG setup request (NG setup request), registration request (registration request) or RAN capability registration request), or in a new message (For example, a message used for the NRF to notify the TNF of the clock capability), this application does not limit this.
S202:所述TNF根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备。S202: The TNF selects a first network device that provides time information for the first communication device according to the time requirement information of the first communication device and the timing capability information of the one or more network devices.
其中,所述第一通信设备可以为以下一项:移动通信系统(例如,5G移动通信系统)中的通信设备(例如,终端设备、AN设备或CN设备等)、第三方应用、从终端设备获取时间信息的设备(例如,园区设备等)。其中,第三方应用可以是属于第三方(例如,金融行业或电力行业等)的需要时间信息的设备(例如,服务器等)。Wherein, the first communication device may be one of the following: a communication device in a mobile communication system (for example, a 5G mobile communication system) (for example, a terminal device, an AN device or a CN device, etc.), a third-party application, a slave terminal device Devices that obtain time information (for example, campus devices, etc.). Wherein, the third-party application may be a device (for example, a server, etc.) that belongs to a third party (for example, a financial industry or an electric power industry, etc.) and needs time information.
其中,当所述第一网络设备为AN设备时,所述第一网络设备可以为所述第一通信设备接入的AN设备(即所述第一通信设备的服务AN设备),也可以不是所述第一通信设备接入的AN设备(即所述第一通信设备的非服务AN设备)。Wherein, when the first network device is an AN device, the first network device may be an AN device accessed by the first communication device (that is, the serving AN device of the first communication device), or may not be The AN device accessed by the first communication device (that is, the non-serving AN device of the first communication device).
可选的,所述时间需求信息包括以下至少一项:Optionally, the time requirement information includes at least one of the following:
1、时间精度需求:表示所述第一通信设备希望获得的时间精度,例如,1us或者500ns等。1. Time accuracy requirement: indicates the time accuracy that the first communication device wishes to obtain, for example, 1 us or 500 ns.
2、接收时间信息的频度:表示所述第一通信设备希望接收时间信息的频度,例如,1us或2us等。2. Frequency of receiving time information: indicates the frequency at which the first communication device wishes to receive time information, for example, 1 us or 2 us.
3、用于指示所述第一通信设备位置的信息。例如,用于指示所述第一通信设备位置的信息可以包括以下至少一项:所述第一通信设备的位置信息(例如,全球定位系统(global position system,GPS)信息)、所述第一通信设备接入的AN设备的标识、所述第一通信 设备接入的AN设备的地址信息、所述第一通信设备接入的小区的标识(例如,所述第一通信设备的服务小区标识(serving cell ID))。3. Information for indicating the location of the first communication device. For example, the information used to indicate the location of the first communication device may include at least one of the following: location information of the first communication device (for example, global position system (global position system, GPS) information), the first The identifier of the AN device accessed by the communication device, the address information of the AN device accessed by the first communication device, the identifier of the cell accessed by the first communication device (for example, the serving cell identifier of the first communication device (serving cell ID)).
通过该方法,TNF在获取一个或者多个网络设备的授时能力信息之后,可以根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备,即确定出用于提供时间信息的授时提供方。另外,通过该方法,当存在多个能够提供时间信息的网络设备时,所述TNF可以选择所述第一网络设备来为所述第一通信设备提供时间信息。Through this method, after acquiring the timing capability information of one or more network devices, the TNF can select the first communication device according to the time requirement information of the first communication device and the timing capability information of the one or more network devices. The first network device that provides the time information is the timing provider determined to provide the time information. In addition, through this method, when there are multiple network devices capable of providing time information, the TNF may select the first network device to provide time information for the first communication device.
可选的,在S202之前,所述TNF可以接收来自所述第一通信设备的所述时间需求信息。Optionally, before S202, the TNF may receive the time requirement information from the first communication device.
其中,所述时间需求信息可以承载在现有的消息(例如:注册请求(registration request)、协议数据单元(protocol data unit,PDU)会话建立请求(PDU session establishment request)或连接建立请求等非接入层(non-access-stratum,NAS)消息)中,也可以承载在新的消息中。Wherein, the time requirement information can be carried in an existing message (for example: a registration request (registration request), a protocol data unit (protocol data unit, PDU) session establishment request (PDU session establishment request) or a connection establishment request, etc. In-stratum (non-access-stratum, NAS) message), may also be carried in a new message.
本申请对接收所述时间需求信息和获取一个或者多个网络设备的授时能力信息(即S201)的执行顺序不作限定。例如,所述TNF可以先接收所述时间需求信息,再获取一个或者多个网络设备的授时能力信息;也可以先获取一个或者多个网络设备的授时能力信息,再接收所述时间需求信息。This application does not limit the execution order of receiving the time requirement information and acquiring the timing capability information of one or more network devices (ie S201). For example, the TNF may first receive the time requirement information, and then obtain the timing capability information of one or more network devices; or may first obtain the timing capability information of one or more network devices, and then receive the time requirement information.
在一些可能的实现方式中,所述TNF可以在接收到所述第一通信设备的时间需求信息之后,就执行S202。换句话说,所述时间需求信息可以触发所述TNF从所述一个或者多个网络设备中选择为所述第一通信设备提供时间的第一网络设备。In some possible implementation manners, the TNF may execute S202 after receiving the time requirement information of the first communication device. In other words, the time requirement information may trigger the TNF to select a first network device that provides time for the first communication device from among the one or more network devices.
在另一些可能的实现方式中,所述TNF可以在接收到第一信息之后,再执行S202。换句话说,所述第一信息可以触发所述TNF从所述一个或者多个网络设备中选择为所述第一通信设备提供时间的第一网络设备。In some other possible implementation manners, the TNF may execute S202 after receiving the first information. In other words, the first information may trigger the TNF to select a first network device that provides time for the first communication device from among the one or more network devices.
其中,所述第一信息可以用于指示当前为所述第一通信设备提供时间信息的第二网络设备无法提供服务。所述第二网络设备无法提供服务的场景可以但不限于包括以下至少一项:所述第二网络设备上的时钟故障、所述第二网络设备与所述第一通信设备断开连接等。Wherein, the first information may be used to indicate that the second network device currently providing time information for the first communication device cannot provide services. The scenario where the second network device fails to provide services may include, but is not limited to, at least one of the following: a clock failure on the second network device, disconnection of the second network device from the first communication device, and the like.
所述第一信息可以承载在现有的消息(例如,RAN配置更新(RAN configuration update)、RAN能力更新请求)中,也可以承载在新的消息(例如,用于更新授时能力的消息)中。The first information may be carried in an existing message (for example, RAN configuration update (RAN configuration update), RAN capability update request), or may be carried in a new message (for example, a message for updating timing capabilities) .
可选的,所述第一信息包括:无法提供服务的指示(例如,第一指示字段为第一值)、用于指示所述第二网络设备的信息。其中,用于指示所述第二网络设备的信息可以包括以下至少一项:所述第二网络设备的标识、所述第二网络设备的地址信息。例如,当所述第一信息包含取值为第一值的第一指示字段和设备1的标识时,所述第一信息指示设备1无法提供服务。Optionally, the first information includes: an indication that the service cannot be provided (for example, the first indication field is the first value), and information used to indicate the second network device. Wherein, the information used to indicate the second network device may include at least one of the following: an identifier of the second network device, and address information of the second network device. For example, when the first information includes a first indication field whose value is the first value and the identifier of the device 1, the first information indicates that the device 1 cannot provide the service.
所述TNF可以但不限于通过以下方式接收所述第一信息。The TNF may, but is not limited to, receive the first information in the following manner.
方式1:所述第二网络设备通过所述NRF向所述TNF发送所述第一信息。相应的,所述TNF通过所述NRF接收来自所述第二网络设备的所述第一信息。Way 1: The second network device sends the first information to the TNF through the NRF. Correspondingly, the TNF receives the first information from the second network device through the NRF.
可选的,在为所述第一通信设备提供时间信息时,所述第二网络设备发现所述第二网络设备无法提供服务。此时,所述第二网络设备可以通过所述AMF向所述NRF发送所述 第一信息;或者,所述第二网络设备可以通过服务化接口向所述NRF发送所述第一信息。所述NRF在接收到所述第一信息之后,向所述TNF发送所述第一信息。Optionally, when providing time information to the first communication device, the second network device finds that the second network device cannot provide the service. At this time, the second network device may send the first information to the NRF through the AMF; or, the second network device may send the first information to the NRF through a service interface. After receiving the first information, the NRF sends the first information to the TNF.
可选的,在方式1中,所述第二网络设备为AN设备或控制面网元。其中,当所述第二网络设备为AN设备时,所述第二网络设备可以为所述第一通信设备接入的AN设备(即所述第一通信设备的服务AN设备),也可以不是所述第一通信设备接入的AN设备(即所述第一通信设备的非服务AN设备)。Optionally, in manner 1, the second network device is an AN device or a control plane network element. Wherein, when the second network device is an AN device, the second network device may be an AN device accessed by the first communication device (that is, the serving AN device of the first communication device), or may not be The AN device accessed by the first communication device (that is, the non-serving AN device of the first communication device).
方式2:所述第二网络设备通过SMF向所述TNF发送所述第一信息。相应的,所述TNF通过所述SMF接收来自所述第二网络设备的所述第一信息。Manner 2: The second network device sends the first information to the TNF through the SMF. Correspondingly, the TNF receives the first information from the second network device through the SMF.
可选的,在为所述第一通信设备提供时间信息时,所述第二网络设备发现所述第二网络设备无法提供服务。然后,所述第二网络设备可以通过所述SMF向所述TNF发送所述第一信息。Optionally, when providing time information to the first communication device, the second network device finds that the second network device cannot provide the service. Then, the second network device may send the first information to the TNF through the SMF.
可选的,在方式2中,所述第二网络设备为UPF或NW-TT。Optionally, in mode 2, the second network device is UPF or NW-TT.
通过该方式,当当前为所述第一通信设备提供时间信息的第二网络设备无法提供服务时,所述第二网络设备可以向TNF发送第一信息;所述TNF在接收到第一信息之后,可以根据本地保存的所述一个或者多个网络设备的授时能力信息重新选择为所述第一通信设备提供时间的网络设备。这样,可以保证为所述第一通信设备提供时间信息的连续性和准确性。In this way, when the second network device currently providing time information for the first communication device cannot provide services, the second network device can send the first information to the TNF; after the TNF receives the first information The network device that provides time for the first communication device may be reselected according to the locally stored timing capability information of the one or more network devices. In this way, the continuity and accuracy of providing time information for the first communication device can be guaranteed.
可选的,在S202之后,当所述第一网络设备无法提供服务时,所述第一网络设备可以向所述TNF发送所述第一信息,以便触发所述TNF从所述一个或者多个网络设备中选择为所述第一通信设备提供时间的网络设备。Optionally, after S202, when the first network device fails to provide the service, the first network device may send the first information to the TNF, so as to trigger the TNF to send the first information from the one or more A network device that provides time for the first communication device is selected among the network devices.
其中,所述第一网络设备可以通过NRF或SMF向所述TNF发送所述第一信息。Wherein, the first network device may send the first information to the TNF through NRF or SMF.
其中,所述第一网络设备发送所述第一信息的方式可以参考所述第二网络设备发送所述第一信息的方式,只是将其中的第二网络设备替换为第一网络设备;所述TNF从所述一个或者多个网络设备中选择为所述第一通信设备提供时间的网络设备的方式可以参考S202,此处不再赘述。Wherein, the manner in which the first network device sends the first information may refer to the manner in which the second network device sends the first information, except that the second network device is replaced by the first network device; the For a manner in which the TNF selects a network device that provides time for the first communication device from the one or more network devices, reference may be made to S202, which will not be repeated here.
下面对S202的实现方式进行具体说明。The implementation of S202 will be described in detail below.
所述TNF可以从所述一个或者多个网络设备中选择授时能力满足所述时间需求信息所指示的需求的网络设备(即所述第一网络设备)。下面举例说明所述TNF如何从所述一个或者多个网络设备中选择为所述第一通信设备提供时间信息的所述第一网络设备。The TNF may select a network device (that is, the first network device) whose timing capability meets the requirement indicated by the time requirement information from the one or more network devices. The following example illustrates how the TNF selects the first network device that provides time information for the first communication device from the one or more network devices.
例如,当所述时间需求信息包括所述第一通信设备的位置信息时,所述TNF可以从所述一个或者多个网络设备中选择服务范围包含所述位置信息所指示的位置的网络设备。一个示例为:所述第一通信设备的位置信息为所述第一通信设备接入的第三AN设备的标识,所述TNF从所述一个或者多个网络设备中选择服务范围包含所述第三AN设备的服务范围的网络设备(即所述第一网络设备)。For example, when the time requirement information includes the location information of the first communication device, the TNF may select a network device whose service scope includes the location indicated by the location information from the one or more network devices. An example is: the location information of the first communication device is an identifier of a third AN device accessed by the first communication device, and the TNF selects a service range from the one or more network devices including the third AN device. A network device in the service range of the three AN devices (that is, the first network device).
又例如,当所述时间需求信息包括时间精度需求时,所述TNF可以从所述一个或者多个网络设备中选择时间精度满足所述时间精度需求的网络设备。一个示例为:当所述时间精度需求为1us,第四AN设备提供时间信息的时间精度为2us,第五AN设备提供时间信息的时间精度为50ns时,所述TNF可以选择所述第五AN设备(即,所述第一网络设备)为所述第一通信设备提供时间信息。For another example, when the time requirement information includes a time precision requirement, the TNF may select a network device whose time precision meets the time precision requirement from the one or more network devices. An example is: when the time accuracy requirement is 1us, the time accuracy of the time information provided by the fourth AN device is 2us, and the time accuracy of the time information provided by the fifth AN device is 50ns, the TNF may select the fifth AN A device (ie, the first network device) provides time information to the first communication device.
再例如,当所述时间需求信息包括接收时间信息的频度时,所述TNF可以从所述一个或者多个网络设备中选择发送时间信息的频度高于或等于所述接收时间信息的频度的网络设备。一个示例为:当接收时间信息的频度为每1us接收一次时间信息,第六AN设备发送时间信息的频度为每2us发送一次时间信息,第七AN设备发送时间信息的频度为每1us发送一次时间信息时,所述TNF可以选择所述第七AN设备(即,所述第一网络设备)为所述第一通信设备提供时间信息。For another example, when the time requirement information includes the frequency of receiving time information, the TNF may select from the one or more network devices that the frequency of sending time information is higher than or equal to the frequency of receiving time information. degree of network equipment. An example is: when the frequency of receiving time information is receiving time information every 1us, the frequency of sending time information of the sixth AN device is sending time information every 2us, and the frequency of sending time information of the seventh AN device is every 1us When sending time information once, the TNF may select the seventh AN device (that is, the first network device) to provide time information for the first communication device.
再例如,当所述时间需求信息包括时间精度需求和所述第一通信设备的位置信息时,所述TNF可以从所述一个或者多个网络设备中选择满足以下条件的网络设备(即所述第一网络设备):服务范围包含所述位置信息所指示的位置,且时间精度满足所述时间精度需求。For another example, when the time requirement information includes the time accuracy requirement and the location information of the first communication device, the TNF may select a network device that satisfies the following conditions from the one or more network devices (that is, the The first network device): the service scope includes the location indicated by the location information, and the time accuracy meets the time accuracy requirement.
可选的,当授时能力满足所述时间需求信息所指示的需求的网络设备为至少两个网络设备时,所述TNF可以从所述至少两个网络设备中选择性能(例如,时间精度、信号质量等)最好的一个网络设备(即所述第一网络设备),或者从所述至少两个网络设备中随机选择一个网络设备(即所述第一网络设备)。Optionally, when there are at least two network devices whose timing capabilities meet the requirements indicated by the time requirement information, the TNF may select performance (for example, time accuracy, signal Quality, etc.) of a network device (that is, the first network device) with the best quality, or randomly select a network device (that is, the first network device) from the at least two network devices.
通过该方式,所述TNF可以根据授时能力信息和所述时间需求信息,从一个或者多个网络设备中为所述第一通信设备选择合适的授时设备。In this way, the TNF can select a suitable timing device for the first communication device from one or more network devices according to the timing capability information and the time requirement information.
可选的,在本申请实施例的一些可能的实现方式中,所述方法还包括S203-S204,下面对其进行具体说明。Optionally, in some possible implementation manners of the embodiment of the present application, the method further includes S203-S204, which will be described in detail below.
S203:所述TNF向所述第一网络设备发送第一指示。相应的,所述第一网络设备接收来自所述TNF的所述第一指示。S203: The TNF sends a first indication to the first network device. Correspondingly, the first network device receives the first indication from the TNF.
其中,所述第一指示可以用于指示所述第一网络设备为所述第一通信设备提供时间信息。所述第一指示可以为用于指示所述第一网络设备为所述第一通信设备提供时间信息的消息,也可以为消息中的信元。具体地,当所述第一信息为信元时,所述第一信息可以复用现有消息中的信元,也可以是现有消息中的新的信元。例如,所述信元可以为第二指示字段,当该字段取值为第二值时,可以指示所述第一网络设备为所述第一通信设备提供时间信息。Wherein, the first indication may be used to instruct the first network device to provide time information for the first communication device. The first indication may be a message for instructing the first network device to provide time information for the first communication device, or may be an information element in the message. Specifically, when the first information is an information element, the first information may reuse an information element in an existing message, or may be a new information element in an existing message. For example, the information element may be a second indication field, and when the field takes a second value, it may instruct the first network device to provide time information for the first communication device.
可选的,所述第一指示包括以下至少一项:用于指示所述第一通信设备位置的信息、所述第一通信设备的时间精度需求。Optionally, the first indication includes at least one of the following: information for indicating the location of the first communication device, and a time accuracy requirement of the first communication device.
可选的,所述第一指示携带在用于对授时进行配置的请求消息中。在所述TNF向所述第一网络设备发送所述请求消息之后,所述第一网络设备可以向所述TNF发送针对所述请求消息的响应消息。其中,所述响应消息中可以携带有针对所述第一通信设备的时间精度需求的确认,即所述第一网络设备确认其提供的时间信息满足所述第一通信设备的时间精度需求。Optionally, the first indication is carried in a request message for configuring timing. After the TNF sends the request message to the first network device, the first network device may send a response message to the TNF to the request message. Wherein, the response message may carry a confirmation for the time accuracy requirement of the first communication device, that is, the first network device confirms that the time information provided by it satisfies the time accuracy requirement of the first communication device.
S204:所述第一网络设备向所述第一通信设备发送时间信息。相应的,所述第一通信设备接收来自所述第一网络设备的时间信息。S204: The first network device sends time information to the first communication device. Correspondingly, the first communication device receives time information from the first network device.
其中,所述第一网络设备可以直接向所述第一通信设备发送时间信息,也可以通过与所述第一通信设备连接的其他设备向所述第一通信设备发送时间信息。例如,当所述第一通信设备为终端设备,所述终端设备接入第一AN设备,所述第一网络设备为第二AN设备时,所述第二AN设备可以通过所述第一AN设备向所述终端设备发送时间信息。Wherein, the first network device may directly send time information to the first communication device, or may send time information to the first communication device through other devices connected to the first communication device. For example, when the first communication device is a terminal device, the terminal device accesses a first AN device, and the first network device is a second AN device, the second AN device may pass through the first AN device The device sends time information to the terminal device.
在一些可能的实现方式中,所述时间信息可以是具体的时间,例如,可以是所述第一网络设备中的时钟的时间。下面结合一个示例,说明该时间信息的实现方法。比如该时间信息用如下格式的字段进行表示:In some possible implementation manners, the time information may be a specific time, for example, may be the time of a clock in the first network device. The implementation method of the time information will be described below with an example. For example, the time information is represented by a field in the following format:
ReferenceTime-r16::=SEQUENCE{ReferenceTime-r16::=SEQUENCE{
refDays-r16 INTEGER(0..72999),refDays-r16 INTEGER(0..72999),
refSeconds-r16 INTEGER(0..86399),refSeconds - r16 INTEGER(0..86399),
refMilliSeconds-r16 INTEGER(0..999),refMilliSeconds - r16 INTEGER(0..999),
refTenNanoSeconds-r16 INTEGER(0..9999-9)refTenNanoSeconds-r16 INTEGER(0..9999-9)
}}
其中,refDays-r16字段用于指示时间信息中的“天”,refSeconds-r16字段用于指示时间信息中的“秒”,refMilliSeconds-r16字段用于指示时间信息中的“毫秒”,refTenNanoSeconds-r16字段用于指示时间信息中的“十纳秒”。比如,当该四个字段分别取值为:10950,36066,500,10时,对应的时间信息可以是:2000年12月26日10点1分6秒500毫秒100纳秒。所述第一通信设备在收到该ReferenceTime-r16信息后,可以根据换算规则,计算得到该时间信息是:2000年12月26日10点1分6秒500毫秒100纳秒。Among them, the refDays-r16 field is used to indicate "days" in the time information, the refSeconds-r16 field is used to indicate "seconds" in the time information, the refMilliSeconds-r16 field is used to indicate "milliseconds" in the time information, and refTenNanoSeconds-r16 field is used to indicate "ten nanoseconds" in time information. For example, when the values of the four fields are: 10950, 36066, 500, and 10, the corresponding time information may be: 10:1:6, 500 milliseconds, 100 nanoseconds on December 26, 2000. After the first communication device receives the ReferenceTime-r16 information, it can calculate the time information according to the conversion rule as: December 26, 2000, 10:01:6, 500 milliseconds, 100 nanoseconds.
在另一些可能的实现方式中,该时间信息也可以是用于确定时间的相关信息,例如,可以是所述第一网络设备中的时钟的时间与所述第一通信设备的时间之间的差值。所述第一通信设备可以根据该差值以及所述第一通信设备的时间,对所述第一通信设备的时间进行校准。In some other possible implementation manners, the time information may also be related information used to determine time, for example, it may be the time between the time of the clock in the first network device and the time of the first communication device difference. The first communication device may calibrate the time of the first communication device according to the difference and the time of the first communication device.
可选的,在S204中,所述第一网络设备根据来自所述TNF的所述第一指示,向所述第一通信设备发送时间信息。下面对此进行具体说明。Optionally, in S204, the first network device sends time information to the first communication device according to the first indication from the TNF. This will be described in detail below.
在一些可能的实现方式中,当所述第一指示包括用于指示所述第一通信设备位置的信息时,所述第一网络设备可以根据所述用于指示所述第一通信设备位置的信息,确定向所述第一通信设备发送时间信息的区域;并在所述区域内,向所述第一通信设备发送时间信息。In some possible implementation manners, when the first indication includes information indicating the location of the first communication device, the first network device may information, determining an area for sending time information to the first communication device; and sending time information to the first communication device within the area.
可选的,所述第一网络设备可以选择服务范围包含所述第一通信设备的位置的小区,并在选择的小区内向所述第一通信设备发送时间信息。Optionally, the first network device may select a cell whose service range includes the location of the first communication device, and send time information to the first communication device in the selected cell.
例如,所述第一通信设备的位置信息为所述第一通信设备接入的第三AN设备的标识,所述第一网络设备有3个小区,分别为小区a、小区b和小区c。当小区c的服务范围包含所述第三AN设备的服务范围时,所述第一网络设备确定向所述第一通信设备发送时间信息的区域为小区c,并在小区c内向所述第一通信设备发送时间信息。For example, the location information of the first communication device is the identifier of the third AN device accessed by the first communication device, and the first network device has three cells, namely cell a, cell b and cell c. When the service range of cell c includes the service range of the third AN device, the first network device determines that the area for sending time information to the first communication device is cell c, and transmits to the first network device in cell c The communication device transmits time information.
通过该方式,所述第一网络设备可以根据第一通信设备的位置,确定发送时间信息的区域。这样,所述第一网络设备可以仅在部分小区内发送时间信息,无需在所有小区内都发送时间信息,从而可以节约发送时间信息的资源,避免资源浪费。In this manner, the first network device can determine an area for sending time information according to the location of the first communication device. In this way, the first network device can only send time information in some cells without sending time information in all cells, thereby saving resources for sending time information and avoiding waste of resources.
在一些可能的实现方式中,当所述第一指示包括所述第一通信设备的时间精度需求时,所述第一网络设备可以根据所述时间精度需求,确定向所述第一通信设备发送的时间信息的时间精度;并向所述第一通信设备发送具有该时间精度的时间信息。In some possible implementation manners, when the first indication includes the time accuracy requirement of the first communication device, the first network device may determine to send the time accuracy requirement to the first communication device according to the time accuracy requirement The time precision of the time information; and sending the time information with the time precision to the first communication device.
具体的,所述第一网络设备可以选择满足所述时间精度需求的时间精度,并向所述第一通信设备发送具有所述时间精度的时间信息。Specifically, the first network device may select a time precision that meets the time precision requirement, and send time information with the time precision to the first communication device.
例如,所述第一通信设备的所述时间精度需求为1us,所述第一网络设备的时间精度为50ns。所述第一网络设备可以选择第一时间精度来为所述第一通信设备提供时间信息。其中,第一时间精度大于或等于50ns,且小于或等于1us。For example, the time accuracy requirement of the first communication device is 1 us, and the time accuracy requirement of the first network device is 50 ns. The first network device may select a first time precision to provide time information for the first communication device. Wherein, the first time precision is greater than or equal to 50 ns and less than or equal to 1 us.
通过该方式,所述第一网络设备可以根据第一通信设备的时间精度需求,确定所述第一网络设备发送时间信息的时间精度,从而有针对性地为所述第一通信设备提供时间信息。In this way, the first network device can determine the time accuracy of the time information sent by the first network device according to the time accuracy requirements of the first communication device, so as to provide time information for the first communication device in a targeted manner .
可选的,在本申请实施例的一些可能的实现方式中,所述方法还包括S205,下面对其进行具体说明。Optionally, in some possible implementation manners of the embodiments of the present application, the method further includes S205, which will be specifically described below.
S205:所述TNF向所述第一通信设备发送配置信息。相应的,所述第一通信设备接收来自所述TNF的所述配置信息。S205: The TNF sends configuration information to the first communication device. Correspondingly, the first communication device receives the configuration information from the TNF.
其中,所述配置信息可以包括以下至少一项:用于指示所述第一网络设备发送时间信息的时域资源(例如,子帧、时隙、子时隙或符号等)的信息、用于指示所述第一网络设备发送时间信息的频域资源(例如,频点或频段)的信息、所述第一网络设备对发送的时间信息进行加密的加密信息、所述第一网络设备发送时间信息的频度、用于指示所述第一网络设备发送时间信息的区域的信息。Wherein, the configuration information may include at least one of the following: information used to indicate time domain resources (for example, subframes, time slots, sub-slots, or symbols, etc.) for the first network device to send time information; Information indicating the frequency domain resources (for example, frequency point or frequency band) that the first network device sends the time information, encryption information that the first network device encrypts the time information sent, and the time information that the first network device sends The frequency of the information, and the information used to indicate the area where the first network device sends the time information.
其中,所述配置信息可以承载在现有的消息(例如,注册响应(registration response)、PDU会话建立响应(PDU session establishment response)或连接建立响应等NAS消息)中,也可以承载在新的消息中。Wherein, the configuration information may be carried in an existing message (for example, a NAS message such as a registration response (registration response), a PDU session establishment response (PDU session establishment response) or a connection establishment response), or may be carried in a new message middle.
可选的,所述TNF通过以下方式获取所述配置信息。Optionally, the TNF obtains the configuration information in the following manner.
方式a:所述TNF接收来自所述第一网络设备的所述配置信息。Manner a: the TNF receives the configuration information from the first network device.
例如,所述TNF向所述第一网络设备发送用于对授时进行配置的请求消息之后,所述第一网络设备可以向所述TNF发送针对所述请求消息的响应消息。其中,所述响应消息中包含所述配置信息。For example, after the TNF sends a request message for configuring timing to the first network device, the first network device may send a response message to the TNF to the request message. Wherein, the response message includes the configuration information.
方式b:所述TNF从所述第一网络设备和本地获取所述配置信息。Manner b: the TNF acquires the configuration information from the first network device and locally.
例如,当所述配置信息包括第二信息和第三信息时,所述TNF可以从所述第一网络设备获取所述第二信息(获取的具体方式可以参考方式a),并从本地保存的所述第一网络设备的授时能力信息中获取所述第三信息。其中,所述第二信息包括以下至少一项:用于指示所述第一网络设备发送时间信息的时域资源的信息、用于指示所述第一网络设备发送时间信息的频域资源的信息、用于指示所述第一网络设备发送时间信息的区域的信息;所述第三信息包括以下至少一项:所述第一网络设备对发送的时间信息进行加密的加密信息、所述第一网络设备发送时间信息的频度。For example, when the configuration information includes the second information and the third information, the TNF may obtain the second information from the first network device (for the specific method of obtaining, refer to method a), and obtain the second information from the locally saved The third information is obtained from the timing capability information of the first network device. Wherein, the second information includes at least one of the following: information used to indicate the time domain resources used by the first network device to send time information, information used to indicate frequency domain resources used by the first network device to send time information . Information used to indicate the area where the first network device sends time information; the third information includes at least one of the following items: encryption information for encrypting the time information sent by the first network device, the first How often network devices send time information.
可选的,在接收到所述配置信息之后,所述第一通信设备接收来自所述第一网络设备的时间信息。具体内容可以参考S204中所述第一通信设备执行的操作,重复之处不再赘述。下面仅对不同之处进行说明。Optionally, after receiving the configuration information, the first communications device receives time information from the first network device. For specific content, reference may be made to the operations performed by the first communication device in S204, and repeated descriptions will not be repeated. Only the differences are described below.
例如,当所述配置信息包括用于指示所述第一网络设备发送时间信息的时域资源的信息和/或用于指示所述第一网络设备发送时间信息的频域资源的信息时,所述第一通信设备可以在所述配置信息所指示的资源上接收来自所述第一网络设备的时间信息。For example, when the configuration information includes information indicating time domain resources used for sending time information by the first network device and/or information indicating frequency domain resources used for sending time information by the first network device, the The first communication device may receive time information from the first network device on the resource indicated by the configuration information.
又例如,当所述配置信息包括所述第一网络设备发送时间信息的频度时,所述第一通信设备可以按照所述频度接收来自所述第一网络设备的时间信息。For another example, when the configuration information includes the frequency of sending time information by the first network device, the first communication device may receive time information from the first network device according to the frequency.
再例如,当所述配置信息包括所述第一网络设备对发送的时间信息进行加密的加密信息(例如,密钥),所述第一通信设备可以使用所述加密信息对来自所述第一网络设备的时间信息进行解密。For another example, when the configuration information includes encryption information (for example, a key) for encrypting the time information sent by the first network device, the first communication device may use the encryption information to The time information of the network device is decrypted.
再例如,当所述配置信息包括用于指示所述第一网络设备发送时间信息的区域的信息,所述第一通信设备可以在所述配置信息所指示的区域内接收来自所述第一网络设备的时间信息。For another example, when the configuration information includes information indicating the area where the first network device sends time information, the first communication device may receive information from the first network within the area indicated by the configuration information. Device time information.
通过该方法,所述TNF可以向所述第一通信设备发送配置信息。这样,所述第一通信设备可以根据配置信息接收来自所述第一网络设备的时间信息,从而可以避免一直检测来自所述第一网络设备的时间信息,进而降低所述第一通信设备的能耗。Through this method, the TNF can send configuration information to the first communication device. In this way, the first communication device can receive the time information from the first network device according to the configuration information, so as to avoid constantly detecting the time information from the first network device, thereby reducing the performance of the first communication device. consumption.
可选的,在本申请实施例的一些可能的实现方式中,所述方法还包括S206,下面对其进行具体说明。Optionally, in some possible implementation manners of the embodiments of the present application, the method further includes S206, which will be described in detail below.
S206:所述TNF根据所述第一通信设备的时间精度需求,生成针对所述第一通信设备的计费信息。S206: The TNF generates charging information for the first communication device according to the time accuracy requirement of the first communication device.
例如,当所述第一通信设备的时间精度需求高于第一精度阈值时,所述TNF生成针对所述第一通信设备的计费信息。For example, when the time precision requirement of the first communication device is higher than a first precision threshold, the TNF generates charging information for the first communication device.
可选的,所述TNF还可以根据所述第一通信设备的时间精度需求和所述第一通信设备的签约数据,生成针对所述第一通信设备的计费信息。Optionally, the TNF may also generate charging information for the first communication device according to the time accuracy requirement of the first communication device and the subscription data of the first communication device.
例如,所述签约数据可以指示所述第一通信设备的时间精度需求和计费标准的对应关系。所述TNF可以根据所述对应关系,确定与所述第一通信设备的时间精度需求对应的计费标准,并生成与该计费标准对应的针对所述第一通信设备的计费信息。For example, the subscription data may indicate a corresponding relationship between the time precision requirement of the first communication device and the charging standard. The TNF may determine a charging standard corresponding to the time accuracy requirement of the first communication device according to the correspondence, and generate charging information for the first communication device corresponding to the charging standard.
此外,所述计费信息还可以与所述第一通信设备需要时间信息的时长有关。例如,所述计费信息所指示的费用可以与所述第一通信设备需要时间信息的时长成正比。In addition, the billing information may also be related to the time period for which the first communication device needs the time information. For example, the charge indicated by the billing information may be proportional to the time length for which the first communication device needs the time information.
通过该方式,所述TNF可以准确的确定针对第一通信设备的计费信息。In this way, the TNF can accurately determine the charging information for the first communication device.
下面分别通过图3-图5所示的方法详细介绍图2所示的方法中“所述TNF从所述一个或者多个网络设备中选择为所述第一通信设备提供时间的第一网络设备”的具体的实现方式。其中,图3所示的方法主要介绍其中的可能的情况一,即第一通信设备的时间需求信息触发TNF选择为所述第一通信设备提供时间的第一网络设备;图4-图5所示的方法主要介绍其中的可能的情况二,即第一信息触发所述TNF选择为所述第一通信设备提供时间的第一网络设备,其中,所述第一信息可以用于指示当前为所述第一通信设备提供时间信息的第二网络设备无法提供服务。The method "the TNF selects from the one or more network devices the first network device that provides time for the first communication device" in the method shown in Fig. 2 will be described in detail below through the methods shown in Fig. 3-Fig. "The specific implementation method. Wherein, the method shown in FIG. 3 mainly introduces possible situation 1, that is, the time requirement information of the first communication device triggers TNF to select the first network device that provides time for the first communication device; The method shown mainly introduces the second possible situation, that is, the first information triggers the TNF to select the first network device that provides time for the first communication device, where the first information can be used to indicate that the current The second network device for which the first communication device provides time information cannot provide services.
下面结合图3,以一个或者多个网络设备为第一AN设备和第二AN设备,第一通信设备为UE为例,介绍上述可能的情况一的实现方式。Referring to FIG. 3 , taking one or more network devices as the first AN device and the second AN device, and the first communication device as UE as an example, an implementation manner of the above-mentioned possible situation 1 will be introduced.
图3所示的方法可以适用于图1A-图1C所示的通信系统中。如图3所示,本申请实施例提供的另一种通信方法可包括以下流程:The method shown in FIG. 3 may be applicable to the communication system shown in FIGS. 1A-1C . As shown in Figure 3, another communication method provided by the embodiment of this application may include the following process:
S301:第一AN设备向AMF发送第一NG建立请求(NG setup request)。S301: The first AN device sends a first NG setup request (NG setup request) to the AMF.
其中,所述第一AN设备可以为UE接入的AN设备,即所述UE的服务AN设备。Wherein, the first AN device may be an AN device accessed by the UE, that is, a serving AN device of the UE.
其中,所述第一NG建立请求可以包含所述第一AN设备的授时能力信息。所述第一AN设备的授时能力信息的具体内容可以参考图2所示的方法,此处不再赘述。Wherein, the first NG setup request may include timing capability information of the first AN device. For specific content of the timing capability information of the first AN device, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
S302:第二AN设备向所述AMF发送第二NG建立请求。S302: The second AN device sends a second NG establishment request to the AMF.
其中,所述第二AN设备可以不是UE接入的AN设备,即所述UE的非服务AN设备。Wherein, the second AN device may not be an AN device accessed by the UE, that is, a non-serving AN device of the UE.
其中,所述第一NG建立请求可以包含所述第二AN设备的授时能力信息。所述第二AN设备的授时能力信息的具体内容可以参考图2所示的方法,此处不再赘述。Wherein, the first NG setup request may include timing capability information of the second AN device. For specific content of the timing capability information of the second AN device, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
S303:所述AMF向NRF发送RAN能力注册请求。S303: The AMF sends a RAN capability registration request to the NRF.
其中,所述RAN能力注册请求包含所述第一AN设备的授时能力信息和所述第二AN设备的授时能力信息。Wherein, the RAN capability registration request includes timing capability information of the first AN device and timing capability information of the second AN device.
可选的,所述第一AN设备和所述第二AN设备可以通过服务化接口向所述NRF发送各自的授时能力信息,此时无需通过所述AMF中转。Optionally, the first AN device and the second AN device may send respective timing capability information to the NRF through a service interface, and at this time, there is no need to transfer through the AMF.
S304:TNF向所述NRF发送第一请求,其中,所述第一请求用于请求获取NRF管理的一个或者多个网络设备的授时能力信息。S304: The TNF sends a first request to the NRF, where the first request is used to request to acquire timing capability information of one or more network devices managed by the NRF.
S305:所述NRF向所述TNF发送所述第一AN设备的授时能力信息和所述第二AN设备的授时能力信息。S305: The NRF sends the timing capability information of the first AN device and the timing capability information of the second AN device to the TNF.
其中,所述第一AN设备的授时能力信息和所述第二AN设备的授时能力信息可以承载在现有的消息中,也可以承载在新的消息(例如,用于发送RAN授时能力的消息)中。Wherein, the timing capability information of the first AN device and the timing capability information of the second AN device may be carried in an existing message, or may be carried in a new message (for example, a message for sending RAN timing capability )middle.
S306:所述UE向所述TNF发送时间需求信息。S306: The UE sends time requirement information to the TNF.
其中,所述时间需求信息可以承载在现有的消息中,也可以承载在新的消息中。例如,所述时间需求信息可以承载在用于请求获取时间信息的NAS消息(例如,注册请求(registration request)、PDU会话建立请求(PDU session establishment request)或连接建立请求)中。Wherein, the time requirement information may be carried in an existing message or in a new message. For example, the time requirement information may be carried in a NAS message (for example, a registration request, a PDU session establishment request, or a connection establishment request) for requesting to acquire time information.
其中,所述时间需求信息的具体内容可以参考图2所示的方法,此处不再赘述。Wherein, for the specific content of the time requirement information, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
S307:所述TNF根据所述时间需求信息、所述第一AN设备的授时能力信息和所述第二AN设备的授时能力信息,确定为所述UE提供时间信息的第一网络设备。S307: The TNF determines a first network device that provides time information for the UE according to the time requirement information, the timing capability information of the first AN device, and the timing capability information of the second AN device.
S307的具体内容可以参考图2所示的方法,此处不再赘述。For the specific content of S307, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
下面以所述第一网络设备为所述第二AN设备为例进行说明。The following takes the first network device as the second AN device as an example for description.
S308:所述TNF向所述第二AN设备发送第二请求。S308: The TNF sends a second request to the second AN device.
其中,所述第二请求可以包含第一指示,其中,所述第一指示的具体内容可以参考图2所示的方法,此处不再赘述。Wherein, the second request may include the first indication, and for the specific content of the first indication, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
S309:所述第二AN设备向所述TNF发送第二响应。S309: The second AN device sends a second response to the TNF.
其中,所述第二响应可以包括以下至少一项:所述第二AN设备发送时间信息的时频资源、对所述时间精度需求的确认。Wherein, the second response may include at least one of the following: a time-frequency resource for sending time information by the second AN device, and an acknowledgment of the time precision requirement.
S310:所述TNF向所述UE发送配置信息。S310: The TNF sends configuration information to the UE.
其中,所述配置信息可以承载在现有的消息中,也可以承载在新的消息中。例如,所述配置信息可以承载在NAS消息(例如,注册响应(registration response)、PDU会话建立响应(PDU session establishment response)或连接建立响应)中。Wherein, the configuration information may be carried in an existing message or in a new message. For example, the configuration information may be carried in a NAS message (for example, a registration response (registration response), a PDU session establishment response (PDU session establishment response) or a connection establishment response).
其中,所述配置信息的具体内容可以参考图2所示的方法,此处不再赘述。Wherein, for the specific content of the configuration information, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
S311:所述第二AN设备向所述UE发送时间信息。S311: The second AN device sends time information to the UE.
在一些可能的方式中,所述第二AN设备可以通过空口向所述UE发送时间信息。In some possible manners, the second AN device may send time information to the UE through an air interface.
在另一些可能的方式中,所述第二AN设备可以通过所述第一AN设备向所述UE发 送时间信息。In other possible manners, the second AN device may send time information to the UE through the first AN device.
S312:所述TNF记录所述UE的授时状态,生成计费信息。S312: The TNF records the timing status of the UE, and generates charging information.
S312的具体内容可以参考图2所示的方法,此处不再赘述。For the specific content of S312, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
可选的,S304、S310和S312中的至少一个步骤是可选的步骤。Optionally, at least one step in S304, S310 and S312 is an optional step.
例如,当所述方法不包含S304时,所述NRF可以在接收到所述第一AN设备的授时能力信息和所述第二AN设备的授时能力信息之后,就向所述TNF发送所述第一AN设备的授时能力信息和所述第二AN设备的授时能力信息。For example, when the method does not include S304, the NRF may send the first AN device to the TNF after receiving the timing capability information of the first AN device and the timing capability information of the second AN device. The timing capability information of an AN device and the timing capability information of the second AN device.
又例如,当所述方法不包含S310时,所述UE可以在所有的资源上检测时间信息。For another example, when the method does not include S310, the UE may detect time information on all resources.
再例如,当所述方法不包含S312时,所述TNF可以不为所述UE生成针对所述时间信息的计费信息,此时,网络可以为所述UE免费提供时间信息。For another example, when the method does not include S312, the TNF may not generate charging information for the time information for the UE, and at this time, the network may provide the time information for the UE free of charge.
通过该方法,所述TNF在获取所述第一AN设备的授时能力信息和所述第二AN设备的授时能力信息之后,可以根据所述UE的时间需求信息和获取的授时能力信息,确定为所述UE提供时间信息的第一网络设备,即确定出用于提供时间信息的授时提供方。另外,通过该方法,当存在多个能够提供时间信息的网络设备时,所述TNF可以在所述一个或者多个网络设备中选择所述第一网络设备来为所述UE提供时间信息。Through this method, after the TNF obtains the timing capability information of the first AN device and the timing capability information of the second AN device, it may determine as The first network device that provides the time information to the UE is the timing provider determined to provide the time information. In addition, through this method, when there are multiple network devices capable of providing time information, the TNF may select the first network device from among the one or more network devices to provide time information for the UE.
如前所述,图4-图5所示的方法主要介绍图2所示的方法中“所述TNF从所述一个或者多个网络设备中选择为所述第一通信设备提供时间的第一网络设备”的可能的情况二,即第一信息触发所述TNF选择为所述第一通信设备提供时间的第一网络设备,其中,所述第一信息可以用于指示当前为所述第一通信设备提供时间信息的第二网络设备无法提供服务。其中,图4所示的方法主要介绍情况二的第一种实现方式,即所述第二网络设备为AN设备;图5所示的方法主要介绍情况二的第二种实现方式,即所述第二网络设备为UPF或NW-TT。As mentioned above, the methods shown in Fig. 4-Fig. 5 mainly introduce "the TNF selects from the one or more network devices the first network device that provides time for the first communication device" in the method shown in Fig. 2 The second possible situation of "network device", that is, the first information triggers the TNF to select the first network device that provides time for the first communication device, wherein the first information can be used to indicate that the first communication device is currently The second network device for which the communication device provides time information cannot provide services. Wherein, the method shown in FIG. 4 mainly introduces the first implementation of situation 2, that is, the second network device is an AN device; the method shown in FIG. 5 mainly introduces the second implementation of situation 2, that is, the The second network device is UPF or NW-TT.
下面结合图4和图5,分别以第二网络设备为AN设备或UPF/NW-TT为例介绍上述可能的情况二的两种可能的实现方式。In the following, two possible implementations of the above-mentioned possible situation 2 are introduced by taking the second network device as an AN device or UPF/NW-TT as an example with reference to FIG. 4 and FIG. 5 .
图4所示的方法可以适用于图1A-图1C所示的通信系统中,该方法中,TNF可以在接收到来自控制面的用于指示当前提供时间信息的网络设备无法提供服务的信息之后,根据一个或者多个网络设备的授时能力信息,重新选择用于授时的网络设备。下面参阅图4所示的流程图,对所述通信方法进行详细说明。为描述方便,下面以所述第一通信设备为UE为例进行说明。The method shown in FIG. 4 can be applied to the communication system shown in FIG. 1A-FIG. 1C. In this method, the TNF can receive information from the control plane indicating that the network device currently providing time information cannot provide services. , according to the timing capability information of one or more network devices, reselect the network device used for timing. Referring to the flowchart shown in FIG. 4, the communication method will be described in detail below. For convenience of description, the following takes the first communication device as a UE as an example for description.
S401:第一AN设备为UE提供时间信息。S401: The first AN device provides time information for the UE.
其中,所述第一AN设备可以是所述UE接入的AN设备,也可以不是所述UE接入的AN设备。Wherein, the first AN device may be the AN device accessed by the UE, or may not be the AN device accessed by the UE.
当所述第一AN设备为所述UE接入的AN设备时,所述第一AN设备可以通过空口向所述UE发送时间信息。When the first AN device is an AN device accessed by the UE, the first AN device may send time information to the UE through an air interface.
当所述第一AN设备不是所述UE接入的AN设备时,所述第一AN设备可以通过空口向所述UE发送时间信息,也可以通过所述UE接入的AN设备向所述UE发送时间信息。When the first AN device is not the AN device accessed by the UE, the first AN device may send time information to the UE through the air interface, or send time information to the UE through the AN device accessed by the UE Send time information.
S402:所述第一AN设备确定所述第一AN设备无法提供服务。S402: The first AN device determines that the first AN device cannot provide a service.
无法提供服务的具体内容可以参考图2所示的方法,此处不再赘述。For the specific content that the service cannot be provided, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
S403:所述第一AN设备向AMF发送RAN配置更新(RAN configuration update)。S403: The first AN device sends a RAN configuration update (RAN configuration update) to the AMF.
其中,所述RAN配置更新中包含第一信息。所述第一信息可以用于指示当前为所述UE提供时间信息的所述第一AN设备无法提供服务。所述第一信息的具体内容可以参考图2所示的方法,此处不再赘述。Wherein, the RAN configuration update includes the first information. The first information may be used to indicate that the first AN device currently providing time information for the UE cannot provide a service. For the specific content of the first information, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
S404:所述AMF向NRF发送RAN能力更新请求。S404: The AMF sends a RAN capability update request to the NRF.
其中,RAN能力更新请求中包含所述第一信息。Wherein, the RAN capability update request includes the first information.
在一些可能的实现方式中,所述第一AN设备可以通过服务化接口向NRF发送所述第一信息,此时无需通过AMF中转。In some possible implementation manners, the first AN device may send the first information to the NRF through a service interface, and at this time, there is no need to pass through the AMF for relay.
S405:所述NRF向TNF发送所述第一信息。S405: The NRF sends the first information to the TNF.
其中,所述第一信息可以承载在现有的消息中,也可以承载在新的消息(例如,用于更新授时能力的信息)中。Wherein, the first information may be carried in an existing message, or in a new message (for example, information for updating the timing capability).
S406:所述TNF根据所述UE的授时需求信息、一个或者多个网络设备的授时能力信息,确定为所述UE提供时间信息的第一网络设备。S406: The TNF determines a first network device that provides time information for the UE according to the timing requirement information of the UE and the timing capability information of one or more network devices.
其中,所述TNF可以根据图2或图3所示的方法获取所述一个或者多个网络设备的授时能力信息。Wherein, the TNF may obtain the timing capability information of the one or more network devices according to the method shown in FIG. 2 or FIG. 3 .
S406的具体内容可以参考图2所示的方法,此处不再赘述。For the specific content of S406, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
下面以所述第一网络设备为第二AN设备为例进行说明。The following description is made by taking the first network device as the second AN device as an example.
S407:所述TNF向所述第二AN设备发送第二请求。S407: The TNF sends a second request to the second AN device.
S408:所述第二AN设备向所述TNF发送第二响应。S408: The second AN device sends a second response to the TNF.
S409:所述TNF向所述UE发送配置信息。S409: The TNF sends configuration information to the UE.
S410:所述第二AN设备向所述UE发送时间信息。S410: The second AN device sends time information to the UE.
S411:所述TNF记录所述UE的授时状态,生成计费信息。S411: The TNF records the timing status of the UE, and generates charging information.
S407-S411的具体内容可以参考S308-S312,此处不再赘述。For the specific content of S407-S411, reference may be made to S308-S312, which will not be repeated here.
可选的,S409和S411中的至少一个步骤是可选的步骤,具体内容可以参考图3所示的方法,此处不再赘述。Optionally, at least one step in S409 and S411 is an optional step, and for specific content, refer to the method shown in FIG. 3 , which will not be repeated here.
通过该方法,当当前为所述UE提供时间信息的第一AN设备无法提供服务时,所述第一AN设备可以向TNF发送第一信息;所述TNF在接收到第一信息之后,可以根据本地保存的一个或者多个网络设备的授时能力信息重新选择为所述UE提供时间的网络设备。这样,可以保证为所述UE提供时间信息的连续性和准确性。Through this method, when the first AN device currently providing time information for the UE cannot provide services, the first AN device can send the first information to the TNF; after receiving the first information, the TNF can, according to The locally stored timing capability information of one or more network devices reselects a network device that provides time for the UE. In this way, the continuity and accuracy of providing time information for the UE can be guaranteed.
图5所示的方法可以适用于图1A-图1C所示的通信系统中,该方法中,TNF可以在接收到来自用户面的用于指示当前提供时间信息的网络设备无法提供服务的信息之后,根据一个或者多个网络设备的授时能力信息,重新选择用于授时的网络设备。下面参阅图5所示的流程图,对所述通信方法进行详细说明。为描述方便,下面以终端设备为UE为例进行说明。The method shown in FIG. 5 can be applied to the communication system shown in FIG. 1A-FIG. 1C. In this method, the TNF can receive information from the user plane indicating that the network device currently providing time information cannot provide services. , according to the timing capability information of one or more network devices, reselect the network device used for timing. Referring to the flowchart shown in FIG. 5 , the communication method will be described in detail. For the convenience of description, the following takes the UE as an example for illustration.
S501:UPF或NW-TT为UE提供时间信息。图5中以UPF为例进行说明。S501: UPF or NW-TT provides time information for UE. In Fig. 5, UPF is taken as an example for illustration.
其中,当所述UE和所述UPF之间传输数据时,所述UPF或NW-TT可以为所述UE提供时间信息。例如,所述UPF中的时钟或NW-TT中的时钟可以通过用户面PTP报文向所述UE发送所述时间信息。Wherein, when data is transmitted between the UE and the UPF, the UPF or NW-TT may provide time information for the UE. For example, the clock in the UPF or the clock in the NW-TT may send the time information to the UE through a user plane PTP message.
S502:所述UPF或NW-TT确定自身无法提供服务。S502: The UPF or NW-TT determines that it cannot provide services.
无法提供服务的具体内容可以参考图2所示的方法,此处不再赘述。For the specific content that the service cannot be provided, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
S503:所述UPF或NW-TT向SMF发送第一信息。S503: The UPF or NW-TT sends the first information to the SMF.
其中,所述第一信息可以用于指示当前为所述UE提供时间信息的所述UPF或NW-TT无法提供服务。所述第一信息的具体内容可以参考图2所示的方法,此处不再赘述。其中,所述第一信息可以承载在现有的消息中,也可以承载在新的消息(例如,用于更新授时能力的消息)中。Wherein, the first information may be used to indicate that the UPF or NW-TT currently providing time information for the UE cannot provide services. For the specific content of the first information, reference may be made to the method shown in FIG. 2 , which will not be repeated here. Wherein, the first information may be carried in an existing message, or in a new message (for example, a message for updating the timing capability).
S504:所述SMF向TNF发送所述第一信息。S504: The SMF sends the first information to the TNF.
其中,所述第一信息可以承载在现有的消息中,也可以承载在新的消息(例如,用于更新授时能力的消息)中。Wherein, the first information may be carried in an existing message, or in a new message (for example, a message for updating the timing capability).
在一些可能的实现方式中,所述UPF或NW-TT可以通过服务化接口向NRF发送所述第一信息,此时无需通过SMF中转。In some possible implementation manners, the UPF or the NW-TT may send the first information to the NRF through a service interface, and at this time, there is no need to transfer through the SMF.
S505:所述TNF根据所述UE的授时需求信息、一个或者多个网络设备的授时能力信息,确定为所述UE提供时间信息的第一网络设备。S505: The TNF determines a first network device that provides time information for the UE according to the timing requirement information of the UE and the timing capability information of one or more network devices.
其中,所述TNF可以根据图2或图3所示的方法获取所述一个或者多个网络设备的授时能力信息。Wherein, the TNF may obtain the timing capability information of the one or more network devices according to the method shown in FIG. 2 or FIG. 3 .
S505的具体内容可以参考图2所示的方法,此处不再赘述。For specific content of S505, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
下面以所述第一网络设备为第二AN设备为例进行说明。The following description is made by taking the first network device as the second AN device as an example.
S506:所述TNF向所述第二AN设备发送第二请求。S506: The TNF sends a second request to the second AN device.
S507:所述第二AN设备向所述TNF发送第二响应。S507: The second AN device sends a second response to the TNF.
S508:TNF向所述UE发送配置信息。S508: The TNF sends configuration information to the UE.
S509:所述第二AN设备向所述UE发送时间信息。S509: The second AN device sends time information to the UE.
S510:所述TNF记录所述UE的授时状态,生成计费信息。S510: The TNF records the timing status of the UE, and generates charging information.
S506-S510的具体内容可以参考S308-S312,此处不再赘述。For the specific content of S506-S510, reference may be made to S308-S312, which will not be repeated here.
可选的,S508和S510中的至少一个步骤是可选的步骤,具体内容可以参考图3所示的方法,此处不再赘述。Optionally, at least one step in S508 and S510 is an optional step, and for specific content, reference may be made to the method shown in FIG. 3 , which will not be repeated here.
通过该方法,当当前为所述UE提供时间信息的UPF或NW-TT无法提供服务时,所述UPF或NW-TT可以向TNF发送第一信息;所述TNF在接收到第一信息之后,可以根据本地保存的一个或者多个网络设备的授时能力信息重新选择为所述UE提供时间的网络设备。这样,可以保证为所述UE提供时间信息的连续性和准确性。Through this method, when the UPF or NW-TT currently providing time information for the UE cannot provide services, the UPF or NW-TT can send the first information to the TNF; after the TNF receives the first information, The network device that provides time for the UE may be reselected according to the locally stored timing capability information of one or more network devices. In this way, the continuity and accuracy of providing time information for the UE can be guaranteed.
基于与图2至图5方法实施例相同的发明构思,本申请实施例通过图6提供了一种通信装置,可用于执行上述方法实施例中相关步骤的功能。所述功能可以通过硬件实现,也可以通过软件或者硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。该通信装置的结构如图6所示,包括通信单元601和处理单元602。所述通信装置600可以应用于图1A或图1B所示的通信系统中的TNF、UPF、控制面网元或AN设备,或者,所述通信装置600可以应用于图1C所示的通信系统中的UPF、NW-TT或AN设备,并可以实现以上本申请实施例以及实例提供的通信方法。下面对所述通信装置600中的各个单元的功能进行介绍。Based on the same inventive concept as the method embodiments in FIGS. 2 to 5 , the embodiment of the present application provides a communication device through FIG. 6 , which can be used to perform the functions of the relevant steps in the above method embodiments. The functions described above may be realized by hardware, or may be realized by software or hardware executes corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The structure of the communication device is shown in FIG. 6 , including a communication unit 601 and a processing unit 602 . The communication apparatus 600 may be applied to TNF, UPF, control plane network element or AN equipment in the communication system shown in FIG. 1A or FIG. 1B , or, the communication apparatus 600 may be applied to the communication system shown in FIG. 1C UPF, NW-TT or AN equipment, and can implement the communication methods provided by the above embodiments and examples of this application. The functions of each unit in the communication device 600 are introduced below.
所述通信单元601,用于接收和发送数据。The communication unit 601 is configured to receive and send data.
当所述通信装置600应用于TNF、UPF、NW-TT、控制面网元或AN设备(在所述AN设备与核心网中的网元进行交互的场景中)时,所述通信单元601可以通过物理接口、 通信模块、通信接口、输入输出接口实现。所述通信装置600可以通过该通信单元连接网线或电缆,进而与其他设备建立物理连接。When the communication device 600 is applied to TNF, UPF, NW-TT, control plane network elements or AN equipment (in the scenario where the AN equipment interacts with network elements in the core network), the communication unit 601 may It is realized through physical interfaces, communication modules, communication interfaces, and input and output interfaces. The communication device 600 can be connected with a network cable or cable through the communication unit, and then establish a physical connection with other devices.
当所述通信装置600应用于AN设备(在所述AN设备与终端设备进行交互的场景中)时,所述通信单元601可以通过收发器实现,例如,移动通信模块。其中,移动通信模块可以包括至少一个天线、至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。所述AN设备可以通过所述移动通信模块与接入的终端设备进行通信。When the communication apparatus 600 is applied to an AN device (in a scenario where the AN device interacts with a terminal device), the communication unit 601 may be implemented by a transceiver, for example, a mobile communication module. Wherein, the mobile communication module may include at least one antenna, at least one filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA) and the like. The AN device can communicate with the accessed terminal device through the mobile communication module.
所述处理单元602可用于支持所述通信装置600执行上述方法实施例中的处理动作。所述处理单元602可以是通过处理器实现。例如,所述处理器可以为中央处理单元(central processing unit,CPU),还可以是其它通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。The processing unit 602 may be configured to support the communication device 600 to execute the processing actions in the foregoing method embodiments. The processing unit 602 may be implemented by a processor. For example, the processor can be a central processing unit (central processing unit, CPU), and can also be other general processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC) , field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
在一种实施方式中,所述通信装置600应用于图2-图5任一项所示的本申请实施例中的TNF。下面对该实施方式中的所述处理单元602的具体功能进行介绍。In an implementation manner, the communication device 600 is applied to the TNF in the embodiment of the present application shown in any one of FIG. 2 to FIG. 5 . The specific functions of the processing unit 602 in this embodiment will be introduced below.
所述处理单元602,用于获取一个或者多个网络设备的授时能力信息;其中,所述授时能力信息用于指示所述网络设备提供时间信息的能力;根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备。The processing unit 602 is configured to obtain timing capability information of one or more network devices; wherein, the timing capability information is used to indicate the capability of the network device to provide time information; according to the time requirement information of the first communication device and The timing capability information of the one or more network devices selects the first network device that provides time information for the first communication device.
可选的,所述处理单元602具体用于:在选择为所述第一通信设备提供时间信息的第一网络设备之前,通过所述通信单元601接收第一信息;其中,所述第一信息用于指示当前为所述第一通信设备提供时间信息的第二网络设备无法提供服务。Optionally, the processing unit 602 is specifically configured to: receive first information through the communication unit 601 before selecting a first network device that provides time information for the first communication device; wherein, the first information It is used to indicate that the second network device currently providing time information for the first communication device cannot provide services.
可选的,所述处理单元602具体用于:通过所述通信单元601接收来自NRF或SMF的所述第一信息。Optionally, the processing unit 602 is specifically configured to: use the communication unit 601 to receive the first information from the NRF or SMF.
可选的,所述处理单元602具体用于:通过所述通信单元601从NRF获取所述一个或者多个网络设备的授时能力信息。Optionally, the processing unit 602 is specifically configured to: obtain the timing capability information of the one or more network devices from the NRF through the communication unit 601 .
可选的,所述处理单元602具体用于:在选择为所述第一通信设备提供时间信息的第一网络设备之后,通过所述通信单元601向所述第一通信设备发送配置信息;其中,所述配置信息包括以下至少一项:用于指示所述第一网络设备发送时间信息的时域资源的信息、用于指示所述第一网络设备发送时间信息的频域资源的信息、所述第一网络设备对发送的时间信息进行加密的加密信息、所述第一网络设备发送时间信息的频度、用于指示所述第一网络设备发送时间信息的区域的信息。Optionally, the processing unit 602 is specifically configured to: after selecting a first network device that provides time information for the first communication device, send configuration information to the first communication device through the communication unit 601; wherein , the configuration information includes at least one of the following: information for instructing the first network device to send time domain resource information, information for instructing the first network device to send time domain resource information for time information, the Encrypted information for encrypting the time information sent by the first network device, frequency of sending time information by the first network device, and information for indicating an area where the first network device sends time information.
可选的,所述处理单元602具体用于:在选择为所述第一通信设备提供时间信息的第一网络设备之后,通过所述通信单元601向所述第一网络设备发送第一指示;其中,所述第一指示用于指示所述第一网络设备为所述第一通信设备提供时间信息。Optionally, the processing unit 602 is specifically configured to: send a first indication to the first network device through the communication unit 601 after selecting a first network device that provides time information for the first communication device; Wherein, the first indication is used to instruct the first network device to provide time information for the first communication device.
可选的,所述第一指示包括以下至少一项:用于指示所述第一通信设备位置的信息、所述第一通信设备的时间精度需求。Optionally, the first indication includes at least one of the following: information for indicating the location of the first communication device, and a time accuracy requirement of the first communication device.
可选的,所述处理单元602具体用于:在选择为所述第一通信设备提供时间信息的第一网络设备之后,根据所述第一通信设备的时间精度需求,生成针对所述第一通信设备的计费信息。Optionally, the processing unit 602 is specifically configured to: after selecting the first network device that provides time information for the first communication device, according to the time accuracy requirements of the first communication device, generate Billing information for communication devices.
可选的,所述处理单元602具体用于:根据所述第一通信设备的时间精度需求和所述 第一通信设备的签约数据,生成针对所述第一通信设备的计费信息。Optionally, the processing unit 602 is specifically configured to: generate billing information for the first communication device according to the time accuracy requirement of the first communication device and the subscription data of the first communication device.
可选的,任一个网络设备的授时能力信息包括以下至少一项:所述网络设备提供时间信息的时间精度、所述网络设备的服务范围、所述网络设备发送时间信息的频度、所述网络设备对时间信息的加密信息。Optionally, the timing capability information of any network device includes at least one of the following: the time accuracy of the time information provided by the network device, the service range of the network device, the frequency of sending time information by the network device, the Encrypted information of time information by network equipment.
可选的,所述时间需求信息包括以下至少一项:时间精度需求、接收时间信息的频度、用于指示所述第一通信设备位置的信息。Optionally, the time requirement information includes at least one of the following: time accuracy requirements, frequency of receiving time information, and information for indicating the location of the first communication device.
在一种实施方式中,所述通信装置600应用于图2-图5任一项所示的本申请实施例中的第一网络设备(例如,图2的第一网络设备,图3-图5任一项所示的第二AN设备)。下面对该实施方式中的所述处理单元602的具体功能进行介绍。In one implementation manner, the communication device 600 is applied to the first network device in any one of the embodiments of the present application shown in FIG. 2-FIG. 5 (for example, the first network device in FIG. 2, the first network device in FIG. The second AN device shown in any one of 5). The specific functions of the processing unit 602 in this embodiment will be introduced below.
处理单元602,用于通过所述通信单元601接收来自TNF的第一指示;其中,所述第一指示用于指示所述第一网络设备为第一通信设备提供时间信息,所述第一网络设备是所述TNF根据所述第一通信设备的时间需求信息和一个或者多个网络设备的授时能力信息,选择的为所述第一通信设备提供时间信息的网络设备;所述一个或者多个网络设备的授时能力信息用于指示所述一个或者多个网络设备提供时间信息的能力;通过所述通信单元601向所述第一通信设备发送时间信息。The processing unit 602 is configured to receive a first indication from the TNF through the communication unit 601; wherein the first indication is used to instruct the first network device to provide time information for the first communication device, and the first network The device is a network device selected by the TNF to provide time information for the first communication device according to the time requirement information of the first communication device and the timing capability information of one or more network devices; the one or more The timing capability information of the network device is used to indicate the capability of the one or more network devices to provide time information; and the time information is sent to the first communication device through the communication unit 601 .
可选的,所述处理单元602具体用于:当所述第一指示包括用于指示所述第一通信设备位置的信息时,根据所述用于指示所述第一通信设备位置的信息,确定向所述第一通信设备发送时间信息的区域;在所述区域内,通过所述通信单元601向所述第一通信设备发送时间信息。Optionally, the processing unit 602 is specifically configured to: when the first indication includes information indicating the location of the first communication device, according to the information indicating the location of the first communication device, Determine an area for sending time information to the first communication device; in the area, send time information to the first communication device through the communication unit 601 .
可选的,所述处理单元602具体用于:当所述第一指示包括所述第一通信设备的时间精度需求时,根据所述时间精度需求,确定向所述第一通信设备发送的时间信息的时间精度;通过所述通信单元601向所述第一通信设备发送具有所述时间精度的时间信息。Optionally, the processing unit 602 is specifically configured to: when the first indication includes a time accuracy requirement of the first communication device, determine the time to send to the first communication device according to the time accuracy requirement Time precision of information: sending time information with the time precision to the first communication device through the communication unit 601 .
可选的,所述处理单元602具体用于:在接收来自TNF的第一指示之前,通过所述通信单元601经由NRF向所述TNF发送所述第一网络设备的授时能力信息。Optionally, the processing unit 602 is specifically configured to: before receiving the first indication from the TNF, send the timing capability information of the first network device to the TNF through the communication unit 601 via the NRF.
可选的,所述处理单元602具体用于:在向所述第一通信设备发送时间信息之后,通过所述通信单元601向所述TNF发送第一信息;其中,所述第一信息用于指示所述第一网络设备无法提供服务。Optionally, the processing unit 602 is specifically configured to: send first information to the TNF through the communication unit 601 after sending time information to the first communication device; where the first information is used to Indicate that the first network device cannot provide the service.
可选的,所述处理单元602具体用于:通过所述通信单元601经由NRF或SMF向所述TNF发送所述第一信息。Optionally, the processing unit 602 is specifically configured to: use the communication unit 601 to send the first information to the TNF via NRF or SMF.
可选的,所述处理单元602具体用于:在接收来自TNF的第一指示之后,通过所述通信单元601向所述TNF发送配置信息;其中,所述配置信息包括以下至少一项:用于指示所述第一网络设备发送时间信息的时域资源的信息、用于指示所述第一网络设备发送时间信息的频域资源的信息、所述第一网络设备对发送的时间信息进行加密的加密信息、所述第一网络设备发送时间信息的频度、用于指示所述第一网络设备发送时间信息的区域的信息。Optionally, the processing unit 602 is specifically configured to: after receiving the first indication from the TNF, send configuration information to the TNF through the communication unit 601; wherein the configuration information includes at least one of the following: The information used to indicate the time domain resource for sending time information by the first network device, the information for frequency domain resource for indicating the first network device to send time information, and the first network device encrypts the time information sent The encryption information of the first network device, the frequency of sending the time information by the first network device, and the information used to indicate the area where the first network device sends the time information.
可选的,任一个网络设备的授时能力信息包括以下至少一项:所述网络设备提供时间信息的时间精度、所述网络设备的服务范围、所述网络设备发送时间信息的频度、所述网络设备对时间信息的加密信息。Optionally, the timing capability information of any network device includes at least one of the following: the time accuracy of the time information provided by the network device, the service range of the network device, the frequency of sending time information by the network device, the Encrypted information of time information by network equipment.
可选的,所述时间需求信息包括以下至少一项:时间精度需求、接收时间信息的频度、 用于指示所述第一通信设备位置的信息。Optionally, the time requirement information includes at least one of the following: a time accuracy requirement, a frequency of receiving time information, and information for indicating a location of the first communication device.
需要说明的是,本申请以上实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of modules in the above embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may be other division methods. In addition, each function in each embodiment of the present application Units can be integrated into one processing unit, or physically exist separately, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
基于相同的技术构思,本申请实施例通过图7所示提供了一种通信设备,可用于执行上述方法实施例中相关的步骤。所述通信设备可以应用于图1A或图1B所示的通信系统中的TNF、UPF、控制面网元或AN设备,或者,所述通信装置600可以应用于图1C所示的通信系统中的UPF、NW-TT或AN设备,可以实现以上本申请实施例以及实例提供的通信方法,具有图6所示的通信装置的功能。参阅图7所示,所述通信设备700包括:通信模块701、处理器702以及存储器703。其中,所述通信模块701、所述处理器702以及所述存储器703之间相互连接。Based on the same technical concept, the embodiment of the present application provides a communication device as shown in FIG. 7 , which can be used to execute the relevant steps in the above method embodiments. The communication device may be applied to a TNF, UPF, control plane network element or AN device in the communication system shown in FIG. 1A or FIG. 1B , or, the communication apparatus 600 may be applied to a The UPF, NW-TT or AN equipment can implement the communication methods provided in the above embodiments and examples of the present application, and have the functions of the communication device shown in FIG. 6 . Referring to FIG. 7 , the communication device 700 includes: a communication module 701 , a processor 702 and a memory 703 . Wherein, the communication module 701 , the processor 702 and the memory 703 are connected to each other.
可选的,所述通信模块701、所述处理器702以及所述存储器703之间通过总线704相互连接。所述总线704可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Optionally, the communication module 701 , the processor 702 and the memory 703 are connected to each other through a bus 704 . The bus 704 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus or the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 7 , but it does not mean that there is only one bus or one type of bus.
所述通信模块701,用于接收和发送数据,实现与其他设备之间的通信交互。例如,所述通信模块701可以通过物理接口、通信模块、通信接口、输入输出接口实现。The communication module 701 is configured to receive and send data to realize communication interaction with other devices. For example, the communication module 701 may be implemented through a physical interface, a communication module, a communication interface, or an input/output interface.
所述处理器702可用于支持所述通信设备700执行上述方法实施例中的处理动作。当所述通信设备700用于实现上述方法实施例时,处理器702还可用于实现上述处理单元602的功能。所述处理器702可以是CPU,还可以是其它通用处理器、DSP、ASIC、FPGA或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。The processor 702 may be configured to support the communication device 700 to execute the processing actions in the foregoing method embodiments. When the communication device 700 is used to implement the foregoing method embodiments, the processor 702 may also be configured to implement the functions of the foregoing processing unit 602 . The processor 702 may be a CPU, or other general-purpose processors, DSP, ASIC, FPGA or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
在一种实施方式中,所述通信设备700应用于图2-图5任一项所示的本申请实施例中的TNF。所述处理器702具体用于:In an implementation manner, the communication device 700 is applied to the TNF in the embodiment of the present application shown in any one of FIG. 2 to FIG. 5 . The processor 702 is specifically used for:
获取一个或者多个网络设备的授时能力信息;其中,所述授时能力信息用于指示所述网络设备提供时间信息的能力;根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备。Acquiring timing capability information of one or more network devices; wherein, the timing capability information is used to indicate the capability of the network device to provide time information; according to the time requirement information of the first communication device and the one or more network devices Selecting the first network device that provides time information for the first communication device.
在一种实施方式中,所述通信设备700应用于图2-图5任一项所示的本申请实施例中 的第一网络设备(例如,图2的第一网络设备,图3-图5任一项所示的第二AN设备)。所述处理器702具体用于:In one implementation manner, the communication device 700 is applied to the first network device in the embodiment of the present application shown in any one of FIGS. 2-5 (for example, the first network device in FIG. 2, the first network device in FIG. The second AN device shown in any one of 5). The processor 702 is specifically used for:
通过所述通信模块701接收来自TNF的第一指示;其中,所述第一指示用于指示所述第一网络设备为第一通信设备提供时间信息,所述第一网络设备是所述TNF根据所述第一通信设备的时间需求信息和一个或者多个网络设备的授时能力信息,选择的为所述第一通信设备提供时间信息的网络设备;所述一个或者多个网络设备的授时能力信息用于指示所述一个或者多个网络设备提供时间信息的能力;通过所述通信模块701向所述第一通信设备发送时间信息。Receive a first indication from the TNF through the communication module 701; wherein the first indication is used to instruct the first network device to provide time information for the first communication device, and the first network device is the TNF according to The time requirement information of the first communication device and the timing capability information of one or more network devices, the network device selected to provide time information for the first communication device; the timing capability information of the one or more network devices It is used to indicate the capability of the one or more network devices to provide time information; sending the time information to the first communication device through the communication module 701 .
所述处理器702的具体功能可以参考以上本申请实施例以及实例提供的通信方法中的描述,以及图6所示本申请实施例中对所述通信装置600的具体功能描述,此处不再赘述。For the specific functions of the processor 702, refer to the descriptions in the above embodiments of the application and the communication methods provided in the examples, as well as the specific function description of the communication device 600 in the embodiment of the application shown in FIG. 6 , which will not be repeated here. repeat.
所述存储器703,用于存放程序指令和数据等。具体地,程序指令可以包括程序代码,该程序代码包括计算机操作指令。存储器703可能包含RAM,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。处理器702执行存储器703所存放的程序指令,并使用所述存储器703中存储的数据,实现上述功能,从而实现上述本申请实施例提供的通信方法。The memory 703 is used to store program instructions and data. Specifically, the program instructions may include program codes including computer operation instructions. The memory 703 may include a RAM, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 702 executes the program instructions stored in the memory 703, and uses the data stored in the memory 703 to implement the above functions, thereby realizing the communication method provided by the above embodiments of the present application.
可以理解,本申请图7中的存储器703可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是ROM、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是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)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 703 in FIG. 7 of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory can be ROM, programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM) , EEPROM) or flash memory. Volatile memory can be RAM, which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as 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 connection dynamic random access memory (Synchlink DRAM, SLDRAM ) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
基于以上实施例,本申请实施例还提供了一种计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行以上实施例提供的方法。Based on the above embodiments, an embodiment of the present application further provides a computer program that, when the computer program is run on a computer, causes the computer to execute the method provided in the above embodiments.
基于以上实施例,本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,所述计算机程序被计算机执行时,使得计算机执行以上实施例提供的方法。Based on the above embodiments, the embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a computer, the computer executes the method provided in the above embodiments .
其中,存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。Wherein, the storage medium may be any available medium that can be accessed by a computer. By way of example but not limitation: computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or may be used to carry or store information in the form of instructions or data structures desired program code and any other medium that can be accessed by a computer.
基于以上实施例,本申请实施例还提供了一种芯片,所述芯片用于读取存储器中存储的计算机程序,实现以上实施例提供的方法。Based on the above embodiments, an embodiment of the present application further provides a chip, the chip is used to read a computer program stored in a memory, and implement the method provided in the above embodiments.
基于以上实施例,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,用于支持计算机装置实现以上实施例中各设备所涉及的功能。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器用于保存该计算机装置必要的程序和数据。该芯片系统, 可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, an embodiment of the present application provides a chip system, where the chip system includes a processor, configured to support a computer device to implement functions involved in each device in the above embodiments. In a possible design, the chip system further includes a memory, and the memory is used to store necessary programs and data of the computer device. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
综上所述,本申请实施例提供了一种通信方法、装置及设备,在该方法中,TNF在获取一个或者多个网络设备的授时能力信息之后,可以根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备,即确定出用于提供时间信息的授时提供方。另外,通过该方法,当存在多个能够提供时间信息的网络设备时,所述TNF可以选择所述第一网络设备来为所述第一通信设备提供时间信息。To sum up, the embodiment of the present application provides a communication method, device, and equipment. In this method, after TNF obtains the timing capability information of one or more network equipment, it can and the timing capability information of the one or more network devices, select the first network device that provides time information for the first communication device, that is, determine the timing provider for providing time information. In addition, through this method, when there are multiple network devices capable of providing time information, the TNF may select the first network device to provide time information for the first communication device.
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In each embodiment of the present application, if there is no special explanation and logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (24)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    时钟网络功能获取一个或者多个网络设备的授时能力信息;其中,所述授时能力信息用于指示所述网络设备提供时间信息的能力;The clock network function acquires timing capability information of one or more network devices; wherein, the timing capability information is used to indicate the capability of the network device to provide time information;
    所述时钟网络功能根据第一通信设备的时间需求信息和所述一个或者多个网络设备的授时能力信息,选择为所述第一通信设备提供时间信息的第一网络设备。The clock network function selects a first network device that provides time information for the first communication device according to the time requirement information of the first communication device and the timing capability information of the one or more network devices.
  2. 根据权利要求1所述的方法,其特征在于,在选择为所述第一通信设备提供时间信息的第一网络设备之前,所述方法还包括:The method according to claim 1, wherein before selecting the first network device that provides time information for the first communication device, the method further comprises:
    所述时钟网络功能接收第一信息;其中,所述第一信息用于指示当前为所述第一通信设备提供时间信息的第二网络设备无法提供服务。The clock network function receives first information; wherein the first information is used to indicate that the second network device currently providing time information for the first communication device cannot provide services.
  3. 根据权利要求2所述的方法,其特征在于,所述时钟网络功能接收第一信息,包括:The method according to claim 2, wherein the clock network function receiving the first information includes:
    所述时钟网络功能接收来自网络存储功能或会话管理功能的所述第一信息。The clock network function receives the first information from a network storage function or a session management function.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,时钟网络功能获取一个或者多个网络设备的授时能力信息,包括:The method according to any one of claims 1 to 3, wherein the clock network function acquires timing capability information of one or more network devices, including:
    所述时钟网络功能从网络存储功能获取所述一个或者多个网络设备的授时能力信息。The clock network function obtains the timing capability information of the one or more network devices from the network storage function.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,在选择为所述第一通信设备提供时间信息的第一网络设备之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein after selecting the first network device that provides time information for the first communication device, the method further comprises:
    所述时钟网络功能向所述第一通信设备发送配置信息;The clock network function sends configuration information to the first communication device;
    其中,所述配置信息包括以下至少一项:用于指示所述第一网络设备发送时间信息的时域资源的信息、用于指示所述第一网络设备发送时间信息的频域资源的信息、所述第一网络设备对发送的时间信息进行加密的加密信息、所述第一网络设备发送时间信息的频度、用于指示所述第一网络设备发送时间信息的区域的信息。Wherein, the configuration information includes at least one of the following: information used to indicate the time domain resources used by the first network device to send time information, information used to indicate frequency domain resources used by the first network device to send time information, Encryption information for encrypting the time information sent by the first network device, frequency of sending time information by the first network device, and information for indicating an area where the first network device sends time information.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,在选择为所述第一通信设备提供时间信息的第一网络设备之后,所述方法还包括:The method according to any one of claims 1 to 5, wherein after selecting the first network device that provides time information for the first communication device, the method further comprises:
    所述时钟网络功能向所述第一网络设备发送第一指示;其中,所述第一指示用于指示所述第一网络设备为所述第一通信设备提供时间信息。The clock network function sends a first indication to the first network device; wherein the first indication is used to instruct the first network device to provide time information for the first communication device.
  7. 根据权利要求6所述的方法,其特征在于,所述第一指示包括以下至少一项:The method according to claim 6, wherein the first indication includes at least one of the following:
    用于指示所述第一通信设备位置的信息、所述第一通信设备的时间精度需求。The information used to indicate the location of the first communication device, and the time accuracy requirement of the first communication device.
  8. 根据权利要求1至7任一项所述的方法,其特征在于,在选择为所述第一通信设备提供时间信息的第一网络设备之后,所述方法还包括:The method according to any one of claims 1 to 7, wherein after selecting the first network device that provides time information for the first communication device, the method further comprises:
    所述时钟网络功能根据所述第一通信设备的时间精度需求,生成针对所述第一通信设备的计费信息。The clock network function generates charging information for the first communication device according to the time accuracy requirement of the first communication device.
  9. 根据权利要求8所述的方法,其特征在于,所述时钟网络功能根据所述第一通信设备的时间精度需求,生成针对所述第一通信设备的计费信息,包括:The method according to claim 8, wherein the clock network function generates billing information for the first communication device according to the time accuracy requirements of the first communication device, including:
    所述时钟网络功能根据所述第一通信设备的时间精度需求和所述第一通信设备的签约数据,生成针对所述第一通信设备的计费信息。The clock network function generates charging information for the first communication device according to the time accuracy requirement of the first communication device and the subscription data of the first communication device.
  10. 根据权利要求1至9任一项所述的方法,其特征在于,任一个网络设备的授时能力信息包括以下至少一项:The method according to any one of claims 1 to 9, wherein the timing capability information of any network device includes at least one of the following:
    所述网络设备提供时间信息的时间精度、所述网络设备的服务范围、所述网络设备发 送时间信息的频度、所述网络设备对时间信息的加密信息。The time accuracy of the time information provided by the network device, the service scope of the network device, the frequency of sending the time information by the network device, and the encryption information of the time information by the network device.
  11. 根据权利要求1至10中任一项所述的方法,其特征在于,所述时间需求信息包括以下至少一项:时间精度需求、接收时间信息的频度、用于指示所述第一通信设备位置的信息。The method according to any one of claims 1 to 10, wherein the time requirement information includes at least one of the following: time accuracy requirements, frequency of receiving time information, and used to indicate that the first communication device location information.
  12. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    第一网络设备接收来自时钟网络功能的第一指示;其中,所述第一指示用于指示所述第一网络设备为第一通信设备提供时间信息,所述第一网络设备是所述时钟网络功能根据所述第一通信设备的时间需求信息和一个或者多个网络设备的授时能力信息选择的;所述一个或者多个网络设备的授时能力信息用于指示所述一个或者多个网络设备提供时间信息的能力;The first network device receives a first indication from a clock network function; wherein the first indication is used to instruct the first network device to provide time information for the first communication device, and the first network device is the clock network The function is selected according to the time requirement information of the first communication device and the timing capability information of one or more network devices; the timing capability information of the one or more network devices is used to instruct the one or more network devices to provide The ability to time information;
    所述第一网络设备向所述第一通信设备发送时间信息。The first network device sends time information to the first communication device.
  13. 根据权利要求12所述的方法,其特征在于,当所述第一指示包括用于指示所述第一通信设备位置的信息时,所述第一网络设备向所述第一通信设备发送时间信息,包括:The method according to claim 12, wherein when the first indication includes information indicating the location of the first communication device, the first network device sends time information to the first communication device ,include:
    所述第一网络设备根据所述用于指示所述第一通信设备位置的信息,确定向所述第一通信设备发送时间信息的区域;The first network device determines an area for sending time information to the first communication device according to the information indicating the location of the first communication device;
    所述第一网络设备在所述区域内,向所述第一通信设备发送时间信息。The first network device sends time information to the first communication device within the area.
  14. 根据权利要求12或13所述的方法,其特征在于,当所述第一指示包括所述第一通信设备的时间精度需求时,所述第一网络设备向所述第一通信设备发送时间信息,包括:The method according to claim 12 or 13, wherein when the first indication includes the time accuracy requirement of the first communication device, the first network device sends time information to the first communication device ,include:
    所述第一网络设备根据所述时间精度需求,确定向所述第一通信设备发送的时间信息的时间精度;The first network device determines the time accuracy of the time information sent to the first communication device according to the time accuracy requirement;
    所述第一网络设备向所述第一通信设备发送具有所述时间精度的时间信息。The first network device sends time information with the time precision to the first communication device.
  15. 根据权利要求12至14任一项所述的方法,其特征在于,在第一网络设备接收来自时钟网络功能的第一指示之前,所述方法还包括:The method according to any one of claims 12 to 14, wherein before the first network device receives the first indication from the clock network function, the method further comprises:
    所述第一网络设备向网络存储功能发送所述第一网络设备的授时能力信息。The first network device sends the timing capability information of the first network device to the network storage function.
  16. 根据权利要求12至15任一项所述的方法,其特征在于,在所述第一网络设备向所述第一通信设备发送时间信息之后,所述方法还包括:The method according to any one of claims 12 to 15, wherein after the first network device sends time information to the first communication device, the method further comprises:
    所述第一网络设备向所述时钟网络功能发送第一信息;其中,所述第一信息用于指示所述第一网络设备无法提供服务。The first network device sends first information to the clock network function; where the first information is used to indicate that the first network device cannot provide a service.
  17. 根据权利要求16所述的方法,其特征在于,所述第一网络设备向所述时钟网络功能发送第一信息,包括:The method according to claim 16, wherein the first network device sends the first information to the clock network function, comprising:
    所述第一网络设备通过网络存储功能或会话管理功能向所述时钟网络功能发送所述第一信息。The first network device sends the first information to the clock network function through a network storage function or a session management function.
  18. 根据权利要求12至17任一项所述的方法,其特征在于,在第一网络设备接收来自时钟网络功能的第一指示之后,所述方法包括:The method according to any one of claims 12 to 17, wherein after the first network device receives the first indication from the clock network function, the method comprises:
    所述第一网络设备向所述时钟网络功能发送配置信息;The first network device sends configuration information to the clock network function;
    其中,所述配置信息包括以下至少一项:用于指示所述第一网络设备发送时间信息的时域资源的信息、用于指示所述第一网络设备发送时间信息的频域资源的信息、所述第一网络设备对发送的时间信息进行加密的加密信息、所述第一网络设备发送时间信息的频度、用于指示所述第一网络设备发送时间信息的区域的信息。Wherein, the configuration information includes at least one of the following: information used to indicate the time domain resources used by the first network device to send time information, information used to indicate frequency domain resources used by the first network device to send time information, Encryption information for encrypting the time information sent by the first network device, frequency of sending time information by the first network device, and information for indicating an area where the first network device sends time information.
  19. 根据权利要求12至18任一项所述的方法,其特征在于,任一个网络设备的授时能力信息包括以下至少一项:The method according to any one of claims 12 to 18, wherein the timing capability information of any network device includes at least one of the following:
    所述网络设备提供时间信息的时间精度、所述网络设备的服务范围、所述网络设备发送时间信息的频度、所述网络设备对时间信息的加密信息。The time accuracy of the time information provided by the network device, the service range of the network device, the frequency of sending the time information by the network device, and the encryption information of the time information by the network device.
  20. 根据权利要求12至19中任一项所述的方法,其特征在于,所述时间需求信息包括以下至少一项:时间精度需求、接收时间信息的频度、用于指示所述第一通信设备位置的信息。The method according to any one of claims 12 to 19, wherein the time requirement information includes at least one of the following: time accuracy requirements, frequency of receiving time information, and information used to indicate that the first communication device location information.
  21. 一种通信装置,其特征在于,包括:A communication device, characterized by comprising:
    通信单元,用于接收和发送数据;a communication unit for receiving and sending data;
    处理单元,用于通过所述通信单元,执行如权利要求1-20任一项所述的方法。A processing unit, configured to execute the method according to any one of claims 1-20 through the communication unit.
  22. 一种通信系统,其特征在于,包括:A communication system, characterized in that it includes:
    时钟网络功能,用于实现如权利要求1-11任一项所述的方法;A clock network function, used to implement the method according to any one of claims 1-11;
    第一网络设备,用于实现如权利要求12-20任一项所述的方法。The first network device is configured to implement the method according to any one of claims 12-20.
  23. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行权利要求1-20任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is run on a computer, the computer is made to execute the computer program described in any one of claims 1-20. described method.
  24. 一种芯片,其特征在于,所述芯片与存储器耦合,所述芯片读取所述存储器中存储的计算机程序,执行权利要求1-20任一项所述的方法。A chip, characterized in that the chip is coupled to a memory, and the chip reads a computer program stored in the memory to execute the method according to any one of claims 1-20.
PCT/CN2022/137355 2021-12-09 2022-12-07 Communication method and apparatus, and device WO2023104123A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111497791.XA CN116261212A (en) 2021-12-09 2021-12-09 Communication method, device and equipment
CN202111497791.X 2021-12-09

Publications (1)

Publication Number Publication Date
WO2023104123A1 true WO2023104123A1 (en) 2023-06-15

Family

ID=86686628

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/137355 WO2023104123A1 (en) 2021-12-09 2022-12-07 Communication method and apparatus, and device

Country Status (2)

Country Link
CN (1) CN116261212A (en)
WO (1) WO2023104123A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190306820A1 (en) * 2017-05-05 2019-10-03 Fujitsu Limited Information Indication Method and Apparatus, Information Detection Method and Apparatus and Communication System
CN111294134A (en) * 2020-02-04 2020-06-16 北京邮电大学 Time service method and device and electronic equipment
CN111294133A (en) * 2020-02-04 2020-06-16 北京邮电大学 Method and device for transmitting and receiving time service signaling and electronic equipment
CN112486249A (en) * 2020-11-30 2021-03-12 掌阅科技股份有限公司 Time synchronization method, computing device and computer storage medium
CN113518420A (en) * 2020-04-09 2021-10-19 华为技术有限公司 Communication method and communication device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190306820A1 (en) * 2017-05-05 2019-10-03 Fujitsu Limited Information Indication Method and Apparatus, Information Detection Method and Apparatus and Communication System
CN111294134A (en) * 2020-02-04 2020-06-16 北京邮电大学 Time service method and device and electronic equipment
CN111294133A (en) * 2020-02-04 2020-06-16 北京邮电大学 Method and device for transmitting and receiving time service signaling and electronic equipment
CN113518420A (en) * 2020-04-09 2021-10-19 华为技术有限公司 Communication method and communication device
CN112486249A (en) * 2020-11-30 2021-03-12 掌阅科技股份有限公司 Time synchronization method, computing device and computer storage medium

Also Published As

Publication number Publication date
CN116261212A (en) 2023-06-13

Similar Documents

Publication Publication Date Title
WO2022257549A1 (en) Network slicing method and device, and storage medium
WO2023280121A1 (en) Method and apparatus for obtaining edge service
JP2022539833A (en) Network node, method for network node, user equipment and method for user equipment for control of network slice usage
WO2021135187A1 (en) Slice control method and apparatus
EP4044685A1 (en) Network access method and communication apparatus
WO2016177106A1 (en) Dedicated core network selection method and device
JP7193060B2 (en) COMMUNICATION METHOD, COMMUNICATION DEVICE, AND COMMUNICATION SYSTEM
CN114666859A (en) Method and apparatus for selecting a session management entity serving a wireless communication device
US11601866B2 (en) Systems and methods for enabling optimized reporting related to policy control request triggers
WO2023051287A1 (en) Communication method and apparatus
JP2023531845A (en) Time synchronization method, electronic equipment and storage medium
WO2022222745A1 (en) Communication method and apparatus
CN116723507B (en) Terminal security method and device for edge network
US11228896B2 (en) Authorization of roaming for new radio subscribers via an alternative radio access technology
WO2023179238A1 (en) Timing method, communication apparatus, and communication system
WO2023104123A1 (en) Communication method and apparatus, and device
US20230104162A1 (en) Using dnai to identify a smf supporting connection to a local dn
US11233883B2 (en) Systems and methods for acquiring an internet protocol network address of a user equipment in networks
CN116868603A (en) New method for external parameter provisioning for AF sessions
WO2023051620A1 (en) Communication method, communication apparatus and communication system
WO2023125392A1 (en) Communication method and apparatus
WO2023231465A1 (en) Time synchronization method, communication apparatus and communication system
WO2023231450A1 (en) Time synchronization method and communication apparatus
WO2023051381A1 (en) Application server determination method and apparatus
WO2023045741A1 (en) Positioning method and apparatus, and readable storage medium

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: 22903543

Country of ref document: EP

Kind code of ref document: A1