WO2022120705A1 - 一种近距离业务的计费方法及通信装置 - Google Patents

一种近距离业务的计费方法及通信装置 Download PDF

Info

Publication number
WO2022120705A1
WO2022120705A1 PCT/CN2020/135230 CN2020135230W WO2022120705A1 WO 2022120705 A1 WO2022120705 A1 WO 2022120705A1 CN 2020135230 W CN2020135230 W CN 2020135230W WO 2022120705 A1 WO2022120705 A1 WO 2022120705A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
information
service
charging
short
Prior art date
Application number
PCT/CN2020/135230
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to PCT/CN2020/135230 priority Critical patent/WO2022120705A1/zh
Publication of WO2022120705A1 publication Critical patent/WO2022120705A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • the present application relates to the field of wireless communication technologies, and in particular, to a charging method and a communication device for short-range services.
  • Proximity based services refers to services that use wireless communication technology for mutual discovery and direct communication between terminal devices.
  • Proximity services can include ProSe discovery and ProSe communication. two kinds.
  • Proximity services can be used in many scenarios. For example, in business scenarios, using proximity services to discover nearby restaurants and friends; for example, in security scenarios, rescue teams can use proximity services to conduct operations in the wild. group communication, etc.
  • Proximity service is a type of service provided by mobile operators. Various behaviors of terminal equipment in the process of carrying out short-range service will use the operator's commercial spectrum. Therefore, terminal equipment needs to be charged for using short-range service.
  • the network adopts a charging policy of event charging for the proximity discovery service, which results in that the terminal device will be charged as long as it successfully applies for the proximity discovery service.
  • the terminal device may not perform the short-range discovery service after obtaining the service authorization, for example, because there is no local spectrum resource for the short-range discovery service, or the terminal device as a monitor (monitor) does not monitor what it wants to monitor. Information of other terminal equipment as an announcer, resulting in unsuccessful service. In this case, it is unreasonable to still charge the terminal device, so the user experience is also poor.
  • the present application provides a charging method and a communication device for a short-range service, which are used to provide a charging method for a short-range discovery service, so as to solve the problem of unreasonable charging for the short-range discovery service in the prior art, and improve user experience .
  • the embodiments of the present application provide a charging method for short-range services, which can be performed by an access and mobility management function, or by a component (for example, chip or circuit) implementation.
  • the method includes: an access and mobility management function receives a first request message from a terminal device, where the first request message is used to request a proximity discovery service of a first application; the access and mobility management function according to the first request message and a first charging policy, and send a first response message to the terminal device, where the first response message is used to indicate that the terminal device is authorized to perform the short-range discovery service, and the first charging policy is the short-range discovery service of the terminal device The charging policy corresponding to the discovery service; wherein, the first response message includes the charging information of the short-range discovery service, and the charging information is used for the terminal device to report the statistical information of the short-range discovery service.
  • the access and mobility management function can carry the charging information of the short-range discovery service in the response message for authorizing the terminal device to perform the short-range discovery service.
  • the terminal device can report statistical information according to the charging information.
  • the network eg, the charging network element
  • charge the short-range discovery service according to the statistical information reported by the terminal device, so as to solve the problem of unreasonable charging of the existing short-range discovery service and effectively improve the user experience.
  • the first response message further includes reporting indication information, where the reporting indication information is used to instruct the terminal device to report the statistical information.
  • the access and mobility management function can implicitly instruct the terminal device to report the statistical information by whether or not the charging information is received, and can also explicitly instruct the terminal device to carry the reporting indication information in the first response message. Report statistics to improve the applicability of the method.
  • the charging information includes information used to represent charging for the proximity discovery service according to traffic and/or duration; the statistical information includes the proximity discovery service The traffic and/or duration of the business.
  • the network may charge for the proximity discovery service of the terminal device according to traffic and/or duration, and configure a corresponding charging policy.
  • the access and mobility management network element can notify the terminal equipment of the charging method of the short-range discovery service by carrying the information used to represent the charging for the short-range discovery service according to the traffic and/or duration in the charging information. , so that the billing method is more in line with the user's payment habits and effectively improves the user experience.
  • the access and mobility management function sends a first response message to the terminal device according to the first request message and the first charging policy, which may include: the access and mobility management function According to the first request message and the subscription data of the terminal device, it is determined that the terminal device is authorized to perform the short-range discovery service; the access and mobility management function sends a first response message to the terminal device according to the first charging policy.
  • the method further includes: the access and mobility management function acquires the first charging policy from the policy control function.
  • the first request message further includes first information, where the first information is used to request unified charging for the proximity discovery service and the proximity communication service of the first application , or the first information is used to indicate that the terminal device supports unified charging for the short-range discovery service and the short-range communication service; Indication information for unified charging; the charging information further includes indication information for instructing uniform charging for short-range discovery services and short-range communication services.
  • the network also supports unified charging for the short-range discovery service and the short-range communication service of the terminal device.
  • the unified charging can be determined by the network according to the capabilities of the terminal device, or it can be actively requested by the terminal device. In this way, the charging methods for the short-range services of the terminal device can be enriched, so that users have more choices. .
  • the statistical information further includes service type information of the proximity service, where the service type information is used to indicate that the service type of the proximity service performed by the terminal device is the proximity discovery service.
  • the statistical information further includes event information, where the event information includes the service role of the terminal device and/or the used public land mobile network PLMN in the process of the proximity discovery service resource.
  • the network for example, the charging function
  • the network charges the short-range discovery service
  • it can also base on the event information in the process of the short-range discovery service of the terminal device. In this way, more factors are considered when charging for the short-range discovery service of the terminal device, which can make the charging strategy more reasonable and improve the user experience.
  • the first response message further includes reporting conditions for statistical information.
  • the first response message further includes an address of the charging function, where the address of the charging function is used by the terminal device to report the statistical information to the charging function.
  • the method further includes: the access and mobility management function receives the statistical information from the terminal device; the access and mobility management function sends the statistical information to the charging function .
  • the terminal equipment can either report statistical information to the charging network element through the intermediate forwarding of the access and mobility management network element, or directly report the statistical information to the charging network element according to the address of the charging function provided by the access and mobility management network element.
  • the charging network reports statistical information, thereby making the method more flexible.
  • the first request message includes second information, and the second information is used by the terminal device to request the short-range discovery service in an offline state; the method further includes : The access and mobility management function allocates a transaction identifier to the terminal device, and the transaction identifier is used to identify the terminal device after the terminal device goes offline; the first response message also includes the transaction identifier; the statistical information also includes the transaction identifier. Include the transaction ID.
  • the method further includes: the access and mobility management function sends the transaction identifier or the service authorization time corresponding to the transaction identifier to the unified data management.
  • the above technical solution can also be applied to the scenario where the terminal device performs the short-range discovery service in the off-network state, and the access and mobility management network element can assign the corresponding terminal device to the terminal device while authorizing the terminal device to perform the short-range discovery service.
  • the transaction ID is stored in the unified data management, it is not deleted when the terminal device is deregistered or is not deleted before the service authorization time of the terminal device’s short-range discovery service arrives, so that the network still remains after the terminal device is disconnected from the network.
  • the terminal device can be traced through the transaction identifier, and the context information of the terminal device before and after being disconnected from the network can be linked according to the transaction identifier for effective management.
  • the embodiments of the present application provide another charging method for short-range services, and the method may be executed by a terminal device or by a component (eg, a chip or a circuit) configured in the terminal device.
  • a component eg, a chip or a circuit
  • the method includes: the terminal device sends a first request message to the access and mobility management function, where the first request message is used to request the proximity discovery service of the first application; the terminal device receives the first request message from the access and mobility management function A response message, the first response message is used to indicate that the terminal device is authorized to perform the proximity discovery service, and the first response message includes the charging information of the proximity discovery service, and the charging information is used for the terminal device to report The statistical information of the short-range discovery service; the terminal device reports the statistical information according to the charging information.
  • the first response message further includes reporting indication information; the terminal equipment reports the statistical information according to the charging information, including: the terminal equipment reports the indication information according to the charging information and the reporting information, Report the statistics described.
  • the charging information includes information used to represent charging for the proximity discovery service according to traffic and/or duration; the statistical information includes the proximity discovery service The traffic and/or duration of the business.
  • the first request message further includes first information, where the first information is used to request unified charging for the proximity discovery service and the proximity communication service of the first application , or the first information is used to indicate that the terminal device supports unified charging for the short-range discovery service and the short-range communication service; the charging information also includes a command used to indicate that the short-range discovery service and the short-range communication service are uniformly billed. Fee instructions.
  • the statistical information further includes service type information of the proximity service, where the service type information is used to indicate that the service type of the proximity service performed by the terminal device is the proximity discovery service.
  • the statistical information further includes event information, where the event information includes the service role of the terminal device and/or the used public land mobile network PLMN in the process of the proximity discovery service resource.
  • the first response message further includes a reporting condition for statistical information; when the reporting condition is satisfied, the terminal device reports the statistical information.
  • the first response message further includes the address of the charging function;
  • the reporting of the statistical information by the terminal device may include: the terminal device, according to the address of the charging function, The function reports the statistics.
  • the terminal device reporting the statistical information may include: the terminal device reporting the statistical information to the access and mobility management function.
  • the first request message includes second information, where the second information is used by the terminal device to request the short-range discovery service in an offline state; the first The response message further includes a transaction identifier of the terminal device, where the transaction identifier is used to identify the terminal device after the terminal device goes offline; the statistical information also includes the transaction identifier.
  • an embodiment of the present application provides a charging method for a short-range service.
  • the method may be performed by unified data management, or may be performed by a component (eg, a chip or circuit) configured in the unified data management.
  • the method includes: unified data management receives a transaction identifier from a terminal device with an access and mobility management function, where the transaction identifier is used to identify the terminal device after the terminal device is disconnected from the network; unified data management does not delete the transaction identifier;
  • the method further includes: the unified data management receives a service authorization time corresponding to the transaction identifier from the access and mobility management function; the unified data management is deregistered in the terminal device Not deleting the transaction identifier afterwards includes: the unified data management does not delete the transaction identifier after the terminal device is deregistered and before the service authorization time arrives.
  • an embodiment of the present application provides a communication device, the device may have the function of implementing the access and mobility management functions in the above-mentioned first aspect or any possible design of the first aspect, or have the function of implementing the above-mentioned first aspect
  • the apparatus may be a network device, or may be a chip included in the network device.
  • the apparatus may also have the function of implementing the second aspect or the terminal equipment in any possible design of the second aspect, and the apparatus may be a terminal equipment or a chip included in the terminal equipment.
  • the functions of the above communication apparatus may be implemented by hardware, or by executing corresponding software in hardware, and the hardware or software includes one or more modules or units or means corresponding to the above functions.
  • the structure of the device includes a processing module and a transceiver module, wherein the processing module is configured to support the device to perform the first aspect or the access and mobility in any design of the first aspect
  • the transceiver module is used to support the communication between the device and other communication devices. For example, when the device has access and mobility management functions, it can receive the first request message from the terminal device.
  • the communication device may also include a storage module, which is coupled to the processing module and stores necessary program instructions and data of the device.
  • the processing module may be a processor
  • the communication module may be a transceiver
  • the storage module may be a memory
  • the memory may be integrated with the processor, or may be provided separately from the processor.
  • the structure of the apparatus includes a processor and may also include a memory.
  • the processor is coupled to the memory and can be used to execute computer program instructions stored in the memory to cause the apparatus to perform the method in the first aspect or any possible design of the first aspect above, or the second aspect or the second aspect above The method in any possible design of the above-mentioned third aspect or the method in any possible design of the third aspect is performed.
  • the apparatus further includes a communication interface, and the processor is coupled to the communication interface.
  • the communication interface can be a transceiver or an input/output interface; when the device is a chip included in the network device or a chip included in the terminal device, the communication interface can be the input of the chip /Output Interface.
  • the transceiver may be a transceiver circuit, and the input/output interface may be an input/output circuit.
  • an embodiment of the present application provides a chip system, including: a processor, where the processor is coupled to a memory, and the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor , so that the chip system implements the above-mentioned first aspect or the method in any possible design of the first aspect, or realizes the above-mentioned second aspect or the method in any possible design of the second aspect, or realizes the above-mentioned first aspect.
  • the method in the three aspects or any possible design of the third aspect.
  • the chip system further includes an interface circuit, and the interface circuit is used for exchanging code instructions to the processor.
  • the number of processors in the chip system may be one or more, and the processors may be implemented by hardware or software.
  • the processor may be a logic circuit, an integrated circuit, or the like.
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the number of memories in the system-on-chip may also be one or more.
  • the memory can be integrated with the processor, or can be provided separately from the processor.
  • the memory may be a non-transitory processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip, or may be provided on different chips.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program or instruction is stored, and when the computer program or instruction is executed, causes the computer to execute the first aspect or any one of the first aspects.
  • an embodiment of the present application provides a computer program product that, when a computer reads and executes the computer program product, causes the computer to execute the method in the first aspect or any possible design of the first aspect, Or execute the method in the second aspect or any possible design of the second aspect, or execute the method in the third aspect or any possible design of the third aspect.
  • an embodiment of the present application provides a communication system, where the communication system includes an access and mobility management function and a terminal device.
  • the communication system may further include a policy control function, a charging function and unified data management.
  • the communication system may further include wireless access network equipment.
  • FIG. 1 is a schematic diagram of a network architecture of a communication system
  • FIG. 2 is a schematic flowchart of a charging method for a short-range service provided by an embodiment of the present application
  • FIG. 3 is a specific example of charging for the proximity discovery service in the embodiment of the present application.
  • FIG. 4 is a specific example of uniform charging for short-range discovery service and short-range communication service in the embodiment of the application;
  • FIG. 5 is a specific example of charging for the proximity discovery service of off-net users in the embodiment of the present application.
  • FIG. 6 , FIG. 7 , and FIG. 8 are schematic structural diagrams of a communication device according to an embodiment of the present application.
  • LTE long term evolution
  • FDD frequency division duplex
  • TDD time division duplex
  • 5G fifth generation mobile communication systems or new radio (NR) systems
  • NR new radio
  • FIG. 1 is a network architecture diagram of a communication system.
  • the communication system includes a terminal device, a wireless access network device, a core network device, and a ProSe application server.
  • the core network may be a fifth generation core network (5th generation core, 5GC), and the core network equipment may include an access and mobility management function (AMF), a session Management function (session management function, SMF), user plane function (UPF), unified data management (unified data management, UDM), unified data storage (unified data repository, UDR), policy control function (policy control function) , PCF), network capability exposure function (NEF), 5G direct discovery name management function (DDNMF).
  • the 5GC also includes other core network equipment, such as a ProSe charging trigger function (charging trigger function, CTF), which is not shown in FIG. 1 for the time being, and will not be described again.
  • CTF ProSe charging trigger function
  • Terminal equipment which is a device with wireless transceiver function. Terminal equipment can access a radio access network (RAN) to perform voice and/or data services.
  • RAN radio access network
  • Terminal equipment may include user equipment (UE), wireless terminal equipment, mobile terminal equipment, D2D terminal equipment, vehicle to everything (V2X) terminal equipment, machine-to-machine communication (machine-to-machine) /machine-type communications, M2M/MTC) terminal equipment, Internet of things (IoT) terminal equipment, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (mobile station), remote station (remote) station), access point (AP), remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent) or user equipment (user device), etc.
  • UE user equipment
  • V2X vehicle to everything
  • M2M/MTC machine-to-machine communication
  • M2M/MTC machine-to-machine communication terminal equipment
  • M2M/MTC machine-to-machine communication terminal equipment
  • M2M/MTC machine-to-machine communication terminal equipment
  • M2M/MTC machine-to-machine communication terminal equipment
  • the terminal device may be a mobile phone, a tablet computer, a computer with a wireless transceiver function, a portable, pocket-sized, hand-held, mobile device built into a computer, and the like.
  • the terminal device may also be a virtual reality (virtual reality, VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a self-driving (self driving) terminal device Wireless terminal, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, smart home Wireless terminal in (smart home), terminal equipment in the future evolution of public land mobile network (PLMN), or vehicle equipment in V2X, customer premises equipment (customer premises equipment, CPE), etc.
  • VR virtual reality
  • AR augmented reality
  • the terminal device may also be a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital Assistant (personal digital assistant, PDA) and other equipment.
  • PCS personal communication service
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • the terminal device may also be a wearable device.
  • Wearable devices can also be called wearable smart devices or smart wearable devices, etc. It is a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. Wait.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to cooperate with other devices such as smart phones.
  • Use such as all kinds of smart bracelets, smart helmets, smart jewelry, etc. for physical sign monitoring.
  • the various terminal devices described above if they are located on the vehicle (for example, placed in the vehicle or installed in the vehicle), can be considered as on-board terminal equipment.
  • the on-board terminal equipment is also called on-board unit (OBU). ).
  • the terminal equipment may also be a ProSe-capable ProSe UE, such as UE A and UE B shown in FIG. 1 .
  • ProSe applications can be installed in the ProSe UE.
  • Two ProSe UEs can discover each other through the ProSe discovery service, establish a direct communication link, and exchange ProSe application data through the ProSe communication service.
  • Radio Access Network (RAN) equipment for terminal equipment to access the radio access network.
  • the radio access network equipment can generally be connected to the core network equipment through wired links (eg, optical fiber cables).
  • a radio access network device may be a node in the RAN, also known as a base station (base station), or a RAN node (or device).
  • the radio access network equipment may include an evolved base station (evolved NodeB, eNodeB) in an LTE system or an evolved LTE system (LTE-Advanced, LTE-A), and a next generation NodeB (gNB) in a 5G communication system , transmission reception point (TRP), base band unit (BBU), access point (AP) in wireless local area networks (WLAN), integration of access and backhaul (integrated access and backhaul, IAB) nodes, base stations in future mobile communication systems or access nodes in WiFi systems, etc.
  • the radio access network device may also be a module or unit that completes some functions of the base station, such as a centralized unit (central unit, CU) or a distributed unit (distributed unit, DU).
  • the embodiments of the present application do not limit the specific technology and specific device form adopted by the wireless access network device.
  • the radio access network device may be a CU node, a DU node, or a radio access network device including a CU node and a DU node.
  • the CU node is used to support radio resource control (radio resource control, RRC), packet data convergence protocol (packet data convergence protocol, PDCP), service data adaptation protocol (service data adaptation protocol, SDAP) and other protocols;
  • DU nodes use To support radio link control (radio link control, RLC) layer protocol, medium access control (medium access control, MAC) layer protocol and physical layer protocol.
  • the radio access network device may also be responsible for managing the radio resources of the ProSe service, such as the communication frequency band.
  • radio access network equipment and terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle; it can also be deployed on water; it can also be deployed on aircraft, balloons and satellites in the air.
  • the wireless access network device may be referred to as an access network device for short.
  • the access network device in the following may refer to a wireless access network device.
  • the core network equipment refers to the equipment in the core network (core network, CN).
  • AMF is mainly used for access management and mobility management of terminal equipment, including registration network of terminal equipment, location update, mobility state switching, etc.
  • the AMF in this embodiment of the present application may be used to authenticate whether the UE can perform the ProSe service;
  • SMF is mainly used for session management, including establishment, modification, and release of sessions, such as assigning IP addresses to terminal devices, and selecting UPFs that provide packet forwarding functions.
  • UPF is a functional entity of the user plane, which is mainly used for connecting to external networks and processing user packets, such as forwarding, charging, and lawful interception.
  • UDM is used to manage user data, including subscription information, authentication/authorization information, etc.
  • UDM can be used to manage the UE's ProSe subscription data.
  • UDR is used to store structured data information, including contract information, policy information, etc.
  • PCF is responsible for policy control decisions and provides policies to AMF and SMF.
  • the PCF can be used to deliver the policy of the ProSe service to the AMF or the ProSe UE.
  • the CHF is mainly responsible for billing issues, including issuing billing policies, collecting billing information, and generating billing bills.
  • CHF can be used for charging for ProSe services.
  • NEF is used to controlly expose parts of the network's functionality to applications.
  • the 5G DDNMF is used to manage the ProSe service context of the ProSe UE.
  • the ProSe CTF is used to collect billing events and report them to the CHF.
  • the above-mentioned network element or functional entity may be either a network element in a hardware device, a software function running on dedicated hardware, or a virtualized function instantiated on a platform (eg, a cloud platform).
  • a platform eg, a cloud platform
  • the foregoing network element or functional entity may be implemented by one device, or may be implemented jointly by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
  • network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualized functions instantiated on a platform (eg, a cloud platform).
  • a platform eg, a cloud platform
  • the foregoing network element or function may be implemented by one device, or may be implemented jointly by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
  • the proximity application server which can be a third-party application server, is used to manage the data of the proximity application.
  • the embodiments of the present application may be applied to the communication system shown in FIG. 1 , without limitation; in addition, the terms “system” and “network” in the embodiments of the present application may be used interchangeably.
  • “Plurality” refers to two or more than two, and in view of this, “plurality” may also be understood as “at least two” in the embodiments of the present application.
  • “At least one” can be understood as one or more, such as one, two or more. For example, including at least one means including one, two or more, and does not limit which ones are included.
  • A, B, and C For example, if at least one of A, B, and C is included, then A, B, C, A and B, A and C, B and C, or A and B and C may be included.
  • the understanding of descriptions such as “at least one” is similar.
  • “And/or”, which describes the association relationship of the associated objects means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
  • the character "/" unless otherwise specified, generally indicates that the related objects are an "or" relationship.
  • ordinal numbers such as “first” and “second” mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, sequence, priority, or importance of multiple objects. Moreover, the description of “first” and “second” does not limit the objects to be necessarily different.
  • a charging method for a short-range service includes:
  • Step S201 the terminal device sends a first request message to the AMF.
  • the first request message is used to request the proximity discovery service of the first application.
  • the AMF receives the first request message from the terminal device.
  • the first application can be an application business to be launched by the terminal device, such as WeChat, Dianping and other social applications, or can be various game applications, such as King of Glory, PUBG, etc.; correspondingly, the recent application of the first application
  • the distance discovery service can be used to discover people nearby in WeChat, users who are in the same shopping mall, restaurant or venue in Dianping, or users who have the same interests or share similar content in the nearby area, and users in the nearby area in game applications. Other features such as players with the same character image.
  • the terminal device can discover other terminal devices through the short-range discovery service, and then perform the short-range communication service with the discovered other terminal devices, and transmit the first an application data.
  • the first request message further includes identification information of the terminal device and identification information of the first application.
  • the identification information of the terminal device is used to identify the terminal device, for example, the device identification of the terminal device (such as a device serial number), or a user identification (such as a system account, mobile phone number, mailbox, etc.).
  • the identification information of the first application is used to identify the first application, and may include, for example, the name of the first application, version information, and the like.
  • the first request message may be a ProSe discovery request message, which is not limited.
  • the present application may not limit the short-range discovery service that a terminal device requests for a specific application.
  • Step S202 the AMF sends a first response message to the terminal device according to the first request message and the first charging policy.
  • the first response message is used to represent that the terminal device is authorized to perform the short-range discovery service.
  • the first response message includes charging information of the proximity discovery service, where the charging information is used by the terminal device to report statistical information of the proximity discovery service.
  • the statistical information can be used by the network (such as CHF) to charge the proximity discovery service, and can be understood as an input parameter or consideration index of a specific charging method. Therefore, the statistical information can also be referred to as charging input. information, or charging index information, or charging reference information, or have other names, which are not limited.
  • the terminal device receives the first response message from the AMF.
  • the first response message may be called a proximity discovery response (ProSe discovery response) message, which is not limited.
  • Step S203 the terminal device reports statistical information according to the charging information.
  • the terminal device may determine the specific content included in the statistical information according to the charging information, and then report the statistical information.
  • the charging information includes information used to represent that the proximity discovery service is charged according to traffic and/or duration
  • the charging information may include a charging method for the proximity discovery service
  • the charging The methods may include charging by traffic and charging by duration.
  • the statistical information may include the traffic and/or duration of the proximity discovery service.
  • the terminal device reporting the statistical information according to the charging information may include: if the charging method of the proximity discovery service included in the charging information includes a method of charging according to traffic, then the terminal device reports the traffic of the proximity discovery service.
  • the terminal device determines that the reported statistical information includes the traffic of the proximity discovery service; or, if the charging method of the proximity discovery service included in the charging information includes the charging according to the duration, the terminal device reports the traffic of the proximity discovery service.
  • the duration of the close-proximity discovery service, or the statistical information determined and reported by the terminal device includes the duration of the close-proximity discovery service.
  • the traffic and/or duration of the proximity discovery service may be the traffic and/or duration consumed, occupied or used by the proximity discovery service in the process of the proximity discovery service by the terminal device.
  • the charging information includes information used to indicate that the proximity discovery service is charged according to an event, for example, the charging information includes a charging method for the proximity discovery service, where the charging method includes an event-based charging method. method of billing. Accordingly, the statistical information may include event information.
  • the terminal device reporting the statistical information according to the charging information may include: if the charging method of the proximity discovery service included in the charging information includes charging according to an event, then the terminal device reporting the proximity discovery service process.
  • the event information in the , or the statistical information determined and reported by the terminal device includes the event information in the process of the proximity discovery service.
  • the event information may include the service role and/or the used public land mobile network (Public Land Mobile Network, PLMN) resources of the terminal device in the process of discovering the service at close range.
  • PLMN Public Land Mobile Network
  • the service role of the terminal device when performing the short-range discovery service is related to the short-range discovery model it adopts.
  • the service role of the terminal device can be the broadcaster. (announcer) or monitor (monitor); for another example, if the adopted short-range discovery model is the short-range direct discovery model B, the service role of the terminal device may be a discoverer (discoverer) or a discoverer (discoveree).
  • the above-mentioned PLMN resources may include one or more of information such as frequency band information, cell information, wireless technology type, or operator information used by the terminal equipment in the process of short-range discovery service.
  • the first charging policy is a charging policy corresponding to the proximity discovery service of the terminal device.
  • the AMF may determine, according to the first request message and the subscription data of the terminal device, that the terminal device is authorized to perform the short-range discovery service, and then the AMF sends the first charge to the terminal device according to the first charging policy. response message.
  • the first charging policy may be acquired by the AMF locally or from the PCF after determining that the terminal device is authorized to perform the proximity discovery service, which is not limited.
  • the AMF acquiring the first charging policy locally may mean that the AMF has acquired the first charging policy from the PCF through the previous request process for the proximity discovery service of the terminal device and saved it locally. Therefore, the AMF can obtain the first charging policy from the PCF. The first billing policy saved before is obtained locally.
  • the acquisition of the first charging policy by the AMF from the PCF may mean that the AMF is configured to acquire the first charging policy from the PCF every time, so as to ensure that the acquired first charging policy is up-to-date or accurate; It means that when the AMF determines that the first charging policy is not stored locally, or when the locally stored first charging policy has expired, the AMF acquires the first charging policy from the PCF.
  • the first charging policy may be a charging policy applicable to the proximity discovery service of the first application of the terminal device, or may be a charging policy applicable to the proximity discovery service of all applications of the terminal device. limited.
  • the network side eg PCF
  • the network side can separately configure charging policies for the proximity discovery services of different applications, or configure a unified charging policy for the proximity discovery services of all applications without distinguishing applications.
  • the network side may also configure the same or different charging policies for the proximity discovery service of the same application of different terminal devices, which is not limited.
  • the AMF may obtain the subscription data of the terminal device from the UDM after receiving the first request message from the terminal device, and authenticate the terminal device according to the subscription data of the terminal device. After the authentication is passed, the AMF determines that the terminal device can be authorized to perform the short-range discovery service, or determines that the terminal device has the right to perform the short-range discovery service.
  • the subscription data may be subscription data related to the proximity discovery service of the terminal device or the proximity discovery service of the first application.
  • the AMF may acquire the first charging policy from the PCF after authorizing the terminal device to perform the proximity discovery service.
  • the process that the AMF obtains the charging policy from the PCF may include: first, the AMF sends a charging policy request message to the PCF, where the charging policy request message includes the information of the proximity discovery service requested by the terminal device, to indicate that what is currently requested is the charging policy of the proximity discovery service of the terminal device.
  • the charging policy request message may include one or more of identification information of the terminal device, identification information of the first application, or service type information, where the service type information is used to represent the short distance currently requested by the terminal device The business is the said proximity discovery business.
  • the PCF can receive the charging policy request message from the AMF, determine the first charging policy corresponding to the proximity discovery service according to the charging policy request message, and then use the charging policy response message to determine the first charging policy corresponding to the proximity discovery service.
  • the fee policy is sent to the AMF.
  • the charging information is generated by the AMF according to the first charging policy.
  • the AMF may determine, according to the first charging policy, that the charging information includes service information (such as service identification information). ), the duration of the service, the traffic consumed by the service, the object of the service (such as the identification information of the peer device), the cell in which the service is carried out (such as the identification information of the cell), the access technology used, etc. multiple.
  • service information such as service identification information
  • the duration of the service such as service identification information
  • the traffic consumed by the service such as the identification information of the peer device
  • the cell in which the service is carried out such as the identification information of the cell
  • the access technology used etc. multiple.
  • the AMF sending the first response message to the terminal device according to the first charging policy may include: the AMF generates charging information according to the first charging policy, and then the AMF sends the first response message to the terminal device, the first response message being sent to the terminal device.
  • a response message includes the generated billing information. It should be noted that the content included in the charging information and the content included in the first charging policy may be partially the same or completely the same, which is not limited.
  • the first response message may implicitly instruct the terminal device to report the statistical information by carrying the above charging information.
  • the terminal device determines that the statistical information of the proximity discovery service needs to be reported.
  • the first response message may further include reporting indication information, where the reporting indication information is used to instruct the terminal device to report the statistical information of the proximity discovery service. Therefore, in step S203, after receiving the first response message from the AMF, the terminal device can report the statistical information of the proximity discovery service according to the reporting indication information and the charging information.
  • the first response message further includes a reporting condition of the statistical information, so that the terminal device can report the statistical information when the reporting condition is satisfied.
  • the reporting conditions of the statistical information may include one or more of the following: the traffic of the short-range discovery service is greater than or equal to the first threshold value; the duration of the short-range discovery service is greater than or equal to the second threshold value.
  • that the reporting condition of the statistical information is satisfied may mean that the traffic of the proximity discovery service is greater than or equal to the first threshold, and/or the duration of the proximity discovery service is greater than or equal to the second threshold. value.
  • the terminal device may be configured to report the statistical information periodically according to a certain set time length, so that the condition for reporting the statistical information is satisfied may mean that the timer for periodic reporting is triggered.
  • the reporting condition may be one or more reporting conditions, and the application does not specifically limit the number of reporting conditions. If there are multiple reporting conditions, the terminal device can be configured to report statistical information when any one of the multiple reporting conditions is satisfied, or report statistical information when multiple reporting conditions are satisfied simultaneously, which is not limited.
  • the above method further includes: the terminal device reports statistical information to the AMF, and after receiving the statistical information from the terminal device, the AMF sends the statistical information to the CHF, so that The CHF charges for the short-range discovery service of the terminal device.
  • the terminal device has already accessed another AMF when the reporting conditions are met.
  • the terminal device can report statistical information to the newly accessed AMF, and the newly connected AMF will The incoming AMF sends the statistics to the CHF.
  • the first response message may further include the address of the CHF, where the address of the CHF is used by the terminal device to report statistical information to the CHF.
  • the above method further includes: the terminal device reports statistical information to the CHF according to the address of the CHF, so that the CHF charges the terminal device for the short-range discovery service, and no longer needs to forward the statistical information through the AMF, thereby effectively reducing reporting. delay.
  • the network can charge for the proximity discovery service of the terminal device based on one or more factors such as traffic, duration and events, thereby solving the problem of unreasonable charging for the proximity discovery service in the prior art, Effectively improve user experience.
  • the technical solutions in the embodiments of the present application can be applied not only to the scenario where the short-range discovery service and the short-range communication service of the terminal device are charged separately, but also to the short-range discovery service and the short-range communication service of the terminal device.
  • the unified charging refers to adopting the same charging policy for the two types of short-range communication and short-range discovery, for example, using traffic-based charging.
  • the scenario is used to perform unified charging for the short-range discovery service and the short-range communication service of the terminal device, and the first request message further includes the first information.
  • the first information is used to request unified charging for the proximity discovery service and the proximity communication service, that is, for the proximity discovery service and the proximity communication service of any application of the terminal device, both Uniform billing is available.
  • the first information is used to request unified charging for the proximity discovery service of the first application and the proximity communication service of the first application, that is, the proximity discovery service and the proximity communication service for a specific application use Unified billing.
  • the first information may also be called unified charging request information, or have other names, which are not limited.
  • the first information may be used to represent that the terminal device supports unified charging for the proximity discovery service and the proximity communication service.
  • the first information may also be called capability information of the terminal device, or charging capability information, or have other names, which are not limited.
  • the AMF may request the PCF for the first charging policy, and after requesting the PCF for the first charging policy
  • the first information is carried in the charging policy, or the charging policy request message sent by the AMF to the PCF may include the first information, and the first information may be the first information in any of the foregoing embodiments.
  • the PCF returns the first charging policy to the AMF, where the first charging policy may further include indication information for instructing uniform charging for the proximity discovery service and the proximity communication service.
  • the charging information sent by the AMF to the terminal device may also include indication information for indicating unified charging for the proximity discovery service and the proximity communication service.
  • the statistical information reported by the terminal device may also include service type information, where the service type information is used to characterize the proximity service performed by the terminal device.
  • the service type is specifically the proximity discovery service.
  • Unified charging can effectively simplify the implementation on the network side, reduce the signaling overhead caused by separate charging for short-range discovery services and short-range communication services, and can also be closer to users' service payment habits and improve user experience.
  • the technical solutions in the embodiments of the present application are also applicable to a scenario in which a terminal device performs a short-range discovery service in an off-network state.
  • the off-network means that the terminal device cannot access the operator's network, and the reason may be, for example, the operator's network The signal coverage is weak, the terminal device leaves the network coverage, etc.
  • the scenario can support the terminal device to perform the short-range discovery service in the off-network state, and the first request message further includes second information, and the second information is used to The terminal device requests the short-range discovery service in the offline state.
  • the AMF may determine, according to the subscription data of the terminal device, that the terminal device is authorized to perform the short-range discovery service, and then determine, according to the second information, that the terminal device requests to perform the short-range discovery in an offline state. business, and then assign a transaction identifier to the terminal device, and send the transaction identifier of the terminal device to the terminal device through a first response message.
  • the transaction identifier is used to identify the terminal device after the terminal device is offline, or to track the terminal device after the terminal device is offline, such as tracking the usage of its short-range discovery service for billing and the like.
  • the statistical information reported by the terminal device may further include the transaction identifier of the terminal device.
  • the terminal device can report the statistical information to the CHF through the currently accessed AMF, or directly to the CHF. CHF reports the statistical information.
  • the AMF currently accessed by the terminal device and the AMF accessed by the terminal device before being disconnected from the network may be the same AMF, or may be different AMFs, which are not limited.
  • the AMF can also send the transaction identifier of the terminal device to the UDM, so that the UDM can save the transaction identifier.
  • the UDM may retain or not delete the transaction identifier of the terminal device after the terminal device is deregistered, so as to facilitate the management of the user context of the offline terminal device.
  • the AMF may also allocate a corresponding service authorization time for the transaction identifier of the terminal device, and send the transaction identifier of the terminal device and the service authorization time corresponding to the transaction identifier to the UDM, so that the UDM can Save the transaction ID and the corresponding service authorization time. Further, the AMF may send the transaction identifier and the corresponding service authorization time to the terminal device through the above-mentioned first response message.
  • the service authorization time refers to the length of time that the terminal device is allowed to perform the short-range discovery service. It can be a timer, and the value of the timer represents the duration, and the unit can be seconds, minutes, hours, or years.
  • the UDM may not delete the transaction identification of the terminal device before the service authorization time corresponding to the transaction identification of the terminal device arrives, and delete the transaction identification of the terminal device only after the service authorization time expires.
  • the service authorization time may start timing after the terminal device is disconnected from the network (for example, after the terminal device completes deregistration), or may start timing when a transaction identifier is generated for the terminal device, which is not limited.
  • the service authorization time corresponding to the transaction identifier of the terminal device may also be understood as the survival time or the validity time of the transaction identifier of the terminal device.
  • UDM After the terminal device is disconnected from the network, UDM will delete the user information related to the terminal device, which will cause the user context of the terminal device to be unmanageable when the terminal device is disconnected from the network, and thus cannot use the proximity discovery service for the disconnected terminal device. billing.
  • UDM by assigning a corresponding transaction identifier to the terminal device, storing it in the UDM, and delivering it to the terminal device, the short-range discovery service performed by the terminal device before and after being disconnected from the network can be discovered.
  • the related information of the terminal device is correlated, so that the network can still effectively manage the user context of the terminal device after the terminal device is offline, so as to realize the charging for the proximity discovery service of the offline user.
  • the actions or steps performed by the AMF in the embodiments of the present application may also be performed by the ProSe CTF, that is, the ProSe CTF may have charging-related functions similar to those of the AMF.
  • FIG. 3 is a specific example of charging for the proximity discovery service in the embodiment of the present application.
  • Step S301 the UE sends a proximity discovery request message to the AMF or the ProSe CTF.
  • Step S302 the AMF or the ProSe CTF acquires the UE's short-range service subscription data from the UDM.
  • Step S303 the AMF or the ProSe CTF authenticates the UE according to the close-proximity service subscription data of the UE, and determines to authorize the close-proximity discovery service of the UE.
  • step S304 the AMF or the ProSe CTF acquires the charging policy of the proximity discovery service of the UE from the PCF, and the charging policy indicates that the proximity discovery service of the UE is charged according to traffic, duration and events.
  • Step S305 the AMF or the ProSe CTF sends a proximity discovery response message to the UE.
  • the proximity discovery response message includes charging information and reporting conditions of statistical information
  • the charging information includes information used to instruct the UE to charge the proximity discovery service according to traffic, duration and events, and information for Information indicating that the UE reports statistical information.
  • Step S306 the UE performs the short-range discovery service, and counts the traffic, duration and event information in the process of the short-range discovery service.
  • Step S307 the UE determines that the reporting condition of the statistical information is satisfied.
  • Step S308 the UE reports statistical information to the AMF or the ProSe CTF.
  • the statistical information includes the traffic, duration and event information (such as PLMN resources, service roles, etc.) of the short-range discovery service of the terminal device.
  • Step S309 the AMF or the ProSe CTF sends the statistical information reported by the UE to the CHF.
  • the AMF or ProSe CTF can issue the corresponding charging information to the UE according to the charging policy of the UE's proximity discovery service, And instruct the UE to report the statistical information, in this way, the CHF can be made to charge the UE's short-range discovery service according to the statistical information reported by the UE.
  • FIG. 4 is a specific example of uniform charging for short-range services (including short-range discovery services and short-range communication services) in an embodiment of the application.
  • Step S401 the UE sends a short-range discovery/communication request message to the AMF or the ProSe CTF.
  • the short-range discovery/communication request message includes a unified charging indication, which is used to request unified charging for short-range services of the UE, or to instruct the UE to support unified charging for short-range services.
  • Step S402 the AMF or the ProSe CTF acquires the UE's short-range service subscription data from the UDM.
  • Step S403 the AMF or the ProSe CTF authenticates the UE according to the close-proximity service subscription data of the UE, and determines to authorize the close-proximity discovery service/proximity communication service of the UE.
  • step S404 the AMF or the ProSe CTF obtains the charging policy of the short-range service of the UE from the PCF, and the charging policy instructs that the short-range service of the UE is charged uniformly, and is charged according to traffic, duration and events.
  • Step S405 the AMF or the ProSe CTF sends a short-range discovery/communication response message to the UE.
  • the short-range discovery/communication response message includes charging information and reporting conditions of statistical information
  • the charging information includes instructions used to instruct the short-range service of the UE to perform unified charging and be calculated according to traffic, duration and events. fee information, and information used to instruct the UE to report statistical information.
  • Step S406 the UE performs the short-range discovery service or the short-range communication service, and counts the traffic, duration and event information of the short-range discovery service or the short-range communication service.
  • Step S407 the UE determines that the reporting condition of the statistical information is satisfied.
  • Step S408 the UE reports statistical information to the AMF or the ProSe CTF.
  • the statistical information may include the traffic, duration, event information (such as PLMN resources, service roles, etc.) and service type information of the proximity discovery service/close proximity communication service of the terminal device, and the service type information is used to indicate that the UE is instructed to perform
  • the short-range service is the short-range discovery service or the short-range communication service.
  • Step S409 the AMF or the ProSe CTF sends the statistical information reported by the UE to the CHF.
  • the AMF or ProSe CTF can, according to the charging policy of the UE's proximity service, The corresponding charging information is issued to the UE, and the short-range service is instructed to perform unified charging and the UE is instructed to report the statistical information, so that the CHF can perform uniform charging for the short-distance service of the UE according to the statistical information reported by the UE.
  • FIG. 5 is a specific example of charging for the proximity discovery service of off-network users in the embodiment of the present application.
  • Step S501 the UE sends a proximity discovery request message to the AMF or the ProSe CTF.
  • the short-range discovery request message includes an off-network indication
  • the off-network indication is used by the UE to request the short-range discovery service in an off-network state.
  • Step S502 the AMF or the ProSe CTF acquires the UE's short-range service subscription data from the UDM.
  • Step S503 the AMF or the ProSe CTF authenticates the UE according to the close-proximity service subscription data of the UE, and determines to authorize the close-proximity discovery service of the UE.
  • step S504 the AMF or the ProSe CTF allocates a transaction identifier to the UE, and the transaction identifier is used to identify the UE after the UE is disconnected from the network.
  • Step S505 the AMF or the ProSe CTF saves the transaction identifier of the UE to the UDM.
  • the transaction identifier of the UE stored in the UDM is not deleted after the UE is de-registered, or the AMF or ProSe CTF assigns the service authorization time (timer) corresponding to the transaction identifier while allocating the transaction identifier to the UE. ), and save the transaction ID and the corresponding service authorization time to the UDM, so that after the UDM receives the transaction ID and the service authorization time, the timer corresponding to the service authorization time can be opened, and it is not deleted before the timer times out.
  • the transaction ID is deleted after the timeout.
  • Step S506 the AMF or the ProSe CTF obtains the charging policy of the proximity discovery service of the UE from the PCF, and the charging policy determines that the proximity discovery service of the UE is charged according to traffic, duration and events.
  • Step S507 the AMF or the ProSe CTF sends a proximity discovery response message to the UE.
  • the short-range discovery response message includes charging information, reporting conditions of statistical information, and a transaction identifier of the UE.
  • the charging information may include information used to instruct the UE to charge the proximity discovery service according to traffic, duration and events, and information used to instruct the UE to report statistical information.
  • Step S508 the UE performs the short-range discovery service, and counts the traffic, duration and event information of the short-range discovery service.
  • Step S509 the UE re-enters the network after being disconnected from the network, and determines that the reporting condition of the statistical information is satisfied.
  • Step S510 the UE reports statistical information to the AMF or the ProSe CTF.
  • the statistical information includes the traffic, duration, event information (such as PLMN resources, service roles, etc.) of the short-range discovery service of the terminal device, and the transaction identifier of the UE.
  • event information such as PLMN resources, service roles, etc.
  • the AMF or ProSe CTF that the UE reports statistics information may be the same or different from the AMF or ProSe CTF that the UE accesses before going offline, which is not limited. If it is a different AMF or ProSe CTF, the AMF or ProSe CTF newly accessed by the UE can obtain the transaction identifier of the UE from the UDM, and check whether the statistical information reported by the UE is accurate.
  • Step S511 the AMF or the ProSe CTF sends the statistical information reported by the UE to the CHF.
  • the AMF or ProSe CTF can assign the UE a corresponding transaction identifier after authorizing the UE to perform the proximity discovery service.
  • the charging policy of the short-range service sends the corresponding charging information and transaction identifier to the UE, and instructs the UE to report the statistical information.
  • the UE can report statistical information after being disconnected from the network and then re-entering the network, so that the CHF can charge the UE for the proximity discovery service according to the statistical information reported by the UE.
  • FIG. 6 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • the communication device 600 includes a transceiver module 610 and a processing module 620 .
  • the communication device can be used to implement the functions related to access and mobility management or unified data management in any of the above method embodiments.
  • the communication apparatus may be a network device, or a chip included in the network device.
  • the communication apparatus can be used to implement the functions related to the terminal device in any of the foregoing method embodiments.
  • the communication device may be a terminal device, such as a handheld terminal device or a vehicle-mounted terminal device, a chip or circuit included in the terminal device, or a device including a terminal device, such as various types of vehicles.
  • the transceiver module 610 is configured to receive a first request message from a terminal device, the The first request message is used to request the proximity discovery service of the first application; the processing module 620 is configured to, according to the first request message and the first charging policy, send a first response message to the terminal device, where the first response message is used for Indicates that the terminal device is authorized to perform the proximity discovery service, and the first charging policy is a charging policy corresponding to the proximity discovery service of the terminal device; wherein, the first response message includes the proximity discovery service Charging information for the service, where the charging information is used by the terminal device to report the statistical information of the proximity discovery service.
  • the first response message further includes reporting indication information, where the reporting indication information is used to instruct the terminal device to report the statistical information.
  • the charging information includes information used to represent charging for the proximity discovery service according to traffic and/or duration; the statistical information includes the traffic and/or duration of the proximity discovery service. / or duration.
  • the processing module 620 is specifically configured to, according to the first request message and the subscription data of the terminal device, determine that the terminal device is authorized to perform the short-range discovery service; and according to the first charging policy, to the terminal device Send a first response message.
  • the transceiver module 610 is further configured to acquire the first charging policy from the policy control function.
  • the first request message further includes first information, where the first information is used to request unified charging for the proximity discovery service and the proximity communication service of the first application, or the first information A piece of information is used to indicate that the terminal device supports unified charging for the short-range discovery service and the short-range communication service; the first charging policy also includes a message used to indicate that the short-range discovery service and the short-range communication service are uniformly charged. Indication information; the charging information also includes indication information for instructing to perform unified charging for the short-range discovery service and the short-range communication service.
  • the statistical information further includes service type information of the short-range service, where the service type information is used to indicate that the service type of the short-range service performed by the terminal device is the short-range discovery service.
  • the statistical information further includes event information, where the event information includes the service role of the terminal device and/or the used public land mobile network PLMN resources in the process of the proximity discovery service.
  • the first response message further includes reporting conditions for statistical information.
  • the first response message further includes an address of the charging function, where the address of the charging function is used by the terminal device to report the statistical information to the charging function.
  • the transceiver module 610 is further configured to receive the statistical information from the terminal device; and send the statistical information to the charging function.
  • the first request message includes second information, and the second information is used by the terminal device to request the short-range discovery service in an offline state;
  • the processing module 620 is further configured to: The terminal device allocates a transaction identifier, where the transaction identifier is used to identify the terminal device after the terminal device goes offline; the first response message further includes the transaction identifier; and the statistical information further includes the transaction identifier.
  • the transceiver module is further configured to send the transaction identifier or the service authorization time corresponding to the transaction identifier to the unified data management.
  • the transceiver module 610 is configured to send a first request message to the access and mobility management function, the first request message using for requesting the proximity discovery service of the first application; the transceiver module 610 is further configured to receive a first response message from the access and mobility management function, where the first response message is used to indicate that the terminal device is authorized to perform the proximity discovery service, the first response message includes the charging information of the proximity discovery service, and the charging information is used by the terminal device to report the statistical information of the proximity discovery service; the processing module 620 is configured to, according to the charging information, Report the statistics described.
  • the first response message further includes reporting indication information; the processing module 620 is specifically configured to report the statistical information according to the charging information and the reporting indication information.
  • the charging information includes information used to represent charging for the proximity discovery service according to traffic and/or duration; the statistical information includes the traffic and/or duration of the proximity discovery service. / or duration.
  • the first request message further includes first information, where the first information is used to request unified charging for the proximity discovery service and the proximity communication service of the first application, or the first information
  • One piece of information is used to indicate that the terminal device supports unified charging for short-range discovery services and short-range communication services; the charging information also includes indication information for indicating unified charging for short-range discovery services and short-range communication services .
  • the statistical information further includes service type information of the short-range service, where the service type information is used to indicate that the service type of the short-range service performed by the terminal device is the short-range discovery service.
  • the statistical information further includes event information, where the event information includes the service role of the terminal device and/or the used public land mobile network PLMN resources in the process of the proximity discovery service.
  • the first response message further includes reporting conditions for statistical information; the processing module 620 is further configured to report the statistical information when the reporting conditions are satisfied.
  • the first response message further includes the address of the charging function; the processing module 620 is specifically configured to report the statistical information to the charging function according to the address of the charging function.
  • the processing module 620 is further configured to report statistical information to the access and mobility management function.
  • the first request message includes second information, and the second information is used by the terminal device to request the proximity discovery service in an offline state; the first response message also includes The transaction identifier of the terminal device is included, and the transaction identifier is used to identify the terminal device after the terminal device goes offline; the statistical information also includes the transaction identifier.
  • the transceiver module 610 is configured to receive a transaction identifier from a terminal device with an access and mobility management function, the transaction identifier used to identify the terminal device after the terminal device goes offline; the processing module 620 is used to not delete the transaction identifier after the terminal device is deregistered;
  • the transceiver module 610 is further configured to receive the service authorization time corresponding to the transaction identifier from the access and mobility management functions; the processing module 620 is specifically configured to, after the terminal device deregisters, to the service Before the authorization time arrives, the transaction identifier is not deleted.
  • the processing module 620 involved in the communication apparatus may be implemented by at least one processor or a processor-related circuit component, and the transceiver module 610 may be implemented by at least one transceiver or a transceiver-related circuit component or a communication interface.
  • the operations and/or functions of each module in the communication device are respectively to implement the corresponding processes of the methods shown in FIG. 2 to FIG. 5 , and are not repeated here for brevity.
  • the communication device may further include a storage module, which may be used to store data and/or instructions, and the transceiver module 610 and/or the processing module 620 may read the data and/or instructions in the access module, Thereby, the communication device can implement the corresponding method.
  • the memory module can be implemented, for example, by at least one memory.
  • the above-mentioned storage module, processing module, and transceiver module may exist separately, or all or part of the modules may be integrated, for example, the storage module and the processing module are integrated, or the processing module and the transceiver module are integrated.
  • FIG. 7 is another schematic structural diagram of a communication device provided in an embodiment of the present application.
  • the communication device may be used to implement the functions corresponding to the mobility management function or unified data management in the above method embodiments, and the communication device may be a network device or a device capable of supporting the network device to implement the corresponding functions in the above method embodiments, or the like.
  • the communication apparatus 700 may include a processor 701 , a communication interface 702 and a memory 703 .
  • the communication interface 702 is used to communicate with other devices through a transmission medium, and the communication interface 702 may be a transceiver or an interface circuit such as a transceiver circuit, a transceiver chip, and the like.
  • the memory 703 is used to store program instructions and/or data, and the processor 701 is used to execute the program instructions stored in the memory 703, thereby implementing the methods in the above method embodiments.
  • the memory 703 is coupled to the processor 701, and the coupling is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms, used between devices, units or modules. information interaction.
  • the communication interface 702 may be specifically configured to perform the operations of the above-mentioned transceiver module 610, and the processor 701 may be specifically configured to perform the operations of the above-mentioned processing module 620, which will not be described herein again.
  • the specific connection medium between the communication interface 702 , the processor 701 , and the memory 703 is not limited in the embodiments of the present application.
  • the memory 703, the processor 701, and the communication interface 702 are connected through a bus 704 in FIG. 7.
  • the bus is represented by a thick line in FIG. 7, and the connection between other components is only for schematic illustration. , is not limited.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, 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 device may be a terminal device, and the communication device may be used to implement the functions related to the terminal device in any of the foregoing method embodiments.
  • the terminal device takes a mobile phone as an example.
  • the terminal device includes a processor, may also include a memory, and of course, may also include a radio frequency circuit, an antenna, an input and output device, and the like.
  • the processor is mainly used to process communication protocols and communication data, control terminal equipment, execute software programs, and process data of software programs.
  • the memory is mainly used to store software programs and data.
  • the radio frequency circuit is mainly used for the conversion of the baseband signal and the radio frequency signal and the processing of the radio frequency signal.
  • Antennas are mainly used to send and receive radio frequency signals in the form of electromagnetic waves.
  • Input and output devices such as touch screens, display screens, and keyboards, are mainly used to receive data input by users and output data to users. It should be noted that some types of terminal equipment may not have input and output devices.
  • the processor When data needs to be sent, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves.
  • the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
  • FIG. 8 only one memory and processor are shown in FIG. 8 . In an actual end device product, there may be one or more processors and one or more memories.
  • the memory may also be referred to as a storage medium or a storage device or the like.
  • the memory may be set independently of the processor, or may be integrated with the processor, which is not limited in this embodiment of the present application.
  • the antenna and the radio frequency circuit with a transceiver function may be regarded as a transceiver unit of the terminal device, and the processor with a processing function may be regarded as a processing unit of the terminal device.
  • the terminal device includes a transceiver unit 810 and a processing unit 820 .
  • the transceiving unit may also be referred to as a transceiver, a transceiver, a transceiving device, or the like.
  • the processing unit may also be referred to as a processor, a processing single board, a processing module, a processing device, and the like.
  • the device for implementing the receiving function in the transceiver unit 810 may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit 810 may be regarded as a transmitting unit, that is, the transceiver unit 810 includes a receiving unit and a transmitting unit.
  • the transceiver unit may also sometimes be referred to as a transceiver, a transceiver, or a transceiver circuit.
  • the receiving unit may also sometimes be referred to as a receiver, receiver, or receiving circuit, or the like.
  • the transmitting unit may also sometimes be referred to as a transmitter, a transmitter, or a transmitting circuit, or the like.
  • transceiving unit 810 is configured to perform the sending and receiving operations on the terminal device side in the above method embodiments
  • processing unit 820 is configured to perform other operations on the terminal device except the transceiving operations in the above method embodiments.
  • An embodiment of the present application further provides a chip system, including: a processor, where the processor is coupled with a memory, the memory is used to store a program or an instruction, and when the program or instruction is executed by the processor, the The chip system implements a method corresponding to a terminal device or a method corresponding to a network device in any of the foregoing method embodiments.
  • the number of processors in the chip system may be one or more.
  • the processor can be implemented by hardware or by software.
  • the processor may be a logic circuit, an integrated circuit, or the like.
  • the processor may be a general-purpose processor implemented by reading software codes stored in memory.
  • the number of memories in the system-on-chip may also be one or more.
  • the memory may be integrated with the processor, or may be provided separately from the processor, which is not limited in this application.
  • the memory can be a non-transitory processor, such as a read-only memory ROM, which can be integrated with the processor on the same chip, or can be provided on different chips.
  • the setting method of the processor is not particularly limited.
  • the system-on-chip may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a system on chip (SoC), It can also be a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), or a microcontroller (microcontroller).
  • controller unit, MCU it can also be a programmable logic device (PLD) or other integrated chips.
  • each step in the above method embodiments may be implemented by a hardware integrated logic circuit in a processor or an instruction in the form of software.
  • the method steps disclosed in conjunction with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • Embodiments of the present application further provide a computer-readable storage medium, where computer-readable instructions are stored in the computer storage medium, and when the computer reads and executes the computer-readable instructions, the computer is made to execute any of the foregoing method embodiments method in .
  • Embodiments of the present application further provide a computer program product, which, when the computer reads and executes the computer program product, causes the computer to execute the method in any of the above method embodiments.
  • the embodiments of the present application also provide a communication system, where the communication system includes an access and mobility management function and a terminal device.
  • the communication system may further include a policy control function, a charging function and unified data management.
  • the communication system may further include wireless access network equipment.
  • processors mentioned in the embodiments of the present application may be a CPU, other general-purpose processors, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM enhanced synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SCRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module
  • memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.

