[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104170350B - A kind of method, apparatus and system of M2M service messages transmission - Google Patents

A kind of method, apparatus and system of M2M service messages transmission Download PDF

Info

Publication number
CN104170350B
CN104170350B CN201280020891.6A CN201280020891A CN104170350B CN 104170350 B CN104170350 B CN 104170350B CN 201280020891 A CN201280020891 A CN 201280020891A CN 104170350 B CN104170350 B CN 104170350B
Authority
CN
China
Prior art keywords
coap
information
message
mtc
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.)
Active
Application number
CN201280020891.6A
Other languages
Chinese (zh)
Other versions
CN104170350A (en
Inventor
余芳
朱雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104170350A publication Critical patent/CN104170350A/en
Application granted granted Critical
Publication of CN104170350B publication Critical patent/CN104170350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of method of M2M service messages transmission, equipment and system, is related to the communications field, and to realize control and management to CoAP message transmitting procedures, the method includes:MTC adapting appts obtain CoAP message, and obtain the first identification information in the CoAP message;The status information of base station is obtained, and the forwarding strategy of the CoAP message is determined according to first identification information and the status information, the embodiment of the present invention is used for the transmission of M2M service messages.

Description

Method, equipment and system for transmitting M2M service message
Technical Field
The present invention relates to the field of communications, and in particular, to a method, a device, and a system for transmitting M2M service messages.
Background
The M2M (Machine-to-Machine) communication is a generic name of a series of technologies and combinations of technologies for implementing data communication and interaction between machines and between people by applying various communication networks (communication networks, internet, industry networks) and information perception and processing. M2M communication may utilize services provided by 3GPP (The 3rd Generation PartnershipProject, third Generation partnership project).
In The existing M2M communication scenario based on The 3GPP network, in The process of performing a Constrained Application layer Protocol (restricted Application layer Protocol) message interaction with a CoAP terminal (user equipment), The CoAP message is forwarded in The form of a short message or an OTT (Over The Top of The Internet) message, so that in The forwarding process, information such as QoS (Quality of Service) in The network is not considered, and The operation state of The current network cannot be known, which easily causes network congestion and The like to affect The normal communication of The network.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a system for transmitting an M2M service message, so as to implement control and management of a CoAP message transmission process.
In a first aspect, an embodiment of the present invention provides a method for transmitting an M2M service message, including:
the method comprises the steps that Machine Type Communication (MTC) adaptive equipment obtains a limited application layer protocol (CoAP) message and obtains first identification information in the CoAP message, wherein the first identification information is information for identifying a CoAP terminal in the CoAP message;
and acquiring the state information of the base station, and determining the forwarding strategy of the CoAP message according to the first identification information and the state information.
In a first possible implementation manner of the first aspect, the method includes: the MTC adaptation equipment acquires the CoAP message comprises the following steps: and the MTC adaptation equipment receives a CoAP message sent by the CoAP server.
In a second possible implementation manner of the first aspect, the method includes: before the MTC adapter device acquires the CoAP message, the method further includes: the MTC adaptation equipment receives an HTTP message sent by a hypertext transfer protocol HTTP server;
and converting the HTTP message into a CoAP message.
With reference to any one of the first aspect to the second possible implementation manner of the first aspect, in a third possible implementation manner, the acquiring the state information of the base station includes:
and acquiring the state information of the base station from a mobile control node MME or a packet data network PDN gateway.
With reference to the third possible implementation manner, in a fourth possible implementation manner, before the obtaining of the state information of the base station, the method further includes:
receiving third identification information of the base station, which is sent by the HSS, wherein the third identification information of the base station is information acquired by the HSS from the MME according to the stored second identification information of the MME;
the acquiring the state information of the base station comprises: and acquiring the state information of the base station according to the third identification information.
With reference to any one of the first aspect to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the method further includes:
the MTC adaptation equipment sends the CoAP message to a PDN gateway after determining to send the CoAP message according to the first identification information and the state information;
the MTC adaptation equipment sends application layer information to a policy and charging rule function PCRF, so that the PCRF configures a control policy according to the application layer information and the acquired first subscription information and second subscription information, and sends the control policy to a PDN gateway, so that the PDN gateway sends the CoAP message to the CoAP terminal through the base station according to the control policy after receiving the CoAP message sent by the MTC adaptation equipment.
With reference to the fifth possible implementation manner, in a sixth possible implementation manner, the method further includes:
the MTC adaptation equipment acquires first subscription information of the CoAP terminal from a Home Subscriber Server (HSS) according to the first identification information;
the MTC adaptation equipment receives first subscription information of the CoAP terminal sent by the HSS;
and the MTC adaptation equipment sends the first subscription information to the PCRF.
With reference to the fifth possible implementation manner, in a seventh possible implementation manner, the method further includes:
the method further comprises the following steps: the MTC adaptation equipment sends the first identification information to the PCRF, so that the PCRF acquires first subscription information from the HSS according to the first identification information.
With reference to any one of the first aspect to the fourth possible implementation manner of the first aspect, in an eighth possible implementation manner, the method further includes: and when the CoAP terminal is determined to support the IMS service of the IP multimedia subsystem according to the first subscription information of the CoAP terminal, the MTC adaptation equipment converts the CoAP message into an IMS message.
With reference to the eighth possible implementation manner, in a ninth possible implementation manner, the method further includes: after the MTC adaptation equipment determines to send the CoAP message according to the first identification information and the state information, the MTC adaptation equipment sends the IMS message to a Call Session Control Function (CSCF), so that the CSCF converts the IMS message into session information and sends the session information to the PCRF, the PCRF configures a control strategy according to the session information, first subscription information acquired from a subscription information Server (SPR) and a subscriber server (HSS) and second subscription information acquired from the SPR, and sends the control strategy to a PDN gateway, and the PDN gateway sends the IMS message received from the CSCF to the CoAP terminal through the base station according to the control strategy.
With reference to any one of the fifth possible implementation manner to the ninth possible implementation manner, in a tenth possible implementation manner, the method further includes:
the MTC adaptation equipment determines a group corresponding to the CoAP message under a grouping rule according to grouping determination information; the packet determination information includes: the state information of the base station, the first subscription information of the CoAP terminal and the service type of the CoAP message;
the determining the forwarding policy of the CoAP message according to the first identification information and the state information includes: and determining the group and the forwarding strategy of the CoAP message in the group according to the first identification information and the state information.
With reference to the tenth possible implementation manner, in an eleventh possible implementation manner, the grouping rule includes:
CoAP messages which come from the same application server and have the same service type are grouped; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same base station form a group; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same CoAP terminal form a group; or,
CoAP messages which come from the same application server, have the same service type and are transmitted to CoAP terminals with the same priority are grouped; or,
CoAP messages transmitted to the same base station form a group; or,
CoAP messages transmitted to the same CoAP terminal form a group; or,
CoAP messages transmitted to CoAP terminals with the same priority are grouped.
In a second aspect, another method for M2M service message transmission is provided, including:
HSS receives first identification information, wherein the first identification information is information for identifying a CoAP terminal in the CoAP message;
and sending the first subscription information of the CoAP terminal to the PCRF according to the first identification information, so that the PCRF configures a control strategy according to the first subscription information, the second subscription information acquired from the SPR and the application layer information received from the MTC adaptation equipment.
In a first possible implementation manner of the second aspect, the receiving, by the HSS, the first identification information includes: and the HSS receives the first identification information sent by the PCRF.
With reference to the second aspect, in a second possible implementation manner, the receiving, by the HSS, the first identification information includes: the HSS receives first identification information sent by the MTC adapter equipment;
the sending the first subscription information of the CoAP terminal to the PCRF according to the first identification information comprises: and sending the first subscription information of the CoAP terminal to MTC adaptation equipment according to the first identification information, so that the MTC adaptation equipment sends the first subscription information to the PCRF.
With reference to any one of the second aspect to the second possible implementation manner of the second aspect, in a third possible implementation manner, the method further includes:
and the HSS acquires third identification information of the base station from the MME according to the second identification information of the mobile control node MME and sends the third identification information to the MTC adaptation equipment, so that the MTC adaptation equipment acquires the state information of the base station according to the third identification information.
In a third aspect, another method for transmitting an M2M service message is provided, including:
the PCRF receives application layer information sent by the MTC adaptation equipment;
acquiring first subscription information and second subscription information;
configuring a control strategy according to the application layer information, the first subscription information and the second subscription information;
and sending the control strategy to a PDN gateway so that the PDN gateway sends a CoAP message to a CoAP terminal through the base station according to the control strategy after receiving the CoAP message sent by MTC adaptation equipment.
In a first possible implementation manner of the third aspect, the acquiring, by the PCRF, the first subscription information and the second subscription information includes: after the MTC adapter equipment acquires the first subscription information from the HSS according to the first identification information, receiving the first subscription information sent by the MTC adapter equipment; the first identification information is information for identifying the CoAP terminal in the CoAP message;
and the PCRF acquires the second subscription information from the SPR.
In a second possible implementation manner of the third aspect, before the receiving, by the PCRF, the first subscription information, the method further includes:
the PCRF receives first identification information sent by MTC adaptive equipment, wherein the first identification information is information for identifying the CoAP terminal in the CoAP message;
the acquiring the first subscription information and the second subscription information includes: and acquiring the first subscription information from the HSS according to the first identification information, and acquiring the second subscription information from the SPR.
With reference to any one of the third aspect to any one of the second possible implementation manners of the third aspect, in a third possible implementation manner, after the CSCF converts the IMS message received from the MTC adapter device into session information, the session information is received; and the IMS message is a message converted by the MTC adaptation equipment from the received CoAP message when the MTC adaptation equipment determines that the CoAP terminal supports the IMS service according to the first subscription information of the CoAP terminal.
In a fourth aspect, an MTC adaptation device is provided, which includes:
a receiving unit, configured to obtain a CoAP message of a restricted application layer protocol, and obtain first identification information in the CoAP message, where the first identification information is information identifying a CoAP terminal in the CoAP message, and obtain state information of a base station;
a processing unit, configured to determine a forwarding policy of the CoAP message according to the first identifier information and the state information acquired by the receiving unit;
and the buffer unit is used for buffering the CoAP message.
In a first possible implementation manner of the fourth aspect, the receiving unit is specifically configured to receive a CoAP message sent by a CoAP server.
In a second possible implementation manner of the fourth aspect, the receiving unit is further configured to receive, before the CoAP message is acquired, an HTTP message sent by an HTTP server;
the processing unit is further configured to convert the HTTP message into a CoAP message.
With reference to any one of the fourth aspect to the second possible implementation manner of the fourth aspect, in a third possible implementation manner, the receiving unit is specifically configured to acquire the state information of the base station from an MME or a PDN gateway.
With reference to the third possible implementation manner, in a fourth possible implementation manner, the receiving unit is specifically configured to receive third identification information of the base station, which is sent by an HSS before the state information of the base station is obtained, where the third identification information of the base station is information that the HSS obtains from the MME according to the stored second identification information of the MME, and obtains the state information of the base station according to the third identification information.
With reference to any one of the first aspect to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the MTC adaptation device further includes: and the first sending unit is used for sending the CoAP message to a PDN gateway after the processing unit determines to send the CoAP message according to the first identification information and the state information, and sending application layer information to a Policy and Charging Rule Function (PCRF), so that the PCRF configures a control policy according to the application layer information, the obtained first subscription information and the obtained second subscription information, and sends the control policy to the PDN gateway, so that the PDN gateway sends the CoAP message to the CoAP terminal through the base station according to the control policy after receiving the CoAP message sent by MTC adaptation equipment.
With reference to the fifth possible implementation manner, in a sixth possible implementation manner, the receiving unit is further configured to obtain, according to the first identification information, first subscription information of the CoAP terminal from a home subscriber server HSS, and receive the first subscription information of the CoAP terminal and third identification information of the base station, where the first subscription information of the CoAP terminal and the third identification information are sent by the HSS; the third identification information of the base station is the information acquired by the HSS from the MME according to the stored second identification information of the MME;
the first sending unit is further configured to send the first subscription information to the PCRF;
the receiving unit is specifically configured to obtain state information of the base station according to the third identification information.
With reference to the fifth possible implementation manner, in a seventh possible implementation manner, the first sending unit is further configured to send the first identification information to the PCRF, so that the PCRF obtains the first subscription information from the HSS according to the first identification information;
the receiving unit is further configured to receive third identification information sent by the HSS, where the third identification information is information that is obtained by the HSS from the MME according to the stored second identification information of the MME;
the receiving unit is specifically configured to obtain the state information of the base station according to the third identification information received by the receiving unit.
With reference to any one of the fourth aspect to any one of the fifth possible implementation manners of the fourth aspect, in an eighth possible implementation manner, the processing unit is further configured to convert, when it is determined that the CoAP terminal supports the IP multimedia subsystem IMS service according to the first subscription information of the CoAP terminal, the CoAP message into an IMS message.
With reference to the eighth possible implementation manner, in a ninth possible implementation manner, the MTC adaptation device further includes: and the second sending unit is used for sending the IMS message to a Call Session Control Function (CSCF) after determining to send the CoAP message according to the first identification information and the state information, so that the CSCF converts the IMS message into session information and sends the session information to the PCRF, the PCRF configures a control strategy according to the session information, the first subscription information acquired from the HSS and the second subscription information acquired from the SPR, and sends the control strategy to a PDN gateway, and the PDN gateway sends the IMS message received from the CSCF to the CoAP terminal through the base station according to the control strategy.
With reference to any one of the fifth possible implementation manner to the ninth possible implementation manner, in a tenth possible implementation manner, the processing unit is further configured to determine, according to grouping determination information, a group to which the CoAP message corresponds under a grouping rule; the packet determination message includes: the state information of the base station, the first subscription information of the CoAP terminal and the service type of the CoAP message;
the processing unit is specifically configured to determine the group and a forwarding policy of CoAP messages in the group according to the first identification information and the state information.
With reference to the tenth possible implementation manner, in an eleventh possible implementation manner, the grouping rule includes:
CoAP messages which come from the same application server and have the same service type are grouped; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same base station form a group; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same CoAP terminal form a group; or,
CoAP messages which come from the same application server, have the same service type and are transmitted to CoAP terminals with the same priority are grouped; or,
CoAP messages transmitted to the same base station form a group; or,
CoAP messages transmitted to the same CoAP terminal form a group; or,
CoAP messages transmitted to CoAP terminals with the same priority are grouped.
In a fifth aspect, there is provided a HSS comprising: a receiving unit, configured to receive first identification information, where the first identification information is information that identifies a CoAP terminal in the CoAP message;
the storage unit is used for storing first subscription information of the CoAP terminal;
and the sending unit is used for sending the first subscription information of the CoAP terminal stored by the storage unit to the PCRF according to the first identification information received by the receiving unit, so that the PCRF configures a control strategy according to the first subscription information, the second subscription information acquired from the SPR and the application layer information received from the MTC adapting device.
In a first possible implementation manner of the fifth aspect, the receiving unit is specifically configured to receive the first identification information sent by the PCRF.
In a second possible implementation manner of the fifth aspect, the receiving unit is specifically configured to receive first identification information sent by the MTC adapter device;
the sending unit is specifically configured to send the first subscription information of the CoAP terminal to the MTC adaptation device according to the first identifier information, so that the MTC adaptation device sends the first subscription information to the PCRF.
With reference to the fifth aspect to the second possible implementation manner of the fifth aspect, in a third possible implementation manner, the storage unit further stores second identification information of an MME;
the receiving unit is further configured to obtain third identification information of the base station from the MME according to the second identification information of the MME stored in the storage unit;
the third sending unit is further configured to send the third identifier information to the MTC adaptation device, so that the MTC adaptation device obtains the state information of the base station according to the third identifier information.
In a sixth aspect, a PCRF is provided that includes: the receiving unit is used for receiving application layer information sent by the MTC adaptive device and acquiring first subscription information and second subscription information;
and the sending unit is used for configuring a control strategy according to the application layer information, the first subscription information and the second subscription information.
In a first possible implementation manner of the sixth aspect, the receiving unit is specifically configured to receive the first subscription information sent by the MTC adaptation device after the MTC adaptation device obtains the first subscription information from the HSS according to the first identifier information; the first identification information is information for identifying the CoAP terminal in the CoAP message and acquiring the second subscription information from SPR.
In a second possible implementation manner of the sixth aspect, the receiving unit is further configured to receive first identification information sent by an MTC adaptation device, where the first identification information is information identifying the CoAP terminal in the CoAP message, acquire the first subscription information from the HSS according to the first identification information, and acquire the second subscription information from the SPR.
With reference to any one of the sixth aspect to the second possible implementation manner of the sixth aspect, in a third possible implementation manner, the receiving unit is further configured to receive session information after the CSCF converts an IMS message received from the MTC adaptation device into the session information; and the IMS message is a message converted by the MTC adaptation equipment from the received CoAP message when the MTC adaptation equipment determines that the CoAP terminal supports the IMS service according to the first subscription information of the CoAP terminal.
In a seventh aspect, a PDN gateway is provided, including:
the receiving unit is used for receiving a CoAP message sent by the MTC adapter equipment and receiving a PCRF control strategy;
and the sending unit is used for sending the CoAP message received by the receiving unit to the CoAP terminal through the base station according to the control strategy received by the receiving unit.
In an eighth aspect, there is provided a CSCF comprising:
the receiving unit is used for receiving an IMS message sent by MTC adaptive equipment;
the processing unit is used for converting the IMS message into session information and sending the session information to the PCRF, so that the PCRF configures a control strategy according to the session information, first subscription information acquired from the HSS and second subscription information acquired from the SPR, and sends the control strategy to a PDN gateway, and the PDN gateway sends the IMS message received from the CSCF to the CoAP terminal through the base station according to the control strategy;
and the sending unit is used for sending the IMS message to a PDN gateway so that the PDN gateway can send the IMS message received by the receiving unit to the CoAP terminal through the base station according to the control strategy.
In a ninth aspect, there is provided an M2M service message transmission system, comprising: the application server is used for sending a CoAP message or an HTTP message to the MTC adaptation equipment;
the MTC compliant device described in the fourth aspect above;
the PCRF as described in the sixth aspect above;
the HSS described in the fifth aspect above;
the PDN gateway described in the seventh aspect above;
and the CoAP terminal is used for receiving the CoAP message.
In a possible implementation manner of the ninth aspect, the method further includes: the CSCF as described in the eighth aspect above.
By adopting the scheme, the MTC adaptation equipment acquires the CoAP message, and can dynamically determine whether to forward the CoAP message according to the state information of the base station and the first identification information of the UE through the acquired state information of the base station and the first identification information of the UE, thereby realizing the control and management of the CoAP message in the transmission process.
Drawings
Fig. 1 is a schematic diagram of a method for transmitting an M2M service message according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating another method for transmitting an M2M service message according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating another method for transmitting an M2M service message according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for transmitting an M2M service message according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating another M2M service message transmission method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an MTC adaptation device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another MTC adapted device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another MTC adapted device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an HSS according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a PCRF according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a PDN gateway according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a CSCF according to an embodiment of the present invention;
fig. 13 is a schematic diagram of an M2M service message transmission system according to an embodiment of the present invention;
fig. 14 is a schematic diagram of an M2M service message transmission system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for transmitting an M2M service message, as shown in fig. 1, an execution subject of the method is MTC (Machine Type Communications) adaptation equipment, and the method includes:
s101, the MTC adaptation equipment acquires a CoAP message and acquires first identification information in the CoAP message.
Specifically, the MTC adaptation device obtains the first identification information of the CoAP terminal in the CoAP message by analyzing the CoAP message.
It should be noted that the CoAP terminal may include a main terminal and at least one auxiliary terminal, where the main terminal supports 3GPP, the auxiliary terminal does not support 3GPP capability (for example, 3GPP service without SIM card), and the main terminal serves as a proxy terminal of the auxiliary terminal to relay a message, and of course, the CoAP terminal may also include only the main terminal.
For example, the MTC adaptation device may parse a Uri-Host field and a Proxy-Uri field in a CoAP message, thereby obtaining first identification information of the CoAP terminal; specifically, if there is no corresponding auxiliary terminal under the main terminal of the CoAP terminal, that is, there is no Proxy-Uri field in the CoAP message, only the Uri-Host field in the CoAP message is analyzed, so as to obtain the first identification information of the CoAP terminal, where at this time, the first identification information of the CoAP terminal may be the Host name of the CoAP terminal; if an auxiliary terminal is corresponding to the main terminal of the CoAP terminal, that is, a Proxy-Uri field exists in the CoAP message, a Uri-Host field and a Proxy-Uri field in the CoAP message are analyzed, and at this time, the first identification information of the CoAP terminal may be a Host name of the CoAP terminal and identification information of the auxiliary terminal transmitted by the CoAP message under the main terminal of the CoAP terminal.
Optionally, the MTC adaptation device receives a CoAP message sent by the CoAP server,
further, the CoAP server may further send a CoAP message to a TDF (Traffic detection function), so that after the TDF determines that the received message is the CoAP message, the MTC adaptation device receives the CoAP message sent by the TDF.
Specifically, the TDF detects that the received message includes a URL (Uniform Resource Locator) beginning with the map:// or maps:// and determines that the message is a CoAP message.
Optionally, in a scenario that a CoAP terminal supporting a CoAP protocol interacts with an HTTP server supporting an HTTP (hypertext transfer protocol), the MTC adapter device receives an HTTP message sent by an HTTP server, and therefore, the MTC adapter device needs to convert the HTTP message into a CoAP message after receiving the HTTP message.
The above conversion of the HTTP message into the CoAP message can be understood as follows: converting the message from HTTP format to CoAP format, for example: the URL beginning with http:// or https:// in the message may be modified to be the URL beginning with copa:// or cops:// here by way of example only and the invention is not limited thereto.
Further, after the TDF determines that the received message is an HTTP message and determines that the CoAP terminal supports CoAP service, the TDF receives the CoAP message sent by the TDF.
S102, the MTC adaptation equipment acquires the state information of the base station and determines the forwarding strategy of the CoAP message according to the first identification information and the state information.
Further, the MTC adaptation device may obtain status information of a base station from an MME (Mobility Management Entity) or a PDN (Packet Data network) gateway
The status information of the base station may be congestion information of the base station or load information of the base station.
For example, when the MTC adapter device obtains the destination base station of the CoAP message according to the first identifier information, and obtains the state information of the base station after receiving the CoAP message, it obtains that the destination base station is in an idle state or a congested state according to the state information of the base station, and if the destination base station is in an idle state, it determines to send the CoAP message to the destination base station; if the target base station is in the congestion state, the CoAP message is discarded or sent in a delayed mode, so that the forwarding of the CoAP message is controlled and managed, and the problems of network congestion and the like are avoided.
Specifically, before the status information of the base station is obtained, the MTC adapter receives the third identifier information of the base station sent by the HSS.
The third identification information of the base station is the information acquired by the HSS from the MME according to the stored second identification information of the MME;
and the MTC adaptation equipment acquires the state information of the base station according to the third identification information.
The third identification information may include:
E-UTRAN Cell Global Identity (E-UTRAN (Evolved Universal terrestrial radio Access Network)) Cell Global Identity, wherein the information refers to the latest serving Cell of the CoAP terminal;
the E-UTRAN Cell Identity Age is the time limit of the E-UTRAN Cell Identity, and the information refers to the time which elapses after the Cell global Identity is acquired.
Further, after determining to send the CoAP message according to the first identification information and the state information, the MTC adaptation device sends the CoAP message to the PDN gateway.
The MTC adaptation equipment sends application layer information to a PCRF (Policy and Charging Rules Function), so that the PCRF configures a control Policy according to the application layer information and the acquired first subscription information and second subscription information, and sends the control Policy to a PDN gateway, so that the PDN gateway sends the CoAP message to the CoAP terminal through the base station according to the control Policy after receiving the CoAP message sent by the MTC adaptation equipment.
The above control policy mainly includes that the PDN gateway sends the CoAP message according to a rule name, a service ID, a service data flow template, a gateway state, or a QoS parameter, which is not limited in the present invention.
It should be noted that before sending the CoAP message to the CoAP terminal through the base station, the PDN gateway also establishes or activates a bearer according to the control policy, so that the PDN gateway sends the CoAP message to the CoAP terminal through the base station.
Wherein the application layer information includes: bandwidth requirement information, application layer session related information, flow state information, priority indication information, emergency session indication information, application layer event identifier, and the like, which are not limited in the present invention.
The first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service) EPS (Evolved Packet System), is preferred, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of the homography Support of the IMS Over PS session for MME, that is, IMS Over PS session, this information is used to indicate that the capability of the "IMS Over PS (IMS in PS domain)" can be equivalently supported (i.e., the same policy is adopted) in all TAs (Tracking areas) of the MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
The second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
the QoS (Quality of Service) information allowed by the subscriber comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
Further, the acquiring, by the PCRF, the first subscription information includes the following two ways:
the first method is as follows: the MTC adapter equipment acquires the first subscription information of the CoAP terminal from an HSS (Home Subscriber Server) according to the first identification information.
The MTC adaptation equipment receives first subscription information of the CoAP terminal sent by the HSS;
and the MTC adaptation equipment sends the first subscription information to the PCRF.
Specifically, the MTC adapter device sends a query request message to the HSS, where the query request message includes the first identifier information, so that the HSS obtains the stored first subscription information of the CoAP terminal according to the first identifier information and sends the first subscription information to the MTC adapter device, and the MTC adapter device sends the first subscription information to the PCRF.
And the MTC adaptation equipment receives the first subscription information of the CoAP terminal sent by the HSS.
The HSS stores first subscription information of the CoAP terminal and second identification information of the MME.
The second method comprises the following steps: the MTC adaptation equipment sends the first identification information to the PCRF so that the PCRF can acquire first subscription information from the HSS according to the first identification information.
Specifically, after receiving the first identification information, the PCRF sends a query request message to the HSS, where the query request message includes the first identification information, so that the HSS obtains the stored first subscription information of the CoAP terminal according to the first identification information and sends the first subscription information to the PCRF.
It should be noted that the first and second manners are only two implementation manners provided in this embodiment, and the present invention is not limited thereto, and other manners capable of implementing that the MTC adapter device obtains the first subscription information should also be within the protection scope of the present invention.
Thus, the PCRF receives the first subscription information, and the first subscription information includes information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, and the like, so that the CoAP message transmission network can see the auxiliary terminal under the CoAP terminal main terminal for CoAP message transmission, and thus, policy and charging control can be performed on the CoAP message conveniently.
In addition, the MTC adaptation device determines a group corresponding to the CoAP message under the grouping rule according to the grouping determination information.
Wherein the packet determination message includes: and determining the group and a forwarding strategy of the CoAP message in the group according to the first identification information and the state information.
Specific grouping rules may include:
CoAP messages which come from the same application server and have the same service type are grouped; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same base station form a group; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same CoAP terminal form a group;
specifically, CoAP messages from the same application server and having the same service type and transmitted to the auxiliary terminals under the main terminal of the same CoAP terminal form a group;
or,
CoAP messages which come from the same application server, have the same service type and are transmitted to CoAP terminals with the same priority are grouped;
specifically, CoAP messages from the same application server and having the same service type and transmitted to the auxiliary terminals under the main terminals of CoAP terminals having the same priority are grouped;
or,
CoAP messages transmitted to the same base station form a group; or,
CoAP messages transmitted to the same CoAP terminal form a group; or,
CoAP messages transmitted to CoAP terminals with the same priority are grouped.
The MTC adapter device determines the group to which the CoAP message corresponds according to any one of the above grouping rules.
It should be noted that the grouping rule may be configured in advance, and the MTC adaptation device may determine the group corresponding to the CoAP message after receiving the CoAP message.
For example: the MTC adaptation device receives two CoAP messages (marked as CoAP message A and CoAP message B) at the same time, determines that the CoAP message A is transmitted to a target base station A and the CoAP message B is transmitted to a target base station B under the condition that the CoAP messages transmitted to the same base station are in a group as a grouping rule, divides the CoAP message A into the group A corresponding to the target base station A and divides the CoAP message B into the group B corresponding to the target base station B,
if the target base station A is in an idle state; when the target base station B is in a congestion state, the CoAP message in the group A is preferentially sent, and the CoAP message in the group B is discarded or sent in a delayed manner; on the contrary, the CoAP message in the group B is sent preferentially, and the CoAP message in the group A is discarded or sent in a delayed manner;
further, when determining to send the CoAP message in the group a, if the MTC adaptation device determines that too many CoAP messages in the group a exceed the maximum number that the target base station can bear, the MTC adaptation device may also determine, according to the priority message in the application layer of the CoAP message in the group a, the CoAP message that is preferentially sent in the same group.
It should be noted that, the group of CoAP messages transmitted to the same base station is used as the grouping rule for illustration only, and there are many specific grouping rules, which are not listed here, but all of which fall within the scope of the present invention.
Through the process of determining the group corresponding to the CoAP message, when the MTC adaptation device receives a large number of CoAP messages (for example, more than 100 messages) sent by the application server, the MTC adaptation device avoids the repetitive operation that the status information of the base station needs to be acquired every time one CoAP message is received, and can determine the forwarding strategy of the received CoAP message only by acquiring the status information of the base station once, thereby conveniently controlling and managing the received CoAP message.
Further, when the MTC adaptation device determines that the CoAP terminal supports the IMS service of the IP multimedia subsystem according to the first subscription information of the CoAP terminal, the MTC adaptation device converts the CoAP message into the IMS message.
Specifically, the above MTC adapter device converting the CoAP message into the IMS message may be understood as: the message is converted from CoAP format to IMS format.
In addition, if the CoAP terminal does not register the IMS service, the MTC adapter device also needs to trigger IMS registration of the CoAP terminal.
Furthermore, after determining to send the CoAP message according to the first identification information and the state information, the MTC adaptation device sends the IMS message to a call session control function CSCF, so that the CSCF converts the IMS message into session information and sends the session information to a PCRF, so that the PCRF configures a control policy according to the session information, first subscription information acquired from a subscription information server SPR and an HSS, and second subscription information acquired from the SPR, and sends the control policy to a PDN gateway, and the PDN gateway sends the IMS message received from the CSCF to the CoAP terminal through the base station according to the control policy.
Specifically, the CSCF converting the IMS message into session information may be understood as: and the CSCF acquires the information related to the application layer session corresponding to the message according to the IMS message.
By adopting the method for transmitting the M2M service message, the MTC adaptation equipment acquires the CoAP message, and can dynamically determine whether to forward the CoAP message according to the state information of the base station and the first identification information of the CoAP terminal through the acquired state information of the base station and the first identification information of the CoAP terminal, thereby realizing the control and management of the CoAP message in the transmission process.
An embodiment of the present invention provides a method for transmitting an M2M service message, as shown in fig. 2, where an execution subject of the method is an HSS, and the method includes:
s201, the HSS receives the first identification information.
And the first identification information is information for identifying the CoAP terminal in the CoAP message.
Optionally, the HSS receives the first identification information sent by the PCRF.
And the first identification information is information for identifying the CoAP terminal in the CoAP message.
Specifically, the MTC adaptation device sends the first identification information to the PCRF, and the PCRF then obtains the first subscription information from the HSS according to the first identification information.
Optionally, the HSS receives the first identification information sent by the MTC adapter device.
S202, the HSS sends the first subscription information of the CoAP terminal to the PCRF according to the first identification information, so that the PCRF configures a control strategy according to the first subscription information, the second subscription information acquired from the SPR and the application layer information received from the MTC adapter equipment.
Further, the HSS obtains third identification information of the base station from the MME according to the second identification information of the MME, and sends the third identification information to the MTC adaptation device, so that the MTC adaptation device obtains the state information of the base station according to the third identification information.
The HSS stores first subscription information of the CoAP terminal and second identification information of the MME.
The first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service), EPS Priority, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of the Homogenesus Support of IMS Over PS Sessions for MME, that is, IMS Over PS session, the information is used to indicate that the capability of the IMS Over PS (IMS session in PS domain) can be equivalently supported (that is, the same policy is adopted) in all TAs of the MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
The third identification information may include:
E-UTRAN Cell Global Identity (E-UTRAN Cell Global Identity) which refers to the latest serving Cell of the CoAP terminal;
the E-UTRAN Cell Identity Age is the time limit of the E-UTRAN Cell Identity, and the information refers to the time which elapses after the Cell global Identity is acquired.
Further, after the HSS sends the first subscription information and the third identification information to the MTC adaptation device, the MTC adaptation device acquires the state information of the base station according to the third identification information, and determines a group corresponding to the CoAP message under a grouping rule according to grouping determination information.
Wherein the packet determination message includes: the MTC adaptation equipment determines the group and a forwarding strategy of the CoAP message in the group according to the first identification information and the state information.
The grouping rule includes:
CoAP messages which come from the same application server and have the same service type are grouped; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same base station form a group; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same CoAP terminal form a group;
specifically, CoAP messages from the same application server and having the same service type and transmitted to the auxiliary terminals under the main terminal of the same CoAP terminal form a group;
or,
CoAP messages which come from the same application server, have the same service type and are transmitted to CoAP terminals with the same priority are grouped;
specifically, CoAP messages from the same application server and having the same service type and transmitted to the auxiliary terminals under the main terminals of CoAP terminals having the same priority are grouped;
or,
CoAP messages transmitted to the same base station form a group; or,
CoAP messages transmitted to the same CoAP terminal form a group; or,
CoAP messages transmitted to CoAP terminals with the same priority are grouped.
It should be noted that the grouping rule may be configured in advance, and the MTC adaptation device may determine the group corresponding to the CoAP message after receiving the CoAP message.
By adopting the method for transmitting the M2M service message, the HSS sends the first subscription information of the CoAP terminal to the MTC adaptation equipment so that the MTC adaptation equipment can send the first subscription information to the PCRF, the CoAP message transmission network can see the auxiliary terminal under the main terminal of the CoAP terminal for CoAP message transmission, and the strategy and charging control of the CoAP message can be conveniently carried out.
An embodiment of the present invention provides a method for transmitting an M2M service message, as shown in fig. 3, where an execution subject of the method is a PCRF, and the method includes:
s301, the PCRF receives application layer information sent by the MTC adaptation equipment.
S302, the PCRF acquires the first subscription information and the second subscription information.
The first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service), EPS Priority, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of the Homogenesus Support of IMS Over PS Sessions for MME, that is, IMS Over PS session, the information is used to indicate that the capability of the IMS Over PS (IMS session in PS domain) can be equivalently supported (that is, the same policy is adopted) in all TAs of the MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
The second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
QoS information allowed by the signed user comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
Further, the receiving, by the PCRF, the first subscription information includes the following two implementation manners:
the first method is as follows: and after the MTC adapter equipment acquires the first subscription information from the HSS according to the first identification information, receiving the first subscription information sent by the MTC adapter equipment.
Wherein, the first identification information is the information identifying the CoAP terminal in the CoAP message.
And the PCRF acquires the second subscription information from the SPR.
The second method comprises the following steps: before the PCRF receives the first subscription information, the method further includes:
the PCRF receives first identification information sent by MTC adaptive equipment, wherein the first identification information is information for identifying the CoAP terminal in the CoAP message;
the acquiring the first subscription information and the second subscription information includes: and acquiring the first subscription information from the HSS according to the first identification information, and acquiring the second subscription information from the SPR.
It should be noted that the first and second manners are only two implementation manners provided in this embodiment, and the present invention is not limited thereto, and other manners capable of implementing that the MTC adapter device receives the first subscription information should also be within the protection scope of the present invention.
S303, the PCRF configures a control policy according to the application layer information, the first subscription information, and the second subscription information.
S304, the PCRF sends the control strategy to the PDN gateway, so that after the PDN gateway receives a CoAP message sent by the MTC adaptive device, the CoAP message is sent to a CoAP terminal through the base station according to the control strategy.
Optionally, when the MTC adapter device determines that the CoAP terminal supports the IP multimedia subsystem IMS service according to the first subscription information of the CoAP terminal, the PCRF receives the session information after the CSCF converts the IMS message received from the MTC adapter device into the session information.
The IMS message is a message converted by the MTC adaptation equipment from the received CoAP message when the MTC adaptation equipment determines that the CoAP terminal supports the IMS service according to the first subscription information of the CoAP terminal.
By adopting the method for transmitting the M2M service message, the PCRF receives the first subscription information sent by the MTC adaptation equipment, so that the CoAP message transmission network can see the auxiliary terminal under the main terminal in the CoAP message transmitted by the CoAP message transmission network, and the strategy and charging control of the CoAP message is facilitated.
An embodiment of the present invention provides a method for transmitting an M2M service message, as shown in fig. 4, the method includes:
s401, the application server sends a CoAP message to the MTC adaptation equipment.
It should be noted that, if there is a TDF in the system, the application server first sends a CoAP message to the TDF, and after the TDF determines that the received message is a CoAP message, the MTC adaptation device receives the CoAP message sent by the TDF.
Specifically, the TDF detects that the received message includes a URL beginning with a map:// or maps:// and determines that the message is a CoAP message.
Further, in a scenario where a CoAP terminal supporting the CoAP protocol interacts with an application server supporting the HTTP protocol, the MTC adapter device needs to convert the HTTP message into the CoAP message after receiving the HTTP message sent by the HTTP server, where the conversion of the HTTP message into the CoAP message may be understood as follows: converting the message from HTTP format to CoAP format, for example: the URL beginning with http:// or https:// in the message may be modified to be the URL beginning with copa:// or cops:// here by way of example only and the invention is not limited thereto.
Further, after the TDF determines that the received message is an HTTP message and determines that the CoAP terminal supports CoAP service, the TDF receives the CoAP message sent by the TDF.
S402, the MTC adaptation equipment acquires the first identification information in the CoAP message.
Wherein the first identification information is information identifying the CoAP terminal in the CoAP message, specifically, the MTC adaptation device obtains the first identification information of the CoAP terminal in the CoAP message by analyzing the CoAP message,
for example, the MTC adaptation device may parse a Uri-Host field and a Proxy-Uri field in a CoAP message, thereby obtaining first identification information of the CoAP terminal; specifically, if there is no corresponding auxiliary terminal under the main terminal of the CoAP terminal, that is, there is no Proxy-Uri field in the CoAP message, only the Uri-Host field in the CoAP message is analyzed, so as to obtain the first identification information of the CoAP terminal, where at this time, the first identification information of the CoAP terminal may be the Host name of the CoAP terminal; if an auxiliary terminal is corresponding to the main terminal of the CoAP terminal, that is, a Proxy-Uri field exists in the CoAP message, a Uri-Host field and a Proxy-Uri field in the CoAP message are analyzed, and at this time, the first identification information of the CoAP terminal may be a Host name of the CoAP terminal and identification information of the auxiliary terminal transmitted by the CoAP message under the main terminal of the CoAP terminal.
S403, the MTC adaptation equipment sends a query request message to the HSS.
Wherein the query request message includes first identification information.
S404, the HSS acquires the stored first subscription information of the CoAP terminal according to the first identification information.
The first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service), EPS Priority, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of the Homogenesus Support of IMS Over PS Sessions for MME, that is, IMS Over PS session, the information is used to indicate that the capability of the IMS Over PS (IMS session in PS domain) can be equivalently supported (that is, the same policy is adopted) in all TAs of the MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
S405, the HSS acquires the third identification information of the base station from the MME according to the second identification information of the MME.
The HSS stores first subscription information and second identity information of the MME, and the third identity information may include:
E-UTRAN Cell Global Identity (E-UTRAN Cell Global Identity) which refers to the latest serving Cell of the CoAP terminal;
the E-UTRAN Cell Identity Age is the time limit of the E-UTRAN Cell Identity, and the information refers to the time which elapses after the Cell global Identity is acquired.
S406, the HSS sends the first subscription information and the third identifier information to the MTC adaptation device.
S407, the MTC adaptation equipment acquires the state information of the base station from the MME or the PDN gateway according to the third identification information.
The status information of the base station may be congestion information of the base station or load information of the base station.
S408, the MTC adaptation device determines a group corresponding to the CoAP message under the grouping rule according to the grouping determination information.
Wherein the packet determination message includes: the state information of the base station, the first subscription information of the CoAP terminal and the service type of the CoAP message.
Specific grouping rules may include:
CoAP messages which come from the same application server and have the same service type are grouped; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same base station form a group; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same CoAP terminal form a group;
specifically, CoAP messages from the same application server and having the same service type and transmitted to the auxiliary terminals under the main terminal of the same CoAP terminal form a group;
or,
CoAP messages which come from the same application server, have the same service type and are transmitted to CoAP terminals with the same priority are grouped;
specifically, CoAP messages from the same application server and having the same service type and transmitted to the auxiliary terminals under the main terminals of CoAP terminals having the same priority are grouped;
or,
CoAP messages transmitted to the same base station form a group; or,
CoAP messages transmitted to the same CoAP terminal form a group; or,
CoAP messages transmitted to CoAP terminals with the same priority are grouped.
It should be noted that the grouping rule may be configured in advance, and the MTC adaptation device may determine the group corresponding to the CoAP message after receiving the CoAP message.
For example: the MTC adaptation device receives two CoAP messages (marked as CoAP message A and CoAP message B) at the same time, determines that the CoAP message A is transmitted to a target base station A and the CoAP message B is transmitted to a target base station B under the condition that the CoAP messages transmitted to the same base station are in a group as a grouping rule, divides the CoAP message A into the group A corresponding to the target base station A and divides the CoAP message B into the group B corresponding to the target base station B,
if the target base station A is in an idle state; when the target base station B is in a congestion state, the CoAP message in the group A is preferentially sent, and the CoAP message in the group B is discarded or sent in a delayed manner; on the contrary, the CoAP message in the group B is sent preferentially, and the CoAP message in the group A is discarded or sent in a delayed manner;
further, when determining to send the CoAP message in the group a, if the MTC adaptation device determines that too many CoAP messages in the group a exceed the maximum number that the target base station can bear, the MTC adaptation device may also determine, according to the priority message in the application layer of the CoAP message in the group a, the CoAP message that is preferentially sent in the same group.
It should be noted that, the group of CoAP messages transmitted to the same base station is used as the grouping rule for illustration only, and there are many specific grouping rules, which are not listed here, but all of which fall within the scope of the present invention.
Through the process of determining the group corresponding to the CoAP message, when the MTC adaptation device receives a large number of CoAP messages (for example, more than 100 messages) sent by the application server, the MTC adaptation device avoids the repetitive operation that the status information of the base station needs to be acquired every time one CoAP message is received, and can determine the forwarding strategy of the received CoAP message only by acquiring the status information of the base station once, thereby conveniently controlling and managing the received CoAP message.
S409, the MTC adaptation equipment determines to send the CoAP message to the PDN gateway according to the first identification information and the state information.
S410, the MTC adaptation equipment sends the first subscription information to the PCRF, and sends application layer information to the PCRF.
Wherein the application layer information includes: bandwidth requirement information, application layer session related information, flow state information, priority indication information, emergency session indication information, application layer event identifier, and the like, which are not limited in the present invention.
Further, the PCRF also acquires second subscription information from the SPR.
Wherein the second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
QoS information allowed by the signed user comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
S411, the PCRF configures a control strategy according to the first subscription information, the second subscription information and the application layer information.
And S412, the PCRF sends the control strategy to the PDN gateway.
And S413, the PDN gateway establishes or activates the bearer according to the control strategy.
And S414, after the PDN gateway establishes or activates the load, the CoAP message is sent to the CoAP terminal through the base station.
It should be noted that the above-mentioned method embodiments are described as a series of acts or combinations for simplicity, but those skilled in the art will appreciate that the present invention is not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
By adopting the method for transmitting the M2M service message, the MTC adaptation equipment acquires the CoAP message, and can dynamically determine whether to forward the CoAP message according to the state information of the base station and the first identification information of the CoAP terminal through the acquired state information of the base station and the first identification information of the CoAP terminal, thereby realizing the control and management of the CoAP message in the transmission process. Meanwhile, the PCRF acquires the first subscription information of the CoAP terminal, so that the CoAP message transmission network can see the auxiliary terminal under the main terminal of the CoAP terminal for CoAP message transmission, and the strategy and charging control of the CoAP message is facilitated.
An embodiment of the present invention provides a method for transmitting an M2M service message, and as shown in fig. 5, the embodiment of the present invention is applied in a scenario where a CoAP terminal supports an IMS service of an IP multimedia subsystem, and the method includes:
s501 is the same as step S401.
S502 is the same as step S402.
S503 is the same as step S403.
S504 is the same as step S404.
S505 is the same as step S405.
S506 is the same as step S406.
S507 is the same as step S407.
S508 is the same as step S408 described above.
S509, when the MTC adaptation device determines that the CoAP supports the IMS service according to the first subscription information, the MTC adaptation device converts the CoAP message into an IMS message.
S510, the MTC adaptation equipment determines to send the IMS message to the CSCF according to the first identification information and the state information.
S511, CSCF converts the IMS message into session information and sends to PCRF.
S512, the PCRF configures a control strategy according to the session information, the first subscription information acquired from the HSS and the second subscription information acquired from the SPR.
Wherein the second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
QoS information allowed by the signed user comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
And S513, the PCRF sends the control strategy to the PDN gateway.
And S514, the PDN gateway establishes or activates the load according to the control strategy.
And S515, after the bearer is established or activated, the PDN gateway sends the CoAP message to the CoAP terminal through the base station.
It should be noted that the above-mentioned method embodiments are described as a series of acts or combinations for simplicity, but those skilled in the art will appreciate that the present invention is not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
By adopting the method for transmitting the M2M service message in the scenario that the CoAP terminal supports the IMS service, the MTC adaptation equipment acquires the CoAP message, and can dynamically determine whether to forward the CoAP message according to the state information of the base station and the first identification information of the CoAP terminal through the acquired state information of the base station and the first identification information of the CoAP terminal, thereby realizing the control and management of the CoAP message in the transmission process. Meanwhile, the PCRF acquires the first subscription information of the CoAP terminal, so that the CoAP message transmission network can see the auxiliary terminal under the main terminal of the CoAP terminal for CoAP message transmission, and the strategy and charging control of the CoAP message is facilitated.
An embodiment of the present invention provides an MTC adaptation device 600, as shown in fig. 6, including:
a receiving unit 601, configured to obtain a CoAP message of a restricted application layer protocol, and obtain first identification information in the CoAP message.
Specifically, the MTC adaptation device obtains the first identification information of the CoAP terminal in the CoAP message by analyzing the CoAP message.
It should be noted that the CoAP terminal may include a main terminal and at least one auxiliary terminal, where the main terminal supports 3GPP, the auxiliary terminal does not support 3GPP capability (for example, 3GPP service without SIM card), and the main terminal serves as a proxy terminal of the auxiliary terminal to relay a message, and of course, the CoAP terminal may also include only the main terminal.
A processing unit 602, configured to determine a forwarding policy of the CoAP message according to the first identification information and the status information acquired by the receiving unit 601.
The status information of the base station may be congestion information of the base station or load information of the base station.
A buffering unit 603, configured to buffer the CoAP message.
Optionally, the receiving unit 601 is specifically configured to receive a CoAP message sent by a CoAP server.
Further, the receiving unit 601 is further configured to receive the CoAP message sent by the TDF after the TDF determines that the received message is a CoAP message.
Optionally, the receiving unit 601 is further configured to receive an HTTP message sent by an HTTP server before acquiring the CoAP message.
The processing unit 602 is further configured to convert the HTTP message into a CoAP message.
The above conversion of the HTTP message into the CoAP message can be understood as follows: converting the message from HTTP format to CoAP format, for example: the URL beginning with http:// or https:// in the message may be modified to be the URL beginning with copa:// or cops:// here by way of example only and the invention is not limited thereto.
Further, the receiving unit 601 is further configured to receive the CoAP message sent by the TDF after the message determined by the TDF is an HTTP message and it is determined that the CoAP terminal supports CoAP service.
Optionally, the receiving unit 601 is specifically configured to acquire the state information of the base station from the MME or the PDN gateway.
Specifically, the receiving unit is specifically configured to receive, before acquiring the state information of the base station, third identification information of the base station sent by the HSS, where the third identification information of the base station is information acquired by the HSS from the MME according to the stored second identification information of the MME, and acquire the state information of the base station according to the third identification information.
The third identification information may include:
E-UTRAN Cell Global Identity (E-UTRAN Cell Global Identity) which refers to the latest serving Cell of the CoAP terminal;
the E-UTRAN Cell Identity Age is the time limit of the E-UTRAN Cell Identity, and the information refers to the time which elapses after the Cell global Identity is acquired.
Further, as shown in fig. 7, the MTC adaptation device 600 further includes: a first sending unit 604, configured to send, after the processing unit 602 determines to send the CoAP message according to the first identification information and the state information, the CoAP message to a PDN gateway, and send application layer information to a policy and charging rule function PCRF, so that the PCRF configures a control policy according to the application layer information and the obtained first subscription information and second subscription information, and sends the control policy to the PDN gateway, so that the PDN gateway sends, after receiving the CoAP message sent by an MTC adapter device, the CoAP message to the CoAP terminal through the base station according to the control policy.
Wherein the application layer information includes: bandwidth requirement information, application layer session related information, flow state information, priority indication information, emergency session indication information, application layer event identifier, and the like, which are not limited in the present invention.
The first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service), EPS Priority, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of the Homogenesus Support of IMS Over PS Sessions for MME, that is, IMS Over PS session, the information is used to indicate that the capability of the IMS Over PS (IMS session in PS domain) can be equivalently supported (that is, the same policy is adopted) in all TAs of the MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
The second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
QoS information allowed by the signed user comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
Optionally, the receiving unit 601 is further configured to obtain the first subscription information of the CoAP terminal from a home subscriber server HSS according to the first identification information, and receive the first subscription information of the CoAP terminal and the third identification information of the base station sent by the HSS; the third identification information of the base station is the information acquired by the HSS from the MME according to the stored second identification information of the MME;
the first sending unit 604 is further configured to send the first subscription information to the PCRF;
the receiving unit 601 is specifically configured to obtain the state information of the base station according to the third identification information.
Optionally, the first sending unit 604 is further configured to send the first identification information to the PCRF, so that the PCRF acquires the first subscription information from the HSS according to the first identification information;
the receiving unit 601 is further configured to receive third identification information sent by the HSS, where the third identification information is information obtained by the HSS from the MME according to the stored second identification information of the MME;
the receiving unit 601 is specifically configured to obtain the state information of the base station according to the received third identification information.
Optionally, in a scenario that the CoAP terminal supports the IMS service, the processing unit is further configured to convert the CoAP message into an IMS message when it is determined that the CoAP terminal supports the IP multimedia subsystem IMS service according to the first subscription information of the CoAP terminal.
Further, as shown in fig. 8, the MTC adaptation device 600 further includes: a second sending unit 605, configured to, after determining to send the CoAP message according to the first identification information and the state information, send the IMS message to a call session control function CSCF, so that the CSCF converts the IMS message into session information and sends the session information to a PCRF, so that the PCRF configures a control policy according to the session information, first subscription information acquired from an HSS, and second subscription information acquired from an SPR, and sends the control policy to a PDN gateway, and the PDN gateway sends, according to the control policy, the IMS message received from the CSCF to the CoAP terminal through the base station.
Further, the processing unit 602 is further configured to determine, according to the grouping determination information, a group to which the CoAP message corresponds under the grouping rule.
Wherein the packet determination message includes: the state information of the base station, the first subscription information of the CoAP terminal and the service type of the CoAP message.
The processing unit 602 is specifically configured to determine the group and a forwarding policy of CoAP messages in the group according to the first identification information and the state information.
Further, the grouping rule includes:
CoAP messages which come from the same application server and have the same service type are grouped; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same base station form a group; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same CoAP terminal form a group; or,
CoAP messages which come from the same application server, have the same service type and are transmitted to CoAP terminals with the same priority are grouped; or,
CoAP messages transmitted to the same base station form a group; or,
CoAP messages transmitted to the same CoAP terminal form a group; or,
CoAP messages transmitted to CoAP terminals with the same priority are grouped.
The MTC adapter device determines the group to which the CoAP message corresponds according to any one of the above grouping rules.
It should be noted that the grouping rule may be configured in advance, and the MTC adaptation device may determine the group corresponding to the CoAP message after receiving the CoAP message.
In addition, it may be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of each unit in the MTC adaptation device described above may refer to the corresponding process in the method embodiment described in the foregoing fig. 1, and is not described herein again.
By adopting the MTC adaptation device provided by the above embodiment, the MTC adaptation device obtains the CoAP message, and can dynamically determine whether to forward the CoAP message according to the state information of the base station and the first identification information of the CoAP terminal through the obtained state information of the base station and the first identification information of the CoAP terminal, thereby implementing control and management on the CoAP message in the transmission process.
An embodiment of the present invention provides an HSS900, as shown in fig. 9, including:
a receiving unit 901, configured to receive the first identification information.
Wherein, the first identification information is the information for identifying the CoAP terminal in the CoAP message
A storage unit 902, configured to store first subscription information of a CoAP terminal;
a sending unit 903, configured to send the first subscription information of the CoAP terminal stored in the storage unit to the PCRF according to the first identifier information received by the receiving unit 901, so that the PCRF configures a control policy according to the first subscription information, the second subscription information acquired from the SPR, and the application layer information received from the MTC adapter device.
The first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service), EPS Priority, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of the Homogenesus Support of IMS Over PS Sessions for MME, that is, IMS Over PS session, the information is used to indicate that the capability of the IMS Over PS (IMS session in PS domain) can be equivalently supported (that is, the same policy is adopted) in all TAs of the MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
The second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
QoS information allowed by the signed user comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
Optionally, the receiving unit is specifically configured to receive the first identification information sent by the PCRF.
Specifically, the MTC adaptation device sends the first identification information to the PCRF, and the PCRF then obtains the first subscription information from the HSS according to the first identification information.
Optionally, the receiving unit 901 is specifically configured to receive first identification information sent by the MTC adapter device.
The sending unit 903 is specifically configured to send the first subscription information of the CoAP terminal to the MTC adapter device according to the first identifier information, so that the MTC adapter device sends the first subscription information to the PCRF.
Further, the storage unit 902 further stores second identification information of the MME;
the receiving unit 901 is further configured to obtain third identification information of the base station from the MME according to the second identification information of the MME stored in the storing unit 902;
the sending unit 903 is further configured to send the third identifier information to the MTC adapted device, so that the MTC adapted device obtains the state information of the base station according to the third identifier information.
The third identification information may include:
E-UTRAN Cell Global Identity (E-UTRAN Cell Global Identity) which refers to the latest serving Cell of the CoAP terminal;
the E-UTRAN Cell Identity Age is the time limit of the E-UTRAN Cell Identity, and the information refers to the time which elapses after the Cell global Identity is acquired.
It should be noted that, as is clear to those skilled in the art, for convenience and brevity of description, the specific working process of each unit in the HSS described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
By adopting the HSS provided in the above embodiment, the HSS sends the first subscription information of the CoAP terminal to the MTC adaptation device, so that the MTC adaptation device sends the first subscription information to the PCRF, thereby implementing that the CoAP message transmission network can see the auxiliary terminal under the CoAP terminal of the CoAP message transmission, and facilitating policy and charging control on the CoAP message.
An embodiment of the present invention provides a PCRF1000, as shown in fig. 10, including:
the receiving unit 1001 is configured to receive application layer information sent by the MTC compliant device, and acquire first subscription information and second subscription information.
A sending unit 1002, configured to configure a control policy according to the application layer information, the first subscription information, and the second subscription information.
Wherein the application layer information includes: bandwidth requirement information, application layer session related information, flow state information, priority indication information, emergency session indication information, application layer event identifier, and the like, which are not limited in the present invention.
The first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service), EPS Priority, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of the Homogenesus Support of IMS Over PS Sessions for MME, that is, IMS Over PS session, the information is used to indicate that the capability of the IMS Over PS (IMS session in PS domain) can be equivalently supported (that is, the same policy is adopted) in all TAs of the MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
The second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
QoS information allowed by the signed user comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
Optionally, the receiving unit 1001 is specifically configured to receive the first subscription information sent by the MTC adapter device after the MTC adapter device obtains the first subscription information from the HSS according to the first identifier information; the first identification information is information identifying the CoAP terminal in the CoAP message and acquires the second subscription information from the SPR.
Optionally, the receiving unit 1001 is further configured to receive first identification information sent by the MTC adapter device, where the first identification information is information identifying the CoAP terminal in the CoAP message, and obtain the first subscription information from the HSS according to the first identification information, and obtain the second subscription information from the SPR.
Further, in a scenario that the CoAP terminal supports the IMS service, the receiving unit is further configured to receive the session information after the CSCF converts the IMS message received from the MTC adapter device into the session information.
The IMS message is a message converted by the MTC adaptation equipment from the received CoAP message when the MTC adaptation equipment determines that the CoAP terminal supports the IMS service according to the first subscription information of the CoAP terminal.
It should be noted that, as is clear to those skilled in the art, for convenience and brevity of description, the specific working processes of each unit in the PCRF described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
By adopting the PCRF provided by the above embodiment, the PCRF receives the first subscription information sent by the MTC adaptation device, so that the CoAP message transmission network can see the auxiliary terminal under the main terminal in the CoAP message transmission, thereby facilitating policy and charging control on the CoAP message.
An embodiment of the present invention provides a PDN gateway 1100, as shown in fig. 11, including:
a receiving unit 1101, configured to receive a CoAP message sent by the MTC adapter device, and receive a control policy sent by the PCRF.
It should be noted that the control policy is configured by the PCRF according to the application layer information sent by the MTC adaptation device, the first subscription information acquired from the HSS, and the second subscription information acquired from the SPR.
Wherein the application layer information includes: bandwidth requirement information, application layer session related information, flow state information, priority indication information, emergency session indication information, application layer event identifier, and the like, which are not limited in the present invention.
The first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service), EPS Priority, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of the Homogenesus Support of IMS Over PS Sessions for MME, that is, IMS Over PS session, the information is used to indicate that the capability of the IMS Over PS (IMS session in PS domain) can be equivalently supported (that is, the same policy is adopted) in all TAs of the MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
The second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
QoS information allowed by the signed user comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
A sending unit 1102, configured to send, according to the control policy received by the receiving unit 1101, the CoAP message received by the receiving unit to the CoAP terminal through the base station.
By adopting the PDN gateway provided in the foregoing embodiment, the PDN gateway receives a CoAP message sent by the MTC adaptation device, receives a policy rule sent by the PCRF, and sends the CoAP message to the CoAP terminal according to the policy rule, thereby implementing control and management of the CoAP message in a transmission process.
An embodiment of the present invention provides a CSCF1200, as shown in fig. 12, including:
a receiving unit 1201, configured to receive an IMS message sent by the MTC compliant device.
A processing unit 1202, configured to convert the IMS message into session information and send the session information to the PCRF, so that the PCRF configures a control policy according to the session information, the first subscription information acquired from the HSS, and the second subscription information acquired from the SPR, and sends the control policy to a PDN gateway, where the PDN gateway sends the IMS message received from the CSCF to the CoAP terminal through the base station according to the control policy.
Wherein, the first subscription information includes: information such as location information of the CoAP terminal, authentication information of the CoAP terminal, service subscription information, etc., for example:
MPS EPS Priority, i.e. MPS (Multimedia Priority Service), EPS Priority, and the information is used to indicate that the CoAP terminal signs to MPS in the EPS domain.
The EPS subscribed QoS profile is an EPS subscribed QoS attribute.
EPS PDN Subscribed Charging Characteristics.
Homography Support indication of Homogenesus Support of IMS Over PS Sessions for MME, namely IMS Over PS session, the information is used for indicating that the capability of IMS Over PS (IMS session in PS domain) is in all TAs of MME.
In this embodiment, the first subscription information further includes, in addition to the basic information: the application service provider of the CoAP terminal, the first identification information and the general identification of the equipment. The universal identification of the equipment is a preset identification which uniquely identifies one equipment.
The second subscription information includes: signing the service allowed by the user;
preemption priority for each service;
QoS information allowed by the signed user comprises parameters such as signed guaranteed bandwidth and the like;
charging-related information of the subscriber, such as location information and the like;
the type of the subscriber, etc.
A sending unit 1203, configured to send the IMS message to a PDN gateway, so that the PDN gateway sends the IMS message received by the receiving unit to the CoAP terminal through the base station according to the control policy.
By adopting the CSCF provided in the above embodiment, the CSCF sends the IMS message to the PCRF, and the PCRF receives the first subscription information sent by the MTC adaptation device, so that the CoAP message transmission network can see the auxiliary terminal under the CoAP terminal of the CoAP message transmission, thereby facilitating policy and charging control for the CoAP message.
An embodiment of the present invention provides an M2M service message transmission system, as shown in fig. 13, including: and the application server 1301 is configured to send a CoAP message or an HTTP message to the MTC compliant device.
And if the application server is the CoAP server, sending CoAP information, and if the application server is the HTTP server, sending HTTP information.
The MTC adapting device 600 described in fig. 6 to 8 above;
the PCRF1000 described in fig. 10 above;
the HSS900 described in fig. 9 above;
the PDN gateway 1100 described in fig. 11 above;
the CoAP terminal 1302 is configured to receive a CoAP message.
Further, as shown in fig. 14, the system further includes: CSCF1200 described above with respect to fig. 12.
It should be noted that the system may be a 3GPP system.
By adopting the system provided by the embodiment, the MTC adaptation device acquires the CoAP message, and can dynamically determine whether to forward the CoAP message according to the state information of the base station and the first identification information of the CoAP terminal through the acquired state information of the base station and the first identification information of the CoAP terminal, thereby realizing control and management of the CoAP message in the transmission process. Meanwhile, the PCRF acquires the first subscription information of the CoAP terminal, so that the CoAP message transmission network can see the auxiliary terminal under the main terminal of the CoAP terminal for CoAP message transmission, and the strategy and charging control of the CoAP message is facilitated.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (48)

