CN104113831A - Close range business communication charging method and system and relative device - Google Patents
Close range business communication charging method and system and relative device Download PDFInfo
- Publication number
- CN104113831A CN104113831A CN201410363474.2A CN201410363474A CN104113831A CN 104113831 A CN104113831 A CN 104113831A CN 201410363474 A CN201410363474 A CN 201410363474A CN 104113831 A CN104113831 A CN 104113831A
- Authority
- CN
- China
- Prior art keywords
- communication
- short
- terminal
- reporting
- receiving terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
- Meter Arrangements (AREA)
Abstract
本发明提供了一种近距离业务通讯的计费方法、系统及相关设备。在本发明实施例提供的计费方法中,离线计费系统接收通讯的发送终端和接收终端的近距离使用记录,根据使用记录中的关联标识核对所述发送终端和接收终端的使用记录是否一致,最后根据核对后确定的使用记录对所述发送终端和/或接收终端进行计费。与现有技术相比,本发明实施例提供的计费方法可以通过核对终端用户的近距离使用记录对用户进行计费,克服了现有技术中近距离业务通讯过程不经过网络服务提供商部署的网元而无法准确计费的技术缺陷,满足了网络服务提供商对用户进行精确计费的需求。
The invention provides a billing method, system and related equipment for short-distance service communication. In the billing method provided by the embodiment of the present invention, the offline billing system receives the short-distance usage records of the sending terminal and the receiving terminal of the communication, and checks whether the usage records of the sending terminal and the receiving terminal are consistent according to the associated identifier in the usage records , and finally charge the sending terminal and/or the receiving terminal according to the usage record determined after checking. Compared with the prior art, the billing method provided by the embodiment of the present invention can bill the user by checking the short-distance usage record of the terminal user, which overcomes the problem that the short-distance business communication process in the prior art does not go through the deployment of the network service provider. The technical defect of being unable to charge accurately due to network elements, satisfies the needs of network service providers for accurate charging of users.
Description
技术领域technical field
本发明涉及通信技术领域,具体而言涉及一种近距离业务通讯的计费方法、系统及相关设备。The present invention relates to the technical field of communication, in particular to a billing method, system and related equipment for short-distance service communication.
背景技术Background technique
随着社交类应用的普及,近距离业务越来越重要。近距离业务(proximity-based service,ProSe)包括近距离发现业务和近距离通讯业务。而近距离通讯业务的类型包括一个发送终端对应多个接收终端(one-to-many)、一个发送终端对应一个接收终端(one-to-one)。With the popularity of social applications, proximity business becomes more and more important. The proximity-based service (Proximity-based service, ProSe) includes a proximity-based service and a proximity-based communication service. The types of short-range communication services include one sending terminal corresponding to multiple receiving terminals (one-to-many), and one sending terminal corresponding to one receiving terminal (one-to-one).
现有技术中的近距离通讯业务的one-to-many通讯流程中,首先由近距离业务功能实体(ProSe function)对近距离业务的发送终端和接收终端提供群组ID、近距离业务二层组标识(ProSe layer-2 group ID)、近距离业务群组IP多播地址(ProSe group IP multicast address)和近距离通讯的无线资源,无线资源包括频谱带宽等参数。在配置完成后,通讯的发送终端选择合适的无线资源发起一对多的近距离业务通讯,发送终端通过将近距离业务二层组标识作为目的二层标识(destination layer-2ID)向上述IP多播地址发送IP数据。同时,通讯的接收终端收听上述无线资源来接收一对多的多播IP数据,实现近距离通讯业务。In the one-to-many communication process of the short-distance communication service in the prior art, firstly, the short-distance service function entity (ProSe function) provides the sending terminal and the receiving terminal of the short-distance service with the group ID, the second-layer of the short-distance service Group identification (ProSe layer-2 group ID), ProSe group IP multicast address (ProSe group IP multicast address) and wireless resources for short-distance communication, including parameters such as spectrum bandwidth. After the configuration is completed, the sending terminal of the communication selects an appropriate wireless resource to initiate a one-to-many short-distance service communication, and the sending terminal multicasts to the above-mentioned IP by using the short-distance service layer-2 group identifier as the destination layer-2ID Address to send IP data. At the same time, the receiving terminal of the communication listens to the wireless resources to receive one-to-many multicast IP data, thereby realizing short-distance communication services.
但是,现有技术仅提供了近距离业务的实现方法,但并未提供近距离业务的计费方法,因此现有技术函待改进。However, the prior art only provides a method for realizing the short-distance service, but does not provide a charging method for the short-distance service, so the prior art needs to be improved.
发明内容Contents of the invention
本发明实施例提供了一种实现近距离业务通讯的计费的方法、系统和相关设备。Embodiments of the present invention provide a method, system and related equipment for realizing charging of short-distance service communication.
第一方面,本发明实施例提供一种近距离业务计费方法,包括:In a first aspect, an embodiment of the present invention provides a charging method for short-distance services, including:
接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识;Receive a report message from a sending terminal and a report message from a receiving terminal in short-distance service communication, where the report message carries a usage record of the sending terminal or receiving terminal in the communication and an associated identifier of the communication;
根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录;Associating the use records of the sending terminal and the use records of the receiving terminal in this communication according to the association identifier;
核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息;Checking the usage record of the associated sending terminal and the usage record of the receiving terminal to determine the billing information for this communication;
根据确定的计费信息对所述发送终端和/或接收终端进行计费。Charge the sending terminal and/or the receiving terminal according to the determined charging information.
结合第一方面,在第一种可能的实现方式中,所述核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息包括:With reference to the first aspect, in a first possible implementation manner, the checking of the usage record of the associated sending terminal and the usage record of the receiving terminal, and determining the billing information of this communication includes:
核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致;Checking whether the usage record of the associated sending terminal is consistent with the usage record of the receiving terminal;
若所述发送终端和接收终端的使用记录一致,则确定本次通讯的计费信息为发送终端或接收终端的使用记录。If the usage records of the sending terminal and the receiving terminal are consistent, it is determined that the billing information of this communication is the usage record of the sending terminal or the receiving terminal.
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述方法还包括:With reference to the first possible implementation of the first aspect, in a second possible implementation, the method further includes:
若所述发送终端和接收终端的使用记录不一致,则确定本次通讯的计费信息为发送终端的使用记录,或者确定本次通讯的计费信息为发送终端的使用记录和接收终端的使用记录中使用量较大的使用记录。If the usage records of the sending terminal and the receiving terminal are inconsistent, then determine that the billing information of this communication is the usage record of the sending terminal, or determine that the billing information of this communication is the usage record of the sending terminal and the usage record of the receiving terminal Use records with a large amount of usage.
结合第一方面、第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在第三种可能的实现方式中,上述使用记录包括近距离业务使用时长、使用次数、使用流量中的至少一种。In combination with the first aspect, the first possible implementation of the first aspect, or the second possible implementation of the first aspect, in the third possible implementation, the above usage records include the duration of short-distance service usage, usage At least one of the number of times and traffic used.
结合第一方面、第一方面的第一种可能的实现方式、第一方面的第二种可能的实现方式、第一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述根据关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录具体包括:In combination with the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, and the third possible implementation of the first aspect, in the fourth possible implementation , the association of the use record of the sending terminal and the use record of the receiving terminal in this communication according to the association identifier specifically includes:
获取发送终端和接收终端的使用记录中上报时间早于或等于预设截止时间的使用记录;Obtain the use records of the use records of the sending terminal and the receiving terminal whose reporting time is earlier than or equal to the preset cut-off time;
根据所述关联标识关联本次通讯中所述发送终端和接收终端的使用记录中所述上报时间早于或等于预设截止时间的使用记录。According to the association identifier, associating the usage records of the sending terminal and the receiving terminal in this communication with the reporting time earlier than or equal to the preset cut-off time.
第二方面,本发明实施例提供一种业务通讯的计费方法,包括:In the second aspect, an embodiment of the present invention provides a charging method for business communication, including:
接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识;Receive a report message from a sending terminal and a report message from a receiving terminal in short-distance service communication, where the report message carries a usage record of the sending terminal or receiving terminal in the communication and an associated identifier of the communication;
根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录;Associating the use records of the sending terminal and the use records of the receiving terminal in this communication according to the association identifier;
核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息;Checking the usage record of the associated sending terminal and the usage record of the receiving terminal to determine the billing information for this communication;
根据确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费。Requesting the offline charging system to charge the sending terminal and/or the receiving terminal according to the determined charging information.
结合第二方面,在第一种可能的实现方式中,所述根据确定的计费信息请求对所述发送终端和/或接收终端进行计费包括:With reference to the second aspect, in a first possible implementation manner, the requesting to charge the sending terminal and/or the receiving terminal according to the determined charging information includes:
根据确定的计费信息生成计费数据记录;Generate charging data records according to the determined charging information;
向OFCS发送所述计费数据记录。Send the charging data record to OFCS.
结合第二方面、第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述方法还包括:With reference to the second aspect and the first possible implementation manner of the second aspect, in the second possible implementation manner, the method further includes:
向所述接收终端对应的近距离业务功能实体发送核对后确定的计费信息。Sending the checked and determined charging information to the short-distance service function entity corresponding to the receiving terminal.
第三方面,本发明实施例还提供一种近距离业务通讯的计费方法,包括:In the third aspect, the embodiment of the present invention also provides a charging method for short-distance business communication, including:
近距离业务通讯的终端获取近距离业务通讯的关联标识和上报条件;The terminal of the short-distance business communication obtains the associated identification and reporting conditions of the short-distance business communication;
在所述上报条件满足时,所述近距离业务通讯的终端发送上报消息到近距离业务功能实体,所述上报消息中携带所述终端在所述通讯中的使用记录和所述通讯的关联标识。When the reporting condition is satisfied, the terminal of the short-distance service communication sends a reporting message to the short-distance service function entity, and the reporting message carries the use record of the terminal in the communication and the association identifier of the communication .
结合第三方面,在第一种可能的实现方式中,所述近距离业务通讯的终端获取近距离业务的关联标识和上报条件包括:With reference to the third aspect, in a first possible implementation manner, the terminal of the short-distance service communication obtains the association identifier and the reporting condition of the short-distance service include:
近距离业务通讯发送终端生成近距离业务的关联标识和上报条件。The short-distance service communication sending terminal generates an association identifier and a reporting condition of the short-distance service.
结合第三方面、第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述上报条件包括:In combination with the third aspect and the first possible implementation of the third aspect, in the second possible implementation, the reporting conditions include:
预设间隔上报、在预设时间内上报、在用户每次使用所述近距离业务后上报或者在用户设备返回公共陆地移动网络时一次性上报中的至少一种。At least one of reporting at a preset interval, reporting within a preset time, reporting after each use of the short-distance service by the user, or reporting once when the user equipment returns to the public land mobile network.
结合第三方面、第三方面的第一种可能的实现方式或第三方面的第二种可能的实现方式,在第三种可能的实现方式中,所述关联标识包括通讯标识、IP数据发送时间和IP数据接收时间、应用类型、通讯业务类型、上报序列号、群组标识中的至少一种。In combination with the third aspect, the first possible implementation of the third aspect, or the second possible implementation of the third aspect, in the third possible implementation, the association identifier includes a communication identifier, an IP data transmission At least one of time and IP data receiving time, application type, communication service type, reporting sequence number, and group identification.
第四方面,本发明实施例还提供一种离线计费系统,包括:In a fourth aspect, the embodiment of the present invention also provides an offline charging system, including:
上报接收单元,用于接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识;The report receiving unit is used to receive the report message of the sending terminal and the report message of the receiving terminal in the short-distance business communication, and the report message carries the use record of the sending terminal or the receiving terminal in the communication and the communication information of the sending terminal or the receiving terminal. association identification;
第一关联单元,用于根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录;The first associating unit is configured to associate the use records of the sending terminal and the use records of the receiving terminal in this communication according to the association identifier;
第一核对单元,用于核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息;The first checking unit is used to check the usage record of the associated sending terminal and the usage record of the receiving terminal, and determine the billing information of this communication;
计费单元,用于根据确定的计费信息对所述发送终端和/或接收终端进行计费。The charging unit is configured to charge the sending terminal and/or the receiving terminal according to the determined charging information.
结合第四方面,在第一种可能的实现方式中,所述第一核对单元包括:With reference to the fourth aspect, in a first possible implementation manner, the first checking unit includes:
核对模块,用于核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致;A checking module, configured to check whether the usage record of the associated sending terminal is consistent with the usage record of the receiving terminal;
计费信息确定模块,用于在所述发送终端和接收终端的使用记录一致时,确定本次通讯的计费信息为发送终端或接收终端的使用记录。The billing information determination module is configured to determine that the billing information of this communication is the usage record of the sending terminal or the receiving terminal when the usage records of the sending terminal and the receiving terminal are consistent.
结合第四方面的第一种可能的实现方式,在第二种可能的实现方式中,In combination with the first possible implementation of the fourth aspect, in the second possible implementation,
所述计费信息确定模块还用于在所述发送终端和接收终端的使用记录不一致时,则确定本次通讯的计费信息为发送终端的使用记录,或者确定本次通讯的计费信息为发送终端的使用记录和接收终端的使用记录中使用量较大的使用记录。The billing information determining module is also used to determine that the billing information of this communication is the usage record of the sending terminal when the usage records of the sending terminal and the receiving terminal are inconsistent, or determine that the billing information of this communication is Among the use records of the sending terminal and the use records of the receiving terminal, the use record with a large amount of use is used.
结合第四方面、第四方面的第一种可能的实现方式或第四方面的第二种可能的实现方式,在第三种可能的实现方式中,In combination with the fourth aspect, the first possible implementation of the fourth aspect, or the second possible implementation of the fourth aspect, in the third possible implementation,
所述使用记录包括近距离业务使用时长、使用次数、使用流量中的至少一种。The use record includes at least one of the short-distance service use duration, use times, and use traffic.
结合第四方面、第四方面的第一种可能的实现方式、第四方面的第二种可能的实现方式或第四方面的第三种可能的实现方式,在第四种可能的实现方式中,In combination with the fourth aspect, the first possible implementation of the fourth aspect, the second possible implementation of the fourth aspect, or the third possible implementation of the fourth aspect, in the fourth possible implementation ,
所述第一关联单元包括:The first association unit includes:
记录获取模块,用于获取发送终端和接收终端的使用记录中上报时间早于或等于预设截止时间的使用记录;The record obtaining module is used to obtain the use records whose reporting time is earlier than or equal to the preset cut-off time among the use records of the sending terminal and the receiving terminal;
关联模块,用于根据所述关联标识关联本次通讯中所述发送终端和接收终端的使用记录中所述上报时间早于或等于预设截止时间的使用记录。An associating module, configured to associate the usage records of the sending terminal and the receiving terminal in this communication with the usage records whose reporting time is earlier than or equal to the preset cut-off time according to the association identifier.
第五方面,本发明实施例提供一种近距离业务功能实体,包括:In a fifth aspect, an embodiment of the present invention provides a short-distance service functional entity, including:
消息接收单元,用于接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识;A message receiving unit, configured to receive a report message from a sending terminal and a report message from a receiving terminal in short-distance business communication, where the report message carries the usage records of the sending terminal or the receiving terminal in the communication and the information of the communication association identification;
第二关联单元,用于根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录;The second associating unit is configured to associate the use record of the sending terminal and the use record of the receiving terminal in this communication according to the association identifier;
第二核对单元,用于核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息;The second checking unit is used to check the usage record of the associated sending terminal and the usage record of the receiving terminal, and determine the billing information of this communication;
计费请求单元,用于根据确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费。The charging request unit is configured to request the offline charging system to charge the sending terminal and/or the receiving terminal according to the determined charging information.
结合第五方面,在第一种可能的实现方式中,所述计费请求单元包括:With reference to the fifth aspect, in a first possible implementation manner, the charging request unit includes:
记录生成模块,用于根据确定的计费信息生成计费数据记录;A record generating module, configured to generate charging data records according to the determined charging information;
记录发送模块,用于向OFCS发送所述计费数据记录。A record sending module, configured to send the charging data record to OFCS.
结合第五方面、第五方面的第一种可能的实现方式,在第二种可能的实现方式中,所述近距离业务功能实体还包括:With reference to the fifth aspect and the first possible implementation manner of the fifth aspect, in the second possible implementation manner, the short-distance service function entity further includes:
计费信息发送单元,用于向所述接收终端对应的近距离业务功能实体发送核对后确定的计费信息。The charging information sending unit is configured to send the checked and determined charging information to the short-distance service function entity corresponding to the receiving terminal.
第六方面,本发明实施例提供一种近距离业务通讯的终端,其包括:In a sixth aspect, an embodiment of the present invention provides a short-distance business communication terminal, which includes:
获取单元,用于获取近距离业务通讯的关联标识和上报条件;An acquisition unit, configured to acquire the associated identification and reporting conditions of the short-distance business communication;
上报单元,用于在所述上报条件满足时,发送上报消息到近距离业务功能实体,所述上报消息中携带所述终端在所述通讯中的使用记录和所述通讯的关联标识。The reporting unit is configured to send a reporting message to the short-distance service functional entity when the reporting condition is satisfied, the reporting message carrying the usage record of the terminal in the communication and the communication association identifier.
结合第六方面,在第一种可能的实现方式中,所述获取单元获取近距离业务的关联标识和上报条件包括:With reference to the sixth aspect, in a first possible implementation manner, the obtaining by the obtaining unit of the association identifier and reporting condition of the short-distance service includes:
所述获取单元生成近距离业务的关联标识和上报条件。The obtaining unit generates an association identifier and a reporting condition of the short-distance service.
结合第六方面、第六方面的第一种可能的实现方式,在第二种可能的实现方式中,所述终端还包括:With reference to the sixth aspect and the first possible implementation manner of the sixth aspect, in a second possible implementation manner, the terminal further includes:
数据发送单元,用于在所述终端作为近距离业务通讯的发送终端时,通过IP数据向近距离业务通讯的接收终端发送所述关联标识和上报条件。The data sending unit is configured to send the association identifier and the reporting condition to the receiving terminal of the short-distance business communication through IP data when the terminal is used as the sending terminal of the short-distance business communication.
结合第六方面、第六方面的第一种可能的实现方式或第六方面的第二种可能的实现方式,在第三种可能的实现方式中,所述上报条件包括:In combination with the sixth aspect, the first possible implementation of the sixth aspect, or the second possible implementation of the sixth aspect, in the third possible implementation, the reporting conditions include:
预设间隔上报、在预设时间内上报、在用户每次使用所述近距离业务后上报或者在用户设备返回公共陆地移动网络时一次性上报中的至少一种。At least one of reporting at a preset interval, reporting within a preset time, reporting after each use of the short-distance service by the user, or reporting once when the user equipment returns to the public land mobile network.
结合第六方面、第六方面的第一种可能的实现方式、第六方面的第二种可能的实现方式或第六方面的第三种可能的实现方式,在第四种可能的实现方式中,In combination with the sixth aspect, the first possible implementation of the sixth aspect, the second possible implementation of the sixth aspect, or the third possible implementation of the sixth aspect, in the fourth possible implementation ,
所述关联标识包括通讯标识、IP数据发送时间和IP数据接收时间、应用类型、通讯业务类型、上报序列号、群组标识中的至少一种。The association identifier includes at least one of communication identifier, IP data sending time and IP data receiving time, application type, communication service type, reporting sequence number, and group identifier.
第七方面,本发明实施例提供一种近距离业务通讯的计费系统,其包括如第四方面所述的离线计费系统以及近距离业务功能实体,In a seventh aspect, an embodiment of the present invention provides a billing system for short-distance business communication, which includes the offline billing system as described in the fourth aspect and a short-distance business functional entity,
所述近距离业务功能实体用于接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,向离线计费系统发送所述发送终端的上报消息和接收终端的上报消息。The short-distance service function entity is used to receive the reporting message of the sending terminal and the reporting message of the receiving terminal in the short-distance service communication, and send the reporting message of the sending terminal and the reporting message of the receiving terminal to the offline charging system.
第八方面,本发明实施例提供一种近距离业务通讯的计费系统,其包括如第五方面所述的近距离业务功能实体以及离线计费系统,In an eighth aspect, an embodiment of the present invention provides a charging system for short-distance business communication, which includes the short-distance business functional entity and an offline charging system as described in the fifth aspect,
所述离线计费系统用于根据所述近距离业务功能实体的请求对所述发送终端和/或接收终端进行计费。The offline charging system is configured to charge the sending terminal and/or the receiving terminal according to the request of the short-distance service function entity.
在本发明实施例中,终端对应的近距离业务功能实体可以为…In the embodiment of the present invention, the short-distance service function entity corresponding to the terminal may be...
其中,通讯时间戳具体包括会话时间,IP数据包的发送或IP数据包的接收时间,消息上报时间等。Wherein, the communication time stamp specifically includes the session time, the sending time of the IP data packet or the receiving time of the IP data packet, the time of reporting the message, and the like.
在本发明实施例提供的计费方法中,离线计费系统接收通讯的发送终端和接收终端的近距离使用记录,根据使用记录中的关联标识核对所述发送终端和接收终端的使用记录是否一致,最后根据核对后确定的使用记录对所述发送终端和/或接收终端进行计费。与现有技术相比,本发明实施例提供的计费方法可以通过核对终端用户的近距离使用记录对用户进行计费,克服了现有技术中近距离业务通讯过程不经过网络服务提供商部署的网元而无法准确计费的技术缺陷,满足了网络服务提供商对用户进行精确计费的需求。In the billing method provided by the embodiment of the present invention, the offline billing system receives the short-distance usage records of the sending terminal and the receiving terminal of the communication, and checks whether the usage records of the sending terminal and the receiving terminal are consistent according to the associated identifier in the usage records , and finally charge the sending terminal and/or the receiving terminal according to the usage record determined after checking. Compared with the prior art, the billing method provided by the embodiment of the present invention can bill the user by checking the short-distance usage record of the terminal user, which overcomes the problem that the short-distance business communication process in the prior art does not go through the deployment of the network service provider. The technical defect of being unable to charge accurately due to network elements, satisfies the needs of network service providers for accurate charging of users.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。其中:In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort. in:
图1是本发明实施例中近距离业务通讯的系统架构图;FIG. 1 is a system architecture diagram of short-distance business communication in an embodiment of the present invention;
图2是本发明实施例一提供的近距离业务通讯的计费方法的流程图;FIG. 2 is a flow chart of a billing method for short-distance service communication provided by Embodiment 1 of the present invention;
图3是本发明实施例二提供的近距离业务通讯的计费方法的流程图;FIG. 3 is a flow chart of the billing method for short-distance service communication provided by Embodiment 2 of the present invention;
图4是本发明实施例三提供的近距离业务通讯的计费方法的流程图;FIG. 4 is a flow chart of the billing method for short-distance service communication provided by Embodiment 3 of the present invention;
图5是本发明实施例四提供的近距离业务通讯的计费方法的流程图;FIG. 5 is a flow chart of the billing method for short-distance service communication provided by Embodiment 4 of the present invention;
图6是本发明实施例五提供的近距离业务通讯的计费方法的流程图;FIG. 6 is a flow chart of the charging method for short-distance service communication provided by Embodiment 5 of the present invention;
图7是本发明实施例五提供的近距离业务通讯的计费方法中一种近距离通讯的方法流程图;7 is a flow chart of a short-distance communication method in the short-distance business communication charging method provided by Embodiment 5 of the present invention;
图8是本发明实施例五提供的近距离业务通讯的计费方法中另一种近距离通讯的流程图;FIG. 8 is a flowchart of another short-distance communication in the short-distance business communication charging method provided by Embodiment 5 of the present invention;
图9是本发明实施例五提供的近距离业务通讯的计费方法的流程图;FIG. 9 is a flow chart of a charging method for short-distance service communication provided by Embodiment 5 of the present invention;
图10是本发明实施例六提供的近距离业务的计费方法的流程图;FIG. 10 is a flow chart of a charging method for short-distance services provided by Embodiment 6 of the present invention;
图11是本发明实施例七提供的离线计费系统的示意图;FIG. 11 is a schematic diagram of an offline charging system provided by Embodiment 7 of the present invention;
图12是本发明实施例七提供的离线计费系统中第一核对单元的示意图;Fig. 12 is a schematic diagram of a first checking unit in the offline charging system provided by Embodiment 7 of the present invention;
图13是本发明实施例七提供的离线计费系统中第一关联单元的示意图Fig. 13 is a schematic diagram of the first association unit in the offline charging system provided by Embodiment 7 of the present invention
图14是本发明实施例八提供的近距离业务功能实体的示意图;FIG. 14 is a schematic diagram of a short-distance service functional entity provided by Embodiment 8 of the present invention;
图15是本发明实施例八提供的近距离业务功能实体中计费请求单元的示意图;FIG. 15 is a schematic diagram of a charging request unit in a short-distance service functional entity provided by Embodiment 8 of the present invention;
图16是本发明实施例九提供的近距离业务通讯的终端的示意图;FIG. 16 is a schematic diagram of a short-distance service communication terminal provided by Embodiment 9 of the present invention;
图17是本发明实施例十提供的离线计费系统的示意图;FIG. 17 is a schematic diagram of an offline charging system provided by Embodiment 10 of the present invention;
图18是本发明实施例十一提供的近距离业务功能实体的示意图;FIG. 18 is a schematic diagram of a short-distance service functional entity provided by Embodiment 11 of the present invention;
图19是本发明实施例十二提供的近距离业务通讯的终端的示意图;FIG. 19 is a schematic diagram of a short-distance service communication terminal provided by Embodiment 12 of the present invention;
图20是本发明实施例十三提供的近距离业务通讯的计费系统的示意图;FIG. 20 is a schematic diagram of a billing system for short-distance service communication provided by Embodiment 13 of the present invention;
图21是本发明实施例十四提供的近距离业务通讯的计费系统的示意图。FIG. 21 is a schematic diagram of a billing system for short-distance service communication provided by Embodiment 14 of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性的劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明提供一种业务计费方法、系统及相关设备,参见图1,图1是本发明实施例中近距离业务通讯的系统架构图。The present invention provides a service charging method, system and related equipment, see FIG. 1 , which is a system architecture diagram of short-distance service communication in an embodiment of the present invention.
如图所示,用户设备UE之间通过PC5连接,UE A与UE B接入演进的UMTS陆地无线接入网(E-UTRAN),网络侧的设备包括移动性管理实体(Mobility Management Entity,MME)、S/PGW、SLP、归属用户服务器(Home Subscriber Server,HSS)以及ProSe Function。ProSeFunction是属于运营商部署的管理近距离业务的逻辑功能实体,计费实体(可以为离线计费系统)的地址配置在ProSe Function,ProSe Function负责与计费实体的交互,可以收集UE的上报消息。As shown in the figure, user equipment UEs are connected through PC5, UE A and UE B access the evolved UMTS terrestrial radio access network (E-UTRAN), and the equipment on the network side includes a mobility management entity (Mobility Management Entity, MME ), S/PGW, SLP, Home Subscriber Server (HSS) and ProSe Function. ProSeFunction is a logical functional entity deployed by operators to manage short-distance services. The address of the billing entity (which can be an offline billing system) is configured in ProSe Function. ProSe Function is responsible for interacting with the billing entity and can collect UE reporting messages. .
UE A与UE B上安装了近距离业务应用(ProSe application),近距离应用连接到近距离业务应用服务器(ProSe application server)。The ProSe application is installed on UE A and UE B, and the ProSe application is connected to the ProSe application server.
如图2所示,本实施例所揭示的业务计费方法包括:As shown in Figure 2, the service charging method disclosed in this embodiment includes:
步骤110、近距离业务功能实体接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识。Step 110, the short-distance service functional entity receives the reporting message of the sending terminal and the reporting message of the receiving terminal in the short-distance service communication, and the reporting message carries the use record of the sending terminal or the receiving terminal in the communication and the communication information of the sending terminal or the receiving terminal. Association ID.
具体的,发送终端对应的近距离业务功能实体可以接收近距离业务通讯的发送终端发送的上报消息,接收终端对应的近距离业务功能实体可以接收通讯的接收终端发送的上报消息。发送终端的上报消息中携带发送终端在所述通讯中的使用记录和所述通讯的关联标识。接收终端的上报消息中携带所述接收终端在所述通讯中的使用记录和所述通讯的关联标识。Specifically, the short-distance service functional entity corresponding to the sending terminal can receive the report message sent by the short-distance service communication sending terminal, and the short-distance service functional entity corresponding to the receiving terminal can receive the report message sent by the communication receiving terminal. The report message of the sending terminal carries the use record of the sending terminal in the communication and the association identifier of the communication. The report message of the receiving terminal carries the use record of the receiving terminal in the communication and the association identifier of the communication.
需要指出的是,发送终端对应的近距离业务功能实体可以为发送终端归属地的或拜访地的或本地的近距离业务功能实体。一般情况下,发送终端对应的近距离业务功能实体是归属地的近距离业务功能实体;It should be pointed out that the short-distance service function entity corresponding to the sending terminal may be a short-distance service function entity at the home location, the visiting location, or the local location of the sending terminal. In general, the short-distance service functional entity corresponding to the sending terminal is the short-distance service functional entity at the home location;
如果发送终端在非漫游状态下,使用了非归属地公用陆地移动网络(Home Public Land Mobile Network,VPLMN)以外的其他公用陆地移动网络(PLMN,Public Land Mobile Network)的资源,那么对应的近距离业务功能实体就是非归属PLMN的近距离业务功能实体,也就是本地的近距离业务功能实体;If the sending terminal uses resources of a public land mobile network (PLMN, Public Land Mobile Network) other than the home public land mobile network (Home Public Land Mobile Network, VPLMN) in the non-roaming state, then the corresponding short-distance The service function entity is the short-range service function entity of the non-home PLMN, that is, the local short-distance service function entity;
如果发送终端在漫游状态下,使用了漫游地PLMN的资源,则其对应的的近距离业务功能实体就是漫游地的近距离业务功能实体,也就是拜访地的近距离业务功能实体。相同的场景也适用于接收终端。If the sending terminal uses the resources of the roaming PLMN in the roaming state, the corresponding short distance service functional entity is the short distance service functional entity of the roaming place, that is, the short distance service functional entity of the visited place. The same scenario also applies to the receiving terminal.
其中,使用记录包括近距离业务使用时长、使用次数、使用流量中的至少一种,关联标识用于关联本次近距离业务通讯。此外,使用记录还包括:用于标识终端的终端标识、标识使用网络服务的用户标识以及用于区分发送终端和接收终端类型的标识中的一种或几种,以便于对使用网络服务的用户进行计费。Wherein, the use record includes at least one of the short-distance business usage time, the number of times of use, and the usage traffic, and the association identifier is used to associate this short-distance business communication. In addition, the use record also includes: one or more of the terminal identification used to identify the terminal, the user identification used to identify the network service, and the identification used to distinguish the type of the sending terminal from the receiving terminal, so as to facilitate the identification of users who use the network service for billing.
上报消息是终端发送关联标识和使用记录的载体之一,本领域普通技术人员可以根据实际需要使用其他的消息来发送上述关联标识和使用记录,上述关联标识和使用记录还可以单独发送给近距离业务功能实体。The reporting message is one of the carriers for the terminal to send the association identification and usage records. Those skilled in the art can use other messages to send the above association identification and usage records according to actual needs. The above association identification and usage records can also be sent separately to short-distance Business Functional Entity.
步骤120、近距离业务功能实体发送接收到的上报消息到离线计费系统。Step 120, the short distance service function entity sends the received reporting message to the offline charging system.
具体的,发送终端对应的近距离业务功能实体发送接收到的上报消息到发送终端归属地的离线计费系统(Offline Charge System,OFCS)。Specifically, the short-distance service function entity corresponding to the sending terminal sends the received report message to the offline charging system (Offline Charge System, OFCS) at the home of the sending terminal.
接收终端对应的近距离业务功能实体可以发送接收到的上报消息到接收终端归属地的离线计费系统,进而接收终端归属地的离线计费系统将接收到的上报消息发送给发送终端归属地的离线计费系统。此外,接收终端对应的近距离业务功能实体也可以发送接收到的上报消息到发送终端对应的近距离业务功能实体,进而由发送终端对应的近距离业务功能实体发送接收到的上报消息到发送终端归属地的离线计费系统。The short-distance service functional entity corresponding to the receiving terminal can send the received reporting message to the offline charging system at the receiving terminal's home, and then the receiving terminal's home offline charging system sends the received reporting message to the sending terminal's home Offline billing system. In addition, the short-distance service functional entity corresponding to the receiving terminal may also send the received reporting message to the short-distance service functional entity corresponding to the sending terminal, and then the short-distance service functional entity corresponding to the sending terminal sends the received reporting message to the sending terminal Offline billing system at the home location.
步骤130、离线计费系统接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识。Step 130, the offline billing system receives the reporting message of the sending terminal and the reporting message of the receiving terminal in the short-distance business communication, and the reporting message carries the use record of the sending terminal or the receiving terminal in the communication and the communication associated ID.
其中,发送终端归属地的离线计费系统接收的发送终端的上报消息可以来自发送终端归属地的近距离业务功能实体,发送终端归属地的离线计费系统接收的接收终端的上报消息可以来自接收终端归属地的近距离业务功能实体,也可以来自接收终端归属地或拜访地或本地的离线计费系统,还可以来自发送终端归属地的近距离业务功能实体。Wherein, the report message of the sending terminal received by the offline charging system at the place where the sending terminal belongs may come from the short-distance service function entity at the place where the sending terminal belongs, and the report message of the receiving terminal received by the offline charging system at the place where the sending terminal belongs may come from the receiving terminal The near-distance service functional entity at the home location of the terminal may also come from the home or visiting location of the receiving terminal or the local offline charging system, or it may also come from the short-distance service functional entity at the home location of the sending terminal.
在另一种实施方式中,接收终端归属地的离线计费系统接收的接收终端的上报消息可以来自接收终端归属地的近距离业务功能实体,接收终端归属地的离线计费系统接收的发送终端的上报消息可以来自发送终端归属地的近距离业务功能实体,也可以来自发送终端归属地或拜访地或本地的离线计费系统,还可以来自接收终端归属地的近距离业务功能实体。In another embodiment, the reporting message of the receiving terminal received by the offline charging system at the receiving terminal's home location may come from the short-distance service function entity at the receiving terminal's home location, and the sending terminal's reporting message received by the offline charging system at the receiving terminal's home location The reporting message can come from the short-distance service functional entity at the home of the sending terminal, or from the home or visited place of the sending terminal or the local offline charging system, or from the short-distance service functional entity at the home of the receiving terminal.
步骤140、离线计费系统根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录。Step 140, the offline charging system correlates the use record of the sending terminal with the use record of the receiving terminal in this communication according to the association identifier.
其中,离线计费系统可以根据关联标识关联本次通讯中近距离业务发送终端的使用记录和接收终端的使用记录,通过关联标识建立发送终端的使用记录和接收终端的使用记录之间的对应关系。Among them, the offline billing system can associate the use record of the short-distance service sending terminal and the use record of the receiving terminal in this communication according to the association identifier, and establish the corresponding relationship between the use record of the sending terminal and the use record of the receiving terminal through the association identifier .
步骤150、离线计费系统核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息。Step 150 , the offline charging system checks the usage record of the associated sending terminal and the usage record of the receiving terminal, and determines the charging information of this communication.
具体的,离线计费系统核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致,根据核对结果确定本次通讯的计费信息。Specifically, the offline charging system checks whether the usage record of the associated sending terminal is consistent with the usage record of the receiving terminal, and determines the charging information of this communication according to the checking result.
其中,本次通讯的计费信息可以包括本次通讯核对确定的使用记录。Wherein, the billing information of this communication may include the usage record determined by checking this communication.
步骤160、离线计费系统根据确定的计费信息对所述发送终端和/或接收终端进行计费。Step 160, the offline charging system charges the sending terminal and/or the receiving terminal according to the determined charging information.
其中,发送终端或接收终端归属地的离线计费系统根据核对后确定的计费信息以及近距离业务计费策略对所述发送终端或接收终端一方或双方进行计费。Wherein, the offline billing system at the home of the sending terminal or the receiving terminal charges one or both of the sending terminal or the receiving terminal according to the billing information determined after checking and the short distance service charging policy.
需要指出的是,本发明实施例中对发送终端或接收终端进行计费的实质在于对发送终端的用户或接收终端的用户进行计费。It should be pointed out that the essence of charging the sending terminal or the receiving terminal in the embodiment of the present invention is to charge the user of the sending terminal or the user of the receiving terminal.
在本发明实施例提供的计费方法中,离线计费系统接收通讯的发送终端和接收终端的上报消息,根据上报消息中的关联标识核对所述发送终端和接收终端的使用记录,根据核对后确定的计费信息对所述发送终端和/或接收终端进行计费。与现有技术相比,本发明实施例提供的计费方法可以通过关联并核对发送终端与接收终端的近距离使用记录对终端进行准确计费,克服了现有技术中近距离业务通讯不经过网络服务提供商部署的网元而无法准确计费的技术缺陷,满足了网络服务提供商对终端用户进行准确计费的需求。In the billing method provided by the embodiment of the present invention, the offline billing system receives the report message of the sending terminal and the receiving terminal of the communication, checks the use records of the sending terminal and the receiving terminal according to the association identifier in the report message, and checks the usage records of the sending terminal and the receiving terminal according to the checked The determined charging information charges the sending terminal and/or the receiving terminal. Compared with the prior art, the billing method provided by the embodiment of the present invention can accurately bill the terminal by associating and checking the short-distance usage records of the sending terminal and the receiving terminal, which overcomes the problem that the short-distance business communication in the prior art does not go through The technical defect that network elements deployed by network service providers cannot be billed accurately satisfies the needs of network service providers for accurate billing of end users.
参见图3,图3是本发明实施例二提供的近距离业务通讯的计费方法的流程图。Referring to FIG. 3 , FIG. 3 is a flowchart of a charging method for short-distance service communication provided by Embodiment 2 of the present invention.
如图所示,本发明实施例二提供的近距离业务通讯的计费方法主要包括以下步骤:As shown in the figure, the billing method for short-distance service communication provided by Embodiment 2 of the present invention mainly includes the following steps:
步骤210、离线计费系统接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识。Step 210, the offline billing system receives the reporting message of the sending terminal and the reporting message of the receiving terminal in the short-distance business communication, and the reporting message carries the use record of the sending terminal or the receiving terminal in the communication and the communication associated ID.
其中,步骤210的执行过程和上述实施例一中的步骤130的执行过程相同,详情参见上述实施例一的描述。Wherein, the execution process of step 210 is the same as the execution process of step 130 in the first embodiment above, and for details, refer to the description of the first embodiment above.
步骤220、离线计费系统根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录。Step 220, the offline charging system associates the use record of the sending terminal with the use record of the receiving terminal in this communication according to the association identifier.
在本实施中,上述关联标识包括通讯会话标识、通讯时间戳、应用类型、通讯业务类型、上报序列号、群组标识中的一种或几种的组合。其中,应用类型为使用近距离业务的应用程序的类型。通讯业务类型包括one-to-one,one-to-many等。上报序列号用于标识上报消息。群组标识用于标识one-to-many时建立的群组。In this implementation, the association identifier includes one or a combination of a communication session identifier, a communication timestamp, an application type, a communication service type, a reporting sequence number, and a group identifier. Wherein, the application type is the type of the application program using the proximity service. Communication business types include one-to-one, one-to-many, etc. The reporting sequence number is used to identify the reporting message. The group ID is used to identify the group created during one-to-many.
对应的,上述步骤220在具体实现时可以为:Correspondingly, the above step 220 may be implemented as:
离线计费系统关联具有相同通讯标识、通讯时间戳、应用类型、通讯业务类型、上报序列号或群组标识的近距离业务发送终端的使用记录和接收终端的使用记录。The offline billing system associates the use records of the short-distance service sending terminal and the use record of the receiving terminal with the same communication ID, communication time stamp, application type, communication service type, reported serial number or group ID.
其中,通讯时间戳具体包括会话时间,IP数据包的发送或IP数据包的接收时间,消息上报时间等。Wherein, the communication time stamp specifically includes the session time, the sending time of the IP data packet or the receiving time of the IP data packet, the time of reporting the message, and the like.
在本实施例中,上述核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息的步骤(实施例一中的步骤150)具体包括步骤230-250。In this embodiment, the step of checking the usage record of the associated sending terminal and the usage record of the receiving terminal to determine the billing information of this communication (step 150 in Embodiment 1) specifically includes steps 230-250 .
步骤230、离线计费系统核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致。Step 230, the offline charging system checks whether the usage record of the associated sending terminal is consistent with the usage record of the receiving terminal.
具体的,离线计费系统核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致,若使用记录一致,则执行步骤240。若使用记录不一致,则执行步骤250。Specifically, the offline charging system checks whether the usage record of the associated sending terminal is consistent with the usage record of the receiving terminal, and if the usage records are consistent, step 240 is performed. If the usage records are inconsistent, go to step 250 .
步骤240、离线计费系统确定本次通讯的计费信息为发送终端或接收终端的使用记录。Step 240, the offline charging system determines that the charging information of this communication is the usage record of the sending terminal or the receiving terminal.
在本实施例中,若相关联的发送终端的使用记录与所述接收终端的使用记录一致,例如发送终端的使用记录与所述接收终端的使用记录相同或误差在允许范围内,则说明发送终端和接收终端的使用记录均真实有效,此时离线计费系统确定本次通讯的计费信息为发送终端或接收终端的使用记录。In this embodiment, if the associated usage record of the sending terminal is consistent with the usage record of the receiving terminal, for example, the usage record of the sending terminal is the same as the usage record of the receiving terminal or the error is within the allowable range, it means that the sending The usage records of both the terminal and the receiving terminal are true and valid. At this time, the offline billing system determines that the billing information of this communication is the usage record of the sending terminal or the receiving terminal.
步骤250、离线计费系统确定本次通讯的计费信息为发送终端的使用记录,或者确定本次通讯的计费信息为发送终端的使用记录和接收终端的使用记录中使用量较大的使用记录。Step 250, the offline billing system determines that the billing information of this communication is the usage record of the sending terminal, or determines that the billing information of this communication is the usage record of the sending terminal and the usage record of the receiving terminal with a larger amount of usage. Record.
在本实施例中,若相关联的发送终端的使用记录与所述接收终端的使用记录不一致,例如发送终端的使用记录与所述接收终端的使用记录误差不在允许范围内,则说明发送终端或接收终端的使用记录不可信,此时离线计费系统确定本次通讯的计费信息为发送终端的使用记录,典型的例如在one-to-many的应用场景中。In this embodiment, if the associated use record of the sending terminal is inconsistent with the use record of the receiving terminal, for example, the error between the use record of the sending terminal and the use record of the receiving terminal is not within the allowable range, it means that the sending terminal or The usage record of the receiving terminal is untrustworthy. At this time, the offline billing system determines that the billing information of this communication is the usage record of the sending terminal, typically in a one-to-many application scenario.
此外,离线计费系统还可以确定本次通讯的计费信息为发送终端的使用记录和接收终端的使用记录中使用量较大的使用记录,典型的例如在one-to-many的应用场景中。In addition, the offline billing system can also determine that the billing information of this communication is the usage record with a larger usage volume among the usage records of the sending terminal and the usage records of the receiving terminal, typically in a one-to-many application scenario .
在本实施例中,离线计费系统还可以在核对相关联的发送终端的使用记录与所述接收终端的使用记录不一致的情况下,且判断通讯类型为one-to-many一对多时,将发送终端的使用记录确定为本次通讯的计费信息。In this embodiment, the offline charging system may also check that the usage record of the associated sending terminal is inconsistent with the usage record of the receiving terminal, and when it is judged that the communication type is one-to-many, the The use record of the sending terminal is determined as the billing information for this communication.
需要说明的是,本领域普通技术人员可以根据不同场景灵活选择上述两种确定计费信息的方法,而不限于上述给出的典型场景。It should be noted that those skilled in the art may flexibly select the above two methods for determining charging information according to different scenarios, and are not limited to the above-mentioned typical scenarios.
步骤260、离线计费系统根据确定的计费信息对所述发送终端和/或接收终端进行计费。Step 260, the offline charging system charges the sending terminal and/or the receiving terminal according to the determined charging information.
其中,步骤260的执行过程和上述实施例一中的步骤160的执行过程相同,详情参见上述实施例一的描述。Wherein, the execution process of step 260 is the same as the execution process of step 160 in the above-mentioned first embodiment. For details, refer to the description of the above-mentioned first embodiment.
在本发明实施例二提供的计费方法中,核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致,然后根据核对结果的不同情况,给出了不同的确定计费信息的方法,使得本发明实施例可以适应更多的应用场景,兼容性更好。In the billing method provided in Embodiment 2 of the present invention, it is checked whether the usage record of the associated sending terminal is consistent with the usage record of the receiving terminal, and then different definite billing information is given according to different situations of the check result The method enables the embodiment of the present invention to adapt to more application scenarios and has better compatibility.
参见图4,图4是本发明实施例三提供的近距离业务通讯的计费方法的流程图。Referring to FIG. 4 , FIG. 4 is a flowchart of a charging method for short-distance service communication provided by Embodiment 3 of the present invention.
如图所示,本发明实施例三提供的近距离业务通讯的计费方法主要包括以下步骤:As shown in the figure, the billing method for short-distance service communication provided by Embodiment 3 of the present invention mainly includes the following steps:
步骤310、离线计费系统接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识。Step 310, the offline billing system receives the reporting message of the sending terminal and the reporting message of the receiving terminal in the short-distance business communication, and the reporting message carries the use record of the sending terminal or the receiving terminal in the communication and the communication associated ID.
其中,上述步骤310的执行过程和上述实施例一中的步骤130的执行过程相同,详情参见上述实施例一的描述。Wherein, the execution process of the above step 310 is the same as the execution process of the step 130 in the above first embodiment, please refer to the description of the above first embodiment for details.
步骤320、离线计费系统获取发送终端和接收终端的使用记录中上报时间早于或等于预设截止时间的使用记录。Step 320, the offline charging system obtains the usage records of the sending terminal and the receiving terminal whose reporting time is earlier than or equal to the preset cut-off time.
其中,离线计费系统获取发送终端和接收终端的使用记录中上报时间早于或等于(包括网络延迟等因素的约等于)预设截止时间的使用记录,丢弃上报时间晚于预设截止时间的使用记录。Among them, the offline billing system obtains the usage records of the sending terminal and the receiving terminal whose reporting time is earlier than or equal to (including network delay and other factors approximately equal to) the preset cut-off time, and discards the usage records whose reporting time is later than the preset cut-off time. Use records.
步骤330、离线计费系统根据关联标识关联本次通讯中所述发送终端和接收终端的使用记录中所述上报时间早于或等于预设截止时间的使用记录。Step 330, the offline billing system associates the usage records of the sending terminal and the receiving terminal in this communication with the usage records whose reporting time is earlier than or equal to the preset cut-off time according to the association identifier.
在本实施中,没有关联所有的使用记录,而是根据关联标识关联本次通讯中所述发送终端和接收终端的使用记录中所述上报时间早于或等于预设截止时间的使用记录,排除了超期上报的使用记录。In this implementation, instead of associating all the usage records, the usage records whose reporting time is earlier than or equal to the preset cut-off time in the usage records of the sending terminal and the receiving terminal mentioned in this communication are related according to the association identifier, excluding Overdue reporting of usage records.
步骤340、离线计费系统核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息。Step 340 , the offline charging system checks the usage record of the associated sending terminal and the usage record of the receiving terminal, and determines the charging information of this communication.
步骤350、离线计费系统根据确定的计费信息对所述发送终端和/或接收终端进行计费。Step 350, the offline charging system charges the sending terminal and/or the receiving terminal according to the determined charging information.
上述步骤340-350的执行过程和上述实施例一中的步骤150-160的执行过程相同,详情参见上述实施例一的描述。The execution process of the above-mentioned steps 340-350 is the same as the execution process of the steps 150-160 in the above-mentioned first embodiment. For details, refer to the description of the above-mentioned first embodiment.
在本发明实施例三提供的计费方法中,离线计费系统在关联使用记录时仅关联了本次通讯中发送终端和接收终端的使用记录中上报时间早于或等于(包括网络延迟等因素的约等于)预设截止时间的使用记录,排除了超期上报的使用记录。本发明实施例避免了恶意篡改延期或拒绝上报的使用记录对计费的影响,提高了近距离计费的准确性、全面性和安全性。In the billing method provided in Embodiment 3 of the present invention, the offline billing system only correlates the usage records of the sending terminal and the receiving terminal in this communication when the reporting time is earlier than or equal to (including factors such as network delays) when associating the usage records. approximately equal to) the usage records of the preset cut-off time, excluding the usage records reported overdue. The embodiment of the present invention avoids the impact on billing caused by maliciously tampering with the usage records that are postponed or refused to report, and improves the accuracy, comprehensiveness and security of short-distance billing.
参见图5,图5是本发明实施例四提供的近距离业务通讯的计费方法的流程图。Referring to FIG. 5 , FIG. 5 is a flowchart of a charging method for short-distance service communication provided by Embodiment 4 of the present invention.
如图所示,本发明实施例提供的近距离业务通讯的计费方法主要包括以下步骤:As shown in the figure, the billing method for short-distance service communication provided by the embodiment of the present invention mainly includes the following steps:
步骤410、近距离业务通讯的终端获取近距离业务通讯的关联标识和上报条件。In step 410, the terminal of the short-distance business communication acquires the association identifier and the reporting condition of the short-distance business communication.
其中,近距离业务通讯的发送终端获取近距离业务通讯的关联标识和上报条件的方式包括生成近距离业务的关联标识和上报条件,通过IP数据发送生成的关联标识和上报条件到接收终端。具体的,发送终端通过广播或多播方式,例如MAC地址寻呼或者小区广播向近距离业务通讯的接收终端发送包含上述关联标识和上报条件的IP数据。Wherein, the method for the sending terminal of the short-distance business communication to obtain the association identifier and the reporting condition of the short-distance business communication includes generating the association identifier and the reporting condition of the proximity business, and sending the generated association identifier and the reporting condition to the receiving terminal through IP data. Specifically, the sending terminal sends the IP data including the above association identifier and reporting condition to the receiving terminal of the short distance service communication through broadcast or multicast, such as MAC address paging or cell broadcast.
对应的,近距离业务通讯的接收终端获取近距离业务通讯的关联标识和上报条件的方式包括:生成近距离业务的关联标识和上报条件以及接收近距离业务通讯的发送终端通过IP数据发送的关联标识和上报条件。上述两种方式可以同时存在于接收终端中。Correspondingly, the method for the receiving terminal of the short-distance business communication to obtain the association identification and reporting conditions of the short-distance business communication includes: generating the association identification and reporting conditions of the short-distance business communication and the association of sending terminals receiving the short-distance business communication through IP data. Identification and reporting conditions. The above two manners can exist in the receiving terminal at the same time.
在本实施中,上述关联标识包括通讯会话标识、IP数据发送时间和IP数据接收时间、应用类型、通讯业务类型、上报序列号、群组标识中的一种或几种的组合。其中,应用类型为使用近距离业务的应用程序的类型。通讯业务类型包括one-to-one,one-to-many等。上报序列号用于标识上报消息。群组标识用于标识one-to-many时建立的群组。In this implementation, the association identifier includes one or a combination of communication session identifier, IP data sending time and IP data receiving time, application type, communication service type, reporting sequence number, and group identifier. Wherein, the application type is the type of the application program using the proximity service. Communication business types include one-to-one, one-to-many, etc. The reporting sequence number is used to identify the reporting message. The group ID is used to identify the group created during one-to-many.
在本实施例中,上述上报条件包括预设间隔上报、在预设时间内上报、在用户每次使用所述近距离业务后上报或者在用户设备返回公共陆地移动网络时一次性上报中的一种或多种组合生效。上报条件能强制终端在规定的时间内上报使用记录,避免终端不上报使用记录以遗漏计费。In this embodiment, the above reporting conditions include reporting at a preset interval, reporting within a preset time, reporting after each use of the short-distance service by the user, or reporting at one time when the user equipment returns to the public land mobile network. One or more combinations take effect. The reporting condition can force the terminal to report the usage record within the specified time, so as to prevent the terminal from not reporting the usage record and missing billing.
步骤420、在所述上报条件满足时,近距离业务通讯的终端发送上报消息到近距离业务功能实体,所述上报消息中携带所述终端在所述通讯中的使用记录和所述通讯的关联标识。Step 420: When the reporting condition is satisfied, the terminal of the short-distance service communication sends a reporting message to the short-distance service function entity, and the reporting message carries the use record of the terminal in the communication and the association of the communication logo.
其中,发送终端发送上报消息到归属地或拜访地的近距离业务功能实体,然后归属地的近距离业务功能实体会转发上报消息到本地的近距离业务功能实体,或者拜访地的近距离业务功能实体会转发上报消息到归属地的近距离业务功能实体。Among them, the sending terminal sends the report message to the short-distance service function entity of the home or visiting place, and then the short-distance service function entity of the home place will forward the report message to the local short-distance service function entity, or the short-distance service function entity of the visited place The entity will forward the report message to the short-distance service function entity at the place of origin.
接收终端发送上报消息到归属地或拜访地的近距离业务功能实体,然后归属地的近距离业务功能实体会转发上报消息到本地的近距离业务功能实体,或者拜访地的近距离业务功能实体会转发上报消息到归属地的近距离业务功能实体。The receiving terminal sends the reporting message to the short-distance service functional entity at the home location or the visiting location, and then the short-distance service functional entity at the home location will forward the reporting message to the local short-distance service functional entity, or the short-distance service functional entity at the visiting location will Forward and report the message to the near-distance service functional entity at the home location.
在本实施例中,发送终端或接收终端在向近距离业务功能实体发送上报消息之前,向对应的近距离业务功能实体请求加密密钥,根据请求的加密密钥加密发送上报消息到对应的近距离业务功能实体。此外,加密方式还可以采用公钥加密,即近距离业务通讯的发送终端或接收终端通过公钥加密发送上报消息到近距离业务功能实体。本发明实施例通过加密发送上报消息到近距离业务功能实体,可以防止上报消息被恶意接收和篡改,提升了近距离计费方法的安全性。In this embodiment, before sending the report message to the short-distance service function entity, the sending terminal or the receiving terminal requests an encryption key from the corresponding short-distance service function entity, and encrypts and sends the report message to the corresponding short-distance service function entity according to the requested encryption key. Distance business function entity. In addition, the encryption method can also use public key encryption, that is, the sending terminal or receiving terminal of the short-distance service communication sends the report message to the short-distance service functional entity through public key encryption. In the embodiment of the present invention, by encrypting and sending the reporting message to the short-distance service functional entity, the reporting message can be prevented from being maliciously received and tampered with, and the security of the short-distance charging method is improved.
以下实施例(步骤430-460)描述了近距离业务功能实体进行计费信息上报的过程。这一过程可以在图4实施例中步骤410-420之后进行。The following embodiments (steps 430-460) describe the process of reporting charging information by the short distance service function entity. This process can be performed after steps 410-420 in the embodiment of FIG. 4 .
步骤430、近距离业务功能实体接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识。Step 430: The short-distance service function entity receives the reporting message of the sending terminal and the reporting message of the receiving terminal in the short-distance service communication, and the reporting message carries the use record of the sending terminal or the receiving terminal in the communication and the Correlation ID for the newsletter.
具体的,发送终端对应的近距离业务功能实体接收的发送终端的上报消息可以来自发送终端,其接收到的接收终端的上报消息可以来自接收终端对应的近距离业务功能实体转发。Specifically, the reporting message of the sending terminal received by the short-range service function entity corresponding to the sending terminal may be from the sending terminal, and the report message received by the receiving terminal may be forwarded by the short-distance service function entity corresponding to the receiving terminal.
在另一种实施方式中,接收终端对应的近距离业务功能实体接收的接收终端的上报消息可以来自接收终端,其接收到的发送终端的上报消息可以来自发送终端对应的近距离业务功能实体转发。In another embodiment, the reporting message of the receiving terminal received by the short-distance service function entity corresponding to the receiving terminal may come from the receiving terminal, and the report message received by the sending terminal may be forwarded by the short-distance service function entity corresponding to the sending terminal. .
其中,使用记录包括近距离业务使用时长、使用次数、使用流量中的至少一种,关联标识用于关联本次近距离业务通讯。此外,使用记录还可以包括用于标识终端的标识、标识使用网络服务的用户的标识以及用于区分发送终端和接收终端类型的标识,以便于对使用运营商网络服务和/或资源的用户进行计费。Wherein, the use record includes at least one of the short-distance business usage time, the number of times of use, and the usage traffic, and the association identifier is used to associate this short-distance business communication. In addition, the usage records may also include identifiers for identifying terminals, identifiers for identifying users using network services, and identifiers for distinguishing types of sending terminals and receiving terminals, so as to facilitate the identification of users using operator network services and/or resources. Billing.
上报消息是终端发送关联标识和使用记录的载体之一,本领域普通技术人员可以根据实际需要使用其他的消息来发送上述关联标识和使用记录,上述关联标识和使用记录还可以单独发送给近距离业务功能实体。The reporting message is one of the carriers for the terminal to send the association identification and usage records. Those skilled in the art can use other messages to send the above association identification and usage records according to actual needs. The above association identification and usage records can also be sent separately to short-distance Business Functional Entity.
步骤440、近距离业务功能实体根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录。Step 440: The short-distance service function entity associates the use record of the sending terminal with the use record of the receiving terminal in this communication according to the association identifier.
其中,近距离业务功能实体可以根据关联标识关联本次通讯中近距离业务发送终端的使用记录和接收终端的使用记录,通过关联标识建立发送终端的使用记录和接收终端的使用记录之间的对应关系。Among them, the short-distance service function entity can associate the use record of the short-distance service sending terminal and the use record of the receiving terminal in this communication according to the association identifier, and establish the correspondence between the use record of the sending terminal and the use record of the receiving terminal through the association identifier relation.
步骤450、近距离业务功能实体核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息。Step 450, the short-distance service function entity checks the usage record of the associated sending terminal and the usage record of the receiving terminal, and determines the charging information of this communication.
具体的,近距离业务功能实体核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致,根据核对结果确定本次通讯的计费信息。Specifically, the short-distance service function entity checks whether the usage record of the associated sending terminal is consistent with the usage record of the receiving terminal, and determines the charging information of this communication according to the checking result.
在本实施例中,若相关联的发送终端的使用记录与所述接收终端的使用记录一致,例如发送终端的使用记录与所述接收终端的使用记录相同或误差在允许范围内,则说明发送终端和接收终端的使用记录均真实有效,此时离线计费系统确定本次通讯的计费信息为发送终端或接收终端的使用记录。In this embodiment, if the associated usage record of the sending terminal is consistent with the usage record of the receiving terminal, for example, the usage record of the sending terminal is the same as the usage record of the receiving terminal or the error is within the allowable range, it means that the sending The usage records of both the terminal and the receiving terminal are true and valid. At this time, the offline billing system determines that the billing information of this communication is the usage record of the sending terminal or the receiving terminal.
若相关联的发送终端的使用记录与所述接收终端的使用记录不一致,例如发送终端的使用记录与所述接收终端的使用记录误差不在允许范围内,则说明发送终端或接收终端的使用记录不可信,此时离线计费系统确定本次通讯的计费信息为发送终端的使用记录,典型的例如在one-to-many的应用场景中。If the usage record of the associated sending terminal is inconsistent with the usage record of the receiving terminal, for example, the error between the usage record of the sending terminal and the usage record of the receiving terminal is not within the allowable range, it means that the usage record of the sending terminal or the receiving terminal is incorrect. At this time, the offline billing system determines that the billing information of this communication is the usage record of the sending terminal, typically in a one-to-many application scenario.
此外,离线计费系统还可以确定本次通讯的计费信息为发送终端的使用记录和接收终端的使用记录中使用量较大的使用记录,典型的例如在one-to-many的应用场景中。In addition, the offline billing system can also determine that the billing information of this communication is the usage record with a larger usage volume among the usage records of the sending terminal and the usage records of the receiving terminal, typically in a one-to-many application scenario .
在本实施例中,离线计费系统还可以在核对相关联的发送终端的使用记录与所述接收终端的使用记录不一致的情况下,且判断通讯类型为one-to-many一对多时,将发送终端的使用记录确定为本次通讯的计费信息。In this embodiment, the offline charging system may also check that the usage record of the associated sending terminal is inconsistent with the usage record of the receiving terminal, and when it is judged that the communication type is one-to-many, the The use record of the sending terminal is determined as the billing information for this communication.
需要说明的是,本领域普通技术人员可以根据不同场景灵活选择上述两种确定计费信息的方法,而不限于上述给出的典型场景。It should be noted that those skilled in the art may flexibly select the above two methods for determining charging information according to different scenarios, and are not limited to the above-mentioned typical scenarios.
步骤460、近距离业务功能实体根据确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费。Step 460, the short distance service function entity requests the offline charging system to charge the sending terminal and/or the receiving terminal according to the determined charging information.
具体的,近距离业务功能实体根据确定的计费信息生成计费数据记录(Charging Data Record,CDR)并发送到离线计费系统,请求离线计费系统对所述发送终端和/或接收终端进行计费,离线计费系统根据CDR以及近距离业务计费策略对发送终端、接收终端一方或双方进行计费。在一般情况下,发送终端由发送终端归属地的离线计费系统计费,接收终端由接收终端归属的离线计费系统计费。Specifically, the short-distance service function entity generates a charging data record (Charging Data Record, CDR) according to the determined charging information and sends it to the offline charging system, and requests the offline charging system to perform a charge on the sending terminal and/or the receiving terminal Billing, the offline billing system bills one or both of the sending terminal and the receiving terminal according to the CDR and short-distance service charging policies. In general, the sending terminal is charged by the offline charging system where the sending terminal belongs, and the receiving terminal is charged by the offline charging system to which the receiving terminal belongs.
在本发明实施例提供的计费方法中,近距离业务功能实体接收通讯的发送终端和接收终端的上报消息,根据上报消息中的关联标识核对所述发送终端和接收终端的使用记录,根据核对后确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费。与现有技术相比,本发明实施例提供的计费方法可以通过关联并核对发送终端与接收终端的近距离使用记录对终端进行计费,克服了现有技术中近距离业务通讯不经过网络服务提供商部署的网元而无法准确计费的技术缺陷,满足了网络服务提供商对终端用户进行准确计费的需求。In the billing method provided by the embodiment of the present invention, the short-distance service function entity receives the report message of the sending terminal and the receiving terminal of the communication, checks the use records of the sending terminal and the receiving terminal according to the association identifier in the report message, and checks the usage records of the sending terminal and the receiving terminal according to the verification The later determined charging information requests the offline charging system to charge the sending terminal and/or the receiving terminal. Compared with the prior art, the billing method provided by the embodiment of the present invention can bill the terminal by associating and checking the short-distance usage records of the sending terminal and the receiving terminal, which overcomes the problem that the short-distance business communication in the prior art does not go through the network. The technical defect that network elements deployed by service providers cannot be billed accurately satisfies the needs of network service providers for accurate billing of end users.
参见图6,图6是本发明实施例五提供的近距离业务通讯的计费方法的流程图。Referring to FIG. 6 , FIG. 6 is a flowchart of a charging method for short-distance service communication provided by Embodiment 5 of the present invention.
如图所示,本发明实施例五提供的近距离业务通讯的计费方法主要包括以下步骤:As shown in the figure, the charging method for short-distance service communication provided by Embodiment 5 of the present invention mainly includes the following steps:
步骤510、近距离业务通讯的终端获取近距离业务通讯的关联标识和上报条件。Step 510, the terminal of the short-distance business communication obtains the association identifier and the reporting condition of the short-distance business communication.
步骤520、在所述上报条件满足时,近距离业务通讯的终端发送上报消息到近距离业务功能实体,所述上报消息中携带所述终端在所述通讯中的使用记录和所述通讯的关联标识。Step 520: When the reporting condition is satisfied, the terminal of the short-distance service communication sends a report message to the short-distance service function entity, and the report message carries the use record of the terminal in the communication and the association of the communication logo.
上述步骤510-520的执行过程和上述实施例四中的步骤410-420的执行过程相同,详情参见上述实施例四的描述。The execution process of the above-mentioned steps 510-520 is the same as the execution process of the steps 410-420 in the above-mentioned fourth embodiment. For details, refer to the description of the above-mentioned fourth embodiment.
步骤530、接收终端对应的近距离业务功能实体转发上报消息到发送终端对应的近距离业务功能实体。Step 530: The short-distance service functional entity corresponding to the receiving terminal forwards the report message to the short-distance service functional entity corresponding to the sending terminal.
接收终端对应的近距离业务功能实体接收上述接收终端发送的上报消息,根据接收到的上报消息中的发送终端信息向近距离业务发送终端对应的近距离业务功能实体发送所述接收到的上报消息。The short-range service function entity corresponding to the receiving terminal receives the report message sent by the receiving terminal, and sends the received report message to the short-distance service function entity corresponding to the short-distance service sending terminal according to the sending terminal information in the received report message .
步骤540、发送终端的近距离业务功能实体接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识。Step 540, the short-distance service function entity of the sending terminal receives the reporting message of the sending terminal and the reporting message of the receiving terminal in the short-distance service communication, and the reporting message carries the use record of the sending terminal or the receiving terminal in the communication The ID associated with the communication in question.
其中,发送终端归属地的近距离业务功能实体接收的发送终端的上报消息可以来自发送终端,其接收到的接收终端的上报消息可以来自接收终端归属地的近距离业务功能实体转发。Wherein, the reporting message of the sending terminal received by the short-distance service function entity at the home of the sending terminal may be from the sending terminal, and the report message received by the receiving terminal may be forwarded from the short-distance service function entity at the home of the receiving terminal.
步骤550、发送终端对应的近距离业务功能实体根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录。Step 550, the short-distance service function entity corresponding to the sending terminal associates the use record of the sending terminal with the use record of the receiving terminal in this communication according to the association identifier.
其中,发送终端对应的近距离业务功能实体可以根据关联标识关联本次通讯中所述发送终端和接收终端的使用记录中所述上报时间早于或等于(包括网络延迟等因素的约等于)预设截止时间的使用记录,排除超期上报的使用记录。Wherein, the short-distance service function entity corresponding to the sending terminal can associate the reporting time in the use record of the sending terminal and the receiving terminal in this communication according to the association identifier, which is earlier than or equal to (including approximately equal to the network delay and other factors) the preset time. Set the use records of the cut-off time, and exclude the use records reported overdue.
步骤560、发送终端对应的近距离业务功能实体核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息。Step 560: The short-distance service function entity corresponding to the sending terminal checks the associated use record of the sending terminal and the use record of the receiving terminal, and determines the charging information of this communication.
具体的,若发送终端对应的近距离业务功能实体核对确定使用记录一致,则确定本次通讯的计费信息为发送终端或接收终端的使用记录。若核对确定使用记录不一致,则确定本次通讯的计费信息为发送终端的使用记录,或者确定本次通讯的计费信息为发送终端的使用记录和接收终端的使用记录中使用量较大的使用记录。在另一实施例中,近距离业务功能实体还可以在核对相关联的发送终端的使用记录与所述接收终端的使用记录不一致的情况下,且判断通讯类型为one-to-many一对多时,将发送终端的使用记录确定为本次通讯的计费信息。Specifically, if the short-distance service function entity corresponding to the sending terminal checks and determines that the use records are consistent, it determines that the charging information of this communication is the use record of the sending terminal or the receiving terminal. If it is checked that the usage records are inconsistent, then it is determined that the billing information of this communication is the usage record of the sending terminal, or it is determined that the billing information of this communication is the usage record of the sending terminal and the usage record of the receiving terminal. Use records. In another embodiment, the near-distance service function entity may also determine that the communication type is one-to-many when checking that the usage record of the associated sending terminal is inconsistent with the usage record of the receiving terminal , determine the use record of the sending terminal as the billing information for this communication.
步骤570、发送终端对应的近距离业务功能实体根据确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费。Step 570: The short-distance service function entity corresponding to the sending terminal requests the offline charging system to charge the sending terminal and/or the receiving terminal according to the determined charging information.
具体的,发送终端对应的近距离业务功能实体根据确定的计费信息生成计费数据记录并发送到发送终端归属地的离线计费系统,请求离线计费系统对所述发送终端和/或接收终端进行计费,进而离线计费系统根据CDR以及近距离业务计费策略对发送终端、接收终端一方或双方进行计费。Specifically, the short-distance service function entity corresponding to the sending terminal generates a charging data record according to the determined charging information and sends it to the offline charging system at the home of the sending terminal, and requests the offline charging system to charge the sending terminal and/or the receiving The terminal performs charging, and then the offline charging system charges one or both of the sending terminal and the receiving terminal according to the CDR and the short-distance service charging policy.
步骤580、发送终端对应的近距离业务功能实体向所述接收终端对应的近距离业务功能实体发送核对后确定的计费信息。Step 580: The short-distance service function entity corresponding to the sending terminal sends the checked and determined charging information to the short-distance service function entity corresponding to the receiving terminal.
具体的,发送终端对应的近距离业务功能实体向接收终端对应的近距离业务功能实体发送核对后确定的计费信息,以便于接收终端对应的近距离业务功能实体向接收终端归属地的离线计费系统发送核对后确定的计费信息,从而由接收终端归属地的离线计费系统对接收终端进行计费。Specifically, the short-distance service functional entity corresponding to the sending terminal sends the billing information determined after checking to the short-distance service functional entity corresponding to the receiving terminal, so that the short-distance service functional entity corresponding to the receiving terminal can send the charging information to the offline accounting service at the place where the receiving terminal belongs. The billing system sends the billing information determined after checking, so that the offline billing system at the place where the receiving terminal belongs charges the receiving terminal.
在本发明实施例五提供的近距离计费方法中,近距离业务功能实体可以根据关联标识关联本次通讯中所述发送终端和接收终端的使用记录中所述上报时间早于或等于(包括网络延迟等因素的约等于)预设截止时间的使用记录,排除超期上报的使用记录,避免了恶意篡改延期或拒绝上报的使用记录对计费的影响,提高了近距离计费的准确性和安全性。此外,本发明实施例通过向接收终端对应的近距离业务功能实体发送核对后确定的计费信息,提供了一种由接收终端所在网络的离线计费系统对接收终端进行计费的方法。In the short-distance charging method provided in Embodiment 5 of the present invention, the short-distance service function entity can associate the sending terminal and the receiving terminal in the current communication according to the association identifier, and the reporting time is earlier than or equal to (including Factors such as network delays are approximately equal to) the usage records of the preset cut-off time, excluding usage records reported overdue, avoiding the impact of malicious tampering on delayed or refused usage records on billing, and improving the accuracy and accuracy of short-distance billing safety. In addition, the embodiment of the present invention provides a method for charging the receiving terminal by the offline charging system of the network where the receiving terminal is located by sending the checked and determined charging information to the short-distance service function entity corresponding to the receiving terminal.
为更详细的理解本发明,下面给出近距离计费方法的具体应用场景。在本应用场景中,近距离业务通讯的用户终端包括UE1、UE2和UE3。其中,UE1为发送终端,UE2和UE3为接收终端。For a more detailed understanding of the present invention, a specific application scenario of the short distance charging method is given below. In this application scenario, user terminals for short-distance service communication include UE1, UE2, and UE3. Wherein, UE1 is a sending terminal, and UE2 and UE3 are receiving terminals.
参见图7,图7是本发明实施例五提供的近距离业务通讯的计费方法中一种近距离业务通讯的方法流程图。Referring to FIG. 7 , FIG. 7 is a flow chart of a short-distance business communication method in the short-distance business communication charging method provided by Embodiment 5 of the present invention.
具体的,UE1-UE3属于一个近距离通讯群组时,它们之间的近距离业务通讯流程包括:Specifically, when UE1-UE3 belong to a short-distance communication group, the short-distance service communication process between them includes:
步骤610、UE配置群组上下文、群组标识和上报条件。Step 610, UE configures group context, group identifier and reporting condition.
其中,UE1、UE2和UE3中预先配置一对多近距离通讯相关信息,该配置过程可以由UE中的近距离应用程序中手工配置,还可以由网络侧的ProSe Function下发配置文件,自动更新。UE2和UE3的配置过程和通讯流程均相同。Among them, UE1, UE2, and UE3 are pre-configured with one-to-many short-distance communication related information. The configuration process can be manually configured in the short-distance application program in UE, and the configuration file can also be automatically updated by the ProSe Function on the network side. . The configuration process and communication process of UE2 and UE3 are the same.
UE1通过预先配置获得相关的群组上下文来传输IP层数据传输,群组上下文包括近距离业务二层组标识和近距离业务群组IP多播地址。UE1还获得了使用的无线资源的相关参数以及近距离业务通讯的计费相关参数,计费相关参数包括关联标识和上报条件。UE1 obtains the relevant group context through pre-configuration to transmit IP layer data transmission, and the group context includes the L2 group identifier of the short distance service and the IP multicast address of the short distance service group. UE1 also obtains related parameters of radio resources used and charging related parameters of short distance service communication, and charging related parameters include association identifier and reporting condition.
在本应用场景中,上报条件包括上报时间设置,关联标识具体为上报序列号和通讯时间。发送终端UE1和接收终端UE2-UE3的上报条件和关联标识均由用户设备各自配置。In this application scenario, the reporting conditions include the reporting time setting, and the associated identifier is specifically the reporting sequence number and communication time. The reporting conditions and association identities of the sending terminal UE1 and the receiving terminals UE2-UE3 are configured by the user equipments respectively.
步骤620、UE1接入无线资源来发送组通讯,UE2、UE3监听无线资源以接收组通讯。Step 620, UE1 accesses wireless resources to send group communication, UE2 and UE3 monitor wireless resources to receive group communication.
具体的,UE1寻找合适的无线资源来执行一对多近距离业务通讯,UE2、UE3监听对应的无线资源以接收组通讯。Specifically, UE1 searches for a suitable wireless resource to perform one-to-many short-distance service communication, and UE2 and UE3 monitor corresponding wireless resources to receive group communication.
步骤630、UE1发起一对多近距离通讯。Step 630, UE1 initiates one-to-many short distance communication.
具体的,UE1通过将近距离业务二层组标识作为目的二层标识(destination layer-2 ID)向上述IP多播地址发送IP数据。UE2-UE3接收一对多通讯数据。Specifically, UE1 sends IP data to the aforementioned IP multicast address by using the short-distance service layer-2 group identifier as the destination layer-2 ID. UE2-UE3 receive one-to-many communication data.
需要说明的是,上述步骤610-630的通讯流程可以结合实施例一到实施例四中的计费方法,即在近距离通讯之后或在近距离通讯过程中执行实施例一到实施例四所描述的计费方法。It should be noted that the communication process of the above steps 610-630 can be combined with the billing methods in Embodiment 1 to Embodiment 4, that is, after the short-distance communication or during the short-distance communication, the charging methods in Embodiment 1 to Embodiment 4 are executed. Describe the billing method.
参见图8,图8是本发明实施例五提供的近距离业务通讯的计费方法中另一种近距离通讯的流程图。Referring to FIG. 8 , FIG. 8 is a flow chart of another short-distance communication in the charging method for short-distance service communication provided by Embodiment 5 of the present invention.
UE1-UE3之间的近距离业务通讯流程包括:The short-distance service communication process between UE1-UE3 includes:
步骤710、配置群组上下文。Step 710, configure group context.
其中,UE1、UE2和UE3中预先配置一对多近距离通讯相关信息,该配置过程可以由UE中的近距离应用程序配置。UE2和UE3的通讯流程相同。Wherein, UE1, UE2 and UE3 are pre-configured with one-to-many near-field communication related information, and this configuration process can be configured by a short-range application program in UE. The communication process of UE2 and UE3 is the same.
UE1-UE3通过配置获得群组ID以及相关的群组上下文来传输IP层数据传输,群组上下文包括近距离业务二层组标识和近距离业务群组IP多播地址。UE1-UE3 obtains the group ID and related group context through configuration to transmit IP layer data transmission, and the group context includes the L2 group identifier of the short distance service and the IP multicast address of the short distance service group.
步骤720、发送终端生成计费相关参数并接入无线资源来发送组通讯,接收终端监听无线资源以接收组通讯。Step 720, the sending terminal generates billing-related parameters and accesses wireless resources to send the group communication, and the receiving terminal monitors the wireless resources to receive the group communication.
具体的,UE1生成近距离业务通讯的计费相关参数,并寻找合适的无线资源来执行一对多近距离业务通讯,UE2、UE3监听对应的无线资源以接收组通讯。计费相关参数包括关联标识和上报条件。Specifically, UE1 generates charging-related parameters of short-range service communication, and searches for suitable wireless resources to perform one-to-many short-distance service communication, and UE2 and UE3 monitor corresponding wireless resources to receive group communication. Charging-related parameters include association identifiers and reporting conditions.
在本应用场景中,上报条件包括上报时间设置,关联标识具体为上报序列号和使用业务时间。接收终端UE2-UE3接收发送终端UE1发送的上报条件和关联标识。In this application scenario, the reporting conditions include the setting of the reporting time, and the associated identification is specifically the reporting serial number and the service time of use. The receiving terminals UE2-UE3 receive the reporting condition and association identifier sent by the sending terminal UE1.
步骤730、发起一对多近距离通讯。Step 730, initiate one-to-many short distance communication.
具体的,UE1通过将近距离业务二层组标识作为目的二层标识向上述IP多播地址发送IP数据,生成近距离业务使用记录。该IP数据还携带计费相关参数,包括关联标识和上报条件。Specifically, UE1 sends the IP data to the IP multicast address by using the short-distance service layer-2 group identifier as the destination two-layer identifier to generate the short-distance service usage record. The IP data also carries charging-related parameters, including association identifiers and reporting conditions.
UE2-UE3接收一对多近距离通讯数据,生成近距离业务使用记录并获得计费相关参数,计费相关参数包括关联标识和上报条件。上报条件包括上报时间设置,关联标识具体为上报序列号和发送终端的发送时间Event time。UE2-UE3 receive one-to-many short-distance communication data, generate a short-distance service usage record and obtain charging-related parameters, and the charging-related parameters include association identifiers and reporting conditions. The reporting conditions include the reporting time setting, and the association identifier is specifically the reporting sequence number and the sending time Event time of the sending terminal.
需要说明的是,上述步骤710-730通讯流程可以结合实施例一到实施例四中的计费方法,即在近距离通讯之后或在近距离通讯过程中执行实施例一到实施例四所描述的计费方法。It should be noted that the above-mentioned communication process of steps 710-730 can be combined with the billing methods in Embodiment 1 to Embodiment 4, that is, after the short-distance communication or during the short-distance communication, execute the description in Embodiment 1 to Embodiment 4 billing method.
UE1-UE3根据上报条件发送上报消息以及网络侧的设备处理上报消息的过程通过下面的附图继续说明。The process of UE1-UE3 sending the report message according to the report condition and the equipment on the network side processing the report message will continue to be described through the following figures.
参见图9,图9是本发明实施例五提供的近距离业务通讯的计费方法的流程图。Referring to FIG. 9 , FIG. 9 is a flow chart of a charging method for short-distance service communication provided by Embodiment 5 of the present invention.
在本实施例中,区别于普通信令的交互,UE与ProSe Function之间的计费信息交互需要更高安全级别,UE上报前向ProSe Function请求授权,上报UE标识和应用程序标识,申请加密密钥和有效时长,后续的上报过程使用公开的公钥和/或本次请求的加密密钥进行加密,以确保数据传输的安全。同时,ProSe Function验证用户设备和用户使用的应用。In this embodiment, different from the interaction of ordinary signaling, the interaction of charging information between UE and ProSe Function requires a higher security level. Before reporting, UE requests authorization from ProSe Function, reports UE ID and application program ID, and applies for encryption Key and validity period, the subsequent reporting process is encrypted with the public key and/or the encryption key of this request to ensure the security of data transmission. At the same time, ProSe Function verifies the user's device and the applications used by the user.
在本实施例中,UE配置了归属公用陆地移动网络(Home PublicLand Mobile Network,HPLMN),使得UE能够正确发起请求,获得验证授权。In this embodiment, the UE is configured with a home public land mobile network (Home Public Land Mobile Network, HPLMN), so that the UE can correctly initiate a request and obtain verification authorization.
发送方Origination UE与接收方Destination UE通讯之前,可以采取协商上报条件的方式(图8所示)或预设上报条件的方式(图7所示),以便发送终端和接收终端都能在规定时间内上传UE终端ProSe APP的使用信息。Before the Origination UE on the sending side communicates with the Destination UE on the receiving side, it can negotiate the reporting conditions (as shown in Figure 8) or preset the reporting conditions (as shown in Figure 7), so that both the sending terminal and the receiving terminal can communicate within the specified time Upload the usage information of the ProSe APP of the UE terminal.
本发明实施例五提供的近距离业务通讯的计费方法主要包括以下步骤:The charging method for short-distance service communication provided by Embodiment 5 of the present invention mainly includes the following steps:
步骤810、UE发送上报消息到对应的ProSe Function。Step 810, UE sends a report message to the corresponding ProSe Function.
在本应用场景中,对UE1提供近距离服务的为UE 1归属地的ProSefunction1,对UE2和UE3提供近距离服务的均为UE2和UE3归属地的ProSe function2。需要说明的,UE2和UE3也可以对应不同的ProSeFunction,即由不同的ProSe Function对UE2和UE3提供服务。In this application scenario, UE1's home ProSe function1 provides short-distance services to UE1, and UE2 and UE3's home ProSe function2 provides short-distance services to UE2 and UE3. It should be noted that UE2 and UE3 can also correspond to different ProSe Functions, that is, different ProSe Functions provide services for UE2 and UE3.
在本实施例中,发送终端(Originating UE)可以在以下上报条件满足时,发送上报消息。上报消息中携带所述发送终端在所述通讯中的使用记录和所述通讯的关联标识,使用记录包括近距离业务使用时长、使用次数、使用流量中的一种或多种。In this embodiment, the sending terminal (Originating UE) may send the reporting message when the following reporting conditions are met. The report message carries the use record of the sending terminal in the communication and the associated identifier of the communication, and the use record includes one or more of short-distance service usage time, usage times, and usage traffic.
触发式上报:预设上报时间间隔,发送终端UE1的ProSe APP就在预定时间触发上传该时间段内所有的近距离业务使用记录和近距离业务通讯的关联标识。Triggered reporting: The reporting time interval is preset, and the ProSe APP of the sending terminal UE1 triggers the upload of all short-distance service usage records and associated identifications of short-distance business communication within the time period at a predetermined time.
预设可以是用户在终端上自行配置了上报时间间隔,也可以是HPLMN通过ProSe Function下发配置文件,也可以是UE中的应用程序自身配置的初始上报时间间隔。本发明支持三方(用户终端,应用程序和运营商)的配置方式,对所有角度的UE通用,后续不再累述。The default can be that the user configures the reporting time interval on the terminal, or the HPLMN sends the configuration file through the ProSe Function, or it can be the initial reporting time interval configured by the application in the UE itself. The present invention supports the configuration mode of three parties (user terminal, application program and operator), which is common to UEs from all angles, and will not be repeated hereafter.
预约式上报:通讯时协商N小时之内上传的情况,N小时也可以表示数据传送完毕后立刻上报的情况,也可以表示数据传送接收完成后规定的N小时到达的时刻上报的情况,也可以包括N小时之内的任意时刻上报。Appointment reporting: When negotiating the situation of uploading within N hours during communication, N hours can also indicate the situation of reporting immediately after the completion of data transmission, or the situation of reporting at the specified arrival time of N hours after the completion of data transmission and reception. Report at any time including N hours.
需要说明的是,触发式上报和预约式上报可以同时存在于用户终端中,其以时间先后为优先级,同样针对于接收终端的上报条件,以下不再累述。It should be noted that the triggered reporting and scheduled reporting can exist in the user terminal at the same time, and they are prioritized in time, and are also aimed at the reporting conditions of the receiving terminal, which will not be repeated below.
同样的,针对接收终端(Destination UE),可以在以下上报条件满足时,发送上报消息。Similarly, for the receiving terminal (Destination UE), the reporting message can be sent when the following reporting conditions are met.
触发式上报:预先设置上报时间间隔,UE就在指定时间内上传该时间段内所有的使用记录Triggered reporting: The reporting time interval is set in advance, and the UE will upload all usage records within the specified time period
预约式上报:通讯时与发送终端协商N小时之内上传的情况,N小时可以表示传送完毕后立刻上报的情况,也可以表示传送接收完成后规定的N小时到达的时刻上报的情况,也可以包括N小时之内的任意时刻上报。Appointment reporting: during communication, negotiate with the sending terminal to upload within N hours. N hours can indicate the situation of reporting immediately after the completion of transmission, or it can indicate the situation of reporting at the specified arrival time of N hours after the completion of transmission and reception. Report at any time including N hours.
协商的N小时数可以由发送方单方面决定,也可以在接收方和发送方正式传输之前通过信令交互的方式协商,也可以在发送方和接收方配置Group群组信息的默认设置值。具体协商方式本发明实施例不限定。The number of N hours to be negotiated can be unilaterally determined by the sender, or can be negotiated through signaling interaction between the receiver and the sender before formal transmission, or the default setting value of the Group information can be configured on the sender and receiver. The specific negotiation manner is not limited in this embodiment of the present invention.
需要说明的是,接收终端可以是HPLMN的也可以是本地公用陆地移动网络(Local Public Land Mobile Network,LPLMN)的监听的用户终端。UE2-UE3发送上报消息的方式包括:It should be noted that the receiving terminal may be an HPLMN or a user terminal monitored by a local public land mobile network (Local Public Land Mobile Network, LPLMN). The ways for UE2-UE3 to send the report message include:
方式一:UE2-UE3各自上报到其正在使用的资源的PLMN的ProSeFunction中,如果使用归属运营商的资源,就上报到其HPLMN的ProSeFunction中,如果使用本地非归属运营商的资源,就上报到LPLMN的ProSe Function。LPLMN之后与HPLMN进行网间结算。Method 1: UE2-UE3 each report to the ProSeFunction of the PLMN of the resources they are using. If they use the resources of the home operator, they report to the ProSeFunction of their HPLMN. If they use the resources of the local non-home operator, they report to the ProSe Function of LPLMN. LPLMN then conducts inter-network settlement with HPLMN.
方式二:UE2-UE3全部上报到HPLMN的ProSe Function中,HPLMN的ProSe Function找到对应的LPLMN的ProSe Function,两者进行网间结算。Method 2: UE2-UE3 are all reported to the ProSe Function of HPLMN, and the ProSe Function of HPLMN finds the corresponding ProSe Function of LPLMN, and the two perform inter-network settlement.
此外,本发明实施例提供的用户终端还存在于延迟上报的情况,例如发送终端和/或接收终端不在运营商的信号覆盖范围内,无法注册在运营商的网络上,因为不能建立链接。那么当该UE重新回到运营商覆盖范围内,注册之后,UE终端的ProSe APP就将离开时间段内的ProSe APP参与通讯的使用信息上传到其注册的PLMN。针对延迟上报的UE,适用事件式上报、触发式上报以及预约式上报三种上报条件。In addition, the user terminal provided by the embodiment of the present invention also has a delay in reporting, for example, the sending terminal and/or the receiving terminal are not within the signal coverage of the operator, and cannot be registered on the operator's network because the link cannot be established. Then when the UE returns to the coverage of the operator and after registration, the ProSe APP of the UE terminal will upload the use information of the ProSe APP participating in the communication during the departure time period to the registered PLMN. For UEs that delay reporting, three reporting conditions are applicable: event-based reporting, trigger-based reporting, and scheduled reporting.
事件式上报:UE回归到PLMN的范围内,注册完成后,一次性上传所有的使用信息,其必须包括完整的离开时间段内的ProSe APP使用记录和近距离业务通讯的关联标识。Event-based reporting: UE returns to the scope of the PLMN. After the registration is completed, all usage information is uploaded at one time, which must include the complete ProSe APP usage records and short-distance service communication identification during the complete departure time period.
触发式上报:预先设置上报时间间隔,UE在指定时间间隔内上传该时间段内所有的使用记录和近距离业务通讯的关联标识。Triggered reporting: The reporting time interval is set in advance, and the UE uploads all usage records and associated identifications of short-distance service communication within the specified time interval.
预约式上报:通讯时协商了N小时之内上传的情况,N小时也可以表示传送完毕后立刻上报的情况。Appointment-based reporting: The situation of uploading within N hours is negotiated during the communication, and N hours can also indicate the situation of reporting immediately after the transmission is completed.
需要说明的是,事件式上报、触发式上报和预约式上报可以同时存在于用户终端中,三者是相互制约的,优先级是哪个条件满足就优先使用该方式上报。It should be noted that event-based reporting, trigger-based reporting, and scheduled reporting can exist in the user terminal at the same time, and the three are mutually restrictive, and whichever condition meets the priority will be used for reporting in priority.
此外,如果终端延迟的时间(事件式上报时间)超过了预约式上报要求的时间,那此时该条使用记录可以删除,而无需上报。离线计费系统或者ProSe Function会在预约上报的时间点关联处理近距离业务通讯中其他终端的上报消息,如果终端延迟上报超过了预设截止时间,可以由延迟的终端发送上报消息前自行核对,然后上传,也可以是延迟的终端发送上报消息后,ProSe Function或者离线计费系统丢弃超过预设截止时间发送的上报消息。In addition, if the delayed time of the terminal (event-type reporting time) exceeds the time required for scheduled-type reporting, the usage record can be deleted at this time without reporting. The offline billing system or ProSe Function will correlate and process the reporting messages of other terminals in the short-distance business communication at the scheduled reporting time point. If the terminal delays the reporting beyond the preset deadline, the delayed terminal can check it before sending the reporting message. Then upload, or after the delayed terminal sends the report message, the ProSe Function or the offline billing system discards the report message sent beyond the preset deadline.
步骤820、UE2、UE3对应的ProSe Function转发接收到的上报消息UE1对应的ProSe Function。In step 820, the ProSe Function corresponding to UE2 and UE3 forwards the received reporting message to the ProSe Function corresponding to UE1.
UE2、UE3对应的ProSe Function 2判断是one-to-many的通讯,而且是接收方,将接收到的上报消息转发给发送方UE1的HPLMN的ProSeFunction 1。The ProSe Function 2 corresponding to UE2 and UE3 judges that it is a one-to-many communication, and it is the receiver, and forwards the received report message to the ProSeFunction 1 of the HPLMN of the sender UE1.
步骤830、UE1对应的ProSe Function转发所有的上报消息到离线计费系统。Step 830, the ProSe Function corresponding to UE1 forwards all reported messages to the offline charging system.
其中,UE1对应的ProSe Function 1转发所有的上报消息到离线计费系统,由离线计费系统进行关联核对。Among them, ProSe Function 1 corresponding to UE1 forwards all reported messages to the offline charging system, and the offline charging system performs correlation check.
步骤840、离线计费系统关联本次通讯中发送终端的使用记录和接收终端的使用记录。Step 840, the offline billing system correlates the use record of the sending terminal with the use record of the receiving terminal in this communication.
其中,UE1的HPLMN的离线计费系统根据关联标识关联本次通讯中发送终端的使用记录和多个接收终端的使用记录。关联标识可以为群组标识(Group ID),近距离业务通讯时间Record Time等可用于唯一确定一次近距离通讯。Wherein, the offline charging system of the HPLMN of UE1 associates the use record of the sending terminal in this communication with the use records of multiple receiving terminals according to the association identifier. The association identifier can be a group identifier (Group ID), and the short-distance business communication time Record Time can be used to uniquely determine a short-distance communication.
步骤850、离线计费系统核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息。Step 850, the offline charging system checks the usage record of the associated sending terminal and the usage record of the receiving terminal, and determines the charging information of this communication.
在本实施例中,UE1的HPLMN的OFCS核对UE1、UE2和UE3在本次近距离业务通讯中的使用记录,UE1的使用记录为30M,UE2、UE3的使用记录分别为30M、25M,则确定本次近距离通讯UE1、UE2的使用记录为30M,UE3的使用记录为30M(以发送终端为准)。In this embodiment, the OFCS of UE1's HPLMN checks the use records of UE1, UE2, and UE3 in this short-distance service communication. The use records of UE1 are 30M, and the use records of UE2 and UE3 are 30M and 25M respectively. The use records of UE1 and UE2 for short-distance communication this time are 30M, and the use records of UE3 are 30M (based on the sending terminal).
步骤860、离线计费系统对发送终端和/或接收终端进行计费。Step 860, the offline charging system charges the sending terminal and/or the receiving terminal.
在本实施例中,UE1的HPLMN的OFCS根据确定的计费信息和近距离计费策略对UE1-UE3一方或多方进行计费。UE1的HPLMN的OFCS在计费后,可以与UE2、UE3归属地网络的OFCS进行网间结算。In this embodiment, the OFCS of the HPLMN of UE1 charges one or more parties of UE1-UE3 according to the determined charging information and the short distance charging policy. After billing, the OFCS of the HPLMN of UE1 can perform inter-network settlement with the OFCS of the home network of UE2 and UE3.
综上,本发明实施例通过离线计费系统将多个终端的使用记录进行关联核对,提高了计费数据的真实性,防止数据被第三方恶意篡改,提高了计费的安全性。To sum up, the embodiment of the present invention correlates and checks the use records of multiple terminals through the offline charging system, which improves the authenticity of charging data, prevents malicious tampering of data by a third party, and improves the security of charging.
下面再给出本发明实施例提供的近距离计费方法的具体应用场景。在本应用场景中,商户1签约了近距离业务,关注该商户的用户终端UE5、UE6在靠近该商户时,会收到优惠信息,方便用户前往该商户购买。此外,用户终端还可以近距离业务查找该商户,获得该商户的优惠信息。A specific application scenario of the short-distance charging method provided by the embodiment of the present invention is given below. In this application scenario, merchant 1 has signed a short-distance service, and user terminals UE5 and UE6 following the merchant will receive preferential information when they are close to the merchant, so that users can go to the merchant to purchase. In addition, the user terminal can also search for the merchant at a short distance and obtain preferential information of the merchant.
在商户终端和用户终端通讯之前,需要对商户终端配置群组(Group)信息,关注该商户的用户在终端的ProSe App中配置群组信息,该群组消息包括:Before the merchant terminal communicates with the user terminal, it is necessary to configure group information on the merchant terminal. Users who follow the merchant configure group information in the ProSe App of the terminal. The group information includes:
基本信息和授权信息:群组名商户1,群组ID(456789),群公告优惠信息,授权的PLMN。本应用场景中将群组ID作为近距离业务通讯的关联标识。Basic information and authorization information: group name merchant 1, group ID (456789), group announcement discount information, authorized PLMN. In this application scenario, the group ID is used as an associated identifier for short-distance business communication.
计费相关信息:上报条件(预定当天晚上11:00 PM上报使用记录)。Billing-related information: reporting conditions (report usage records at 11:00 PM on the scheduled day).
传输相关信息:群通讯所需的ProSe Layer-2 Group ID,ProSe GroupIP multicast address。Transmission related information: ProSe Layer-2 Group ID required for group communication, ProSe GroupIP multicast address.
在配置群组信息之后,商户终端和UE5、UE6之间通过无线资源传输优惠信息,例如广告视频。After the group information is configured, preferential information, such as an advertising video, is transmitted between the merchant terminal and UE5, UE6 through wireless resources.
在数据传输过程中,IP数据包携带的相关参数如下表所示:During data transmission, the relevant parameters carried by the IP data packet are shown in the following table:
参见图10,图10是在上述商户签约近距离业务场景下,本发明实施例六提供的近距离业务的计费方法的流程图。Referring to FIG. 10 , FIG. 10 is a flowchart of a charging method for a short-distance service provided by Embodiment 6 of the present invention in the scenario where a merchant signs up for a short-distance service.
如图所示,本发明实施例提供的近距离业务的计费方法包括:As shown in the figure, the charging method for the short-distance service provided by the embodiment of the present invention includes:
步骤910、近距离业务通讯的商户终端发送上报消息到对应的ProSeFunction 3。Step 910, the merchant terminal of short-distance business communication sends a report message to the corresponding ProSeFunction 3.
在本应用场景中,商户终端对应ProSe function3,UE5和UE6均对应ProSe function 4。需要说明的,UE5和UE6也可以对应不同的ProSeFunction,即由不同的ProSe Function对UE5和UE6提供服务。In this application scenario, the merchant terminal corresponds to ProSe function 3, and both UE5 and UE6 correspond to ProSe function 4. It should be noted that UE5 and UE6 can also correspond to different ProSe Functions, that is, different ProSe Functions provide services for UE5 and UE6.
商户终端默认设置的系统触发上报时间是每天24:00,且发送广告视频时与用户终端协商当天23:00上报,2014-06-08日发送广告视频的使用记录就会在2014-06-08的23点由商户终端上报给其归属的ProSeFunction 3。The default system trigger report time set by the merchant terminal is 24:00 every day, and when sending an advertisement video, it negotiates with the user terminal to report at 23:00 on the same day, and the usage record of the advertisement video sent on 2014-06-08 will be on 2014-06-08 The 23 points are reported by the merchant terminal to its belonging ProSeFunction 3.
步骤920、UE5、UE6发送上报消息到对应的ProSe Function 4。Step 920, UE5 and UE6 send a report message to the corresponding ProSe Function 4.
UE5、UE6默认设置的上报时间是每天22:00,发送广告视频时商户终端与UE5、UE6协商当天23:00上报,因此2014-06-08日接收广告视频的使用记录就会在2014-06-08的22点由UE5、UE6上报给其归属的ProSe Function 4。如果UE5、UE6使用LPLMN的资源,则转发上报消息给LPLMN,如果用户是漫游状态回到归属地,则转发上报消息给归属地公用陆地移动网络HPLMN的ProSe Function,如果用户正在漫游,发送上报消息给拜访地公用陆地移动网络(Visit Public Land MobileNetwork,VPLMN)的ProSe Function,拜访地的ProSe Function转发给HPLMN的ProSe Function。The default reporting time of UE5 and UE6 is 22:00 every day. When sending advertising videos, the merchant terminal negotiates with UE5 and UE6 to report at 23:00 on the same day. Therefore, the usage record of receiving advertising videos on 2014-06-08 will be in 2014-06 The 22 o'clock of -08 is reported by UE5 and UE6 to its assigned ProSe Function 4. If UE5 and UE6 use LPLMN resources, forward the report message to LPLMN, if the user is roaming and return to the home location, then forward the report message to the ProSe Function of the home public land mobile network HPLMN, if the user is roaming, send the report message To the ProSe Function of the Visit Public Land Mobile Network (VPLMN), the ProSe Function of the visit is forwarded to the ProSe Function of the HPLMN.
步骤930、UE5、UE6对应的ProSe Function4转发上报消息到商户终端对应的ProSe Function3。Step 930, ProSe Function4 corresponding to UE5 and UE6 forwards the report message to ProSe Function3 corresponding to the merchant terminal.
UE5、UE6对应的ProSe Function4判断是one-to-many的通讯,而且是接收方,将接收到的上报消息转发给发送方(商户终端)的HPLMN的ProSe Function3。The ProSe Function4 corresponding to UE5 and UE6 judges that it is a one-to-many communication, and it is the receiver, and forwards the received report message to the ProSe Function3 of the HPLMN of the sender (merchant terminal).
步骤940、商户终端对应的ProSe Function3关联本次近距离业务通讯中的使用记录。Step 940, associate the ProSe Function3 corresponding to the merchant terminal with the use record in this short-distance business communication.
关联本次通讯的关联标识包括但不限于:上报序列号(ProSe ReportSequence Number)、近距离业务应用标识(ProSe application ID)、近距离业务类型(ProSe Type)、群组标识(Group ID)、Served IMSI、发送终端的原始发送时间(Event Time Stamp)以及近距离业务通讯或者发现的类型(Record Type)。The association identification associated with this communication includes but is not limited to: ProSe Report Sequence Number, ProSe application ID, ProSe Type, Group ID, Served IMSI, the original sending time of the sending terminal (Event Time Stamp), and the type of short-distance business communication or discovery (Record Type).
在本应用场景中,商户终端对应的ProSe Function3关联同一群组,同一源发送方,同一时间,同一应用类型的使用记录作为本次通讯的使用记录。In this application scenario, the ProSe Function3 corresponding to the merchant terminal is associated with the same group, the same source sender, the same time, and the use records of the same application type as the use records of this communication.
步骤950、商户终端对应的ProSe Function3核对相关联的本次近距离业务通讯中的使用记录,确定本次通讯的计费信息。Step 950, the ProSe Function3 corresponding to the merchant terminal checks the associated use record in this short-distance service communication, and determines the billing information of this communication.
ProSe Function3在关联本次通讯的使用记录后,核对使用记录中的数据流量是否一致,如果一致,则表示终端上报的使用记录无误,使用UE5、UE6的使用记录作为计费信息;如果不一致,以多数相同的为准或以商户终端为准确定计费信息,并后续可以对上报不实信息的UE的授权进行控制,或者对该UE进行配置,测试,调整等。ProSe Function3 checks whether the data traffic in the usage record is consistent after associating the usage records of this communication. If they are consistent, it means that the usage records reported by the terminal are correct, and the usage records of UE5 and UE6 are used as the billing information; Most of the same shall prevail or the merchant terminal shall determine the billing information, and subsequently control the authorization of the UE reporting false information, or configure, test, and adjust the UE.
步骤960、商户终端对应的ProSe Function3根据确定的计费信息请求OFCS 1计费。Step 960, ProSe Function 3 corresponding to the merchant terminal requests OFCS 1 for charging according to the determined charging information.
商户终端的Home ProSe Function3将汇总的计费信息转换为CDR,并将CDR发给归属网络的OFCS 1进行计费,具体可以通过Rf,Ga或者Bx的接口发送给OFCS 1。The Home ProSe Function3 of the merchant terminal converts the aggregated billing information into a CDR, and sends the CDR to the OFCS 1 of the home network for billing. Specifically, it can be sent to OFCS 1 through the Rf, Ga or Bx interface.
步骤970、商户终端对应的ProSe Function3回复确定的计费信息到UE5、UE6对应的ProSe Function4。Step 970, the ProSe Function3 corresponding to the merchant terminal replies the determined charging information to the ProSe Function4 corresponding to UE5 and UE6.
商户终端的HPLMN ProSe Function3将确定的计费信息发给UE5、UE6对应的ProSe Function4,包括用户终端UE5、UE6的HPLMN ProSeFunction或者LPLMN ProSe Function或者VPLMN ProSe Function。The HPLMN ProSe Function3 of the merchant terminal sends the determined billing information to the corresponding ProSe Function4 of UE5 and UE6, including the HPLMN ProSe Function or LPLMN ProSe Function or VPLMN ProSe Function of the user terminal UE5 and UE6.
步骤980、UE5、UE6对应的ProSe Function4上报核对确定的计费信息给各自的OFCS 2。In step 980, the ProSe Function4 corresponding to UE5 and UE6 reports the verified charging information to their respective OFCS 2.
UE5、UE6的HPLMN的ProSe Function4上报计费信息转换为CDR,将CDR发送给对应的OFCS 2,请求对UE5、UE6进行计费,上报时可以采用Rf,Ga或者Bx接口。The ProSe Function4 of the HPLMN of UE5 and UE6 converts the reported billing information into CDR, and sends the CDR to the corresponding OFCS 2 to request billing for UE5 and UE6. The Rf, Ga or Bx interface can be used for reporting.
如果用户终端漫游或者使用了LPLMN的资源,那么HPLMN与LPLMN/VPLMN之间的网间结算与现有技术相同。If the user terminal roams or uses the resources of the LPLMN, the inter-network settlement between the HPLMN and the LPLMN/VPLMN is the same as the prior art.
以上对本发明实施例提供的近距离计费方法进行了详细介绍,下面再介绍与上述方法相关的设备。The short distance charging method provided by the embodiment of the present invention has been introduced in detail above, and the equipment related to the above method will be introduced below.
参见图11,图11是本发明实施例七提供的离线计费系统的示意图。Referring to FIG. 11 , FIG. 11 is a schematic diagram of an offline charging system provided by Embodiment 7 of the present invention.
本实施例提供的离线计费系统,包括:The offline billing system provided in this embodiment includes:
上报接收单元101,用于接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识。其中,使用记录包括近距离业务使用时长、使用次数、使用流量中的至少一种。The report receiving unit 101 is configured to receive the report message of the sending terminal and the report message of the receiving terminal of the short-distance business communication, and the report message carries the use record of the sending terminal or the receiving terminal in the communication and the communication associated ID. Wherein, the use record includes at least one of the duration of use of the short-distance service, the number of times of use, and the flow of use.
第一关联单元102,用于根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录。The first association unit 102 is configured to associate the use record of the sending terminal with the use record of the receiving terminal in this communication according to the association identifier.
第一核对单元103,用于核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息。The first checking unit 103 is configured to check the usage record of the associated sending terminal and the usage record of the receiving terminal, and determine the charging information of this communication.
计费单元104,用于根据确定的计费信息对所述发送终端和/或接收终端进行计费。The charging unit 104 is configured to charge the sending terminal and/or the receiving terminal according to the determined charging information.
本发明实施例提供的离线计费系统可以使用在前述对应的计费方法实施例一、实施例二、实施例三中,可以参照前述实施例一并理解。The offline charging system provided by the embodiment of the present invention can be used in the foregoing corresponding charging method embodiments 1, 2, and 3, and can be understood together with reference to the foregoing embodiments.
在本发明实施例提供的离线计费系统中,上报接收单元101接收通讯的发送终端和接收终端的上报消息,第一关联单元102和第一核对单元103根据上报消息中的关联标识关联并核对所述发送终端和接收终端的使用记录,计费单元104根据核对后确定的计费信息对所述发送终端和/或接收终端进行计费。与现有技术相比,本发明实施例提供的离线计费系统可以通过核对发送终端与接收终端的近距离使用记录对终端进行计费,克服了现有技术中近距离业务通讯不经过网络服务提供商部署的网元而无法计费的技术缺陷,满足了网络服务提供商对终端用户进行计费的需求。In the offline charging system provided by the embodiment of the present invention, the report receiving unit 101 receives the report messages of the sending terminal and the receiving terminal of the communication, and the first association unit 102 and the first checking unit 103 associate and check according to the association identifier in the report message The billing unit 104 charges the sending terminal and/or the receiving terminal according to the billing information determined after checking the usage records of the sending terminal and the receiving terminal. Compared with the existing technology, the offline billing system provided by the embodiment of the present invention can charge the terminal by checking the short-distance use records of the sending terminal and the receiving terminal, which overcomes the problem that the short-distance business communication does not go through the network service in the prior art. The technical defect that the network elements deployed by the provider cannot be billed satisfies the needs of network service providers for billing end users.
进一步的,在本发明实施例提供的离线计费系统中,上述关联标识包括通讯会话标识、IP数据发送时间和IP数据接收时间、应用类型、通讯业务类型、上报序列号、群组标识中的至少一种;Further, in the offline charging system provided by the embodiment of the present invention, the above-mentioned association identifier includes communication session identifier, IP data sending time and IP data receiving time, application type, communication service type, reported serial number, and group identifier. at least one;
第一关联单元102根据关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录包括:The first associating unit 102 associating the use records of the sending terminal and the use records of the receiving terminal in this communication according to the association identifier includes:
第一关联单元102关联具有相同通讯会话标识、应用类型、通讯业务类型、上报序列号或群组标识的近距离业务发送终端的使用记录和接收终端的使用记录;或The first associating unit 102 associates the use record of the sending terminal and the use record of the receiving terminal with the same communication session identifier, application type, communication service type, reported serial number or group identifier; or
第一关联单元102关联IP数据发送时间与IP数据接收时间之间间隔小于预设时间的近距离业务发送终端的使用记录和接收终端的使用记录。The first associating unit 102 associates the use record of the short-distance service sending terminal and the use record of the receiving terminal for which the interval between the IP data sending time and the IP data receiving time is less than a preset time.
继续参见图12,图12是本发明实施例七提供的离线计费系统中第一核对单元的示意图。Continuing to refer to FIG. 12 , FIG. 12 is a schematic diagram of the first checking unit in the offline charging system provided by Embodiment 7 of the present invention.
如图所示,离线计费系统中的第一核对单元103具体包括:As shown in the figure, the first checking unit 103 in the offline charging system specifically includes:
核对模块1031,用于核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致;A checking module 1031, configured to check whether the associated usage record of the sending terminal is consistent with the usage record of the receiving terminal;
计费信息确定模块1032,用于在所述发送终端和接收终端的使用记录一致时,确定本次通讯的计费信息为发送终端或接收终端的使用记录。The billing information determining module 1032 is configured to determine that the billing information of this communication is the usage record of the sending terminal or the receiving terminal when the usage records of the sending terminal and the receiving terminal are consistent.
进一步的,上述计费信息确定模块1032还用于在所述发送终端和接收终端的使用记录不一致时,则确定本次通讯的计费信息为发送终端的使用记录,或者确定本次通讯的计费信息为发送终端的使用记录和接收终端的使用记录中使用量较大的使用记录。Further, the above billing information determination module 1032 is also used to determine that the billing information of this communication is the usage record of the sending terminal when the usage records of the sending terminal and the receiving terminal are inconsistent, or determine the billing information of this communication. The fee information is the usage record with a larger usage volume among the usage records of the sending terminal and the usage records of the receiving terminal.
在本实施例中,核对模块1031核对相关联的发送终端的使用记录与所述接收终端的使用记录是否一致,然后由计费信息确定模块1032根据核对结果的不同情况,给出了不同的确定计费信息的方法,使得本发明实施例可以适应更多的应用场景,兼容性更好。In this embodiment, the checking module 1031 checks whether the associated usage record of the sending terminal is consistent with the usage record of the receiving terminal, and then the billing information determination module 1032 gives different determinations according to different situations of the checking result The charging information method enables the embodiment of the present invention to adapt to more application scenarios and has better compatibility.
继续参见图13,图13是本发明实施例七提供的离线计费系统中第一关联单元的示意图。Continuing to refer to FIG. 13 , FIG. 13 is a schematic diagram of the first association unit in the offline charging system provided by Embodiment 7 of the present invention.
如图所示,离线计费系统中的第一关联单元102包括:As shown in the figure, the first association unit 102 in the offline charging system includes:
记录获取模块1021,用于获取发送终端和接收终端的使用记录中上报时间早于或等于(包括网络延迟等因素的约等于)预设截止时间的使用记录;The record obtaining module 1021 is used to obtain the use records in the use records of the sending terminal and the receiving terminal whose reporting time is earlier than or equal to (including network delay and other factors approximately equal to) the preset cut-off time;
关联模块1022,用于根据所述关联标识关联本次通讯中所述发送终端和接收终端的使用记录中所述上报时间早于或等于(包括网络延迟等因素的约等于)预设截止时间的使用记录。The associating module 1022 is used for associating according to the associating identifier the information in the use records of the sending terminal and the receiving terminal in this communication that the reporting time is earlier than or equal to (including approximately equal to the network delay and other factors) the preset cut-off time Use records.
在本发明实施例提供的离线计费系统中,关联模块1022在关联使用记录时仅关联了本次通讯中发送终端和接收终端的使用记录中上报时间早于或等于(包括网络延迟等因素的约等于)预设截止时间的使用记录,排除了超期上报的使用记录。本发明实施例避免了恶意篡改延期上报的使用记录对计费的影响,提高了近距离计费的准确性和安全性。In the offline charging system provided by the embodiment of the present invention, when associating the use records, the associating module 1022 only associates the use records of the sending terminal and the receiving terminal in this communication with a report time earlier than or equal to (including network delay and other factors) Approximately equal to) the use records of the preset cut-off time, excluding the use records reported overdue. The embodiment of the present invention avoids the impact on billing caused by maliciously tampering with the usage record that is delayed and reported, and improves the accuracy and security of short-distance billing.
参见图14,图14是本发明实施例八提供的近距离业务功能实体的示意图。Referring to FIG. 14 , FIG. 14 is a schematic diagram of a short-distance service function entity provided by Embodiment 8 of the present invention.
如图所示,本实施例提供的近距离业务功能实体主要包括:As shown in the figure, the short-distance service functional entities provided by this embodiment mainly include:
消息接收单元201,用于接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识。The message receiving unit 201 is configured to receive the report message of the sending terminal and the report message of the receiving terminal in the short-distance business communication, the report message carries the use record of the sending terminal or the receiving terminal in the communication and the communication associated ID.
具体的,消息接收单元201具体用于接收近距离业务通讯的发送终端发送的上报消息,以及接收近距离业务通讯的接收终端对应的近距离业务功能实体发送的接收终端的上报消息。Specifically, the message receiving unit 201 is specifically configured to receive the reporting message sent by the sending terminal of the short-distance service communication, and receive the reporting message of the receiving terminal sent by the short-distance service functional entity corresponding to the receiving terminal of the short-distance business communication.
第二关联单元202,用于根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录。The second association unit 202 is configured to associate the use record of the sending terminal with the use record of the receiving terminal in this communication according to the association identifier.
第二核对单元203,用于核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息。The second checking unit 203 is configured to check the associated use record of the sending terminal and the use record of the receiving terminal, and determine the charging information of this communication.
计费请求单元204,用于根据确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费。The charging request unit 204 is configured to request the offline charging system to charge the sending terminal and/or the receiving terminal according to the determined charging information.
本发明实施例提供的近距离业务功能实体可以使用在前述对应的计费方法实施例四、实施例五中,可以参照前述实施例一并理解。The short-distance service function entity provided by the embodiment of the present invention can be used in the foregoing corresponding charging method embodiments 4 and 5, and can be understood together with reference to the foregoing embodiments.
在本发明实施例提供的近距离业务功能实体中,消息接收单元201接收通讯的发送终端和接收终端的上报消息,第二关联单元202和第二核对单元203根据上报消息中的关联标识关联并核对所述发送终端和接收终端的使用记录,计费请求单元204根据核对后确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费。与现有技术相比,本发明实施例提供的近距离业务功能实体可以通过核对发送终端与接收终端的近距离使用记录对终端进行计费,克服了现有技术中近距离业务通讯不经过网络服务提供商部署的网元而无法计费的技术缺陷,满足了网络服务提供商对终端用户进行计费的需求。In the short-distance service function entity provided by the embodiment of the present invention, the message receiving unit 201 receives the reporting message of the sending terminal and the receiving terminal of the communication, and the second associating unit 202 and the second checking unit 203 associate and After checking the usage records of the sending terminal and the receiving terminal, the charging request unit 204 requests the offline charging system to charge the sending terminal and/or the receiving terminal according to the charging information determined after checking. Compared with the prior art, the short-distance service function entity provided by the embodiment of the present invention can charge the terminal by checking the short-distance use records of the sending terminal and the receiving terminal, which overcomes the problem that the short-distance service communication in the prior art does not go through the network. The technical defect that the network elements deployed by the service provider cannot be billed meets the needs of the network service provider to charge the terminal user.
进一步的,本发明实施例八提供的近距离业务功能实体还包括:Further, the short-distance service functional entity provided in Embodiment 8 of the present invention further includes:
计费信息发送单元205,用于向所述接收终端对应的近距离业务功能实体发送核对后确定的计费信息。The charging information sending unit 205 is configured to send the checked and determined charging information to the short distance service function entity corresponding to the receiving terminal.
本发明实施例中的计费信息发送单元205通过向接收终端对应的近距离业务功能实体发送核对后确定的计费信息,进一步提供了一种由接收终端所在网络的离线计费系统对接收终端进行计费的方法。The charging information sending unit 205 in the embodiment of the present invention further provides an offline charging system for the receiving terminal by the offline charging system of the network where the receiving terminal is located by sending the checked and determined charging information to the short-distance service function entity corresponding to the receiving terminal. The method for billing.
继续参见图15,图15是本发明实施例八提供的近距离业务功能实体中计费请求单元的示意图,Continue to refer to FIG. 15, which is a schematic diagram of the charging request unit in the short-distance service function entity provided by Embodiment 8 of the present invention.
如图所示,近距离业务功能实体中的计费请求单元204主要包括:As shown in the figure, the charging request unit 204 in the short-distance service function entity mainly includes:
记录生成模块2041,用于根据确定的计费信息生成计费数据记录;A record generating module 2041, configured to generate charging data records according to the determined charging information;
记录发送模块2042,用于向OFCS发送所述计费数据记录。A record sending module 2042, configured to send the charging data record to OFCS.
本发明实施例中通过由记录生成模块2041生成CDR并由记录发送模块2042发送CDR到OFCS,可以兼容现有的OFCS,不需要对OFCS进行任何改进,节约成本。In the embodiment of the present invention, by generating the CDR by the record generating module 2041 and sending the CDR to the OFCS by the record sending module 2042, it can be compatible with the existing OFCS, without any improvement to the OFCS, saving costs.
参见图16,图16是本发明实施例九提供的近距离业务通讯的终端的示意图。Referring to FIG. 16 , FIG. 16 is a schematic diagram of a short-distance service communication terminal provided by Embodiment 9 of the present invention.
如图所示,本发明实施例提供的近距离业务通讯的终端主要包括:As shown in the figure, the terminal for short-distance business communication provided by the embodiment of the present invention mainly includes:
获取单元301,用于获取近距离业务通讯的关联标识和上报条件;其中,所述上报条件包括:预设间隔上报、在预设时间内上报、在用户每次使用所述近距离业务后上报或者在用户设备返回公共陆地移动网络时一次性上报中的至少一种,所述关联标识包括通讯标识、IP数据发送时间和IP数据接收时间、应用类型、通讯业务类型、上报序列号、群组标识中的至少一种。The obtaining unit 301 is configured to obtain the association identifier and reporting conditions of the short-distance service communication; wherein, the reporting conditions include: reporting at a preset interval, reporting within a preset time, and reporting after each use of the short-distance service by the user Or at least one of one-time reporting when the user equipment returns to the public land mobile network, the associated identification includes communication identification, IP data sending time and IP data receiving time, application type, communication service type, reporting sequence number, group at least one of the identities.
上报单元302,用于在所述上报条件满足时,发送上报消息到近距离业务功能实体,所述上报消息中携带所述终端在所述通讯中的使用记录和所述通讯的关联标识。The reporting unit 302 is configured to send a reporting message to the short-distance service function entity when the reporting condition is satisfied, the reporting message carrying the usage record of the terminal in the communication and the communication association identifier.
具体的,上述终端中的获取单元302获取近距离业务的关联标识和上报条件包括:获取单元301生成近距离业务的关联标识和上报条件。Specifically, the acquiring unit 302 in the above terminal acquires the association identifier and the reporting condition of the short-distance service includes: the acquiring unit 301 generates the association identifier and the reporting condition of the short-distance service.
在本发明实施例提供的终端中,上报单元302在所述上报条件满足时,发送上报消息到近距离业务功能实体,以便于近距离业务功能实体或离线计费系统对终端进行计费。In the terminal provided by the embodiment of the present invention, the reporting unit 302 sends a reporting message to the short-distance service functional entity when the reporting condition is satisfied, so that the short-distance service functional entity or the offline charging system charges the terminal.
进一步的,本发明实施例提供的终端还包括:Further, the terminal provided in the embodiment of the present invention also includes:
数据发送单元303,用于在所述终端作为近距离业务通讯的发送终端时,通过IP数据向近距离业务通讯的接收终端发送所述关联标识和上报条件。The data sending unit 303 is configured to send the association identifier and the reporting condition to the receiving terminal of the short-distance business communication through IP data when the terminal is used as the sending terminal of the short-distance business communication.
此时,对应的接收终端中的获取单元301获取近距离业务的关联标识和上报条件具体包括:At this time, the acquisition unit 301 in the corresponding receiving terminal acquires the association identifier and the reporting condition of the short-distance service specifically includes:
所述获取单元301接收近距离业务通讯的发送终端通过IP数据发送的关联标识和上报条件。The acquisition unit 301 receives the association identifier and reporting condition sent by the sending terminal of the short-distance service communication through IP data.
进一步的,在本发明实施例提供的终端中,上述上报单元302发送上报消息到近距离业务功能实体具体包括:Further, in the terminal provided by the embodiment of the present invention, the reporting unit 302 sending the reporting message to the short-distance service functional entity specifically includes:
所述上报单元302向近距离业务功能实体请求加密密钥,根据请求的加密密钥加密发送上报消息到近距离业务功能实体;The reporting unit 302 requests an encryption key from the short-distance service functional entity, and encrypts and sends a report message to the short-distance service functional entity according to the requested encryption key;
或者所述上报单元302通过公钥加密发送上报消息到近距离业务功能实体。Alternatively, the reporting unit 302 sends the reporting message to the short-distance service function entity through public key encryption.
本发明实施例中上报单元302通过加密发送上报消息到近距离业务功能实体,可以防止上报消息被恶意接收和篡改,提升了近距离计费过程的安全性。In the embodiment of the present invention, the reporting unit 302 sends the reporting message to the short-distance service functional entity through encryption, which can prevent the reporting message from being maliciously received and tampered with, and improves the security of the short-distance charging process.
参见图17,图17是本发明实施例十提供的离线计费系统的示意图。Referring to FIG. 17 , FIG. 17 is a schematic diagram of an offline charging system provided by Embodiment 10 of the present invention.
如图所示,本实施例提供的离线计费系统主要包括:As shown in the figure, the offline billing system provided by this embodiment mainly includes:
第一处理器401、第一存储器402和第一总线403,所述第一存储器402用于存储计算机执行指令,所述第一处理器401与所述第一存储器402通过所述第一总线403连接,当所述离线计费系统运行时,所述第一处理器401执行所述计算机执行指令,以使所述离线计费系统执行如下方法:The first processor 401, the first memory 402 and the first bus 403, the first memory 402 is used to store computer execution instructions, the first processor 401 and the first memory 402 pass through the first bus 403 connection, when the offline charging system is running, the first processor 401 executes the computer-executed instructions, so that the offline charging system performs the following method:
接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识;Receive a report message from a sending terminal and a report message from a receiving terminal in short-distance service communication, where the report message carries a usage record of the sending terminal or receiving terminal in the communication and an associated identifier of the communication;
根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录;Associating the use records of the sending terminal and the use records of the receiving terminal in this communication according to the association identifier;
核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息;Checking the usage record of the associated sending terminal and the usage record of the receiving terminal to determine the billing information for this communication;
根据确定的计费信息对所述发送终端和/或接收终端进行计费。Charge the sending terminal and/or the receiving terminal according to the determined charging information.
本发明实施例提供的离线计费系统执行上述方法的过程和有益效果可以参考前述对应的计费方法实施例一、实施例二、实施例三中,在此不再赘述。The offline billing system provided by the embodiment of the present invention may refer to the aforementioned corresponding billing method embodiment 1, embodiment 2, and embodiment 3 for the process and beneficial effects of performing the above method, and details are not repeated here.
在本发明实施例提供的离线计费系统中,上使用记录包括近距离业务使用时长、使用次数、使用流量中的至少一种。In the offline charging system provided by the embodiment of the present invention, the online usage record includes at least one of the short-distance service usage time, usage times, and usage traffic.
与现有技术相比,本发明实施例提供的离线计费系统可以通过核对发送终端与接收终端的近距离使用记录对终端进行计费,克服了现有技术中近距离业务通讯不经过网络服务提供商部署的网元而无法计费的技术缺陷,满足了网络服务提供商对终端用户进行计费的需求。Compared with the existing technology, the offline billing system provided by the embodiment of the present invention can charge the terminal by checking the short-distance use records of the sending terminal and the receiving terminal, which overcomes the problem that the short-distance business communication does not go through the network service in the prior art. The technical defect that the network elements deployed by the provider cannot be billed satisfies the needs of network service providers for billing end users.
在本发明实施例提供的离线计费系统中,上述关联标识包括通讯会话标识、IP数据发送时间和IP数据接收时间、应用类型、通讯业务类型、上报序列号、群组标识中的至少一种。In the offline charging system provided by the embodiment of the present invention, the above-mentioned association identifier includes at least one of communication session identifier, IP data sending time and IP data receiving time, application type, communication service type, reported serial number, and group identifier .
离线计费系统执行根据关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录的步骤具体包括:The offline billing system executes the steps of associating the use records of the sending terminal and the use records of the receiving terminal in this communication according to the association identifier, specifically including:
离线计费系统关联具有相同通讯会话标识、应用类型、通讯业务类型、上报序列号或群组标识的近距离业务发送终端的使用记录和接收终端的使用记录;或The offline charging system associates the usage records of the short-distance service sending terminal and the receiving terminal with the same communication session ID, application type, communication service type, reported serial number or group ID; or
离线计费系统关联IP数据发送时间与IP数据接收时间之间间隔小于预设时间的近距离业务发送终端的使用记录和接收终端的使用记录。The offline billing system associates the use record of the short-distance service sending terminal and the use record of the receiving terminal for which the interval between the IP data sending time and the IP data receiving time is less than a preset time.
参见图18,图18是本发明实施例十一提供的近距离业务功能实体的示意图。Referring to FIG. 18 , FIG. 18 is a schematic diagram of a short-distance service function entity provided by Embodiment 11 of the present invention.
如图所示,本实施例提供的近距离业务功能实体主要包括:As shown in the figure, the short-distance service functional entities provided by this embodiment mainly include:
第二处理器501、第二存储器502和第二总线503,所述第二存储器502用于存储计算机执行指令,所述第二处理器501与所述第二存储器502通过所述第二总线503连接,当所述近距离业务功能实体运行时,所述第二处理器501执行所述计算机执行指令,以使所述近距离业务功能实体执行如下方法:The second processor 501, the second memory 502 and the second bus 503, the second memory 502 is used to store computer execution instructions, the second processor 501 and the second memory 502 pass through the second bus 503 connection, when the short-distance service function entity is running, the second processor 501 executes the computer-executed instruction, so that the short-distance service function entity performs the following method:
接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,所述上报消息中携带所述发送终端或接收终端在所述通讯中的使用记录和所述通讯的关联标识;Receive a report message from a sending terminal and a report message from a receiving terminal in short-distance service communication, where the report message carries a usage record of the sending terminal or receiving terminal in the communication and an associated identifier of the communication;
根据所述关联标识关联本次通讯中发送终端的使用记录和接收终端的使用记录;Associating the use records of the sending terminal and the use records of the receiving terminal in this communication according to the association identifier;
核对相关联的发送终端的使用记录与所述接收终端的使用记录,确定本次通讯的计费信息;Checking the usage record of the associated sending terminal and the usage record of the receiving terminal to determine the billing information for this communication;
根据确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费。Requesting the offline charging system to charge the sending terminal and/or the receiving terminal according to the determined charging information.
本发明实施例提供的近距离业务功能实体执行上述方法的过程和有益效果可以参考前述对应的计费方法实施例四、实施例五,在此不再赘述。For the process and beneficial effects of performing the above method by the short-distance service function entity provided by the embodiment of the present invention, reference may be made to the foregoing corresponding charging method embodiment 4 and embodiment 5, and details are not repeated here.
与现有技术相比,本发明实施例提供的近距离业务功能实体可以通过核对发送终端与接收终端的近距离使用记录对终端进行计费,克服了现有技术中近距离业务通讯不经过网络服务提供商部署的网元而无法计费的技术缺陷,满足了网络服务提供商对终端用户进行计费的需求。Compared with the prior art, the short-distance service function entity provided by the embodiment of the present invention can charge the terminal by checking the short-distance use records of the sending terminal and the receiving terminal, which overcomes the problem that the short-distance service communication in the prior art does not go through the network. The technical defect that the network elements deployed by the service provider cannot be billed meets the needs of the network service provider to charge the terminal user.
进一步的,本发明实施例提供的近距离业务功能实体执行上述计费方法还包括以下步骤:Further, the near-distance service function entity provided by the embodiment of the present invention performs the above charging method further includes the following steps:
向所述接收终端对应的近距离业务功能实体发送核对后确定的计费信息。Sending the checked and determined charging information to the short-distance service function entity corresponding to the receiving terminal.
本发明实施例中的近距离业务功能实体通过向接收终端对应的近距离业务功能实体发送核对后确定的计费信息,进一步提供了一种由接收终端所在网络的离线计费系统对接收终端进行计费的方法。The short-distance service functional entity in the embodiment of the present invention further provides an offline charging system for the receiving terminal by the offline charging system of the network where the receiving terminal is located by sending the billing information determined after verification to the short-distance service functional entity corresponding to the receiving terminal. Billing method.
进一步的,本发明实施例提供的近距离业务功能实体执行根据确定的计费信息请求离线计费系统对所述发送终端和/或接收终端进行计费具体包括:Further, the execution of the short-distance service function entity provided by the embodiment of the present invention to request the offline charging system to charge the sending terminal and/or receiving terminal according to the determined charging information specifically includes:
根据确定的计费信息生成计费数据记录,向OFCS发送所述计费数据记录。Generate a charging data record according to the determined charging information, and send the charging data record to the OFCS.
本发明实施例提供的近距离业务功能实体通过生成并发送CDR到OFCS,可以兼容现有的OFCS,不需要对OFCS进行任何改进,节约成本。The short-distance service function entity provided by the embodiment of the present invention can be compatible with the existing OFCS by generating and sending the CDR to the OFCS, and does not need any improvement on the OFCS, thereby saving costs.
参见图19,图19是本发明实施例十二提供的近距离业务通讯的终端的示意图。Referring to FIG. 19 , FIG. 19 is a schematic diagram of a short-distance service communication terminal provided by Embodiment 12 of the present invention.
如图所示,本发明实施例提供的近距离业务通讯的终端主要包括:As shown in the figure, the terminal for short-distance business communication provided by the embodiment of the present invention mainly includes:
第三处理器601、第三存储器602和第三总线603,所述第三存储器602用于存储计算机执行指令,所述第三处理器601与所述第三存储器602通过所述第三总线603连接,当所述终端运行时,所述第三处理器601执行所述计算机执行指令,以使所述终端执行如下方法:A third processor 601, a third memory 602 and a third bus 603, the third memory 602 is used to store computer execution instructions, the third processor 601 and the third memory 602 pass through the third bus 603 connection, when the terminal is running, the third processor 601 executes the computer-executed instruction, so that the terminal performs the following method:
获取近距离业务通讯的关联标识和上报条件;Obtain the association identification and reporting conditions of short-distance business communication;
在所述上报条件满足时,发送上报消息到近距离业务功能实体,所述上报消息中携带所述终端在所述通讯中的使用记录和所述通讯的关联标识。When the reporting condition is satisfied, a reporting message is sent to the short-distance service functional entity, where the reporting message carries the usage record of the terminal in the communication and the communication association identifier.
其中,所述上报条件包括:预设间隔上报、在预设时间内上报、在用户每次使用所述近距离业务后上报或者在用户设备返回公共陆地移动网络时一次性上报中的至少一种,所述关联标识包括通讯标识、IP数据发送时间和IP数据接收时间、应用类型、通讯业务类型、上报序列号、群组标识中的至少一种。Wherein, the reporting conditions include: at least one of reporting at a preset interval, reporting within a preset time, reporting after the user uses the short-distance service each time, or reporting once when the user equipment returns to the public land mobile network The association identifier includes at least one of communication identifier, IP data sending time and IP data receiving time, application type, communication service type, reporting sequence number, and group identifier.
具体的,上述终端执行获取近距离业务的关联标识和上报条件包括的步骤具体为:生成近距离业务的关联标识和上报条件。Specifically, the step of obtaining the association identifier and reporting condition of the short-distance service by the above-mentioned terminal includes the following steps: generating the association identifier and reporting condition of the short-distance service.
在本发明实施例提供的终端中,在上报条件满足时,发送上报消息到近距离业务功能实体,以便于近距离业务功能实体或离线计费系统对终端进行计费。In the terminal provided by the embodiment of the present invention, when the reporting condition is satisfied, the reporting message is sent to the short-distance service functional entity, so that the short-distance service functional entity or the offline charging system charges the terminal.
进一步的,本发明实施例提供的终端还执行以下步骤:Further, the terminal provided in the embodiment of the present invention also performs the following steps:
在所述终端作为近距离业务通讯的发送终端时,通过IP数据向近距离业务通讯的接收终端发送所述关联标识和上报条件。When the terminal is used as the sending terminal of the short-distance business communication, the association identifier and the reporting condition are sent to the receiving terminal of the short-distance business communication through IP data.
此时,对应的接收终端获取近距离业务的关联标识和上报条件的步骤具体包括:接收近距离业务通讯的发送终端通过IP数据发送的关联标识和上报条件。At this time, the step for the corresponding receiving terminal to obtain the association identifier and the reporting condition of the short-distance service specifically includes: receiving the association identifier and the reporting condition sent by the transmitting terminal of the short-distance service communication through IP data.
进一步的,在本发明实施例提供的终端执行发送上报消息到近距离业务功能实体的步骤具体包括:Further, the step of sending the report message to the short-distance service function entity by the terminal provided in the embodiment of the present invention specifically includes:
向近距离业务功能实体请求加密密钥,根据请求的加密密钥加密发送上报消息到近距离业务功能实体;或者通过公钥加密发送上报消息到近距离业务功能实体。Request an encryption key from the proximity service functional entity, encrypt and send the report message to the proximity service functional entity according to the requested encryption key; or send the report message to the proximity service functional entity through public key encryption.
本发明实施例提供的终端通过加密发送上报消息到近距离业务功能实体,可以防止上报消息被恶意接收和篡改,提升了近距离计费过程的安全性。The terminal provided by the embodiment of the present invention sends the report message to the short-distance service functional entity through encryption, which can prevent the report message from being maliciously received and tampered with, and improves the security of the short-distance charging process.
参见图20,图20是本发明实施例十三提供的近距离业务通讯的计费系统的示意图。Referring to FIG. 20 , FIG. 20 is a schematic diagram of a billing system for short-distance service communication provided by Embodiment 13 of the present invention.
如图所示,本发明实施例提供的近距离业务通讯的计费系统包括:如实施例七提供的离线计费系统701以及近距离业务功能实体702。As shown in the figure, the billing system for short distance service communication provided by the embodiment of the present invention includes: the offline billing system 701 provided in Embodiment 7 and a short distance service function entity 702 .
其中,所述近距离业务功能实体702用于接收近距离业务通讯的发送终端的上报消息和接收终端的上报消息,向离线计费系统701发送所述发送终端的上报消息和接收终端的上报消息。Wherein, the short-distance service function entity 702 is used to receive the reporting message of the sending terminal and the reporting message of the receiving terminal in the short-distance service communication, and send the reporting message of the sending terminal and the reporting message of the receiving terminal to the offline charging system 701 .
在本发明实施例提供的近距离业务通讯的计费系统中,离线计费系统701接收通讯的发送终端和接收终端的上报消息,根据上报消息中的关联标识关联并核对所述发送终端和接收终端的使用记录,根据核对后确定的计费信息对所述发送终端和/或接收终端进行计费。与现有技术相比,本发明实施例可以由离线计费系统701通过核对发送终端与接收终端的近距离使用记录对终端进行计费,克服了现有技术中近距离业务通讯不经过网络服务提供商部署的网元而无法计费的技术缺陷,满足了网络服务提供商对终端用户进行计费的需求。In the billing system for short-distance business communication provided by the embodiment of the present invention, the offline billing system 701 receives the reporting message of the sending terminal and the receiving terminal of the communication, and associates and checks the sending terminal and the receiving terminal according to the association identifier in the reporting message. According to the usage record of the terminal, charge the sending terminal and/or the receiving terminal according to the billing information determined after checking. Compared with the prior art, the offline billing system 701 in this embodiment of the present invention can charge the terminal by checking the short-distance usage records of the sending terminal and the receiving terminal, which overcomes the problem that the short-distance business communication does not go through the network service in the prior art. The technical defect that the network elements deployed by the provider cannot be billed satisfies the needs of network service providers for billing end users.
参见图21,图21是本发明实施例十四提供的近距离业务通讯的计费系统的示意图。Referring to FIG. 21 , FIG. 21 is a schematic diagram of a billing system for short-distance service communication provided by Embodiment 14 of the present invention.
如图所示,本发明实施例提供的近距离业务通讯的计费系统包括:As shown in the figure, the billing system for short-distance business communication provided by the embodiment of the present invention includes:
上述实施例八提供的近距离业务功能实体801以及离线计费系统802,其中离线计费系统802用于根据所述近距离业务功能实体的请求对所述发送终端和/或接收终端进行计费。The short-distance service functional entity 801 and the offline charging system 802 provided in the eighth embodiment above, wherein the offline charging system 802 is used to charge the sending terminal and/or the receiving terminal according to the request of the short-distance service functional entity .
与现有技术相比,本发明实施例提供的计费系统中的近距离业务功能实体801可以通过核对发送终端和接收终端的近距离使用记录对终端进行计费,克服了现有技术中近距离业务通讯不经过网络服务提供商部署的网元而无法计费的技术缺陷,满足了网络服务提供商对终端用户进行计费的需求。Compared with the prior art, the short-distance service functional entity 801 in the billing system provided by the embodiment of the present invention can charge the terminal by checking the short-distance usage records of the sending terminal and the receiving terminal, which overcomes the short-distance service function entity 801 in the prior art. The technical defect that the distance service communication cannot be billed without passing through the network elements deployed by the network service provider satisfies the needs of the network service provider for charging end users.
本领域普通技术人员将会理解,本发明的各个方面、或各个方面的可能实现方式可以被具体实施为系统、方法或者计算机程序产品。因此,本发明的各方面、或各个方面的可能实现方式可以采用完全硬件实施例、完全软件实施例(包括固件、驻留软件等等),或者组合软件和硬件方面的实施例的形式,在这里都统称为“电路”、“模块”或者“系统”。此外,本发明的各方面、或各个方面的可能实现方式可以采用计算机程序产品的形式,计算机程序产品是指存储在计算机可读介质中的计算机可读程序代码。Those of ordinary skill in the art will understand that various aspects of the present invention, or possible implementations of various aspects, may be embodied as systems, methods or computer program products. Accordingly, aspects of the present invention, or possible implementations of various aspects, may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, etc.), or an embodiment combining software and hardware aspects, described in These are collectively referred to herein as "circuits," "modules," or "systems." In addition, aspects of the present invention, or possible implementations of various aspects, may take the form of computer program products, and computer program products refer to computer-readable program codes stored in computer-readable media.
计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质包含但不限于电子、磁性、光学、电磁、红外或半导体系统、设备或者装置,或者前述的任意适当组合,如随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或者快闪存储器)、光纤、便携式只读存储器(CD-ROM)。The computer readable medium may be a computer readable signal medium or a computer readable storage medium. Computer-readable storage media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing, such as random access memory (RAM), read-only memory (ROM), Erase Programmable Read-Only Memory (EPROM or Flash), Fiber Optic, Portable Read-Only Memory (CD-ROM).
计算机中的处理器读取存储在计算机可读介质中的计算机可读程序代码,使得处理器能够执行在流程图中每个步骤、或各步骤的组合中规定的功能动作;生成实施在框图的每一块、或各块的组合中规定的功能动作的装置。The processor in the computer reads the computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step in the flow chart, or a combination of steps; A device that performs functional actions specified in each block or a combination of blocks.
计算机可读程序代码可以完全在用户的计算机上执行、部分在用户的计算机上执行、作为单独的软件包、部分在用户的计算机上并且部分在远程计算机上,或者完全在远程计算机或者服务器上执行。也应该注意,在某些替代实施方案中,在流程图中各步骤、或框图中各块所注明的功能可能不按图中注明的顺序发生。例如,依赖于所涉及的功能,接连示出的两个步骤、或两个块实际上可能被大致同时执行,或者这些块有时候可能被以相反顺序执行。The computer readable program code may execute entirely on the user's computer, partly on the user's computer, as a separate software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server . It should also be noted that, in some alternative implementations, the functions noted at the steps in the flowcharts or blocks in the block diagrams may occur out of the order noted in the figures. For example, two steps, or two blocks shown in succession, may in fact be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (34)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410363474.2A CN104113831A (en) | 2014-07-26 | 2014-07-26 | Close range business communication charging method and system and relative device |
PCT/CN2015/076341 WO2016015490A1 (en) | 2014-07-26 | 2015-04-10 | Accounting method, system and related device for proximity-based service communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410363474.2A CN104113831A (en) | 2014-07-26 | 2014-07-26 | Close range business communication charging method and system and relative device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104113831A true CN104113831A (en) | 2014-10-22 |
Family
ID=51710434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410363474.2A Pending CN104113831A (en) | 2014-07-26 | 2014-07-26 | Close range business communication charging method and system and relative device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104113831A (en) |
WO (1) | WO2016015490A1 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016015490A1 (en) * | 2014-07-26 | 2016-02-04 | 华为技术有限公司 | Accounting method, system and related device for proximity-based service communication |
CN105611533A (en) * | 2014-11-06 | 2016-05-25 | 中兴通讯股份有限公司 | Message integrity check MIC inspection method and MIC inspection device |
CN106034279A (en) * | 2015-03-11 | 2016-10-19 | 中兴通讯股份有限公司 | D2D service authorization method and prose function |
CN106331978A (en) * | 2015-06-19 | 2017-01-11 | 电信科学技术研究院 | Selection method and apparatus of layer-2 link identifier and notification method and apparatus of layer-2 link identifier |
WO2017067337A1 (en) * | 2015-10-23 | 2017-04-27 | 中兴通讯股份有限公司 | Method and apparatus for controlling monitoring service of proximity-based service |
CN108738357A (en) * | 2016-02-29 | 2018-11-02 | 株式会社unerry | Information processing unit, mancarried device and system |
WO2022120705A1 (en) * | 2020-12-10 | 2022-06-16 | 华为技术有限公司 | Proximity-based-services billing method and communication apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101272546A (en) * | 2008-04-30 | 2008-09-24 | 四川长虹电器股份有限公司 | Authentication, charging system and method based on mobile phone |
CN101467158A (en) * | 2006-05-10 | 2009-06-24 | 第一数据公司 | System and method for activating telephone-based payment instrument |
US20140134974A1 (en) * | 2012-11-12 | 2014-05-15 | Innovative Sonic Corporation | Method and apparatus for reporting charging information of direct device to device communication in a wireless communication system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104012012A (en) * | 2011-12-20 | 2014-08-27 | Lg电子株式会社 | Network-initiated control method and apparatus for providing proximity service |
CN104113831A (en) * | 2014-07-26 | 2014-10-22 | 华为技术有限公司 | Close range business communication charging method and system and relative device |
-
2014
- 2014-07-26 CN CN201410363474.2A patent/CN104113831A/en active Pending
-
2015
- 2015-04-10 WO PCT/CN2015/076341 patent/WO2016015490A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101467158A (en) * | 2006-05-10 | 2009-06-24 | 第一数据公司 | System and method for activating telephone-based payment instrument |
CN101272546A (en) * | 2008-04-30 | 2008-09-24 | 四川长虹电器股份有限公司 | Authentication, charging system and method based on mobile phone |
US20140134974A1 (en) * | 2012-11-12 | 2014-05-15 | Innovative Sonic Corporation | Method and apparatus for reporting charging information of direct device to device communication in a wireless communication system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016015490A1 (en) * | 2014-07-26 | 2016-02-04 | 华为技术有限公司 | Accounting method, system and related device for proximity-based service communication |
CN105611533A (en) * | 2014-11-06 | 2016-05-25 | 中兴通讯股份有限公司 | Message integrity check MIC inspection method and MIC inspection device |
US10484396B2 (en) | 2014-11-06 | 2019-11-19 | Xi'an Zhongxing New Software Co., Ltd. | Method and device for examining message integrity check |
CN106034279A (en) * | 2015-03-11 | 2016-10-19 | 中兴通讯股份有限公司 | D2D service authorization method and prose function |
CN106034279B (en) * | 2015-03-11 | 2020-06-30 | 中兴通讯股份有限公司 | D2D service authorization method and near field communication server |
CN106331978A (en) * | 2015-06-19 | 2017-01-11 | 电信科学技术研究院 | Selection method and apparatus of layer-2 link identifier and notification method and apparatus of layer-2 link identifier |
CN106331978B (en) * | 2015-06-19 | 2019-09-17 | 电信科学技术研究院 | A kind of selection, notification method and the device of 2 link identification of layer |
WO2017067337A1 (en) * | 2015-10-23 | 2017-04-27 | 中兴通讯股份有限公司 | Method and apparatus for controlling monitoring service of proximity-based service |
CN108738357A (en) * | 2016-02-29 | 2018-11-02 | 株式会社unerry | Information processing unit, mancarried device and system |
WO2022120705A1 (en) * | 2020-12-10 | 2022-06-16 | 华为技术有限公司 | Proximity-based-services billing method and communication apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2016015490A1 (en) | 2016-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6526082B2 (en) | Funding a mobile session with another mobile station in a wireless network | |
WO2016015490A1 (en) | Accounting method, system and related device for proximity-based service communication | |
CN112910969B (en) | Service management method and device | |
US8548427B2 (en) | System and method for peer-to-peer transfer of multimedia content and reconciliation thereof | |
CN104272707B (en) | The method and apparatus for supporting neighbouring discovery procedure | |
US10193702B2 (en) | Method and apparatus for providing sponsoring service between user equipments | |
KR102224368B1 (en) | Method and system for charging information recording in device to device(d2d) communication | |
US9602677B2 (en) | Charging for commercial group based messaging | |
US9756192B2 (en) | Online charging for proximity services | |
CN113691949B (en) | Method and apparatus for service layer charging association with underlying network | |
JP6271710B2 (en) | Method for policy control and charging for D2D service | |
CN104335550A (en) | Systems, methods, and apparatus for machine to machine device triggering | |
US9775018B2 (en) | Offline charging for proximity services | |
US20130013792A1 (en) | Triggering With QoS Parameters | |
RU2759264C2 (en) | User device capable of transmitting messages confirming provision of services | |
EP2894890A1 (en) | Conditional access to a wireless network | |
CN106538003B (en) | Method and entity for the positioning of targets connected to a Wi-Fi network in a LI system | |
US9544444B2 (en) | Differentiated MMS billing based on roaming status determination of user devices | |
WO2022262608A1 (en) | Billing method, user equipment and network-side device | |
CN102571368A (en) | Charging method and access device | |
CN104301880B (en) | A kind of data service charge on traffic accuracy detection method for the network mobile communication systems of CDMA 2000 | |
US20170264444A1 (en) | Method and apparatuses for performing online charging to gcs-as based on ro interface | |
CN102308603B (en) | Charge mode and network access device | |
CN101431422A (en) | Accounting method, accounting apparatus, accounting gateway and accounting system | |
EP3213541B1 (en) | Radius/diameter authentication based gx policy management triggered by user location change |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20180601 |