Abstract

本申请公开了一种近距离业务的计费方法及通信装置,该方法中,接入与移动性管理功能接收来自终端设备请求进行近距离发现业务的请求消息后,可根据该请求消息和该终端设备的所述近距离发现业务对应的计费策略,向终端设备发送用于表征授权该终端设备进行所述近距离发现业务的响应消息,并在该响应消息中携带该近距离发现业务的计费信息。如此,终端设备可根据该计费信息上报统计信息,并使得网络(例如计费网元)可根据终端设备上报的统计信息对近距离发现业务进行计费,从而解决现有的近距离发现业务计费不合理的问题,有效提高用户体验。

Description

一种近距离业务的计费方法及通信装置 技术领域
本申请涉及无线通信技术领域,尤其涉及一种近距离业务的计费方法及通信装置。
背景技术
近距离业务(proximity based services,ProSe)是指终端设备之间利用无线通信技术进行相互发现以及直连通信的业务,近距离业务可包括近距离发现(ProSe discovery)和近距离通信(ProSe communication)两种。近距离业务可以用在很多场景下,例如,在商业场景中,利用近距离业务可以发现附近的餐厅,发现周围的好友;再例如,在安全场景下,救援队可以利用近距离业务在野外进行群组通信等。
近距离业务作为移动运营商提供的一种业务类型,终端设备在进行近距离业务的过程中的多种行为都会用到运营商的商业频谱,因此需要对终端设备使用近距离业务进行计费。
现有技术中,网络对于近距离发现业务采用事件计费的计费策略,这导致了终端设备只要成功申请了近距离发现业务就会被计费。但是实际上,终端设备可能在得到业务授权后没有进行近距离发现业务,例如因为本地没有用于近距离发现业务的频谱资源,或者作为监听者(monitor)的终端设备没有监听到它希望监听的作为广播者(announcer)的其他终端设备的信息,导致业务不成功。在这种情况下,仍然对终端设备进行计费是不合理的,因此用户体验也较差。
发明内容
本申请提供一种近距离业务的计费方法及通信装置,用于提供一种近距离发现业务的计费方法,以解决现有技术中近距离发现业务计费不合理的问题,提高用户体验。
第一方面,本申请实施例提供一种近距离业务的计费方法,该方法可以由接入与移动性管理功能来执行,也可以由配置于接入与移动性管理功能中的部件(例如芯片或电路)执行。
该方法包括:接入与移动性管理功能接收来自终端设备的第一请求消息,该第一请求消息用于请求第一应用的近距离发现业务;接入与移动性管理功能根据第一请求消息和第一计费策略,向终端设备发送第一响应消息,该第一响应消息用于表征授权终端设备进行所述近距离发现业务,所述第一计费策略为终端设备的所述近距离发现业务对应的计费策略;其中,所述第一响应消息中包括所述近距离发现业务的计费信息,该计费信息用于终端设备上报所述近距离发现业务的统计信息。
上述技术方案中,接入与移动性管理功能可在授权终端设备进行近距离发现业务的响应消息中携带该近距离发现业务的计费信息,如此,终端设备可根据该计费信息上报统计信息,并使得网络(例如计费网元)根据终端设备上报的统计信息对该近距离发现业务进行计费,从而解决现有的近距离发现业务计费不合理的问题,有效提高用户体验。
在第一方面的一种可能的设计中,所述第一响应消息还包括上报指示信息,该上报指示信息用于指示终端设备上报所述统计信息。
上述技术方案中,接入与移动性管理功能可通过是否接收到计费信息来隐式地指示终 端设备上报统计信息,也可通过在第一响应消息中携带上报指示信息来明确地指示终端设备上报统计信息,从而提高该方法的适用性。
在第一方面的一种可能的设计中,所述计费信息包括用于表征对所述近距离发现业务按照流量和/或时长进行计费的信息;所述统计信息包括所述近距离发现业务的流量和/或时长。
上述技术方案中,网络(例如计费网元)可按照流量和/或时长对终端设备的近距离发现业务进行计费,并配置相应的计费策略。并且接入与移动性管理网元可通过在计费信息中携带用于表征对近距离发现业务按照流量和/或时长进行计费的信息,来通知终端设备其近距离发现业务的计费方式,从而使得计费方式更贴合用户的付费习惯,有效提高用户体验。
在第一方面的一种可能的设计中,接入与移动性管理功能根据第一请求消息和第一计费策略,向终端设备发送第一响应消息,可包括:接入与移动性管理功能根据第一请求消息和终端设备的签约数据,确定授权终端设备进行所述近距离发现业务;接入与移动性管理功能根据第一计费策略,向终端设备发送第一响应消息。
在第一方面的一种可能的设计中,该方法还包括:接入与移动性管理功能从策略控制功能获取第一计费策略。
在第一方面的一种可能的设计中,所述第一请求消息中还包括第一信息,该第一信息用于请求对第一应用的近距离发现业务和近距离通信业务进行统一计费,或者该第一信息用于表征终端设备支持对近距离发现业务和近距离通信业务进行统一计费;所述第一计费策略还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息;所述计费信息还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息。
上述技术方案中,网络还支持对终端设备的近距离发现业务和近距离通信业务进行统一计费。其中,统一计费可以是由网络根据终端设备的能力来决定的,也可以是终端设备主动请求的,如此,可丰富对终端设备的近距离业务进行计费的方式,使得用户有更多选择。
在第一方面的一种可能的设计中,所述统计信息还包括近距离业务的业务类型信息,该业务类型信息用于表征终端设备进行的近距离业务的业务类型为近距离发现业务。
在第一方面的一种可能的设计中,所述统计信息还包括事件信息,该事件信息包括在所述近距离发现业务的过程中终端设备的业务角色和/或使用的公共陆地移动网络PLMN资源。
上述技术方案中,网络(例如计费功能)在对近距离发现业务进行计费时,还可根据终端设备在近距离发现业务过程中的事件信息。如此,在对终端设备的近距离发现业务进行计费时考量更多的因素,可使计费策略更加合理,提高用户体验。
在第一方面的一种可能的设计中,所述第一响应消息中还包括统计信息的上报条件。
在第一方面的一种可能的设计中,所述第一响应消息中还包括计费功能的地址,该计费功能的地址用于终端设备向计费功能上报所述统计信息。
在第一方面的一种可能的设计中,该方法还包括:接入与移动性管理功能接收来自终端设备的所述统计信息;接入与移动性管理功能向计费功能发送所述统计信息。
上述技术方案中,终端设备既可通过接入与移动性管理网元的中间转发向计费网元上报统计信息,也可根据接入与移动性管理网元提供的计费功能的地址直接向计费网络上报 统计信息,从而使得该方法更加灵活。
在第一方面的一种可能的设计中,所述第一请求消息中包括第二信息,该第二信息用于终端设备请求在脱网状态下进行所述近距离发现业务;该方法还包括:接入与移动性管理功能为终端设备分配事务标识,该事务标识用于在终端设备脱网后标识终端设备;所述第一响应消息中还包括所述事务标识;所述统计信息中还包括所述事务标识。
在第一方面的一种可能的设计中,该方法还包括:接入与移动性管理功能向统一数据管理发送所述事务标识或所述事务标识对应的业务授权时间。
上述技术方案还可适用于终端设备在脱网状态下进行近距离发现业务的场景中,接入与移动性管理网元可在授权终端设备进行近距离发现业务的同时,为该终端设备分配对应的事务标识,该事务标识存储到统一数据管理后,在终端设备去注册时不删除或者在该终端设备的近距离发现业务的业务授权时间到达前不删除,使得在终端设备脱网后网络仍可通过该事务标识追踪到该终端设备,根据该事务标识将终端设备脱网前和脱网后的上下文信息联系起来,进行有效管理。
第二方面,本申请实施例提供另一种近距离业务的计费方法,该方法可以由终端设备来执行,也可以由配置于终端设备中的部件(例如芯片或电路)执行。
该方法包括:终端设备向接入与移动性管理功能发送第一请求消息,该第一请求消息用于请求第一应用的近距离发现业务;终端设备接收来自接入与移动性管理功能的第一响应消息,该第一响应消息用于表征授权终端设备进行所述近距离发现业务,该第一响应消息中包括所述近距离发现业务的计费信息,该计费信息用于终端设备上报所述近距离发现业务的统计信息;终端设备根据计费信息,上报所述统计信息。
在第二方面的一种可能的设计中,所述第一响应消息还包括上报指示信息;终端设备根据计费信息,上报所述统计信息,包括:终端设备根据计费信息和上报指示信息,上报所述统计信息。
在第二方面的一种可能的设计中,所述计费信息包括用于表征对所述近距离发现业务按照流量和/或时长进行计费的信息;所述统计信息包括所述近距离发现业务的流量和/或时长。
在第二方面的一种可能的设计中,所述第一请求消息中还包括第一信息,该第一信息用于请求对第一应用的近距离发现业务和近距离通信业务进行统一计费,或者该第一信息用于表征终端设备支持对近距离发现业务和近距离通信业务进行统一计费;所述计费信息还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息。
在第二方面的一种可能的设计中,所述统计信息还包括近距离业务的业务类型信息,该业务类型信息用于表征终端设备进行的近距离业务的业务类型为近距离发现业务。
在第二方面的一种可能的设计中,所述统计信息还包括事件信息,该事件信息包括在所述近距离发现业务的过程中终端设备的业务角色和/或使用的公共陆地移动网络PLMN资源。
在第二方面的一种可能的设计中,所述第一响应消息中还包括统计信息的上报条件;当该上报条件被满足时,终端设备上报所述统计信息。
在第二方面的一种可能的设计中,所述第一响应消息中还包括计费功能的地址;所述终端设备上报统计信息可包括:终端设备根据该计费功能的地址,向计费功能上报所述统计信息。
在第二方面的一种可能的设计中,所述终端设备上报统计信息可包括:终端设备向接入与移动性管理功能上报统计信息。
在第二方面的一种可能的设计中,所述第一请求消息中包括第二信息,该第二信息用于终端设备请求在脱网状态下进行所述近距离发现业务;所述第一响应消息中还包括终端设备的事务标识,该事务标识用于在终端设备脱网后标识终端设备;所述统计信息中还包括所述事务标识。
第二方面及第二方面的各种可能的设计中的有益效果,可参考第一方面中对应的描述,在此不再赘述。
第三方面,本申请实施例提供一种近距离业务的计费方法,该方法可以由统一数据管理来执行,也可以由配置于统一数据管理中的部件(例如芯片或电路)执行。
该方法包括:统一数据管理接收来自接入与移动性管理功能的终端设备的事务标识,该事务标识用于在终端设备脱网后标识所述终端设备;统一数据管理在终端设备去注册后不删除所述事务标识;
在第三方面的一种可能的设计中,该方法还包括:统一数据管理接收来自接入与移动性管理功能的所述事务标识对应的业务授权时间;所述统一数据管理在终端设备去注册后不删除所述事务标识,包括:所述统一数据管理在终端设备去注册后至业务授权时间到达前,不删除所述事务标识。
第三方面及第三方面的各种可能的设计中的有益效果,可参考第一方面中对应的描述,在此不再赘述。
第四方面,本申请实施例提供一种通信装置,该装置可具有实现上述第一方面或第一方面的任一种可能的设计中接入与移动性管理功能的功能,或者具有实现上述第三方面或第三方面的任一种可能的设计中统一数据管理的功能,该装置可以为网络设备,也可以为网络设备中包括的芯片。
该装置也可具有实现上述第二方面或第二方面的任一种可能的设计中终端设备的功能,该装置可以为终端设备,也可以为终端设备中包括的芯片。
上述通信装置的功能可以通过硬件实现,也可以通过硬件执行相应的软件实现,所述硬件或软件包括一个或多个与上述功能相对应的模块或单元或手段(means)。
在一种可能的设计中,该装置的结构中包括处理模块和收发模块,其中,处理模块被配置为支持该装置执行上述第一方面或第一方面的任一种设计中接入与移动性管理功能相应的功能,或者执行上述第二方面或第二方面的任一种设计中终端设备相应的功能,或者执行上述第三方面或第三方面的任一种设计中统一数据管理相应的功能。收发模块用于支持该装置与其他通信设备之间的通信,例如该装置为接入与移动性管理功能时,可接收来自终端设备的第一请求消息。该通信装置还可以包括存储模块,存储模块与处理模块耦合,其保存有装置必要的程序指令和数据。作为一种示例,处理模块可以为处理器,通信模块可以为收发器,存储模块可以为存储器,存储器可以和处理器集成在一起,也可以和处理器分离设置。
在另一种可能的设计中,该装置的结构中包括处理器,还可以包括存储器。处理器与存储器耦合,可用于执行存储器中存储的计算机程序指令,以使装置执行上述第一方面或第一方面的任一种可能的设计中的方法,或者执行上述第二方面或第二方面的任一种可能的设计中的方法,或者执行上述第三方面或第三方面的任一种可能的设计中的方法。可选 的,该装置还包括通信接口,处理器与通信接口耦合。当装置为网络设备或终端设备时,该通信接口可以是收发器或输入/输出接口;当该装置为网络设备中包含的芯片或终端设备中包含的芯片时,该通信接口可以是芯片的输入/输出接口。可选的,收发器可以为收发电路,输入/输出接口可以是输入/输出电路。
第五方面,本申请实施例提供一种芯片系统,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片系统实现上述第一方面或第一方面的任一种可能的设计中的方法,或实现上述第二方面或第二方面的任一种可能的设计中的方法,或实现上述第三方面或第三方面的任一种可能的设计中的方法。
可选的,该芯片系统还包括接口电路,该接口电路用于交互代码指令至所述处理器。
可选的,该芯片系统中的处理器可以为一个或多个,该处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。
可选的,该芯片系统中的存储器也可以为一个或多个。该存储器可以与处理器集成在一起,也可以和处理器分离设置。示例性的,存储器可以是非瞬时性处理器,例如只读存储器ROM,其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上。
第六方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序或指令,当该计算机程序或指令被执行时,使得计算机执行上述第一方面或第一方面的任一种可能的设计中的方法,或执行上述第二方面或第二方面的任一种可能的设计中的方法,或执行上述第三方面或第三方面的任一种可能的设计中的方法。
第七方面,本申请实施例提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述第一方面或第一方面的任一种可能的设计中的方法,或执行上述第二方面或第二方面的任一种可能的设计中的方法,或执行上述第三方面或第三方面的任一种可能的设计中的方法。
第八方面,本申请实施例提供一种通信系统,该通信系统包括接入与移动性管理功能和终端设备。可选的,该通信系统中还可包括策略控制功能、计费功能和统一数据管理。可选的,该通信系统还可包括无线接入网设备。
附图说明
图1为一种通信系统的网络架构示意图;
图2为本申请实施例提供的一种近距离业务的计费方法的流程示意图;
图3为本申请实施例中对近距离发现业务进行计费的具体示例;
图4为本申请实施例中对近距离发现业务和近距离通信业务进行统一计费的具体示例;
图5为本申请实施例中对脱网用户的近距离发现业务进行计费的一个具体示例;
图6、图7和图8为本申请实施例提供的一种通信装置的结构示意图。
具体实施方式
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。
本申请实施例的技术方案可以应用于各种通信系统,例如长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、第五代(5th generation,5G)移动通信系统或新无线(new radio,NR)系统,或者应用于未来的通信系统或其它类似的通信系统等。
请参考图1,为一种通信系统的网络架构图,该通信系统包括终端设备、无线接入网设备、核心网设备和近距离应用服务器(ProSe application server)。
示例性的,如图1所示,核心网可以为第五代核心网(5th generation core,5GC),核心网设备可包括接入与移动性管理功能(access and mobility management function,AMF)、会话管理功能(session management function,SMF)、用户面功能(user plane function,UPF)、统一数据管理(unified data management,UDM)、统一数据存储(unified data repository,UDR)、策略控制功能(policy control function,PCF)、网络能力开放功能(network exposure function,NEF)、5G直接发现名称管理功能(direct discovery name management function,DDNMF)。可选的,5GC还包括其它核心网设备,例如ProSe计费触发功能(charging trigger function,CTF),在图1中暂未示出,不再赘述。
以下,对各网元或功能进行详细说明。
1)终端设备,是一种具有无线收发功能的设备。终端设备可以接入无线接入网(radio access network,RAN),从而进行语音和/或数据业务。
终端设备可以包括用户设备(user equipment,UE)、无线终端设备、移动终端设备、D2D终端设备、车联网(vehicle to everything,V2X)终端设备、机器到机器/机器类通信(machine-to-machine/machine-type communications,M2M/MTC)终端设备、物联网(internet of things,IoT)终端设备、订户单元(subscriber unit)、订户站(subscriber station)、移动站(mobile station)、远程站(remote station)、接入点(access point,AP)、远程终端(remote terminal)、接入终端(access terminal)、用户终端(user terminal)、用户代理(user agent)或用户装备(user device)等。例如,终端设备可以是手机,平板电脑,带无线收发功能的电脑,便携式、袖珍式、手持式、计算机内置的移动装置等。又例如,终端设备还可以是虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备、或者V2X中的车辆设备、客户前置设备(customer premises equipment,CPE)等等。再例如,终端设备还可以是个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)等设备。本申请实施例对终端设备所采用的具体技术和具体设备形态不作限定。
作为示例而非限定,终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备或智能穿戴式设备等,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能 全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能头盔、智能首饰等。而如上介绍的各种终端设备,如果位于车辆上(例如放置在车辆内或安装在车辆内),都可以认为是车载终端设备,车载终端设备例如也称为车载单元(on-board unit,OBU)。
终端设备还可以是具有ProSe能力的ProSe UE,例如图1中示出的UE A和UE B。ProSe UE中可以安装有ProSe应用。两个ProSe UE可以通过ProSe发现业务发现对方,并建立直连通信链路,通过ProSe通信业务交互ProSe应用的数据。
2)无线接入网(RAN)设备,用于终端设备接入无线接入网络。无线接入网设备一般可以通过有线链路(例如光纤线缆)与核心网设备连接。无线接入网设备可以为RAN中的节点,又可以称为基站(base station),还可以称为RAN节点(或设备)。
无线接入网设备可以包括LTE系统或演进的LTE系统(LTE-Advanced,LTE-A)中的演进型基站(evolved NodeB,eNodeB)、5G通信系统中的下一代基站(next generation NodeB,gNB)、发送接收点(transmission reception point,TRP)、基带单元(base band unit,BBU)、无线局域网(wireless local area networks,WLAN)中的接入点(access point,AP)、接入回传一体化(integrated access and backhaul,IAB)节点、未来移动通信系统中的基站或WiFi系统中的接入节点等。无线接入网设备也可以是完成基站部分功能的模块或单元,例如集中式单元(central unit,CU)或者分布式单元(distributed unit,DU)。本申请实施例对无线接入网设备所采用的具体技术和具体设备形态不作限定。
例如,在一种网络结构中,无线接入网设备可以为CU节点、或DU节点、或为包括CU节点和DU节点的无线接入网设备。其中,CU节点用于支持无线资源控制(radio resource control,RRC)、分组数据汇聚协议(packet data convergence protocol,PDCP)、业务数据适配协议(service data adaptation protocol,SDAP)等协议;DU节点用于支持无线链路控制(radio link control,RLC)层协议、媒体接入控制(medium access control,MAC)层协议和物理层协议。
此外,无线接入网设备还可以负责管理ProSe业务的无线资源,如通信频段。
需要指出的是,无线接入网设备和终端设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和卫星上。
在本申请实施例中,无线接入网设备可以简称为接入网设备,如无特殊说明,下文中的接入网设备均可以指无线接入网设备。
3)核心网设备,是指核心网(core network,CN)中的设备。下面以5GC为例,对核心网设备进行介绍。
AMF主要用于终端设备的接入管理和移动性管理,包括终端设备的注册网络、位置更新、移动性状态切换等。例如,本申请实施例中的AMF可以用于鉴权UE是否可以进行ProSe业务;
SMF主要用于会话管理,包括会话的建立、修改、释放等,如为终端设备分配IP地址、选择提供报文转发功能的UPF等。
UPF是用户面的功能实体,主要用于负责连接外部网络,对用户报文进行处理,如转发、计费、合法监听等。
UDM用于管理用户数据,包括签约信息、鉴权/授权信息等。例如,UDM可用于管理 UE的ProSe签约数据。
UDR用于存储结构化的数据信息,包括签约信息、策略信息等。
PCF负责策略控制决策,以及向AMF、SMF提供策略。例如,PCF可用于下发ProSe业务的策略给AMF或ProSe UE。
CHF主要负责计费问题,包括下发计费策略、收集计费信息、生成计费话单等。例如,CHF可用于负责ProSe业务的计费。
NEF用于将网络的部分功能有控制地暴露给应用。
5G DDNMF用于负责ProSe UE的ProSe业务上下文管理。
ProSe CTF用于负责计费事件的收集,并上报给CHF。
上述网元或者功能实体既可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能实体可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。
4)近距离应用服务器,可以是一个第三方的应用服务器,用于管理近距离应用的数据。
需要说明的是,本申请实施例可以应用于上述图1所示的通信系统,不予限制;此外,本申请实施例中的术语“系统”和“网络”可被互换使用。“多个”是指两个或两个以上,鉴于此,本申请实施例中也可以将“多个”理解为“至少两个”。“至少一个”,可理解为一个或多个,例如理解为一个、两个或更多个。例如,包括至少一个,是指包括一个、两个或更多个,而且不限制包括的是哪几个。例如,包括A、B和C中的至少一个,那么包括的可以是A、B、C,A和B,A和C,B和C,或A和B和C。同理,对于“至少一种”等描述的理解,也是类似的。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。
除非有相反的说明,本申请实施例提及“第一”、“第二”等序数词用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度,并且“第一”、“第二”的描述也并不限定对象一定不同。
请参考图2,为本申请实施例提供的一种近距离业务的计费方法,该方法包括:
步骤S201、终端设备向AMF发送第一请求消息。
其中,该第一请求消息用于请求第一应用的近距离发现业务。
相应的,AMF接收来自终端设备的第一请求消息。
其中,第一应用可以为终端设备即将发起的一种应用业务,例如微信,大众点评等社交应用,也可以是各种游戏应用,例如王者荣耀、绝地求生等;相应地,第一应用的近距离发现业务可以为微信中发现附近的人,大众点评中发现同在一个商场、餐厅或场馆的用户,或者发现在附近区域内具有相同兴趣或分享相似内容的用户,游戏应用中发现附近区 域内其他具有相同人物形象的玩家等功能。
示例性地,当AMF授权该终端设备进行所述近距离发现业务后,终端设备可通过所述近距离发现业务发现其他终端设备,然后与发现的其他终端设备进行近距离通信业务,传输该第一应用的数据。
可选的,第一请求消息中还包括终端设备的标识信息和第一应用的标识信息。其中,终端设备的标识信息用于标识终端设备,例如可以是终端设备的设备标识(如设备序列号),也可以是用户标识(如系统账号、手机号码、邮箱等)。第一应用的标识信息用于标识第一应用,例如可包括第一应用的名称,版本信息等。
具体地,第一请求消息可以为近距离发现请求(ProSe discovery request)消息,不限定。
需要指出的是,本申请也可以不限定终端设备请求某一具体应用的近距离发现业务,该近距离发现业务可以为泛指的(即不区分应用的)近距离发现业务。
步骤S202、AMF根据第一请求消息和第一计费策略,向终端设备发送第一响应消息。
其中,该第一响应消息用于表征授权终端设备进行所述近距离发现业务。该第一响应消息中包括该近距离发现业务的计费信息,该计费信息用于终端设备上报该近距离发现业务的统计信息。所述统计信息可以用于网络(如CHF)对该近距离发现业务进行计费,可以理解为是具体计费方法的输入参数或考量指标,因此,所述统计信息也可以称为计费输入信息,或计费指标信息,或计费参考信息,或具有其他名称,并不限定。
相应的,终端设备接收来自AMF的第一响应消息。
具体地,第一响应消息可以称为近距离发现响应(ProSe discovery response)消息,不限定。
步骤S203、终端设备根据计费信息,上报统计信息。
具体地,终端设备可根据计费信息,确定统计信息所包含的具体内容,进而上报统计信息。
在一个示例中,计费信息包括用于表征对所述近距离发现业务按照流量和/或时长进行计费的信息,例如计费信息可包括该近距离发现业务的计费方式,该计费方式可以包括按照流量计费的方式和按照时长计费的方式。相应的,统计信息可包括该近距离发现业务的流量和/或时长。进一步地,终端设备根据计费信息上报统计信息可以包括:若计费信息中包括的该近距离发现业务的计费方式包括按照流量计费的方式,则终端设备上报该近距离发现业务的流量,或者终端设备确定上报的统计信息中包括该近距离发现业务的流量;或者,若计费信息中包括的该近距离发现业务的计费方式包括按照时长计费的方式,则终端设备上报该近距离发现业务的时长,或者终端设备确定上报的统计信息包括该近距离发现业务的时长。
其中,近距离发现业务的流量和/或时长可以是终端设备在该近距离发现业务的过程中由该近距离发现业务消耗、占用或使用的流量和/或时长。
在另一个示例中,计费信息包括用于表征对所述近距离发现业务按照事件进行计费的信息,例如计费信息包括该近距离发现业务的计费方式,该计费方式包括按照事件计费的方式。相应的,统计信息可包括事件信息。
进一步地,终端设备根据计费信息上报统计信息可以包括:若计费信息中包括的该近距离发现业务的计费方式包括按照事件计费的方式,则终端设备上报在该近距离发现业务 过程中的事件信息,或者终端设备确定上报的统计信息包括在所述近距离发现业务过程中的事件信息。
其中,事件信息可包括终端设备在该近距离发现业务的过程中的业务角色和/或使用的公共陆地移动网络(public land mobile network,PLMN)资源。
终端设备在进行该近距离发现业务时的业务角色与其采用的近距离发现模型有关,例如,如果其采用的近距离发现模型为近距离直接发现模型A,则终端设备的业务角色可以是广播者(announcer)或监听者(monitor);再例如,如果采用的近距离发现模型为近距离直接发现模型B,则终端设备的业务角色可以是发现者(discoverer)或被发现者(discoveree)。
上述PLMN资源可以包括终端设备在近距离发现业务过程中使用的频段信息、小区信息、无线技术类型、或运营商信息等信息中的一项或多项。
在本申请的实施例中,第一计费策略为终端设备的近距离发现业务对应的计费策略。
示例性地,在步骤S202中,AMF可根据第一请求消息和终端设备的签约数据,确定授权该终端设备进行所述近距离发现业务,然后AMF根据第一计费策略向终端设备发送第一响应消息。
进一步地,第一计费策略可以是AMF在确定授权终端设备进行所述近距离发现业务后,从本地或PCF获取的,并不限定。具体的,AMF从本地获取第一计费策略可以是指,AMF通过之前该终端设备的近距离发现业务的请求流程已从PCF获取了第一计费策略并保存到了本地,因此,AMF可从本地获取之前保存的第一计费策略。而AMF从PCF获取第一计费策略可以是指,AMF被配置为每次从PCF获取第一计费策略,以确保获取到的第一计费策略是最新的或准确的;或者,也可以是指当AMF确定本地没有保存第一计费策略时,或者本地保存的第一计费策略已过有效期时,从PCF获取第一计费策略。
应注意,第一计费策略可以是终端设备的第一应用的近距离发现业务所适用的计费策略,也可以是终端设备的所有应用的近距离发现业务都适用的计费策略,并不限定。换言之,网络侧(例如PCF)可以针对不同应用的近距离发现业务分别配置计费策略,也可以不区分应用,为所有应用的近距离发现业务配置统一的计费策略。此外,网络侧也可以对不同的终端设备的相同应用的近距离发现业务配置相同或不同的计费策略,也不限定。
在一种可能的实施方式中,AMF可在接收到来自终端设备的第一请求消息后,从UDM获取该终端设备的签约数据,根据该终端设备的签约数据对终端设备进行鉴权。鉴权通过后,AMF确定能够授权该终端设备进行所述近距离发现业务,或者说确定该终端设备有权限进行所述近距离发现业务。可选的,所述签约数据可以为该终端设备与近距离发现业务或与第一应用的近距离发现业务相关的签约数据。
进而,AMF可在授权终端设备进行所述近距离发现业务后,从PCF获取第一计费策略。示例性地,AMF从PCF获取计费策略的过程可以包括:首先,AMF向PCF发送计费策略请求消息,该计费策略请求消息中包括终端设备所请求的所述近距离发现业务的信息,以表示当前请求的是终端设备的所述近距离发现业务的计费策略。例如,所述计费策略请求消息可包括终端设备的标识信息、第一应用的标识信息或业务类型信息中的一项或多项,其中,业务类型信息用于表征终端设备当前请求的近距离业务是所述近距离发现业务。如此,PCF可接收来自AMF的计费策略请求消息,根据该计费策略请求消息,确定所述近 距离发现业务对应的第一计费策略,然后通过计费策略响应消息,将该第一计费策略发送给AMF。
可选的,在本申请的实施例中,计费信息是AMF根据第一计费策略生成的,例如AMF可根据第一计费策略,确定计费信息中包括业务信息(如业务的标识信息)、业务进行的时长、业务消耗的流量、进行业务的对象(如对端设备的标识信息)、业务进行的小区(如小区的标识信息)、采用的接入技术等信息中的一项或多项。
如此,在步骤S202中,AMF根据第一计费策略向终端设备发送第一响应消息可以包括:AMF根据第一计费策略生成计费信息,然后AMF向终端设备发送第一响应消息,该第一响应消息包括该生成的计费信息。应注意,计费信息中包含的内容与第一计费策略中包含的内容可以部分相同或完全相同,并不限定。
需要说明的是,第一响应消息可以通过携带上述计费信息来隐含地指示终端设备上报统计信息。示例性地,当第一响应消息携带有上述计费信息时,终端设备确定需要上报所述近距离发现业务的统计信息。
显然,第一响应消息中还可包括上报指示信息,该上报指示信息用于指示终端设备上报所述近距离发现业务的统计信息。于是,在步骤S203中,终端设备从AMF接收到第一响应消息后,可根据该上报指示信息和计费信息上报所述近距离发现业务的统计信息。
可选的,第一响应消息中还包括统计信息的上报条件,如此,终端设备可在该上报条件被满足时上报统计信息。
例如,统计信息的上报条件可以包括以下一项或多项:所述近距离发现业务的流量大于或等于第一门限值;所述近距离发现业务的时长大于或等于第二门限值。相应地,统计信息的上报条件被满足可以是指,所述近距离发现业务的流量大于或等于第一门限值,和/或,所述近距离发现业务的时长大于或等于第二门限值。
再例如,终端设备可以被设置为按照某一个设定的时间长度周期性地上报统计信息,如此,统计信息的上报条件被满足可以是指,周期性上报的定时器被触发。
应注意,上报条件可以是一个或多个上报条件,本申请对上报条件的数量不作具体限定。如果存在多个上报条件,终端设备可以被配置为,当多个上报条件中的任一上报条件满足时上报统计信息,也可以在当多个上报条件同时满足时上报统计信息,并不限定。
可选的,在本申请的实施例的一种实施场景中,上述方法还包括:终端设备向AMF上报统计信息,AMF接收到来自终端设备的统计信息后,再将统计信息发送给CHF,以便CHF对终端设备的所述近距离发现业务进行计费。
也可能的,由于终端设备的位置变化等原因,终端设备在满足上报条件时,已接入另一个AMF,则在该情形下,终端设备可以向新接入的AMF上报统计信息,由新接入的AMF将统计信息发送给CHF。
可选的,在本申请的实施例的另一种实施场景中,第一响应消息中还可包括CHF的地址,该CHF的地址用于终端设备向CHF上报统计信息。
进一步地,上述方法还包括:终端设备根据CHF的地址向CHF上报统计信息,以便CHF对终端设备的所述近距离发现业务进行计费,不再需要经过AMF转发统计信息,从而有效减小上报延时。
采用上述技术方案,网络可以基于流量、时长以及事件等一种或多种因素对终端设备 的近距离发现业务进行计费,从而解决现有技术中对近距离发现业务计费不合理的问题,有效提高用户体验。
本申请实施例中的技术方案既可以适用于对终端设备的近距离发现业务和近距离通信业务进行分别计费的场景下,也可以适用于对终端设备的近距离发现业务和近距离通信业务进行统一计费的场景下。所述统一计费指的是对于近距离通信和近距离发现两种近距离业务类型,采用相同的计费策略,比如都采用基于流量的计费。
下面对本申请实施例涉及的对终端设备的近距离发现业务和近距离通信业务进行统一计费的场景进行说明。
可选的,在上述实施例的另一种实施场景中,该场景用于对终端设备的近距离发现业务和近距离通信业务进行统一计费,第一请求消息中还包括第一信息。
在一种可能的实施方式中,该第一信息用于请求对近距离发现业务和近距离通信业务进行统一计费,即对于该终端设备的任何应用的近距离发现业务和近距离通信业务都可以采用统一计费。或者,该第一信息用于请求对第一应用的近距离发现业务和该第一应用的近距离通信业务进行统一计费,即针对某一个特定应用的近距离发现业务和近距离通信业务采用统一计费。
具体地,在该实施方式中,第一信息还可以称为统一计费请求信息,或具有其他名称,并不限定。在另一种可能的实施方式中,该第一信息可用于表征终端设备支持对近距离发现业务和近距离通信业务进行统一计费。
具体地,在该实施方式中,第一信息还可以称为终端设备的能力信息,或计费能力信息,或具有其他名称,并不限定。
基于上述两种可能的第一信息的实施方式,示例性地,AMF在接收到来自终端设备的第一请求消息后,可向PCF请求第一计费策略,并且在向PCF请求该第一计费策略时携带上述第一信息,或者说AMF向PCF发送的计费策略请求消息中可包括上述第一信息,该第一信息可以是上述任一种实施方式的第一信息。进而,PCF向AMF返回第一计费策略,该第一计费策略还可包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息。相应地,AMF向终端设备发送的计费信息中也可包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息。
在该场景中,为了便于对终端设备所请求的近距离发现业务进行计费,终端设备上报的统计信息中还可包括业务类型信息,该业务类型信息用于表征终端设备进行的近距离业务的业务类型具体为近距离发现业务。
采用上述技术方案,可实现对终端设备的近距离发现业务和近距离通信业务进行统一计费。通过进行统一计费可以有效简化网络侧的实现,减少对近距离发现业务和近距离通信业务进行分别计费带来的信令开销,此外还可以更贴近用户的业务付费习惯,提高用户体验。
本申请实施例中的技术方案还可适用于终端设备在脱网状态下进行近距离发现业务的场景中,所述脱网是指终端设备无法接入运营商网络,原因可能是例如运营商网络的信号覆盖弱、终端设备离开网络覆盖范围等。
下面对本申请实施例涉及的脱网场景进行说明。
可选的,在上述实施例的另一种实施场景中,该场景可以支持终端设备在脱网状态下进行近距离发现业务,第一请求消息中还包括第二信息,该第二信息用于终端设备请求在脱网状态下进行近距离发现业务。
示例性地,AMF在接收到第一请求消息后,可以根据终端设备的签约数据确定授权终端设备进行近距离发现业务,然后根据该第二信息确定终端设备请求在脱网状态下进行近距离发现业务,进而为该终端设备分配事务标识,并将该终端设备的事务标识通过第一响应消息发送给终端设备。
其中,事务标识用于在终端设备脱网后标识该终端设备,或者说用来在该终端设备脱网后追踪该终端设备,例如追踪其近距离发现业务的使用情况以用来计费等。
在该场景中,终端设备上报的统计信息中还可包括该终端设备的事务标识。
需要说明的是,终端设备在从脱网状态变为重新接入网络后,如果统计信息的上报条件被满足,则终端设备可通过当前接入的AMF向CHF上报所述统计信息,或者直接向CHF上报所述统计信息。此外,终端设备当前接入的AMF与终端设备在脱网前接入的AMF可以是同一AMF,也可以是不同的AMF,不作限定。
此外,AMF还可将该终端设备的事务标识发送给UDM,以便UDM保存该事务标识。
在一种可能的实施方式中,UDM可在该终端设备去注册后保留或不删除该终端设备的事务标识,从而便于对脱网的终端设备的用户上下文进行管理。
在另一种可能的实施方式中,AMF还可为该终端设备的事务标识分配对应的业务授权时间,并将该终端设备的事务标识以及该事务标识对应的业务授权时间发送给UDM,以便UDM保存该事务标识和对应的业务授权时间。进一步地,AMF可以通过上述第一响应消息将该事务标识和对应的业务授权时间发给终端设备。
其中,业务授权时间是指允许终端设备进行该近距离发现业务的时间长度。它可以是一个定时器timer,定时器的取值表示时长,单位可以是秒、分、时、或者年。
示例性地,UDM可在该终端设备的事务标识对应的业务授权时间到达前,不删除该终端设备的事务标识,而当超出业务授权时间之后,才删除该终端设备的事务标识。可选的,所述业务授权时间可以从终端设备脱网后(例如在终端设备完成去注册后)开始计时,也可以从为该终端设备生成事务标识时开始计时,不作限定。所述终端设备的事务标识对应的业务授权时间也可以理解为终端设备的事务标识的生存时间或有效时间。
由于在终端设备脱网后,UDM会删除该终端设备相关的用户信息,这会导致当终端设备脱网后,终端设备的用户上下文无法管理,进而无法对脱网的终端设备使用近距离发现业务进行计费。鉴于此,本申请的实施例中通过为该终端设备分配对应的事务标识,并相应保存到UDM以及下发给终端设备,可将终端设备在脱网前以及脱网后进行的近距离发现业务的相关信息关联起来,使得网络在该终端设备脱网后依然能够对该终端设备的用户上下文进行有效管理,从而实现对脱网用户的近距离发现业务的计费。
值得注意的是,本申请的各实施例中由AMF执行的动作或步骤,也可以由ProSe CTF来执行,即ProSe CTF可以具有与AMF类似的计费相关功能。
请参考图3,为本申请实施例中对近距离发现业务进行计费的一个具体示例。
步骤S301,UE向AMF或ProSe CTF发送近距离发现请求消息。
步骤S302,AMF或ProSe CTF从UDM获取UE的近距离业务签约数据。
步骤S303,AMF或ProSe CTF根据该UE的近距离业务签约数据对UE进行鉴权,确定授权该UE的近距离发现业务。
步骤S304,AMF或ProSe CTF从PCF获取该UE的近距离发现业务的计费策略,该计费策略指示对该UE的近距离发现业务按照流量、时长和事件进行计费。
步骤S305,AMF或ProSe CTF向UE发送近距离发现响应消息。
其中,该近距离发现响应消息中包括计费信息和统计信息的上报条件,该计费信息中包括用于指示UE的近距离发现业务按照流量、时长和事件进行计费的信息,以及用于指示UE上报统计信息的信息。
步骤S306,UE进行近距离发现业务,统计近距离发现业务过程中的流量、时长和事件信息。
步骤S307,UE确定统计信息的上报条件被满足。
步骤S308,UE向AMF或ProSe CTF上报统计信息。
其中,该统计信息包括终端设备的近距离发现业务的流量、时长和事件信息(如PLMN资源、业务角色等)。
步骤S309,AMF或ProSe CTF将UE上报的统计信息发送给CHF。
通过该示例,对于UE的近距离发现业务,AMF或ProSe CTF在授权UE进行近距离发现业务后,可根据该UE的近距离发现业务的计费策略,向UE下发相应的计费信息,并指示UE上报统计信息,如此,可使CHF根据UE上报的统计信息对UE的近距离发现业务进行计费。
请参考图4,为本申请实施例中对近距离业务(包括近距离发现业务和近距离通信业务)进行统一计费的一个具体示例。
步骤S401,UE向AMF或ProSe CTF发送近距离发现/通信请求消息。
其中,该近距离发现/通信请求消息中包括统一计费指示,用于请求对该UE的近距离业务进行统一计费,或者用于指示该UE支持对近距离业务进行统一计费。
步骤S402,AMF或ProSe CTF从UDM获取UE的近距离业务签约数据。
步骤S403,AMF或ProSe CTF根据该UE的近距离业务签约数据对UE进行鉴权,确定授权该UE的近距离发现业务/近距离通信业务。
步骤S404,AMF或ProSe CTF从PCF获取该UE的近距离业务的计费策略,该计费策略指示对该UE的近距离业务进行统一计费,并按照流量、时长和事件进行计费。
步骤S405,AMF或ProSe CTF向UE发送近距离发现/通信响应消息。
其中,该近距离发现/通信响应消息中包括计费信息和统计信息的上报条件,该计费信息中包括用于指示对UE的近距离业务进行统一计费且按照流量、时长和事件进行计费的信息,以及用于指示UE上报统计信息的信息。
步骤S406,UE进行近距离发现业务或近距离通信业务,统计近距离发现业务或近距离通信业务的流量、时长和事件信息。
步骤S407,UE确定统计信息的上报条件被满足。
步骤S408,UE向AMF或ProSe CTF上报统计信息。
其中,该统计信息可以包括终端设备的近距离发现业务/近距离通信业务的流量、时长、事件信息(如PLMN资源、业务角色等)和业务类型信息,该业务类型信息用于表征指示 UE进行的近距离业务为近距离发现业务或近距离通信业务。
步骤S409,AMF或ProSe CTF将UE上报的统计信息发送给CHF。
通过该示例,对于UE的近距离发现业务或近距离通信业务,AMF或ProSe CTF在授权该UE进行近距离发现业务或近距离通信业务后,可根据该UE的近距离业务的计费策略,向UE下发相应的计费信息,并指示对近距离业务进行统一计费以及指示UE上报统计信息,如此可使CHF根据UE上报的统计信息对UE的近距离业务进行统一计费。
请参考图5,为本申请实施例中对脱网用户的近距离发现业务进行计费的一个具体示例。
步骤S501,UE向AMF或ProSe CTF发送近距离发现请求消息。
其中,该近距离发现请求消息中包括脱网指示,该脱网指示用于UE请求在脱网状态下进行近距离发现业务。
步骤S502,AMF或ProSe CTF从UDM获取UE的近距离业务签约数据。
步骤S503,AMF或ProSe CTF根据该UE的近距离业务签约数据对UE进行鉴权,确定授权该UE的近距离发现业务。
步骤S504,AMF或ProSe CTF为UE分配事务标识,该事务标识用于在UE脱网后标识该UE。
步骤S505,AMF或ProSe CTF将该UE的事务标识保存到UDM。
可选的,UDM中保存的该UE的事务标识在该UE去注册后不删除,或者,AMF或ProSe CTF在为UE分配事务标识的同时,还分配了该事务标识对应的业务授权时间(timer),并将该事务标识和对应的业务授权时间一起保存到UDM,如此,UDM接收到该事务标识和业务授权时间后,可开启业务授权时间对应的定时器,在该定时器超时前不删除该事务标识,超时后删除该事务标识。
步骤S506,AMF或ProSe CTF从PCF获取该UE的近距离发现业务的计费策略,该计费策略确定对该UE的近距离发现业务按照流量、时长和事件进行计费。
步骤S507,AMF或ProSe CTF向UE发送近距离发现响应消息。
其中,该近距离发现响应消息中包括计费信息、统计信息的上报条件和该UE的事务标识。该计费信息中可以包括用于指示对UE的近距离发现业务按照流量、时长和事件进行计费的信息,以及用于指示UE上报统计信息的信息。
步骤S508,UE进行近距离发现业务,统计近距离发现业务的流量、时长和事件信息。
步骤S509,UE在脱网后重新入网,确定统计信息的上报条件被满足。
步骤S510,UE向AMF或ProSe CTF上报统计信息。
其中,该统计信息包括终端设备的近距离发现业务的流量、时长、事件信息(如PLMN资源、业务角色等)和该UE的事务标识等。
可选的,UE上报统计信息的AMF或ProSe CTF与UE脱网前接入的AMF或ProSe CTF可以相同或不同,并不限定。如果是不同的AMF或ProSe CTF,则UE新接入的AMF或ProSe CTF可从UDM获取该UE的事务标识,校验该UE上报的统计信息是否准确。
步骤S511,AMF或ProSe CTF将UE上报的统计信息发送给CHF。
通过该示例可对于UE请求的在脱网状态下进行近距离发现业务的情形,AMF或ProSe CTF在授权该UE进行近距离发现业务后,可为该UE分配对应的事务标识,根据该UE 的近距离业务的计费策略,向UE下发相应的计费信息和事务标识,并指示UE上报统计信息。如此,UE可在脱网后又重新入网后上报统计信息,以便CHF根据UE上报的统计信息对UE的近距离发现业务进行计费。
本申请实施例还提供一种通信装置,请参考图6,为本申请实施例提供的一种通信装置的结构示意图,该通信装置600包括:收发模块610和处理模块620。该通信装置可用于实现上述任一方法实施例中涉及接入与移动性管理功能或统一数据管理的功能。例如,该通信装置可以是网络设备,也可以是网络设备中包括的芯片。
该通信装置可用于实现上述任一方法实施例中涉及终端设备的功能。例如,该通信装置可以是终端设备,例如手持终端设备或车载终端设备,也可以是终端设备中包括的芯片或者电路,或者还可以是包括终端设备的装置,如各种类型的车辆等。
示例性的,当该通信装置执行图2中所示的方法实施例中对应接入与移动性管理功能的操作或者步骤时,收发模块610用于,接收来自终端设备的第一请求消息,该第一请求消息用于请求第一应用的近距离发现业务;处理模块620用于,根据第一请求消息和第一计费策略,向终端设备发送第一响应消息,该第一响应消息用于表征授权终端设备进行所述近距离发现业务,所述第一计费策略为终端设备的所述近距离发现业务对应的计费策略;其中,所述第一响应消息中包括所述近距离发现业务的计费信息,该计费信息用于终端设备上报所述近距离发现业务的统计信息。
在一种可能的设计中,所述第一响应消息还包括上报指示信息,该上报指示信息用于指示终端设备上报所述统计信息。
在一种可能的设计中,所述计费信息包括用于表征对所述近距离发现业务按照流量和/或时长进行计费的信息;所述统计信息包括所述近距离发现业务的流量和/或时长。
在一种可能的设计中,处理模块620具体用于,根据第一请求消息和终端设备的签约数据,确定授权终端设备进行所述近距离发现业务;以及根据第一计费策略,向终端设备发送第一响应消息。
在一种可能的设计中,收发模块610还用于,从策略控制功能获取第一计费策略。
在一种可能的设计中,所述第一请求消息中还包括第一信息,该第一信息用于请求对第一应用的近距离发现业务和近距离通信业务进行统一计费,或者该第一信息用于表征终端设备支持对近距离发现业务和近距离通信业务进行统一计费;所述第一计费策略还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息;所述计费信息还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息。
在一种可能的设计中,所述统计信息还包括近距离业务的业务类型信息,该业务类型信息用于表征终端设备进行的近距离业务的业务类型为近距离发现业务。
在一种可能的设计中,所述统计信息还包括事件信息,该事件信息包括在所述近距离发现业务的过程中终端设备的业务角色和/或使用的公共陆地移动网络PLMN资源。
在一种可能的设计中,所述第一响应消息中还包括统计信息的上报条件。
在一种可能的设计中,所述第一响应消息中还包括计费功能的地址,该计费功能的地址用于终端设备向计费功能上报所述统计信息。
在一种可能的设计中,收发模块610还用于,接收来自终端设备的所述统计信息;以及向计费功能发送所述统计信息。
在一种可能的设计中,所述第一请求消息中包括第二信息,该第二信息用于终端设备请求在脱网状态下进行所述近距离发现业务;处理模块620还用于,为终端设备分配事务标识,该事务标识用于在终端设备脱网后标识终端设备;所述第一响应消息中还包括所述事务标识;所述统计信息中还包括所述事务标识。
在一种可能的设计中,收发模块还用于,向统一数据管理发送所述事务标识或所述事务标识对应的业务授权时间。
当该通信装置执行图2中所示的方法实施例中对应终端设备的操作或者步骤时,收发模块610用于,向接入与移动性管理功能发送第一请求消息,该第一请求消息用于请求第一应用的近距离发现业务;收发模块610还用于,接收来自接入与移动性管理功能的第一响应消息,该第一响应消息用于表征授权终端设备进行所述近距离发现业务,该第一响应消息中包括所述近距离发现业务的计费信息,该计费信息用于终端设备上报所述近距离发现业务的统计信息;处理模块620用于,根据计费信息,上报所述统计信息。
在一种可能的设计中,所述第一响应消息还包括上报指示信息;处理模块620具体用于,根据计费信息和上报指示信息,上报所述统计信息。
在一种可能的设计中,所述计费信息包括用于表征对所述近距离发现业务按照流量和/或时长进行计费的信息;所述统计信息包括所述近距离发现业务的流量和/或时长。
在一种可能的设计中,所述第一请求消息中还包括第一信息,该第一信息用于请求对第一应用的近距离发现业务和近距离通信业务进行统一计费,或者该第一信息用于表征终端设备支持对近距离发现业务和近距离通信业务进行统一计费;所述计费信息还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息。
在一种可能的设计中,所述统计信息还包括近距离业务的业务类型信息,该业务类型信息用于表征终端设备进行的近距离业务的业务类型为近距离发现业务。
在一种可能的设计中,所述统计信息还包括事件信息,该事件信息包括在所述近距离发现业务的过程中终端设备的业务角色和/或使用的公共陆地移动网络PLMN资源。
在一种可能的设计中,所述第一响应消息中还包括统计信息的上报条件;处理模块620还用于,当该上报条件被满足时,上报所述统计信息。
在一种可能的设计中,所述第一响应消息中还包括计费功能的地址;处理模块620具体用于,根据该计费功能的地址,向计费功能上报所述统计信息。
在一种可能的设计中,处理模块620还用于,向接入与移动性管理功能上报统计信息。
在一种可能的设计中,所述第一请求消息中包括第二信息,该第二信息用于终端设备请求在脱网状态下进行所述近距离发现业务;所述第一响应消息中还包括终端设备的事务标识,该事务标识用于在终端设备脱网后标识终端设备;所述统计信息中还包括所述事务标识。
当该通信装置执行图5中所示的方法实施例中对应统一数据管理的操作或者步骤时,收发模块610用于,接收来自接入与移动性管理功能的终端设备的事务标识,该事务标识用于在终端设备脱网后标识所述终端设备;处理模块620用于,在终端设备去注册后不删除所述事务标识;
在一种可能的设计中,收发模块610还用于,接收来自接入与移动性管理功能的所述事务标识对应的业务授权时间;处理模块620具体用于,在终端设备去注册后至业务授权时间到达前,不删除所述事务标识。
该通信装置中涉及的处理模块620可以由至少一个处理器或处理器相关电路组件实现,收发模块610可以由至少一个收发器或收发器相关电路组件或通信接口实现。该通信装置中的各个模块的操作和/或功能分别为了实现图2至图5中所示方法的相应流程,为了简洁,在此不再赘述。可选的,该通信装置中还可以包括存储模块,该存储模块可以用于存储数据和/或指令,收发模块610和/或处理模块620可以读取存取模块中的数据和/或指令,从而使得通信装置实现相应的方法。该存储模块例如可以通过至少一个存储器实现。
上述存储模块、处理模块和收发模块可以分离存在,也可以全部或者部分模块集成,例如存储模块和处理模块集成,或者处理模块和收发模块集成等。
请参考图7,为本申请实施例中提供的一种通信装置的另一结构示意图。该通信装置可用于实现上述方法实施例中接入与移动性管理功能或统一数据管理对应的功能,该通信装置可以是网络设备或者能够支持网络设备实现上述方法实施例中对应功能的装置等。
该通信装置700可以包括处理器701、通信接口702和存储器703。其中,通信接口702用于通过传输介质与其它设备进行通信,该通信接口702可以是收发器、也可以为接口电路如收发电路、收发芯片等。存储器703用于存储程序指令和/或数据,处理器701用于执行存储器703中存储的程序指令,从而实现上述方法实施例中的方法。可选的,存储器703和处理器701耦合,所述耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。
在一个实施例中,通信接口702可具体用于执行上述收发模块610的动作,处理器701可具体用于执行上述处理模块620的动作,本申请在此不再赘述。
本申请实施例中不限定上述通信接口702、处理器701以及存储器703之间的具体连接介质。本申请实施例在图7中以存储器703、处理器701以及通信接口702之间通过总线704连接,总线在图7中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
请参考图8,为本申请实施例中提供的一种通信装置的另一结构示意图。该通信装置具体可为一种终端设备,该通信装置可用于实现上述任一方法实施例中涉及终端设备的功能。便于理解和图示方便,在图8中,终端设备以手机作为例子。如图8所示,终端设备包括处理器,还可以包括存储器,当然,也还可以包括射频电路、天线以及输入输出装置等。处理器主要用于对通信协议以及通信数据进行处理,以及对终端设备进行控制,执行软件程序,处理软件程序的数据等。存储器主要用于存储软件程序和数据。射频电路主要用于基带信号与射频信号的转换以及对射频信号的处理。天线主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。需要说明的是,有些种类的终端设备可以不具有输入输出装置。
当需要发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至射频电路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到终端设备时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。为便于说明,图8中仅示出了一个存储器和处理器。在实际的终端设备产品中,可以存在一个或多个处理器和一个或多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以是独立于处理器设置,也可以是与处理器集成在一起,本申请实施例对此不做限 制。
在本申请实施例中,可以将具有收发功能的天线和射频电路视为终端设备的收发单元,将具有处理功能的处理器视为终端设备的处理单元。如图8所示,终端设备包括收发单元810和处理单元820。收发单元也可以称为收发器、收发机、收发装置等。处理单元也可以称为处理器,处理单板,处理模块、处理装置等。可选的,可以将收发单元810中用于实现接收功能的器件视为接收单元,将收发单元810中用于实现发送功能的器件视为发送单元,即收发单元810包括接收单元和发送单元。收发单元有时也可以称为收发机、收发器、或收发电路等。接收单元有时也可以称为接收机、接收器、或接收电路等。发送单元有时也可以称为发射机、发射器或者发射电路等。应理解,收发单元810用于执行上述方法实施例中终端设备侧的发送操作和接收操作,处理单元820用于执行上述方法实施例中终端设备上除了收发操作之外的其他操作。
本申请实施例还提供一种芯片系统,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得该芯片系统实现上述任一方法实施例中的对应终端设备的方法或者对应网络设备的方法。
可选的,该芯片系统中的处理器可以为一个或多个。该处理器可以通过硬件实现也可以通过软件实现。当通过硬件实现时,该处理器可以是逻辑电路、集成电路等。当通过软件实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现。
可选的,该芯片系统中的存储器也可以为一个或多个。该存储器可以与处理器集成在一起,也可以和处理器分离设置,本申请并不限定。示例性的,存储器可以是非瞬时性处理器,例如只读存储器ROM,其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请对存储器的类型,以及存储器与处理器的设置方式不作具体限定。
示例性的,该芯片系统可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specific integrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。
应理解,上述方法实施例中的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
本申请实施例还提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述任一方法实施例中的方法。
本申请实施例还提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述任一方法实施例中的方法。
本申请实施例还提供一种通信系统,该通信系统包括接入与移动性管理功能和终端设备。可选的,该通信系统中还可包括策略控制功能、计费功能和统一数据管理。可选的,该通信系统还可包括无线接入网设备。
应理解,本申请实施例中提及的处理器可以是CPU,还可以是其他通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。 通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
应理解,在本申请的各种实施例中涉及的各种数字编号仅为描述方便进行的区分,上述各过程或步骤的序号的大小并不意味着执行顺序的先后,各过程或步骤的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计 算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。

