Direct communication charging method, system, device, medium and product
By determining the billing parameters and billing strategies between user equipment and network equipment, distinguishing cellular network mode and cellular network mode without cellular network mode, dynamically allocating communication resources, the problem of missing direct communication billing rules in the prior art is solved, and the realization of the realization of Differentiated billing and reasonable allocation of resources have been improved, and the accuracy of billing and resource utilization have been improved.
Patent Information
- Application Number
- CN202411190025.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-29
AI Technical Summary
In the prior art, only the interface specifications for direct communication are defined, but the billing rules for direct communication are not specified, resulting in the inability to effectively manage and bill.
Provide a direct communication billing method, by obtaining the contract information and account charges of user equipment, determining the billing parameters based on the preset billing strategy, distinguishing between cellular network mode and cellular network mode without cellular network mode, dynamically allocating communication resources, and according to Use information to generate billing bills.
Differentiated billing is realized, communication resource utilization is improved, and communication resource utilization is avoided. The problem of excessive amount of data stored and recorded by user equipment is avoided and the problem of inaccurate delay in billing data is ensured, and the reasonable allocation of communication resources and the accuracy of billing is ensured.
Smart Images

Figure CN119052737A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a direct communication billing method, system, device, medium and product. Background Art
[0002] 5G C-V2X (Cellular Vehicle-to-Everything) is a communication technology based on 5G network, which aims to achieve efficient and reliable communication between vehicles and the surrounding environment. 5G C-V2X can provide two communication interfaces, one is a short-distance direct communication interface (Proximity Communication 5, PC5), and the other is a reliable communication interface (Uu) that can achieve long distance and larger range. 5G C-V2X combines the Uu interface and the PC5 interface to support each other and are used together for V2X business transmission, forming effective redundancy to ensure communication reliability.
[0003] However, the prior art only defines the interface specification of direct communication, but does not specify the charging rules for direct communication. Summary of the invention
[0004] The present application provides a direct communication charging method, system, device, medium and product to solve the defect that the prior art only defines the interface specification of direct communication but does not specify the charging rules for direct communication.
[0005] The present application provides a direct communication charging method, applicable to a network device, the method comprising: If the user equipment initiates a billing service request, the subscription information and account charges of the user equipment are obtained, and the billing service includes a service for billing direct communication; According to the contract information, the account charges and the preset billing strategy, the billing parameters of the direct communication of the user equipment are determined, and the billing parameters are the communication resources with cellular network mode and / or the communication resources without cellular network mode, and the communication resources with cellular network mode are less than the communication resources without cellular network mode.
[0006] As an embodiment, if the charging parameter is the communication resource with a cellular network mode, after determining the charging parameter of the direct communication of the user equipment according to the contract information, the account tariff and the preset charging policy, it also includes: Sending the charging parameter to the user equipment; Acquire charging information generated when the user equipment performs direct communication according to the charging parameters, the charging information including at least communication duration and data volume; Determining whether the remaining charges of the user equipment are sufficient according to the billing information, the subscription information and the account charges; If the remaining charges of the user equipment are sufficient, a success response message is sent to the user equipment; otherwise, a communication termination message is sent to the user equipment.
[0007] As an embodiment, if the charging parameter is the non-cellular network mode communication resource, after determining the charging parameter of the direct communication of the user equipment according to the contract information, the account tariff and the preset charging policy, it also includes: In response to the initial context establishment request of the user equipment, obtaining the direct communication usage information reported by the user equipment, wherein the direct communication usage information includes at least the start time, duration and communication peer of the direct communication
[0008] Determining charging information according to the direct communication usage information, wherein the charging information includes at least communication duration and data volume; Generate a billing invoice based on the billing information.
[0009] As an embodiment, if it is monitored that the user terminal reconnects to the cellular network before the communication ends or the communication resources in the non-cellular network mode are consumed, correspondingly, after determining the billing information according to the direct communication usage information, the method further includes: Determining whether the remaining charges of the user equipment are sufficient according to the billing information, the subscription information and the account charges; If the remaining charges of the user equipment are sufficient, a success response message is sent to the user equipment; otherwise, a communication termination message is sent to the user equipment.
[0010] The present invention also provides a direct communication charging method, applicable to user equipment, comprising: Initiate a billing service request to the network side so that the network side obtains the contract information and account charges of the user equipment, the billing service includes a service for billing direct communication; determine the billing parameters of the direct communication of the user equipment according to the contract information, the account charges and the preset billing policy, the billing parameters are communication resources with a cellular network mode and / or communication resources without a cellular network mode, and the communication resources with a cellular network mode are less than the communication resources without a cellular network mode.
[0011] As an embodiment, before initiating a charging service request to the network side, the method further includes: When initiating a direct communication service request, it is determined whether the direct communication service is a free service. If so, the direct communication service is executed and the process ends.
[0012] As an embodiment, it also includes: Obtaining the billing parameters; If the communication is within the coverage of the cellular network, performing direct communication according to the communication resources in the cellular network mode, and sending billing information to the network device; If the network is not within the coverage of the cellular network, direct communication is performed according to the communication resources in the non-cellular network mode; if the network is reconnected to the cellular network before the communication ends or the communication resources in the non-cellular network mode are consumed, an initial context establishment request is sent to the network device and the network device is notified that the cellular network has been reconnected, and pre-stored direct communication usage information is reported in the initial context establishment request; if the network is not reconnected to the cellular network before the communication ends or the communication resources in the non-cellular network mode are consumed, an initial context establishment request is sent to the network device, and pre-stored direct communication usage information is reported in the initial context establishment request.
[0013] The present invention also provides a direct communication billing system, comprising a user device and a network device, wherein the network device is used to execute the direct communication billing method applicable to the network device, and the user device is used to execute the direct communication billing method applicable to the user device.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, any of the direct communication charging methods described above is implemented.
[0015] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the direct communication charging method as described above is implemented.
[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the direct communication charging method as described above is implemented.
[0017] The direct communication billing method, system, device, medium and product provided by the present application, if the user device initiates a billing service request, the contract information and account charges of the user device are obtained, and the billing service includes the service of billing for direct communication; according to the contract information, the account charges and the preset billing strategy, the billing parameters of the direct communication of the user device are determined, and the billing parameters are communication resources with cellular network mode and / or communication resources without cellular network mode, and the communication resources with cellular network mode are less than the communication resources without cellular network mode. The present application provides different billing parameters for the network environment in which the user device is located, realizes differentiated billing, and can also dynamically and reasonably allocate communication resources according to whether the user device is in a cellular network environment, so as to improve the utilization rate of communication resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 This is one of the flow charts of the direct communication billing method provided in this application.
[0020] Figure 2 This is the second flow chart of the direct communication billing method provided by this application.
[0021] Figure 3 It is a structural diagram of the direct communication billing system provided by this application.
[0022] Figure 4 This is a schematic diagram of the billing process implemented based on the direct communication billing system provided in this application.
[0023] Figure 5 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0025] It should be noted that all actions of acquiring signals, information or data in this application are carried out in compliance with the relevant data protection laws and policies of the country where they are located, and with the authorization given by the owner of the corresponding device.
[0026] When the User Equipment (UE) is out of the coverage of PC5 direct communication, storing recorded PC5 usage information may increase the UE storage burden. In addition, if the UE has a large amount of PC5 communication activities outside the coverage area, it may cause the amount of stored information to be too large to manage and transmit. When reconnecting to the network, the UE reports PC5 usage information to the AMF. However, this reporting timing may not capture real-time information of PC5 communication activities, because the UE can only report previously stored information when reconnecting, which may cause delays and inaccuracies in billing data.
[0027] Figure 1 This is one of the flow charts of the direct communication billing method provided by this application, such as Figure 1 As shown, the present application provides a direct communication billing method applicable to a network device, and the method includes steps S110 to S120.
[0028] Step S110: If the user equipment initiates a charging service request, the subscription information and account charges of the user equipment are obtained, and the charging service includes a service for charging direct communication.
[0029] Step S120, determining the billing parameters of the direct communication of the user equipment according to the contract information, the account charges and the preset billing policy, the billing parameters are the communication resources with cellular network mode and / or the communication resources without cellular network mode, and the communication resources with cellular network mode are less than the communication resources without cellular network mode.
[0030] The technical concept of the present application is to divide PC5 direct communication into free services and charged services based on the operator's Business Operation Support System (BOSS). For free services, there is no need to allocate resources, and there is no need to obtain the consent of the network side. Services can be carried out directly between two terminals. For charged services, it is necessary to divide them into cellular network mode and non-cellular network mode; communication resources are allocated in different ways. The cellular network mode is a situation where the UE is within the coverage of the cellular network and can communicate with the network side in a timely manner. The allocated communication resources are relatively small and can be allocated again when the resources are consumed. The non-cellular network mode is a situation where the UE is outside the coverage of the cellular network and can no longer communicate with the network side in a timely manner. At this time, more communication resources need to be allocated.
[0031] Correspondingly, the network equipment includes the BOSS system and the Access and Mobility Management Function (AMF) in the BOSS system.
[0032] The above-mentioned business and resource allocation method are further explained below.
[0033] Free services refer to PC5 direct communication services that do not require billing and can be carried out directly between two terminals. For free services, no additional communication resources need to be allocated, and no consent from the network side is required, which means that free service communications will not occupy limited communication resources and can be carried out at any time.
[0034] The billing service refers to the service that needs to be billed for the PC5 direct communication. For the billing service, the BOSS system adopts different communication resource allocation methods according to the cellular network coverage of the UE.
[0035] Specifically, when the UE is within the coverage of the cellular network and can communicate with the network side in a timely manner, the allocated communication resources are relatively small. The allocation of communication resources in the cellular network mode is to meet communication needs, but at the same time, the rational use of network resources must also be considered. Therefore, the allocated communication resources are small, and once the resources are consumed, they can be allocated again. When the UE is outside the coverage of the cellular network and cannot communicate with the network side in a timely manner, more communication resources need to be allocated. The allocation of communication resources in the non-cellular network mode is to meet the UE's needs for long-term communication in a non-cellular network environment. Since the UE cannot communicate with the network side in a timely manner, in order to ensure continuous communication services, more communication resources need to be allocated to the billing service.
[0036] Optionally, in step S120, the billing strategy may be a set of billing strategies and rules pre-defined by the BOSS system to determine the billing method and billing amount. The above strategies and rules may be set based on factors such as user contracts, tariff packages, and communication quality.
[0037] It can be understood that the present application provides different billing parameters for the network environment in which the user equipment is located, realizes differentiated billing, and can also dynamically and reasonably allocate communication resources according to whether the user equipment is in a cellular network environment, so as to improve the utilization rate of communication resources.
[0038] Based on the above embodiment, as an optional embodiment, if the billing parameter is the communication resource in the cellular network mode, after determining the billing parameter of the direct communication of the user device according to the contract information, the account tariff and the preset billing policy, it also includes the following steps.
[0039] Step S1311, sending the charging parameters to the user equipment, that is, allocating communication resources to the user equipment, so that the user equipment performs direct communication with the communication resources in the cellular network mode.
[0040] Step S1312, obtaining the charging information generated when the user equipment performs direct communication according to the charging parameters, wherein the charging information at least includes the communication duration and the data volume. When the user equipment performs direct communication, it reports the charging information to the AMF.
[0041] Step S1313: judging whether the remaining charges of the user equipment are sufficient according to the charging information, the subscription information and the account charges.
[0042] Step S1314: If the remaining charges of the user equipment are sufficient, a success response message is sent to the user equipment, otherwise a communication termination message is sent to the user equipment. The UE performs corresponding operations according to the received feedback message. If it is a success response message, after the communication resources of the cellular network mode are exhausted, it continues to request communication resources from the BOSS system according to its own network environment. If the UE receives a communication termination message, the communication is terminated directly and the process ends.
[0043] It can be understood that the present application provides a direct communication control scheme for user equipment in a cellular network mode. The user equipment stores and records direct communication usage information, which can be sent according to the actual setting of sending usage information, thereby avoiding the excessive amount of data of the direct communication usage information stored and recorded in the user equipment, and avoiding the defect that the user equipment can only report the previously stored information when reconnecting, resulting in delays and inaccuracies in the billing data.
[0044] Based on the above embodiment, as an optional embodiment, if the billing parameter is the non-cellular network mode communication resource, after determining the billing parameter of the direct communication of the user device according to the contract information, the account tariff and the preset billing policy, it also includes the following steps.
[0045] Step S1321: In response to the initial context establishment request of the user equipment, obtain direct communication usage information reported by the user equipment, wherein the direct communication usage information at least includes the start time, duration and communication counterpart of the direct communication.
[0046] Optionally, AMF verifies the direct communication usage information, including the validity and integrity of the information, and can ensure the accuracy of the information by checking the reported fields, timestamps, etc.
[0047] Step S1322: Determine the billing information according to the direct communication usage information, where the billing information includes at least the communication duration and the data volume. The AMF extracts the billing information from the direct communication usage information and performs corresponding processing to ensure that direct communication continues when the user equipment is reconnected to the cellular network, and performs corresponding billing processing.
[0048] Step S1323, generating a billing bill according to the billing information. Specifically, the BOSS system performs billing processing according to the received direct communication billing information and the predefined billing strategy, including calculating the fee according to the communication time and communication volume, applying preferential policies (such as free communication quota in the package, special preferential activities, etc.), and considering other additional fees.
[0049] Optionally, if it is monitored that the user terminal reconnects to the cellular network before the communication ends or the communication resources of the non-cellular network mode are consumed, correspondingly, after determining the billing information based on the direct communication usage information, it also includes: judging whether the remaining charges of the user device are sufficient based on the billing information, the contract information and the account charges; if the remaining charges of the user device are sufficient, sending a success response message to the user device, otherwise sending a communication termination message to the user device.
[0050] It can be understood that the present application provides a direct communication control scheme for user equipment in a non-cellular network mode. The user equipment stores and records direct communication usage information, which can be sent according to the actual setting of sending usage information, thereby avoiding the excessive amount of data of the direct communication usage information stored and recorded in the user equipment, and avoiding the defect that the user equipment can only report the previously stored information when reconnecting, resulting in delays and inaccuracies in the billing data.
[0051] The direct communication charging method provided by the present invention is described below. The direct communication charging method described below and the direct communication charging method described above can be referred to each other.
[0052] Figure 2 This is the second flow chart of the direct communication billing method provided by this application, such as Figure 2 As shown, the present invention also provides a direct communication charging method, which is applicable to user equipment and includes the following steps.
[0053] Initiate a billing service request to the network side so that the network side obtains the contract information and account charges of the user equipment, the billing service includes a service for billing direct communication; determine the billing parameters of the direct communication of the user equipment according to the contract information, the account charges and the preset billing policy, the billing parameters are communication resources with a cellular network mode and / or communication resources without a cellular network mode, and the communication resources with a cellular network mode are less than the communication resources without a cellular network mode.
[0054] As an embodiment, before initiating a charging service request to the network side, it also includes: when initiating a direct communication service request, determining whether the direct communication service is a free service, and if so, executing the direct communication service and ending the process.
[0055] As an embodiment, it also includes: obtaining the billing parameters; if it is within the coverage of the cellular network, performing direct communication according to the communication resources with cellular network mode, and sending billing information to the network device; if it is not within the coverage of the cellular network, performing direct communication according to the communication resources without cellular network mode, if it is reconnected to the cellular network before the communication ends or the communication resources without cellular network mode are consumed, sending an initial context establishment request to the network device and notifying the network device that it has reconnected to the cellular network, and reporting pre-stored direct communication usage information in the initial context establishment request; if it is not reconnected to the cellular network before the communication ends or the communication resources without cellular network mode are consumed, sending an initial context establishment request to the network device, and reporting pre-stored direct communication usage information in the initial context establishment request.
[0056] It is understandable that the present application provides different billing parameters for the network environment in which the user equipment is located, realizes differentiated billing, and can also dynamically and reasonably allocate communication resources according to whether the user equipment is in a cellular network environment to improve the utilization of communication resources. The direct communication usage information stored and recorded by the user equipment can be sent according to the actual setting of sending usage information, avoiding the excessive amount of data of the direct communication usage information stored and recorded by the user equipment, and avoiding the defects of the user equipment only being able to report the previously stored information when reconnecting, resulting in delays and inaccuracies in the billing data.
[0057] The direct communication charging system provided by the present invention is described below. The direct communication charging system described below and the direct communication charging method described above can be referred to each other.
[0058] Figure 3 It is a structural diagram of the direct communication billing system provided by this application, such as Figure 3As shown, the present invention also provides a direct communication billing system, including a user device and a network device, the network device includes a BOSS system and an AMF, the network device is used to execute the direct communication billing method applicable to the network device, and the user device is used to execute the direct communication billing method applicable to the user device.
[0059] Figure 4 This is a schematic diagram of the billing process based on the direct communication billing system provided by this application, such as Figure 4 As shown, the direct communication charging method includes the following steps 1-8.
[0060] Step 1: UE accesses the cellular network and establishes an initial connection with the AMF in the BOSS system. The AMF sets the billing parameters for PC5 direct communication according to the UE's subscription information and the remaining charges in the account, including the parameters in the cellular network mode and the non-cellular network mode: the communication resources allocated in the cellular network mode are C1, and the communication resources allocated in the non-cellular network mode are C2. C2>C1, preferably, for example, C2 can be set to 10 times of C1.
[0061] The specific details of step 1 are as follows.
[0062] UE accesses the cellular network: The UE connects to the operator's cellular network through the wireless access network to obtain network connection and service capabilities.
[0063] Establishing an initial connection: The UE establishes an initial connection with the AMF in the BOSS system to perform authentication and registration processes.
[0064] Subscription information and account fee inquiry: AMF obtains the UE's subscription information and account fee information from the BOSS system, including the type of service subscribed by the user, fee plan, balance, etc.
[0065] PC5 direct communication billing parameter setting: Based on the UE's contract information and account charges, AMF sets the billing parameters for PC5 direct communication according to the predefined billing policy, including communication resource allocation in cellular network mode and non-cellular network mode.
[0066] Communication resource allocation in cellular network mode: AMF allocates communication resources C1 for direct communication of PC5 in cellular network mode according to the charging policy. The allocation of resources can be based on pre-defined rules and policies, taking into account factors such as the services subscribed by the user. Usually, the communication resources in cellular network mode are relatively small to ensure the rational use of network resources.
[0067] Communication resource allocation in non-cellular network mode: AMF allocates communication resources C2 for PC5 direct communication in non-cellular network mode according to the billing policy. Since the UE is outside the coverage of the cellular network and cannot communicate with the network side in time, more communication resources need to be allocated to meet the needs of long-term communication.
[0068] Feedback of charging parameters to UE: AMF feeds back the set charging parameters (including communication resource allocation in cellular network mode and non-cellular network mode) to UE. After receiving the charging parameters, UE can perform subsequent PC5 direct communication operations according to different communication modes and resource allocation.
[0069] Through the above steps, AMF sets the billing parameters for PC5 direct communication according to the UE's contract information and account charges, ensures the reasonable allocation of communication resources and the execution of billing strategies to meet the communication needs in different modes, and charges and controls the user's communication behavior.
[0070] Step 2: When the UE initiates PC5 direct communication, the UE determines whether the PC5 direct communication is a free service. If so, the PC5 direct communication service is executed and the process ends. Otherwise, step 3 is executed.
[0071] The specific details of step 2 are as follows.
[0072] UE initiates PC5 direct communication: When the UE needs to perform PC5 direct communication, it sends a communication request to the target UE through the PC5 interface to prepare to establish a direct communication connection.
[0073] Determine whether the communication is a free service: The UE determines whether the initiated PC5 direct communication is a free service. This determination can be based on the policies and rules set by the operator, such as whether a specific type of application or a specific user group can enjoy free communication.
[0074] Free service execution: If the judgment result shows that the PC5 direct communication is a free service, the UE can directly execute the communication service, perform data transmission or other operations, and end the entire process.
[0075] In the case of free services, the UE does not need to perform additional resource allocation or obtain the consent of the network side, and can directly carry out services between two terminals.
[0076] Non-free service execution: If the judgment result shows that the PC5 direct communication is not a free service, that is, it is a billed service, the UE needs to execute step 3 to continue the process and perform resource allocation and authorization.
[0077] Step 3: The UE checks whether it is under the coverage of the cellular network. If it is, execute step 4; otherwise, execute step 5.
[0078] The specific details of step 3 are as follows.
[0079] Checking cellular network coverage: The UE checks to determine whether it is within the coverage of the cellular network and determines the network coverage of the UE by detecting signal strength, network registration status or other relevant information.
[0080] Determine the cellular network coverage result: The UE determines whether it is within the coverage of the cellular network according to the check result. If the UE is within the coverage of the cellular network, execute step 4; if the UE is not within the coverage of the cellular network, execute step 5.
[0081] Through the above steps, the UE can determine whether it is within the coverage of the cellular network, thereby determining the subsequent billing method and resource allocation method. If the UE is within the coverage of the cellular network, you can continue to perform step 4 to perform billing and resource allocation in the cellular network mode; if the UE is not within the coverage of the cellular network, you need to perform step 5 to perform billing and resource allocation in the non-cellular network mode.
[0082] Step 4: UE uses C1 as the communication resource to perform PC5 direct communication and reports the billing information to AMF; AMF determines the remaining charges of the UE. If the remaining charges are sufficient, a successful response message is fed back to the UE, otherwise a communication termination message is fed back; the UE performs corresponding operations according to the received feedback message. If it is a successful response message, step 3 is repeated when the C1 resources are exhausted. If it is a communication termination message, the communication is terminated directly and the process ends.
[0083] The specific details of step 4 are as follows.
[0084] UE uses C1 communication resources for PC5 direct communication: UE performs PC5 direct communication with the target terminal according to the allocated C1 communication resources to transmit the required data or information.
[0085] UE reports billing information to AMF: UE reports the billing information of PC5 direct communication to AMF, including communication duration, data volume and other related information.
[0086] AMF determines the remaining charges: AMF determines whether the UE has sufficient charges to pay for the current PC5 direct communication service based on the UE's contract information and the remaining charges in the account.
[0087] AMF feeds back the communication result to UE: Based on the judgment result, AMF sends a corresponding feedback message to UE. If the remaining charge of UE is sufficient, AMF sends a success response message; if the remaining charge of UE is insufficient, AMF sends a termination message.
[0088] UE performs corresponding operations: UE performs corresponding operations according to the received feedback message. If a successful response message is received, UE continues to use C1 communication resources for PC5 direct communication, and repeats step 3 to check cellular network coverage before C1 resources are exhausted. If a termination communication message is received, UE directly terminates the current PC5 direct communication and ends the process.
[0089] Step 5: The UE uses C2 as a communication resource to perform PC5 direct communication. If the UE reconnects to the cellular network before the communication ends or the C2 communication resources are consumed, execute step 6; otherwise, execute step 7.
[0090] The specific details of step 5 are as follows.
[0091] UE uses C2 communication resources for PC5 direct communication: UE uses the allocated C2 communication resources to perform PC5 direct communication with the target terminal to transmit the required data or information.
[0092] UE detects cellular network connection: During PC5 direct communication, the UE periodically detects the cellular network connection status to determine whether to reconnect to the cellular network.
[0093] Determine whether the communication is terminated or the C2 resources are exhausted: The UE determines whether the current PC5 direct communication is terminated or whether the C2 communication resources have been completely consumed.
[0094] Determine whether to reconnect to the cellular network: If the UE detects reconnection to the cellular network before the communication ends or the C2 resources are exhausted, execute step 6; otherwise, execute step 7.
[0095] Step 6: The UE sends an initial context establishment request to the AMF to notify the network of its reconnection; in the initial context establishment request, the UE reports the previously stored PC5 usage information to the AMF; after receiving the PC5 usage information reported by the UE, the AMF verifies its validity and integrity; the AMF processes the PC5 usage information, extracts the billing information to be reported, and continues to step 3.
[0096] The specific details of step 6 are as follows.
[0097] UE sends an initial context establishment request: The UE sends an initial context establishment request to the AMF through the PC5 interface, requesting to reconnect to the cellular network.
[0098] Report PC5 usage information: In the initial context establishment request, the UE reports the previously stored PC5 usage information to the AMF. This information may include the start time, duration, communication peer and other related information of PC5 direct communication.
[0099] AMF verifies PC5 usage information: After receiving the PC5 usage information reported by the UE, AMF verifies it, including the validity and integrity of the information. This can ensure the accuracy of the information by checking the reported fields, timestamps, etc.
[0100] Extracting billing information: After verification, AMF extracts the billing information that needs to be reported based on the reported PC5 usage information. This may include communication time, communication volume, billing strategy and other related information.
[0101] Continue to step 3: After extracting the billing information, AMF continues to execute step 3, that is, determines whether to continue to allocate communication resources or terminate communication based on the billing information.
[0102] Through the above steps, when the UE reconnects to the cellular network, it sends an initial context establishment request to the AMF and reports the previously stored PC5 usage information to the AMF. The AMF verifies the reported information, extracts the billing information, and proceeds to step 3 to perform subsequent communication resource allocation or terminate the communication operation to ensure that when the UE reconnects to the cellular network, the PC5 direct communication continues and the corresponding billing processing is performed.
[0103] Step 7: The UE sends an initial context establishment request to the AMF to notify the network of its reconnection; in the initial context establishment request, the UE reports the previously stored PC5 usage information to the AMF; after receiving the PC5 usage information reported by the UE, the AMF verifies its validity and integrity; the AMF processes the PC5 usage information and extracts the billing information that needs to be reported.
[0104] The specific details of step 7 are as follows.
[0105] UE sends an initial context establishment request: The UE sends an initial context establishment request to the AMF through the PC5 interface, requesting to reconnect to the cellular network.
[0106] Report PC5 usage information: In the initial context establishment request, the UE reports the previously stored PC5 usage information to the AMF. This information may include the start time, duration, communication peer and other related information of PC5 direct communication.
[0107] AMF verifies PC5 usage information: After receiving the PC5 usage information reported by the UE, AMF verifies it, including the validity and integrity of the information. The accuracy of the information can be ensured by checking the reported fields, timestamps, etc.
[0108] Extracting billing information: After verification, AMF extracts the billing information that needs to be reported based on the reported PC5 usage information, which may include communication time, communication volume, billing strategy and other related information.
[0109] Through the above steps, when the UE reconnects to the cellular network, it sends an initial context establishment request to the AMF and reports the previously stored PC5 usage information to the AMF. The AMF verifies the reported information, extracts the billing information, and performs corresponding processing. This ensures that when the UE reconnects to the cellular network, PC5 direct communication continues and corresponding billing processing is performed.
[0110] Step 8: After receiving the billing information from PC5, the BOSS system performs billing processing according to the predefined billing policies and rules.
[0111] The specific details of step 8 are as follows.
[0112] Receiving PC5 billing information: The BOSS system receives PC5 billing information from AMF, including communication time, communication volume and other related billing parameters.
[0113] Predefined billing strategies and rules: The BOSS system predefines a set of billing strategies and rules to determine the billing method and amount. The above strategies and rules may be set based on user contracts, tariff packages, communication quality and other factors.
[0114] Billing processing: The BOSS system performs billing processing based on the received PC5 billing information and predefined billing policies. This includes calculating fees based on communication time and volume, applying preferential policies (such as free communication quotas within packages, special promotions, etc.), and considering other additional fees.
[0115] Generate billing invoice: The BOSS system generates billing invoice and records the billing results, which may include billing details, total cost, communication service details and other information.
[0116] Providing billing notices and reports: The BOSS system can provide billing notices to users, and send the billing results to users in the form of SMS, email or other forms to inform them of the communication charges for this period. In addition, the BOSS system can also generate billing reports for internal use by operators for financial settlement, statistical analysis and other purposes.
[0117] Through the above steps, the BOSS system can receive PC5 billing information from AMF, and perform billing processing according to predefined billing policies and rules, and finally generate billing bills and provide billing notifications and reports to realize billing management of PC5 direct communication.
[0118] In summary, this application adopts different billing strategies for differentiated billing according to the network environment in which the UE is located. Under cellular network coverage, billing is performed using the billing function based on AMF support; when there is no cellular network coverage, an alternative billing method is adopted, such as a billing strategy based on other wireless access technologies. In this way, the appropriate billing method can be flexibly selected according to the actual situation to provide a fairer and more reasonable billing plan. Different methods of resource allocation are performed for the cellular network mode and the non-cellular network mode. In the cellular network mode, fewer communication resources are allocated, which is suitable for instant communication under cellular network coverage; in the non-cellular network mode, more communication resources are allocated, which is suitable for long-term communication outside the coverage of the cellular network. According to changes in the network environment, communication resources can be reasonably allocated to improve the reliability and efficiency of communication.
[0119] This application also has the advantages of reducing communication costs, alleviating network congestion, providing new business opportunities, improving user experience and enhancing competitiveness, which are described below in turn.
[0120] PC5 direct communication can bypass the cellular network and communicate directly between devices, reducing the data transmission costs through network operators. This can reduce the network operating costs of operators and may be reflected in the user's communication fees, allowing users to obtain more economical communication plans.
[0121] Since PC5 direct communication is carried out directly between devices without the need for transmission through cellular networks, it can reduce the load on network infrastructure and reduce the risk of network congestion. This can improve network stability and performance and reduce operators' network maintenance and upgrade costs.
[0122] PC5 direct communication provides possibilities for new business models and innovative applications. For example, applications such as smart home, smart city, and Internet of Vehicles based on PC5 direct communication can bring new sources of revenue and business growth points to operators.
[0123] PC5 direct communication can provide a low-latency, high-reliability direct communication experience, suitable for scenarios such as real-time interaction and collaboration between devices. This can improve user satisfaction and loyalty, and increase user retention and growth.
[0124] By providing PC5 direct communication, operators can demonstrate more differentiated services and innovative capabilities in the market, improve their competitiveness, and attract more users and partners.
[0125] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 complete mutual communication through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the direct communication charging method, the method comprising: if the user equipment initiates a charging service request, obtaining the contract information and account charges of the user equipment, the charging service includes the service of charging for direct communication; according to the contract information, the account charges and the preset charging strategy, determining the charging parameters of the direct communication of the user equipment, the charging parameters are the communication resources with cellular network mode and / or the communication resources without cellular network mode, the communication resources with cellular network mode are less than the communication resources without cellular network mode.
[0126] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0127] On the other hand, the present application also provides a computer program product, which includes a computer program, and the computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the direct communication billing method provided by the above methods, and the method includes: if a user device initiates a billing service request, obtain the contract information and account charges of the user device, and the billing service includes a service for billing direct communication; according to the contract information, the account charges and a preset billing policy, determine the billing parameters of the direct communication of the user device, and the billing parameters are communication resources with a cellular network mode and / or communication resources without a cellular network mode, and the communication resources with a cellular network mode are less than the communication resources without a cellular network mode.
[0128] On the other hand, the present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the direct communication billing method provided by the above-mentioned methods, the method comprising: if a user device initiates a billing service request, obtaining the contract information and account charges of the user device, the billing service including a service for billing direct communication; determining the billing parameters of the direct communication of the user device based on the contract information, the account charges and a preset billing policy, the billing parameters being communication resources with a cellular network mode and / or communication resources without a cellular network mode, the communication resources with a cellular network mode being less than the communication resources without a cellular network mode.
[0129] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0130] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0131] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A direct communication charging method, characterized in that: Applicable to a network device, the method comprises: If the user equipment initiates a billing service request, the subscription information and account charges of the user equipment are obtained, and the billing service includes a service for billing direct communication; According to the contract information, the account charges and the preset billing strategy, the billing parameters of the direct communication of the user equipment are determined, and the billing parameters are the communication resources with cellular network mode and / or the communication resources without cellular network mode, and the communication resources with cellular network mode are less than the communication resources without cellular network mode.
2. The direct communication charging method according to claim 1, characterized in that: If the charging parameter is the communication resource with cellular network mode, after determining the charging parameter of the direct communication of the user equipment according to the contract information, the account tariff and the preset charging policy, the method further includes: Sending the charging parameter to the user equipment; Acquire charging information generated when the user equipment performs direct communication according to the charging parameters, the charging information including at least communication duration and data volume; Determining whether the remaining charges of the user equipment are sufficient according to the billing information, the subscription information and the account charges; If the remaining charges of the user equipment are sufficient, a success response message is sent to the user equipment; otherwise, a communication termination message is sent to the user equipment.
3. The direct communication charging method according to claim 1, characterized in that: If the charging parameter is the non-cellular network mode communication resource, after determining the charging parameter of the direct communication of the user equipment according to the contract information, the account tariff and the preset charging policy, the method further includes: In response to the initial context establishment request of the user equipment, obtaining the direct communication usage information reported by the user equipment, wherein the direct communication usage information includes at least the start time, duration and communication peer of the direct communication Determining charging information according to the direct communication usage information, wherein the charging information includes at least communication duration and data volume; Generate a billing invoice based on the billing information.
4. The direct communication charging method according to claim 3, characterized in that: If it is monitored that the user terminal reconnects to the cellular network before the communication ends or the communication resources in the non-cellular network mode are consumed, correspondingly, after determining the billing information according to the direct communication usage information, the method further includes: Determining whether the remaining charges of the user equipment are sufficient according to the billing information, the subscription information and the account charges; If the remaining charges of the user equipment are sufficient, a success response message is sent to the user equipment; otherwise, a communication termination message is sent to the user equipment.
5. A direct communication billing method, characterized in that: Applicable to user devices, including: Initiate a billing service request to the network side so that the network side obtains the contract information and account charges of the user equipment, the billing service includes a service for billing direct communication; determine the billing parameters of the direct communication of the user equipment according to the contract information, the account charges and the preset billing policy, the billing parameters are communication resources with a cellular network mode and / or communication resources without a cellular network mode, and the communication resources with a cellular network mode are less than the communication resources without a cellular network mode.
6. The direct communication charging method according to claim 5, characterized in that: Before initiating a charging service request to the network side, the method further includes: When initiating a direct communication service request, it is determined whether the direct communication service is a free service. If so, the direct communication service is executed and the process ends.
7. The direct communication charging method according to claim 5, characterized in that: Also includes: Obtaining the billing parameters; If the communication is within the coverage of the cellular network, performing direct communication according to the communication resources in the cellular network mode, and sending billing information to the network device; If the cellular network is not covered, perform direct communication according to the non-cellular network mode communication resources, and if the cellular network is reconnected before the communication ends or the non-cellular network mode communication resources are consumed, send an initial context establishment request to the network device and notify the network device that the cellular network has been reconnected, and report the pre-stored direct communication usage information in the initial context establishment request; If the cellular network is not reconnected before the communication ends or the non-cellular network mode communication resources are consumed, an initial context establishment request is sent to the network device, and the pre-stored direct communication usage information is reported in the initial context establishment request.
8. A direct communication billing system, characterized in that: It comprises a user device and a network device, wherein the network device is used to execute the direct communication charging method described in any one of claims 1 to 4, and the user device is used to execute the direct communication charging method described in any one of claims 5 to 7.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the direct communication charging method according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the direct communication charging method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the direct communication charging method according to any one of claims 1 to 7 is implemented.