1. A method for M2M service message transmission, comprising:
the method comprises the steps that Machine Type Communication (MTC) adaptive equipment obtains a limited application layer protocol (CoAP) message and obtains first identification information in the CoAP message, wherein the first identification information is information for identifying a CoAP terminal in the CoAP message;
and acquiring the state information of the base station, and determining the forwarding strategy of the CoAP message according to the first identification information and the state information.
2. The method according to claim 1, wherein the MTC adaptation device obtaining the CoAP message comprises: and the MTC adaptation equipment receives a CoAP message sent by the CoAP server.
3. The method according to claim 2, wherein the MTC adaptation device obtaining the CoAP message comprises: and after determining that the received message is a CoAP message, a service detection function entity (TDF), receiving the CoAP message sent by the TDF.
4. The method according to claim 1, wherein before the MTC adapted device acquires the CoAP message, the method further comprises: the MTC adaptation equipment receives an HTTP message sent by a hypertext transfer protocol HTTP server;
and converting the HTTP message into a CoAP message.
5. The method according to claim 4, wherein the MTC adaptation device obtaining the CoAP message comprises: and after the TDF determines that the received message is an HTTP message and determines that the CoAP terminal supports CoAP service, receiving the CoAP message sent by the TDF.
6. The method according to any one of claims 1 to 5, wherein the obtaining the status information of the base station comprises:
and acquiring the state information of the base station from a mobile control node MME or a packet data network PDN gateway.
7. The method of claim 6, wherein before the obtaining the state information of the base station, the method further comprises:
receiving third identification information of the base station, which is sent by the HSS, wherein the third identification information of the base station is information acquired by the HSS from the MME according to the stored second identification information of the MME;
the acquiring the state information of the base station comprises: and acquiring the state information of the base station according to the third identification information.
8. The method of any one of claims 1 to 5 and 7, further comprising:
the MTC adaptation equipment sends the CoAP message to a PDN gateway after determining to send the CoAP message according to the first identification information and the state information;
the MTC adaptation equipment sends application layer information to a policy and charging rule function PCRF, so that the PCRF configures a control policy according to the application layer information and the acquired first subscription information and second subscription information, and sends the control policy to a PDN gateway, so that the PDN gateway sends the CoAP message to the CoAP terminal through the base station according to the control policy after receiving the CoAP message sent by the MTC adaptation equipment.
9. The method of claim 8, further comprising:
the MTC adaptation equipment acquires first subscription information of the CoAP terminal from a Home Subscriber Server (HSS) according to the first identification information;
the MTC adaptation equipment receives first subscription information of the CoAP terminal sent by the HSS;
and the MTC adaptation equipment sends the first subscription information to the PCRF.
10. The method of claim 8, further comprising: the MTC adaptation equipment sends the first identification information to the PCRF, so that the PCRF acquires first subscription information from the HSS according to the first identification information.
11. The method of any one of claims 1 to 5 and 7, further comprising: and when the CoAP terminal is determined to support the IMS service of the IP multimedia subsystem according to the first subscription information of the CoAP terminal, the MTC adaptation equipment converts the CoAP message into an IMS message.
12. The method of claim 11, further comprising: after the MTC adaptation equipment determines to send the CoAP message according to the first identification information and the state information, the MTC adaptation equipment sends the IMS message to a Call Session Control Function (CSCF), so that the CSCF converts the IMS message into session information and sends the session information to the PCRF, the PCRF configures a control strategy according to the session information, first subscription information acquired from a subscription information Server (SPR) and a subscriber server (HSS) and second subscription information acquired from the SPR, and sends the control strategy to a PDN gateway, and the PDN gateway sends the IMS message received from the CSCF to the CoAP terminal through the base station according to the control strategy.
13. The method of claim 8, further comprising:
the MTC adaptation equipment determines a group corresponding to the CoAP message under a grouping rule according to grouping determination information; the packet determination information includes: the state information of the base station, the first subscription information of the CoAP terminal and the service type of the CoAP message;
the determining the forwarding policy of the CoAP message according to the first identification information and the state information includes: and determining the group and the forwarding strategy of the CoAP message in the group according to the first identification information and the state information.
14. The method of claim 13, wherein the grouping rule comprises:
CoAP messages which come from the same application server and have the same service type are grouped; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same base station form a group; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same CoAP terminal form a group; or,
CoAP messages which come from the same application server, have the same service type and are transmitted to CoAP terminals with the same priority are grouped; or,
CoAP messages transmitted to the same base station form a group; or,
CoAP messages transmitted to the same CoAP terminal form a group; or,
CoAP messages transmitted to CoAP terminals with the same priority are grouped.
15. A method for M2M service message transmission, comprising:
HSS receives first identification information, wherein the first identification information is information for identifying a CoAP terminal in a CoAP message;
and sending the first subscription information of the CoAP terminal to the PCRF according to the first identification information, so that the PCRF configures a control strategy according to the first subscription information, the second subscription information acquired from the SPR and the application layer information received from the MTC adaptation equipment.
16. The method of claim 15, wherein receiving, by the HSS, the first identity information comprises: and the HSS receives the first identification information sent by the PCRF.
17. The method of claim 15, wherein receiving, by the HSS, the first identity information comprises: the HSS receives first identification information sent by the MTC adapter equipment;
the sending the first subscription information of the CoAP terminal to the PCRF according to the first identification information comprises: and sending the first subscription information of the CoAP terminal to MTC adaptation equipment according to the first identification information, so that the MTC adaptation equipment sends the first subscription information to the PCRF.
18. The method of any one of claims 15 to 17, further comprising:
and the HSS acquires third identification information of the base station from the MME according to the second identification information of the mobile control node MME and sends the third identification information to the MTC adaptation equipment, so that the MTC adaptation equipment acquires the state information of the base station according to the third identification information.
19. A method for M2M service message transmission, comprising:
the PCRF receives application layer information sent by the MTC adaptation equipment;
acquiring first subscription information and second subscription information;
configuring a control strategy according to the application layer information, the first subscription information and the second subscription information;
and sending the control strategy to a PDN gateway so that the PDN gateway sends a CoAP message to a CoAP terminal through a base station according to the control strategy after receiving the CoAP message sent by MTC adaptation equipment.
20. The method of claim 19, wherein obtaining the first subscription information and the second subscription information by the PCRF comprises: after the MTC adapter equipment acquires the first subscription information from the HSS according to the first identification information, receiving the first subscription information sent by the MTC adapter equipment; the first identification information is information for identifying the CoAP terminal in the CoAP message;
and the PCRF acquires the second subscription information from the SPR.
21. The method of claim 19, wherein before the PCRF receives the first subscription information, further comprising:
the PCRF receives first identification information sent by MTC adaptive equipment, wherein the first identification information is information for identifying the CoAP terminal in the CoAP message;
the acquiring the first subscription information and the second subscription information includes: and acquiring the first subscription information from the HSS according to the first identification information, and acquiring the second subscription information from the SPR.
22. The method according to any of claims 19 to 21, wherein the session information is received after the CSCF converts the IMS message received from the MTC adapted device into the session information; and the IMS message is a message converted by the MTC adaptation equipment from the received CoAP message when the MTC adaptation equipment determines that the CoAP terminal supports the IMS service according to the first subscription information of the CoAP terminal.
23. An MTC adapting device, comprising:
a receiving unit, configured to obtain a CoAP message of a restricted application layer protocol, and obtain first identification information in the CoAP message, where the first identification information is information identifying a CoAP terminal in the CoAP message, and obtain state information of a base station;
a processing unit, configured to determine a forwarding policy of the CoAP message according to the first identifier information and the state information acquired by the receiving unit;
and the buffer unit is used for buffering the CoAP message.
24. The MTC adaptation device according to claim 23, wherein the receiving unit is specifically configured to receive a CoAP message sent by a CoAP server.
25. The MTC adaptation device of claim 24, wherein the receiving unit is further configured to receive a CoAP message sent by a TDF after the TDF determines that the received message is a CoAP message.
26. The MTC adaptation device according to claim 23, wherein the receiving unit is further configured to receive an HTTP message sent by an HTTP server before acquiring the CoAP message;
the processing unit is further configured to convert the HTTP message into a CoAP message.
27. The MTC adaptation device of claim 26, wherein the receiving unit is further configured to receive a CoAP message sent by a TDF after the message determined by the TDF is an HTTP message and it is determined that the CoAP terminal supports CoAP service.
28. An MTC adaptation device according to any of claims 23 to 27, wherein the receiving unit is specifically configured to obtain the status information of the base station from an MME or a PDN gateway.
29. The MTC adaptation device according to claim 28, wherein the receiving unit is specifically configured to receive third identification information of the base station sent by an HSS before acquiring status information of the base station, where the third identification information of the base station is information acquired by the HSS from the MME according to the stored second identification information of the MME, and acquire the status information of the base station according to the third identification information.
30. An MTC adaptation device according to any one of claims 23 to 27, 29, wherein the MTC adaptation device further comprises: and the first sending unit is used for sending the CoAP message to a PDN gateway after the processing unit determines to send the CoAP message according to the first identification information and the state information, and sending application layer information to a Policy and Charging Rule Function (PCRF), so that the PCRF configures a control policy according to the application layer information, the obtained first subscription information and the obtained second subscription information, and sends the control policy to the PDN gateway, so that the PDN gateway sends the CoAP message to the CoAP terminal through the base station according to the control policy after receiving the CoAP message sent by MTC adaptation equipment.
31. The MTC adapting device according to claim 30, wherein the receiving unit is further configured to obtain first subscription information of the CoAP terminal from a home subscriber server HSS according to the first identifier information, and receive the first subscription information of the CoAP terminal and third identifier information of the base station sent by the HSS; the third identification information of the base station is the information acquired by the HSS from the MME according to the stored second identification information of the MME;
the first sending unit is further configured to send the first subscription information to the PCRF;
the receiving unit is specifically configured to obtain state information of the base station according to the third identification information.
32. The MTC adaptation device of claim 30, wherein the first sending unit is further configured to send the first identifier information to a PCRF, so that the PCRF obtains first subscription information from an HSS according to the first identifier information;
the receiving unit is further configured to receive third identification information sent by the HSS, where the third identification information is information that is obtained by the HSS from the MME according to the stored second identification information of the MME;
the receiving unit is specifically configured to obtain the state information of the base station according to the third identification information received by the receiving unit.
33. The MTC adaptation device according to any of claims 23 to 27 and 29, wherein the processing unit is further configured to convert a CoAP message into an IMS message when it is determined that the CoAP terminal supports an IP multimedia subsystem IMS service according to the first subscription information of the CoAP terminal.
34. The MTC adaptation device according to claim 33, wherein the MTC adaptation device further comprises: and the second sending unit is used for sending the IMS message to a Call Session Control Function (CSCF) after determining to send the CoAP message according to the first identification information and the state information, so that the CSCF converts the IMS message into session information and sends the session information to the PCRF, the PCRF configures a control strategy according to the session information, the first subscription information acquired from the HSS and the second subscription information acquired from the SPR, and sends the control strategy to a PDN gateway, and the PDN gateway sends the IMS message received from the CSCF to the CoAP terminal through the base station according to the control strategy.
35. The MTC adaptation device according to claim 30, wherein the processing unit is further configured to determine a group to which the CoAP message corresponds under a grouping rule according to grouping determination information; the packet determination message includes: the state information of the base station, the first subscription information of the CoAP terminal and the service type of the CoAP message;
the processing unit is specifically configured to determine the group and a forwarding policy of the CoAP message in the group according to the first identification information and the state information.
36. The MTC adaptation device of claim 35, wherein the grouping rule comprises:
CoAP messages which come from the same application server and have the same service type are grouped; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same base station form a group; or,
CoAP messages which come from the same application server and have the same service type and are transmitted to the same CoAP terminal form a group; or,
CoAP messages which come from the same application server, have the same service type and are transmitted to CoAP terminals with the same priority are grouped; or,
CoAP messages transmitted to the same base station form a group; or,
CoAP messages transmitted to the same CoAP terminal form a group; or,
CoAP messages transmitted to CoAP terminals with the same priority are grouped.
37. An HSS, comprising:
a receiving unit, configured to receive first identification information, where the first identification information is information that identifies a CoAP terminal in a CoAP message;
the storage unit is used for storing first subscription information of the CoAP terminal;
and the sending unit is used for sending the first subscription information of the CoAP terminal stored by the storage unit to the PCRF according to the first identification information received by the receiving unit, so that the PCRF configures a control strategy according to the first subscription information, the second subscription information acquired from the SPR and the application layer information received from the MTC adapting device.
38. The HSS of claim 37, wherein the receiving unit is specifically configured to receive the first identity information sent by the PCRF.
39. The HSS of claim 37, wherein the receiving unit is specifically configured to receive first identification information sent by the MTC adapter device;
the sending unit is specifically configured to send the first subscription information of the CoAP terminal to the MTC adaptation device according to the first identifier information, so that the MTC adaptation device sends the first subscription information to the PCRF.
40. The HSS of any one of claims 37 to 39, wherein the storage unit further stores second identification information of the MME;
the receiving unit is further configured to obtain third identification information of the base station from the MME according to the second identification information of the MME stored in the storage unit;
the sending unit is further configured to send the third identifier information to the MTC adaptation device, so that the MTC adaptation device obtains the state information of the base station according to the third identifier information.
41. A PCRF, comprising:
the receiving unit is used for receiving application layer information sent by the MTC adaptive device and acquiring first subscription information and second subscription information;
and the sending unit is used for configuring a control strategy according to the application layer information, the first subscription information and the second subscription information.
42. The PCRF of claim 41, wherein the receiving unit is specifically configured to receive the first subscription information sent by the MTC adaptation device after the MTC adaptation device obtains the first subscription information from the HSS according to the first identification information; the first identification information is information for identifying a CoAP terminal in a CoAP message and acquiring the second subscription information from an SPR.
43. The PCRF of claim 41, wherein the receiving unit is further configured to receive first identification information sent by an MTC adaptation device, where the first identification information is information identifying the CoAP terminal in the CoAP message, and obtain the first subscription information from an HSS and the second subscription information from an SPR according to the first identification information.
44. The PCRF of any of claims 41-43, wherein the receiving unit is further configured to receive the session information after the CSCF converts the IMS message received from the MTC adaptation device into the session information; and the IMS message is a message converted by the MTC adaptation equipment from the received CoAP message when the MTC adaptation equipment determines that the CoAP terminal supports the IMS service according to the first subscription information of the CoAP terminal.
45. A PDN gateway, comprising:
the receiving unit is used for receiving a CoAP message sent by the MTC adapter equipment and receiving a PCRF control strategy;
and the sending unit is used for sending the CoAP message received by the receiving unit to the CoAP terminal through the base station according to the control strategy received by the receiving unit.
46. A CSCF, comprising:
the receiving unit is used for receiving an IMS message sent by MTC adaptive equipment;
the processing unit is used for converting the IMS message into session information and sending the session information to the PCRF, so that the PCRF configures a control strategy according to the session information, first subscription information acquired from the HSS and second subscription information acquired from the SPR, and sends the control strategy to the PDN gateway, and the PDN gateway sends the IMS message received from the CSCF to a CoAP terminal through a base station according to the control strategy;
and the sending unit is used for sending the IMS message to a PDN gateway so that the PDN gateway can send the IMS message received by the receiving unit to the CoAP terminal through the base station according to the control strategy.
47. An M2M service message transmission system, comprising: an application server, MTC adapting equipment, PCRF, HSS, PDN gateway and CoAP terminal,
the application server is used for sending CoAP (CooP application protocol) messages or HTTP messages to MTC adapter equipment;
the MTC adapted device comprises the MTC adapted device of any of claims 23 to 36;
the PCRF comprises the PCRF of any of claims 41-44;
the HSS comprising the HSS of any one of claims 37 to 40;
the PDN gateway comprising the PDN gateway of claim 45;
and the CoAP terminal is used for receiving the CoAP message.
48. The system of claim 47, further comprising: the CSCF is then able to perform the functions of the CSCF,
the CSCF includes the CSCF of claim 46.
CN201280020891.6A 2012-12-27 2012-12-27 A kind of method, apparatus and system of M2M service messages transmission Active CN104170350B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087741 WO2014101069A1 (en) 2012-12-27 2012-12-27 Method, device, and system for transmitting m2m service message