Claims (29)

  1. 一种近距离业务的计费方法,其特征在于,所述方法包括:
    接入与移动性管理功能接收来自终端设备的第一请求消息,所述第一请求消息用于请求第一应用的近距离发现业务;
    所述接入与移动性管理功能根据所述第一请求消息和第一计费策略,向所述终端设备发送第一响应消息,所述第一响应消息用于表征授权所述终端设备进行所述近距离发现业务,所述第一计费策略为所述终端设备的所述近距离发现业务对应的计费策略;
    其中,所述第一响应消息中包括所述近距离发现业务的计费信息,所述计费信息用于所述终端设备上报所述近距离发现业务的统计信息。
  2. 根据权利要求1所述的方法,其特征在于,所述第一响应消息还包括上报指示信息,所述上报指示信息用于指示所述终端设备上报所述统计信息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述计费信息包括用于表征对所述近距离发现业务按照流量和/或时长进行计费的信息;
    所述统计信息包括所述近距离发现业务的流量和/或时长。
  4. 根据权利要求1所述的方法,其特征在于,所述接入与移动性管理功能根据所述第一请求消息和第一计费策略,向所述终端设备发送第一响应消息,包括:
    所述接入与移动性管理功能根据所述第一请求消息和所述终端设备的签约数据,确定授权所述终端设备进行所述近距离发现业务;
    所述接入与移动性管理功能根据所述第一计费策略,向所述终端设备发送所述第一响应消息。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:
    所述接入与移动性管理功能从策略控制功能获取所述第一计费策略。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述第一请求消息中还包括第一信息,所述第一信息用于请求对所述第一应用的近距离发现业务和近距离通信业务进行统一计费,或者所述第一信息用于表征所述终端设备支持对近距离发现业务和近距离通信业务进行统一计费;
    所述第一计费策略还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息;
    所述计费信息还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息。
  7. 根据权利要求6所述的方法,其特征在于,所述统计信息还包括近距离业务的业务类型信息,所述业务类型信息用于表征所述终端设备进行的近距离业务的业务类型为近距离发现业务。
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述统计信息还包括事件信息,所述事件信息包括在所述近距离发现业务的过程中所述终端设备的业务角色和/或使用的公共陆地移动网络PLMN资源。
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述第一响应消息中还包括所述统计信息的上报条件。
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述第一响应消息中还 包括计费功能的地址,所述计费功能的地址用于所述终端设备向所述计费功能上报所述统计信息。
  11. 根据权利要求1至9中任一项所述的方法,其特征在于,所述方法还包括:
    所述接入与移动性管理功能接收来自所述终端设备的所述统计信息;
    所述接入与移动性管理功能向计费功能发送所述统计信息。
  12. 根据权利要求1至11中任一项所述的方法,其特征在于,所述第一请求消息中包括第二信息,所述第二信息用于所述终端设备请求在脱网状态下进行所述近距离发现业务;
    所述方法还包括:
    所述接入与移动性管理功能为所述终端设备分配事务标识,所述事务标识用于在所述终端设备脱网后标识所述终端设备;
    所述第一响应消息中还包括所述事务标识;
    所述统计信息中还包括所述事务标识。
  13. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    所述接入与移动性管理功能向统一数据管理发送所述事务标识或所述事务标识对应的业务授权时间。
  14. 一种近距离业务的计费方法,其特征在于,所述方法包括:
    终端设备向接入与移动性管理功能发送第一请求消息,所述第一请求消息用于请求第一应用的近距离发现业务;
    所述终端设备接收来自所述接入与移动性管理功能的第一响应消息,所述第一响应消息用于表征授权所述终端设备进行所述近距离发现业务,所述第一响应消息中包括所述近距离发现业务的计费信息,所述计费信息用于所述终端设备上报所述近距离发现业务的统计信息;
    所述终端设备根据所述计费信息,上报所述统计信息。
  15. 根据权利要求14所述的方法,其特征在于,所述第一响应消息还包括上报指示信息;
    所述终端设备根据所述计费信息,上报所述统计信息,包括:
    所述终端设备根据所述计费信息和所述上报指示信息,上报所述统计信息。
  16. 根据权利要求14或15所述的方法,其特征在于,所述计费信息包括用于表征对所述近距离发现业务按照流量和/或时长进行计费的信息;
    所述统计信息包括所述近距离发现业务的流量和/或时长。
  17. 根据权利要求14至16中任一项所述的方法,其特征在于,所述第一请求消息中还包括第一信息,所述第一信息用于请求对所述第一应用的近距离发现业务和近距离通信业务进行统一计费,或者所述第一信息用于表征所述终端设备支持对近距离发现业务和近距离通信业务进行统一计费;
    所述计费信息还包括用于指示对近距离发现业务和近距离通信业务进行统一计费的指示信息。
  18. 根据权利要求17所述的方法,其特征在于,所述统计信息还包括近距离业务的业务类型信息,所述业务类型信息用于表征所述终端设备进行的近距离业务的业务类型为近距离发现业务。
  19. 根据权利要求14至18中任一项所述的方法,其特征在于,所述统计信息还包括 事件信息,所述事件信息包括在所述近距离发现业务的过程中所述终端设备的业务角色和/或使用的公共陆地移动网络PLMN资源。
  20. 根据权利要求14至19中任一项所述的方法,其特征在于,所述第一响应消息中还包括所述统计信息的上报条件;
    当所述上报条件被满足时,所述终端设备上报所述统计信息。
  21. 根据权利要求14至20中任一项所述的方法,其特征在于,所述第一响应消息中还包括计费功能的地址;
    所述终端设备上报所述统计信息,包括:
    所述终端设备根据所述计费功能的地址,向所述计费功能上报所述统计信息。
  22. 根据权利要求14至20中任一项所述的方法,其特征在于,所述方法还包括:
    所述终端设备上报所述统计信息,包括:
    所述终端设备向所述接入与移动性管理功能上报所述统计信息。
  23. 根据权利要求14至22中任一项所述的方法,其特征在于,所述第一请求消息中包括第二信息,所述第二信息用于所述终端设备请求在脱网状态下进行所述近距离发现业务;
    所述第一响应消息中还包括所述终端设备的事务标识,所述事务标识用于在所述终端设备脱网后标识所述终端设备;
    所述统计信息中还包括所述事务标识。
  24. 一种近距离业务的计费方法,其特征在于,所述方法包括:
    统一数据管理接收来自接入与移动性管理功能的终端设备的事务标识,所述事务标识用于在所述终端设备脱网后标识所述终端设备;
    所述统一数据管理在所述终端设备去注册后不删除所述事务标识。
  25. 根据权利要求24所述的方法,其特征在于,所述方法还包括:
    所述统一数据管理接收来自所述接入与移动性管理功能的所述事务标识对应的业务授权时间;
    所述统一数据管理在所述终端设备去注册后不删除所述事务标识,包括:
    所述统一数据管理在所述终端设备去注册后至所述业务授权时间到达前,不删除所述事务标识。
  26. 一种通信装置,其特征在于,所述装置包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合:
    所述至少一个处理器,用于执行所述至少一个存储器中存储的计算机程序或指令,以使得所述装置执行如权利要求1至13中任一项所述的方法,或者使得所述装置执行如权利要求14至23中任一项所述的方法,或者使得所述装置执行如权利要求24至25中任一项所述的方法。
  27. 一种计算机可读存储介质,其特征在于,用于存储指令,当所述指令被执行时,使如权利要求1至13中任一项所述的方法被实现,或者使如权利要求14至23中任一项所述的方法被实现,或者使如权利要求24至25中任一项所述的方法被实现。
  28. 一种通信装置,其特征在于,包括处理器和接口电路;
    所述接口电路,用于与所述处理器交互代码指令或数据;
    所述处理器用于执行如权利要求1至13中任一项所述的方法,或者所述处理器用于 执行如权利要求14至23中任一项所述的方法,或者所述处理器用于执行如权利要求24至25中任一项所述的方法。
  29. 一种计算机程序,其特征在于,当所述计算机程序被执行时,使如权利要求1至13中任一项所述的方法被实现,或者使如权利要求14至23中任一项所述的方法被实现,或者使如权利要求24至25中任一项所述的方法被实现。
PCT/CN2020/135230 2020-12-10 2020-12-10 一种近距离业务的计费方法及通信装置 WO2022120705A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/135230 WO2022120705A1 (zh) 2020-12-10 2020-12-10 一种近距离业务的计费方法及通信装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/135230 WO2022120705A1 (zh) 2020-12-10 2020-12-10 一种近距离业务的计费方法及通信装置

Publications (1)

Publication Number Publication Date
WO2022120705A1 true WO2022120705A1 (zh) 2022-06-16

Family

ID=81972975

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/135230 WO2022120705A1 (zh) 2020-12-10 2020-12-10 一种近距离业务的计费方法及通信装置

Country Status (1)

Country Link
WO (1) WO2022120705A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113831A (zh) * 2014-07-26 2014-10-22 华为技术有限公司 近距离业务通讯的计费方法、系统及相关设备
WO2014187289A1 (zh) * 2013-05-23 2014-11-27 华为终端有限公司 近距离通信方法、用户设备及移动管理实体
CN105025453A (zh) * 2014-04-30 2015-11-04 电信科学技术研究院 一种邻近通信的计费方法和设备
CN106792428A (zh) * 2016-05-09 2017-05-31 北京展讯高科通信技术有限公司 基站、近距离业务功能实体及通信资源分配、调度方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014187289A1 (zh) * 2013-05-23 2014-11-27 华为终端有限公司 近距离通信方法、用户设备及移动管理实体
CN105025453A (zh) * 2014-04-30 2015-11-04 电信科学技术研究院 一种邻近通信的计费方法和设备
CN104113831A (zh) * 2014-07-26 2014-10-22 华为技术有限公司 近距离业务通讯的计费方法、系统及相关设备
CN106792428A (zh) * 2016-05-09 2017-05-31 北京展讯高科通信技术有限公司 基站、近距离业务功能实体及通信资源分配、调度方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NEC CORPORATION: "Security in ProSe Discovery", 3GPP DRAFT; S3-130999 PROSE_DIRECT DISCOVERY, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG3, no. San Francisco; 20131111 - 20131115, 12 November 2013 (2013-11-12), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP050745029 *

