WO2016101163A1 - 统一机器到机器系统中数据传输的方法和公共服务实体 - Google Patents

统一机器到机器系统中数据传输的方法和公共服务实体 Download PDF

Info

Publication number
WO2016101163A1
WO2016101163A1 PCT/CN2014/094776 CN2014094776W WO2016101163A1 WO 2016101163 A1 WO2016101163 A1 WO 2016101163A1 CN 2014094776 W CN2014094776 W CN 2014094776W WO 2016101163 A1 WO2016101163 A1 WO 2016101163A1
Authority
WO
WIPO (PCT)
Prior art keywords
qos
attribute
resource
parameter
window
Prior art date
Application number
PCT/CN2014/094776
Other languages
English (en)
French (fr)
Inventor
尹长川
武霄泳
于琦
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201480084395.6A priority Critical patent/CN107113186B/zh
Priority to PCT/CN2014/094776 priority patent/WO2016101163A1/zh
Publication of WO2016101163A1 publication Critical patent/WO2016101163A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities

Definitions

  • the present invention relates to the field of communications and, more particularly, to a method and a public service entity for unifying data transfers in a machine-to-machine system.
  • the structure of a machine to machine (one machine to machine, referred to as "oneM2M”) system is divided into an application layer, a common service layer, and a network layer.
  • the application layer is managed by the application entity (Application Entity, referred to as "AE"), which is responsible for the operation and storage of the application.
  • the application layer contains the instantiated one-to-one oneM2M solution.
  • the public service layer is managed by the Common Service Entity (CSE) to aggregate the application layer information to form a resource pool and coordinate the underlying network transmission.
  • CSE Common Service Entity
  • the core layer of oneM2M functions as a platform, and the public service layer includes a Series of instantiated public service features.
  • the network layer is managed by the Network Service Entity (NSE) to be responsible for the underlying network transmission, and provides the public service layer with the capabilities that the underlying network can provide.
  • NSE Network Service Entity
  • Mca the interface between AE and CSE, responsible for communication between AE to CSE or CSE to AE
  • Mcc/Mcc' two CSEs Inter-interface, responsible for communication between CSE
  • Mcn interface between CSE and NSE, responsible for communication between CSE to NSE or NSE to CSE.
  • Mch reference point which is the interface between the oneM2M system and the billing system.
  • the oneM2M system architecture is mainly divided into two domains: the infrastructure domain (Infrastructure Domain, referred to as "IN") and the local domain (Field Domain).
  • the local domain includes the intermediate node (Middle Node, referred to as "MN"), and the application service.
  • MN Intermediate Node
  • M2M machine-to-machine
  • the basic goal of oneM2M is to unify the M2M application layer standards of the communications industry and promote effective coordination within the communications industry.
  • the oneM2M standard adopts a layered functional architecture. Layer-to-layer communication is achieved through a unified interface.
  • OneM2M system requires a unified interface based on compatibility with different underlying access networks (including but not limited to third-generation cooperative project partners). (3 rd Generation Partnership Project, referred to as "3GPP", Wireless Fidelity (“WiFi”), Bluetooth (Blue Tooth).
  • 3GPP 3 rd Generation Partnership Project
  • WiFi Wireless Fidelity
  • Bluetooth Bluetooth
  • the application scenarios covered by the oneM2M system are becoming more and more extensive, and the service requirements are more diverse.
  • the application has corresponding requirements for the quality of service (QoS) of the network.
  • QoS quality of service
  • the vehicle accident information collection system has higher requirements for delay; while the telemedicine application has higher requirements on the network delay and packet loss rate.
  • the oneM2M system needs to be able to support different QoS grading parameters such as rate, delay, packet loss rate, bit error rate, network bandwidth, and so on.
  • the existing oneM2M standard adopts a "Things Like Representational State Transfer (“RESTful") architecture, and the data transmission guarantee mechanism under the OneM2M system is a joint ( ⁇ delivery>) resource under the joint CSE.
  • the Communication Transmission Management ( ⁇ cmdhpolicy>) policy is implemented by changing the relevant parameters of the data transmission status in the request message (request).
  • QoS representation mechanism based on service transmission requirements, QoS to underlying network mapping mechanism, and end-to-end QoS transmission mechanism. Therefore, this data transmission guarantee mechanism can only guarantee the most basic transmission requirements of data, and cannot meet the needs of many existing application scenarios.
  • the related technology utilizes a central resource manager and a service controller to define a service and its QoS parameters, and maps QoS parameters to differentiated service code points based on an Internet Protocol (IP) network (Differentiated Services) Code Point (referred to as "DSCP"), through the routing to complete the delivery of QoS parameters in the network, thus ensuring the quality of the service.
  • IP Internet Protocol
  • DSCP Differentiated Services Code Point
  • the transmission of the QoS parameters needs to be completed by means of the DSCP part in the IP data packet, so that the technical solution is mainly based on the 3GPP network, and is not well applicable to all the underlying networks in the OneM2M system.
  • the embodiments of the present invention provide a method for unifying data transmission in a machine-to-machine oneM2M system, and a public service entity, which can meet the requirements of the QoS of the application in different application scenarios in the oneM2M system.
  • a method of unifying data transfer from a machine to a machine system comprising: Obtaining an application layer quality of service QoS variable parameter, wherein the application layer QoS variable parameter is used to indicate an application quality requirement for transmitting data; mapping the application layer QoS variable parameter to a target QoS variable parameter identifiable by the underlying network; to the network serving entity NSE The target QoS variable parameter is sent so that the NSE transmits data according to the target QoS variable parameter.
  • the mapping the application layer QoS variable parameter to the target QoS variable parameter that is identifiable by the underlying network includes: determining a maximum QoS window of the underlying network a value and a minimum value and a window length offset of a QoS window of the underlying network, the QoS window being used to represent a range of comprehensive indicators of QoS of the underlying network; according to a maximum value and a minimum value of the QoS window of the underlying network, The window length offset of the QoS window of the underlying network and the QoS rule mapping table included in the current usage policy resource are used to obtain the target QoS variable parameter.
  • the long offset includes: determining, according to the default value attribute of the QoS variable included in the current usage policy resource, a value of a parameter of the application layer QoS variable parameter that is not initialized; each of the application layer QoS variable parameters When the value of the parameter satisfies the requirement of the QoS parameter restriction attribute included in the current use policy resource, the maximum value and the minimum value of the QoS window of the underlying network are determined according to the QoS window length attribute included in the current usage policy resource; The value of each parameter in the layer QoS variable parameter and the QoS window length offset attribute included in the current usage policy resource determine the window length offset of the QoS window of the underlying network.
  • the acquiring the application layer quality of service QoS variable parameter includes: receiving an application entity AE or a public service The first request message sent by the entity CSE, the first request message includes the application layer QoS variable parameter; and the application layer QoS variable parameter included in the first request message is obtained.
  • the long offset includes: determining a maximum value and a minimum value of the QoS window of the underlying network and a window length offset of the QoS window of the underlying network when determining that the QoS control parameter included in the first request message is enabled .
  • the acquiring the application layer quality of service QoS variable parameter includes: receiving the AE Or a second request message sent by the CSE, where the second request message is used to request to create a QoS variable parameter resource under the target resource; and the QoS variable parameter resource including the application layer QoS variable parameter is created under the target resource; acquiring the QoS The application layer QoS variable parameter included in the variable parameter resource.
  • the determining the maximum and minimum values of the QoS window of the underlying network and the window length of the QoS window of the underlying network The offset includes: receiving a third request message that includes the data information sent by the AE or the CSE; determining, when determining that the destination scope of the third request message includes the QoS variable parameter resource, determining a QoS window of the underlying network The maximum and minimum values and the window length offset of the QoS window of the underlying network.
  • the target resource is a public service entity basic CSEBase resource or an AE resource.
  • the CSEBase resource or the AE resource further includes: a QoS policy resource and the current usage policy resource;
  • the management link attribute currently using the policy resource is associated with the QoS policy resource, and the QoS policy resource includes: a QoS parameter restriction policy resource, a QoS parameter default value setting policy resource, an underlying network access policy resource, and a QoS rule mapping table policy resource. .
  • the QoS policy resource further includes a name attribute and M management link attributes, where M is greater than or equal to 3. Natural number;
  • the name attribute is used to indicate a name of a QoS policy included in the QoS policy resource, and at least one of the M management link attributes is associated with the QoS parameter restriction policy resource, where the M management link attributes are At least one management link attribute is associated with the QoS parameter default value setting policy resource, and at least one of the M management link attributes is associated with the underlying network access policy resource.
  • the QoS parameter restriction policy resource includes at least one of the following attributes: limiting the data transmission average Rate attributes, limit data transmission delay attributes, limit data transmission delay jitter attributes, limit packet loss rate attributes, limit data transmission reliability attributes, and limit data transmission priority attributes.
  • the QoS parameter default value setting policy resource includes the following At least one of the attributes: data transmission average rate default value setting attribute, data transmission delay default value setting attribute, data transmission delay jitter default value setting attribute, packet loss rate setting attribute, data transmission reliability setting Attribute and data transfer priority setting attributes.
  • the bottom network access policy resource includes a target network The attribute, the maximum attribute of the QoS window of the underlying network, the minimum attribute of the QoS window of the underlying network, and other condition attributes.
  • the QoS rule mapping table policy resource includes an underlying network QoS window length offset attribute and at least one of the following attributes: data transmission average rate value range attribute, data transmission delay value range attribute, data transmission delay jitter value range attribute, packet loss rate value Range attribute, data transmission reliability value range attribute, and data transmission priority value range attribute.
  • the application layer QoS variable parameter includes at least one of the following parameters: a data transmission average rate parameter, a data transmission delay parameter, a data transmission delay jitter parameter, a packet loss rate parameter, a data transmission reliability parameter, and a data transmission priority parameter.
  • the second aspect provides a public service entity, including: an obtaining module, configured to acquire an application layer quality of service QoS variable parameter, where the application layer QoS variable parameter is used to indicate an application quality requirement for transmitting data; and a processing module is configured to: Mapping the application layer QoS variable parameter obtained by the obtaining module to a target QoS variable parameter identifiable by the underlying network; the sending module, configured to send the target QoS variable parameter to the network serving entity NSE, so that the NSE is based on the target QoS variable The parameter sends data.
  • an obtaining module configured to acquire an application layer quality of service QoS variable parameter, where the application layer QoS variable parameter is used to indicate an application quality requirement for transmitting data
  • a processing module is configured to: Mapping the application layer QoS variable parameter obtained by the obtaining module to a target QoS variable parameter identifiable by the underlying network
  • the sending module configured to send the target QoS variable parameter to the network serving entity NSE, so that the NSE is based on the
  • the processing module is specifically configured to: determine a maximum value and a minimum value of a QoS window of the underlying network, and a window length deviation of a QoS window of the underlying network
  • the shift, the QoS window is used to represent the interval of the comprehensive indicator of the QoS of the underlying network; the maximum and minimum values of the QoS window of the underlying network, the window length offset of the QoS window of the underlying network, and the current usage policy
  • the QoS rule mapping table included in the resource, and the target QoS variable is obtained. parameter.
  • the processing module is further configured to: determine, according to a default value attribute of the QoS variable included in the current usage policy resource, The value of the parameter of the application layer QoS variable parameter that is not assigned an initial value; when the value of each parameter in the application layer QoS variable parameter meets the requirement of the QoS parameter restriction attribute included in the current use policy resource, according to the The QoS window length attribute included in the current policy resource is used to determine the maximum value and the minimum value of the QoS window of the underlying network; the value of each parameter in the application layer QoS variable parameter and the QoS window length included in the current usage policy resource.
  • the offset attribute determines the window length offset of the QoS window of the underlying network.
  • the public service entity further includes: a first receiving module, configured to receive the application entity AE or a first request message sent by the public service entity CSE, where the first request message includes the application layer QoS variable parameter;
  • the acquiring module is specifically configured to: obtain the application layer QoS variable parameter included in the first request message received by the first receiving module.
  • the processing module is specifically configured to: include, in determining the first request message received by the first receiving module When the QoS control parameter is enabled, the maximum and minimum values of the QoS window of the underlying network and the window length offset of the QoS window of the underlying network are determined.
  • the public service entity further includes: a second receiving module, configured to receive the AE or the CSE a second request message, the second request message is used to request to create a QoS variable parameter resource under the target resource; and a creating module, configured to create the QoS variable parameter resource including the application layer QoS variable parameter under the target resource;
  • the obtaining module is specifically configured to: obtain the application layer QoS variable parameter included in the QoS variable parameter resource created by the creating module.
  • the second receiving module is further configured to: receive the AE or the third information that is sent by the CSE and includes the data information. Request message
  • the processing module is specifically configured to determine a maximum value and a minimum value of the QoS window of the underlying network when determining that the destination scope for transmitting the third request message includes the QoS variable parameter resource And the window length offset of the QoS window of the underlying network.
  • the target resource is a public service entity basic CSEBase resource or an AE resource.
  • the CSEBase resource or the AE resource further includes: a QoS policy resource and a current usage policy resource; wherein, the current The management link attribute using the policy resource is associated with the QoS policy resource, and the QoS policy resource includes: a QoS parameter restriction policy resource, a QoS parameter default value setting policy resource, an underlying network access policy resource, and a QoS rule mapping table policy resource.
  • the QoS policy resource further includes: a name attribute and an M management link attribute, where M is greater than or equal to 3. Natural number;
  • the name attribute is used to indicate a name of a QoS policy included in the QoS policy resource, and at least one of the M management link attributes is associated with the QoS parameter restriction policy resource, where the M management link attributes are At least one management link attribute is associated with the QoS parameter default value setting policy resource, and at least one of the M management link attributes is associated with the underlying network access policy resource.
  • the QoS parameter restriction policy resource includes at least one of the following attributes One: Limit data transmission average rate attribute, limit data transmission delay attribute, limit data transmission delay jitter attribute, limit packet loss rate attribute, limit data transmission reliability attribute and limit data transmission priority attribute.
  • the QoS parameter default value setting policy resource includes the following At least one of the attributes: data transmission average rate default value setting attribute, data transmission delay default value setting attribute, data transmission delay jitter default value setting attribute, packet loss rate setting attribute, data transmission reliability setting Attribute and data transfer priority setting attributes.
  • the bottom network access policy resource includes a target network The attribute, the maximum attribute of the QoS window of the underlying network, the minimum attribute of the QoS window of the underlying network, and other condition attributes.
  • the QoS rule mapping table policy resource includes an underlying network QoS window length offset attribute and at least one of the following attributes: data transmission average rate value range attribute, data transmission delay value range attribute, data transmission delay jitter value range attribute, packet loss rate value Range attribute, data transmission reliability value range attribute, and data transmission priority value range attribute.
  • the application layer QoS variable parameter includes at least one of the following parameters: a data transmission average rate parameter, a data transmission delay parameter, a data transmission delay jitter parameter, a packet loss rate parameter, a data transmission reliability parameter, and a data transmission priority parameter.
  • the method and the public service entity in the unified machine-to-machine system of the embodiment of the present invention obtain the application layer quality of service QoS variable parameter, and the application layer QoS variable parameter is used to indicate the quality requirement of the application for transmitting data.
  • FIG. 1 is a schematic architectural diagram of a unified machine-to-machine system in accordance with an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for data transmission in a unified machine-to-machine system according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a CSEBase resource provided by an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an AE resource provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a QoS policy resource according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a method for data transmission of message granularity in a data transmission process in a unified machine-to-machine system according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a method for data transmission of AE or CSE granularity in a data transmission process in a unified machine-to-machine system according to an embodiment of the present invention
  • FIG. 8 is a schematic flowchart of a method for mapping an underlay network according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of a method for mapping a QoS window based underlying network when the underlying network is 3GPP according to an embodiment of the present disclosure
  • FIG. 10 is a schematic flowchart of a method for end-to-end data transmission based on message granularity according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a flow of data transmission in a vehicle collision scenario according to an embodiment of the present invention.
  • FIG. 12 is a schematic block diagram of a public service entity according to an embodiment of the present invention.
  • FIG. 13 is another schematic block diagram of a public service entity according to an embodiment of the present invention.
  • FIG. 14 is still another schematic block diagram of a public service entity according to an embodiment of the present invention.
  • FIG. 15 is a schematic block diagram of a public service entity according to another embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a unified machine-to-machine system provided by an embodiment of the present invention.
  • the OneM2M system is divided into an application layer, a common service layer, and a network layer.
  • the application layer is responsible for the operation and storage of the application by the application entity (Application Entity, referred to as "AE").
  • the application layer contains the instantiated one-to-one oneM2M solution.
  • the public service layer is managed by the Common Service Entity (CSE) to aggregate the application layer information to form a resource pool and coordinate the underlying network transmission.
  • the CSE is the core layer of oneM2M and acts as a platform.
  • the public service layer Includes a series of instantiated public service features.
  • the network layer is managed by the Network Services Entity (“NSE”) to be responsible for the underlying network transmission and to provide the public service layer with the capabilities that the underlying network can provide.
  • NSE Network Services Entity
  • Mca the interface between AE and CSE, responsible for communication between AE to CSE or CSE to AE
  • Mcc/Mcc' two CSEs Inter-interface, responsible for communication between CSE
  • Mcn interface between CSE and NSE, responsible for communication between CSE to NSE or NSE to CSE.
  • Mcch reference point (not shown) that is the interface between the oneM2M system and the billing system.
  • all entities in the oneM2M system such as AE, CSE, data, and the like, are represented in the form of resources.
  • the resource structure defines in detail how the resources are represented and defines how to get them. These resources are all independently addressed.
  • the data transmission method of the embodiment of the present invention is applicable to all application scenarios that provide services to the upper layer based on the unified service entity or the unified application program interface, are backward compatible with different underlying networks, and have different QoS service requests.
  • FIG. 2 is a schematic flowchart of a method 100 for data transmission in a unified machine-to-machine system according to an embodiment of the present invention.
  • the method 100 may be performed by a public service entity CSE. As shown in FIG. 2, the method 100 includes:
  • the application layer QoS variable parameter is mapped to a target QoS variable parameter that is identifiable by the underlying network.
  • the CSE obtains an application layer QoS variable parameter indicating an application quality requirement for transmission data, and maps the application layer QoS variable parameter to a target QoS variable parameter identifiable by the underlying network, and then the CSE determines the target QoS variable.
  • the parameters are sent to the network service entity NSE so that the NSE transmits data according to the target QoS variable.
  • the CSE maps the application layer QoS variable parameter to the target QoS variable parameter identifiable by the underlying network, and sends the target QoS variable parameter to the NSE, so that the The NSE can transmit data according to the target QoS variable parameter, thereby being able to meet the QoS requirements of the application in different application scenarios in the oneM2M system.
  • the application layer QoS variable parameter may refer to the QoS variable parameter carried in the request message request sent by the application entity AE of the source node or the CSE of the source node, and may also refer to the AE or source node of the source node.
  • the CSE sends a QoS variable parameter included in the QoS variable parameter resource of the request request.
  • an application may refer to an application.
  • the Department of Transportation The application for collecting vehicle accident information in the system, or the telemedicine application, etc., is not limited by the present invention.
  • the CSE of the intermediate node receives the first request message sent by the AE of the source node or the CSE of the source node, where the first request message includes the application layer QoS variable parameter.
  • the application layer QoS variable parameters include a data transmission average rate (dataRate) parameter, a data transmission delay (delay) parameter, a data transmission delay jitter (delayVariation) parameter, a packet loss rate (packetLosses) parameter, and a data transmission reliability (reliability). At least one of a parameter and a data transmission priority parameter.
  • the value of the dataRate parameter can be 100-200 kbit/s; the value of the delay parameter can be 10-20 ms; the value of the delayVariation parameter can be less than 5 ms, for example, 1 ms, 2 ms, 4 ms, etc.; The value is less than 1%; the reliability parameter is taken as a reliable value; the value of the priority parameter is less than 5, for example, it can be 1, 2, 3, 4, etc.;
  • the CSE of the intermediate node determines the maximum value (networkQoSMax) and the minimum value (networkQoSMin) of the QoS window of the network layer when determining that the QoS control parameter (QoSControl) included in the first request message is enabled.
  • a window length offset (networkQoSOffset) of the QoS window of the underlying network the QoS window is used to indicate a section of the comprehensive indicator of the QoS of the underlying network; according to the maximum value and the minimum value of the QoS window of the underlying network, the bottom layer
  • the window length offset of the QoS window of the network and the QoS rule mapping table (QoSRuleList) included in the current usage policy resource obtain the target QoS variable parameter.
  • the comprehensive indicator of the QoS refers to the traffic class of the 3GPP system in the 3GPP system, including: Conversational, Streaming, Interactive, and Background, and the QoS.
  • the comprehensive indicator refers to the Differentiated Services Code Point (DSCP) in the IP network.
  • DSCP Differentiated Services Code Point
  • the CSE of the intermediate node determines that the application layer QoS variable parameter is not assigned according to the default value attribute of the QoS variable included in the current usage policy resource.
  • the window length offset of the QoS window and the QoS rule mapping table included in the current usage policy resource obtain the target QoS variable parameter.
  • the QoS control parameter is an optional parameter in the first request message.
  • the CSE of the intermediate node performs QoS control by default. Related operations that should be performed when the parameter is enabled.
  • the CSE of the intermediate node receives the AE of the source node or the second request message sent by the CSE of the source node, where the second request message is used to request to create a QoS variable parameter resource under the target resource;
  • the CSE creates the QoS variable parameter resource including the application layer QoS variable parameter according to the second request message, and the CSE of the intermediate node acquires the application layer QoS variable parameter included in the QoS variable parameter resource.
  • the target resource may be a CSEBase resource of an intermediate node or an AE resource of an intermediate node.
  • the CSE of the intermediate node receives the third request message including the data information sent by the AE or the CSE; when determining that the destination scope for transmitting the third request message includes the QoS variable parameter resource, determining the The maximum and minimum values of the QoS window of the underlying network and the window length offset of the QoS window of the underlying network, the QoS window being used to represent the interval of the comprehensive indicator of the QoS of the underlying network; the CSE of the intermediate node according to the underlying network The maximum and minimum values of the QoS window, the window length offset of the QoS window of the underlying network, and the QoS rule mapping table included in the current usage policy resource are used to obtain the target QoS variable parameter.
  • the comprehensive indicator of the QoS refers to the service type of the 3GPP system in the 3GPP system, including: call type, streaming media, interaction class, and background class, and refers to a differential service code point in the IP network.
  • the CSE of the intermediate node receives the third request message including the data information sent by the AE or the CSE; and when determining that the destination scope for transmitting the third request message includes the QoS variable parameter resource, according to the current usage policy
  • the default value attribute of the QoS variable included in the resource is used to determine the value of the parameter of the application layer QoS variable parameter that is not initialized; the value of each parameter in the application layer QoS variable parameter meets the current usage policy resource included
  • the QoS parameter is required to limit the attribute, the maximum value and the minimum value of the QoS window of the underlying network are determined according to the QoS window length attribute included in the current usage policy resource; and the value of each parameter in the QoS variable parameter of the application layer is Determining a window length offset of the QoS window of the underlying network by using a QoS window length offset attribute included in the current policy resource; a maximum value and a minimum value of the QoS window of the underlying network, and a QoS window of
  • the parameter list of the second request message may include a destination address parameter, and the intermediate node CSE creates a QoS variable parameter resource under the corresponding resource according to the destination address parameter; the second request message
  • the indication information may be included, the indication information indicating a target resource for creating a QoS variable parameter resource, and the intermediate node CSE creates a QoS variable parameter resource under the target resource indicated by the indication information, but the invention is not limited thereto.
  • the destination scope refers to the resource of the intermediate node corresponding to the entity that sends the third request message in the source node.
  • the solid line rectangle in FIG. 3 represents a resource
  • the solid line rounded rectangle represents an attribute. 0..n indicates that this attribute/resource has at least 0 and at most n.
  • the QoS variable parameter resource is located in the CSEBase resource of the intermediate node, and the CSEBase resource includes attributes such as a CSE type (cseType) attribute, a CSE identifier (CSE-ID) attribute, and a supported resource type (supportedResourceType) attribute, and the CSEBase resource includes the request.
  • the ( ⁇ request>) resource, the delivery ( ⁇ delivery>) resource, the schedule ( ⁇ schedule>) resource, and the like include a QoS variable parameter resource, a QoS policy resource, and the current usage policy resource (the dotted-line box portion in the figure).
  • the QoS variable parameter resource includes a data transmission average rate attribute, a data transmission delay attribute, a data transmission delay jitter attribute, a packet loss rate attribute, a data transmission reliability attribute, a data transmission priority attribute, and a subscription resource, and the subscription resource
  • the parameter resource is used to deliver a QoS variable parameter;
  • the management link attribute of the current usage policy resource is associated with the QoS policy resource by a pointer;
  • the QoS policy resource includes: a QoS parameter restriction policy (QoSLimits) resource, and a QoS parameter default value setting policy (QoSDefParameters) resources, underlying network access policy (QoSNetworkAccessRules) resources, and QoS rule mapping table policy (QoSRuleList) resources.
  • the solid line rectangle in FIG. 4 represents a resource
  • the solid line rounded rectangle represents an attribute. 0..n indicates that this attribute/resource has at least 0 and at most n.
  • the QoS variable parameter resource is located under the AE resource of the intermediate node, and the AE resource includes attributes such as a name attribute, an App identification attribute, an AE identification attribute, and an access point (pointOfAcess) attribute
  • the AE resource includes a group ( ⁇ group >) Resources, access control policy ( ⁇ accessControlPolicy>) resources, polling channel ( ⁇ pollingChannel>) resources, etc., including QoS variable parameter resources, QoS policy resources, and the currently used policy resources (the dotted box in the figure) ).
  • the QoS variable parameter resource includes a data transmission average rate attribute, a data transmission delay attribute, a data transmission delay jitter attribute, a packet loss rate attribute, a data transmission reliability attribute, a data transmission priority attribute, and a subscription resource, and the subscription resource Parameter resources are used to pass QoS variable parameters; the current usage policy
  • the management link attribute of the resource is associated with the QoS policy resource by a pointer;
  • the QoS policy resource includes: a QoS parameter restriction policy resource, a QoS parameter default value setting policy resource, an underlying network access policy resource, and a QoS rule mapping table policy resource. .
  • the solid line rectangle in FIG. 5 represents a resource
  • the solid line rounded rectangle represents an attribute. 0..n indicates that this attribute/resource has at least 0 and at most n.
  • the QoS policy resource includes one name attribute and M in addition to the management definition (mgmtDefinition) attribute, the object identifier (objectIDs) attribute, the object address (objectPaths) attribute, the description attribute, and the subscription ( ⁇ subscription>) resource.
  • Manage link attributes, M is a natural number greater than or equal to 3;
  • the name attribute is used to indicate a name of a QoS policy included in the QoS policy resource, and at least one of the M management link attributes is associated with the QoS parameter restriction policy resource, where the M management link attributes are At least one management link attribute is associated with the QoS parameter default value setting policy resource, and at least one of the M management link attributes is associated with the underlying network access policy resource.
  • the QoS parameter restriction policy resource may include at least one of the following attributes: limiting the average rate of data transmission, limiting the delay of data transmission, limiting the delay of data transmission, and limiting the loss. Packet rate attributes, restricted data transmission reliability attributes, and restricted data transmission priority attributes. Each of the attributes defines a range of values of the QoS variable parameters corresponding to the attribute.
  • the QoS parameter restriction policy resource may further include a scope attribute that identifies the applicable scope of the resource itself (such as a specific AE identifier, an application (referred to as "APP") identifier, or a local AE. Etc.), when the request message corresponds to the applicable range, the current QoS parameter restriction policy is adopted.
  • a QoS policy resource may include multiple QoS parameters to limit policy resources to correspond to different application scopes.
  • the QoS parameter restriction policy resource may also include other attributes specified in the standard, which is not limited by the present invention.
  • the QoS parameter default value setting policy resource may include at least one of the following attributes: a data transmission average rate default value setting attribute, a data transmission delay default value setting attribute, and a data. Transmission delay jitter default value setting attribute, packet loss rate setting attribute, data transmission reliability setting attribute, and data transmission priority setting attribute. Each of the attributes defines a default value of the QoS variable parameter corresponding to the attribute.
  • the QoS parameter default value setting policy resource may further include a scope attribute, which identifies the applicable scope of the resource itself (such as a specific AE identifier, App identifier or local AE, etc.), in the request message and Resource itself When the applicable range is corresponding, if the value of the QoS variable parameter in the QoS variable parameter list in the request message is null or incomplete, the current default QoS parameter value is used for processing.
  • a QoS policy resource may include multiple QoS parameter default value setting policy resources to correspond to different application ranges.
  • the QoS parameter default value setting resource may also include other attributes specified in the standard, which is not limited by the present invention.
  • the underlying network access policy resource may include a target network (targetNetwork) attribute, a maximum value attribute of a QoS window of the underlying network, a minimum value attribute of a QoS window of the underlying network, and other condition attributes.
  • the target network attribute is used to define the underlying network to which the underlying network access policy resource is applicable.
  • the maximum attribute of the QoS window and the minimum value of the QoS window of the underlying network represent the QoS capability of the underlying network in a QoS window mode, which is the premise of mapping the QoS variable parameters in the CSE to the QoS variable parameters in the NSE.
  • the underlying network mapping mechanism category, other conditional attributes represent other possible strategies.
  • the underlying network access policy resource may also include other attributes specified in the standard, which is not limited by the present invention.
  • the QoS rule mapping table policy resource may include at least one of a QoS window length offset attribute of the underlying network and the following attributes: a data transmission average rate value range attribute, and a data transmission time.
  • Each of the attributes defines a range of values of the QoS variable parameters corresponding to the attribute.
  • the window length offset of the QoS window of the underlying network in the current QoS rule mapping table policy resource is used as the window length offset of the QoS window.
  • An underlying network access policy resource may include multiple QoS rule mapping table policy resources to form a QoS mapping table for a particular network.
  • the QoS rule mapping table policy resource may also include other attributes specified in the standard, which is not limited by the present invention.
  • the method for data transmission in the unified machine-to-machine system by mapping the application layer QoS variable parameter to the target QoS variable parameter identifiable by the underlying network, and transmitting the target QoS variable parameter to the NSE, so that the NSE
  • the data can be transmitted according to the target QoS variable parameter, thereby being able to meet the requirements of the QoS of the application in different application scenarios in the oneM2M system.
  • FIG. 6 is a schematic flowchart of a method for data transmission of message granularity in a data transmission process in a unified machine-to-machine system according to an embodiment of the present invention.
  • the request message sent by the AE or CSE of the source node carries information, and reaches the CSE of the intermediate node through the Mca or Mcc interface.
  • the information carried in the request message includes data information, and may further include a QoS variable parameter and a QoS control parameter.
  • the CSE of the intermediate node sends the QoS variable parameter identifiable by the underlying network to the network service entity NSE of the intermediate node through the Mcn interface.
  • the NSE of the intermediate node encapsulates the data according to the QoS variable parameters identifiable by the underlying network, and sends the data packet to another unified machine to the node in the machine system.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • FIG. 7 is a schematic flowchart of a method for data transmission of AE or CSE granularity in a data transmission process in a unified machine-to-machine system according to an embodiment of the present invention.
  • the AE or CSE of the source node sends a first request message to the CSE of the intermediate node through the Mca or Mcc interface, and the operation type of the first request message is Create, and the content of the request is Request to create a QoS variable parameter resource.
  • the CSE of the intermediate node detects information in the parameter list of the first request message, and creates a QoS variable parameter resource under the corresponding resource (CSEBase or designated AE) according to the destination address parameter in the parameter list; the CSE of the intermediate node is started.
  • the QoS policy indicates that the subsequent requests in the granularity need to execute the QoS policy, and feed back the result of whether the QoS variable parameter resource is successfully created to the AE or CSE that sends the first request message.
  • the AE or the CSE of the source node sends a second request message carrying the data information to the CSE of the intermediate node, and when the QoS variable parameter resource exists in the destination scope of the second transmission request message, the QoS variable parameter resource is used.
  • Application layer QoS variable parameters in the underlying network Mapping get the QoS variable parameters that the underlying network can recognize. And the related authentication result of the application layer QoS variable parameter is fed back to the AE or CSE that sends the second request message.
  • the CSE first performs a request operation for creating a corresponding QoS variable parameter resource to the adjacent CSE through the Mcc interface, and then forwards the second request message.
  • the CSE of the intermediate node sends the QoS variable parameter identifiable by the underlying network to the network service entity NSE of the intermediate node through the Mcn interface.
  • the NSE encapsulates the data according to the QoS variable parameters identifiable by the underlying network, and sends the data packet including the data to another unified machine to node in the machine system.
  • the method 400 for mapping the underlying network in S202 and S303 will be specifically described below with reference to FIG. 8. As shown in FIG. 8, the method 400 includes:
  • the CSE of the intermediate node determines the current usage policy according to a series of QoS qualification conditions, such as the usage scope of the related policy resource itself, the type of the underlying network, and the like.
  • S402. Determine a value of a parameter that is not assigned an initial value in the QoS variable parameter.
  • the CSE of the intermediate node assigns a parameter of the QoS variable parameter that is not assigned the initial value according to the QoS default value attribute of the QoS parameter default value in the current usage policy resource including the current usage policy.
  • the CSE of the intermediate node determines whether the value range of each parameter in the QoS variable parameter satisfies the requirement of the QoS parameter restriction attribute according to the QoS parameter restriction attribute of the current policy resource that points to the QoS parameter restriction policy resource. If the value range of each parameter in the QoS variable parameter meets the requirements of the QoS parameter restriction attribute, the next step is performed; otherwise, the data transmission is rejected.
  • the CSE of the intermediate node may discard the data packet, and send indication information for indicating that the authentication fails, and the source node may adjust the value range of the various QoS variable parameters according to the indication information.
  • the invention is not limited to this.
  • the CSE of the intermediate node determines the maximum value and the minimum value of the QoS window of the underlying network according to the QoS window length attribute of the QoS underlying network access policy resource included in the current usage policy resource.
  • the CSE of the intermediate node determines the QoS of the underlying network according to the value of each parameter in the QoS variable parameter and the QoS window length offset attribute of the QoS rule mapping table policy resource included in the current usage policy resource.
  • the window length of the window is offset.
  • the CSE of the intermediate node obtains the identities of the underlying network according to the maximum value and the minimum value of the QoS window of the underlying network, the window length offset of the QoS window of the underlying network, and the QoS rule mapping table included in the current usage policy resource.
  • QoS variable parameters QoS variable parameters.
  • a method 500 for QoS window based underlying network mapping according to an embodiment of the present invention will be described below with reference to FIG. 9 as an example of a 3GPP network. It should be understood that the embodiments of the present invention are not limited to the 3GPP network, and may also include Bluetooth, WiFi, and the like.
  • the CSE of the intermediate node determines that the QoS control parameter in the request is enabled, and the QoS variable parameter in the request satisfies the requirement of the QoS parameter restriction attribute.
  • the underlying network is a 3GPP network.
  • the CSE of the intermediate node determines, according to the message content of the request, that the current accessed underlying network is a 3GPP network.
  • the CSE of the intermediate node finds the policy corresponding to the 3GPP network from the QoS policy resource, and obtains the maximum value and the minimum value of the QoS window.
  • the maximum value in Table 1 is 3, and the minimum value is 0.
  • the window length offset of the QoS window on the CSE side of the 3GPP network is obtained by combining the requirement of the parameter set in the QoS variable parameter with the QoS window length offset attribute in the current use policy resource.
  • mapping obtains a QoS variable parameter recognizable by the 3GPP network.
  • the CSE of the intermediate node queries the QoS rule mapping table in the currently used policy resource according to the maximum value of the QoS window, the minimum value of the QoS window, and the window length offset of the QoS window, so that the 3GPP network can be obtained.
  • the identified QoS variable parameters such as 0, 3, and 0 in Table 1, correspond to the call class in the 3GPP service type.
  • the 3GPP network identifiable QoS variable parameters are sent to the NSE of the intermediate node.
  • the AE of the source node transmits a request message request with a QoS variable parameter to the CSE of the source node.
  • the CSE of the source node makes a decision on the QoS variable parameter, and uses the QoS window-based underlying network mapping method to map the QoS variable parameter to the QoS variable parameter identifiable by the underlying network, and sends the request to the underlying network to continue. transmission.
  • the underlying network transmits the request by using a QoS transmission mechanism in the prior art.
  • the intermediate non-transfer network node after receiving the QoS data packet, the intermediate non-transfer network node first extracts the QoS requirement of the CSE layer in the data packet, and sets a reasonable QoS window by using the QoS policy of the same underlying network, and then moves the data packet to the underlying network to continue transmission. .
  • the underlying network transmits the data packet using a QoS transmission mechanism in the prior art.
  • the intermediate transit network node after receiving the data packet, extracts the QoS requirement of the CSE of the intermediate non-transfer network node included in the data packet, and then performs relevant decision setting to set the QoS variable parameter to the next node request.
  • the intermediate transit network node receives the data packet, and after setting a reasonable QoS window by using the QoS policy of the offline network, the data packet is moved to the relevant underlying network to continue transmission.
  • the underlying network transmits the data packet by using a QoS transmission mechanism in the prior art.
  • the NSE of the destination node unpacks the data packet sent by the underlying network and delivers it to the CSE processing of the destination node.
  • the CSE of the destination node extracts the content in the received data packet, and after authentication, sends the AE processing to the destination node.
  • the content extracted by the CSE of the destination node includes the type of the request and the content of the request.
  • FIG. 11 is a schematic diagram of a flow of data transmission in a vehicle collision scenario according to an embodiment of the present invention.
  • the AE of the source node transmits the information of the vehicle collision to the local CSE through the request carrying QoS variable parameter.
  • the CSE of the source node determines the QoS variable parameter, and uses the CSE of the source node to map the QoS variable parameter to the 3GPP service by using the QoS window based underlying network mapping method of the 3GPP network, and moves the request to the bottom layer.
  • the network continues to transmit.
  • the underlying network transmits the request by using the existing QoS guarantee mechanism of the 3GPP network.
  • the oneM2M gateway node receives the data packet from the 3GPP network, finds that the local node is not the destination node, and extracts the QoS variable parameter information in the request to wait for the CSE of the gateway node to make a decision.
  • the CSE of the gateway node finds the egress network as an IP network according to the routing information, sets a reasonable QoS window by using the QoS policy of the IP network, and maps the QoS window to the DSCP parameter of the IP network, and then moves the request. Continue to transfer to the underlying network.
  • the underlying network transmits the request by using an existing QoS transmission mechanism of the IP network.
  • the intelligent transportation system ITS node receives the data packet from the oneM2M gateway, unpacks the data packet, and sends the request information to the CSE processing of the ITS.
  • the CSE of the ITS is found to have reached the destination node, and the vehicle collision information in the received request is extracted, and after being authenticated, it is sent to the collision collection application for processing.
  • the method for data transmission in the unified machine-to-machine system by mapping the application layer QoS variable parameter to the target QoS variable parameter identifiable by the underlying network, and transmitting the target QoS variable parameter to the NSE, so that the NSE
  • the data can be transmitted according to the target QoS variable parameter, thereby being able to meet the requirements of the QoS of the application in different application scenarios in the oneM2M system.
  • FIG. 12 is a schematic block diagram of a public service entity CSE 10 provided by an embodiment of the present invention. As shown in FIG. 12, the CSE 10 includes:
  • the obtaining module 11 is configured to obtain an application layer quality of service QoS variable parameter, where the application layer QoS variable parameter is used to indicate an application quality requirement for transmitting data;
  • the processing module 12 is configured to map the application layer QoS variable parameter acquired by the obtaining module 11 Target QoS variable parameters identifiable to the underlying network;
  • the sending module 13 is configured to send the target QoS variable parameter to the network service entity NSE, so that the NSE transmits data according to the target QoS variable parameter.
  • the CSE of the intermediate node acquires an application layer QoS variable parameter indicating the quality requirement of the application for transmitting data, and maps the application layer QoS variable parameter to a target QoS variable parameter identifiable by the underlying network, after which the CSE will
  • the target QoS variable parameter is sent to the network service entity NSE so that the NSE transmits data according to the target QoS variable parameter.
  • the public service entity of the embodiment of the present invention acquires an application layer QoS variable parameter indicating the quality requirement of the application for the transmission data, and maps the application layer QoS variable parameter to the target QoS variable parameter identifiable by the underlying network, and then And sending the target QoS variable parameter to the NSE, so that the NSE can transmit data according to the target QoS variable parameter, thereby satisfying the requirement of the QoS of the application in different application scenarios in the oneM2M system.
  • the application layer QoS variable parameter may refer to the QoS variable parameter sent by the application entity AE or CSE of the source node, and may also refer to the QoS variable parameter that is requested by the AE or CSE sent by the source node.
  • the QoS variable parameters included in the resource may refer to the QoS variable parameter sent by the application entity AE or CSE of the source node, and may also refer to the QoS variable parameter that is requested by the AE or CSE sent by the source node.
  • the QoS variable parameters included in the resource may refer to the QoS variable parameter sent by the application entity AE or CSE of the source node, and may also refer to the QoS variable parameter that is requested by the AE or CSE sent by the source node.
  • the QoS variable parameters included in the resource may refer to the QoS variable parameter sent by the application entity AE or CSE of the source node, and may also refer to the QoS variable parameter that is requested by the AE or CSE sent by the source no
  • the public service entity 10 further includes: a first receiving module 14 configured to receive a first request message sent by an AE or a CSE of the source node, where the first The request message includes the application layer QoS variable parameters.
  • the acquiring module 11 acquires the application layer QoS variable parameter included in the first request message received by the first receiving module 14.
  • the processing module 12 determines a maximum value and a minimum value of the QoS window of the network layer and a window length offset of the QoS window of the underlying network.
  • the QoS window is used to indicate a section of the comprehensive indicator of the QoS of the underlying network; the maximum and minimum values of the QoS window of the underlying network, the window length offset of the QoS window of the underlying network, and the current usage policy policy resource
  • the QoS rule mapping table included in the table obtains the target QoS variable parameter.
  • the comprehensive indicator of the QoS refers to the service type of the 3GPP system in the 3GPP system, including: call type, streaming media, interaction class, and background class, and refers to a differential service code point in the IP network.
  • the public service entity 10 further includes:
  • the second receiving module 15 is configured to receive a second request message sent by the AE or the CSE, where the second request message is used to request to create a QoS variable parameter resource under the target resource;
  • a creating module 16 is configured to create, under the target resource, a parameter including the application layer QoS variable The QoS variable parameter resource;
  • the obtaining module 11 is specifically configured to: obtain the application layer QoS variable parameter included in the QoS variable parameter resource created by the creating module 16.
  • the second receiving module 15 is further configured to: receive the third request message that is sent by the AE or the CSE and includes the data information; and correspondingly, the processing module 12 determines to transmit the
  • the destination scope of the third request message includes the QoS variable parameter resource, determine a maximum value and a minimum value of a QoS window of the underlying network and a window length offset of a QoS window of the underlying network, where the QoS window is used to represent QoS The interval of the comprehensive indicator; the CSE of the intermediate node obtains the maximum and minimum values of the QoS window of the underlying network, the window length offset of the QoS window of the underlying network, and the QoS rule mapping table included in the current use policy resource.
  • the comprehensive indicator of the QoS refers to the service type of the 3GPP system in the 3GPP system, including: call type, streaming media, interaction class, and background class, and refers to a differential service code point in the IP network.
  • the target resource is a CSEBase resource of an intermediate node or an AE resource of an intermediate node.
  • the processing module 12 is specifically configured to: determine, according to the default value attribute of the QoS variable included in the current usage policy resource, the parameter of the application layer QoS variable parameter that is not assigned an initial value. a value; when the value of each parameter in the application layer QoS variable parameter meets the requirement of the QoS parameter restriction attribute included in the current usage policy resource, determining the underlying network according to the QoS window length attribute included in the current usage policy resource The maximum value and the minimum value of the QoS window; determining the window length of the QoS window of the underlying network according to the value of each parameter in the application layer QoS variable parameter and the QoS window length offset attribute included in the current usage policy resource Transfer amount.
  • the solid line rectangle in FIG. 3 represents a resource
  • the solid line rounded rectangle represents an attribute. 0..n indicates that this attribute/resource has at least 0 and at most n.
  • the QoS variable parameter resource is located under the CSEBase resource of the intermediate node, and the CSEBase resource includes attributes such as a CSE type (cseType) attribute, a CSE identifier (CSE-ID) attribute, and a supported resource type (supportedResourceType) attribute, except for a request ( ⁇ request).
  • the QoS variable parameter resource includes a data transmission average rate attribute, a data transmission delay attribute, a data transmission delay jitter attribute, a packet loss rate attribute, a data transmission reliability attribute, a data transmission priority attribute, and a subscription resource, and the subscription resource Parameter resources are used to pass QoS variable parameters; the current usage policy
  • the management link attribute of the resource is associated with the QoS policy resource; the QoS policy resource includes: QoS parameter restriction policy (QoSLimits) resource, QoS parameter default value setting policy (QoSDefParameters) resource, and underlying network access policy (QoSNetworkAccessRules) resource And QoS rule mapping table policy (QoSRuleList) resources.
  • the solid line rectangle in FIG. 4 represents a resource
  • the solid line rounded rectangle represents an attribute. 0..n indicates that this attribute/resource has at least 0 and at most n.
  • the QoS resource is located under the AE resource of the intermediate node, and the AE resource includes attributes such as a name attribute, an App identifier (ID) attribute, an AE identifier (ID) attribute, and an access point (pointOfAcess) attribute, except for the group ( ⁇ Group>) resources, access control policy ( ⁇ accessControlPolicy>) resources, polling channel ( ⁇ pollingChannel>) resources, etc., including QoS variable parameter resources, QoS policy resources, and current use policy resources (the dotted box in the figure) ).
  • the QoS variable parameter resource includes a data transmission average rate attribute, a data transmission delay attribute, a data transmission delay jitter attribute, a packet loss rate attribute, a data transmission reliability attribute, a data transmission priority attribute, and a subscription resource, and the subscription resource
  • the parameter resource is used to pass a QoS variable parameter, which is a sub-attribute under the ⁇ delivery> resource, used to set a QoS variable parameter of the request message in the next hop; the management link attribute of the current use policy resource and the QoS The policy resource is associated;
  • the QoS policy resource includes: a QoS parameter restriction policy resource, a QoS parameter default value setting policy resource, an underlying network access policy resource, and a QoS rule mapping table policy resource.
  • the solid line rectangle in FIG. 5 represents a resource
  • the solid line rounded rectangle represents an attribute. 0..n indicates that this attribute/resource has at least 0 and at most n.
  • the QoS policy resource includes one name attribute and M in addition to the management definition (mgmtDefinition) attribute, the object identifier (objectIDs) attribute, the object address (objectPaths) attribute, the description attribute, and the subscription ( ⁇ subscription>) resource.
  • Manage link attributes, M is a natural number greater than or equal to 3;
  • the name attribute is used to indicate a name of a QoS policy included in the QoS policy resource, and at least one of the M management link attributes is associated with the QoS parameter restriction policy resource, where the M management link attributes are At least one management link attribute is associated with the QoS parameter default value setting policy resource, and at least one of the M management link attributes is associated with the underlying network access policy resource.
  • the QoS parameter restriction policy resource includes at least one of the following attributes: limiting the data transmission average rate attribute, limiting the data transmission delay attribute, and limiting the data. Transmission delay jitter attribute, limit packet loss rate attribute, limit data transmission reliability attribute, and limit data transmission priority attribute. Each of the attributes defines a range of values of the QoS variable parameters corresponding to the attribute.
  • the QoS parameter restriction policy resource further includes a scope attribute that identifies the applicable scope of the resource itself (such as a specific AE identifier, App-ID or local AE, etc.), and when the request message corresponds to the applicable scope, Current QoS parameter restriction policy. Therefore, a QoS policy resource may have multiple QoS parameters to limit policy resources to correspond to different application scopes.
  • the QoS parameter default value setting policy resource includes at least one of the following attributes, a data transmission average rate default value setting attribute, a data transmission delay default value setting attribute, and a data transmission.
  • Each of the attributes defines a default value of the QoS variable parameter corresponding to the attribute.
  • the QoS parameter default value setting policy resource further includes a scope attribute that identifies the applicable scope of the resource itself (such as a specific AE identifier, an App-ID or a local AE, etc.), when the request message corresponds to the applicable range. If the QoS variable parameter list in the request message is empty or incomplete, the current default QoS parameter value is used for processing. Therefore, a QoS policy resource may have multiple QoS parameter default values to set policy resources to correspond to different application scopes.
  • the underlying network access policy resource includes a target network attribute, a maximum value attribute of a QoS window of the underlying network, a minimum value attribute of a QoS window of the underlying network, and other condition attributes.
  • the target network attribute is used to define the underlying network to which the network access policy resource is applicable.
  • the maximum value attribute of the QoS window and the minimum value attribute of the QoS window of the underlying network use a pattern of QoS window to represent the QoS capability of the underlying network, which is the premise of mapping the QoS variable parameters in the QoS to NSE in the CSE, and belongs to the underlying network mapping mechanism category.
  • Other conditional attributes represent other possible strategies.
  • the QoS rule mapping table policy resource includes at least one of a QoS window length offset attribute of the underlying network and the following attributes: a data transmission average rate value range attribute, and a data transmission delay The value range attribute, the data transmission delay jitter value range attribute, the packet loss rate value range attribute, the data transmission reliability value range attribute, and the data transmission priority value range attribute.
  • Each of these attributes defines a range of values for the QoS variable parameters corresponding to the attribute.
  • the window length offset of the QoS window of the underlying network in the current QoS rule mapping table policy resource is used as the window length offset of the QoS window. Therefore, an underlying network access policy resource may have multiple QoS rule mapping table policy resources to form a QoS mapping table of a specific network.
  • the public service entity of the embodiment of the present invention maps the application layer QoS variable parameter to the target QoS variable parameter identifiable by the underlying network, and sends the target QoS variable parameter to the NSE, so that the NSE can be based on the target QoS variable parameter.
  • the data is transmitted, thereby satisfying the requirements of the QoS of the application in the application under different application scenarios in the oneM2M system.
  • an embodiment of the present invention further provides a public service entity 20, which includes a processor 21, a memory 22, a bus system 23, a receiver 24, and a transmitter 25.
  • the processor 21, the memory 22, the receiver 24 and the transmitter 25 are connected by a bus system 23 for storing instructions for executing instructions stored by the memory 22 to control the receiver 24 to receive Signaling and controlling the transmitter 25 to send a signal;
  • the receiver 24 is configured to acquire an application layer quality of service QoS variable parameter, the application layer QoS variable parameter is used to indicate an application quality requirement for transmitting data;
  • the processor 21 is configured to Mapping the application layer QoS variable parameter received by the receiver 24 to a target QoS variable parameter identifiable by the underlying network;
  • the transmitter 25 is configured to send the target QoS variable parameter to the network serving entity NSE, so that the NSE is based on the target The QoS variable parameter transmits data.
  • the public service entity of the embodiment of the present invention maps the application layer QoS variable parameter to the target QoS variable parameter identifiable by the underlying network, and sends the target QoS variable parameter to the NSE, so that the NSE can be based on the target QoS variable parameter.
  • the data is transmitted, thereby satisfying the requirements of the QoS of the application in the application under different application scenarios in the oneM2M system.
  • the processor 21 may be a central processing unit (“CPU"), and the processor 21 may also be other general-purpose processors and digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 22 can include read only memory and random access memory and provides instructions and data to the processor 61. A portion of the memory 22 may also include a non-volatile random access memory. For example, the memory 22 can also store information of the device type.
  • the bus system 23 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as the bus system 23 in the figure.
  • each step of the above method may be completed by an integrated logic circuit of hardware in the processor 21 or an instruction in the form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 22, and the processor 21 reads the information in the memory 22 and combines the hardware to perform the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the processor 21 is specifically configured to: determine a maximum value and a minimum value of a QoS window of the underlying network, and a window length offset of a QoS window of the underlying network, where the QoS window is used to represent The interval of the comprehensive indicator of the QoS of the underlying network; according to the maximum value and the minimum value of the QoS window of the underlying network, the window length offset of the QoS window of the underlying network, and the QoS rule mapping table included in the current use policy resource, The target QoS variable parameter.
  • the processor 21 is further configured to: determine, according to a QoS variable default value attribute included in the current usage policy resource, a value of a parameter that is not assigned an initial value in the application layer QoS variable parameter.
  • a QoS variable default value attribute included in the current usage policy resource a value of a parameter that is not assigned an initial value in the application layer QoS variable parameter.
  • the processor 21 determines, according to a QoS variable default value attribute included in the current usage policy resource, a value of a parameter that is not assigned an initial value in the application layer QoS variable parameter.
  • the receiver 24 is specifically configured to: receive a first request message sent by an application entity AE or a public service entity CSE, where the first request message includes the application layer QoS variable parameter; The application layer QoS variable parameter included in the request message.
  • the processor 21 is specifically configured to determine a maximum value of a QoS window of the underlying network when determining that the QoS control parameter included in the first request message received by the receiver 24 is enabled. And the minimum value and the window length offset of the QoS window of the underlying network.
  • the receiver 24 is further configured to: receive a second request message sent by the AE or the CSE, where the second request message is used to request to create a QoS variable parameter resource under the target resource; Create the QoS variable including the application layer QoS variable parameter under the resource a parameter resource; the processor 21 is specifically configured to: acquire the application layer QoS variable parameter included in the QoS variable parameter resource.
  • the receiver 24 is further configured to: receive the third request message that is sent by the AE or the CSE and includes the data information;
  • the processor 21 is specifically configured to determine a maximum value and a minimum value of a QoS window of the underlying network and a QoS of the underlying network when determining that the destination scope for transmitting the third request message includes the QoS variable parameter resource
  • the window length of the window is offset.
  • the target resource is a CSEBase resource or an AE resource.
  • the CSEBase resource or the AE resource further includes: a QoS policy resource and a current usage policy resource; where the management link attribute of the current usage policy resource is associated with the QoS policy resource, the QoS policy
  • the resources include: QoS parameter restriction policy resource, QoS parameter default value setting policy resource, underlying network access policy resource, and QoS rule mapping table policy resource.
  • the QoS policy resource further includes one name attribute and M management link attributes, where M is a natural number greater than or equal to 3;
  • the name attribute is used to indicate a name of a QoS policy included in the QoS policy resource, and at least one of the M management link attributes is associated with the QoS parameter restriction policy resource, where the M management link attributes are At least one management link attribute is associated with the QoS parameter default value setting policy resource, and at least one of the M management link attributes is associated with the underlying network access policy resource.
  • the QoS parameter restriction policy resource includes at least one of the following attributes: limiting a data transmission average rate attribute, limiting a data transmission delay attribute, limiting a data transmission delay jitter attribute, and limiting a packet loss rate. Attributes, Limit Data Transfer Reliability Attributes, and Limit Data Transfer Priority Attributes.
  • the QoS parameter default value setting policy resource includes at least one of the following attributes: a data transmission average rate default value setting attribute, a data transmission delay default value setting attribute, and a data transmission time.
  • the underlying network access policy resource includes a target network attribute, a maximum value attribute of a QoS window of the underlying network, a minimum value attribute of a QoS window of the underlying network, and other condition attributes.
  • the QoS rule mapping table policy resource includes at least one of a QoS window length offset attribute of the underlying network and the following attributes: a data transmission average rate value range attribute, and a data transmission delay The value range attribute, the data transmission delay jitter value range attribute, the packet loss rate value range attribute, the data transmission reliability value range attribute, and the data transmission priority value range attribute.
  • the application layer QoS variable parameter includes at least one of the following parameters: a data transmission average rate parameter, a data transmission delay parameter, a data transmission delay jitter parameter, a packet loss rate parameter, and a data transmission. Reliability parameters and data transmission priority parameters.
  • the public service entity 20 may correspond to the public service entity 10 provided by the embodiment of the present invention, and the foregoing and other operations and/or functions of the respective modules in the public service entity 20 are respectively implemented to implement FIG.
  • the corresponding process of the method 100 in the following is omitted for brevity.
  • the public service entity of the embodiment of the present invention maps the application layer QoS variable parameter to the target QoS variable parameter identifiable by the underlying network, and sends the target QoS variable parameter to the NSE, so that the NSE can be based on the target QoS variable parameter.
  • the data is transmitted, thereby satisfying the requirements of the QoS of the application in the application under different application scenarios in the oneM2M system.
  • system and “network” are used interchangeably herein.
  • the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • B corresponding to A means that B is associated with A, and B can be determined according to A.
  • determining B from A does not mean that B is only determined based on A, and that B can also be determined based on A and/or other information.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

本发明实施例提供了一种统一机器到机器系统中数据传输的方法和公共服务实体。该方法包括:获取应用层服务质量QoS变量参数,该应用层QoS变量参数用于表示应用对传输数据的质量要求;将该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数;向网络服务实体NSE发送该目标QoS变量参数,以便于该NSE根据该目标QoS变量参数传输数据。本发明实施例提供的数据传输的方法,能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。

Description

统一机器到机器系统中数据传输的方法和公共服务实体 技术领域
本发明涉及通信领域,并且更具体地,涉及统一机器到机器系统中数据传输的方法和公共服务实体。
背景技术
统一机器到机器(one Machine to Machine,简称为“oneM2M”)系统的结构分为应用层、公共服务层以及网络层。其中应用层由应用实体(Application Entity,简称为“AE”)管理负责应用的有关操作与存储,应用层中包含的是实例化的端到端oneM2M解决方案。公共服务层由公共服务实体(Common Services Entity,简称为“CSE”)管理负责汇聚应用层信息形成资源池同时协调底层网络传输,是oneM2M中的核心层起到平台的作用,公共服务层包括一系列实例化的公共服务功能。网络层则由网络服务实体(Network Services Entity,简称为“NSE”)管理负责底层网络传输,向公共服务层提供底层网络可以提供的能力。
oneM2M体系中层与层之间的参考点(即接口)有3种,其中,Mca:AE与CSE之间的接口,负责AE到CSE或CSE到AE间的通信;Mcc/Mcc’:两个CSE间的接口,负责CSE间的通信;Mcn:CSE与NSE之间的接口,负责CSE到NSE或NSE到CSE间的通信。还有一个Mch参考点,是oneM2M系统与计费系统间的接口。
oneM2M系统构架主要分为两个域:公共设施域(Infrastructure Domain,简称为“IN”)以及本地域(Field Domain),其中本地域包括中间节点(Middle Node,简称为“MN”)、应用服务节点(Application Service Node,简称为“ASN”)以及应用专用节点(Application Dedicated Node,简称为“AND”)。其中除ADN节点只包含AE外其他节点都包含CSE。
为了高效地部署与统一机器到机器(M2M)通信系统,推动M2M全球标准与垂直行业应用融合,全球化标准组织—oneM2M应运而生。oneM2M的基本目标是统一通信业界的M2M应用层标准,促进通信产业内部有效协同。oneM2M标准采用了分层的功能架构,层与层之间的通信通过统一的接口完成,oneM2M系统要求基于统一的接口同时兼容不同的底层接入网络 (包括但不局限于第三代合作项目伙伴(3rd Generation Partnership Project,简称为“3GPP”,无线保真(Wireless Fidelity,简称为“WiFi”),蓝牙(Blue Tooth))。
随着物联网技术的快速发展,oneM2M系统所涵盖的应用场景日趋广泛,业务需求更加多样,在许多场景里,应用对于网络的服务质量(Quality of Service,简称为“QoS”)有着相应的要求。例如在交通系统中,车辆事故信息的搜集系统对时延有较高要求;而远程医疗应用对网络的时延和丢包率有较高要求。oneM2M系统需要有能力支持不同的QoS分级参数,例如:速率、时延、丢包率、误码率、网络带宽等。
现有oneM2M标准采用了面向资源的代表状态传输化的(Things Like Representational State Transfer,简称为“RESTful”)架构,OneM2M系统下的数据传输保障机制是联合CSE下的传递(<delivery>)资源以及通信传输管理(<cmdhpolicy>)策略,通过改变请求消息(request)中数据传输状态的相关参数实现的。并没有基于业务传输要求的QoS表示机制、QoS到底层网络的映射机制、端到端的QoS传输机制。因此,这种数据传输保障机制只能保障数据最基本的传输要求,无法满足许多现有应用场景的需求。
目前,相关技术利用中央资源管理器和服务控制器,定义了服务及其QoS参数,并且基于互联网协议(Internet Protocol,简称为“IP”)网络,将QoS参数映射为差分服务代码点(Differentiated Services Code Point,简称为“DSCP”),通过路由完成网络中QoS参数的传递,从而保证服务的质量。但该技术方案中,QoS参数的传递需要借助IP数据包中的DSCP部分完成,使得该技术方案主要是基于3GPP网络的,不能很好的适用于OneM2M系统中的所有的底层网络。
因此,现有的oneM2M体系下,如何满足不同应用场景下的应用对于网络的QoS的要求,是当前亟待解决的问题。
发明内容
有鉴于此,本发明实施例提供了一种统一机器到机器oneM2M系统中数据传输的方法和公共服务实体,能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
第一方面,提供了一种统一机器到机器系统中数据传输的方法,包括: 获取应用层服务质量QoS变量参数,该应用层QoS变量参数用于表示应用对传输数据的质量要求;将该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数;向网络服务实体NSE发送该目标QoS变量参数,以便于该NSE根据该目标QoS变量参数传输数据。
结合第一方面,在第一方面的第一种可能的实现方式中,该将该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,包括:确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,该QoS窗用于表示该底层网络的QoS的综合指标的区间;根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和当前使用策略资源包括的QoS规则映射表,得到该目标QoS变量参数。
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,该确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,包括:根据该当前使用策略资源包括的QoS变量默认值属性,确定该应用层QoS变量参数中未被赋初值的参数的取值;在该应用层QoS变量参数中每个参数的取值满足该当前使用策略资源包括的QoS参数限制属性的要求时,根据该当前使用策略资源包括的QoS窗长属性,确定该底层网络的QoS窗的最大值和最小值;根据该应用层QoS变量参数中每个参数的取值和该当前使用策略资源包括的QoS窗长偏移量属性,确定该底层网络的QoS窗的窗长偏移量。
结合第一方面的第一种或第二种可能的实现方式,在第一方面的第三种可能的实现方式中,该获取应用层服务质量QoS变量参数,包括:接收应用实体AE或公共服务实体CSE发送的第一请求消息,该第一请求消息包括该应用层QoS变量参数;获取该第一请求消息中包括的该应用层QoS变量参数。
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,该确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,包括:在确定该第一请求消息中包括的QoS控制参数使能时,确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量。
结合第一方面的第一种或第二种可能的实现方式,在第一方面的第五种可能的实现方式中,该获取应用层服务质量QoS变量参数,包括:接收AE 或CSE发送的第二请求消息,该第二请求消息用于请求在目标资源下创建QoS变量参数资源;在该目标资源下创建包括该应用层QoS变量参数的该QoS变量参数资源;获取该QoS变量参数资源中包括的该应用层QoS变量参数。
结合第一方面第五种可能的实现方式,在第一方面的第六种可能的实现方式中,该确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,包括:接收该AE或该CSE发送的包括数据信息的第三请求消息;在确定传输该第三请求消息的目的作用域包括该QoS变量参数资源时,确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量。
结合第一方面的第五种或第六种可能的实现方式,在第一方面的第七种可能的实现方式中,该目标资源为公共服务实体基础CSEBase资源或AE资源。
结合第一方面的第七种可能的实现方式,在第一方面的第八种可能的实现方式中,该CSEBase资源或该AE资源还包括:QoS策略资源和该当前使用策略资源;其中,该当前使用策略资源的管理链接属性与该QoS策略资源相关联,该QoS策略资源包括:QoS参数限制策略资源、QoS参数默认值设定策略资源、底层网络接入策略资源和QoS规则映射表策略资源。
结合第一方面的第八种可能的实现方式,在第一方面的第九种可能的实现方式中,该QoS策略资源还包括1个名称属性和M个管理链接属性,M为大于等于3的自然数;
其中,该名称属性用于表示该QoS策略资源中包括的QoS策略的名称,该M个管理链接属性中的至少一个管理链接属性与该QoS参数限制策略资源相关联,该M个管理链接属性中的至少一个管理链接属性与该QoS参数默认值设定策略资源相关联,该M个管理链接属性中至少一个管理链接属性与该底层网络接入策略资源相关联。
结合第一方面的第八种或第九种可能的实现方式,在第一方面的第十种可能的实现方式中,该QoS参数限制策略资源包括下列属性中的至少一种:限制数据传输平均速率属性、限制数据传输延时属性、限制数据传输延时抖动属性、限制丢包率属性、限制数据传输可靠性属性和限制数据传输优先级属性。
结合第一方面的第八种至第十种可能的实现方式中任一可能的实现方式,在第一方面的第十一种可能的实现方式中,该QoS参数默认值设定策略资源包括下列属性中的至少一种:数据传输平均速率默认值设定属性、数据传输时延默认值设定属性、数据传输时延抖动默认值设定属性、丢包率设定属性、数据传输可靠性设定属性和数据传输优先级设定属性。
结合第一方面的第八种至第十一种可能的实现方式中任一可能的实现方式,在第一方面的第十二种可能的实现方式中,该底层网络接入策略资源包括目标网络属性、底层网络的QoS窗的最大值属性、底层网络的QoS窗的最小值属性和其他条件属性。
结合第一方面的第八种至第十二种可能的实现方式中任一可能的实现方式,在第一方面的第十三种可能的实现方式中,该QoS规则映射表策略资源包括底层网络的QoS窗长偏移量属性和下列属性中的至少一种:数据传输平均速率取值范围属性、数据传输时延取值范围属性、数据传输时延抖动取值范围属性、丢包率取值范围属性、数据传输可靠性取值范围属性和数据传输优先级取值范围属性。
结合第一方面,第一方面的第一种至第十三种可能的实现方式中任一可能的实现方式,在第一方面的第十四种可能的实现方式中,该应用层QoS变量参数包括下列参数中的至少一种:数据传输平均速率参数、数据传输延时参数、数据传输延时抖动参数、丢包率参数、数据传输可靠性参数和数据传输优先级参数。
第二方面,提供了一种公共服务实体,包括:获取模块,用于获取应用层服务质量QoS变量参数,该应用层QoS变量参数用于表示应用对传输数据的质量要求;处理模块,用于将该获取模块获取的该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数;发送模块,用于向网络服务实体NSE发送该目标QoS变量参数,以便于该NSE根据该目标QoS变量参数发送数据。
结合第二方面,在第二方面的第一种可能的实现方式中,该处理模块具体用于:确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,该QoS窗用于表示该底层网络的QoS的综合指标的区间;根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和当前使用策略资源包括的QoS规则映射表,得到该目标QoS变量 参数。
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,该处理模块还具体用于:根据该当前使用策略资源包括的QoS变量默认值属性,确定该应用层QoS变量参数中未被赋初值的参数的取值;在该应用层QoS变量参数中每个参数的取值满足该当前使用策略资源包括的QoS参数限制属性的要求时,根据该当前使用策略资源包括的QoS窗长属性,确定该底层网络的QoS窗的最大值和最小值;根据该应用层QoS变量参数中每个参数的取值和该当前使用策略资源包括的QoS窗长偏移量属性,确定该底层网络的QoS窗的窗长偏移量。
结合第二方面的第一种或第二种可能的实现方式,在第二方面的第三种可能的实现方式中,该公共服务实体还包括:第一接收模块,用于接收应用实体AE或公共服务实体CSE发送的第一请求消息,该第一请求消息包括该应用层QoS变量参数;
其中,该获取模块具体用于:获取该第一接收模块接收的该第一请求消息中包括的该应用层QoS变量参数。
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,该处理模块具体用于:在确定该第一接收模块接收的该第一请求消息中包括的QoS控制参数使能时,确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量。
结合第二方面的第一种或第二种可能的实现方式,在第二方面的第五种可能的实现方式中,该公共服务实体还包括:第二接收模块,用于接收AE或CSE发送的第二请求消息,该第二请求消息用于请求在目标资源下创建QoS变量参数资源;创建模块,用于在该目标资源下创建包括该应用层QoS变量参数的该QoS变量参数资源;
其中,该获取模块具体用于:获取该创建模块创建的该QoS变量参数资源中包括的该应用层QoS变量参数。
结合第二方面第五种可能的实现方式,在第二方面的第六种可能的实现方式中,该第二接收模块还具体用于:接收该AE或该CSE发送的包括数据信息的第三请求消息;
其中,该处理模块具体用于:在确定传输该第三请求消息的目的作用域包括该QoS变量参数资源时,确定该底层网络的QoS窗的最大值和最小值 和该底层网络的QoS窗的窗长偏移量。
结合第二方面的第五种或第六种可能的实现方式,在第二方面的第七种可能的实现方式中,该目标资源为公共服务实体基础CSEBase资源或AE资源。
结合第二方面的第七种可能的实现方式,在第二方面的第八种可能的实现方式中,该CSEBase资源或该AE资源还包括:QoS策略资源和当前使用策略资源;其中,该当前使用策略资源的管理链接属性与该QoS策略资源相关联,该QoS策略资源包括:QoS参数限制策略资源、QoS参数默认值设定策略资源、底层网络接入策略资源和QoS规则映射表策略资源。
结合第二方面的第八种可能的实现方式,在第二方面的第九种可能的实现方式中,该QoS策略资源还包括1个名称属性和M个管理链接属性,M为大于等于3的自然数;
其中,该名称属性用于表示该QoS策略资源中包括的QoS策略的名称,该M个管理链接属性中的至少一个管理链接属性与该QoS参数限制策略资源相关联,该M个管理链接属性中的至少一个管理链接属性与该QoS参数默认值设定策略资源相关联,该M个管理链接属性中至少一个管理链接属性与该底层网络接入策略资源相关联。
结合第二方面的第八种或第九种可能的实现方式中任一可能的实现方式,在第二方面的第十种可能的实现方式中,该QoS参数限制策略资源包括下列属性中的至少一种:限制数据传输平均速率属性、限制数据传输延时属性、限制数据传输延时抖动属性、限制丢包率属性、限制数据传输可靠性属性和限制数据传输优先级属性。
结合第二方面的第八种至第十种可能的实现方式中任一可能的实现方式,在第二方面的第十一种可能的实现方式中,该QoS参数默认值设定策略资源包括下列属性中的至少一种:数据传输平均速率默认值设定属性、数据传输时延默认值设定属性、数据传输时延抖动默认值设定属性、丢包率设定属性、数据传输可靠性设定属性和数据传输优先级设定属性。
结合第二方面的第八种至第十一种可能的实现方式中任一可能的实现方式,在第二方面的第十二种可能的实现方式中,该底层网络接入策略资源包括目标网络属性、底层网络的QoS窗的最大值属性、底层网络的QoS窗的最小值属性和其他条件属性。
结合第二方面的第八种至第十二种可能的实现方式中任一可能的实现方式,在第二方面的第十三种可能的实现方式中,该QoS规则映射表策略资源包括底层网络的QoS窗长偏移量属性和下列属性中的至少一种:数据传输平均速率取值范围属性、数据传输时延取值范围属性、数据传输时延抖动取值范围属性、丢包率取值范围属性、数据传输可靠性取值范围属性和数据传输优先级取值范围属性。
结合第二方面,第二方面的第一种至第十三种可能的实现方式中任一可能的实现方式,在第二方面的第十四种可能的实现方式中,该应用层QoS变量参数包括下列参数中的至少一种:数据传输平均速率参数、数据传输延时参数、数据传输延时抖动参数、丢包率参数、数据传输可靠性参数和数据传输优先级参数。
基于上述方案,本发明实施例的统一机器到机器系统中数据传输的方法和公共服务实体,通过获取应用层服务质量QoS变量参数,该应用层QoS变量参数用于表示应用对传输数据的质量要求;将该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数;向网络服务实体NSE发送该目标QoS变量参数,以便于该NSE根据该目标QoS变量参数传输数据。由此能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例的统一机器到机器系统的示意性架构图;
图2是本发明实施例提供的统一机器到机器系统中数据传输的方法的示意性流程图;
图3是本发明实施例提供的CSEBase资源的示意性架构图;
图4是本发明实施例提供的AE资源的示意性架构图;
图5是本发明实施例提供的QoS策略资源的示意性架构图;
图6是本发明实施例提供的统一机器到机器系统中数据传输过程中消息粒度的数据传输的方法的示意性流程图;
图7是本发明实施例提供的统一机器到机器系统中数据传输过程中AE或CSE粒度的数据传输的方法的示意性流程图;
图8是本发明实施例提供的底层网络映射的方法的示意性流程图;
图9是本发明实施例提供的底层网络为3GPP时的基于QoS窗的底层网络映射的方法的示意性流程图;
图10是本发明实施例提供的基于消息粒度的端到端的数据传输的方法的示意性流程图;
图11是本发明实施例提供的车辆碰撞场景下的数据传输的流程的示意图;
图12是本发明实施例提供的公共服务实体的示意性框图;
图13是本发明实施例提供的公共服务实体的另一示意性框图;
图14是本发明实施例提供的公共服务实体的再一示意性框图;
图15是本发明另一实施例提供的公共服务实体的示意性框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。
图1示出了本发明实施例提供的统一机器到机器系统的示意性架构图。如图1所示,该OneM2M系统分为应用层、公共服务层以及网络层。其中,应用层由应用实体(Application Entity,简称为“AE”)管理负责应用的有关操作与存储,应用层中包含的是实例化的端到端oneM2M解决方案。公共服务层由公共服务实体(Common Services Entity,简称为“CSE”)管理负责汇聚应用层信息形成资源池,同时协调底层网络传输,CSE是oneM2M中的核心层起到平台的作用,公共服务层包括一系列实例化的公共服务功能。网络层由网络服务实体(Network Services Entity,简称为“NSE”)管理负责底层网络传输,并向公共服务层提供底层网络可以提供的能力。
该oneM2M体系下层与层间的参考点(即接口)有3种,其中,Mca:AE与CSE之间的接口,负责AE到CSE或CSE到AE间的通信;Mcc/Mcc’:两个CSE间的接口,负责CSE间的通信;Mcn:CSE与NSE之间的接口, 负责CSE到NSE或NSE到CSE间的通信。还有一个Mch参考点(图中并未画出),是oneM2M系统与计费系统间的接口。
应理解,在本发明实施例中,该oneM2M系统中所有的实体,例如AE、CSE、数据等等,都以资源的形式表示。资源结构则详细定义了资源的表示方式,同时定义了获取这些资源的方式。这些资源都是独立寻址的。
还应理解,本发明实施例的数据传输的方法适用于所有基于统一服务实体或统一应用程序接口向上层提供服务、向下兼容不同底层网络并存在不同QoS服务请求的应用场景。
图2示出了本发明实施例提供的统一机器到机器系统中数据传输的方法100的示意性流程图,该方法100可以由公共服务实体CSE执行。如图2所示,该方法100包括:
S110,获取应用层服务质量QoS变量参数,该应用层QoS变量参数用于表示应用对传输数据的质量要求;
S120,将该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数;
S130,向网络服务实体NSE发送该目标QoS变量参数,以便于该NSE根据该目标QoS变量参数传输数据。
具体而言,CSE获取用于表示应用对传输数据的质量要求的应用层QoS变量参数,将该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,之后,CSE将该目标QoS变量参数发送给网络服务实体NSE,以便于该NSE根据该目标QoS变量传输数据。
因此,本发明实施例的统一机器到机器系统中数据传输的方法,CSE通过将应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,并向NSE发送该目标QoS变量参数,使得该NSE能够根据该目标QoS变量参数传输数据,由此能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
应理解,在本发明实施例中,应用层QoS变量参数可以指源节点的应用实体AE或源节点的CSE发送的请求消息request中携带的QoS变量参数,也可以指源节点的AE或源节点的CSE发送的request请求建立的QoS变量参数资源中包括的QoS变量参数。
还应理解,在本发明实施例中,应用可以是指应用程序。例如,交通系 统中的搜集车辆事故信息的应用程序,或,远程医疗应用程序等,本发明对此不作限定。
可选地,在S110中,中间节点的CSE接收源节点的AE或源节点的CSE发送的第一请求消息,该第一请求消息包括该应用层QoS变量参数。该应用层QoS变量参数包括数据传输平均速率(dataRate)参数、数据传输延时(delay)参数、数据传输延时抖动(delayVariation)参数、丢包率(packetLosses)参数、数据传输可靠性(reliability)参数和数据传输优先级(priority)参数中的至少一种参数。其中,dataRate参数的取值范围可以为100-200kbit/s;delay参数的取值范围可以为10-20ms;delayVariation参数的取值可以小于5ms,例如可以为1ms、2ms、4ms等;packetLosses参数的取值小于1%;reliability参数取为可靠;priority参数的取值小于5,例如可以为1、2、3、4等;本发明对此不作限定。
相应地,在S120中,中间节点的CSE在确定该第一请求消息中包括的QoS控制参数(QoSControl)使能时,确定该网络层的QoS窗的最大值(networkQoSMax)和最小值(networkQoSMin)和该底层网络的QoS窗的窗长偏移量(networkQoSOffset),该QoS窗用于表示该底层网络的QoS的综合指标的区间;根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和当前使用策略资源包括的QoS规则映射表(QoSRuleList),得到该目标QoS变量参数。其中,该QoS的综合指标在3GPP系统中指3GPP系统的业务类型(Traffic Class),包括:通话类型(Conversational)、流媒体(Streaming)、交互类(Interactive)和背景类(Background),该QoS的综合指标在IP网络中指差分服务代码点(Differentiated Services Code Point,简称为“DSCP”)。
具体而言,中间节点的CSE在确定该第一请求消息中包括的QoS控制参数使能时,根据该当前使用策略资源包括的QoS变量默认值属性,确定该应用层QoS变量参数中未被赋初值的参数的取值;在该应用层QoS变量参数中每个参数的取值满足该当前使用策略资源包括的QoS参数限制属性的要求时,根据该当前使用策略资源包括的QoS窗长属性,确定该底层网络的QoS窗的最大值和最小值;根据该应用层QoS变量参数中每个参数的取值和该当前使用策略资源包括的QoS窗长偏移量属性,确定该底层网络的QoS窗的窗长偏移量;根据该底层网络的QoS窗的最大值和最小值、该底层网络 的QoS窗的窗长偏移量和该当前使用策略资源包括的QoS规则映射表,得到该目标QoS变量参数。
在本发明实施例中,可选地,QoS控制参数是该第一请求消息中的一个可选参数,当该第一请求消息中不包括QoS控制参数时,中间节点的CSE默认执行当QoS控制参数使能时应该执行的相关操作。
可选地,在S110中,中间节点的CSE接收源节点的AE或源节点的CSE发送的第二请求消息,该第二请求消息用于请求在目标资源下创建QoS变量参数资源;中间节点的CSE根据该第二请求消息在该目标资源下创建包括该应用层QoS变量参数的该QoS变量参数资源;中间节点的CSE获取该QoS变量参数资源包括的该应用层QoS变量参数。其中,该目标资源可以为中间节点的CSEBase资源或中间节点的AE资源。
相应地,在S120中,中间节点的CSE接收该AE或该CSE发送的包括数据信息的第三请求消息;在确定传输该第三请求消息的目的作用域包括该QoS变量参数资源时,确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,该QoS窗用于表示该底层网络的QoS的综合指标的区间;中间节点的CSE根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和当前使用策略资源包括的QoS规则映射表,得到该目标QoS变量参数。其中,该QoS的综合指标在3GPP系统中指3GPP系统的业务类型,包括:通话类型、流媒体、交互类和背景类,在IP网络中指差分服务代码点。
具体而言,中间节点的CSE接收该AE或该CSE发送的包括数据信息的第三请求消息;在确定传输该第三请求消息的目的作用域包括该QoS变量参数资源时,根据该当前使用策略资源包括的QoS变量默认值属性,确定该应用层QoS变量参数中未被赋初值的参数的取值;在该应用层QoS变量参数中每个参数的取值满足该当前使用策略资源包括的QoS参数限制属性的要求时,根据该当前使用策略资源包括的QoS窗长属性,确定该底层网络的QoS窗的最大值和最小值;根据该应用层QoS变量参数中每个参数的取值和该当前使用策略资源包括的QoS窗长偏移量属性,确定该底层网络的QoS窗的窗长偏移量;根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和该当前使用策略资源包括的QoS规则映射表,得到该目标QoS变量参数。
在本发明实施例中,可选地,该第二请求消息的参数列表中可以包括目的地址参数,中间节点CSE根据该目的地址参数在对应的资源下创建QoS变量参数资源;该第二请求消息中可以包括指示信息,该指示信息指示用于创建QoS变量参数资源的目标资源,中间节点CSE在该指示信息指示的目标资源下创建QoS变量参数资源,但本发明并不限于此。
应理解,在本发明实施例中,目的作用域是指与源节点中发送该第三请求消息的实体对应的中间节点的资源。
在本发明实施例中,可选地,如图3所示,图3中的实线矩形表示资源,实线圆角矩形表示属性。0..n表示这个属性/资源,至少有0个,至多有n个。该QoS变量参数资源位于中间节点的CSEBase资源下,该CSEBase资源包括CSE类型(cseType)属性、CSE标识(CSE-ID)属性、支持资源的类型(supportedResourceType)属性等属性,该CSEBase资源除包括请求(<request>)资源、传递(<delivery>)资源、日程(<schedule>)资源等资源外还包括QoS变量参数资源、QoS策略资源和该当前使用策略资源(图中虚线框部分)。其中,该QoS变量参数资源包括数据传输平均速率属性、数据传输延时属性、数据传输延时抖动属性、丢包率属性、数据传输可靠性属性和数据传输优先级属性和订阅资源,该QoS变量参数资源用于传递QoS变量参数;该当前使用策略资源的管理链接属性与该QoS策略资源通过指针相关联;该QoS策略资源包括:QoS参数限制策略(QoSLimits)资源、QoS参数默认值设定策略(QoSDefParameters)资源、底层网络接入策略(QoSNetworkAccessRules)资源和QoS规则映射表策略(QoSRuleList)资源。
在本发明实施例中,可选地,如图4所示,图4中的实线矩形表示资源,实线圆角矩形表示属性。0..n表示这个属性/资源,至少有0个,至多有n个。该QoS变量参数资源位于中间节点的AE资源下,该AE资源包括名称(name)属性、App标识属性、AE标识属性、接入点(pointOfAcess)属性等属性,该AE资源除包括组(<group>)资源、接入控制策略(<accessControlPolicy>)资源、轮询式信道(<pollingChannel>)资源等资源外还包括QoS变量参数资源、QoS策略资源和该当前使用策略资源(图中虚线框部分)。其中,该QoS变量参数资源包括数据传输平均速率属性、数据传输延时属性、数据传输延时抖动属性、丢包率属性、数据传输可靠性属性和数据传输优先级属性和订阅资源,该QoS变量参数资源用于传递QoS变量参数;该当前使用策 略资源的管理链接属性与该QoS策略资源通过指针相关联;该QoS策略资源包括:QoS参数限制策略资源、QoS参数默认值设定策略资源、底层网络接入策略资源和QoS规则映射表策略资源。
在本发明实施例中,可选地,如图5所示,图5中的实线矩形表示资源,实线圆角矩形表示属性。0..n表示这个属性/资源,至少有0个,至多有n个。QoS策略资源除包括管理定义(mgmtDefinition)属性、对象标识(objectIDs)属性、对象地址(objectPaths)属性、描述(description)属性和订阅(<subscription>)资源外,还包括1个名称属性和M个管理链接属性,M为大于等于3的自然数;
其中,该名称属性用于表示该QoS策略资源中包括的QoS策略的名称,该M个管理链接属性中的至少一个管理链接属性与该QoS参数限制策略资源相关联,该M个管理链接属性中的至少一个管理链接属性与该QoS参数默认值设定策略资源相关联,该M个管理链接属性中至少一个管理链接属性与该底层网络接入策略资源相关联。
在本发明实施例中,可选地,QoS参数限制策略资源可以包括下列属性中的至少一种:限制数据传输平均速率属性、限制数据传输延时属性、限制数据传输延时抖动属性、限制丢包率属性、限制数据传输可靠性属性和限制数据传输优先级属性。其中,每种属性限定了与该属性对应的QoS变量参数的取值范围。除此之外,该QoS参数限制策略资源还可以包括一个作用域属性,该作用域属性标识其资源本身的适用范围(如具体AE标识,应用(application,简称为“APP”)标识或本地AE等),当请求消息与适用范围对应时,采用当前QoS参数限制策略。一个QoS策略资源可以包括多个QoS参数限制策略资源来对应不同的应用范围。QoS参数限制策略资源还可以包括标准中规定的其他属性,本发明对此不作限定。
在本发明实施例中,可选地,QoS参数默认值设定策略资源可以包括下列属性中的至少一种,数据传输平均速率默认值设定属性、数据传输时延默认值设定属性、数据传输时延抖动默认值设定属性、丢包率设定属性、数据传输可靠性设定属性和数据传输优先级设定属性。其中,每种属性限定了与该属性对应的QoS变量参数的默认取值。除此之外,QoS参数默认值设定策略资源还可以包括一个作用域属性,该作用域属性标识其资源本身的适用范围(如具体AE标识,App标识或本地AE等),在请求消息与资源本身的 适用范围对应时,若请求消息中QoS变量参数列表中QoS变量参数的值为空或不全时,采用当前默认QoS参数值进行处理。一个QoS策略资源可以包括多个QoS参数默认值设定策略资源来对应不同的应用范围。QoS参数默认值设定资源还可以包括标准中规定的其他属性,本发明对此不作限定。
在本发明实施例中,可选地,底层网络接入策略资源可以包括目标网络(targetNetwork)属性、底层网络的QoS窗的最大值属性、底层网络的QoS窗的最小值属性和其他条件属性。其中,目标网络属性用来限定此底层网络接入策略资源适用的底层网络,当要传递数据的底层网络的信息与目标网络属性相符时,采用当前底层网络接入策略。QoS窗的最大值属性、底层网络的QoS窗的最小值属性用一种QoS窗的模式代表了底层网络的QoS能力,是CSE中的QoS变量参数到NSE中的QoS变量参数映射的前提,属于底层网络映射机制范畴,其他条件属性代表了其他可能策略。底层网络接入策略资源还可以包括标准中规定的其他属性,本发明对此不作限定。
在本发明实施例中,可选地,QoS规则映射表策略资源可以包括底层网络的QoS窗长偏移量属性和下列属性中的至少一种:数据传输平均速率取值范围属性、数据传输时延取值范围属性、数据传输时延抖动取值范围属性、丢包率取值范围属性、数据传输可靠性取值范围属性和数据传输优先级取值范围属性。其中,每种属性限定了与该属性对应的QoS变量参数的取值范围。当现有QoS变量参数取值范围落在当前QoS变量参数范围内时,采用当前QoS规则映射表策略资源中的底层网络的QoS窗的窗长偏移量作为QoS窗的窗长偏移量。一个底层网络接入策略资源可以包括多个QoS规则映射表策略资源来组成一个特定网络的QoS映射表。QoS规则映射表策略资源还可以包括标准中规定的其他属性,本发明对此不作限定。
因此,本发明实施例的统一机器到机器系统中数据传输的方法,通过将应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,并向NSE发送该目标QoS变量参数,使得该NSE能够根据该目标QoS变量参数传输数据,由此能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
下面将结合具体的例子详细描述本发明实施例,应注意,这些例子只是为了帮助本领域技术人员更好地理解本发明实施例,而非限制本发明实施例的范围。
图6是本发明实施例提供的统一机器到机器系统中数据传输过程中消息粒度的数据传输的方法的示意性流程图。
如图6所示,在S201中,源节点的AE或CSE发送的请求消息携带信息,通过Mca或Mcc接口到达中间节点的CSE。
可选地,在S201中,请求消息携带的信息包括数据信息,还可以包括QoS变量参数和QoS控制参数。
在S202中,中间节点的CSE检测请求消息中的QoS控制参数是否使能,在QoS控制参数使能时,检测请求消息中是否包括QoS变量参数,如果请求消息中不包括QoS变量参数,进行普通的数据传输流程;如果请求消息存在QoS变量参数,则对请求消息进行鉴权处理,进行底层网络映射,得到底层网络可识别的QoS变量参数,并将鉴权的结果返回给请求消息的来源。
在S203中,中间节点的CSE将底层网络可识别的QoS变量参数通过Mcn接口发送给中间节点的网络服务实体NSE。
在S203之后,中间节点的NSE根据底层网络可识别的QoS变量参数封装数据后,将数据包发送给另一个统一机器到机器系统中的节点。
应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
图7是本发明实施例提供的统一机器到机器系统中数据传输过程中AE或CSE粒度的数据传输的方法的示意性流程图。
如图7所示,在S301中,源节点的AE或CSE通过Mca或Mcc接口向中间节点的CSE发送第一请求消息,该第一请求消息的操作类型为创建(Create),请求的内容为请求创建QoS变量参数资源。
在S302中,中间节点的CSE检测第一请求消息的参数列表中的信息,根据参数列表中的目的地址参数在对应的资源(CSEBase或指定AE)下创建QoS变量参数资源;中间节点的CSE开启QoS策略,指示处于该粒度下的后续请求均需执行QoS策略,并将是否成功创建QoS变量参数资源的结果反馈给发送该第一请求消息的AE或CSE。
在S303中,源节点的AE或CSE向中间节点的CSE发送携带数据信息的第二请求消息,在确定传输该第二请求消息的目的作用域下存在QoS变量参数资源时,对QoS变量参数资源中的应用层QoS变量参数进行底层网络 映射,得到底层网络可识别的QoS变量参数。并将对该应用层QoS变量参数的相关鉴权结果反馈给发送该第二请求消息的AE或CSE。
可选地,在S303中,如果中间节点的CSE需要对第二请求消息进行转发,该CSE首先通过Mcc接口向邻接的CSE执行创建相应QoS变量参数资源的请求操作,再转发该第二请求消息。
在S304中,中间节点的CSE将底层网络可识别的QoS变量参数通过Mcn接口发送给中间节点的网络服务实体NSE。
在S304之后,该NSE根据底层网络可识别的QoS变量参数封装数据后,将包括该数据的数据包发送给另一个统一机器到机器系统中的节点。
下面将结合图8具体说明S202和S303中底层网络映射的方法400,如图8所示,该方法400包括:
S401,确定当前使用策略;
具体地,中间节点的CSE根据一系列QoS限定条件,例如:相关策略资源自身的使用范围、底层网络的类型等,确定当前使用策略。
S402,确定QoS变量参数中未被赋初值的参数的取值;
具体地,中间节点的CSE根据包括当前使用策略的当前使用策略资源中指向QoS参数默认值设定策略资源的QoS默认值属性,将QoS变量参数中未被赋初值的参数进行赋值。
S403,判断QoS变量参数中参数取值是否合理;
具体地,中间节点的CSE根据当前使用策略资源中指向QoS参数限制策略资源的QoS参数限制属性,判断QoS变量参数中各个参数的取值范围是否满足QoS参数限制属性的要求。如果QoS变量参数中各个参数的取值范围均满足QoS参数限制属性的要求,则进行下一步操作;否则,拒绝数据传输。例如,该中间节点的CSE可以将该数据包丢掉,并向源节点发送用于指示鉴权失败的指示信息,该源节点可以根据该指示信息对各种QoS变量参数的取值范围进行调整。但本发明并不限于此。
S404,确定QoS窗的最大值和最小值;
具体地,中间节点的CSE根据当前使用策略资源包括的指向QoS底层网络接入策略资源的QoS窗长属性,确定该底层网络的QoS窗的最大值和最小值。
S405,确定QoS窗的窗长偏移量;
具体地,中间节点的CSE根据该QoS变量参数中每个参数的取值和该当前使用策略资源中包括的指向QoS规则映射表策略资源的QoS窗长偏移量属性,确定该底层网络的QoS窗的窗长偏移量。
S406,得到底层网络可识别的QoS变量参数。
具体地,中间节点的CSE根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和当前使用策略资源包括的QoS规则映射表,得到底层网络可识别的QoS变量参数。
下面将结合图9以底层网络为3GPP网络为例说明本发明实施例的基于QoS窗的底层网络映射的方法500。应理解,本发明实施例并不限于3GPP网络,还可以包括蓝牙、WiFi等。
如图9所示,在S501中,确定QoS控制参数使能,且QoS变量参数中参数取值合理。
具体地,中间节点的CSE确定request中的QoS控制参数使能,并且request中的QoS变量参数满足QoS参数限制属性的要求。
在S502中,确定底层网络为3GPP网络。
具体地,中间节点的CSE根据request的消息内容,确定当前的接入的底层网络为3GPP网络。
在S503中,确定QoS窗的最大值和最小值、QoS窗的窗长偏移量。
具体地,中间节点的CSE从QoS策略资源中找到3GPP网络对应的策略,得到QoS窗的最大值和最小值,例如表1中最大值为3,最小值为0。结合QoS变量参数中设置的参数的需求和当前使用策略资源中的QoS窗长偏移量属性得到3GPP网络下CSE侧的QoS窗的窗长偏移量。
在S504中,映射得到3GPP网络可识别的QoS变量参数。
具体地,中间节点的CSE根据QoS窗的最大值、QoS窗的最小值和QoS窗的窗长偏移量三个参数,查询当前使用策略资源中的QoS规则映射表,就可以得到3GPP网络可识别的QoS变量参数,如表1中0、3、0对应3GPP业务类型中的通话类。最后将这个3GPP网络可识别的QoS变量参数发送给中间节点的NSE。
表1
Figure PCTCN2014094776-appb-000001
下面将结合图10详细描述本发明实施例的基于消息粒度的端到端的数据传输的流程。
如图10所示,在S601中,源节点的AE向该源节点的CSE发送带有QoS变量参数的请求消息request。
在S602中,该源节点的CSE对该QoS变量参数进行决策,利用基于QoS窗的底层网络映射方法,将QoS变量参数映射为底层网络可识别的QoS变量参数,将该request发送给底层网络继续传输。
在S603中,底层网络采用现有技术中的QoS传输机制传输该request。
在S604中,中间非转网节点收到QoS数据包之后,先提取数据包中CSE层的QoS需求,用同一底层网络的QoS策略设置合理的QoS窗后,将数据包移至底层网络继续传输。
在S605中,底层网络采用现有技术中的QoS传输机制传输该数据包。
在S606中,中间转网节点收到该数据包后,提取该数据包中包括的中间非转网节点的CSE的QoS需求,然后进行相关决策设置通往下一节点request的QoS变量参数。
在S607中,中间转网节点收到该数据包,利用出口底层网络的QoS策略设置合理的QoS窗后,将该数据包移至相关底层网络继续传输。
在S608中,底层网络采用现有技术中的QoS传输机制传输该数据包的。
在S609中,目的节点的NSE将底层网络发来的数据包解包并交给目的节点的CSE处理。
在S610中,目的节点的CSE将接收到的数据包中的内容提取出来,经过鉴权后发送给该目的节点的AE处理。其中,该目的节点的CSE提取出来的内容包括request的类型和request的内容。
图11是本发明实施例提供的车辆碰撞场景下的数据传输的流程的示意 图。如图11所示,在S701中,源节点的AE将车辆碰撞的信息通过request携带QoS变量参数发送给本地CSE。
在S702中,源节点的CSE对该QoS变量参数进行决策,利用源节点的CSE对3GPP网络的基于QoS窗的底层网络映射方法将该QoS变量参数映射为3GPP业务,并将该request移至底层网络继续传输。
在S703中,底层网络利用3GPP网络已有的QoS保障机制传输该request。
在S704中,oneM2M网关节点收到来自3GPP网络的数据包,发现本节点不是目的节点,将request中的QoS变量参数信息提取出来以待该网关节点的CSE进行决策。
在S705中,该网关节点的CSE根据路由信息发现出口底层网络为IP网络,采用IP网络的QoS策略设置合理的QoS窗,并将该QoS窗映射为IP网络的DSCP参数,之后将该request移至底层网络继续传输。
在S706中,底层网络利用IP网络已有的QoS传输机制传输该request。
在S707中,智能交通系统ITS节点收到来自oneM2M网关的数据包,将该数据包解包之后,将request信息发送给该ITS的CSE处理。
在S708中,该ITS的CSE发现已达目的节点,将接收到的request中的车辆碰撞信息提取出来,经过鉴权后发送给碰撞采集应用进行处理。
因此,本发明实施例的统一机器到机器系统中数据传输的方法,通过将应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,并向NSE发送该目标QoS变量参数,使得该NSE能够根据该目标QoS变量参数传输数据,由此能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
上文中结合图2到图11详细描述了本发明实施例的统一机器到机器系统中数据传输的方法,下面将结合图12至图13详细描述本发明实施例的公共服务实体。
图12示出了本发明实施例提供的公共服务实体CSE 10的示意性框图。如图12所示,该CSE 10包括:
获取模块11,用于获取应用层服务质量QoS变量参数,该应用层QoS变量参数用于表示应用对传输数据的质量要求;
处理模块12,用于将该获取模块11获取的该应用层QoS变量参数映射 为底层网络可识别的目标QoS变量参数;
发送模块13,用于向网络服务实体NSE发送该目标QoS变量参数,以便于该NSE根据该目标QoS变量参数传输数据。
具体而言,中间节点的CSE获取用于表示应用对传输数据的质量要求的应用层QoS变量参数,将该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,之后,该CSE将该目标QoS变量参数发送给网络服务实体NSE,以便于该NSE根据该目标QoS变量参数传输数据。
因此,本发明实施例的公共服务实体,获取用于表示应用对传输数据的质量要求的应用层QoS变量参数,并将该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,之后,向NSE发送该目标QoS变量参数,使得该NSE能够根据该目标QoS变量参数传输数据,由此能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
应理解,在本发明实施例中,应用层QoS变量参数可以指源节点的应用实体AE或CSE发送的QoS变量参数,也可以指源节点的AE或CSE发送的请求消息请求建立的QoS变量参数资源中包括的QoS变量参数。
在本发明实施例中,可选地,如图13所示,该公共服务实体10还包括:第一接收模块14,用于接收源节点的AE或CSE发送的第一请求消息,该第一请求消息包括该应用层QoS变量参数。相应地,该获取模块11获取该第一接收模块14接收的该第一请求消息中包括的该应用层QoS变量参数。
相应地,该处理模块12在确定该第一请求消息中包括的QoS控制参数使能时,确定该网络层的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,该QoS窗用于表示该底层网络的QoS的综合指标的区间;根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和当前使用策略策略资源中包括的QoS规则映射表,得到该目标QoS变量参数。其中,该QoS的综合指标在3GPP系统中指3GPP系统的业务类型,包括:通话类型、流媒体、交互类和背景类,在IP网络中指差分服务代码点。
在本发明实施例中,可选地,如图13所示,该公共服务实体10还包括:
第二接收模块15,用于接收AE或CSE发送的第二请求消息,该第二请求消息用于请求在目标资源下创建QoS变量参数资源;
创建模块16,用于在该目标资源下创建包括该应用层QoS变量参数的 该QoS变量参数资源;
相应地,该获取模块11具体用于:获取该创建模块16创建的该QoS变量参数资源中包括的该应用层QoS变量参数。
在本发明实施例中,可选地,该第二接收模块15还具体用于:接收该AE或该CSE发送的包括数据信息的第三请求消息;相应地,该处理模块12在确定传输该第三请求消息的目的作用域包括该QoS变量参数资源时,确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,该QoS窗用于表示QoS综合指标的区间;中间节点的CSE根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和当前使用策略资源中包括的QoS规则映射表,得到该目标QoS变量参数。其中,该QoS的综合指标在3GPP系统中指3GPP系统的业务类型,包括:通话类型、流媒体、交互类和背景类,在IP网络中指差分服务代码点。
在本发明实施例中,可选地,该目标资源为中间节点的CSEBase资源或中间节点的AE资源。
在本发明实施例中,可选地,该处理模块12具体用于:根据该当前使用策略资源包括的QoS变量默认值属性,确定该应用层QoS变量参数中未被赋初值的参数的取值;在该应用层QoS变量参数中每个参数的取值满足该当前使用策略资源包括的QoS参数限制属性的要求时,根据该当前使用策略资源包括的QoS窗长属性,确定该底层网络的QoS窗的最大值和最小值;根据该应用层QoS变量参数中每个参数的取值和该当前使用策略资源包括的QoS窗长偏移量属性,确定该底层网络的QoS窗的窗长偏移量。
在本发明实施例中,可选地,如图3所示,图3中的实线矩形表示资源,实线圆角矩形表示属性。0..n表示这个属性/资源,至少有0个,至多有n个。该QoS变量参数资源位于中间节点的CSEBase资源下,该CSEBase资源包括CSE类型(cseType)属性、CSE标识(CSE-ID)属性、支持资源的类型(supportedResourceType)属性等属性,除包括请求(<request>)资源、传递(<delivery>)资源、日程(<schedule>)资源等资源外还包括QoS变量参数资源、QoS策略资源和当前使用策略资源(图中虚线框部分)。其中,该QoS变量参数资源包括数据传输平均速率属性、数据传输延时属性、数据传输延时抖动属性、丢包率属性、数据传输可靠性属性和数据传输优先级属性和订阅资源,该QoS变量参数资源用于传递QoS变量参数;该当前使用策 略资源的管理链接属性与该QoS策略资源相关联;该QoS策略资源包括:QoS参数限制策略(QoSLimits)资源、QoS参数默认值设定策略(QoSDefParameters)资源、底层网络接入策略(QoSNetworkAccessRules)资源和QoS规则映射表策略(QoSRuleList)资源。
在本发明实施例中,可选地,如图4所示,图4中的实线矩形表示资源,实线圆角矩形表示属性。0..n表示这个属性/资源,至少有0个,至多有n个。该QoS资源位于中间节点的AE资源下,该AE资源包括名称(name)属性、App标识(ID)属性、AE标识(ID)属性、接入点(pointOfAcess)属性等属性,除包括组(<group>)资源、接入控制策略(<accessControlPolicy>)资源、轮询式信道(<pollingChannel>)资源等资源外还包括QoS变量参数资源、QoS策略资源和当前使用策略资源(图中虚线框部分)。其中,该QoS变量参数资源包括数据传输平均速率属性、数据传输延时属性、数据传输延时抖动属性、丢包率属性、数据传输可靠性属性和数据传输优先级属性和订阅资源,该QoS变量参数资源用于传递QoS变量参数,该QoS变量参数是<delivery>资源下的一个子属性,用于设置下一跳中请求消息的QoS变量参数;该当前使用策略资源的管理链接属性与该QoS策略资源相关联;该QoS策略资源包括:QoS参数限制策略资源、QoS参数默认值设定策略资源、底层网络接入策略资源和QoS规则映射表策略资源。
在本发明实施例中,可选地,如图5所示,图5中的实线矩形表示资源,实线圆角矩形表示属性。0..n表示这个属性/资源,至少有0个,至多有n个。QoS策略资源除包括管理定义(mgmtDefinition)属性、对象标识(objectIDs)属性、对象地址(objectPaths)属性、描述(description)属性和订阅(<subscription>)资源外,还包括1个名称属性和M个管理链接属性,M为大于等于3的自然数;
其中,该名称属性用于表示该QoS策略资源中包括的QoS策略的名称,该M个管理链接属性中的至少一个管理链接属性与该QoS参数限制策略资源相关联,该M个管理链接属性中的至少一个管理链接属性与该QoS参数默认值设定策略资源相关联,该M个管理链接属性中至少一个管理链接属性与该底层网络接入策略资源相关联。
在本发明实施例中,可选地,QoS参数限制策略资源包括下列属性中的至少一种:限制数据传输平均速率属性、限制数据传输延时属性、限制数据 传输延时抖动属性、限制丢包率属性、限制数据传输可靠性属性和限制数据传输优先级属性。其中,每种属性限定了与该属性对应的QoS变量参数的取值范围。除此之外,该QoS参数限制策略资源还包括一个作用域属性标识了其资源本身的适用范围(如具体AE标识,App-ID或本地AE等),当请求消息与适用范围对应时,采用当前QoS参数限制策略。所以一个QoS策略资源下可以有多个QoS参数限制策略资源来对应不同的应用范围。
在本发明实施例中,可选地,QoS参数默认值设定策略资源包括下列属性中的至少一种,数据传输平均速率默认值设定属性、数据传输时延默认值设定属性、数据传输时延抖动默认值设定属性、丢包率设定属性、数据传输可靠性设定属性和数据传输优先级设定属性。其中,每种属性限定了与该属性对应的QoS变量参数的默认值。除此之外,QoS参数默认值设定策略资源还包括一个作用域属性标识了其资源本身的适用范围(如具体AE标识,App-标识或本地AE等),当请求消息与适用范围对应时,若请求消息中QoS变量参数列表为空或不全时则采用当前默认QoS参数值进行处理。所以一个QoS策略资源下可以有多个QoS参数默认值设定策略资源来对应不同的应用范围。
在本发明实施例中,可选地,底层网络接入策略资源包括目标网络属性、底层网络的QoS窗的最大值属性、底层网络的QoS窗的最小值属性和其他条件属性。其中,目标网络属性用来限定此网络接入策略资源适用的底层网,当要传递数据的底层网信息与目标网络属性相符时,采用当前底层网络接入策略。QoS窗的最大值属性、底层网络的QoS窗的最小值属性用一种QoS窗的模式代表了底层网络的QoS能力是CSE中QoS到NSE中QoS变量参数映射的前提,属于底层网络映射机制范畴,其他条件属性代表了其他可能策略。
在本发明实施例中,可选地,QoS规则映射表策略资源包括底层网络的QoS窗长偏移量属性和下列属性中的至少一种:数据传输平均速率取值范围属性、数据传输时延取值范围属性、数据传输时延抖动取值范围属性、丢包率取值范围属性、数据传输可靠性取值范围属性和数据传输优先级取值范围属性。其中每种属性限定了与该属性对应的QoS变量参数的取值范围。当现有QoS变量参数落在当前QoS变量参数范围内时,采用当前QoS规则映射表策略资源中的底层网络的QoS窗的窗长偏移量作为QoS窗的窗长偏移量。 所以一个底层网络接入策略资源下可以有多个QoS规则映射表策略资源来组成一个特定网络的QoS映射表。
应理解,根据本发明实施例的公共服务实体10中的各个模块的上述和其它操作和/或功能分别为了实现图2中的方法100的相应流程,为了简洁,在此不再赘述。
因此,本发明实施例的公共服务实体,通过将应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,并向NSE发送该目标QoS变量参数,使得该NSE能够根据该目标QoS变量参数传输数据,由此能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
如图14所示,本发明实施例还提供了一种公共服务实体20,该公共服务实体20包括处理器21、存储器22、总线系统23、接收器24和发送器25。其中,处理器21、存储器22、接收器24和发送器25通过总线系统23相连,该存储器22用于存储指令,该处理器21用于执行该存储器22存储的指令,以控制接收器24接收信号,并控制发送器25发送信号;其中,该接收器24用于获取应用层服务质量QoS变量参数,该应用层QoS变量参数用于表示应用对传输数据的质量要求;该处理器21用于将该接收器24接收的该应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数;该发送器25用于向网络服务实体NSE发送该目标QoS变量参数,以便于该NSE根据该目标QoS变量参数传输数据。
因此,本发明实施例的公共服务实体,通过将应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,并向NSE发送该目标QoS变量参数,使得该NSE能够根据该目标QoS变量参数传输数据,由此能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
应理解,在本发明实施例中,该处理器21可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器21还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器22可以包括只读存储器和随机存取存储器,并向处理器61提供指令和数据。存储器22的一部分还可以包括非易失性随机存取存储器。例如,存储器22还可以存储设备类型的信息。
该总线系统23除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统23。
在实现过程中,上述方法的各步骤可以通过处理器21中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器22,处理器21读取存储器22中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
可选地,作为一个实施例,该处理器21具体用于:确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量,该QoS窗用于表示该底层网络的QoS的综合指标的区间;根据该底层网络的QoS窗的最大值和最小值、该底层网络的QoS窗的窗长偏移量和当前使用策略资源包括的QoS规则映射表,得到该目标QoS变量参数。
可选地,作为一个实施例,该处理器21还具体用于:根据该当前使用策略资源包括的QoS变量默认值属性,确定该应用层QoS变量参数中未被赋初值的参数的取值;在该应用层QoS变量参数中每个参数的取值满足该当前使用策略资源包括的QoS参数限制属性的要求时,根据该当前使用策略资源包括的QoS窗长属性,确定该底层网络的QoS窗的最大值和最小值;根据该应用层QoS变量参数中每个参数的取值和该当前使用策略资源包括的QoS窗长偏移量属性,确定该底层网络的QoS窗的窗长偏移量。
可选地,作为一个实施例,该接收器24具体用于:接收应用实体AE或公共服务实体CSE发送的第一请求消息,该第一请求消息包括该应用层QoS变量参数;获取该第一请求消息中包括的该应用层QoS变量参数。
可选地,作为一个实施例,该处理器21具体用于:在确定该接收器24接收的该第一请求消息中包括的QoS控制参数使能时,确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量。
可选地,作为一个实施例,该接收器24还具体用于:接收AE或CSE发送的第二请求消息,该第二请求消息用于请求在目标资源下创建QoS变量参数资源;在该目标资源下创建包括该应用层QoS变量参数的该QoS变量 参数资源;该处理器21具体用于:获取该QoS变量参数资源中包括的该应用层QoS变量参数。
可选地,作为一个实施例,该接收器24还具体用于:接收该AE或该CSE发送的包括数据信息的第三请求消息;
相应地,该处理器21具体用于:在确定传输该第三请求消息的目的作用域包括该QoS变量参数资源时,确定该底层网络的QoS窗的最大值和最小值和该底层网络的QoS窗的窗长偏移量。
可选地,作为一个实施例,该目标资源为CSEBase资源或AE资源。
可选地,作为一个实施例,该CSEBase资源或该AE资源还包括:QoS策略资源和当前使用策略资源;其中,该当前使用策略资源的管理链接属性与该QoS策略资源相关联,该QoS策略资源包括:QoS参数限制策略资源、QoS参数默认值设定策略资源、底层网络接入策略资源和QoS规则映射表策略资源。
可选地,作为一个实施例,该QoS策略资源还包括1个名称属性和M个管理链接属性,M为大于等于3的自然数;
其中,该名称属性用于表示该QoS策略资源中包括的QoS策略的名称,该M个管理链接属性中的至少一个管理链接属性与该QoS参数限制策略资源相关联,该M个管理链接属性中的至少一个管理链接属性与该QoS参数默认值设定策略资源相关联,该M个管理链接属性中至少一个管理链接属性与该底层网络接入策略资源相关联。
可选地,作为一个实施例,该QoS参数限制策略资源包括下列属性中的至少一种:限制数据传输平均速率属性、限制数据传输延时属性、限制数据传输延时抖动属性、限制丢包率属性、限制数据传输可靠性属性和限制数据传输优先级属性。
可选地,作为一个实施例,该QoS参数默认值设定策略资源包括下列属性中的至少一种:数据传输平均速率默认值设定属性、数据传输时延默认值设定属性、数据传输时延抖动默认值设定属性、丢包率设定属性、数据传输可靠性设定属性和数据传输优先级设定属性。
可选地,作为一个实施例,该底层网络接入策略资源包括目标网络属性、底层网络的QoS窗的最大值属性、底层网络的QoS窗的最小值属性和其他条件属性。
可选地,作为一个实施例,该QoS规则映射表策略资源包括底层网络的QoS窗长偏移量属性和下列属性中的至少一种:数据传输平均速率取值范围属性、数据传输时延取值范围属性、数据传输时延抖动取值范围属性、丢包率取值范围属性、数据传输可靠性取值范围属性和数据传输优先级取值范围属性。
可选地,作为一个实施例,该应用层QoS变量参数包括下列参数中的至少一种:数据传输平均速率参数、数据传输延时参数、数据传输延时抖动参数、丢包率参数、数据传输可靠性参数和数据传输优先级参数。
应理解,根据本发明实施例的公共服务实体20可以对应于本发明实施例提供的公共服务实体10,并且公共服务实体20中的各个模块的上述和其它操作和/或功能分别为了实现图1中的方法100的相应流程,为了简洁,在此不再赘述。
因此,本发明实施例的公共服务实体,通过将应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,并向NSE发送该目标QoS变量参数,使得该NSE能够根据该目标QoS变量参数传输数据,由此能够满足oneM2M体系下,不同应用场景下的应用对于网络的QoS的要求。
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应理解,在本发明实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (30)

  1. 一种统一机器到机器系统中数据传输的方法,其特征在于,包括:
    获取应用层服务质量QoS变量参数,所述应用层QoS变量参数用于表示应用对传输数据的质量要求;
    将所述应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数;
    向网络服务实体NSE发送所述目标QoS变量参数,以便于所述NSE根据所述目标QoS变量参数传输数据。
  2. 根据权利要求1所述的方法,其特征在于,所述将所述应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数,包括:
    确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS窗的窗长偏移量,所述QoS窗用于表示所述底层网络的QoS的综合指标的区间;
    根据所述底层网络的QoS窗的最大值和最小值、所述底层网络的QoS窗的窗长偏移量和当前使用策略资源包括的QoS规则映射表,得到所述目标QoS变量参数。
  3. 根据权利要求2所述的方法,其特征在于,所述确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS窗的窗长偏移量,包括:
    根据所述当前使用策略资源包括的QoS变量默认值属性,确定所述应用层QoS变量参数中未被赋初值的参数的取值;
    在所述应用层QoS变量参数中每个参数的取值满足所述当前使用策略资源包括的QoS参数限制属性的要求时,根据所述当前使用策略资源包括的QoS窗长属性,确定所述底层网络的QoS窗的最大值和最小值;
    根据所述应用层QoS变量参数中每个参数的取值和所述当前使用策略资源中包括的QoS窗长偏移量属性,确定所述底层网络的QoS窗的窗长偏移量。
  4. 根据权利要求2或3所述的方法,其特征在于,所述获取应用层服务质量QoS变量参数,包括:
    接收应用实体AE或公共服务实体CSE发送的第一请求消息,所述第一请求消息包括所述应用层QoS变量参数;
    获取所述第一请求消息中包括的所述应用层QoS变量参数。
  5. 根据权利要求4所述的方法,其特征在于,所述确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS窗的窗长偏移量,包括:
    在确定所述第一请求消息中包括的QoS控制参数使能时,确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS窗的窗长偏移量。
  6. 根据权利要求2或3所述的方法,其特征在于,所述获取应用层服务质量QoS变量参数,包括:
    接收AE或CSE发送的第二请求消息,所述第二请求消息用于请求在目标资源下创建QoS变量参数资源;
    在所述目标资源下创建包括所述应用层QoS变量参数的所述QoS变量参数资源;
    获取所述QoS变量参数资源中包括的所述应用层QoS变量参数。
  7. 根据权利要求6所述的方法,其特征在于,所述确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS窗的窗长偏移量,包括:
    接收所述AE或所述CSE发送的包括数据信息的第三请求消息;
    在确定传输所述第三请求消息的目的作用域包括所述QoS变量参数资源时,确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS窗的窗长偏移量。
  8. 根据权利要求6或7所述的方法,其特征在于,所述目标资源为公共服务实体基础CSEBase资源或AE资源。
  9. 根据权利要求8所述的方法,其特征在于,所述CSEBase资源或所述AE资源还包括:QoS策略资源和所述当前使用策略资源;
    其中,所述当前使用策略资源的管理链接属性与所述QoS策略资源相关联,所述QoS策略资源包括:QoS参数限制策略资源、QoS参数默认值设定策略资源、底层网络接入策略资源和QoS规则映射表策略资源。
  10. 根据权利要求9所述的方法,其特征在于,所述QoS策略资源还包括1个名称属性和M个管理链接属性,M为大于等于3的自然数;
    其中,所述名称属性用于表示所述QoS策略资源中包括的QoS策略的名称,所述M个管理链接属性中的至少一个管理链接属性与所述QoS参数限制策略资源相关联,所述M个管理链接属性中的至少一个管理链接属性与所述QoS参数默认值设定策略资源相关联,所述M个管理链接属性中至少一个管理链接属性与所述底层网络接入策略资源相关联。
  11. 根据权利要求9或10所述的方法,其特征在于,所述QoS参数限制策略资源包括下列属性中的至少一种:限制数据传输平均速率属性、限制数据传输延时属性、限制数据传输延时抖动属性、限制丢包率属性、限制数据传输可靠性属性和限制数据传输优先级属性。
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,所述QoS参数默认值设定策略资源包括下列属性中的至少一种:数据传输平均速率默认值设定属性、数据传输时延默认值设定属性、数据传输时延抖动默认值设定属性、丢包率设定属性、数据传输可靠性设定属性和数据传输优先级设定属性。
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,所述底层网络接入策略资源包括目标网络属性、底层网络的QoS窗的最大值属性、底层网络的QoS窗的最小值属性和其他条件属性。
  14. 根据权利要求9至13中任一项所述的方法,其特征在于,所述QoS规则映射表策略资源包括底层网络的QoS窗长偏移量属性和下列属性中的至少一种:数据传输平均速率取值范围属性、数据传输时延取值范围属性、数据传输时延抖动取值范围属性、丢包率取值范围属性、数据传输可靠性取值范围属性和数据传输优先级取值范围属性。
  15. 根据权利要求1至14中任一项所述的方法,其特征在于,所述应用层QoS变量参数包括下列参数中的至少一种:数据传输平均速率参数、数据传输延时参数、数据传输延时抖动参数、丢包率参数、数据传输可靠性参数和数据传输优先级参数。
  16. 一种公共服务实体,其特征在于,包括:
    获取模块,用于获取应用层服务质量QoS变量参数,所述QoS变量参数用于表示应用对传输数据的质量要求;
    处理模块,用于将所述获取模块获取的所述应用层QoS变量参数映射为底层网络可识别的目标QoS变量参数;
    发送模块,用于向网络服务实体NSE发送所述目标QoS变量参数,以便于所述NSE根据所述目标QoS变量参数传输数据。
  17. 根据权利要求16所述的公共服务实体,其特征在于,所述处理模块具体用于:
    确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS 窗的窗长偏移量,所述QoS窗用于表示所述底层网络的QoS的综合指标的区间;
    根据所述底层网络的QoS窗的最大值和最小值、所述底层网络的QoS窗的窗长偏移量和当前使用策略资源包括的QoS规则映射表,得到所述目标QoS变量参数。
  18. 根据权利要求17所述的公共服务实体,其特征在于,所述处理模块还具体用于:
    根据所述当前使用策略资源包括的QoS变量默认值属性,确定所述应用层QoS变量参数中未被赋初值的参数的取值;
    在所述应用层QoS变量参数中每个参数的取值满足所述当前使用策略资源包括的QoS参数限制属性的要求时,根据所述当前使用策略资源包括的QoS窗长属性,确定所述底层网络的QoS窗的最大值和最小值;
    根据所述应用层QoS变量参数中每个参数的取值和所述当前使用策略资源中包括的QoS窗长偏移量属性,确定所述底层网络的QoS窗的窗长偏移量。
  19. 根据权利要求17或18所述的公共服务实体,其特征在于,所述公共服务实体还包括:
    第一接收模块,用于接收应用实体AE或公共服务实体CSE发送的第一请求消息,所述第一请求消息包括所述应用层QoS变量参数;
    其中,所述获取模块具体用于:
    获取所述第一接收模块接收的所述第一请求消息中包括的所述应用层QoS变量参数。
  20. 根据权利要求19所述的公共服务实体,其特征在于,所述处理模块具体用于:
    在确定所述第一接收模块接收的所述第一请求消息中包括的QoS控制参数使能时,确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS窗的窗长偏移量。
  21. 根据权利要求17或18所述的公共服务实体,其特征在于,所述公共服务实体还包括:
    第二接收模块,用于接收AE或CSE发送的第二请求消息,所述第二请求消息用于请求在目标资源下创建QoS变量参数资源;
    创建模块,用于在所述目标资源下创建包括所述应用层QoS变量参数的所述QoS变量参数资源;
    其中,所述获取模块具体用于:
    获取所述创建模块创建的所述QoS变量参数资源中包括的所述应用层QoS变量参数。
  22. 根据权利要求21所述的方法,其特征在于,所述第二接收模块还具体用于:接收所述AE或所述CSE发送的包括数据信息的第三请求消息;
    其中,所述处理模块具体用于:
    在确定传输所述第三请求消息的目的作用域包括所述QoS变量参数资源时,确定所述底层网络的QoS窗的最大值和最小值和所述底层网络的QoS窗的窗长偏移量。
  23. 根据权利要求21或22所述的公共服务实体,其特征在于,所述目标资源为公共服务实体基础CSEBase资源或AE资源。
  24. 根据权利要求23所述的公共服务实体,其特征在于,所述CSEBase资源或所述AE资源还包括:QoS策略资源和当前使用策略资源;
    其中,所述当前使用策略资源的管理链接属性与所述QoS策略资源相关联,所述QoS策略资源包括:QoS参数限制策略资源、QoS参数默认值设定策略资源、底层网络接入策略资源和QoS规则映射表策略资源。
  25. 根据权利要求24所述的公共服务实体,其特征在于,所述QoS策略资源还包括1个名称属性和M个管理链接属性,M为大于等于3的自然数;
    其中,所述名称属性用于表示所述QoS策略资源中包括的QoS策略的名称,所述M个管理链接属性中的至少一个管理链接属性与所述QoS参数限制策略资源相关联,所述M个管理链接属性中的至少一个管理链接属性与所述QoS参数默认值设定策略资源相关联,所述M个管理链接属性中至少一个管理链接属性与所述底层网络接入策略资源相关联。
  26. 根据权利要求24或25所述的公共服务实体,其特征在于,所述QoS参数限制策略资源包括下列属性中的至少一种:限制数据传输平均速率属性、限制数据传输延时属性、限制数据传输延时抖动属性、限制丢包率属性、限制数据传输可靠性属性和限制数据传输优先级属性。
  27. 根据权利要求24至26中任一项所述的公共服务实体,其特征在于, 所述QoS参数默认值设定策略资源包括下列属性中的至少一种:数据传输平均速率默认值设定属性、数据传输时延默认值设定属性、数据传输时延抖动默认值设定属性、丢包率设定属性、数据传输可靠性设定属性和数据传输优先级设定属性。
  28. 根据权利要求24至27中任一项所述的公共服务实体,其特征在于,所述底层网络接入策略资源包括目标网络属性、底层网络的QoS窗的最大值属性、底层网络的QoS窗的最小值属性和其他条件属性。
  29. 根据权利要求24至28中任一项所述的公共服务实体,其特征在于,所述QoS规则映射表策略资源包括底层网络的QoS窗长偏移量属性和下列属性中的至少一种:数据传输平均速率取值范围属性、数据传输时延取值范围属性、数据传输时延抖动取值范围属性、丢包率取值范围属性、数据传输可靠性取值范围属性和数据传输优先级取值范围属性。
  30. 根据权利要求16至29中任一项所述的公共服务实体,其特征在于,所述应用层QoS变量参数包括下列参数中的至少一种:数据传输平均速率参数、数据传输延时参数、数据传输延时抖动参数、丢包率参数、数据传输可靠性参数和数据传输优先级参数。
PCT/CN2014/094776 2014-12-24 2014-12-24 统一机器到机器系统中数据传输的方法和公共服务实体 WO2016101163A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480084395.6A CN107113186B (zh) 2014-12-24 2014-12-24 统一机器到机器系统中数据传输的方法和公共服务实体
PCT/CN2014/094776 WO2016101163A1 (zh) 2014-12-24 2014-12-24 统一机器到机器系统中数据传输的方法和公共服务实体

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/094776 WO2016101163A1 (zh) 2014-12-24 2014-12-24 统一机器到机器系统中数据传输的方法和公共服务实体

Publications (1)

Publication Number Publication Date
WO2016101163A1 true WO2016101163A1 (zh) 2016-06-30

Family

ID=56148900

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094776 WO2016101163A1 (zh) 2014-12-24 2014-12-24 统一机器到机器系统中数据传输的方法和公共服务实体

Country Status (2)

Country Link
CN (1) CN107113186B (zh)
WO (1) WO2016101163A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351014A (zh) * 2019-07-12 2019-10-18 平安普惠企业管理有限公司 数据处理方法、装置、计算机可读存储介质和计算机设备
CN111737958A (zh) * 2020-06-05 2020-10-02 中国科学院空天信息创新研究院 一种遥感模型数据标准化处理方法
WO2021217528A1 (zh) * 2020-04-29 2021-11-04 华为技术有限公司 一种数据通信方法及相关装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406006A (zh) * 2001-09-17 2003-03-26 华为技术有限公司 无线接入网中用户面传输网络层服务质量区分的方法
CN1536900A (zh) * 2003-04-11 2004-10-13 华为技术有限公司 无线接入网中的业务优先级的传输方法
US20080273520A1 (en) * 2007-05-04 2008-11-06 Samsung Electronics Co. Ltd. NETWORK ARCHITECTURE FOR DYNAMICALLY SETTING END-TO-END QUALITY OF SERVICE (QoS) IN A BROADBAND WIRELESS COMMUNICATION SYSTEM
KR20090074408A (ko) * 2008-01-02 2009-07-07 삼성전자주식회사 광대역 무선통신 시스템에서 동적 서비스 품질 설정 시스템및 방법

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060203722A1 (en) * 2005-03-14 2006-09-14 Nokia Corporation System and method for managing performance of mobile terminals via remote diagnostics

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1406006A (zh) * 2001-09-17 2003-03-26 华为技术有限公司 无线接入网中用户面传输网络层服务质量区分的方法
CN1536900A (zh) * 2003-04-11 2004-10-13 华为技术有限公司 无线接入网中的业务优先级的传输方法
US20080273520A1 (en) * 2007-05-04 2008-11-06 Samsung Electronics Co. Ltd. NETWORK ARCHITECTURE FOR DYNAMICALLY SETTING END-TO-END QUALITY OF SERVICE (QoS) IN A BROADBAND WIRELESS COMMUNICATION SYSTEM
KR20090074408A (ko) * 2008-01-02 2009-07-07 삼성전자주식회사 광대역 무선통신 시스템에서 동적 서비스 품질 설정 시스템및 방법

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351014A (zh) * 2019-07-12 2019-10-18 平安普惠企业管理有限公司 数据处理方法、装置、计算机可读存储介质和计算机设备
CN110351014B (zh) * 2019-07-12 2022-10-21 平安普惠企业管理有限公司 数据处理方法、装置、计算机可读存储介质和计算机设备
WO2021217528A1 (zh) * 2020-04-29 2021-11-04 华为技术有限公司 一种数据通信方法及相关装置
CN115462102A (zh) * 2020-04-29 2022-12-09 华为技术有限公司 一种数据通信方法及相关装置
US20230069718A1 (en) * 2020-04-29 2023-03-02 Huawei Technologies Co., Ltd. Data Communication Method and Related Apparatus
EP4135263A4 (en) * 2020-04-29 2023-05-31 Huawei Technologies Co., Ltd. DATA COMMUNICATIONS METHOD AND RELATED DEVICE
CN115462102B (zh) * 2020-04-29 2023-09-29 华为技术有限公司 一种数据通信方法及相关装置
CN111737958A (zh) * 2020-06-05 2020-10-02 中国科学院空天信息创新研究院 一种遥感模型数据标准化处理方法
CN111737958B (zh) * 2020-06-05 2023-06-30 中国科学院空天信息创新研究院 一种遥感模型数据标准化处理方法

Also Published As

Publication number Publication date
CN107113186B (zh) 2020-02-14
CN107113186A (zh) 2017-08-29

Similar Documents

Publication Publication Date Title
JP7183416B2 (ja) 時間依存ネットワーキング通信方法及び装置
KR101868070B1 (ko) 서비스 계층 사우스바운드 인터페이스 및 서비스 품질
CN108471629B (zh) 传输网络中业务服务质量的控制方法、设备及系统
CN109257827A (zh) 通信方法、装置、系统、终端和接入网设备
WO2020024961A1 (zh) 数据处理方法、设备及系统
WO2018032991A1 (zh) 一种数据处理方法及装置
WO2019101041A1 (zh) 一种通信方法及其装置
US20210321227A1 (en) Communication method and device
WO2021139696A1 (zh) 一种报告信息的发送方法、装置及系统
CN110166414B (zh) 一种通信方法、装置及系统
WO2021134380A1 (zh) 管理QoS的方法、中继终端、PCF网元、SMF网元及远程终端
WO2021047359A1 (zh) 路径规划方法及通信装置
JP2017518007A (ja) ネットワーク制御方法及び装置
WO2018090191A1 (zh) 网络功能的管理方法、管理单元及系统
WO2018219148A1 (zh) 一种管理传输网切片的方法、装置及系统
CN108235376B (zh) 一种用户面锚点选择方法及装置
CN111436030A (zh) 数据用量上报的方法、装置及系统
WO2021135650A1 (zh) 通信方法及装置
US20230156828A1 (en) Session establishment method and apparatus, system, and computer storage medium
WO2018068209A1 (zh) 一种数据传输的方法及其装置
WO2016101163A1 (zh) 统一机器到机器系统中数据传输的方法和公共服务实体
CN110475296B (zh) 业务服务质量协商方法及装置
CN113950029A (zh) 一种通信方法及装置
WO2023102680A1 (zh) 拥塞控制方法、装置、设备、介质、芯片、产品及程序
KR101790192B1 (ko) 애플리케이션 관리 방법 및 장치

Legal Events

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

Ref document number: 14908731

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14908731

Country of ref document: EP

Kind code of ref document: A1