Publications (2)

Publication Number Publication Date
CN104170350A CN104170350A (en) 2014-11-26
CN104170350B true CN104170350B (en) 2017-06-16

Family

ID=51019714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280020891.6A Active CN104170350B (en) 2012-12-27 2012-12-27 A kind of method, apparatus and system of M2M service messages transmission

Country Status (2)

Country Link
CN (1) CN104170350B (en)
WO (1) WO2014101069A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540107A (en) * 2014-12-03 2015-04-22 东莞宇龙通信科技有限公司 Management method and management system for machine type communication (MTC) terminal cluster, and network side equipment
CN113746876B (en) * 2020-05-27 2023-09-19 维沃移动通信有限公司 Communication proxy establishing method, device and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494554A (en) * 2008-01-25 2009-07-29 华为技术有限公司 Method and equipment for reporting policy model information
CN102148863A (en) * 2011-01-27 2011-08-10 华为技术有限公司 Method and device for delivering M2M (machine to machine) service messages
CN102186162A (en) * 2011-05-06 2011-09-14 电信科学技术研究院 Method and equipment for acquiring accessible state of terminal
WO2011159985A1 (en) * 2010-06-17 2011-12-22 Interdigital Patent Holdings, Inc. Application layer protocol support for sleeping nodes in constrained networks

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014129B (en) * 2010-11-22 2013-08-28 华为技术有限公司 Method and device for registering in CoAP network
US8898268B2 (en) * 2011-01-28 2014-11-25 Arm Finland Oy Method and apparatus for network management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494554A (en) * 2008-01-25 2009-07-29 华为技术有限公司 Method and equipment for reporting policy model information
WO2011159985A1 (en) * 2010-06-17 2011-12-22 Interdigital Patent Holdings, Inc. Application layer protocol support for sleeping nodes in constrained networks
CN102148863A (en) * 2011-01-27 2011-08-10 华为技术有限公司 Method and device for delivering M2M (machine to machine) service messages
CN102186162A (en) * 2011-05-06 2011-09-14 电信科学技术研究院 Method and equipment for acquiring accessible state of terminal