Similar Documents

Publication Publication Date Title
CN104823511B (zh) 用于无线通信系统中设备间通信的发起的方法和设备
KR101405685B1 (ko) 그룹 기반의 머신-투-머신 통신
CN106170969B (zh) 上下文管理
WO2022089622A1 (zh) 一种通信方法及通信装置
CN105850218B (zh) 一种d2d通信的发现方法、装置及系统
WO2021168664A1 (zh) 通信方法、装置及计算机存储介质
WO2021163936A1 (zh) 通信处理方法、装置及计算机存储介质
KR20160030970A (ko) 상황 인식 근접 서비스들
WO2014043377A1 (en) System and method for post-discovery communication within a neighborhood-aware network
JP2015513288A5 (ja) デバイスツーデバイス通信を提供するコンピュータプログラムおよびデバイス
WO2021196214A1 (zh) 传输方法、装置及计算机存储介质
WO2021217306A1 (zh) Prs配置处理方法及装置、通信设备及存储介质
WO2021114274A1 (zh) 无线通信方法、装置及存储介质
WO2012174722A1 (en) Method and apparatus for providing a virtual sim for mobile communications
US11089167B2 (en) Apparatus, system and method of internet connectivity via a relay station
WO2021254353A1 (zh) 一种释放中继连接的方法、设备及系统
JP2023120240A (ja) インタラクティブサービスのためのpc5上での装置間通信における課金
CN112673705A (zh) 信息传输方法、装置、通信设备和存储介质
JP6471690B2 (ja) 制御装置および通信端末
WO2021142796A1 (zh) 通信处理方法、装置及计算机存储介质
CN108934067A (zh) 一种获取寻呼参数的方法及装置
WO2022120705A1 (zh) 一种近距离业务的计费方法及通信装置
WO2022237778A1 (zh) 异常检测的方法、通信装置及通信系统
CN112534914A (zh) 资源分配方法及装置、消息帧处理方法及装置、存储介质
CN113573248A (zh) 用于传输数据的方法与装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20964643

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20964643

Country of ref document: EP

Kind code of ref document: A1