WO2016106598A1 - Method and apparatus for selecting access network - Google Patents

Method and apparatus for selecting access network Download PDF

Info

Publication number
WO2016106598A1
WO2016106598A1 PCT/CN2014/095649 CN2014095649W WO2016106598A1 WO 2016106598 A1 WO2016106598 A1 WO 2016106598A1 CN 2014095649 W CN2014095649 W CN 2014095649W WO 2016106598 A1 WO2016106598 A1 WO 2016106598A1
Authority
WO
WIPO (PCT)
Prior art keywords
access network
access
network
resource
cost
Prior art date
Application number
PCT/CN2014/095649
Other languages
French (fr)
Chinese (zh)
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 CN201480084491.0A priority Critical patent/CN107211479B/en
Priority to PCT/CN2014/095649 priority patent/WO2016106598A1/en
Publication of WO2016106598A1 publication Critical patent/WO2016106598A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/12Application layer protocols, e.g. WAP [Wireless Application Protocol]

Definitions

  • Embodiments of the present invention relate to the field of communications, and in particular, to a method and apparatus for selecting an access network in a unified machine-to-machine system.
  • the Global Standards Organization unified machine to machine (English: one Machine to Machine, referred to as: oneM2M) was established, which aims to efficiently deploy machine to machine (English: Machine to Machine, referred to as: M2M) Communication system to promote the integration of M2M global standards and industry applications.
  • the existing oneM2M system adopts a layered architecture. The entire architecture is divided into an application layer (English: Application Layer), a common service layer (English: Common Service Layer), and an underlying network service layer (English: Network Service Layer).
  • the application entity (English: Application Entity, ee for short) contains the instantiated one-to-one oneM2M solution;
  • the public service entity (Common Service Entity, CSE for short) in the public service layer contains instantiated public service functions.
  • the underlying network entity (English: Network Service Entity, NSE for short) in the underlying network service layer provides underlying network support to the public service layer.
  • communication between the application entity, the public service entity, and the underlying network service entity is completed through a unified interface, and is compatible with different underlying access networks.
  • the current oneM2M system only considers the basic requirements of the underlying network access, but does not consider the selection problem when using multiple types of access networks.
  • the embodiments of the present invention provide a method and device for selecting an access network in a unified machine-to-machine oneM2M system, which is used to solve the problem that the current oneM2M system does not support multiple types of access networks.
  • the first aspect provides a method for selecting an access network in a oneM2M system, including: acquiring underlying network information of an NSE, where the underlying network information includes access of each of the multiple access networks a network identifier and access point information of each access network; determining, according to the underlying network information, a cost of each of the plurality of access networks; selecting a cost from the plurality of access networks The smallest access network serves as the target access network; the current access network saved in the PoA attribute of the access point The access point information is updated to the access point information of the target access network, where the PoA attribute is located under the CSE basic resource of the CSE.
  • the acquiring the underlying network information of the NSE includes: acquiring the access network identifier of each access network; and sending the each to the NSE a resource request message of the access network, where the resource request message of each access network includes an access network identifier of each access network, and the resource request message of each access network is used for requesting a location Returning NSE to the access point information of each access network; receiving access point information of each access network returned by the NSE; creating each access network under the CSE basic resource
  • the NSE resource of each access network is used to store an access network identifier of each access network and access point information of each access network.
  • the determining, according to the underlying network information, determining each of the multiple access networks The cost of the access network includes: determining a priority of each access network according to an access network identifier of each access network in the underlying network information; determining, according to a priority of each access network The cost of each access network is higher, and the higher the priority of each access network is, the smaller the cost is; the access point policy PoAPolicy resources of each access network are created under the CSE basic resource, The access point policy PoAPolicy resource of each access network is used to save the access network identifier of each access network and the cost of each access network.
  • the cost of the access network includes: determining, according to the access point information of each access network in the underlying network information, a delay of each access network; according to the delay of each access network Determining the cost of each access network, the smaller the delay of each access network, the lower the cost; creating the PoAPolicy resource of each access network under the CSE basic resource, The PoAPolicy resource of each access network is used to store the access network identifier of each access network and the cost of each of the access networks.
  • the method includes: sending a test data packet to each access network separately; Response messages of the access network to the test data packet to determine a response time between the test data packet and each of the access networks; according to the test data packet and each of the access network The response time determines the delay of each of the access networks.
  • the method includes: creating a current access under the CSE basic resource
  • the active POAPolicy resource is used to indicate that the cost of each access network is determined according to the delay or priority of each access network.
  • the second aspect provides a device for selecting an access network in a unified machine-to-machine oneM2M system, including: a transceiver unit, configured to acquire underlying network information of an underlying network service entity NSE, where the NSE supports multiple access networks,
  • the multiple access networks adopt different access network technologies, where the underlying network information includes an access network identifier of each of the multiple access networks and an access of each access network.
  • a determining unit configured to determine, according to the underlying network information, a cost of each of the multiple access networks; and a selecting unit, configured to select a cost from the multiple access networks
  • the minimum access network is used as the target access network;
  • the saving unit is configured to update the access point information of the currently used access network saved in the PoA attribute of the access point to the access point information of the target access network,
  • the PoA attribute is located under the CSE basic resource of the public service entity CSE.
  • the transceiver unit is specifically configured to: obtain the access network identifier of each access network; and send the identifier to the NSE a resource request message of each access network, where the resource request message of each access network includes an access network identifier of each access network, and a resource request message of each access network is used for And requesting, by the NSE, the access point information of each access network to be received; receiving the access point information of each access network returned by the NSE; creating the each connection under the CSE basic resource
  • the NSE resources of the access network are used to save the access network identifier of each access network and the access point information of each access network.
  • the determining unit is specifically configured to: according to each of the bottom layer network information
  • the access network identifier of the access network determines the priority of each access network; the cost of each access network is determined according to the priority of each access network, and the priority of each access network The higher the level, the lower the corresponding cost; the access point policy PoAPolicy resource of each access network is created under the CSE basic resource, and the access point policy PoAPolicy resource of each access network is used for saving the location
  • the determining unit is specifically configured to: according to the foregoing in the underlying network information
  • the access point information of the access networks determines the delay of each access network; according to each of the connections
  • the delay of the access network determines the cost of each access network, and the smaller the delay of each access network is, the smaller the cost is;
  • the PoAPolicy of each access network is created under the CSE basic resource.
  • the resource, the PoAPolicy resource of each access network is used to save the access network identifier of each access network and the cost of each access network.
  • the determining unit is further configured to: separately send a test data packet to each access network; Determining, by each access network, a response message to the test data packet to determine a response time between the test data packet and each of the access networks; and according to the test data packet and each of the access The response time of the network determines the delay of each of the access networks.
  • the saving unit is specifically configured to: create a current connection under the CSE basic resource
  • the ingress policy is an activePoAPolicy resource, where the activePoAPolicy resource is used to indicate that the cost of each access network is determined according to the delay or priority of each access network.
  • the embodiment of the present invention determines the cost of each access network of the multiple access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby being able to select from multiple access networks.
  • the access network with the lowest cost is used as the target access network. In the above manner, the selection problem of multiple access networks in the oneM2M system can be flexibly solved.
  • FIG. 1 is a schematic diagram of a scenario of a oneM2M system according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a method for selecting an access network in a oneM2M system according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a CSE basic resource in a oneM2M system according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a process of selecting an access network in a oneM2M system according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of selecting an access network in a oneM2M system according to another embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of selecting an access network in a oneM2M system according to another embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of an apparatus for selecting an access network in a oneM2M system according to an embodiment of the present invention.
  • FIG. 8 is a schematic block diagram of an apparatus for selecting an access network by a oneM2M system according to another embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a system scenario of an embodiment of the present invention.
  • the oneM2M system applicable to the embodiment of the present invention adopts a layered model as shown in FIG. 1, and includes an application layer 110, a common service layer 120, and an underlying network service layer 130.
  • the application entity (AE) in the application service layer 110 contains an instantiated end-to-end solution;
  • the public service entity (CSE) in the common service layer 120 contains instantiated public service functions;
  • the Service Entity (NSE) provides underlying network support to the public service layer.
  • the user service domain includes an application entity 111, a public service entity 121, and an underlying network service entity 131.
  • the application entity 111 and the public service entity 121 communicate with the application entity interface (Mca interface) through the public service entity; the public service entity 121 and the underlying network service entity 131 interface with the underlying network service entity through the public service entity (Mcn interface) ) to communicate.
  • Mca interface application entity interface
  • Mcn interface public service entity
  • the public service domain also includes three entities, an application entity 112, a public service entity 122, and an underlying network service entity 132.
  • the application entity 112 communicates with the public service entity 122 via the Mca interface; the public service entity 122 communicates with the underlying network service entity 132 via the Mcn interface.
  • the public service entity 121 in the user service domain communicates with the public service entity 122 in the public service domain via a public service entity and a public service entity interface (Mcc interface).
  • all entities can be represented in the form of resources.
  • the resource structure defines in detail how the resources are represented and defines how to get them.
  • the access point (English: Point of Access, PoA) attribute located in the CSE basic resource structure stores the access point information of the currently used access network supported by the underlying network service entity NSE.
  • the access point information stored in the PoA attribute can be updated according to changes in the underlying access network to implement switching of the access network.
  • oneM2M system will cover more and more application scenarios, and business requirements will be more diverse.
  • Many network devices have the ability to be compatible with multiple underlying access networks (such as 3GPP, WiFi, and BlueTooth).
  • the service capabilities and data bearer mechanisms of different underlying access networks vary widely. This requires that the oneM2M system should have the ability to select the most preferred access network based on application requirements and compatible underlying networks.
  • the PoA attribute of the above CSE basic resource structure stores the access point information of the current access network supported by the underlying network service entity. Although the basic requirements of the underlying network access are guaranteed, when the underlying network service entity supports multiple connections at the same time, When entering the network, the public service entity cannot independently select a target access network from the multiple access networks. Specifically, supporting the multiple access networks by the underlying network service entity means that a plurality of access networks currently have access to the underlying network service entity.
  • the method for selecting an access network determines the cost of each of the plurality of access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby enabling The access network with the least cost is selected from the multiple access networks as the target access network.
  • the selection problem of multiple access networks in the oneM2M system can be flexibly solved.
  • 2 is a flow chart of a method of selecting an access network in a oneM2M system according to an embodiment of the present invention.
  • the method 200 of FIG. 2 is performed by a device in the oneM2M system that selects an access network, and in particular, may be performed by a public service entity (eg, the public service entity 121 or the public service entity 122 in FIG. 1).
  • the method for selecting an access network determines the cost of each of the plurality of access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby enabling The least expensive access network is selected from the plurality of access networks as the target access network, and the foregoing manner can flexibly solve multiple access networks in the oneM2M system. Choose the problem. It should be understood that the method shown in FIG. 2 may occur when the AE initiates an application request, or may occur before the AE initiates an application request, which is not limited in the present invention.
  • the underlying network information includes an access network identifier of each of the plurality of access networks and access point information of each access network.
  • the underlying network information of the underlying network service entity may be represented by creating an underlying network service entity resource NSE under the CSE basic resource. As shown in FIG. 3, an NSE resource is created under the CSE basic resource, where the NSE resource includes a sub-resource NSE i indicating network information of the i-th access network in each access network (the i-th access network may represent the bottom layer) Any access network in the network).
  • the NSE i resource further includes an access network identifier (NetworkID i ) attribute of the i-th access network, where the NetworkID i attribute is used to indicate an access network identifier of the i-th access network; and the sub-resource NSE i is further
  • the access point (PoA i ) attribute of the i-th access network is included, and the PoA i attribute is used to indicate access point information of the i-th access network.
  • the access point information of each access network refers to a physical address list required for each access network to access the CSE, so the PoA i attribute is used to indicate the access of the i-th access network.
  • the point information means that the physical address list of the i-th access network is recorded in the PoA i attribute.
  • the access network is a Bluetooth network
  • it corresponds to the Mac address of the Bluetooth access network.
  • the access network is WIFI
  • it corresponds to the IP address of the WIFI access network.
  • the sub-resource NSE i may include other resources and/or attributes in addition to the NetworkID i attribute and the PoA i attribute, and the like, and the resource form of other access networks, and the present invention is not limited thereto.
  • the method when obtaining the underlying network information in the underlying network service entity in step 210, the method may be performed as follows: acquiring an access network identifier of each access network; and providing an underlying network service entity to the underlying network service entity Sending a resource request message of each access network, where the resource request message of each access network includes an access network identifier of each access network, and the resource request message of each access network is used to request an underlying network
  • the serving entity returns the access point information of each access network; receiving the access point information of each access network returned by the underlying network service entity; creating the each under the CSE basic resource NSE resources of the access network, and the access network identifier of each access network and the access point information of each access network are stored in the NSE resources of each access network.
  • the resource request message Request i of the i-th access network is sent to the NSE, where the resource request message Request i includes the access network identifier NetworkID i of the i-th access network, and the resource request message Request i is used for
  • the NSE is requested to return the access point information corresponding to the i-th access network.
  • the resource request message of each access network in the NSE is sent once in a traversal manner, and the access point information of each access network is obtained, and the foregoing NSE resources are established, that is, the foregoing network service is obtained.
  • the underlying network information in the entity is sent once in a traversal manner, and the access point information of each access network is obtained, and the foregoing NSE resources are established, that is, the foregoing network service is obtained.
  • determining, according to the underlying network information, a cost of each of the multiple access networks including: receiving, according to each access network in the underlying network information
  • the access identifier determines the priority of each access network; the cost of each access network is determined according to the priority of each access network, and the priority of each access network is higher. The lower the cost; the access point policy PoAPolicy resources of each access network are created under the CSE basic resources, and the access network identifiers of each access network and each of the access networks are The cost is stored in the access point policy resource of each access network.
  • an access point policy (PoAPolicy) resource may be created under the CSE basic resource to represent the cost of each access network, so as to select the minimum cost according to the access point cost of each access network.
  • the access network serves as the target access network.
  • the PoAPolicy resource includes a sub-resource indicating an i-th access network policy (PoAPolicy i ) in each access network, and the PoAPolicy i resource further includes an access network identifier NetworkID i attribute for indicating the i-th access network.
  • sub-resource PoAPolicy i may include other resources and/or attributes in addition to the NetworkID i attribute and the FunctionValue i attribute, and the like, and the resource form of each access network, and the present invention is not limited thereto.
  • the priority of the i-th access network may be determined according to the NetworkID i attribute, and the cost of the i-th access network may be obtained by the priority of the i-th access network, where the The cost of the i-access network may be stored in the FunctionValue i attribute of the PoAPolicy i resource by an equivalent transformation to determine the PoAPolicy i resource of the i-th access network. It should be understood that the higher the priority of the access network, the lower the cost of the access network; conversely, the lower the priority of the access network, the greater the cost of the corresponding access network.
  • each access network in the NSE is processed in a traversal manner, and the access point policy resource of each access network in the CSE basic resource is obtained, that is, the PoAPolicy resource in the CSE basic resource structure is obtained.
  • the access network with the lowest cost can be selected as the target access network.
  • determining the cost of each access network according to the priority of each access network includes multiple manners, such as, but not limited to, obtaining each connection according to a priority parameter set by default of each access network. The cost of accessing the network; or determining the access network according to the characteristic information of each access network Priority, and then the cost per access network is obtained according to the priority of each access network, and the present invention is not limited thereto.
  • an active access point policy (activePoAPolicy) resource is added to the CSE basic resource to indicate an access point policy of the currently used access network, where the activePoAPolicy indicates an application.
  • activePoAPolicy determines the cost of the access network, and the activePoAPolicy resource is associated with the above PoAPolicy resource.
  • determining, according to the underlying network information, a cost of each of the multiple access networks including: receiving, according to the access network in the underlying network information
  • the in-point information determines the delay of each access network; the cost of each access network is determined according to the delay of each access network, and the delay of each access network is smaller. The lower the cost; the PoAPolicy resources of each access network are created under the CSE basic resources, and the access network identifier of each access network and the cost of each access network are saved in The PoAPolicy resource of each access network.
  • an access point policy (PoAPolicy) resource may be created under the CSE basic resource to represent the cost of each access network of the underlying network, so as to facilitate the access point cost according to each access network.
  • the access network with the lowest cost is selected as the target access network.
  • the PoAPolicy resource includes a sub-resource representing an i-th access network policy (PoAPolicy i ) in each access network, and the PoAPolicy i resource further includes an access for indicating an i-th access network.
  • sub-resource PoAPolicy i may include other resources and/or attributes in addition to the NetworkID i attribute and the FunctionValue i attribute, and the like, and the resource form of each access network, and the present invention is not limited thereto.
  • the network ID i attribute indicating the access network identifier of the i-th access network in the NSE i resource or the PoAPolicy i resource, and the PoA i attribute indicating the access point of the i-th access network in the NSE i resource Obtaining a delay of the i-th access network, determining a cost of the i-th access network by using a delay of the i-th access network, and performing an equivalent change of the cost in a value form in the PoAPolicy In the FunctionValue i property under the i resource.
  • each access network in the underlying network is processed in a traversal manner, and the delay of each access network in the NSE can be obtained, and each access network is obtained according to the delay of each access network.
  • the cost, and the equivalent substitution is stored in the value function value of each access network in the form of a value, so that the PoAPolicy resource under the CSE basic resource can be obtained by comparing each access network in the PoAPolicy resource.
  • determining a time delay of each access network may be performed according to the following steps: separately sending test data packets to each access network; receiving each access Responding to the test data packet by the network to determine a response time between the test data packet and each of the access networks; determining according to the response time of the test data packet and each access network The delay of each access network.
  • the test data packet is sent to the i th access network according to the access point PoA i attribute of the i th access network; and the response message of the i th access network to the test data packet is received to determine the test.
  • the response time between the data packet and the i-th access network, the response time is the time from the issuance of the test data packet to the receipt of the response message of the i-th access network to the test data packet, according to the The response time of the i access network to the test data packet can determine the delay of the i th access network.
  • each access network in the underlying network is processed in a traversal manner, and the delay of each access network in the NSE can be obtained, and each access network is determined according to the delay of each access network.
  • the cost and the equivalent cost are stored in the value function value resource of each access network, so that the PoAPolicy resource under the CSE basic resource can be obtained by comparing each access network of the PoAPolicy resource. At the cost, the access network with the lowest cost is selected as the target access network.
  • the process of specifically storing the access point information of the target access network is as follows.
  • the PoA attribute stored in the access point PoA attribute is the mth access point PoA m attribute of the mth access network currently accessing the CSE.
  • the access point information after comparing the costs of all the multiple access networks supported by the underlying network service entity, the nth access network with the least cost is selected as the target access network, and the nth access network
  • the access point information is stored in the nth access point PoA n attribute, and the nth access network is accessed by updating the information in the PoA attribute of the access point to the access point information in the PoA n attribute.
  • the target access network it should be understood that the present invention is not limited thereto.
  • selecting the least expensive access network from the multiple access networks as the target access network includes: only one access network exists in the underlying network (for example, the i th An access network, when only the sub-resource NSE i of the i-th access network exists in the NSE resource, the access point information stored in the PoA i attribute of the unique sub-resource NSE i is updated to the access point PoA. In the attribute, the only access network is selected as the target access network.
  • the method for selecting an access network according to an embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 3, and will be described from the perspective of interaction between an application entity, a public service entity, and an underlying network service entity in conjunction with FIG. 4 to FIG. A method of selecting an access network in accordance with an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of selecting an access network in a oneM2M system according to an embodiment of the present invention, showing a schematic flow chart when a local AE or CSE (AE/CSE 410 in the figure) and a remote CSE 420 perform data transmission.
  • AE/CSE 410 in the figure
  • remote CSE 420 perform data transmission.
  • the underlying network information of the underlying network service entity is obtained, and the underlying network service entity supports multiple access networks, and the underlying network information includes an access network identifier and each access of each of the multiple access networks.
  • Network access point information is obtained.
  • each access network may be determined according to an access network identifier of each access network in the underlying network information, and then the cost of each access network is determined according to the priority of each access network. The higher the priority of the access network, the lower the cost; or the delay of each access network may be determined according to the access point information of each access network in the underlying network information, and then according to each access network The delay determines the cost of each access network, and the smaller the delay of the access network, the lower the cost.
  • the method includes: selecting, from a plurality of access networks, the least expensive access network as the target access network; and storing the access point information of the target access network, so as to facilitate access to the target access network.
  • the local AE and the remote CSE transmit data through the Mca interface, and the local CSE and the remote CSE transmit data through the Mcc interface.
  • FIG. 5 is a schematic flowchart of selecting an access network in a oneM2M system according to another embodiment of the present invention, showing a schematic flowchart of data transmission between a local AE or CSE (AE/CSE 510 in the figure) and a remote AE 530.
  • AE/CSE 510 in the figure
  • the underlying network information is obtained, and the underlying network service entity supports multiple access networks, and the underlying network information includes an access network identifier and each access of each of the multiple access networks.
  • Network access point information is obtained.
  • the priority of each access network may be determined according to an access network identifier of each access network in the underlying network information, following The cost of each access network is determined according to the priority of each access network. The higher the priority of the access network, the lower the cost; or the access point of each access network in the underlying network information.
  • the information determines the delay of each access network, and then determines the cost of each access network according to the delay of each access network. The smaller the delay of the access network, the lower the cost.
  • the least expensive access network may be selected from the multiple access networks as the target access network, and then the access point information of the target access network is saved to facilitate access to the target access network.
  • the local AE and the remote CSE transmit data through the Mca interface, and the local CSE and the remote CSE transmit data through the Mcc interface.
  • FIG. 6 is a schematic flowchart of a process of selecting an access network in a oneM2M system according to another embodiment of the present invention, showing an embodiment in which a mobile phone user located in a user service domain uploads a video to a server of a public service domain.
  • the mobile phone user initiates a video upload request AE611 and sends the request to the local CSE 613.
  • the data transmission of the process is implemented by using the Mca interface.
  • the CSE 613 After obtaining the underlying network service entity NSE 615 and supporting both the WIFI network and the 3GPP network access network, the CSE 613 sends the WIFI network and the 3GPP network resource request message to the local NSE 615 through the Mcn interface, and the WIFI network resource request message includes the WIFI.
  • the identifier of the access network where the resource request message of the 3GPP network includes the identifier of the 3GPP access network;
  • the NSE 615 After receiving the resource request message sent by the CSE 613, the NSE 615 returns the access point information corresponding to the WIFI and the 3GPP network to the CSE 615, where the access point information corresponding to the WIFI network includes the MAC address of the WIFI access network, and the 3GPP The corresponding access point information in the network includes the mobile station international subscriber identification number number MSISDN.
  • the CSE 613 obtains the underlying network information of the underlying network, that is, the access network identifier of each access network in the underlying network and the access point information of each access network are obtained.
  • a sub-resource of the WIFI network is created, and the sub-resource NSE WIFI of the WIFI network further includes an access network identifier of the WIFI network, a NetworkID WIFI attribute, and a corresponding PoA WIFI attribute of the access point; and a sub-resource for creating a 3GPP network.
  • the sub-resource of the 3GPP network includes an access network identifier of the 3GPP network, a NetworkID 3GPP attribute, and an access point PoA 3GPP attribute corresponding thereto.
  • the network ID WIFI attribute of the access network identifier of the WIFI network and the access network identifier of the 3GPP network are selected.
  • the 3GPP attribute determines the priority of the WIFI network and the 3GPP network. For example, the priority of the WIFI network is 1, and the priority of the 3GPP network is 2.
  • the cost of the WIFI network is stored in the FunctionValue WIFI attribute in the form of a numerical value by equivalent change.
  • the cost of the 3GPP network will be stored in the FunctionValue 3GPP attribute as a value change. Then comparing the specific function values in the FunctionValue WIFI and FunctionValue 3GPP , the cost of the WIFI network will be less than the cost of the 3GPP network, thus determining the WIFI network as Target access network.
  • the access point PoA WIFI attribute of the WIFI network and the access point PoA 3GPP attribute of the 3GPP network Sending test data packets to the WIFI network and the 3GPP network respectively, and receiving response messages of the WIFI network and the 3GPP network to the test data packets respectively, to determine the response time between the test data packets and the WIFI network and the 3GPP network, and thereby obtaining the WIFI.
  • the delay of the network and the 3GPP network the delay of the WIFI network will be stored in the FunctionValue WIFI attribute in the form of a numerical value, and the delay of the 3GPP network will be stored in the FunctionValue 3GPP attribute in the form of a numerical value. Then, comparing the specific function values in FunctionValue WIFI and FunctionValue 3GPP , the cost of the WIFI network is less than the cost of the 3GPP network, thereby determining that the WIFI network is the target access network.
  • the access network information in the PoA attribute of the access network is updated to the access point information in the PoA WIFI attribute of the WIFI network, so as to access the WIFI network.
  • the server After accessing the WIFI network, the server receives the data packet from the user, unpacks the packet, and transfers the information to the CSE 624 for processing.
  • the apparatus 700 includes:
  • the transceiver unit 710 is configured to obtain the underlying network information of the underlying network service entity NSE, where the NSE supports multiple access networks, and multiple access networks adopt different access network technologies, where the underlying network information includes multiple access networks.
  • the determining unit 720 is configured to determine a cost of each of the multiple access networks according to the underlying network information.
  • the selecting unit 730 is configured to select, as the target access network, an access network that selects the least cost from the plurality of access networks.
  • the saving unit 740 is configured to update the access point information of the currently used access network saved in the access point PoA attribute to the access point information of the target access network, where the PoA attribute is located in a public service entity.
  • CSE under the CSE basic resources.
  • the apparatus for selecting an access network determines the cost of each of the plurality of access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby enabling The access network with the least cost is selected from the multiple access networks as the target access network.
  • the selection problem of multiple access networks in the oneM2M system can be flexibly solved.
  • the apparatus for selecting an access network in the oneM2M system of the embodiment of the present invention may be the above public service entity, and the present invention is not limited thereto.
  • the transceiver unit 710 is configured to obtain the underlying network information of the underlying network service entity, where the underlying network information includes an access network identifier of each of the multiple access networks. And access point information for each access network.
  • the transceiver unit 710 can represent the underlying network information of the underlying network service entity by creating an underlying network service entity NSE resource under the CSE basic resource, where the NSE resource includes the ith access in each access network.
  • the sub-resource NSE i of the network information of the network (the i-th access network may represent any one of the access networks in the underlying network).
  • the NSE i sub-resource includes an access network identifier (NetworkID i ) attribute of the i-th access network, where the network ID i attribute is used to indicate an access network identifier of the i-th access network; the sub-resource NSE i further includes The access point PoA i attribute of the i-th access network, the PoA i attribute is used to indicate the access point information of the i-th access network.
  • the access point information of each access network refers to a physical address list required for each access network to access the CSE, so the PoA i attribute is used to indicate the access of the i-th access network.
  • Point information means that the physical address list of the i-th access network is recorded in the PoA i attribute.
  • the physical address list records the Mac address of the Bluetooth access network.
  • the physical address list records the WIFI access network, corresponding to The IP address of the WIFI access network.
  • the sub-resource NSE i may include other resources and/or attributes in addition to the NetworkID i attribute and the PoA i attribute, and the like, and the resource form of other access networks, and the present invention is not limited thereto.
  • the transceiver unit 710 is specifically configured to: obtain the access network identifier of each access network; and send a resource request message of each access network to the NSE, where each connection
  • the resource request message of the network includes an access network identifier of each access network, and the resource request message of each access network is used to request the NSE to return the access point information of each access network; and each of the returned NSEs is received.
  • Access point information of the access network; creating NSE resources of each access network under the CSE basic resources, and identifying the access network of each access network and the access point of each access network Information is stored in the NSE resources of each access network.
  • the resource request message Request i of the i-th access network is sent to the NSE, where the resource request message Request i includes the access network identifier NetworkID i of the i-th access network, and the resource request message Request i is used for
  • the NSE is requested to return the access point information corresponding to the i-th access network.
  • the resource request message of each access network in the NSE is sent in the form of traversal, and the access point information of each access network is obtained, and the foregoing NSE resources are established, that is, the foregoing network is obtained.
  • the underlying network information in the service entity is sent to the NSE, where the resource request message Request i includes the access network identifier NetworkID i of the i-th access network, and the resource request message Request i is used for
  • the NSE is requested to return the access point information corresponding to the i-th access network.
  • the resource request message of each access network in the NSE is sent in the form of traversal, and the access point information of each access
  • the determining unit 720 is specifically configured to: determine, according to the underlying network information, a cost of each of the multiple access networks, including: according to each of the underlying network information
  • the access network identifier of the access network determines the priority of each access network; the cost of each access network is determined according to the priority of each access network, and the higher the priority of each access network, the higher the corresponding cost Small; create an access point policy PoAPolicy resource of each access network under the CSE basic resource, and save the access network identifier of each access network and the cost of each access network in the PoAPolicy of each access network. In the resource.
  • the determining unit 720 can create an access point policy (PoAPolicy) resource under the CSE basic resource to represent the cost of each access network of the underlying network, so as to select the minimum cost according to the access point cost of each access network.
  • the access network serves as the target access network.
  • the PoAPolicy resource includes a sub-resource indicating an i-th access network policy (PoAPolicy i ) in each access network, and the PoAPolicy i resource further includes an access network identifier NetworkID i attribute for indicating the i-th access network.
  • sub-resource PoAPolicy i created by the determining unit 720 may include other resources and/or attributes in addition to the NetworkID i attribute and the FunctionValue i attribute, and the like, and the resource form of each access network, the present invention does not Limited to this.
  • the determining unit 720 can determine the priority of the i-th access network according to the access network identifier in the NetworkID i attribute, and obtain the i-th through the priority of the i-th access network.
  • the cost of the access network, the cost of the i-th access network can be stored in the FunctionValue i attribute of the PoAPolicy i resource by the equivalent conversion in the form of a specific value, thereby obtaining the PoAPolicy of the i-th access network.
  • i resources it should be understood that when the priority of the access network is higher, the cost of the access network is smaller; conversely, the lower the priority of the access network, the greater the cost of the corresponding access network.
  • each access network in the NSE is processed in a traversal manner, and the access point policy resource of each access network in the CSE basic resource is obtained, that is, the PoAPolicy resource in the CSE basic resource structure is obtained.
  • the access network with the lowest cost can be selected as the target access network.
  • the determining unit 720 determines the cost of each access network according to the priority of each access network, including, for example, but not limited to: a priority parameter may be obtained according to the default setting of each access network.
  • the cost of each access network may be determined according to the characteristic information of each access network, and then the cost of each access network is obtained according to the priority of each access network.
  • the invention is not limited to this.
  • the determining unit 720 is further configured to: add an active access point policy (activePoAPolicy) resource to the CSE basic resource to indicate an access point policy of the currently used access network, where the activePoAPolicy indicates an application.
  • activePoAPolicy active access point policy
  • Which policy determines the cost of the access network, and the activePoAPolicy resource is associated with the above PoAPolicy resource.
  • the selecting unit 730 is specifically configured to: determine, according to access point information of each access network in the underlying network information, a delay of each access network; according to each access network The delay determines the cost of each access network, and the smaller the delay of each access network, the lower the cost; the PoAPolicy resources of each access network are created under the CSE basic resources, and each access network is created.
  • the access network identity and the cost of each access network are stored in the PoAPolicy resources of each access network.
  • the selecting unit 730 determines, according to the NSE i resource or the PoAPolicy i resource, the access network identifier NetworkID i attribute indicating the i-th access network, and the access point information indicating the i-th access network in the NSE i resource.
  • the PoA i attribute can obtain the delay of the i-th access network, determine the cost of the i-th access network by using the delay of the i-th access network, and perform an equivalent change of the cost to a numerical value.
  • the form is saved in the FunctionValue i attribute under the PoAPolicy i resource.
  • each access network in the underlying network is processed in a traversal manner, and the delay of each access network in the NSE can be obtained, and each access network is obtained according to the delay of each access network.
  • the cost, and the equivalent substitution is stored in the value function value resource of each access network, so that the PoAPolicy resource under the CSE basic resource can be obtained by comparing each access network in the PoAPolicy resource.
  • the selecting unit 730 is specifically configured to: separately send a test data packet to each access network; and receive a response message of each test network to the test data packet. Determining a response time between the test data packet and each of the access networks; determining a delay of each access network according to a response time of the test data packet and each access network .
  • the selecting unit 730 is specifically configured to: send a test data packet to the i th access network according to the access point information of the i th access network; and receive a response message of the i th access network to the test data packet. Determining a response time between the test data packet and the i-th access network, where the response time is from the issuance of the test data packet to the receipt of the response message of the i-th access network to the test data packet. Time, according to the response time of the i-th access network to the test data packet, the delay of the i-th access may be determined.
  • each access network in the underlying network is processed in a traversal manner, and the delay of each access network in the NSE can be obtained, and each access network is obtained according to the delay of each access network.
  • the cost and the equivalent cost are stored in the value function value resource of each access network, so that the PoAPolicy resource under the CSE basic resource can be obtained by comparing each access network of the PoAPolicy resource. At the cost, the access network with the lowest cost is selected as the target access network.
  • the process of specifically storing the access point information of the target access network is as follows.
  • the access point PoA attribute stores the access point information of the mth access network currently accessing the CSE.
  • the access point information of the m access networks is recorded in the PoA m attribute, and the selection unit 730 selects the nth access network with the lowest cost after comparing the costs of all the multiple access networks supported by the underlying network service entity.
  • the saving unit 740 saves the access point information of the nth access network in the access point information PoA n attribute, and updates the information in the PoA attribute of the access point to the PoA n resource.
  • the access point information is used to access the nth access network as the target access network.
  • the selecting unit 730 is further configured to: when N is 1, that is, only one access network exists in the underlying network (for example, the i-th access network), and only the first NSE resource exists.
  • the saving unit 740 updates the access point information saved in the PoA i attribute of the unique sub-resource NSE i to the access point PoA attribute to select the unique one.
  • the access network acts as a target access network.
  • FIG. 8 is a schematic block diagram of an apparatus for selecting an access network in a oneM2M system according to another embodiment of the present invention.
  • the apparatus 800 includes a processor 810, a memory 820, a bus system 830, a receiver 840, and a transmitter 850.
  • the processor 810, the memory 820, the receiver 840, and the transmitter 850 are connected by a bus 830 for storing instructions for executing instructions stored in the memory 820 and controlling the receiver 840 to receive information. .
  • the transmitter 850 and the receiver 840 can be used to obtain the underlying network information of the underlying network, where the underlying network information includes the access network identifier and access point information of each access network; the processor 810 is configured to use the bottom layer according to the bottom layer. Network information, determining a cost function value of each access network in the underlying network; the processor 810 is further configured to select an access network from the bottom network as the target access network according to the cost function value of each access network.
  • the memory 820 is configured to create an NSE resource of each access network under the CSE basic resource, and save the access network identifier of each access network and the access point information of each access network in each access network. In the NSE resources.
  • the apparatus for selecting an access network determines the cost of each of the plurality of access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby enabling The access network with the least cost is selected from the multiple access networks as the target access network.
  • the selection problem of multiple access networks in the oneM2M system can be flexibly solved.
  • the processor 810 may be a central processing unit (“CPU"), and the processor 810 may also be other general-purpose processors, digital signal processors (DSPs).
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 820 can include read only memory and random access memory and provides instructions and data to the processor 810. A portion of the memory 820 may also include a non-volatile random access memory.
  • the bus system 830 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for the sake of clarity, the various buses are labeled as buses in the figure. System 830.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 810 or an instruction in a 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 820, and the processor 810 reads the information in the memory 820 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the transmitter 850 is further configured to acquire the access network identifier of each access network and send a resource request message of each access network to the NSE, where each access network The resource request message includes an access network identifier of each access network, and the resource request message of each access network is used to request the NSE to return the access point information of each access network;
  • the receiver 840 is further configured to receive the NSE. Returning access point information of each access network;
  • the processor 810 is configured to create an NSE resource of each access network under the CSE basic resource, and identify and access each access network identifier of each access network The access point information of the network access is stored in the NSE resources of each access network.
  • the processor 810 is further configured to: determine, according to an access network identifier of each access network in the underlying network information, a priority of each access network; according to each access network The priority determines the cost of each access network, and the higher the priority of each access network, the lower the cost; the access point policy PoAPolicy resources of each access network are created under the CSE basic resources, and each The access network identity of the access network and the cost of each access network are stored in the PoAPolicy resources of each access network.
  • the processor 810 is further configured to: determine, according to access point information of each access network in the underlying network information, a delay of each access network; according to each access network The delay determines the cost of each access network, and the smaller the delay of each access network, the lower the cost; the PoAPolicy resources of each access network are created under the CSE basic resources, and each access network is The access network identity and the cost of each access network are stored in the PoAPolicy resources of each access network.
  • the transmitter 810 is further configured to separately send a test data packet to each access network; the receiver 840 is further configured to receive a response message of each access network to the test data packet, to Determining the response time between the test data packet and each access network; the processor 810 is configured to determine the delay of each access network according to the test data packet and the response time of each access network.
  • the memory 820 is further configured to: create a current access point policy activePoAPolicy resource, where the activePoAPolicy resource is used to refer to The cost of each access network is determined according to the delay or priority of each access network.
  • the apparatus 700 may correspond to an execution body of a method of selecting an underlying network of an embodiment of the present invention, and may correspond to the apparatus 700 according to an embodiment of the present invention, and each module in the apparatus 700
  • the above and other operations and/or functions are respectively implemented in order to implement the respective methods in FIG. 2 and the corresponding processes in the respective methods in FIG. 4 to FIG. 5, and are not described herein again for brevity.
  • the disclosed system, apparatus, and method 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, and may be electrical, mechanical or otherwise.
  • 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 purpose of the solution of the embodiment.
  • 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 functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art or a part of the technical solution.
  • the points may be embodied in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform various embodiments of the present invention All or part of the steps of the method.
  • 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. .

Abstract

Provided in the embodiments of the present invention are a method and apparatus for selecting an access network in a one Machine to Machine (oneM2M) system. The method for selecting an access network comprises: acquiring bottom layer network information of a bottom layer Network Service Entity (NSE), the bottom layer network information comprising an access network identifier of each access network in a plurality of access networks supported by the NSE and Point of Access information of each access network; according to the bottom layer network information, determining the cost of each access network in the plurality of access networks; selecting an access network with a minimum cost as a target access network from the plurality of access networks; and updating the Point of Access information of a currently used access network, saved in a Point of Access (PoA) attribute, as the Point of Access information of the target access network. The method and apparatus for selecting an access network in the oneM2M system provided in the embodiments of the present invention can select the access network with the minimum cost as the target access network from the plurality of access networks under the condition that the NSE supports the plurality of access networks.

Description

选择接入网的方法和装置Method and device for selecting an access network 技术领域Technical field
本发明实施例涉及通信领域,具体涉及统一机器到机器系统中选择接入网的方法和装置。Embodiments of the present invention relate to the field of communications, and in particular, to a method and apparatus for selecting an access network in a unified machine-to-machine system.
背景技术Background technique
随着物联网技术的发展,全球化标准组织统一机器到机器(英文:one Machine to Machine,简称:oneM2M)随之成立,它旨在高效地部署机器到机器(英文:Machine to Machine,简称:M2M)通信系统,推动M2M全球标准与行业应用融合。现有oneM2M体系采用分层构架,整个构架分为应用层(英文:Application Layer)、公共服务层(英文:Common Service Layer)和底层网络服务层(英文:Network Service Layer),其中,应用层中的应用实体(英文:Application Entity,简称:AE)包含实例化的端到端oneM2M解决方案;公共服务层中的公共服务实体(英文:Common Service Entity,简称:CSE)包含实例化的公共服务功能;底层网络服务层中的底层网络实体(英文:Network Service Entity,简称:NSE)向公共服务层提供底层网络支持。在现有oneM2M体系中,应用实体、公共服务实体以及底层网络服务实体之间的通信通过统一的接口完成,可以兼容不同的底层接入网络。With the development of the Internet of Things technology, the Global Standards Organization unified machine to machine (English: one Machine to Machine, referred to as: oneM2M) was established, which aims to efficiently deploy machine to machine (English: Machine to Machine, referred to as: M2M) Communication system to promote the integration of M2M global standards and industry applications. The existing oneM2M system adopts a layered architecture. The entire architecture is divided into an application layer (English: Application Layer), a common service layer (English: Common Service Layer), and an underlying network service layer (English: Network Service Layer). The application entity (English: Application Entity, ee for short) contains the instantiated one-to-one oneM2M solution; the public service entity (Common Service Entity, CSE for short) in the public service layer contains instantiated public service functions. The underlying network entity (English: Network Service Entity, NSE for short) in the underlying network service layer provides underlying network support to the public service layer. In the existing oneM2M system, communication between the application entity, the public service entity, and the underlying network service entity is completed through a unified interface, and is compatible with different underlying access networks.
然而,目前的oneM2M系统仅考虑了底层网络接入的基本要求,而未考虑采用多个类型接入网时的选择问题。However, the current oneM2M system only considers the basic requirements of the underlying network access, but does not consider the selection problem when using multiple types of access networks.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种统一机器到机器oneM2M系统中选择接入网的方法和装置,用于解决目前的oneM2M系统中不支持多个类型接入网的选择问题。In view of this, the embodiments of the present invention provide a method and device for selecting an access network in a unified machine-to-machine oneM2M system, which is used to solve the problem that the current oneM2M system does not support multiple types of access networks.
第一方面,提供了一种oneM2M系统中选择接入网的方法,包括:获取NSE的底层网络信息,所述底层网络信息包括所述多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息;根据所述底层网络信息,确定所述多个接入网中的每个接入网的代价;从所述多个接入网中选择代价最小的接入网作为目标接入网;将接入点PoA属性中保存的当前使用接入网的 接入点信息更新为所述目标接入网的接入点信息,其中,所述PoA属性位于CSE的CSE基础资源下。The first aspect provides a method for selecting an access network in a oneM2M system, including: acquiring underlying network information of an NSE, where the underlying network information includes access of each of the multiple access networks a network identifier and access point information of each access network; determining, according to the underlying network information, a cost of each of the plurality of access networks; selecting a cost from the plurality of access networks The smallest access network serves as the target access network; the current access network saved in the PoA attribute of the access point The access point information is updated to the access point information of the target access network, where the PoA attribute is located under the CSE basic resource of the CSE.
结合第一方面,在第一种实现方式中,所述获取所述NSE的底层网络信息包括:获取所述每个接入网的所述接入网标识;向所述NSE发送所述每个接入网的资源请求消息,其中,所述每个接入网的资源请求消息包含所述每个接入网的接入网标识,所述每个接入网的资源请求消息用于请求所述NSE返回所述每个接入网的接入点信息;接收所述NSE返回的所述每个接入网的接入点信息;在所述CSE基础资源下创建所述每个接入网的NSE资源,所述每个接入网的NSE资源用于保存所述每个接入网的接入网标识和所述每个接入网的接入点信息。With reference to the first aspect, in the first implementation manner, the acquiring the underlying network information of the NSE includes: acquiring the access network identifier of each access network; and sending the each to the NSE a resource request message of the access network, where the resource request message of each access network includes an access network identifier of each access network, and the resource request message of each access network is used for requesting a location Returning NSE to the access point information of each access network; receiving access point information of each access network returned by the NSE; creating each access network under the CSE basic resource The NSE resource of each access network is used to store an access network identifier of each access network and access point information of each access network.
结合第一方面或第一方面的第一种实现方式,在第一方面的第二种可能的实现方式中,所述根据所述底层网络信息,确定所述多个接入网中的每个接入网的代价包括:根据所述底层网络信息中的每个接入网的接入网标识确定所述每个接入网的优先级;根据所述每个接入网的优先级确定所述每个接入网的代价,所述每个接入网的优先级越高对应的代价越小;在所述CSE基础资源下创建所述每个接入网的接入点策略PoAPolicy资源,所述每个接入网的接入点策略PoAPolicy资源用于保存所述每个接入网的接入网标识和所述每个接入网的代价。With reference to the first aspect or the first implementation of the first aspect, in a second possible implementation manner of the first aspect, the determining, according to the underlying network information, determining each of the multiple access networks The cost of the access network includes: determining a priority of each access network according to an access network identifier of each access network in the underlying network information; determining, according to a priority of each access network The cost of each access network is higher, and the higher the priority of each access network is, the smaller the cost is; the access point policy PoAPolicy resources of each access network are created under the CSE basic resource, The access point policy PoAPolicy resource of each access network is used to save the access network identifier of each access network and the cost of each access network.
结合第一方面或第一方面的第一种实现方式,在第一方面的第三种可能的实现方式中,所述根据所述底层网络信息,确定所述多个接入网中的每个接入网的代价包括:根据所述底层网络信息中的所述每个接入网的接入点信息确定所述每个接入网的时延;根据所述每个接入网的时延确定所述每个接入网的代价,所述每个接入网的时延越小对应的代价越小;在所述CSE基础资源下创建所述每个接入网的PoAPolicy资源,所述每个接入网的PoAPolicy资源用于保存所述每个接入网的接入网标识和所述每个接入网的代价。With reference to the first aspect, or the first implementation of the first aspect, in a third possible implementation manner of the first aspect, the determining, according to the underlying network information, determining each of the multiple access networks The cost of the access network includes: determining, according to the access point information of each access network in the underlying network information, a delay of each access network; according to the delay of each access network Determining the cost of each access network, the smaller the delay of each access network, the lower the cost; creating the PoAPolicy resource of each access network under the CSE basic resource, The PoAPolicy resource of each access network is used to store the access network identifier of each access network and the cost of each of the access networks.
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述方法包括:向所述每个接入网分别发送测试数据包;接收所述每个接入网对所述测试数据包的响应消息,以确定所述测试数据包与所述每个接入网之间的响应时间;根据所述测试数据包与所述每个接入网的响应时间确定所述每个接入网的时延。 With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the method includes: sending a test data packet to each access network separately; Response messages of the access network to the test data packet to determine a response time between the test data packet and each of the access networks; according to the test data packet and each of the access network The response time determines the delay of each of the access networks.
结合第一方面和第一方面的第一至第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述方法包括:在所述CSE基础资源下创建当前接入点策略activePoAPolicy资源,所述activePoAPolicy资源用于指示根据所述每个接入网的时延或优先级确定所述每个接入网的代价。With reference to the first aspect and the first to fourth possible implementation manners of the first aspect, in a fifth possible implementation manner of the first aspect, the method includes: creating a current access under the CSE basic resource The active POAPolicy resource is used to indicate that the cost of each access network is determined according to the delay or priority of each access network.
第二方面,提供了一种统一机器到机器oneM2M系统中选择接入网的装置,包括:收发单元,用于获取底层网络服务实体NSE的底层网络信息,所述NSE支持多个接入网,所述多个接入网采用不同的接入网技术,其中,所述底层网络信息包括所述多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息;确定单元,用于根据所述底层网络信息,确定所述多个接入网中的每个接入网的代价;选择单元,用于从所述多个接入网中选择代价最小的接入网作为目标接入网;保存单元,用于将接入点PoA属性中保存的当前使用的接入网的接入点信息更新为所述目标接入网的接入点信息,其中,所述PoA属性位于公共服务实体CSE的CSE基础资源下。The second aspect provides a device for selecting an access network in a unified machine-to-machine oneM2M system, including: a transceiver unit, configured to acquire underlying network information of an underlying network service entity NSE, where the NSE supports multiple access networks, The multiple access networks adopt different access network technologies, where the underlying network information includes an access network identifier of each of the multiple access networks and an access of each access network. And a determining unit, configured to determine, according to the underlying network information, a cost of each of the multiple access networks; and a selecting unit, configured to select a cost from the multiple access networks The minimum access network is used as the target access network; the saving unit is configured to update the access point information of the currently used access network saved in the PoA attribute of the access point to the access point information of the target access network, The PoA attribute is located under the CSE basic resource of the public service entity CSE.
结合第二方面,在第二方面的第一种可能的实现方式中,所述收发单元具体用于:获取所述每个接入网的所述接入网标识;向所述NSE发送所述每个接入网的资源请求消息,其中,所述每个接入网的资源请求消息包含所述每个接入网的接入网标识,所述每个接入网的资源请求消息用于请求所述NSE返回所述每个接入网的接入点信息;接收所述NSE返回的所述每个接入网的接入点信息;在所述CSE基础资源下创建所述每个接入网的NSE资源,所述每个接入网的NSE资源用于保存所述每个接入网的接入网标识和所述每个接入网的接入点信息。With reference to the second aspect, in a first possible implementation manner of the second aspect, the transceiver unit is specifically configured to: obtain the access network identifier of each access network; and send the identifier to the NSE a resource request message of each access network, where the resource request message of each access network includes an access network identifier of each access network, and a resource request message of each access network is used for And requesting, by the NSE, the access point information of each access network to be received; receiving the access point information of each access network returned by the NSE; creating the each connection under the CSE basic resource The NSE resources of the access network are used to save the access network identifier of each access network and the access point information of each access network.
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述确定单元具体用于:根据所述底层网络信息中的每个接入网的接入网标识确定所述每个接入网的优先级;根据所述每个接入网的优先级确定所述每个接入网的代价,所述每个接入网的优先级越高对应的代价越小;在所述CSE基础资源下创建所述每个接入网的接入点策略PoAPolicy资源,所述每个接入网的接入点策略PoAPolicy资源用于保存所述每个接入网的接入网标识和所述每个接入网的代价。With reference to the second aspect, or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the determining unit is specifically configured to: according to each of the bottom layer network information The access network identifier of the access network determines the priority of each access network; the cost of each access network is determined according to the priority of each access network, and the priority of each access network The higher the level, the lower the corresponding cost; the access point policy PoAPolicy resource of each access network is created under the CSE basic resource, and the access point policy PoAPolicy resource of each access network is used for saving the location The access network identifier of each access network and the cost of each of the access networks.
结合第二方面或第二方面的第一种可能的实现方式,在第二方面的第三种可能的实现方式中,所述确定单元具体用于:根据所述底层网络信息中的所述每个接入网的接入点信息确定所述每个接入网的时延;根据所述每个接 入网的时延确定所述每个接入网的代价,所述每个接入网的时延越小对应的代价越小;在所述CSE基础资源下创建所述每个接入网的PoAPolicy资源,所述每个接入网的PoAPolicy资源用于保存所述每个接入网的接入网标识和所述每个接入网的代价。With the second aspect or the first possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the determining unit is specifically configured to: according to the foregoing in the underlying network information The access point information of the access networks determines the delay of each access network; according to each of the connections The delay of the access network determines the cost of each access network, and the smaller the delay of each access network is, the smaller the cost is; the PoAPolicy of each access network is created under the CSE basic resource. The resource, the PoAPolicy resource of each access network is used to save the access network identifier of each access network and the cost of each access network.
结合第二方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,确定单元具体还用于:向所述每个接入网分别发送测试数据包;接收所述每个接入网对所述测试数据包的响应消息,以确定所述测试数据包与所述每个接入网之间的响应时间;根据所述测试数据包与所述每个接入网的响应时间确定所述每个接入网的时延。With reference to the third possible implementation of the second aspect, in a fourth possible implementation manner of the third aspect, the determining unit is further configured to: separately send a test data packet to each access network; Determining, by each access network, a response message to the test data packet to determine a response time between the test data packet and each of the access networks; and according to the test data packet and each of the access The response time of the network determines the delay of each of the access networks.
结合第二方面或第二方面的第一至第四种可能的实现方式,在第二方面的第五种可能的实现方式中,保存单元具体用于:在所述CSE基础资源下创建当前接入点策略activePoAPolicy资源,所述activePoAPolicy资源用于指示根据所述每个接入网的时延或优先级确定所述每个接入网的代价。With reference to the second aspect or the first to fourth possible implementation manners of the second aspect, in a fifth possible implementation manner of the second aspect, the saving unit is specifically configured to: create a current connection under the CSE basic resource The ingress policy is an activePoAPolicy resource, where the activePoAPolicy resource is used to indicate that the cost of each access network is determined according to the delay or priority of each access network.
本发明实施例通过获取oneM2M系统中底层网络服务实体的底层网络信息,确定底层网络服务实体所支持的多个接入网中每个接入网的代价,从而能够从多个接入网中选择代价最小的接入网作为目标接入网,通过上述方式,可以灵活地解决oneM2M系统中多个接入网的选择问题。附图说明The embodiment of the present invention determines the cost of each access network of the multiple access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby being able to select from multiple access networks. The access network with the lowest cost is used as the target access network. In the above manner, the selection problem of multiple access networks in the oneM2M system can be flexibly solved. DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1是本发明实施例的oneM2M系统场景的示意性图。FIG. 1 is a schematic diagram of a scenario of a oneM2M system according to an embodiment of the present invention.
图2是本发明一个实施例的oneM2M系统中选择接入网的方法流程图。2 is a flow chart of a method for selecting an access network in a oneM2M system according to an embodiment of the present invention.
图3是本发明一个实施例的oneM2M系统中CSE基础资源的示意性结构图。FIG. 3 is a schematic structural diagram of a CSE basic resource in a oneM2M system according to an embodiment of the present invention.
图4是本发明一个实施例的oneM2M系统中选择接入网过程的示意性流程图。FIG. 4 is a schematic flowchart of a process of selecting an access network in a oneM2M system according to an embodiment of the present invention.
图5是本发明另一实施例的oneM2M系统中选择接入网的示意性流程图。FIG. 5 is a schematic flowchart of selecting an access network in a oneM2M system according to another embodiment of the present invention.
图6是本发明另一实施例的oneM2M系统中选择接入网的示意性流程图。FIG. 6 is a schematic flowchart of selecting an access network in a oneM2M system according to another embodiment of the present invention.
图7是本发明一个实施例的oneM2M系统中选择接入网的装置的示意性框图。 7 is a schematic block diagram of an apparatus for selecting an access network in a oneM2M system according to an embodiment of the present invention.
图8是本发明另一实施例的oneM2M系统选择接入网的装置的示意性框图。FIG. 8 is a schematic block diagram of an apparatus for selecting an access network by a oneM2M system according to another embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
图1是本发明实施例的系统场景的示意性图。FIG. 1 is a schematic diagram of a system scenario of an embodiment of the present invention.
本发明实施例可应用的oneM2M系统采用如图1所示的分层模型,包括应用层110、公共服务层120和底层网络服务层130。应用服务层110中的应用实体(AE)包含实例化的端到端解决方案;公共服务层120中的公共服务实体(CSE)包含实例化的公共服务功能;底层网络服务层130中的底层网络服务实体(NSE)向公共服务层提供底层网络支持。The oneM2M system applicable to the embodiment of the present invention adopts a layered model as shown in FIG. 1, and includes an application layer 110, a common service layer 120, and an underlying network service layer 130. The application entity (AE) in the application service layer 110 contains an instantiated end-to-end solution; the public service entity (CSE) in the common service layer 120 contains instantiated public service functions; the underlying network in the underlying network service layer 130 The Service Entity (NSE) provides underlying network support to the public service layer.
用户服务域(本地域)中包括应用实体111,公共服务实体121和底层网络服务实体131。应用实体111与公共服务实体121之间通过公共服务实体与应用实体接口(Mca接口)进行通信;公共服务实体121与底层网络服务实体131之间通过公共服务实体与底层网络服务实体接口(Mcn接口)进行通信。The user service domain (local domain) includes an application entity 111, a public service entity 121, and an underlying network service entity 131. The application entity 111 and the public service entity 121 communicate with the application entity interface (Mca interface) through the public service entity; the public service entity 121 and the underlying network service entity 131 interface with the underlying network service entity through the public service entity (Mcn interface) ) to communicate.
公共服务域中同样包括三个实体,分别是应用实体112、公共服务实体122和底层网络服务实体132。应用实体112与公共服务实体122之间通过Mca接口进行通信;公共服务实体122与底层网络服务实体132之间通过Mcn接口进行通信。此外,用户服务域中的公共服务实体121与公共服务域中的公共服务实体122之间通过公共服务实体与公共服务实体接口(Mcc接口)进行通信。The public service domain also includes three entities, an application entity 112, a public service entity 122, and an underlying network service entity 132. The application entity 112 communicates with the public service entity 122 via the Mca interface; the public service entity 122 communicates with the underlying network service entity 132 via the Mcn interface. In addition, the public service entity 121 in the user service domain communicates with the public service entity 122 in the public service domain via a public service entity and a public service entity interface (Mcc interface).
在oneM2M系统中,所有的实体(例如AE、CSE、数据等)都可以以资源的形式表示。资源结构详细定义了资源的表示方式,同时定义了获取这些资源的方式。在oneM2M系统中,位于CSE基础资源结构下的接入点(英文:Point of Access,简称:PoA)属性中保存了底层网络服务实体NSE支持的当前使用的接入网的接入点信息。该PoA属性中保存的接入点信息能够根据底层接入网的变化进行更新,以实现接入网的切换。 In the oneM2M system, all entities (such as AE, CSE, data, etc.) can be represented in the form of resources. The resource structure defines in detail how the resources are represented and defines how to get them. In the oneM2M system, the access point (English: Point of Access, PoA) attribute located in the CSE basic resource structure stores the access point information of the currently used access network supported by the underlying network service entity NSE. The access point information stored in the PoA attribute can be updated according to changes in the underlying access network to implement switching of the access network.
在物联网的未来发展中,oneM2M系统涵盖的应用场景将越来越广泛,业务需求也将更加多样性,许多网络设备有能力兼容多种底层接入网(例如3GPP、WiFi和BlueTooth等),而不同底层接入网的服务能力和数据承载机制存在很大差异,这就需要oneM2M系统应当有能力根据应用需求和兼容的底层网络选择最优选的接入网。In the future development of the Internet of Things, oneM2M system will cover more and more application scenarios, and business requirements will be more diverse. Many network devices have the ability to be compatible with multiple underlying access networks (such as 3GPP, WiFi, and BlueTooth). The service capabilities and data bearer mechanisms of different underlying access networks vary widely. This requires that the oneM2M system should have the ability to select the most preferred access network based on application requirements and compatible underlying networks.
上述CSE基础资源结构下的PoA属性中保存了底层网络服务实体支持的当前接入网的接入点信息,虽然保障了底层网络接入的基本要求,但是当底层网络服务实体同时支持多个接入网时,公共服务实体无法自主的从该多个接入网中选择一个目标接入网。具体地,底层网络服务实体支持多个接入网是指当前有多个接入网可以接入到该底层网络服务实体。The PoA attribute of the above CSE basic resource structure stores the access point information of the current access network supported by the underlying network service entity. Although the basic requirements of the underlying network access are guaranteed, when the underlying network service entity supports multiple connections at the same time, When entering the network, the public service entity cannot independently select a target access network from the multiple access networks. Specifically, supporting the multiple access networks by the underlying network service entity means that a plurality of access networks currently have access to the underlying network service entity.
本发明实施例提供的选择接入网的方法通过获取oneM2M系统中底层网络服务实体的底层网络信息,确定底层网络服务实体所支持的多个接入网中每个接入网的代价,从而能够从多个接入网中选择代价最小的接入网作为目标接入网,通过上述方式,可以灵活地解决oneM2M系统中多个接入网的选择问题。图2是本发明一个实施例的oneM2M系统中选择接入网的方法的流程图。图2的方法200由oneM2M系统中选择接入网的装置执行,具体地,可以是公共服务实体(例如图1中公共服务实体121或公共服务实体122)执行。The method for selecting an access network provided by the embodiment of the present invention determines the cost of each of the plurality of access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby enabling The access network with the least cost is selected from the multiple access networks as the target access network. In the above manner, the selection problem of multiple access networks in the oneM2M system can be flexibly solved. 2 is a flow chart of a method of selecting an access network in a oneM2M system according to an embodiment of the present invention. The method 200 of FIG. 2 is performed by a device in the oneM2M system that selects an access network, and in particular, may be performed by a public service entity (eg, the public service entity 121 or the public service entity 122 in FIG. 1).
210,获取底层网络服务实体的底层网络信息,该底层网络服务实体支持多个接入网,该多个接入网采用不同的接入网技术,其中,该底层网络信息包括多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息。210. Obtain underlying network information of an underlying network service entity, where the underlying network service entity supports multiple access networks, where the multiple access networks adopt different access network technologies, where the underlying network information includes multiple access networks. The access network identifier of each access network and the access point information of each access network.
220,根据底层网络信息,确定多个接入网中的每个接入网的代价。220. Determine, according to the underlying network information, a cost of each of the plurality of access networks.
230,从多个接入网中选择代价最小的接入网作为目标接入网。230. Select the least expensive access network from the multiple access networks as the target access network.
240,将接入点PoA属性中保存的当前使用的接入网的接入点信息更新为所述目标接入网的接入点信息,其中,所述PoA属性位于公共服务实体CSE的CSE基础资源下。240. Update the access point information of the currently used access network saved in the PoA attribute of the access point to the access point information of the target access network, where the PoA attribute is located at the CSE basis of the public service entity CSE. Under the resources.
本发明实施例提供的选择接入网的方法通过获取oneM2M系统中底层网络服务实体的底层网络信息,确定底层网络服务实体所支持的多个接入网中每个接入网的代价,从而能够从多个接入网中选择代价最小的接入网作为目标接入网,通过上述方式,可以灵活地解决oneM2M系统中多个接入网的 选择问题。应理解,图2所示的方法可以在AE发起应用请求时发生,也可以在AE发起应用请求之前发生,本发明不作限制。The method for selecting an access network provided by the embodiment of the present invention determines the cost of each of the plurality of access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby enabling The least expensive access network is selected from the plurality of access networks as the target access network, and the foregoing manner can flexibly solve multiple access networks in the oneM2M system. Choose the problem. It should be understood that the method shown in FIG. 2 may occur when the AE initiates an application request, or may occur before the AE initiates an application request, which is not limited in the present invention.
在步骤210中,上述底层网络信息包括所述多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息。具体而言,可以通过在CSE基础资源下创建底层网络服务实体资源NSE来表示底层网络服务实体的底层网络信息。如图3所示,在CSE基础资源下创建NSE资源,该NSE资源包括表示每个接入网中第i个接入网的网络信息的子资源NSEi(第i个接入网可以表示底层网络中任一个接入网)。上述NSEi资源下又包括第i个接入网的接入网标识(NetworkIDi)属性,该NetworkIDi属性用来表示第i个接入网的接入网标识;该子资源NSEi下还包括第i个接入网的接入点(PoAi)属性,该PoAi属性用来表示第i个接入网的接入点信息。具体地,每个接入网的接入点信息是指该每个接入网用于接入CSE时所需的物理地址列表,因此PoAi属性用来表示第i个接入网的接入点信息意味着该PoAi属性中记录了该第i个接入网的物理地址列表。例如,当接入网为蓝牙网络时,对应的是该蓝牙接入网的Mac地址,当接入网为WIFI时,对应的是该WIFI接入网的IP地址。应理解,该子资源NSEi除了包含NetworkIDi属性和PoAi属性之外,还可以包括其它的资源和/或属性,依此类推其它接入网的资源形式,本发明不局限于此。In step 210, the underlying network information includes an access network identifier of each of the plurality of access networks and access point information of each access network. Specifically, the underlying network information of the underlying network service entity may be represented by creating an underlying network service entity resource NSE under the CSE basic resource. As shown in FIG. 3, an NSE resource is created under the CSE basic resource, where the NSE resource includes a sub-resource NSE i indicating network information of the i-th access network in each access network (the i-th access network may represent the bottom layer) Any access network in the network). The NSE i resource further includes an access network identifier (NetworkID i ) attribute of the i-th access network, where the NetworkID i attribute is used to indicate an access network identifier of the i-th access network; and the sub-resource NSE i is further The access point (PoA i ) attribute of the i-th access network is included, and the PoA i attribute is used to indicate access point information of the i-th access network. Specifically, the access point information of each access network refers to a physical address list required for each access network to access the CSE, so the PoA i attribute is used to indicate the access of the i-th access network. The point information means that the physical address list of the i-th access network is recorded in the PoA i attribute. For example, when the access network is a Bluetooth network, it corresponds to the Mac address of the Bluetooth access network. When the access network is WIFI, it corresponds to the IP address of the WIFI access network. It should be understood that the sub-resource NSE i may include other resources and/or attributes in addition to the NetworkID i attribute and the PoA i attribute, and the like, and the resource form of other access networks, and the present invention is not limited thereto.
可选地,作为本发明一个实施例,在步骤210中获取底层网络服务实体中的底层网络信息时,可按照如下方式执行:获取每个接入网的接入网标识;向底层网络服务实体发送每个接入网的资源请求消息,其中,每个接入网的资源请求消息包含该每个接入网的接入网标识,该每个接入网的资源请求消息用于请求底层网络服务实体返回该每个接入网的接入点信息;接收所述底层网络服务实体返回的所述每个接入网的所述接入点信息;在所述CSE基础资源下创建所述每个接入网的NSE资源,并将所述每个接入网的接入网标识和所述每个接入网的接入点信息保存在所述每个接入网的NSE资源中。具体地,向NSE发送第i个接入网的资源请求消息Requesti,该资源请求消息Requesti中包含该第i个接入网的接入网标识NetworkIDi,该资源请求消息Requesti用于请求NSE返回第i个接入网对应的接入点信息。按照上述方式,将NSE中每个接入网的资源请求消息以遍历的方式发送一遍,就可以得到每个接入网的接入点信息,建立完成上述NSE资源,亦即获取上述底 层网络服务实体中的底层网络信息。Optionally, as an embodiment of the present invention, when obtaining the underlying network information in the underlying network service entity in step 210, the method may be performed as follows: acquiring an access network identifier of each access network; and providing an underlying network service entity to the underlying network service entity Sending a resource request message of each access network, where the resource request message of each access network includes an access network identifier of each access network, and the resource request message of each access network is used to request an underlying network The serving entity returns the access point information of each access network; receiving the access point information of each access network returned by the underlying network service entity; creating the each under the CSE basic resource NSE resources of the access network, and the access network identifier of each access network and the access point information of each access network are stored in the NSE resources of each access network. Specifically, the resource request message Request i of the i-th access network is sent to the NSE, where the resource request message Request i includes the access network identifier NetworkID i of the i-th access network, and the resource request message Request i is used for The NSE is requested to return the access point information corresponding to the i-th access network. In the above manner, the resource request message of each access network in the NSE is sent once in a traversal manner, and the access point information of each access network is obtained, and the foregoing NSE resources are established, that is, the foregoing network service is obtained. The underlying network information in the entity.
可选地,作为本发明一个实施例,根据所述底层网络信息,确定多个接入网中的每个接入网的代价包括:根据所述底层网络信息中的每个接入网的接入网标识确定所述每个接入网的优先级;根据所述每个接入网的优先级确定所述每个接入网的代价,所述每个接入网的优先级越高对应的代价越小;在所述CSE基础资源下创建所述每个接入网的接入点策略PoAPolicy资源,并将所述每个接入网的接入网标识和所述每个接入网的代价保存在所述每个接入网的接入点策略资源中。Optionally, as an embodiment of the present invention, determining, according to the underlying network information, a cost of each of the multiple access networks, including: receiving, according to each access network in the underlying network information The access identifier determines the priority of each access network; the cost of each access network is determined according to the priority of each access network, and the priority of each access network is higher. The lower the cost; the access point policy PoAPolicy resources of each access network are created under the CSE basic resources, and the access network identifiers of each access network and each of the access networks are The cost is stored in the access point policy resource of each access network.
具体地,如图3所示,可以在CSE基础资源下创建接入点策略(PoAPolicy)资源来表示每个接入网的代价,以便于根据每个接入网的接入点代价选择代价最小的接入网作为目标接入网。该PoAPolicy资源包括表示每个接入网中第i个接入网策略(PoAPolicyi)的子资源,该PoAPolicyi资源下又包括用于表示第i个接入网的接入网标识NetworkIDi属性以及该第i个接入网的代价函数值(FunctionValuei)属性,该FunctionValuei属性用于表示底层网络中第i个接入网的代价大小。Specifically, as shown in FIG. 3, an access point policy (PoAPolicy) resource may be created under the CSE basic resource to represent the cost of each access network, so as to select the minimum cost according to the access point cost of each access network. The access network serves as the target access network. The PoAPolicy resource includes a sub-resource indicating an i-th access network policy (PoAPolicy i ) in each access network, and the PoAPolicy i resource further includes an access network identifier NetworkID i attribute for indicating the i-th access network. And a cost function value (FunctionValue i ) attribute of the i-th access network, where the FunctionValue i attribute is used to indicate a cost size of the i-th access network in the underlying network.
应理解,该子资源PoAPolicyi下除了包含NetworkIDi属性与FunctionValuei属性,还可以包括其它的资源和/或属性,依此类推其每个接入网的资源形式,本发明不局限于此。It should be understood that the sub-resource PoAPolicy i may include other resources and/or attributes in addition to the NetworkID i attribute and the FunctionValue i attribute, and the like, and the resource form of each access network, and the present invention is not limited thereto.
具体地,在上述资源结构基础上,根据NetworkIDi属性可以确定第i个接入网的优先级,通过该第i个接入网的优先级可以得到第i个接入网的代价,该第i个接入网的代价大小可以通过等价变换以具体数值的形式保存在PoAPolicyi资源下的FunctionValuei属性中,从而确定该第i个接入网的PoAPolicyi资源。应理解,接入网的优先级越高,则该接入网的代价越小;反之,接入网的优先级越低则对应的接入网代价越大。按照上述方式对NSE中每个接入网以遍历的方式处理一遍,就可以得到该CSE基础资源下每个接入网的接入点策略资源,亦即得到该CSE基础资源结构下的PoAPolicy资源,通过比较该PoAPolicy资源中每个接入网的代价函数值,可以选择代价最小的接入网作为目标接入网。Specifically, based on the foregoing resource structure, the priority of the i-th access network may be determined according to the NetworkID i attribute, and the cost of the i-th access network may be obtained by the priority of the i-th access network, where the The cost of the i-access network may be stored in the FunctionValue i attribute of the PoAPolicy i resource by an equivalent transformation to determine the PoAPolicy i resource of the i-th access network. It should be understood that the higher the priority of the access network, the lower the cost of the access network; conversely, the lower the priority of the access network, the greater the cost of the corresponding access network. According to the foregoing manner, each access network in the NSE is processed in a traversal manner, and the access point policy resource of each access network in the CSE basic resource is obtained, that is, the PoAPolicy resource in the CSE basic resource structure is obtained. By comparing the cost function value of each access network in the PoAPolicy resource, the access network with the lowest cost can be selected as the target access network.
应理解,上述根据每个接入网的优先级确定每个接入网的代价包括多种方式,例如但不局限于:可以根据每个接入网的默认设置的优先级参数得到每个接入网的代价;还可以是根据每个接入网的特征信息确定每个接入网的 优先级,继而根据该每个接入网的优先级得到每个接入网的代价,本发明不局限于此。It should be understood that determining the cost of each access network according to the priority of each access network includes multiple manners, such as, but not limited to, obtaining each connection according to a priority parameter set by default of each access network. The cost of accessing the network; or determining the access network according to the characteristic information of each access network Priority, and then the cost per access network is obtained according to the priority of each access network, and the present invention is not limited thereto.
可选地,作为本发明一个实施例,如图3所示,在CSE基础资源下增加当前接入点策略(activePoAPolicy)资源来表示当前使用的接入网的接入点策略,该activePoAPolicy指示应用何种策略(比如,根据接入网的时延参数或者优先级参数)确定接入网的代价,该activePoAPolicy资源与上述PoAPolicy资源关联。Optionally, as an embodiment of the present invention, as shown in FIG. 3, an active access point policy (activePoAPolicy) resource is added to the CSE basic resource to indicate an access point policy of the currently used access network, where the activePoAPolicy indicates an application. Which policy (for example, according to the delay parameter or priority parameter of the access network) determines the cost of the access network, and the activePoAPolicy resource is associated with the above PoAPolicy resource.
可选地,作为本发明一个实施例,根据底层网络信息,确定多个接入网中的每个接入网的代价包括:根据所述底层网络信息中的所述每个接入网的接入点信息确定所述每个接入网的时延;根据所述每个接入网的时延确定所述每个接入网的代价,所述每个接入网的时延越小对应的代价越小;在所述CSE基础资源下创建所述每个接入网的PoAPolicy资源,并将所述每个接入网的接入网标识和所述每个接入网的代价保存在所述每个接入网的PoAPolicy资源中。Optionally, as an embodiment of the present invention, determining, according to the underlying network information, a cost of each of the multiple access networks, including: receiving, according to the access network in the underlying network information The in-point information determines the delay of each access network; the cost of each access network is determined according to the delay of each access network, and the delay of each access network is smaller. The lower the cost; the PoAPolicy resources of each access network are created under the CSE basic resources, and the access network identifier of each access network and the cost of each access network are saved in The PoAPolicy resource of each access network.
具体地,如图3所示,可以在CSE基础资源下创建接入点策略(PoAPolicy)资源来表示底层网络的每个接入网的代价,以便于根据每个接入网的接入点代价选择代价最小的接入网作为目标接入网。在图3中,该PoAPolicy资源包括表示每个接入网中第i个接入网策略(PoAPolicyi)的子资源,该PoAPolicyi资源下又包括用于表示第i个接入网的接入网标识NetworkIDi属性以及该第i个接入网的代价函数值(FunctionValuei)属性,该FunctionValuei属性用于表示底层网络中第i个接入网的代价大小,Specifically, as shown in FIG. 3, an access point policy (PoAPolicy) resource may be created under the CSE basic resource to represent the cost of each access network of the underlying network, so as to facilitate the access point cost according to each access network. The access network with the lowest cost is selected as the target access network. In FIG. 3, the PoAPolicy resource includes a sub-resource representing an i-th access network policy (PoAPolicy i ) in each access network, and the PoAPolicy i resource further includes an access for indicating an i-th access network. The network identifier NetworkID i attribute and the cost function value (FunctionValue i ) attribute of the i-th access network, the FunctionValue i attribute is used to indicate the cost of the i-th access network in the underlying network.
应理解,该子资源PoAPolicyi下除了包含NetworkIDi属性与FunctionValuei属性,还可以包括其它的资源和/或属性,依此类推其每个接入网的资源形式,本发明不局限于此。It should be understood that the sub-resource PoAPolicy i may include other resources and/or attributes in addition to the NetworkID i attribute and the FunctionValue i attribute, and the like, and the resource form of each access network, and the present invention is not limited thereto.
具体地,根据NSEi资源或PoAPolicyi资源中的表示第i个接入网的接入网标识NetworkIDi属性,以及NSEi资源中的表示第i个接入网的接入点PoAi属性,可以得到第i个接入网的时延,通过该第i个接入网的时延确定该第i个接入网的代价,并将该代价进行等价变化以数值的形式保存在在PoAPolicyi资源下的FunctionValuei属性中。按照上述方式,对该底层网络中每个接入网以遍历的方式处理一遍,就可以得到NSE中每个接入网的时延,依据每个接入网的时延得到每个接入网的代价,并进行等价代换以数值 的形式保存在每个接入网的代价函数值属性当中,从而可以得到该CSE基础资源下的PoAPolicy资源,通过比较该PoAPolicy资源中每个接入网的代价,选择代价最小的接入网作为目标接入网。Specifically, the network ID i attribute indicating the access network identifier of the i-th access network in the NSE i resource or the PoAPolicy i resource, and the PoA i attribute indicating the access point of the i-th access network in the NSE i resource, Obtaining a delay of the i-th access network, determining a cost of the i-th access network by using a delay of the i-th access network, and performing an equivalent change of the cost in a value form in the PoAPolicy In the FunctionValue i property under the i resource. According to the above manner, each access network in the underlying network is processed in a traversal manner, and the delay of each access network in the NSE can be obtained, and each access network is obtained according to the delay of each access network. The cost, and the equivalent substitution is stored in the value function value of each access network in the form of a value, so that the PoAPolicy resource under the CSE basic resource can be obtained by comparing each access network in the PoAPolicy resource. The cost of choosing the least expensive access network as the target access network.
应理解,当接入网的时延越大时,该接入网的代价越大;反之,该接入网的时延越小,则该接入网的代价越小。It should be understood that when the delay of the access network is larger, the cost of the access network is larger; conversely, the smaller the delay of the access network is, the smaller the cost of the access network is.
可选地,作为本发明一个实施例,在确定每个接入网的时延时,可以按照以下步骤执行:向所述每个接入网分别发送测试数据包;接收所述每个接入网对所述测试数据包的响应消息,以确定所述测试数据包与所述每个接入网之间的响应时间;根据所述测试数据包与所述每个接入网的响应时间确定所述每个接入网的时延。Optionally, as an embodiment of the present invention, determining a time delay of each access network may be performed according to the following steps: separately sending test data packets to each access network; receiving each access Responding to the test data packet by the network to determine a response time between the test data packet and each of the access networks; determining according to the response time of the test data packet and each access network The delay of each access network.
具体地,根据第i个接入网的接入点PoAi属性,向第i个接入网发送测试数据包;接收第i个接入网对该测试数据包的响应消息,以确定该测试数据包与第i个接入网之间的响应时间,该响应时间是指从发出该测试数据包到接收到该第i个接入网对该测试数据包的响应消息的时间,根据该第i个接入网对测试数据包的响应时间则可以确定该第i个接入网的时延。按照上述方式,对该底层网络中每个接入网以遍历的方式处理一遍,可以得到NSE中每个接入网的时延,依据每个接入网的时延确定每个接入网的代价,并进行等价代换以数值的形式保存在每个接入网的代价函数值资源当中,从而可以得到该CSE基础资源下的PoAPolicy资源,通过比较该PoAPolicy资源中每个接入网的代价,选择代价最小的接入网作为目标接入网。Specifically, the test data packet is sent to the i th access network according to the access point PoA i attribute of the i th access network; and the response message of the i th access network to the test data packet is received to determine the test. The response time between the data packet and the i-th access network, the response time is the time from the issuance of the test data packet to the receipt of the response message of the i-th access network to the test data packet, according to the The response time of the i access network to the test data packet can determine the delay of the i th access network. According to the above manner, each access network in the underlying network is processed in a traversal manner, and the delay of each access network in the NSE can be obtained, and each access network is determined according to the delay of each access network. The cost and the equivalent cost are stored in the value function value resource of each access network, so that the PoAPolicy resource under the CSE basic resource can be obtained by comparing each access network of the PoAPolicy resource. At the cost, the access network with the lowest cost is selected as the target access network.
对于步骤240,具体地保存目标接入网的接入点信息过程如下例如,接入点PoA属性中保存的是当前接入CSE的第m个接入网的第m个接入点PoAm属性中的接入点信息,通过比较底层网络服务实体所支持的全部多个接入网的代价之后,将选择代价最小的第n个接入网作为目标接入网,该第n个接入网的接入点信息保存在第n个接入点PoAn属性中,通过将接入点PoA属性中的信息更新为PoAn属性中的接入点信息,以接入第n个接入网作为目标接入网,应理解,本发明不限于此。For step 240, the process of specifically storing the access point information of the target access network is as follows. For example, the PoA attribute stored in the access point PoA attribute is the mth access point PoA m attribute of the mth access network currently accessing the CSE. In the access point information, after comparing the costs of all the multiple access networks supported by the underlying network service entity, the nth access network with the least cost is selected as the target access network, and the nth access network The access point information is stored in the nth access point PoA n attribute, and the nth access network is accessed by updating the information in the PoA attribute of the access point to the access point information in the PoA n attribute. The target access network, it should be understood that the present invention is not limited thereto.
可选地,作为本发明一个实施例,从所述多个接入网中选择代价最小的接入网作为目标接入网包括:在底层网络中只存在一个接入网(例如,第i个接入网),NSE资源中只存在第i个接入网的子资源NSEi时,那么将该唯一一个子资源NSEi下的PoAi属性中保存的接入点信息更新到接入点PoA 属性中,以选择该唯一一个接入网作为目标接入网。Optionally, as an embodiment of the present invention, selecting the least expensive access network from the multiple access networks as the target access network includes: only one access network exists in the underlying network (for example, the i th An access network, when only the sub-resource NSE i of the i-th access network exists in the NSE resource, the access point information stored in the PoA i attribute of the unique sub-resource NSE i is updated to the access point PoA. In the attribute, the only access network is selected as the target access network.
上文中结合图1至图3,详细描述了根据本发明实施例的选择接入网的方法,下面将结合图4至图5,从应用实体、公共服务实体、底层网络服务实体交互的角度描述根据本发明实施例的选择接入网的方法。The method for selecting an access network according to an embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 3, and will be described from the perspective of interaction between an application entity, a public service entity, and an underlying network service entity in conjunction with FIG. 4 to FIG. A method of selecting an access network in accordance with an embodiment of the present invention.
图4是本发明一个实施例的oneM2M系统中选择接入网的示意性流程图,示出了本地AE或CSE(图中AE/CSE410)与远程CSE420进行数据传输时的示意性流程图。4 is a schematic flow chart of selecting an access network in a oneM2M system according to an embodiment of the present invention, showing a schematic flow chart when a local AE or CSE (AE/CSE 410 in the figure) and a remote CSE 420 perform data transmission.
401,获取底层网络信息。具体地,获取底层网络服务实体的底层网络信息,底层网络服务实体支持多个接入网,底层网络信息包括多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息。401. Obtain the underlying network information. Specifically, the underlying network information of the underlying network service entity is obtained, and the underlying network service entity supports multiple access networks, and the underlying network information includes an access network identifier and each access of each of the multiple access networks. Network access point information.
402,确定底层网络中每个接入网的代价函数值。具体地,可以根据底层网络信息中的每个接入网的接入网标识确定所述每个接入网的优先级,继而根据每个接入网的优先级确定每个接入网的代价,接入网的优先级越高对应的代价越小;或者可以根据底层网络信息中的每个接入网的接入点信息确定每个接入网的时延,继而根据每个接入网的时延确定每个接入网的代价,接入网的时延越小对应的代价越小。402. Determine a cost function value of each access network in the underlying network. Specifically, the priority of each access network may be determined according to an access network identifier of each access network in the underlying network information, and then the cost of each access network is determined according to the priority of each access network. The higher the priority of the access network, the lower the cost; or the delay of each access network may be determined according to the access point information of each access network in the underlying network information, and then according to each access network The delay determines the cost of each access network, and the smaller the delay of the access network, the lower the cost.
403,选择目标接入网。具体包括:从多个接入网中选择代价最小的接入网作为目标接入网;保存目标接入网的接入点信息,以便于接入目标接入网。403. Select a target access network. Specifically, the method includes: selecting, from a plurality of access networks, the least expensive access network as the target access network; and storing the access point information of the target access network, so as to facilitate access to the target access network.
404,数据传输。本地AE与远程CSE之间通过Mca接口进行数据的传输,本地CSE与远程CSE之间通过Mcc接口进行数据的传输。404, data transmission. The local AE and the remote CSE transmit data through the Mca interface, and the local CSE and the remote CSE transmit data through the Mcc interface.
应理解,在本地AE向本地CSE进行数据传输时,不需要重新选择接入网,直接通过Mca接口进行数据的传输。It should be understood that when the local AE performs data transmission to the local CSE, it is not necessary to re-select the access network, and the data is directly transmitted through the Mca interface.
图5是本发明另一个实施例的oneM2M系统中选择接入网的示意性流程图,示出了本地AE或CSE(图中AE/CSE510)与远程AE530进行数据传输的示意性流程图。FIG. 5 is a schematic flowchart of selecting an access network in a oneM2M system according to another embodiment of the present invention, showing a schematic flowchart of data transmission between a local AE or CSE (AE/CSE 510 in the figure) and a remote AE 530.
501,获取底层网络信息。具体地,获取底层网络服务实体的底层网络信息,底层网络服务实体支持多个接入网,底层网络信息包括多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息。501. Obtain the underlying network information. Specifically, the underlying network information of the underlying network service entity is obtained, and the underlying network service entity supports multiple access networks, and the underlying network information includes an access network identifier and each access of each of the multiple access networks. Network access point information.
502,确定底层网络中每个接入网的代价函数值。具体地,可以根据底层网络信息中的每个接入网的接入网标识确定所述每个接入网的优先级,继 而根据每个接入网的优先级确定每个接入网的代价,接入网的优先级越高对应的代价越小;或者可以根据底层网络信息中的每个接入网的接入点信息确定每个接入网的时延,继而根据每个接入网的时延确定每个接入网的代价,接入网的时延越小对应的代价越小。502. Determine a cost function value of each access network in the underlying network. Specifically, the priority of each access network may be determined according to an access network identifier of each access network in the underlying network information, following The cost of each access network is determined according to the priority of each access network. The higher the priority of the access network, the lower the cost; or the access point of each access network in the underlying network information. The information determines the delay of each access network, and then determines the cost of each access network according to the delay of each access network. The smaller the delay of the access network, the lower the cost.
503,选择目标接入网。具体地,可从多个接入网中选择代价最小的接入网作为目标接入网,然后保存目标接入网的接入点信息,以便于接入目标接入网。503. Select a target access network. Specifically, the least expensive access network may be selected from the multiple access networks as the target access network, and then the access point information of the target access network is saved to facilitate access to the target access network.
504,数据传输。本地AE与远程CSE之间通过Mca接口进行数据的传输,本地CSE与远程CSE之间通过Mcc接口进行数据的传输。504, data transmission. The local AE and the remote CSE transmit data through the Mca interface, and the local CSE and the remote CSE transmit data through the Mcc interface.
505,重定位过程。当数据最后到达AE注册的CSE后,CSE执行PoA的重定位策略,最终将数据发送到远端。505, relocation process. After the data finally arrives at the AE registered CSE, the CSE performs the PoA relocation strategy and finally sends the data to the remote end.
图6是本发明另一个实施例的oneM2M系统中选择接入网过程的示意性流程图,示出了位于用户服务域的手机用户向公共服务域的服务器上传视频的实施例。6 is a schematic flowchart of a process of selecting an access network in a oneM2M system according to another embodiment of the present invention, showing an embodiment in which a mobile phone user located in a user service domain uploads a video to a server of a public service domain.
612,手机用户发起视频上传请求AE611发送给本地CSE613,该过程的数据传输通过Mca接口实现。612. The mobile phone user initiates a video upload request AE611 and sends the request to the local CSE 613. The data transmission of the process is implemented by using the Mca interface.
614,获取底层网络服务实体NSE615同时支持WIFI网络和3GPP网络两个接入网后,CSE613通过Mcn接口向本地NSE615分别发送WIFI网络和3GPP网络的资源请求消息,WIFI网络的资源请求消息中包含WIFI接入网的标识,3GPP网络的资源请求消息中包含3GPP接入网的标识;614. After obtaining the underlying network service entity NSE 615 and supporting both the WIFI network and the 3GPP network access network, the CSE 613 sends the WIFI network and the 3GPP network resource request message to the local NSE 615 through the Mcn interface, and the WIFI network resource request message includes the WIFI. The identifier of the access network, where the resource request message of the 3GPP network includes the identifier of the 3GPP access network;
616,NSE615接收到CSE613发送的资源请求消息后,向CSE615返回WIFI和3GPP网络各自对应的接入点信息,其中,WIFI网络对应的接入点信息中包含了WIFI接入网的Mac地址,3GPP网络中对应的接入点信息包含了移动台国际用户识别码号号码MSISDN。616. After receiving the resource request message sent by the CSE 613, the NSE 615 returns the access point information corresponding to the WIFI and the 3GPP network to the CSE 615, where the access point information corresponding to the WIFI network includes the MAC address of the WIFI access network, and the 3GPP The corresponding access point information in the network includes the mobile station international subscriber identification number number MSISDN.
经过614和616两个步骤,CSE613获得了底层网络的底层网络信息,即获知了底层网络中每个接入网的接入网标识和每个接入网的接入点信息。具体地,创建了WIFI网络的子资源,该WIFI网络的子资源NSEWIFI中又包括WIFI网络的接入网标识NetworkIDWIFI属性和与其对应的接入点PoAWIFI属性;以及创建3GPP网络的子资源NSE3GPP,该3GPP网络的子资源下包括3GPP网络的接入网标识NetworkID3GPP属性和与其对应的接入点PoA3GPP属性。 After two steps of 614 and 616, the CSE 613 obtains the underlying network information of the underlying network, that is, the access network identifier of each access network in the underlying network and the access point information of each access network are obtained. Specifically, a sub-resource of the WIFI network is created, and the sub-resource NSE WIFI of the WIFI network further includes an access network identifier of the WIFI network, a NetworkID WIFI attribute, and a corresponding PoA WIFI attribute of the access point; and a sub-resource for creating a 3GPP network. NSE 3GPP , the sub-resource of the 3GPP network includes an access network identifier of the 3GPP network, a NetworkID 3GPP attribute, and an access point PoA 3GPP attribute corresponding thereto.
621,从WIFI网络和3GPP网络两个接入网中选择代价最小的接入网作为目标接入网;保存所述目标接入网的接入点信息,以便于接入所述目标接入网。621. Select the least expensive access network from the two access networks of the WIFI network and the 3GPP network as the target access network, and save the access point information of the target access network, so as to access the target access network. .
可选地,从WIFI网络和3GPP网络两个接入网中选择代价最小的接入网作为目标接入网时,根据WIFI网络的接入网标识NetworkIDWIFI属性以及3GPP网络的接入网标识NetworkID3GPP属性,确定WIFI网络和3GPP网络的优先级,例如WIFI网络的优先级为1,3GPP网络的优先级为2,WIFI网络的代价将经过等价变化以数值的形式保存在FunctionValueWIFI属性中,3GPP网络的代价将经过等价变化以数值的形式保存在FunctionValue3GPP属性中,那么比较FunctionValueWIFI与FunctionValue3GPP中的具体函数值,将得到WIFI网络的代价小于3GPP网络的代价,从而确定WIFI网络为目标接入网。Optionally, when the least cost access network is selected from the two access networks of the WIFI network and the 3GPP network as the target access network, the network ID WIFI attribute of the access network identifier of the WIFI network and the access network identifier of the 3GPP network are selected. The 3GPP attribute determines the priority of the WIFI network and the 3GPP network. For example, the priority of the WIFI network is 1, and the priority of the 3GPP network is 2. The cost of the WIFI network is stored in the FunctionValue WIFI attribute in the form of a numerical value by equivalent change. The cost of the 3GPP network will be stored in the FunctionValue 3GPP attribute as a value change. Then comparing the specific function values in the FunctionValue WIFI and FunctionValue 3GPP , the cost of the WIFI network will be less than the cost of the 3GPP network, thus determining the WIFI network as Target access network.
可选地,从WIFI网络和3GPP网络两个接入网中选择代价最小的接入网作为目标接入网时,根据WIFI网络的接入点PoAWIFI属性以及3GPP网络的接入点PoA3GPP属性,分别向WIFI网络和3GPP网络发送测试数据包,接收WIFI网络和3GPP网络各自对测试数据包的响应消息,以确定该测试数据包分别与WIFI网络和3GPP网络之间的响应时间,进而得到WIFI网络与3GPP网络的各自时延,WIFI网络的时延将经过等价变化以数值的形式保存在FunctionValueWIFI属性中,3GPP网络的时延将经过等价变化以数值的形式保存在FunctionValue3GPP属性中,那么比较FunctionValueWIFI与FunctionValue3GPP中的具体函数值,将得到WIFI网络的代价小于3GPP网络的代价,从而确定WIFI网络为目标接入网。Optionally, when selecting the least expensive access network from the WIFI network and the 3GPP network as the target access network, according to the access point PoA WIFI attribute of the WIFI network and the access point PoA 3GPP attribute of the 3GPP network Sending test data packets to the WIFI network and the 3GPP network respectively, and receiving response messages of the WIFI network and the 3GPP network to the test data packets respectively, to determine the response time between the test data packets and the WIFI network and the 3GPP network, and thereby obtaining the WIFI. The delay of the network and the 3GPP network, the delay of the WIFI network will be stored in the FunctionValue WIFI attribute in the form of a numerical value, and the delay of the 3GPP network will be stored in the FunctionValue 3GPP attribute in the form of a numerical value. Then, comparing the specific function values in FunctionValue WIFI and FunctionValue 3GPP , the cost of the WIFI network is less than the cost of the 3GPP network, thereby determining that the WIFI network is the target access network.
确定WIFI网络为目标接入网后,将接入网PoA属性中的接入网信息更新为WIFI网络的PoAWIFI属性中的接入点信息,以便于接入该WIFI网络。After determining that the WIFI network is the target access network, the access network information in the PoA attribute of the access network is updated to the access point information in the PoA WIFI attribute of the WIFI network, so as to access the WIFI network.
623,接入WIFI网络后,服务器接收到来自用户的数据包,解包并将信息移交CSE624处理。623. After accessing the WIFI network, the server receives the data packet from the user, unpacks the packet, and transfers the information to the CSE 624 for processing.
625,执行PoA重定位策略,提取接收到的视频信息,经过鉴权后移交视频接收应用响应。625. Perform a PoA relocation policy, extract the received video information, and after the authentication, hand over the video receiving application response.
上文中结合图1至图6,详细描述了根据本发明实施例的选择接入网的方法,下面将结合图6至图7,详细描述根据本发明实施例的oneM2M系统中选择接入网的装置。 The method for selecting an access network according to an embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 6, and the selection of an access network in a oneM2M system according to an embodiment of the present invention will be described in detail below with reference to FIG. 6 to FIG. Device.
图7是本发明一个实施例的oneM2M系统中的选择接入网的装置的示意性框图。如图7所示,该装置700包括:7 is a schematic block diagram of an apparatus for selecting an access network in a oneM2M system according to an embodiment of the present invention. As shown in FIG. 7, the apparatus 700 includes:
收发单元710,用于获取底层网络服务实体NSE的底层网络信息,NSE支持多个接入网,多个接入网采用不同的接入网技术,其中,底层网络信息包括多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息。The transceiver unit 710 is configured to obtain the underlying network information of the underlying network service entity NSE, where the NSE supports multiple access networks, and multiple access networks adopt different access network technologies, where the underlying network information includes multiple access networks. The access network identifier of each access network and the access point information of each access network.
确定单元720,用于根据底层网络信息,确定多个接入网中的每个接入网的代价。The determining unit 720 is configured to determine a cost of each of the multiple access networks according to the underlying network information.
选择单元730,用于根据从多个接入网中选择代价最小的接入网作为目标接入网。The selecting unit 730 is configured to select, as the target access network, an access network that selects the least cost from the plurality of access networks.
保存单元740,用于将接入点PoA属性中保存的当前使用的接入网的接入点信息更新为所述目标接入网的接入点信息,其中,所述PoA属性位于公共服务实体CSE的CSE基础资源下。The saving unit 740 is configured to update the access point information of the currently used access network saved in the access point PoA attribute to the access point information of the target access network, where the PoA attribute is located in a public service entity. CSE under the CSE basic resources.
本发明实施例提供的选择接入网的装置通过获取oneM2M系统中底层网络服务实体的底层网络信息,确定底层网络服务实体所支持的多个接入网中每个接入网的代价,从而能够从多个接入网中选择代价最小的接入网作为目标接入网,通过上述方式,可以灵活地解决oneM2M系统中多个接入网的选择问题。应理解,本发明实施例的oneM2M系统中选择接入网的装置可以是上述公共服务实体,本发明不限于此。The apparatus for selecting an access network provided by the embodiment of the present invention determines the cost of each of the plurality of access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby enabling The access network with the least cost is selected from the multiple access networks as the target access network. In the above manner, the selection problem of multiple access networks in the oneM2M system can be flexibly solved. It should be understood that the apparatus for selecting an access network in the oneM2M system of the embodiment of the present invention may be the above public service entity, and the present invention is not limited thereto.
可选地,作为本发明一个实施例,收发单元710用于获取底层网络服务实体的底层网络信息,上述底层网络信息包括所述多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息。具体而言,该收发单元710可以通过在CSE基础资源下创建底层网络服务实体NSE资源来表示底层网络服务实体的底层网络信息,该NSE资源下包括表示每个接入网中第i个接入网的网络信息的子资源NSEi(第i个接入网可以表示底层网络中任一个接入网)。上述NSEi子资源包括第i个接入网的接入网标识(NetworkIDi)属性,该NetworkIDi属性用来表示第i个接入网的接入网标识;该子资源NSEi下还包括第i个接入网的接入点PoAi属性,该PoAi属性用来表示第i个接入网的接入点信息。具体地,每个接入网的接入点信息是指该每个接入网用于接入CSE时所需的物理地址列表,因此PoAi属性用来表示第i个接入网的接入点信息是指该PoAi属性中记录了该第i个接入网的物理地址列表。例如,当接入网为蓝牙网络时,该物理地址列表记录的是该蓝牙接入网的Mac地址, 当接入网为WIFI网络时,该物理地址列表记录的是WIFI接入网的,对应的WIFI接入网的IP地址。应理解,该子资源NSEi下除了包含NetworkIDi属性和PoAi属性之外,还可以包括其它的资源和/或属性,依此类推其它接入网的资源形式,本发明不局限于此。Optionally, as an embodiment of the present invention, the transceiver unit 710 is configured to obtain the underlying network information of the underlying network service entity, where the underlying network information includes an access network identifier of each of the multiple access networks. And access point information for each access network. Specifically, the transceiver unit 710 can represent the underlying network information of the underlying network service entity by creating an underlying network service entity NSE resource under the CSE basic resource, where the NSE resource includes the ith access in each access network. The sub-resource NSE i of the network information of the network (the i-th access network may represent any one of the access networks in the underlying network). The NSE i sub-resource includes an access network identifier (NetworkID i ) attribute of the i-th access network, where the network ID i attribute is used to indicate an access network identifier of the i-th access network; the sub-resource NSE i further includes The access point PoA i attribute of the i-th access network, the PoA i attribute is used to indicate the access point information of the i-th access network. Specifically, the access point information of each access network refers to a physical address list required for each access network to access the CSE, so the PoA i attribute is used to indicate the access of the i-th access network. Point information means that the physical address list of the i-th access network is recorded in the PoA i attribute. For example, when the access network is a Bluetooth network, the physical address list records the Mac address of the Bluetooth access network. When the access network is a WIFI network, the physical address list records the WIFI access network, corresponding to The IP address of the WIFI access network. It should be understood that the sub-resource NSE i may include other resources and/or attributes in addition to the NetworkID i attribute and the PoA i attribute, and the like, and the resource form of other access networks, and the present invention is not limited thereto.
可选地,作为本发明一个实施例,收发单元710具体用于:获取每个接入网的所述接入网标识;向NSE发送每个接入网的资源请求消息,其中,每个接入网的资源请求消息包含每个接入网的接入网标识,该每个接入网的资源请求消息用于请求NSE返回每个接入网的接入点信息;接收NSE返回的每个接入网的接入点信息;在CSE基础资源下创建每个接入网的NSE资源,并将所述每个接入网的接入网标识和所述每个接入网的接入点信息保存在所述每个接入网的NSE资源中。Optionally, as an embodiment of the present invention, the transceiver unit 710 is specifically configured to: obtain the access network identifier of each access network; and send a resource request message of each access network to the NSE, where each connection The resource request message of the network includes an access network identifier of each access network, and the resource request message of each access network is used to request the NSE to return the access point information of each access network; and each of the returned NSEs is received. Access point information of the access network; creating NSE resources of each access network under the CSE basic resources, and identifying the access network of each access network and the access point of each access network Information is stored in the NSE resources of each access network.
具体地,向NSE发送第i个接入网的资源请求消息Requesti,该资源请求消息Requesti中包含该第i个接入网的接入网标识NetworkIDi,该资源请求消息Requesti用于请求NSE返回第i个接入网对应的接入点信息。按照上述方式,将NSE中每个接入网的资源请求消息以遍历的形式发送一遍,就可以得到与每个接入网的接入点信息,建立完成上述NSE资源,亦即获取上述底层网络服务实体中的底层网络信息。Specifically, the resource request message Request i of the i-th access network is sent to the NSE, where the resource request message Request i includes the access network identifier NetworkID i of the i-th access network, and the resource request message Request i is used for The NSE is requested to return the access point information corresponding to the i-th access network. In the above manner, the resource request message of each access network in the NSE is sent in the form of traversal, and the access point information of each access network is obtained, and the foregoing NSE resources are established, that is, the foregoing network is obtained. The underlying network information in the service entity.
可选地,作为本发明一个实施例,确定单元720具体用于:根据所述底层网络信息,确定多个接入网中的每个接入网的代价包括:根据底层网络信息中的每个接入网的接入网标识确定每个接入网的优先级;根据每个接入网的优先级确定每个接入网的代价,每个接入网的优先级越高对应的代价越小;在CSE基础资源下创建每个接入网的接入点策略PoAPolicy资源,并将每个接入网的接入网标识和每个接入网的代价保存在每个接入网的PoAPolicy资源中。Optionally, as an embodiment of the present invention, the determining unit 720 is specifically configured to: determine, according to the underlying network information, a cost of each of the multiple access networks, including: according to each of the underlying network information The access network identifier of the access network determines the priority of each access network; the cost of each access network is determined according to the priority of each access network, and the higher the priority of each access network, the higher the corresponding cost Small; create an access point policy PoAPolicy resource of each access network under the CSE basic resource, and save the access network identifier of each access network and the cost of each access network in the PoAPolicy of each access network. In the resource.
具体地,确定单元720可以在CSE基础资源下创建接入点策略(PoAPolicy)资源来表示底层网络的每个接入网的代价,以便于根据每个接入网的接入点代价选择代价最小的接入网作为目标接入网。该PoAPolicy资源下包括表示每个接入网中第i个接入网策略(PoAPolicyi)的子资源,该PoAPolicyi资源又包括用于表示第i个接入网的接入网标识NetworkIDi属性以及该第i个接入网的代价函数值(FunctionValuei)属性,该FunctionValuei属性用于表示底层网络中第i个接入网的代价大小, Specifically, the determining unit 720 can create an access point policy (PoAPolicy) resource under the CSE basic resource to represent the cost of each access network of the underlying network, so as to select the minimum cost according to the access point cost of each access network. The access network serves as the target access network. The PoAPolicy resource includes a sub-resource indicating an i-th access network policy (PoAPolicy i ) in each access network, and the PoAPolicy i resource further includes an access network identifier NetworkID i attribute for indicating the i-th access network. And a cost function value (FunctionValue i ) attribute of the i-th access network, where the FunctionValue i attribute is used to indicate a cost size of the i-th access network in the underlying network,
应理解,确定单元720创建的子资源PoAPolicyi下除了包含NetworkIDi属性与FunctionValuei属性,还可以包括其它的资源和/或属性,依此类推其每个接入网的资源形式,本发明不局限于此。It should be understood that the sub-resource PoAPolicy i created by the determining unit 720 may include other resources and/or attributes in addition to the NetworkID i attribute and the FunctionValue i attribute, and the like, and the resource form of each access network, the present invention does not Limited to this.
具体地,在上述资源结构基础上,确定单元720根据NetworkIDi属性中的接入网标识可以确定第i个接入网的优先级,通过该第i个接入网的优先级可以得到第i个接入网的代价,该第i个接入网的代价大小可以通过等价变换以具体数值的形式保存在PoAPolicyi资源下的FunctionValuei属性中,从而得到该第i个接入网的PoAPolicyi资源,应理解,当接入网的优先级越高,则该接入网的代价越小;反之,当接入网的优先级越低则对应的接入网代价越大。按照上述方式对NSE中每个接入网以遍历的形式处理一遍,就可以得到该CSE基础资源下每个接入网的接入点策略资源,亦即得到该CSE基础资源结构下的PoAPolicy资源,通过比较该PoAPolicy资源中每个接入网的代价函数值,可以选择代价最小的接入网作为目标接入网。Specifically, on the basis of the foregoing resource structure, the determining unit 720 can determine the priority of the i-th access network according to the access network identifier in the NetworkID i attribute, and obtain the i-th through the priority of the i-th access network. The cost of the access network, the cost of the i-th access network can be stored in the FunctionValue i attribute of the PoAPolicy i resource by the equivalent conversion in the form of a specific value, thereby obtaining the PoAPolicy of the i-th access network. i resources, it should be understood that when the priority of the access network is higher, the cost of the access network is smaller; conversely, the lower the priority of the access network, the greater the cost of the corresponding access network. According to the foregoing manner, each access network in the NSE is processed in a traversal manner, and the access point policy resource of each access network in the CSE basic resource is obtained, that is, the PoAPolicy resource in the CSE basic resource structure is obtained. By comparing the cost function value of each access network in the PoAPolicy resource, the access network with the lowest cost can be selected as the target access network.
应理解,确定单元720根据每个接入网的优先级确定每个接入网的代价包括多种方式,例如但不局限于:可以根据每个接入网的默认设置的优先级参数得到每个接入网的代价;还可以是根据每个接入网的特征信息确定每个接入网的优先级,继而根据该每个接入网的优先级得到每个接入网的代价,本发明不局限于此。It should be understood that the determining unit 720 determines the cost of each access network according to the priority of each access network, including, for example, but not limited to: a priority parameter may be obtained according to the default setting of each access network. The cost of each access network may be determined according to the characteristic information of each access network, and then the cost of each access network is obtained according to the priority of each access network. The invention is not limited to this.
可选地,作为本发明一个实施例,确定单元720还用于在CSE基础资源下增加当前接入点策略(activePoAPolicy)资源来表示当前使用的接入网的接入点策略,该activePoAPolicy指示应用何种策略(比如,根据接入网的时延参数或者优先级参数)确定接入网的代价,该activePoAPolicy资源与上述PoAPolicy资源关联。Optionally, as an embodiment of the present invention, the determining unit 720 is further configured to: add an active access point policy (activePoAPolicy) resource to the CSE basic resource to indicate an access point policy of the currently used access network, where the activePoAPolicy indicates an application. Which policy (for example, according to the delay parameter or priority parameter of the access network) determines the cost of the access network, and the activePoAPolicy resource is associated with the above PoAPolicy resource.
可选地,作为本发明一个实施例,选择单元730具体用于:根据底层网络信息中的每个接入网的接入点信息确定每个接入网的时延;根据每个接入网的时延确定每个接入网的代价,每个接入网的时延越小对应的代价越小;在CSE基础资源下创建每个接入网的PoAPolicy资源,并将每个接入网的接入网标识和每个接入网的代价保存在每个接入网的PoAPolicy资源中。具体地,选择单元730根据NSEi资源或PoAPolicyi资源中的表示第i个接入网的接入网标识NetworkIDi属性,以及NSEi资源中的表示第i个接入网的接入点信息的PoAi属性,可以得到第i个接入网的时延,通过该第i个接入网的 时延确定该第i个接入网的代价,并将该代价进行等价变化以数值的形式保存在在PoAPolicyi资源下的FunctionValuei属性中。按照上述方式,对该底层网络中每个接入网以遍历的方式处理一遍,就可以得到NSE中每个接入网的时延,依据每个接入网的时延得到每个接入网的代价,并进行等价代换以数值的形式保存在每个接入网的代价函数值资源当中,从而可以得到该CSE基础资源下的PoAPolicy资源,通过比较该PoAPolicy资源中每个接入网的代价,选择代价最小的接入网作为目标接入网。Optionally, as an embodiment of the present invention, the selecting unit 730 is specifically configured to: determine, according to access point information of each access network in the underlying network information, a delay of each access network; according to each access network The delay determines the cost of each access network, and the smaller the delay of each access network, the lower the cost; the PoAPolicy resources of each access network are created under the CSE basic resources, and each access network is created. The access network identity and the cost of each access network are stored in the PoAPolicy resources of each access network. Specifically, the selecting unit 730 determines, according to the NSE i resource or the PoAPolicy i resource, the access network identifier NetworkID i attribute indicating the i-th access network, and the access point information indicating the i-th access network in the NSE i resource. The PoA i attribute can obtain the delay of the i-th access network, determine the cost of the i-th access network by using the delay of the i-th access network, and perform an equivalent change of the cost to a numerical value. The form is saved in the FunctionValue i attribute under the PoAPolicy i resource. According to the above manner, each access network in the underlying network is processed in a traversal manner, and the delay of each access network in the NSE can be obtained, and each access network is obtained according to the delay of each access network. The cost, and the equivalent substitution is stored in the value function value resource of each access network, so that the PoAPolicy resource under the CSE basic resource can be obtained by comparing each access network in the PoAPolicy resource. The cost of choosing the least expensive access network as the target access network.
应理解,当接入网的时延越大时,该接入网的代价越大;反之,该接入网的时延越小,则该接入网的代价越小。It should be understood that when the delay of the access network is larger, the cost of the access network is larger; conversely, the smaller the delay of the access network is, the smaller the cost of the access network is.
可选地,作为本发明一个实施例,该选择单元730具体用于:向所述每个接入网分别发送测试数据包;接收所述每个接入网对所述测试数据包的响应消息,以确定所述测试数据包与所述每个接入网之间的响应时间;根据所述测试数据包与所述每个接入网的响应时间确定所述每个接入网的时延。Optionally, as an embodiment of the present invention, the selecting unit 730 is specifically configured to: separately send a test data packet to each access network; and receive a response message of each test network to the test data packet. Determining a response time between the test data packet and each of the access networks; determining a delay of each access network according to a response time of the test data packet and each access network .
具体地,选择单元730具体用于:根据第i个接入网的接入点信息,向第i个接入网发送测试数据包;接收第i个接入网对该测试数据包的响应消息,以确定该测试数据包与第i个接入网之间的响应时间,该响应时间是指从发出该测试数据包到接收到该第i个接入网对该测试数据包的响应消息的时间,根据该第i个接入网对测试数据包的响应时间则可以确定该第i个接入的时延。按照上述方式,对该底层网络中每个接入网以遍历的方式处理一遍,可以得到NSE中每个接入网的时延,依据每个接入网的时延得到每个接入网的代价,并进行等价代换以数值的形式保存在每个接入网的代价函数值资源当中,从而可以得到该CSE基础资源下的PoAPolicy资源,通过比较该PoAPolicy资源中每个接入网的代价,选择代价最小的接入网作为目标接入网。Specifically, the selecting unit 730 is specifically configured to: send a test data packet to the i th access network according to the access point information of the i th access network; and receive a response message of the i th access network to the test data packet. Determining a response time between the test data packet and the i-th access network, where the response time is from the issuance of the test data packet to the receipt of the response message of the i-th access network to the test data packet. Time, according to the response time of the i-th access network to the test data packet, the delay of the i-th access may be determined. According to the above manner, each access network in the underlying network is processed in a traversal manner, and the delay of each access network in the NSE can be obtained, and each access network is obtained according to the delay of each access network. The cost and the equivalent cost are stored in the value function value resource of each access network, so that the PoAPolicy resource under the CSE basic resource can be obtained by comparing each access network of the PoAPolicy resource. At the cost, the access network with the lowest cost is selected as the target access network.
保存单元740中,具体地保存目标接入网的接入点信息过程如下,例如,接入点PoA属性中保存的是当前接入CSE的第m个接入网的接入点信息,该第m个接入网的接入点信息记录在PoAm属性中,选择单元730通过比较底层网络服务实体所支持的全部多个接入网的代价之后,将选择代价最小的第n个接入网作为目标接入网,保存单元740将该第n个接入网的接入点信息保存在接入点信息PoAn属性中,通过将接入点PoA属性中的信息更新为PoAn资源中的接入点信息,以接入第n个接入网作为目标接入网。 In the saving unit 740, the process of specifically storing the access point information of the target access network is as follows. For example, the access point PoA attribute stores the access point information of the mth access network currently accessing the CSE. The access point information of the m access networks is recorded in the PoA m attribute, and the selection unit 730 selects the nth access network with the lowest cost after comparing the costs of all the multiple access networks supported by the underlying network service entity. As the target access network, the saving unit 740 saves the access point information of the nth access network in the access point information PoA n attribute, and updates the information in the PoA attribute of the access point to the PoA n resource. The access point information is used to access the nth access network as the target access network.
可选地,作为本发明一个实施例,选择单元730还用于在N为1,即在底层网络中只存在一个接入网(例如,第i个接入网),NSE资源中只存在第i个接入网的子资源NSEi时,那么保存单元740将该唯一一个子资源NSEi下的PoAi属性中保存的接入点信息更新到接入点PoA属性中,以选择该唯一一个接入网作为目标接入网。Optionally, as an embodiment of the present invention, the selecting unit 730 is further configured to: when N is 1, that is, only one access network exists in the underlying network (for example, the i-th access network), and only the first NSE resource exists. When the sub-resources NSE i of the access network are i , the saving unit 740 updates the access point information saved in the PoA i attribute of the unique sub-resource NSE i to the access point PoA attribute to select the unique one. The access network acts as a target access network.
图8是本发明另一实施例的oneM2M系统中选择接入网的装置的示意性框图。如图800所示,该装置800包括处理器810、存储器820、总线系统830、接收器840和发送器850。其中,处理器810、存储器820、接收器840和发送器850通过总线830相连,该存储器用于存储指令,该处理器810用于执行该存储器820存储的指令,并控制该接收器840接收信息。其中,该发送器850与接收器840可以用于获得底层网络的底层网络信息,该底层网络信息中包括每个接入网的接入网标识和接入点信息;处理器810用于根据底层网络信息,确定底层网络中每个接入网的代价函数值;处理器810还用于根据该每个接入网的代价函数值,从该底层网络中选择一个接入网作为目标接入网;存储器820用于在CSE基础资源下创建每个接入网的NSE资源,并将每个接入网的接入网标识和每个接入网的接入点信息保存在每个接入网的NSE资源中。FIG. 8 is a schematic block diagram of an apparatus for selecting an access network in a oneM2M system according to another embodiment of the present invention. As shown in FIG. 800, the apparatus 800 includes a processor 810, a memory 820, a bus system 830, a receiver 840, and a transmitter 850. The processor 810, the memory 820, the receiver 840, and the transmitter 850 are connected by a bus 830 for storing instructions for executing instructions stored in the memory 820 and controlling the receiver 840 to receive information. . The transmitter 850 and the receiver 840 can be used to obtain the underlying network information of the underlying network, where the underlying network information includes the access network identifier and access point information of each access network; the processor 810 is configured to use the bottom layer according to the bottom layer. Network information, determining a cost function value of each access network in the underlying network; the processor 810 is further configured to select an access network from the bottom network as the target access network according to the cost function value of each access network The memory 820 is configured to create an NSE resource of each access network under the CSE basic resource, and save the access network identifier of each access network and the access point information of each access network in each access network. In the NSE resources.
本发明实施例提供的选择接入网的装置通过获取oneM2M系统中底层网络服务实体的底层网络信息,确定底层网络服务实体所支持的多个接入网中每个接入网的代价,从而能够从多个接入网中选择代价最小的接入网作为目标接入网,通过上述方式,可以灵活地解决oneM2M系统中多个接入网的选择问题。应理解,在本发明实施例中,该处理器810可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器810还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The apparatus for selecting an access network provided by the embodiment of the present invention determines the cost of each of the plurality of access networks supported by the underlying network service entity by acquiring the underlying network information of the underlying network service entity in the oneM2M system, thereby enabling The access network with the least cost is selected from the multiple access networks as the target access network. In the above manner, the selection problem of multiple access networks in the oneM2M system can be flexibly solved. It should be understood that, in the embodiment of the present invention, the processor 810 may be a central processing unit ("CPU"), and the processor 810 may also be other general-purpose processors, 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.
该存储器820可以包括只读存储器和随机存取存储器,并向处理器810提供指令和数据。存储器820的一部分还可以包括非易失性随机存取存储器。The memory 820 can include read only memory and random access memory and provides instructions and data to the processor 810. A portion of the memory 820 may also include a non-volatile random access memory.
该总线系统830除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线 系统830。The bus system 830 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for the sake of clarity, the various buses are labeled as buses in the figure. System 830.
在实现过程中,上述方法的各步骤可以通过处理器810中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器820,处理器810读取存储器820中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 810 or an instruction in a 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 820, and the processor 810 reads the information in the memory 820 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
可选地,作为一个实施例,发送器850还用于获取每个接入网的所述接入网标识以及向NSE发送每个接入网的资源请求消息,其中,每个接入网的资源请求消息包含每个接入网的接入网标识,每个接入网的资源请求消息用于请求NSE返回所述每个接入网的接入点信息;接收器840还用于接收NSE返回的每个接入网的接入点信息;该处理器810用于在CSE基础资源下创建每个接入网的NSE资源,并将每个接入网的接入网标识和每个接入网的接入点信息保存在每个接入网的NSE资源中。可选地,作为一个实施例,该处理器810还用于:根据底层网络信息中的每个接入网的接入网标识确定每个接入网的优先级;根据每个接入网的优先级确定每个接入网的代价,每个接入网的优先级越高对应的代价越小;在CSE基础资源下创建每个接入网的接入点策略PoAPolicy资源,并将每个接入网的接入网标识和每个接入网的代价保存在每个接入网的PoAPolicy资源中。Optionally, as an embodiment, the transmitter 850 is further configured to acquire the access network identifier of each access network and send a resource request message of each access network to the NSE, where each access network The resource request message includes an access network identifier of each access network, and the resource request message of each access network is used to request the NSE to return the access point information of each access network; the receiver 840 is further configured to receive the NSE. Returning access point information of each access network; the processor 810 is configured to create an NSE resource of each access network under the CSE basic resource, and identify and access each access network identifier of each access network The access point information of the network access is stored in the NSE resources of each access network. Optionally, as an embodiment, the processor 810 is further configured to: determine, according to an access network identifier of each access network in the underlying network information, a priority of each access network; according to each access network The priority determines the cost of each access network, and the higher the priority of each access network, the lower the cost; the access point policy PoAPolicy resources of each access network are created under the CSE basic resources, and each The access network identity of the access network and the cost of each access network are stored in the PoAPolicy resources of each access network.
可选地,作为一个实施例,该处理器810还用于:根据底层网络信息中的每个接入网的接入点信息确定每个接入网的时延;根据每个接入网的时延确定每个接入网的代价,每个接入网的时延越小对应的代价越小;在CSE基础资源下创建每个接入网的PoAPolicy资源,并将每个接入网的接入网标识和每个接入网的代价保存在每个接入网的PoAPolicy资源中。Optionally, as an embodiment, the processor 810 is further configured to: determine, according to access point information of each access network in the underlying network information, a delay of each access network; according to each access network The delay determines the cost of each access network, and the smaller the delay of each access network, the lower the cost; the PoAPolicy resources of each access network are created under the CSE basic resources, and each access network is The access network identity and the cost of each access network are stored in the PoAPolicy resources of each access network.
可选地,作为一个实施例,该发送器810还用于向每个接入网分别发送测试数据包;该接收器840还用于接收每个接入网对测试数据包的响应消息,以确定测试数据包与每个接入网之间的响应时间;处理器810用于根据测试数据包与每个接入网的响应时间确定每个接入网的时延。Optionally, as an embodiment, the transmitter 810 is further configured to separately send a test data packet to each access network; the receiver 840 is further configured to receive a response message of each access network to the test data packet, to Determining the response time between the test data packet and each access network; the processor 810 is configured to determine the delay of each access network according to the test data packet and the response time of each access network.
可选地,作为一个实施例,该存储器820还用于:在CSE基础资源下创建当前接入点策略activePoAPolicy资源,该activePoAPolicy资源用于指 示根据每个接入网的时延或优先级确定每个接入网的代价。Optionally, as an embodiment, the memory 820 is further configured to: create a current access point policy activePoAPolicy resource, where the activePoAPolicy resource is used to refer to The cost of each access network is determined according to the delay or priority of each access network.
应理解,根据本发明实施例的装置700可对应于本发明实施例的选择底层网络的方法的执行主体,并且可以对应于根据本发明实施例的装置700,并且该装置700中的各个模块的上述和其它操作和/或功能分别为了实现图2中的各个方法以及图4至图5中的各个方法的相应流程,为了简洁,在此不再赘述。It should be understood that the apparatus 700 according to an embodiment of the present invention may correspond to an execution body of a method of selecting an underlying network of an embodiment of the present invention, and may correspond to the apparatus 700 according to an embodiment of the present invention, and each module in the apparatus 700 The above and other operations and/or functions are respectively implemented in order to implement the respective methods in FIG. 2 and the corresponding processes in the respective methods in FIG. 4 to FIG. 5, and are not described herein again for brevity.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, 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. In addition, 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, and may be electrical, mechanical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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 purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, 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.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部 分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art or a part of the technical solution. The points may be embodied in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform various embodiments of the present invention All or part of the steps of the method. 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. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (12)

  1. 一种统一机器到机器oneM2M系统中选择接入网的方法,所述oneM2M系统包括应用实体AE、公共服务实体CSE和底层网络服务实体NSE,其特征在于,所述NSE支持多个接入网,所述多个接入网采用不同的接入网技术,所述方法包括:A method for selecting an access network in a unified machine-to-machine oneM2M system, the oneM2M system comprising an application entity AE, a public service entity CSE and an underlying network service entity NSE, wherein the NSE supports multiple access networks, The multiple access networks adopt different access network technologies, and the method includes:
    获取所述NSE的底层网络信息,所述底层网络信息包括所述多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息;Acquiring the underlying network information of the NSE, where the underlying network information includes an access network identifier of each of the multiple access networks and access point information of each access network;
    根据所述底层网络信息,确定所述多个接入网中的每个接入网的代价;Determining, according to the underlying network information, a cost of each of the plurality of access networks;
    从所述多个接入网中选择代价最小的接入网作为目标接入网;Selecting, from the plurality of access networks, the least expensive access network as the target access network;
    将接入点PoA属性中保存的当前使用接入网的接入点信息更新为所述目标接入网的接入点信息,其中,所述PoA属性位于所述CSE的CSE基础资源下。The access point information of the current access network saved in the access point PoA attribute is updated to the access point information of the target access network, where the PoA attribute is located under the CSE basic resource of the CSE.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述NSE的底层网络信息包括:The method according to claim 1, wherein the obtaining the underlying network information of the NSE comprises:
    获取所述每个接入网的接入网标识;Obtaining an access network identifier of each access network;
    向所述NSE发送所述每个接入网的资源请求消息,其中,所述每个接入网的资源请求消息包含所述每个接入网的接入网标识,所述每个接入网的资源请求消息用于请求所述NSE返回所述每个接入网的接入点信息;Sending, to the NSE, the resource request message of each access network, where the resource request message of each access network includes an access network identifier of each access network, and each access The resource request message of the network is used to request the NSE to return the access point information of each access network;
    接收所述NSE返回的所述每个接入网的接入点信息;Receiving access point information of each access network returned by the NSE;
    在所述CSE基础资源下创建所述每个接入网的NSE资源,所述每个接入网的NSE资源用于保存所述每个接入网的接入网标识和所述每个接入网的接入点信息。Creating an NSE resource of each access network under the CSE basic resource, where the NSE resource of each access network is used to save an access network identifier of each access network and each of the access networks Access point information for access to the network.
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述底层网络信息,确定所述多个接入网中的每个接入网的代价包括:The method according to claim 1 or 2, wherein the determining, according to the underlying network information, a cost of each of the plurality of access networks comprises:
    根据所述底层网络信息中的每个接入网的接入网标识确定所述每个接入网的优先级;Determining a priority of each access network according to an access network identifier of each access network in the underlying network information;
    根据所述每个接入网的优先级确定所述每个接入网的代价,所述每个接入网的优先级越高对应的代价越小;Determining, according to a priority of each access network, a cost of each access network, where a higher priority of each access network corresponds to a lower cost;
    在所述CSE基础资源下创建所述每个接入网的接入点策略PoAPolicy资源,所述每个接入网的PoAPolicy资源用于保存所述每个接入网的接入网标 识和所述每个接入网的代价。Creating an access point policy PoAPolicy resource of each access network under the CSE basic resource, where the PoAPolicy resource of each access network is used to save an access network label of each access network Know the cost of each of the access networks.
  4. 根据权利要求1或2所述的方法,其特征在于,所述根据所述底层网络信息,确定所述多个接入网中的每个接入网的代价包括:The method according to claim 1 or 2, wherein the determining, according to the underlying network information, a cost of each of the plurality of access networks comprises:
    根据所述底层网络信息中的所述每个接入网的接入点信息确定所述每个接入网的时延;Determining, according to the access point information of each access network in the underlying network information, a delay of each access network;
    根据所述每个接入网的时延确定所述每个接入网的代价,所述每个接入网的时延越小对应的代价越小;Determining, according to a delay of each access network, a cost of each access network, where a smaller delay of each access network corresponds to a lower cost;
    在所述CSE基础资源下创建所述每个接入网的PoAPolicy资源,所述每个接入网的PoAPolicy资源用于保存所述每个接入网的接入网标识和所述每个接入网的代价。Creating a PoAPolicy resource of each access network under the CSE basic resource, where the PoAPolicy resource of each access network is used to save an access network identifier of each access network and each of the access networks The cost of accessing the network.
  5. 根据权利要求4所述的方法,其特征在于,所述确定所述每个接入网的时延包括:The method according to claim 4, wherein the determining the delay of each access network comprises:
    向所述每个接入网分别发送测试数据包;Sending test data packets to each of the access networks;
    接收所述每个接入网对所述测试数据包的响应消息,以确定所述测试数据包与所述每个接入网之间的响应时间;Receiving, by each of the access networks, a response message to the test data packet to determine a response time between the test data packet and each of the access network groups;
    根据所述测试数据包与所述每个接入网的响应时间确定所述每个接入网的时延。Determining the delay of each access network according to the test data packet and the response time of each access network.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    在所述CSE基础资源下创建当前接入点策略activePoAPolicy资源,所述activePoAPolicy资源用于指示根据所述每个接入网的时延或优先级确定所述每个接入网的代价。The current access point policy activePoAPolicy resource is created under the CSE basic resource, and the activePoAPolicy resource is used to indicate that the cost of each access network is determined according to the delay or priority of each access network.
  7. 一种统一机器到机器oneM2M系统中选择接入网的装置,其特征在于,包括:A device for selecting an access network in a unified machine-to-machine oneM2M system, comprising:
    收发单元,用于获取底层网络服务实体NSE的底层网络信息,所述NSE支持多个接入网,所述多个接入网采用不同的接入网技术,其中,所述底层网络信息包括所述多个接入网中的每个接入网的接入网标识和每个接入网的接入点信息;a transceiver unit, configured to acquire underlying network information of an underlying network service entity NSE, where the NSE supports multiple access networks, where the multiple access networks adopt different access network technologies, where the underlying network information includes An access network identifier of each of the plurality of access networks and access point information of each access network;
    确定单元,用于根据所述底层网络信息,确定所述多个接入网中的每个接入网的代价;a determining unit, configured to determine, according to the underlying network information, a cost of each of the multiple access networks;
    选择单元,用于从所述多个接入网中选择代价最小的接入网作为目标接 入网;a selecting unit, configured to select, from the plurality of access networks, a least expensive access network as a target connection Access to the network;
    保存单元,用于将接入点PoA属性中保存的当前使用接入网的接入点信息更新为所述目标接入网的接入点信息,其中,所述PoA属性位于公共服务实体CSE的CSE基础资源下。a saving unit, configured to update access point information of the currently used access network saved in the PoA attribute of the access point to access point information of the target access network, where the PoA attribute is located in the public service entity CSE Under the CSE basic resources.
  8. 根据权利要求7所述的装置,其特征在于,所述收发单元具体用于:The device according to claim 7, wherein the transceiver unit is specifically configured to:
    获取所述每个接入网的所述接入网标识;Obtaining the access network identifier of each access network;
    向所述NSE发送所述每个接入网的资源请求消息,其中,所述每个接入网的资源请求消息包含所述每个接入网的接入网标识,所述每个接入网的资源请求消息用于请求所述NSE返回所述每个接入网的接入点信息;Sending, to the NSE, the resource request message of each access network, where the resource request message of each access network includes an access network identifier of each access network, and each access The resource request message of the network is used to request the NSE to return the access point information of each access network;
    接收所述NSE返回的所述每个接入网的接入点信息;Receiving access point information of each access network returned by the NSE;
    在所述CSE基础资源下创建所述每个接入网的NSE资源,所述每个接入网的NSE资源用于保存所述每个接入网的接入网标识和所述每个接入网的接入点信息。Creating an NSE resource of each access network under the CSE basic resource, where the NSE resource of each access network is used to save an access network identifier of each access network and each of the access networks Access point information for access to the network.
  9. 根据权利要求7或8所述的装置,其特征在于,所述确定单元具体用于:The device according to claim 7 or 8, wherein the determining unit is specifically configured to:
    根据所述底层网络信息中的每个接入网的接入网标识确定所述每个接入网的优先级;Determining a priority of each access network according to an access network identifier of each access network in the underlying network information;
    根据所述每个接入网的优先级确定所述每个接入网的代价,所述每个接入网的优先级越高对应的代价越小;Determining, according to a priority of each access network, a cost of each access network, where a higher priority of each access network corresponds to a lower cost;
    在所述CSE基础资源下创建所述每个接入网的接入点策略PoAPolicy资源,所述每个接入网的PoAPolicy资源用于保存所述每个接入网的接入网标识和所述每个接入网的代价。Creating an access point policy PoAPolicy resource of each access network under the CSE basic resource, where the PoAPolicy resource of each access network is used to save an access network identifier and a location of each access network The cost of each access network.
  10. 根据权利要求7至8所述的装置,其特征在于,所述确定单元具体用于:The device according to any one of claims 7 to 8, wherein the determining unit is specifically configured to:
    根据所述底层网络信息中的所述每个接入网的接入点信息确定所述每个接入网的时延;Determining, according to the access point information of each access network in the underlying network information, a delay of each access network;
    根据所述每个接入网的时延确定所述每个接入网的代价,所述每个接入网的时延越小对应的代价越小;Determining, according to a delay of each access network, a cost of each access network, where a smaller delay of each access network corresponds to a lower cost;
    在所述CSE基础资源下创建所述每个接入网的PoAPolicy资源,所述每个接入网的PoAPolicy资源用于保存所述每个接入网的接入网标识和所述每个接入网的代价。 Creating a PoAPolicy resource of each access network under the CSE basic resource, where the PoAPolicy resource of each access network is used to save an access network identifier of each access network and each of the access networks The cost of accessing the network.
  11. 根据权利要求10所述的装置,其特征在于,所述收发单元具体用于向所述每个接入网分别发送测试数据包;所述收发单元具体还用于接收所述每个接入网对所述测试数据包的响应消息,以确定所述测试数据包与所述每个接入网之间的响应时间;所述确定单元还用于根据所述测试数据包与所述每个接入网的响应时间确定所述每个接入网的时延。The apparatus according to claim 10, wherein the transceiver unit is specifically configured to separately send a test data packet to each of the access networks; and the transceiver unit is further configured to receive the access network. a response message to the test data packet to determine a response time between the test data packet and each of the access networks; the determining unit is further configured to connect to each of the test data packets according to the The response time of the incoming network determines the delay of each access network.
  12. 根据权利要求7至11中任一项所述的装置,其特征在于,所述保存单元具体用于:The device according to any one of claims 7 to 11, wherein the saving unit is specifically configured to:
    在所述CSE基础资源下创建当前接入点策略activePoAPolicy资源,所述activePoAPolicy资源用于指示根据所述每个接入网的时延或优先级确定所述每个接入网的代价。 The current access point policy activePoAPolicy resource is created under the CSE basic resource, and the activePoAPolicy resource is used to indicate that the cost of each access network is determined according to the delay or priority of each access network.
PCT/CN2014/095649 2014-12-30 2014-12-30 Method and apparatus for selecting access network WO2016106598A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480084491.0A CN107211479B (en) 2014-12-30 2014-12-30 Method and device for selecting access network
PCT/CN2014/095649 WO2016106598A1 (en) 2014-12-30 2014-12-30 Method and apparatus for selecting access network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/095649 WO2016106598A1 (en) 2014-12-30 2014-12-30 Method and apparatus for selecting access network

Publications (1)

Publication Number Publication Date
WO2016106598A1 true WO2016106598A1 (en) 2016-07-07

Family

ID=56283873

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095649 WO2016106598A1 (en) 2014-12-30 2014-12-30 Method and apparatus for selecting access network

Country Status (2)

Country Link
CN (1) CN107211479B (en)
WO (1) WO2016106598A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023004900A1 (en) * 2021-07-27 2023-02-02 南京中网卫星通信股份有限公司 Network access method and apparatus for converged network multi-mode terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428220A (en) * 2013-08-23 2013-12-04 中国人民解放军理工大学 Virtual reconstruction ubiquitous network architecture based on identity-position separation
WO2014197878A1 (en) * 2013-06-06 2014-12-11 Seven Networks, Inc. Radio or network evaluation for selection based on measurements using application layer protocols at a mobile device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505524B (en) * 2008-02-05 2011-11-16 华为技术有限公司 Method and apparatus for selecting network by user equipment
CN101448245B (en) * 2008-04-01 2011-04-20 中兴通讯股份有限公司 Method for home network IMS domain to obtain UE access information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014197878A1 (en) * 2013-06-06 2014-12-11 Seven Networks, Inc. Radio or network evaluation for selection based on measurements using application layer protocols at a mobile device
CN103428220A (en) * 2013-08-23 2013-12-04 中国人民解放军理工大学 Virtual reconstruction ubiquitous network architecture based on identity-position separation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023004900A1 (en) * 2021-07-27 2023-02-02 南京中网卫星通信股份有限公司 Network access method and apparatus for converged network multi-mode terminal

Also Published As

Publication number Publication date
CN107211479B (en) 2020-05-08
CN107211479A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
US11368904B2 (en) Network slice selection method and apparatus
AU2021277736B2 (en) Pdu type setting method, ue policy setting method, and related entity
JP6629392B2 (en) Device trigger
US9736767B2 (en) Identification-assisted wireless network connections
US20210168902A1 (en) User Group Session Management Method and Apparatus
JP2019537356A (en) Method of updating location area of user terminal, access network entity, user terminal and core network entity
WO2019134595A1 (en) Configuration system, client device, embedded device configuration method, and storage medium
EP3476100B1 (en) Selection of ip version
CN106664515B (en) Method for transmitting content between terminals via a service control device link
US10021512B2 (en) Switching to advertising locator after connection establishment
US11638138B2 (en) Device-to-device content providing method
TWI640214B (en) Network access method, related equipment and system
WO2022022322A1 (en) Method and device for accessing local network
EP3032801A1 (en) Method and device for generating forwarding information
KR20230107742A (en) Network function registration methods, discovery methods, devices, equipment and media
US20140136597A1 (en) Relay enabled dynamic virtual private network
US11057241B2 (en) Network interworking method, network element, and system
KR102602073B1 (en) Service registration based on service capability requirements and preferences
WO2016106598A1 (en) Method and apparatus for selecting access network
US9609674B2 (en) Machine-to-machine domain proxy
US10091718B2 (en) System and method for wireless network selection
CN109327517B (en) Method and equipment for acquiring network state of wireless access point
WO2018010366A1 (en) Information synchronization method and device
WO2021012236A1 (en) Resource publishing method and device
EP3504927A1 (en) Connection establishment for node connected to multiple ip networks

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: 14909409

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: 14909409

Country of ref document: EP

Kind code of ref document: A1