Also Published As

Publication number Publication date
CN104170350A (en) 2014-11-26
WO2014101069A1 (en) 2014-07-03

Similar Documents

Publication Publication Date Title
US10616120B2 (en) Service layer southbound interface and quality of service
US10015621B2 (en) Method of providing MTC monitoring related information
US9288828B2 (en) Method, apparatus and system for accessing service by mobile station
US11271862B2 (en) Service delivery in a communication network
US20130149987A1 (en) Apparatus and method for determining and routing emergency communications
US20150341837A1 (en) Access processing method, apparatus and system
CN105794258B (en) Congestion notification method, relevant device and system
KR101830200B1 (en) Device and method for controlling a device triggering in mobile operator netwokr
CN107113799B (en) Method and equipment for formulating service chain strategies
US11394811B2 (en) Redirection handling
WO2014075359A1 (en) Bandwidth adjustment method, device and system
WO2014059647A1 (en) Method, apparatus and system for processing data-field service
US10129079B2 (en) Telecommunications system and method
CN104170350B (en) A kind of method, apparatus and system of M2M service messages transmission
JP4911222B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD IN COMMUNICATION SYSTEM, AND RELAY DEVICE
KR101854441B1 (en) Method for providing selective call procedure in mobile communication service system, packet data network gateway and online charging system for selective call procedure
EP3238479A1 (en) Service delivery in a communication network
US10314101B2 (en) Controlling wireless local area network access
EP3152885B1 (en) Method and device for exchanging signalling information
CN109921993B (en) Data transmission method of communication system and communication system
US9301280B2 (en) Optimizing paging based on services
KR101830224B1 (en) Method for controlling packet traffic and apparatus therefor
CN105557003B (en) The method and device of user data processing
WO2016102516A1 (en) Communication system
CN105228132B (en) Methods, devices and systems for being managed to the relevant information of MTC and resource

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant