WO2018035687A1 - Method, device and system for generating charging data record (cdr) - Google Patents
Method, device and system for generating charging data record (cdr) Download PDFInfo
- Publication number
- WO2018035687A1 WO2018035687A1 PCT/CN2016/096269 CN2016096269W WO2018035687A1 WO 2018035687 A1 WO2018035687 A1 WO 2018035687A1 CN 2016096269 W CN2016096269 W CN 2016096269W WO 2018035687 A1 WO2018035687 A1 WO 2018035687A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- communications device
- communication device
- data packet
- cdr
- 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.)
- Ceased
Links
Images
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
Definitions
- the present invention relates to the field of communications, and in particular, to a method, device, and system for generating a CDR.
- the third communications device is the UE, and the third communications device sends the CE information to a second communications device, including: the UE Sending the CE information to the second communication device by the first communication device.
- Figure 1 is a schematic diagram of coverage enhancement levels
- FIG. 3 is a flowchart of a method for generating a charging data record according to an embodiment of the present invention
- FIG. 7 is a flowchart of still another method for generating a charging data record according to an embodiment of the present invention.
- FIG. 9 is a flowchart of still another method for generating a charging data record according to an embodiment of the present invention.
- the present invention provides a method and a device for generating a CDR, which are used to solve the problem of unreasonable charging in the prior art.
- the method and the device are based on the same inventive concept. Since the principles of the method and the device for solving the problem are similar, the implementation of the device and the method can be referred to each other, and the repeated description is not repeated.
- the "and/or" used in the embodiments of the present invention may be a relationship of "and” or an "or” relationship, such as A and/or B, which may be either A alone or B alone. It can be A and B.
- MME Mainly responsible for all control plane functions of the user, that is, session management, including non-access stratum (NAS) signaling and security, tracking area management, PGW and SGW selection.
- session management including non-access stratum (NAS) signaling and security, tracking area management, PGW and SGW selection.
- NAS non-access stratum
- SGW It is mainly responsible for data transmission, forwarding, and route switching of the UE, and is used as a local mobility anchor point when the UE switches between eNBs. Among them, for each UE, only one S-GW serves it at a time.
- the SGW and the PGW are responsible for collecting the charging information and generating a Charging Data Record (CDR), that is, a charging bill.
- CDR Charging Data Record
- MME and SCEF are responsible for collecting charging information and generating CDRs. Since the uplink and downlink data transmissions are asymmetric, data traffic for uplink transmission and downlink reception of user equipment can be separately counted. The operator calculates the cost of the user's wireless communication service based on the CDR.
- the first communications device receives CE information of the UE.
- the CE information may include at least one of the following: CE indication information, CE level information, and CE mode information.
- the CE level information is used to indicate a CE level adopted by the UE, and the CE level may be a CE level adopted by the UE, for example, one of the levels 0 to 3 defined in the 3GPP protocol, and is not pre- limited.
- the first communications device sends the CE information of the UE to the second communications device, where the CE information is used by the second communications device to generate a CDR of the UE.
- the CDR may be in the form of a table, and the table 1 is taken as an example, including the type of the record, for example, the SGW CDR or PGW CDR, the user's IMSI, the record open time, the service data flow list, and the CE information.
- the CE information may refer to the related description in step 101; the service data traffic list may include the number of uplink data packets and/or the number of downlink data packets.
- step 101 includes 101a or 101b.
- the first signaling message may include a UE context resume request message or an Initial UE message.
- the MME may specifically send the uplink data packet of the UE according to the NAS message, where the uplink data packet carries the CE information of the UE. And upstream data.
- step 201a" may be applied to the scenario in which the user equipment data is transmitted by using the control plane transmission mode.
- the CE information of the UE may be specifically carried in the header of the second uplink data packet.
- the second communications device receives the downlink data packet of the UE.
- the base station sends the first signaling message carrying the CE information to the MME.
- the MME sends the CE information to the gateway device by using an uplink data packet or a second signaling message.
- step 102a or 102b, no longer repeat them.
- the gateway device generates a CDR of the UE according to the CE information and the GTP-U data packet.
- the gateway device may store the CE information of the UE, and the stored CE information may be used to generate a downlink CDR according to the CE information of the UE when the gateway device receives the downlink data packet.
- the CE information of the UE is stored as related information of the bearer, so that the gateway device can find the CE information of the UE by using the bearer.
- the gateway device generates a CDR of the UE according to the downlink data packet of the UE and the CE information of the UE.
- step 404 For a specific implementation of step 404, refer to the related description of step 202.
- the MME sends the CE information of the UE to the gateway device by modifying the bearer request message.
- the user plane transmission mode is taken as an example.
- the UE needs to send uplink data to the network side device.
- the UE sends a random access message to the base station to complete the RRC connection recovery with the base station.
- the base station sends the UE context carrying the CE information.
- Resume request to MME; MME sends carry
- the modify bearer request message of the CE information is sent to the SGW; the SGW sends the modify bearer request message to the PGW; after receiving the uplink data or the downlink data of the UE, the SGW and the PGW record the CE information in the CDR.
- the MME sends a GTP-U data packet to the gateway device according to the first signaling message, where the GTP-U data packet carries the CE information of the UE.
- the CE information of the UE may be carried in the header of the GTP-U data packet.
- the step 503 may include: the gateway device generates an uplink CDR of the UE according to the CE information of the UE and the GTP-U data packet.
- the UE sends a NAS message to the MME, where the NAS message carries the CE information of the UE and the uplink data of the UE.
- the UE initiates an attach procedure or a packet data network (PDN) connection establishment process.
- PDN packet data network
- the base station acquires the CE information of the UE, and sends the CE information of the UE to the MME by using the first signaling message.
- the MME sends a SCEF connection request message to the SCEF, where the created SCEF connection request message carries the CE information of the UE.
- the CE information of the UE is recorded in the CDR.
- the foregoing method further includes:
- steps 705 and 706 are executed is not limited.
- an embodiment of the present invention provides a first communications device, which may be used to perform the steps of the first communications device or MME in the embodiment shown in FIG. 3 or 7 or 8 or 9.
- the first communication device specifically includes: a receiving module 101 and a sending module 102.
- the CE information includes at least one of the following: CE indication information, CE level information, and CE mode information; the CE indication information is used to indicate that the UE uses a CE function, and the CE level information is used to indicate the UE.
- the adopted CE level, the CE mode information is used to indicate the CE mode adopted by the UE.
- the first communication device may be an MME or another device that is functionally equivalent to the MME.
- the second communication device may be a SCEF or a gateway device.
- the uplink data packet may be a non-IP data packet.
- the first communication device receives the CE information of the UE and sends the CE information of the UE to the second communication device, so that the second communication device generates the CDR of the UE according to the CE information, thereby enabling the charging.
- CE information When referring to CE information, it can realize differentiated charging for CE and improve the rationality of cost calculation.
- the generating module 202 is configured to generate a CDR of the UE according to the CE information received by the receiving module 201.
- the receiving module 201 is specifically configured to:
- the second communication device receives the location a second signaling message sent by the first communications device, where the second signaling message carries the CE information of the UE.
- the receiving module 201 is further configured to receive the second uplink data packet of the UE.
- the receiving module 201 is further configured to receive a downlink data packet of the UE.
- the sending module 302 is specifically configured to:
- the third communication device obtained by the foregoing embodiment obtains the CE information of the UE, and sends the CE information of the UE to the second communication device, so that the second communication device generates the CDR according to the CE information, and implements differentiated charging for the CE. To improve the rationality of the cost calculation.
- the processor 402 can be a central processing unit (English: central processing unit, CPU for short), or a digital processing unit or the like.
- the processor 402 receives and transmits messages via the communication interface 401.
- the memory 403 may be a volatile memory such as a RAM; the memory 403 may also be a non-volatile memory such as a ROM, a flash memory, an HDD, an SSD, or the memory 403 is a program that can be used to carry or store a desired program or a data structure. Code and any other medium that can be accessed by a computer, but is not limited thereto.
- the memory 403 may be a combination of the above memories.
- the gateway device can include a communication interface 501, a processor 502, and a memory 503.
- the memory 503 is configured to store program code executed by the processor 502.
- the processor 502 may be specifically configured to perform the steps of the second communication device, the gateway device or the SCEF in any of the embodiments shown in FIG. 4 or FIG. 6-9.
- the processor 601 may send the CE information to the second communication device by using the transceiver 603, and details are not described herein.
- the communication interface 604 is further included, and the processor 601 can send the CE information to the second communication device through the communication interface 604, and details are not described herein.
- the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本发明涉及通信领域,尤其涉及一种生成CDR的方法、设备和系统。The present invention relates to the field of communications, and in particular, to a method, device, and system for generating a CDR.
为支持不同场景的物联网应用,如地下室、管线等弱覆盖场景,3GPP引入了覆盖增强(Coverage Enhancement,CE)技术。在CE技术中,通过划分不同的CE等级,以应对物联网终端所处覆盖环境的变化,在保障覆盖的前提下,可以提高系统的容量、节省终端电池耗电等。其中,不同的CE等级采用不同的调制编码方案和重传方案。如图1所示,目前3GPP协议中定义了等级0至3共4个覆盖等级。CE等级越大,表示用户设备的覆盖越差。此外,CE等级可以用覆盖增强模式(CE mode)来表示,例如CE模式A对应CE等级0和1,CE模式B对应CE等级2和3。To support IoT applications in different scenarios, such as basement, pipeline and other weak coverage scenarios, 3GPP introduced Coverage Enhancement (CE) technology. In CE technology, by dividing different CE levels to cope with changes in the coverage environment of IoT terminals, under the premise of ensuring coverage, the capacity of the system can be improved, and the power consumption of the terminal battery can be saved. Among them, different CE levels use different modulation and coding schemes and retransmission schemes. As shown in FIG. 1, a total of four coverage levels of levels 0 to 3 are currently defined in the 3GPP protocol. The larger the CE level, the worse the coverage of the user equipment. In addition, the CE level can be expressed in a CE mode, for example, CE mode A corresponds to CE levels 0 and 1, and CE mode B corresponds to
由于CE技术采用多次重传方案,消耗掉大量的额外的无线资源,但目前通信网络不支持对该额外的无线资源的计费,即不支持针对CE的差异化计费。Since the CE technology uses multiple retransmission schemes and consumes a large amount of additional radio resources, the current communication network does not support charging for the additional radio resources, that is, does not support differentiated charging for CE.
发明内容Summary of the invention
本发明提供一种生成CDR的方法及设备和系统,用以解决现有技术中使用CE功能的场景下计费不合理的问题。The present invention provides a method, a device, and a system for generating a CDR, which are used to solve the problem of unreasonable charging in a scenario in which the CE function is used in the prior art.
第一方面,本发明实施例提供了一种生成CDR的方法,包括:第一通信设备接收UE的CE信息;所述第一通信设备将所述CE信息发送给第二通信设备,所述CE信息用于所述第二通信设备生成所述UE的计费数据记录CDR,即第二通信设备根据该CE信息生成UE的CDR,进而使得在计费时能够参考CE信息,实现针对CE的差异化计费,提高费用计算的合理性。此外,MME也可以根据UE的CE信息,生成该UE的CDR。 In a first aspect, an embodiment of the present invention provides a method for generating a CDR, including: a first communications device receives CE information of a UE; and the first communications device sends the CE information to a second communications device, where the CE The information is used by the second communications device to generate a CDR of the charging data record of the UE, that is, the second communications device generates a CDR of the UE according to the CE information, so that the CE information can be referenced during charging to achieve a difference for the CE. Billing, improve the rationality of cost calculation. In addition, the MME may also generate a CDR of the UE according to the CE information of the UE.
结合第一方面,在第一方面的第一种实施方式中,所述第一通信设备接收UE的CE信息,包括:所述第一通信设备接收所述UE发送的NAS消息,所述NAS消息携带所述CE信息;或者,所述第一通信设备接收基站发送的第一信令消息,所述第一信令消息携带所述CE信息。With reference to the first aspect, in a first implementation manner of the first aspect, the receiving, by the first communications device, the CE information of the UE, the first communications device receiving the NAS message sent by the UE, the NAS message Carrying the CE information; or, the first communications device receives a first signaling message sent by the base station, where the first signaling message carries the CE information.
结合第一方面的第一种实施方式,在第一方面的第二种实施方式中,所述第一通信设备将所述CE信息发送给第二通信设备,包括:所述第一通信设备发送第二信令消息给所述第二通信设备,所述第二信令消息携带所述CE信息;或者,所述第一通信设备发送所述UE的上行数据包给所述第二通信设备,所述上行数据包携带所述CE信息。With reference to the first implementation manner of the first aspect, in the second implementation manner of the first aspect, the first communications device sends the CE information to the second communications device, including: the first communications device sends a second signaling message is sent to the second communications device, where the second signaling message carries the CE information; or the first communications device sends an uplink data packet of the UE to the second communications device, The uplink data packet carries the CE information.
第二方面,本发明实施例提供了一种生成CDR的方法,包括:第二通信设备接收UE的CE信息;所述第二通信设备根据所述CE信息,生成所述UE的CDR。In a second aspect, the embodiment of the present invention provides a method for generating a CDR, where the second communications device receives CE information of the UE, and the second communications device generates a CDR of the UE according to the CE information.
结合第二方面,在第二方面的第一种实施方式中,所述第二通信设备接收UE的CE信息,包括:所述第二通信设备接收第一通信设备发送的所述CE信息;或者,所述第二通信设备接收基站发送的所述UE的第一上行数据包,所述第一上行数据包携带所述CE信息。With reference to the second aspect, in a first implementation manner of the second aspect, the receiving, by the second communications device, CE information of the UE, the second communications device receiving the CE information sent by the first communications device; or The second communications device receives the first uplink data packet of the UE that is sent by the base station, where the first uplink data packet carries the CE information.
结合第二方面的第一种实施方式,在第二方面的第二种实施方式中,所述第二通信设备接收第一通信设备发送的所述CE信息,包括:所述第二通信设备接收所述第一通信设备发送的第二信令消息,所述第二信令消息携带所述CE信息;或者,所述第二通信设备接收所述第一通信设备发送的所述UE的第一上行数据包,所述第一上行数据包携带所述CE信息。With reference to the first implementation manner of the second aspect, in the second implementation manner of the second aspect, the receiving, by the second communications device, the CE information that is sent by the first communications device, The second signaling message sent by the first communications device, the second signaling message carries the CE information; or the second communications device receives the first of the UE sent by the first communications device An uplink data packet, where the first uplink data packet carries the CE information.
结合第二方面的第一种或第二种实施方式,在第二方面的第三种实施方式中,所述第二通信设备根据所述CE信息,生成所述UE的CDR,包括:所述第二通信设备根据所述第一上行数据包和所述CE信息,生成所述UE的CDR。With reference to the first or second implementation manner of the second aspect, in a third implementation manner of the second aspect, the second communications device, according to the CE information, generates a CDR of the UE, including: The second communications device generates a CDR of the UE according to the first uplink data packet and the CE information.
结合第二方面的第一种实施方式,在第二方面的第四种实施方式中,在所述第二通信设备接收所述第一通信设备发送的第二信令消息之后,所述方法还 包括:所述第二通信设备接收所述UE的第二上行数据包;所述第二通信设备根据所述CE信息,生成所述UE的CDR,包括:所述第二通信设备根据所述第二上行数据包和所述CE信息,生成所述UE的CDR。With reference to the first implementation manner of the second aspect, in a fourth implementation manner of the second aspect, after the second communications device receives the second signaling message sent by the first communications device, the method further The second communication device receives the second uplink data packet of the UE, and the second communication device generates the CDR of the UE according to the CE information, including: the second communication device according to the Generating the CDR of the UE by using the uplink data packet and the CE information.
结合第二方面或第二方面的上述任一种实施方式,在第二方面的第四种实施方式中,所述第二通信设备根据所述CE信息,生成所述UE的CDR,包括:所述第二通信设备接收所述UE的下行数据包;所述第二通信设备根据所述UE的下行数据包和所述CE信息,生成所述UE的下行CDR。With the second aspect or the foregoing any one of the foregoing aspects, in a fourth implementation manner of the second aspect, the second communications device generates, according to the CE information, a CDR of the UE, including: The second communication device receives the downlink data packet of the UE; the second communication device generates a downlink CDR of the UE according to the downlink data packet of the UE and the CE information.
第三方面,本发明实施例提供了一种生成CDR的方法,包括:第三通信设备获取UE的CE信息;所述第三通信设备发送所述CE信息给第二通信设备,所述CE信息用于所述第二通信设备生成所述UE的CDR。In a third aspect, the embodiment of the present invention provides a method for generating a CDR, including: acquiring, by a third communications device, CE information of a UE; the third communications device sending the CE information to a second communications device, where the CE information Generating, for the second communication device, a CDR of the UE.
结合第三方面,在第三方面的第一种实施方式中,所述第三通信设备为所述UE,所述第三通信设备发送所述CE信息给第二通信设备,包括:所述UE通过第一通信设备发送所述CE信息给所述第二通信设备。With reference to the third aspect, in a first implementation manner of the third aspect, the third communications device is the UE, and the third communications device sends the CE information to a second communications device, including: the UE Sending the CE information to the second communication device by the first communication device.
结合第三方面的第一种实施方式,在第三方面的第二种实施方式中,所述UE通过第一通信设备发送所述CE信息给所述第二通信设备,包括:所述UE发送携带有所述CE信息的NAS消息给所述第一通信设备,所述NAS消息用于所述第一通信设备将所述CE信息发送给所述第二通信设备。With the first implementation of the third aspect, in a second implementation manner of the third aspect, the UE sends the CE information to the second communications device by using the first communications device, including: sending, by the UE The NAS message carrying the CE information is sent to the first communications device, and the NAS message is used by the first communications device to send the CE information to the second communications device.
结合第三方面,在第三方面的第三种实施方式中,所述第三通信设备为基站,所述第三通信设备发送所述CE信息给第二通信设备,包括:所述基站发送携带有所述CE信息的第一信令消息给第一通信设备,所述第一信令消息用于所述第一通信设备将所述CE信息发送给所述第二通信设备;或者,所述基站发送上行数据包给所述第二通信设备,所述上行数据包携带所述CE信息。With the third aspect, in a third implementation manner of the third aspect, the third communications device is a base station, and the third communications device sends the CE information to the second communications device, including: the base station sends and carries a first signaling message having the CE information to the first communications device, where the first signaling message is used by the first communications device to send the CE information to the second communications device; or The base station sends an uplink data packet to the second communications device, where the uplink data packet carries the CE information.
结合上述任一方面或任一实施方式,所述CE信息包括以下至少一种:CE指示信息,CE等级信息和CE模式信息;其中,所述CE指示信息用于指示所述UE使用CE功能,所述CE等级信息用于指示所述UE采用的CE等级,所述CE模式信息用于指示所述UE采用的CE模式。 With reference to any of the foregoing aspects or any of the foregoing embodiments, the CE information includes at least one of the following: CE indication information, CE level information, and CE mode information, where the CE indication information is used to indicate that the UE uses the CE function, The CE level information is used to indicate a CE level adopted by the UE, and the CE mode information is used to indicate a CE mode adopted by the UE.
第四方面,本发明实施例提供了一种第一通信设备,包括:接收模块,用于接收UE的CE信息;发送模块,用于将所述接收模块接收的CE信息发送给第二通信设备,所述CE信息用于所述第二通信设备生成所述UE的CDR。In a fourth aspect, an embodiment of the present invention provides a first communications device, including: a receiving module, configured to receive CE information of a UE, and a sending module, configured to send, to the second communications device, CE information received by the receiving module The CE information is used by the second communications device to generate a CDR of the UE.
结合第四方面,在第四方面的第一种实现方式中,所述接收模块具体用于:接收所述UE发送的NAS消息,所述NAS消息携带所述CE信息;或者,接收基站发送的第一信令消息,所述第一信令消息携带所述CE信息。With reference to the fourth aspect, in a first implementation manner of the fourth aspect, the receiving module is specifically configured to: receive a NAS message sent by the UE, where the NAS message carries the CE information; or The first signaling message, the first signaling message carries the CE information.
结合第四方面的第一种实现方式,在第四方面的第二种实现方式中,所述发送模块具体用于:发送第二信令消息给所述第二通信设备,所述第二信令消息携带所述CE信息;或者,发送所述UE的上行数据包给所述第二通信设备,所述上行数据包携带所述CE信息。With the first implementation of the fourth aspect, in a second implementation manner of the fourth aspect, the sending module is specifically configured to: send a second signaling message to the second communications device, where the second And causing the message to carry the CE information; or sending an uplink data packet of the UE to the second communications device, where the uplink data packet carries the CE information.
第五方面,本发明实施例提供了一种第二通信设备,包括:接收模块,用于接收UE的CE信息;生成模块,用于根据所述接收模块接收的CE信息,生成所述UE的CDR。In a fifth aspect, an embodiment of the present invention provides a second communications device, including: a receiving module, configured to receive CE information of a UE, and a generating module, configured to generate, according to the CE information received by the receiving module, the UE CDR.
结合第五方面,在第五方面的第一种实施方式中,所述接收模块具体用于:接收第一通信设备发送的所述CE信息;或者,接收基站发送的所述UE的第一上行数据包,所述第一上行数据包携带所述CE信息。With reference to the fifth aspect, in a first implementation manner of the fifth aspect, the receiving module is specifically configured to: receive the CE information sent by the first communications device; or receive the first uplink of the UE sent by the base station a data packet, where the first uplink data packet carries the CE information.
结合第五方面的第一种实施方式中,在第五方面的第二种实施方式中,所述接收第一通信设备发送的所述CE信息,包括:接收所述第一通信设备发送的第二信令消息,所述第二信令消息携带所述CE信息;或者,接收所述第一通信设备发送的所述UE的第一上行数据包,所述第一上行数据包携带所述CE信息。With reference to the first implementation manner of the fifth aspect, in the second implementation manner of the fifth aspect, the receiving, by the first communications device, the CE information, a second signaling message, the second signaling message carrying the CE information; or receiving a first uplink data packet of the UE sent by the first communications device, where the first uplink data packet carries the CE information.
结合第五方面的第一种或第二种实施方式中,在第五方面的第三种实施方式中,所述生成模块具体用于:根据所述第一上行数据包和所述CE信息,生成所述UE的CDR。With reference to the first or second implementation manner of the fifth aspect, in a third implementation manner of the fifth aspect, the generating module is specifically configured to: according to the first uplink data packet and the CE information, Generating a CDR of the UE.
第六方面,本发明实施例提供了一种第三通信设备,所述第三通信设备为基站或UE,所述第三通信设备包括:获取模块,用于获取UE的CE信息;发 送模块,用于将所述获取模块获取到的所述CE信息发送给第二通信设备,所述CE信息用于所述第二通信设备生成所述UE的CDR。In a sixth aspect, the embodiment of the present invention provides a third communications device, where the third communications device is a base station or a UE, and the third communications device includes: an acquiring module, configured to acquire CE information of the UE; And a sending module, configured to send the CE information acquired by the acquiring module to the second communications device, where the CE information is used by the second communications device to generate a CDR of the UE.
结合第六方面,在第六方面的第一种实施方式中,所述第三通信设备为所述UE,所述发送模块具体用于:通过第一通信设备发送所述CE信息给所述第二通信设备。With reference to the sixth aspect, in a first implementation manner of the sixth aspect, the third communications device is the UE, and the sending module is specifically configured to: send, by using the first communications device, the CE information to the Two communication devices.
结合第六方面的第一种实施方式,在第六方面的第二种实施方式中,所述通过第一通信设备发送所述CE信息给所述第二通信设备,包括:发送携带有所述CE信息的NAS消息给所述第一通信设备,所述NAS消息用于所述第一通信设备将所述CE信息发送给所述第二通信设备。With the first implementation of the sixth aspect, in a second implementation manner of the sixth aspect, the sending, by the first communications device, the CE information to the second communications device, The NAS message of the CE information is sent to the first communication device, and the NAS message is used by the first communication device to send the CE information to the second communication device.
结合第六方面,在第六方面的第三种实施方式中,所述第三通信设备为基站,所述发送模块具体用于:发送携带有所述CE信息的第一信令消息给第一通信设备,所述第一信令消息用于所述第一通信设备将所述CE信息发送给所述第二通信设备;或者,发送上行数据包给所述第二通信设备,所述上行数据包携带所述CE信息。With reference to the sixth aspect, in a third implementation manner of the sixth aspect, the third communications device is a base station, and the sending module is configured to: send a first signaling message carrying the CE information to the first a communication device, the first signaling message is used by the first communications device to send the CE information to the second communications device; or, sending an uplink data packet to the second communications device, the uplink data The packet carries the CE information.
结合上述任一方面或任一实施方式,所述CE信息包括以下至少一种:CE指示信息,CE等级信息和CE模式信息;其中,所述CE指示信息用于指示所述UE使用CE功能,所述CE等级信息用于指示所述UE采用的CE等级,所述CE模式信息用于指示所述UE采用的CE模式。With reference to any of the foregoing aspects or any of the foregoing embodiments, the CE information includes at least one of the following: CE indication information, CE level information, and CE mode information, where the CE indication information is used to indicate that the UE uses the CE function, The CE level information is used to indicate a CE level adopted by the UE, and the CE mode information is used to indicate a CE mode adopted by the UE.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图进行简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for creative labor.
图1为覆盖增强等级的示意图;Figure 1 is a schematic diagram of coverage enhancement levels;
图2为EPS网络系统架构图; 2 is an architecture diagram of an EPS network system;
图3为本发明实施例中一种生成计费数据记录的方法流程图;3 is a flowchart of a method for generating a charging data record according to an embodiment of the present invention;
图4为本发明实施例中再一种生成计费数据记录的方法流程图;4 is a flowchart of still another method for generating a charging data record according to an embodiment of the present invention;
图5为本发明实施例中再一种生成计费数据记录的方法流程图;FIG. 5 is a flowchart of still another method for generating a charging data record according to an embodiment of the present invention; FIG.
图6为本发明实施例中又一种生成计费数据记录的方法流程图;6 is a flowchart of still another method for generating a charging data record according to an embodiment of the present invention;
图7为本发明实施例中又一种生成计费数据记录的方法流程图;FIG. 7 is a flowchart of still another method for generating a charging data record according to an embodiment of the present invention;
图8为本发明实施例中又一种生成计费数据记录的方法流程图;FIG. 8 is a flowchart of still another method for generating a charging data record according to an embodiment of the present invention; FIG.
图9为本发明实施例中又一种生成计费数据记录的方法流程图;FIG. 9 is a flowchart of still another method for generating a charging data record according to an embodiment of the present invention;
图10为本发明实施例提供了一种第一通信设备的结构示意图;FIG. 10 is a schematic structural diagram of a first communications device according to an embodiment of the present invention;
图11为本发明实施例提供了一种第二通信设备的结构示意图;FIG. 11 is a schematic structural diagram of a second communication device according to an embodiment of the present invention;
图12为本发明实施例提供了一种第三通信设备的结构示意图;FIG. 12 is a schematic structural diagram of a third communication device according to an embodiment of the present invention;
图13为本发明实施例提供了另一种第一通信设备的实体结构示意图;FIG. 13 is a schematic structural diagram of another entity of a first communications device according to an embodiment of the present invention;
图14为本发明实施例提供了另一种第二通信设备的实体结构示意图;FIG. 14 is a schematic structural diagram of another entity of a second communication device according to an embodiment of the present invention;
图15为本发明实施例提供了另一种第三通信设备的实体结构示意图。FIG. 15 is a schematic structural diagram of another third communication device according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明提供一种生成CDR的方法及设备,用以解决现有技术中存在的计费不合理问题。其中,方法和设备是基于同一发明构思的,由于方法及设备解决问题的原理相似,因此设备与方法的实施可以相互参见,重复之处不再赘述。本发明实施例中使用的“和/或”,既可以是“和“的关系,还可以是“或”的关系,例如A和/或B,既可以单独为A、或者单独为B,还可以是A和B。The present invention provides a method and a device for generating a CDR, which are used to solve the problem of unreasonable charging in the prior art. The method and the device are based on the same inventive concept. Since the principles of the method and the device for solving the problem are similar, the implementation of the device and the method can be referred to each other, and the repeated description is not repeated. The "and/or" used in the embodiments of the present invention may be a relationship of "and" or an "or" relationship, such as A and/or B, which may be either A alone or B alone. It can be A and B.
应理解,在本发明实施例中,终端(Terminal)可以称之为用户设备(User Equipment,UE)、移动台(Mobile Station,MS)或移动终端(Mobile Terminal)等,该终端可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网设备进行通信,例如,终端可以是移动电话(或称为“蜂窝”电话)或具有移动终端的计算机等,例如,终端还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动设备,它们与无线接入网交换语音和/或数据。It should be understood that, in the embodiment of the present invention, a terminal may be referred to as a user equipment (User). Equipment, UE), mobile station (Mobile Station, MS) or mobile terminal (Mobile Terminal), etc., the terminal can communicate with one or more core network devices via a Radio Access Network (RAN), for example, The terminal may be a mobile phone (or "cellular" phone) or a computer with a mobile terminal, etc., for example, the terminal may also be a portable, pocket, handheld, computer built-in or in-vehicle mobile device with wireless access The network exchanges voice and/or data.
还应理解,本发明实施例中提供的技术方案,可以应用于各种通信系统,例如:全球移动通信系统(Global System of Mobile communication,GSM),码分多址(Code Division Multiple Access,CDMA)系统,宽带码分多址(Wideband Code Division Multiple Access Wireless,WCDMA)系统,通用分组无线业务(General Packet Radio Service,GPRS)系统,长期演进(Long Term Evolution,LTE)系统、演进分组系统(Evolved Packet System,EPS)等。It should also be understood that the technical solutions provided in the embodiments of the present invention can be applied to various communication systems, for example, Global System of Mobile communication (GSM), Code Division Multiple Access (CDMA). System, Wideband Code Division Multiple Access Wireless (WCDMA) system, General Packet Radio Service (GPRS) system, Long Term Evolution (LTE) system, Evolved Packet (Evolved Packet) System, EPS), etc.
本发明实施例中以应用到EPS系统为例来说明。如图2所示为EPS网络系统架构图。EPS网络系统包括:UE,演进的通用陆基无线接入网(Evolved universal terrestrial radio access network,EUTRAN),移动性管理实体(Mobility Management Entity,MME),服务网关(Serving Gateway,SGW),分组数据网络网关(Packet Data Network Gateway,PGW),服务GPRS支持节点(Serving GPRS Support Node,SGSN),归属签约用户服务器(Home Subscriber Server,HSS),策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)),业务能力开放功能(Service Capability Exposure Function,SCEF)以及运营商互联网协议(Internet Protocol,IP)服务(Operator's IP Services)。The embodiment of the present invention is described by taking an application to an EPS system as an example. Figure 2 shows the architecture of the EPS network system. The EPS network system includes: a UE, an Evolved universal terrestrial radio access network (EUTRAN), a Mobility Management Entity (MME), a Serving Gateway (SGW), and packet data. Packet Data Network Gateway (PGW), Serving GPRS Support Node (SGSN), Home Subscriber Server (HSS), Policy and Charging Rules Function (Policy and Charging Rules Function, PCRF)), Service Capability Exposure Function (SCEF) and Operator's IP Service (Operator's IP Services).
EUTRAN:由多个演进型节点(Evolved Node B,eNB)组成的网络,能够实现无线物理层功能、资源调度和无线资源管理、无线接入控制以及移动性管理功能。eNB通过用户面接口S1-U与SGW相连,用于传送用户数据;通过控制面接口S1-MME与MME相连,采用S1-AP协议实现无线接 入承载控制等功能。EUTRAN: A network composed of multiple Evolved Node Bs (eNBs) capable of implementing wireless physical layer functions, resource scheduling and radio resource management, radio access control, and mobility management functions. The eNB is connected to the SGW through the user plane interface S1-U for transmitting user data, and is connected to the MME through the control plane interface S1-MME, and implements wireless connection by using the S1-AP protocol. Into bearer control and other functions.
MME:主要负责用户即会话管理的所有控制平面功能,包括非接入层(non access stratum,NAS)信令及安全,跟踪区的管理,PGW与SGW的选择等。MME: Mainly responsible for all control plane functions of the user, that is, session management, including non-access stratum (NAS) signaling and security, tracking area management, PGW and SGW selection.
SGW:主要负责UE的数据传输、转发以及路由切换等,并作为UE在eNB之间切换时的本地移动性锚定点。其中,对于每一个UE,每个时刻仅有一个S-GW为之服务。SGW: It is mainly responsible for data transmission, forwarding, and route switching of the UE, and is used as a local mobility anchor point when the UE switches between eNBs. Among them, for each UE, only one S-GW serves it at a time.
PGW:作为分组数据网络(Packet Data Network Gateway,PDN)连接的锚定点,负责UE的IP地址分配,UE的数据报文过滤、速率控制、生成计费信息等。PGW: As an anchor point of a packet data network (PDN) connection, it is responsible for IP address allocation of the UE, data packet filtering, rate control, and generation of charging information of the UE.
HSS:是用于存储用户签约信息的数据库,该设备的主要功能是存储用户签约信息、用户鉴权、以及位置信息管理等。HSS: is a database for storing user subscription information. The main functions of the device are storage user subscription information, user authentication, and location information management.
PCRF:用于基于业务数据流的服务质量(quality of service,QoS)控制、门控以及计费控制等。PCRF: used for quality of service (QoS) control, gating and charging control based on service data flow.
SCEF:用于非IP数据报文的传输和转发,以及非IP数据报文的计费信息采集。SCEF: Used for the transmission and forwarding of non-IP data packets and the collection of accounting information for non-IP data packets.
SGSN:主要完成分组数据包的路由转发、移动性管理、会话管理、逻辑链路管理、鉴权和加密、话单产生和输出等功能。SGSN: Mainly completes the functions of routing and forwarding, mobility management, session management, logical link management, authentication and encryption, bill generation and output of packet data packets.
在上述EPC网络中,由SGW和PGW两个节点负责采集计费信息并生成计费数据记录(Charging Data Record,CDR),即计费话单。对于非IP数据报文,也可以通过SCEF传输,由MME和SCEF两个节点负责采集计费信息并生成CDR。由于上行、下行数据传输具备不对称性,对于用户设备的上行发送和下行接收的数据流量可以分别统计。运营商基于CDR计算用户的无线通信业务的费用。In the above EPC network, the SGW and the PGW are responsible for collecting the charging information and generating a Charging Data Record (CDR), that is, a charging bill. For non-IP data packets, it can also be transmitted through SCEF. The two nodes, MME and SCEF, are responsible for collecting charging information and generating CDRs. Since the uplink and downlink data transmissions are asymmetric, data traffic for uplink transmission and downlink reception of user equipment can be separately counted. The operator calculates the cost of the user's wireless communication service based on the CDR.
如图3所示,本发明实施例提供了一种生成计费数据记录的方法,该方法可以由第一通信设备执行,该第一通信设备可以为MME或功能等同于MME 的其它核心网设备,下面以MME为例说明如下:As shown in FIG. 3, an embodiment of the present invention provides a method for generating a charging data record, which may be performed by a first communications device, where the first communications device may be an MME or a function equivalent to the MME. For other core network devices, the following takes MME as an example:
101、第一通信设备接收UE的CE信息。101. The first communications device receives CE information of the UE.
其中,所述CE信息可以包括以下至少一种:CE指示信息,CE等级信息和CE模式信息。The CE information may include at least one of the following: CE indication information, CE level information, and CE mode information.
具体地,所述CE指示信息用于指示所述UE使用CE功能,例如,采用1个比特位来指示,当该比特位置为1时,表示UE使用CE功能,反之,表示UE未使用CE功能。Specifically, the CE indication information is used to indicate that the UE uses the CE function, for example, by using 1 bit, when the bit position is 1, it indicates that the UE uses the CE function, and vice versa, the UE does not use the CE function. .
具体地,所述CE等级信息用于指示UE采用的CE等级,该CE等级具体可以为所述UE采用的CE等级,例如,3GPP协议中定义的等级0至3中的一个覆盖等级,不预限定。Specifically, the CE level information is used to indicate a CE level adopted by the UE, and the CE level may be a CE level adopted by the UE, for example, one of the levels 0 to 3 defined in the 3GPP protocol, and is not pre- limited.
具体地,所述CE模式信息用于指示UE采用的CE模式,例如,CE模式A或CE模式B,不预限定。Specifically, the CE mode information is used to indicate a CE mode adopted by the UE, for example, CE mode A or CE mode B, which is not predefined.
102、第一通信设备将UE的CE信息发送给第二通信设备,该CE信息用于第二通信设备生成该UE的CDR。102. The first communications device sends the CE information of the UE to the second communications device, where the CE information is used by the second communications device to generate a CDR of the UE.
其中,该第二通信设备可以为网关设备,还可以为SCEF。网关设备可以为SGW和/或PGW,不予限制。The second communication device may be a gateway device, and may also be a SCEF. The gateway device may be an SGW and/or a PGW, and is not limited.
可选地,步骤102中的CDR可以为上行CDR,也可以为下行CDR,显然,也可以为同时包含上行和下行的综合CDR,不予限制。其中,上行CDR用于对用户设备上行发送的数据信息进行统计;下行CDR用于对用户设备接收的下行数据信息进行统计;综合CDR用于对用户设备的上行和/或下行数据信息进行统计。Optionally, the CDR in
其中,CDR可以采用表格的形式,以表1为例,包括记录的类型,例如,SGW CDR或PGW CDR,用户的IMSI,记录打开时间,业务数据流量列表,以及CE信息等。具体地,CE信息可以参见步骤101中的相关描述;业务数据流量列表可以包括上行数据包数目和/或下行数据包数目。The CDR may be in the form of a table, and the table 1 is taken as an example, including the type of the record, for example, the SGW CDR or PGW CDR, the user's IMSI, the record open time, the service data flow list, and the CE information. Specifically, the CE information may refer to the related description in
表1 Table 1
需要进一步说明的是,CDR用于计算费用。以CE信息为例,由于覆盖增强等级越大表示用户设备的覆盖越差,因而,为了保证通信质量,覆盖增强等级越大的终端消耗的资源越多。相应地,为覆盖增强等级越大的终端提供服务,应当收取更多的费用。假设CE等级为0的终端,发送上行数据的流量为10M,收取费用30RMB,那么CE等级为1的终端,发送上行数据的流量为10M,收取费用60RMB。It should be further noted that the CDR is used to calculate the cost. Taking the CE information as an example, the greater the coverage enhancement level is, the worse the coverage of the user equipment is. Therefore, in order to ensure the communication quality, the terminal with the larger coverage enhancement level consumes more resources. Accordingly, more services should be charged for providing services to terminals with a higher coverage level. Assuming that the terminal with the CE level is 0, the traffic for transmitting the uplink data is 10M, and the charging fee is 30RMB, then the terminal with the CE level of 1, the traffic for sending the uplink data is 10M, and the charging fee is 60RMB.
上述实施例提供的方法中,第一通信设备接收UE的CE信息,并将UE的CE信息发送给第二通信设备,以使得第二通信设备根据该CE信息生成UE的CDR,进而使得在计费时能够参考CE信息,实现基于CE的差异化计费,提高费用计算的合理性。In the method provided by the foregoing embodiment, the first communications device receives the CE information of the UE, and sends the CE information of the UE to the second communications device, so that the second communications device generates the CDR of the UE according to the CE information, thereby making Time-consuming reference to CE information enables CE-based differentiated billing and improves the rationality of cost calculation.
可选地,在上述实施例的第一种实施场景下,以MME为例,步骤101包括101a或者101b。Optionally, in the first implementation scenario of the foregoing embodiment, taking the MME as an example,
101a、MME接收UE发送的NAS消息,所述NAS消息携带所述CE信息。The MME receives the NAS message sent by the UE, where the NAS message carries the CE information.
101b、MME接收基站发送的第一信令消息,所述第一信令消息携带所述 CE信息。101b. The MME receives a first signaling message sent by the base station, where the first signaling message carries the CE information.
其中,所述第一信令消息可以包括UE上下文恢复请求消息(UE context resume request message)或初始化UE消息(Initial UE message)。The first signaling message may include a UE context resume request message or an Initial UE message.
需要说明的是,UE上下文恢复请求消息可以用于采用用户面传输方式传输UE数据的场景下;初始化UE消息可以用于采用控制面传输方式传输UE数据的场景下。It should be noted that the UE context recovery request message may be used in a scenario in which UE data is transmitted in a user plane transmission manner; the initialization UE message may be used in a scenario in which UE data is transmitted in a control plane transmission manner.
进一步地,步骤102可以包括102a或者102b。Further, step 102 can include 102a or 102b.
102a、MME发送第二信令消息给网关设备,该第二信令消息携带该CE信息。102a. The MME sends a second signaling message to the gateway device, where the second signaling message carries the CE information.
其中,第二信令消息可以为修改承载请求消息(modify bearer request message)。The second signaling message may be a modify bearer request message.
102b、MME发送该UE的上行数据包给网关设备,该上行数据包携带该CE信息。102b. The MME sends an uplink data packet of the UE to the gateway device, where the uplink data packet carries the CE information.
具体地,CE信息可以携带在上行数据包的包头中;此外,该上行数据包可以为GPRS隧道协议-用户面(GPRS Tunneling Protocol-User Plane,GTP-U)数据包。Specifically, the CE information may be carried in the header of the uplink data packet; in addition, the uplink data packet may be a GPRS Tunneling Protocol-User Plane (GTP-U) data packet.
需要说明的是,若步骤101a中的NAS消息还携带有该UE的上行数据,则步骤102b中MME具体可以根据该NAS消息发送该UE的上行数据包,该上行数据包携带该UE的CE信息和上行数据。It should be noted that, if the NAS message in the step 101a further carries the uplink data of the UE, the MME may specifically send the uplink data packet of the UE according to the NAS message, where the uplink data packet carries the CE information of the UE. And upstream data.
若步骤101a中的NAS消息未携带该UE的上行数据,则在步骤102b之前还包括MME接收包含有UE上行数据的NAS消息,且在步骤102b中MME具体可以根据该接收的包含有UE上行数据的NAS消息发送该UE的上行数据包,该上行数据包携带该UE的CE信息。If the NAS message in the step 101a does not carry the uplink data of the UE, the MME may further include the NAS message including the uplink data of the UE before the step 102b, and the MME may specifically include the uplink data of the UE according to the received in step 102b. The NAS message sends an uplink data packet of the UE, and the uplink data packet carries the CE information of the UE.
可选地,在上述实施例的第二种实施场景下,以MME为例,步骤102可以替换为102c或102d。Optionally, in the second implementation scenario of the foregoing embodiment, taking the MME as an example, step 102 may be replaced by 102c or 102d.
102c、MME将UE的CE信息发送给SCEF。102c. The MME sends the CE information of the UE to the SCEF.
其中,该CE信息用于SCEF生成该UE的CDR。 The CE information is used by the SCEF to generate a CDR of the UE.
具体地,该UE的CE信息可以通过创建SCEF连接请求消息(Create SCEF Connection Request message)发送给SCEF。Specifically, the CE information of the UE may be sent to the SCEF by creating a SCEF Connection Request message.
进一步地,MME与SCEF之间可以通过IWK-SCEF通信,当IWK-SCEF收到MME发送的上述Create SCEF Connection Request message时,可以转发给SCEF,不予限定。Further, the MME and the SCEF can communicate with each other through the IWK-SCEF. When the IWSK-SCEF receives the Create SCEF Connection Request message sent by the MME, the MME can forward the information to the SCEF, which is not limited.
102d、MME根据该UE的CE信息,生成该UE的CDR。102d. The MME generates a CDR of the UE according to the CE information of the UE.
具体地,MME在接收到该UE的上行数据包或下行数据包时,将该UE的CE信息记录在该UE的CDR中。Specifically, when receiving the uplink data packet or the downlink data packet of the UE, the MME records the CE information of the UE in the CDR of the UE.
如图4所示,本发明实施例提供了再一种生成CDR的方法,该方法由第二通信设备执行,该第二通信设备可以为网关设备或SCEF,其中,网关设备具体可以包括PGW和/或SGW,如下所述。As shown in FIG. 4, the embodiment of the present invention provides a method for generating a CDR, which is performed by a second communications device, where the second communications device may be a gateway device or a SCEF, where the gateway device may specifically include a PGW and / or SGW, as described below.
201、第二通信设备接收UE的CE信息。201. The second communications device receives CE information of the UE.
其中,CE信息可以参见图3所示实施例中的相关描述,不再赘述。For the CE information, refer to the related description in the embodiment shown in FIG. 3, and details are not described herein again.
202、第二通信设备根据该UE的CE信息,生成该UE的CDR。202. The second communications device generates a CDR of the UE according to the CE information of the UE.
其中,上述CDR可以为上行CDR,也可以为下行CDR,还可以为综合CDR,具体参见图3所示实施例的相关描述。The CDR may be an uplink CDR, a downlink CDR, or a comprehensive CDR. For details, refer to the related description of the embodiment shown in FIG. 3.
具体地,当第二通信设备接收到UE的上行或下行数据时,将CE信息记录在CDR中。例如,当接收到UE的上行数据时,将CE信息记录在上行CDR中;或者,当接收到UE的下行数据时,将CE信息记录在下行CDR中。Specifically, when the second communication device receives the uplink or downlink data of the UE, the CE information is recorded in the CDR. For example, when the uplink data of the UE is received, the CE information is recorded in the uplink CDR; or, when the downlink data of the UE is received, the CE information is recorded in the downlink CDR.
上述实施例提供的方法中,第二通信设备接收UE的CE信息,并根据该UE的CE信息生成该UE的CDR,使得在使用CDR计算费用时,充分考虑到CE的因素,提高费用计算的合理性。In the method provided by the foregoing embodiment, the second communications device receives the CE information of the UE, and generates a CDR of the UE according to the CE information of the UE, so that when the CDR is used to calculate the fee, the factor of the CE is fully considered, and the cost calculation is improved. rationality.
可选地,在上述实施例的上行数据传输场景下,即UE发送上行数据给第二通信设备,步骤201可以包括201a或201b。Optionally, in the uplink data transmission scenario of the foregoing embodiment, that is, the UE sends uplink data to the second communications device,
201a、第二通信设备接收第一通信设备发送的该UE的CE信息。 201a. The second communications device receives the CE information of the UE that is sent by the first communications device.
其中,该第一通信设备可以为MME或功能与MME等同的其它设备。The first communication device may be an MME or another device whose function is equivalent to the MME.
201b、第二通信设备接收基站发送的该UE的第一上行数据包,该第一上行数据包携带该UE的CE信息。The second communication device receives the first uplink data packet of the UE that is sent by the base station, where the first uplink data packet carries the CE information of the UE.
具体地,基站在接收到UE发送的上行数据包之后,在该接收的上行数据包中填加该UE的CE信息,生成第一上行数据包;然后,将生成的第一上行数据包发送给第二通信设备。例如,第一上行数据包的包头中包含该UE的CE信息。Specifically, after receiving the uplink data packet sent by the UE, the base station adds the CE information of the UE to the received uplink data packet to generate a first uplink data packet; and then sends the generated first uplink data packet to the Second communication device. For example, the header of the first uplink data packet includes the CE information of the UE.
此外,在上述步骤201b中,以网关设备为例,若网关设备包含SGW和PGW,则基站通过第一上行数据包发送CE信息给SGW,SGW发送该第一上行数据包给PGW,因此,PGW和SGW均可以通过第一上行数据包获得该UE的CE信息,以便PGW和SGW生成CDR。In the above step 201b, the gateway device is taken as an example. If the gateway device includes the SGW and the PGW, the base station sends the CE information to the SGW through the first uplink data packet, and the SGW sends the first uplink data packet to the PGW. Therefore, the PGW Both the SGW and the SGW can obtain the CE information of the UE by using the first uplink data packet, so that the PGW and the SGW generate the CDR.
其中,步骤201a具体可以包括:The step 201a may specifically include:
201a’、第二通信设备接收MME发送的第二信令消息,该第二信令消息携带该UE的CE信息;或者,201a', the second communication device receives the second signaling message sent by the MME, where the second signaling message carries the CE information of the UE; or
201a”、第二通信设备接收该MME发送的该UE的第二上行数据包,该第二上行数据包携带该UE的CE信息。201a", the second communication device receives the second uplink data packet of the UE that is sent by the MME, and the second uplink data packet carries the CE information of the UE.
其中,在上述步骤201a’中,以网关设备为例,若网关设备包含SGW和PGW,则MME通过第二信令消息发送CE信息给SGW,SGW发送该第二信令消息给PGW,因此,PGW和SGW均可以通过第二信令消息获得该UE的CE信息,以便PGW和SGW生成CDR。In the foregoing step 201a', taking the gateway device as an example, if the gateway device includes the SGW and the PGW, the MME sends the CE information to the SGW by using the second signaling message, and the SGW sends the second signaling message to the PGW. Both the PGW and the SGW can obtain the CE information of the UE by using the second signaling message, so that the PGW and the SGW generate the CDR.
此外,步骤201a’可以用于网络侧存在UE的下行待发送数据,具体地,PGW将UE的下行数据发送给SGW,SGW发送下行数据通知(Downlink Data Notification,DDN)给MME,MME发送寻呼消息给UE;UE在接收到寻呼消息后,与基站建立无线资源控制(radio resource control,RRC)连接,基站在收到后RRC连接建立消息(携带有NAS业务请求)后,将该UE的CE信息和NAS业务请求携带在初始化UE消息发送给MME,MME通过修改承载请 求将该UE的CE信息发送给SGW和PGW。In addition, the step 201a' may be used to send downlink data to be sent by the UE on the network side. Specifically, the PGW sends the downlink data of the UE to the SGW, and the SGW sends a Downlink Data Notification (DDN) to the MME, and the MME sends the paging. Sending a message to the UE; after receiving the paging message, the UE establishes a radio resource control (RRC) connection with the base station, and after receiving the RRC connection setup message (carrying the NAS service request), the base station The CE information and the NAS service request are carried in the initialization UE message and sent to the MME. The CE information of the UE is sent to the SGW and the PGW.
需要说明的是,步骤201a”可以应用于采用控制面传输方式传输用户设备数据的场景下。此外,该UE的CE信息具体可以携带在第二上行数据包的包头中。It should be noted that the step 201a" may be applied to the scenario in which the user equipment data is transmitted by using the control plane transmission mode. In addition, the CE information of the UE may be specifically carried in the header of the second uplink data packet.
可选地,结合上述上行数据传输场景中步骤201b以及201a”,步骤202可以包括:Optionally, in combination with steps 201b and 201a" in the foregoing uplink data transmission scenario, step 202 may include:
第二通信设备根据接收的上行数据包和该UE的CE信息,生成该UE的CDR。The second communications device generates a CDR of the UE according to the received uplink data packet and the CE information of the UE.
具体地,第二通信设备根据接收的上行数据包更新CDR中的上行数据包数目,并将CE信息记录在CDR中。若CE信息存在更新,则记录更新后的CE信息下的数据包数目,不再赘述。其中,该UE的CDR可以为上行CDR。Specifically, the second communications device updates the number of uplink data packets in the CDR according to the received uplink data packet, and records the CE information in the CDR. If the CE information is updated, the number of data packets under the updated CE information is recorded, and details are not described herein. The CDR of the UE may be an uplink CDR.
可选地,结合上述上行数据传输场景,在步骤201a’之后,上述方法还包括:Optionally, in combination with the foregoing uplink data transmission scenario, after the step 201a', the method further includes:
第二通信设备接收该UE的第三上行数据包;Receiving, by the second communications device, a third uplink data packet of the UE;
进一步地,步骤202可以包括:Further, step 202 can include:
第二通信设备根据第三上行数据包和该UE的CE信息,生成该UE的CDR。The second communications device generates a CDR of the UE according to the third uplink data packet and the CE information of the UE.
需要说明的是,该第三上行数据包可以是由基站发送的,也可以是由MME发送的。It should be noted that the third uplink data packet may be sent by the base station or may be sent by the MME.
可选地,在上述实施例的下行数据传输场景下,即网络侧设备发送下行数据给UE,步骤202可以包括:Optionally, in the downlink data transmission scenario of the foregoing embodiment, the network side device sends the downlink data to the UE, where the
202a、第二通信设备接收该UE的下行数据包;202a. The second communications device receives the downlink data packet of the UE.
202b、第二通信设备根据该UE的下行数据包和该UE的CE信息,生成该UE的下行CDR。202b. The second communications device generates a downlink CDR of the UE according to the downlink data packet of the UE and the CE information of the UE.
具体地,第二通信设备根据接收的下行数据包更新CDR中的下行数据包数目,并将CE信息记录在CDR中。Specifically, the second communications device updates the number of downlink data packets in the CDR according to the received downlink data packet, and records the CE information in the CDR.
需要说明的是,本发明各实施例中所提及的上行数据包指的是携带有该UE 的上行数据的数据包,下行数据包指的是携带有该UE的下行数据的数据包。It should be noted that the uplink data packet mentioned in the embodiments of the present invention refers to carrying the UE. The data packet of the uplink data, and the downlink data packet refers to the data packet carrying the downlink data of the UE.
如图5所示,本发明实施例提供了再一种生成CDR的方法,该方法由第三通信设备执行,该第三通信设备可以为UE或基站,具体如下所述。As shown in FIG. 5, the embodiment of the present invention provides another method for generating a CDR, which is performed by a third communications device, which may be a UE or a base station, as described below.
301、第三通信设备获取UE的CE信息。301. The third communications device acquires CE information of the UE.
其中,CE信息可以参见图3所示实施例中的相关描述,不再赘述。For the CE information, refer to the related description in the embodiment shown in FIG. 3, and details are not described herein again.
302、第三通信设备发送该UE的CE信息给第二通信设备,该CE信息用于第二通信设备生成该UE的CDR。302. The third communications device sends the CE information of the UE to the second communications device, where the CE information is used by the second communications device to generate the CDR of the UE.
其中,该第二通信设备可以为网关设备,也可以为SCEF。其中,网关设备具体可以包括SGW和/或PGW。The second communication device may be a gateway device or a SCEF. The gateway device may specifically include an SGW and/or a PGW.
可选地,当第三通信设备为UE时,步骤302包括:Optionally, when the third communications device is a UE,
UE通过第一通信设备发送该CE信息给第二通信设备。The UE sends the CE information to the second communication device through the first communication device.
其中,第一通信设备可以为MME或者功能与MME等同的其它设备。The first communication device may be an MME or another device whose function is equivalent to the MME.
具体地,UE发送携带有该CE信息的NAS消息给MME,该NAS消息用于MME将该CE信息发送给网关设备;MME通过上行数据包或者信令消息将该CE信息发送给网关设备,具体可以参见步骤102a或102b的相关描述,不再赘述。Specifically, the UE sends a NAS message carrying the CE information to the MME, where the NAS message is used by the MME to send the CE information to the gateway device; the MME sends the CE information to the gateway device by using an uplink data packet or a signaling message, where For details, refer to the related description of step 102a or 102b, and details are not described herein.
可选地,当第三通信设备为基站时,步骤302包括302a或302b。Optionally, when the third communication device is a base station, step 302 includes 302a or 302b.
302a、基站发送携带有该CE信息的第一信令消息给第一通信设备,该第一信令消息用于MME将该CE信息发送给第二通信设备。302a. The base station sends a first signaling message carrying the CE information to the first communications device, where the first signaling message is used by the MME to send the CE information to the second communications device.
具体地,基站发送携带有该CE信息的第一信令消息给MME,具体可以参见步骤101b;MME通过上行数据包或者第二信令消息将该CE信息发送给网关设备,具体可以参见步骤102a或102b,不再赘述。Specifically, the base station sends the first signaling message carrying the CE information to the MME. For details, refer to step 101b. The MME sends the CE information to the gateway device by using an uplink data packet or a second signaling message. For details, refer to step 102a. Or 102b, no longer repeat them.
302b、基站发送该UE的上行数据包给第二通信设备,该上行数据包携带该CE信息。302b. The base station sends the uplink data packet of the UE to the second communications device, where the uplink data packet carries the CE information.
上述实施例提供的方法中,第三通信设备获取UE的CE信息,并发送该 UE的CE信息给网关设备,以使得网关设备根据CE信息生成CDR,进而使得在使用CDR计算费用时,充分考虑到CE的因素,实现针对CE的差异化计费,提高费用计算的合理性。In the method provided by the foregoing embodiment, the third communications device acquires CE information of the UE, and sends the The CE information of the UE is sent to the gateway device, so that the gateway device generates the CDR according to the CE information, so that when the CDR is used to calculate the fee, the factor of the CE is fully considered, the differentiated charging for the CE is realized, and the rationality of the cost calculation is improved.
如图6所示,本发明实施例提供了又一种生成计费数据记录CDR的方法,具体如下所述。As shown in FIG. 6, the embodiment of the present invention provides another method for generating a CDR of a charging data record, which is specifically as follows.
401、基站获取UE的CE信息,并将该UE的CE信息携带在GTP-U数据包中发送给网关设备。401. The base station acquires the CE information of the UE, and carries the CE information of the UE in the GTP-U data packet and sends the information to the gateway device.
其中,CE信息可以参见图3所示实施例中的相关描述,不再赘述。For the CE information, refer to the related description in the embodiment shown in FIG. 3, and details are not described herein again.
具体地,基站接收UE发送的上行数据,然后根据该UE的上行数据和CE信息生成GTP-U数据包,最后将该GTP-U数据包发送给网关设备。其中,该CE信息可以携带在GTP-U数据包的包头。Specifically, the base station receives the uplink data sent by the UE, and then generates a GTP-U data packet according to the uplink data and the CE information of the UE, and finally sends the GTP-U data packet to the gateway device. The CE information may be carried in the header of the GTP-U data packet.
402、网关设备根据该CE信息和该GTP-U数据包,生成该UE的CDR。402. The gateway device generates a CDR of the UE according to the CE information and the GTP-U data packet.
其中,步骤402的具体实施可以参见步骤202的相关描述。For a specific implementation of
需要说明的是,上述网关设备可以包括SGW和PGW中的至少一种。当上述网关设备包含SGW和PGW时,基站通过GTP-U数据包发送CE信息给SGW,SGW发送该GTP-U数据包给PGW,因此,PGW和SGW均可以通过GTP-U数据包获得该UE的CE信息,以便PGW和SGW生成CDR。It should be noted that the foregoing gateway device may include at least one of an SGW and a PGW. When the gateway device includes the SGW and the PGW, the base station sends the CE information to the SGW through the GTP-U data packet, and the SGW sends the GTP-U data packet to the PGW. Therefore, both the PGW and the SGW can obtain the UE through the GTP-U data packet. CE information so that PGW and SGW generate CDRs.
此外,网关设备在获得该UE的CE信息后,可以存储该UE的CE信息,存储后的CE信息可以用于在网关设备收到下行数据包时,根据该UE的CE信息,生成下行CDR。其中,该UE的CE信息作为承载的相关信息进行存储,以便于网关设备可以通过承载查找到该UE的CE信息。In addition, after obtaining the CE information of the UE, the gateway device may store the CE information of the UE, and the stored CE information may be used to generate a downlink CDR according to the CE information of the UE when the gateway device receives the downlink data packet. The CE information of the UE is stored as related information of the bearer, so that the gateway device can find the CE information of the UE by using the bearer.
可选地,上述方法还包括:Optionally, the foregoing method further includes:
403、网关设备接收该UE的下行数据包;403. The gateway device receives a downlink data packet of the UE.
404、网关设备根据该UE的下行数据包和该UE的CE信息,生成该UE的CDR。 404. The gateway device generates a CDR of the UE according to the downlink data packet of the UE and the CE information of the UE.
其中,步骤404的具体实施可以参见步骤202的相关描述。For a specific implementation of
如图7所示,本发明实施例提供了又一种生成计费数据记录CDR的方法,具体如下所述。As shown in FIG. 7, another embodiment of the present invention provides a method for generating a CDR of a charging data record, which is specifically described below.
501、基站获取UE的CE信息,并将该UE的CE信息通过第一信令消息发送给MME。501. The base station acquires the CE information of the UE, and sends the CE information of the UE to the MME by using the first signaling message.
其中,该CE信息可以参见图3所示实施例中的相关描述。For the CE information, refer to the related description in the embodiment shown in FIG. 3.
需要说明的是,当采用控制面传输方式传输UE的数据时,第一信令消息可以为Initial UE message;当采用用户面传输方式传输UE的数据时,第一信令消息可以为UE context resume request。It should be noted that, when the data of the UE is transmitted by using the control plane transmission mode, the first signaling message may be an Initial UE message; when the data of the UE is transmitted by using the user plane transmission mode, the first signaling message may be a UE context resume. Request.
502、MME通过修改承载请求消息,将该UE的CE信息发送给网关设备。502. The MME sends the CE information of the UE to the gateway device by modifying the bearer request message.
503、网关设备根据该UE的CE信息,生成该UE的CDR。503. The gateway device generates a CDR of the UE according to the CE information of the UE.
其中,CDR可以参见图3所示实施例中的相关描述,不再赘述。For the CDR, refer to the related description in the embodiment shown in FIG. 3, and details are not described herein.
具体地,网关设备可以在接收到该UE的上行数据包或下行数据包之后,将该CE信息记录在该UE的CDR中。Specifically, the gateway device may record the CE information in the CDR of the UE after receiving the uplink data packet or the downlink data packet of the UE.
以采用控制面传输方式为例进行说明,假设网络侧设备有下行数据需要发送给UE,MME发送寻呼消息给UE;UE发送携带有服务请求的RRC(无线资源控制,Radio Resource Control)连接建立(RRC connection establishment)消息给基站;基站根据该RRC connection establishment消息和该UE的CE信息发送Initial UE message给MME,该Initial UE message携带该CE信息和服务请求;MME发送携带有该CE信息的修改承载请求消息给SGW;SGW发送该修改承载请求消息给PGW;PGW或SGW在接收到UE的下行数据包之后,将CE信息记录在CDR中。The control plane transmission mode is taken as an example. It is assumed that the network side device has downlink data to be sent to the UE, and the MME sends a paging message to the UE. The UE sends an RRC (Radio Resource Control) connection that carries the service request. The RRC connection establishment message is sent to the base station; the base station sends an Initial UE message to the MME according to the RRC connection establishment message and the CE information of the UE, where the Initial UE message carries the CE information and the service request; and the MME sends the modification carrying the CE information. The bearer request message is sent to the SGW; the SGW sends the modify bearer request message to the PGW; after receiving the downlink data packet of the UE, the PGW or the SGW records the CE information in the CDR.
以采用用户面传输方式为例进行说明,假设UE有上行数据需要发送给网络侧设备,UE发送随机接入消息给基站,与基站之间完成RRC连接恢复;基站发送携带有CE信息的UE context resume request给MME;MME发送携带有 该CE信息的修改承载请求消息给SGW;SGW发送该修改承载请求消息给PGW;SGW和PGW在接收到UE的上行数据或下行数据后,将CE信息记录在CDR中。The user plane transmission mode is taken as an example. The UE needs to send uplink data to the network side device. The UE sends a random access message to the base station to complete the RRC connection recovery with the base station. The base station sends the UE context carrying the CE information. Resume request to MME; MME sends carry The modify bearer request message of the CE information is sent to the SGW; the SGW sends the modify bearer request message to the PGW; after receiving the uplink data or the downlink data of the UE, the SGW and the PGW record the CE information in the CDR.
可选地,在一种可替换的场景下,第一信令消息还携带有UE的上行数据,上述步骤502可以由步骤502a-502b替换,在502b之后执行步骤503。Optionally, in an alternative scenario, the first signaling message further carries uplink data of the UE, and the foregoing
502a、MME发送修改承载请求消息给网关设备。502a. The MME sends a modify bearer request message to the gateway device.
502b、MME根据第一信令消息,发送GTP-U数据包给网关设备,该GTP-U数据包携带有该UE的CE信息。502b. The MME sends a GTP-U data packet to the gateway device according to the first signaling message, where the GTP-U data packet carries the CE information of the UE.
具体地,该UE的CE信息可以携带在该GTP-U数据包的包头中。Specifically, the CE information of the UE may be carried in the header of the GTP-U data packet.
进一步地,当CDR区分上行和下行时,步骤503具体可以包括:网关设备根据该UE的CE信息和该GTP-U数据包,生成该UE的上行CDR。Further, when the CDR distinguishes between the uplink and the downlink, the
需要说明的是,若网关设备包括SGW和PGW,则步骤502-503以及502a-503a均可以包括MME发送修改承载请求或GTP-U数据包给SGW,SGW接收并发送该修改承载请求或GTP-U数据包给PGW。It should be noted that, if the gateway device includes the SGW and the PGW, the steps 502-503 and 502a-503a may each include the MME sending a modify bearer request or a GTP-U data packet to the SGW, and the SGW receives and sends the modified bearer request or GTP- U packets to the PGW.
如图8所示,本发明实施例提供了又一种生成计费数据记录CDR的方法流程图,具体如下所述。As shown in FIG. 8, the embodiment of the present invention provides a flowchart of a method for generating a CDR of a charging data record, which is specifically described below.
601、UE发送NAS消息给MME,该NAS消息携带有该UE的CE信息和该UE的上行数据。601. The UE sends a NAS message to the MME, where the NAS message carries the CE information of the UE and the uplink data of the UE.
602、MME通过信令消息发送该UE的CE信息给网关设备。602. The MME sends the CE information of the UE to the gateway device by using a signaling message.
其中,该网关设备可以为SGW和/或PGW,该信令消息可以为修改承载请求。The gateway device may be an SGW and/or a PGW, and the signaling message may be a modify bearer request.
603、MME根据该NAS消息,发送GTP-U数据包给网关设备。603. The MME sends a GTP-U data packet to the gateway device according to the NAS message.
604、网关设备根据该UE的CE信息和GTP-U数据包,生成该UE的CDR。604. The gateway device generates a CDR of the UE according to the CE information of the UE and the GTP-U data packet.
可选地,在一种可替换场景下,步骤602-603可以替换为602a-603a,在步骤603a执行完毕之后执行步骤604。 Optionally, in an alternative scenario, steps 602-603 may be replaced with 602a-603a, and step 604 is performed after step 603a is performed.
602a、MME发送信令消息给网关设备。602a. The MME sends a signaling message to the gateway device.
其中,网关设备以及信令消息可以参见步骤602中的相关描述。For the gateway device and the signaling message, refer to the related description in
603a、MME根据该NAS消息,发送GTP-U数据包给网关设备,该GTP-U数据包携带有该UE的CE信息。603a. The MME sends a GTP-U data packet to the gateway device according to the NAS message, where the GTP-U data packet carries the CE information of the UE.
如图9所示,本发明实施例提供了又一种生成CDR的方法,具体如下所述。As shown in FIG. 9, another embodiment of the present invention provides a method for generating a CDR, which is specifically described below.
701、UE发起附着流程或分组数据网络(Packet Data Network,PDN)连接建立流程。701. The UE initiates an attach procedure or a packet data network (PDN) connection establishment process.
702、基站获取UE的CE信息,并将该UE的CE信息通过第一信令消息发送给MME。702. The base station acquires the CE information of the UE, and sends the CE information of the UE to the MME by using the first signaling message.
其中,该CE信息可以参见图3所示实施例中的相关描述;第一信令消息可以为初始化UE消息。For the CE information, refer to the related description in the embodiment shown in FIG. 3. The first signaling message may be an initialization UE message.
703、MME发送创建SCEF连接请求消息给SCEF,该创建SCEF连接请求消息携带该UE的CE信息。703. The MME sends a SCEF connection request message to the SCEF, where the created SCEF connection request message carries the CE information of the UE.
704、SCEF向MME发送创建SCEF连接响应消息。704. The SCEF sends a create SCEF connection response message to the MME.
705、SCEF根据该UE的CE信息和非IP数据包,生成该UE的CDR。705. The SCEF generates a CDR of the UE according to the CE information of the UE and the non-IP data packet.
具体地,当SCEF接收上行或下行非IP数据包时,将该UE的CE信息记录在CDR中。Specifically, when the SCEF receives an uplink or downlink non-IP data packet, the CE information of the UE is recorded in the CDR.
其中,CDR可以参见图3所示实施例中的相关描述,不再赘述。For the CDR, refer to the related description in the embodiment shown in FIG. 3, and details are not described herein.
可选地,上述方法还包括:Optionally, the foregoing method further includes:
706、MME根据UE的CE信息和非IP数据包,生成该UE的CDR。706. The MME generates a CDR of the UE according to the CE information of the UE and the non-IP data packet.
其中,CDR可以参见图3所示实施例中的相关描述,不再赘述。For the CDR, refer to the related description in the embodiment shown in FIG. 3, and details are not described herein.
具体地,MME和/或SCEF可以在接收到该UE的上行非IP数据包或下行非IP数据包之后,将该CE信息记录在该UE的CDR中。Specifically, the MME and/or the SCEF may record the CE information in the CDR of the UE after receiving the uplink non-IP data packet or the downlink non-IP data packet of the UE.
其中,步骤705和706执行的先后顺序不予限定。 The order in which steps 705 and 706 are executed is not limited.
如图10所示,本发明实施例提供了一种第一通信设备,该第一通信设备可以用于执行图3或7或8或9所示实施例中第一通信设备或MME的步骤。该第一通信设备具体包括:接收模块101和发送模块102。As shown in FIG. 10, an embodiment of the present invention provides a first communications device, which may be used to perform the steps of the first communications device or MME in the embodiment shown in FIG. 3 or 7 or 8 or 9. The first communication device specifically includes: a receiving
接收模块101,用于接收UE的CE信息。The receiving
发送模块102,用于将接收模块101接收的CE信息发送给第二通信设备,所述CE信息用于所述第二通信设备生成该UE的CDR。The sending
其中,所述CE信息包括以下至少一种:CE指示信息,CE等级信息和CE模式信息;所述CE指示信息用于指示所述UE使用CE功能,所述CE等级信息用于指示所述UE采用的CE等级,所述CE模式信息用于指示所述UE采用的CE模式。The CE information includes at least one of the following: CE indication information, CE level information, and CE mode information; the CE indication information is used to indicate that the UE uses a CE function, and the CE level information is used to indicate the UE. The adopted CE level, the CE mode information is used to indicate the CE mode adopted by the UE.
其中,第一通信设备具体可以是MME或者功能等同于MME的其它设备;此外,第二通信设备可以为SCEF或网关设备。具体地,网关设备,CDR可以参见上述方法实施例中的相关描述,不再赘述。The first communication device may be an MME or another device that is functionally equivalent to the MME. In addition, the second communication device may be a SCEF or a gateway device. For details, refer to the related description in the foregoing method embodiments, and the details are not described herein.
可选地,接收模块101具体用于:Optionally, the receiving
接收所述UE发送的NAS消息,所述NAS消息携带所述CE信息;或者,Receiving a NAS message sent by the UE, where the NAS message carries the CE information; or
接收基站发送的第一信令消息,所述第一信令消息携带所述CE信息。Receiving a first signaling message sent by the base station, where the first signaling message carries the CE information.
其中,所述第一信令消息可以包括UE上下文恢复请求消息或初始化UE消息。The first signaling message may include a UE context recovery request message or an initialization UE message.
可选地,发送模块102可以用于执行图3所示实施例中的步骤102a或102b,该发送模块102具体用于:Optionally, the sending
发送第二信令消息给所述第二通信设备,所述第二信令消息携带所述CE信息;或者,Sending a second signaling message to the second communications device, where the second signaling message carries the CE information; or
发送所述UE的上行数据包给所述第二通信设备,所述上行数据包携带所述CE信息。And sending an uplink data packet of the UE to the second communications device, where the uplink data packet carries the CE information.
其中,该上行数据包可以为非IP数据包。The uplink data packet may be a non-IP data packet.
其中,第二信令消息可以为修改承载请求消息,此处不予限制。 The second signaling message may be a modify bearer request message, which is not limited herein.
上述实施例提供的第一通信设备,通过接收UE的CE信息,并将UE的CE信息发送给第二通信设备,以使得第二通信设备根据该CE信息生成UE的CDR,进而使得在计费时能够参考CE信息,实现针对CE的差异化计费,提高费用计算的合理性。The first communication device provided by the foregoing embodiment receives the CE information of the UE and sends the CE information of the UE to the second communication device, so that the second communication device generates the CDR of the UE according to the CE information, thereby enabling the charging. When referring to CE information, it can realize differentiated charging for CE and improve the rationality of cost calculation.
如图11所示,本发明实施例提供了一种第二通信设备,该第二通信设备可以包括网关设备或SCEF,其中,网关设备具体可以包括PGW和/或SGW。该第二通信设备可以用于执行图4或图6-9所示任一实施例中第二通信设备或网关设备或SCEF的步骤。该第二通信设备具体包括:接收模块201和生成模块202。As shown in FIG. 11 , an embodiment of the present invention provides a second communications device, where the second communications device may include a gateway device or a SCEF, where the gateway device may specifically include a PGW and/or an SGW. The second communication device can be used to perform the steps of the second communication device or gateway device or SCEF in any of the embodiments shown in FIG. 4 or FIGS. 6-9. The second communication device specifically includes: a receiving
接收模块201,用于接收UE的CE信息;The receiving
生成模块202,用于根据接收模块201接收的CE信息,生成所述UE的CDR。The
可选地,接收模块201具体用于:Optionally, the receiving
接收第一通信设备发送的所述CE信息;或者,Receiving the CE information sent by the first communication device; or
接收基站发送的所述UE的第一上行数据包,所述第一上行数据包携带所述CE信息。Receiving, by the base station, a first uplink data packet of the UE, where the first uplink data packet carries the CE information.
进一步地,所述接收第一通信设备发送的所述CE信息,可以包括:Further, the receiving the CE information sent by the first communications device may include:
接收所述第一通信设备发送的第二信令消息,所述第二信令消息携带所述CE信息;或者,Receiving, by the first communications device, a second signaling message, where the second signaling message carries the CE information; or
接收所述第一通信设备发送的所述UE的第一上行数据包,所述第一上行数据包携带所述CE信息。Receiving, by the first communications device, the first uplink data packet of the UE, where the first uplink data packet carries the CE information.
其中,第一通信设备具体可以是MME或者功能等同于MME的其它设备。The first communication device may be specifically an MME or another device whose function is equivalent to the MME.
可选地,生成模块202具体用于:Optionally, the
根据所述第一上行数据包和所述CE信息,生成所述UE的CDR。Generating a CDR of the UE according to the first uplink data packet and the CE information.
在一种可能的设计中,例如,上行数据传输场景下,第二通信设备接收所
述第一通信设备发送的第二信令消息,该第二信令消息携带该UE的CE信息,此时,接收模块201,还用于接收所述UE的第二上行数据包;In a possible design, for example, in an uplink data transmission scenario, the second communication device receives the location
a second signaling message sent by the first communications device, where the second signaling message carries the CE information of the UE. In this case, the receiving
生成模块202,还用于根据接收模块201接收的第二上行数据包和第二信令消息携带的所述CE信息,生成所述UE的CDR。The
在另一种可能的设计中,例如,下行数据传输场景下,接收模块201,还用于接收所述UE的下行数据包;In another possible design, for example, in a downlink data transmission scenario, the receiving
生成模块202,还用于根据接收模块201接收的UE的下行数据包和所述CE信息,生成所述UE的CDR。The
上述实施例提供的第二通信设备,通过接收UE的CE信息,并根据该UE的CE信息生成该UE的CDR,实现了针对CE的差异性计费,提高费用计算的合理性。The second communication device provided by the foregoing embodiment, by receiving the CE information of the UE, and generating the CDR of the UE according to the CE information of the UE, implements differential charging for the CE, and improves the rationality of the cost calculation.
如图12所示,本发明实施例提供了一种第三通信设备,该第三通信设备可以为基站或UE,可以用于执行图5或图6-9所示任一实施例中基站或UE的步骤。该第三通信设备具体可以包括:获取模块301和发送模块302。As shown in FIG. 12, an embodiment of the present invention provides a third communication device, which may be a base station or a UE, and may be used to perform a base station or any of the embodiments shown in FIG. 5 or FIG. 6-9. The steps of the UE. The third communication device may specifically include: an obtaining
获取模块301,用于获取UE的CE信息。The obtaining
发送模块302,用于将获取模块301获取到的所述CE信息发送给第二通信设备,所述CE信息用于所述第二通信设备生成所述UE的CDR。The sending
其中,第二通信设备,CE信息,以及CDR可以参见上述方法实施例中的相关描述,不再赘述。For the second communication device, the CE information, and the CDR, refer to the related description in the foregoing method embodiments, and details are not described herein.
在一种可能的设计中,当所述第三通信设备为所述UE时,发送模块302具体用于:In a possible design, when the third communication device is the UE, the sending
通过第一通信设备发送所述CE信息给所述第二通信设备。Sending the CE information to the second communication device by the first communication device.
进一步地,所述通过第一通信设备发送所述CE信息给所述第二通信设备,包括:Further, the sending, by the first communications device, the CE information to the second communications device includes:
发送携带有所述CE信息的NAS消息给所述第一通信设备,所述NAS消 息用于所述第一通信设备将所述CE信息发送给所述第二通信设备。Sending, by the NAS message carrying the CE information, the first communication device, the NAS And the information is used by the first communications device to send the CE information to the second communications device.
在另一种可能的设计中,当所述第三通信设备为基站时,发送模块302可以用于执行步骤302a或302b,具体如下:In another possible design, when the third communication device is a base station, the sending
发送携带有所述CE信息的第一信令消息给第一通信设备,所述第一信令消息用于所述第一通信设备将所述CE信息发送给所述第二通信设备;或者,Sending a first signaling message carrying the CE information to the first communications device, where the first signaling message is used by the first communications device to send the CE information to the second communications device; or
发送上行数据包给所述第二通信设备,所述上行数据包携带所述CE信息。And sending an uplink data packet to the second communications device, where the uplink data packet carries the CE information.
其中,第一信令消息可以参见图3所示实施例的相关描述。For the first signaling message, refer to the related description of the embodiment shown in FIG. 3.
上述实施例提供的第三通信设备,通过获取UE的CE信息,并发送该UE的CE信息给第二通信设备,以使得第二通信设备根据CE信息生成CDR,实现针对CE的差异性计费,提高费用计算的合理性。The third communication device provided by the foregoing embodiment obtains the CE information of the UE, and sends the CE information of the UE to the second communication device, so that the second communication device generates the CDR according to the CE information, and implements differentiated charging for the CE. To improve the rationality of the cost calculation.
需要指出的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,另外,在本发明各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division. In actual implementation, there may be another division manner. In addition, each functional module in each embodiment of the present invention. It can be integrated in one processor, it can be physically present alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
如图13所示,本发明实施例提供了另一种MME,该MME可以包括通信接口401、处理器402以及存储器403。所述存储器403,用于存储所述处理器402执行的程序代码。所述处理器402具体可以用于执行图3或图7或8或9所示实施例中第一通信设备或MME的步骤。As shown in FIG. 13 , an embodiment of the present invention provides another MME, where the MME may include a
处理器402,可以是一个中央处理单元(英文:central processing unit,简称CPU),或者为数字处理单元等等。处理器402通过通信接口401接收和发送消息。The
例如,图10所示实施例中的接收模块101和发送模块102均可以通过通信接口401发送或接收数据包或信令消息。For example, both the
本发明实施例中不限定上述通信接口401、处理器402以及存储器403
之间的具体连接介质。本发明实施例在图12中以通信接口401、处理器402以及存储器403之间通过总线404连接,总线在图13中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The
存储器403可以是volatile memory,例如RAM;存储器403也可以是non-volatile memory,例如ROM,flash memory、HDD、SSD,或者存储器403是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器403可以是上述存储器的组合。The
如图1314所示,本发明实施例提供了另一种网关设备第二通信设备,该第二通信设备可以为网关设备或SCEF,其中,网关设备可以包括PGW和/或SGW。As shown in FIG. 1314, the embodiment of the present invention provides another gateway device, the second communication device, which may be a gateway device or a SCEF, where the gateway device may include a PGW and/or an SGW.
该网关设备可以包括通信接口501、处理器502以及存储器503。所述存储器503,用于存储所述处理器502执行的程序代码。所述处理器502具体可以用于执行图4或图6-9所示任一实施例中第二通信设备,网关设备或SCEF的步骤。The gateway device can include a
其中,处理器502可以通过通信接口501接收CE信息,不再赘述。The
此外,存储器,总线,以及处理器可以参见图13所示实施例中的相关描述,不再赘述。In addition, the memory, the bus, and the processor can be referred to the related description in the embodiment shown in FIG. 13 and will not be described again.
如图15所示,本发明实施例提供了另一种第三通信设备,该第三通信设备可以为UE或基站。该第三通信设备可以包括处理器601,存储器602以及收发器603。As shown in FIG. 15, the embodiment of the present invention provides another third communication device, which may be a UE or a base station. The third communication device can include a
所述存储器602,用于存储所述处理器601执行的程序代码。所述处理器601具体可以用于执行图5或图6-8所示任一实施例中基站或UE的步骤。
The
具体地,当第三通信设备为UE时,处理器601可以通过收发器603发送CE信息给第二通信设备,不再赘述。Specifically, when the third communication device is the UE, the
可选地,当第三通信设备为基站时,还包括通信接口604,处理器601可以通过通信接口604发送CE信息给第二通信设备,不再赘述。Optionally, when the third communication device is a base station, the
需要说明的是,上述第二通信设备可以为SCEF或网关设备,该网关设备包括SGW和/或PGW。It should be noted that the foregoing second communications device may be a SCEF or a gateway device, and the gateway device includes an SGW and/or a PGW.
此外,存储器以及处理器可以参见图13所示实施例中的相关描述,不再赘述。In addition, the memory and the processor may refer to related descriptions in the embodiment shown in FIG. 13, and details are not described herein again.
需要说明的是,本发明实施例还提供了一种生成CDR的系统,该系统包括:It should be noted that the embodiment of the present invention further provides a system for generating a CDR, where the system includes:
上述图11所示实施例的第二通信设备以及图12所示实施例的第三通信设备,其中,第二通信设备用于执行图6所示实施例中的网关设备的步骤,第三通信设备用于执行图6所示实施例中基站的步骤;或者,The second communication device of the embodiment shown in FIG. 11 and the third communication device of the embodiment shown in FIG. 12, wherein the second communication device is configured to perform the step of the gateway device in the embodiment shown in FIG. 6, the third communication a device is used to perform the steps of the base station in the embodiment shown in FIG. 6; or
上述图11所示实施例的第二通信设备,图12所示实施例的第三通信设备以及图9所示实施例的第一通信设备;或者,The second communication device of the embodiment shown in FIG. 11 above, the third communication device of the embodiment shown in FIG. 12, and the first communication device of the embodiment shown in FIG. 9; or
上述图14所示实施例的第二通信设备以及图15所示实施例的第三通信设备,其中,第二通信设备用于执行图6所示实施例中的网关设备的步骤,第三通信设备用于执行图6所示实施例中基站的步骤;或者,The second communication device of the embodiment shown in FIG. 14 and the third communication device of the embodiment shown in FIG. 15, wherein the second communication device is configured to perform the step of the gateway device in the embodiment shown in FIG. 6, the third communication a device is used to perform the steps of the base station in the embodiment shown in FIG. 6; or
上述图14所示实施例的第二通信设备,图15所示实施例的第三通信设备以及图13所示实施例的第一通信设备。The second communication device of the embodiment shown in FIG. 14 above, the third communication device of the embodiment shown in FIG. 15, and the first communication device of the embodiment shown in FIG.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员 应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art It should be understood that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. The scope of the program.
Claims (31)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/096269 WO2018035687A1 (en) | 2016-08-22 | 2016-08-22 | Method, device and system for generating charging data record (cdr) |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/096269 WO2018035687A1 (en) | 2016-08-22 | 2016-08-22 | Method, device and system for generating charging data record (cdr) |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018035687A1 true WO2018035687A1 (en) | 2018-03-01 |
Family
ID=61246055
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/096269 Ceased WO2018035687A1 (en) | 2016-08-22 | 2016-08-22 | Method, device and system for generating charging data record (cdr) |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2018035687A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103037343A (en) * | 2011-09-30 | 2013-04-10 | 中兴通讯股份有限公司 | Method, device and system for reporting charging message |
| CN103634774A (en) * | 2012-08-21 | 2014-03-12 | 中兴通讯股份有限公司 | A method and device for charging local traffic on the wireless side |
| WO2015122665A1 (en) * | 2014-02-11 | 2015-08-20 | Lg Electronics Inc. | Method and apparatus for indicating change of coverage enhancement mode in wireless communication system |
| US20160205661A1 (en) * | 2015-01-08 | 2016-07-14 | Lg Electronics Inc. | Method for transmitting paging and apparatus for supporting the same in wireless communication system |
-
2016
- 2016-08-22 WO PCT/CN2016/096269 patent/WO2018035687A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103037343A (en) * | 2011-09-30 | 2013-04-10 | 中兴通讯股份有限公司 | Method, device and system for reporting charging message |
| CN103634774A (en) * | 2012-08-21 | 2014-03-12 | 中兴通讯股份有限公司 | A method and device for charging local traffic on the wireless side |
| WO2015122665A1 (en) * | 2014-02-11 | 2015-08-20 | Lg Electronics Inc. | Method and apparatus for indicating change of coverage enhancement mode in wireless communication system |
| US20160205661A1 (en) * | 2015-01-08 | 2016-07-14 | Lg Electronics Inc. | Method for transmitting paging and apparatus for supporting the same in wireless communication system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10932219B2 (en) | De-registration method in wireless communication system and device therefor | |
| US11224084B2 (en) | Method for registering terminal in wireless communication system and apparatus therefor | |
| CN110366131B (en) | Method and device for transmitting data | |
| US9497677B2 (en) | Application service platform with access to core network information | |
| US8855045B2 (en) | Method and system for controlling establishment of local IP access | |
| EP2642815A1 (en) | Method for establishing and using public path and m2m communication method and system | |
| CN108781361B (en) | Method and apparatus for processing data packets | |
| US20200162855A1 (en) | Multicast data transmission method, related device, and communications system | |
| CN109417729B (en) | Service data transmission method and equipment | |
| EP4358552A1 (en) | Billing method, user equipment and network-side device | |
| CN110324867A (en) | A kind of communication means and device | |
| WO2011109938A1 (en) | Method, device and system for reporting wireless access network element information | |
| CN118044331A (en) | Perception control method, device, equipment, system and storage medium | |
| WO2012068946A1 (en) | Method and system for querying gateway | |
| WO2011023061A1 (en) | Method and system for obtaining ip traffic offload charging information | |
| CN115707062A (en) | Network slice admission control method and device | |
| WO2015165069A1 (en) | Method for transmitting downlink data, mobility management network element, access network device, and serving gateway | |
| CN110890967B (en) | Charging processing method, network element and network system | |
| WO2014134819A1 (en) | Billing method, access network device and gateway device | |
| WO2018035687A1 (en) | Method, device and system for generating charging data record (cdr) | |
| WO2011032522A1 (en) | System and method for implementing local access | |
| CN101431722A (en) | Method for data network access during adhesion, network appliance and access network thereof | |
| KR101772503B1 (en) | Mobility Management Entity, Serving Gateway, Packet Data Network Gateway, and System | |
| WO2018035867A1 (en) | Charging method and apparatus | |
| CN102843664B (en) | The processing method of user's local IP access business, device and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16913711 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16913711 Country of ref document: EP Kind code of ref document: A1 |