WO2015062052A1 - 一种m2m数据的查询、调用方法、查询、调用设备及*** - Google Patents

一种m2m数据的查询、调用方法、查询、调用设备及*** Download PDF

Info

Publication number
WO2015062052A1
WO2015062052A1 PCT/CN2013/086370 CN2013086370W WO2015062052A1 WO 2015062052 A1 WO2015062052 A1 WO 2015062052A1 CN 2013086370 W CN2013086370 W CN 2013086370W WO 2015062052 A1 WO2015062052 A1 WO 2015062052A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
node
cse
requirement
application
Prior art date
Application number
PCT/CN2013/086370
Other languages
English (en)
French (fr)
Inventor
于琦
陶源
李娜
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/086370 priority Critical patent/WO2015062052A1/zh
Priority to EP13896452.3A priority patent/EP3054625B1/en
Publication of WO2015062052A1 publication Critical patent/WO2015062052A1/zh
Priority to US15/141,243 priority patent/US10148739B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Definitions

  • the invention belongs to the field of communication technologies, and in particular relates to a method for querying, calling, querying and calling M2M data.
  • Machine communication (Machine-to-Machine Communications, M2M) is a networked application and service centered on machine intelligence interaction. It embeds wireless or wired communication modules and application processing logic inside the machine to realize data communication without manual intervention to meet user requirements. Information needs for monitoring, command and dispatch, data acquisition and measurement.
  • oneM2M has become a new global standard organization, oneM2M.
  • the overall goal of oneM2M is to create an open standard for the business layer of M2M communication, in order to promote the establishment of a future network integrating various devices and services, so that M2M services can interact with each other.
  • the operation also enables the M2M application to invoke the underlying service and implement it independently of the network.
  • FIG. 1 is a schematic diagram of an M2M architecture provided by the prior art.
  • Application Entity, AE Application Entity
  • Communication Public Service Entity
  • M2M communication can be based on a wired mode, and the wireless mode includes a cellular network and a short distance, and a 3GPP cellular network is a widely used method.
  • FIG. 2 is a schematic diagram of a structure of a oneM2M provided by the prior art, which defines a component unit included in a CSE, where a data management storage unit (Data Management & The functions of Repository, DMR) are as follows:
  • FIG. 3 a network topology diagram of a M2M supporting deployment scenario provided by the prior art is provided.
  • Scene case1 Application Dedicated Node Application Dedicated Node Connected to the infrastructure node infrastructure node through the X reference point;
  • Scenario case2 Application Dedicated Node Application Dedicated Node is connected to the base node infrastructure node through the intermediate node Middle Node;
  • Scenario case3 Application service node Application Service Node through intermediate node Middle Node is connected to the infrastructure node infrastructure node;
  • Case 4 Application Service Node Application Service The Node is connected to the infrastructure node infrastructure node through the Y reference point.
  • each application dedicated node includes at least one application entity (Application Entity, AE)
  • each application service node includes at least one application entity and one common service entity (Common Services Entity CSE)
  • each intermediate node middle The node includes at least one application entity and a Common Service Entity CSE.
  • All public service entities of the application service node/intermediate node in the prior art synchronize the data to the data management storage unit DMR of the public service entity of the base node for storage.
  • FIG. 4 is a flowchart of an implementation of a data call defined by the existing oneM2M, which is described in detail as follows:
  • the public service entity of the base node registered with the public service entity of the application service node/intermediate node needs to be sent to the application service node/intermediate node;
  • the public service entity of the base node queries the state of the public service entity of the application service node/intermediate node in the request;
  • the public service entity of the application node/intermediate node If the public service entity of the application node/intermediate node is in the online online state, the public service entity of the basic node requests the delivery, and the public service entity of the application service node/intermediate node returns the requested data in the reply message;
  • the public service entity of the application service node/intermediate node is in the offline offline state, the public service entity of the registered base node of the public service entity of the application service node/intermediate node reserves the request until the request The expiration returns a reply message (failed) until it expires.
  • the existing M2M call data solution needs to determine the state of the public service entity of the service node/intermediate node as the online online state through the public service entity of the base node, and then use the public service entity of the service node/intermediate node.
  • the call data when the state of the public service entity of the service node/intermediate node is offline, it cannot call the data, which increases the difficulty of calling the data.
  • the number of command requests between the application node and the intermediate node is many, so it increases the byte overhead of the interaction signaling between the application node and the intermediate node, and increases the data query, The time the data is called reduces the efficiency of data queries and data calls.
  • the purpose of the embodiment of the present invention is to provide a data calling method for the M2M, which aims to solve the existing M2M calling data scheme, increases the difficulty of calling data, and increases the byte of the interaction signaling between the application node and the intermediate node. Overhead and the time of data queries and data calls reduce the efficiency of data queries and data calls.
  • a query device includes:
  • the CSE sends a call data request, the call data request including an identifier of the application entity/public service entity providing the call data AE/CSE An ID and a data request of the invoking data, the data requirement including a data type requirement, a time requirement, or a combination thereof;
  • a data receiving unit configured to receive the infrastructure node The data returned by the CSE that meets the data requirements.
  • the query device, the infrastructure node The CSE registers the infrastructure node registered by the node where the AE/CSE that invokes the data is located.
  • the CSE, the node where the AE/CSE providing the call data is located includes an application-specific node, an application service node, and an intermediate node, where the AE includes an application entity of an application-specific node, an application entity of an application service node, and an application entity of an intermediate node,
  • the CSE includes a public service entity of an application service node and a public service entity of an intermediate node.
  • a second aspect is a query device, where the query device includes a processor, a memory, and a communication interface, wherein the processor, the communication interface, and the memory complete communication with each other through a bus;
  • the communication interface is configured to communicate with other communication devices
  • the processor is configured to execute a program
  • the memory is configured to store a program
  • the CSE sends a call data request, the call data request including an identifier of the application entity/public service entity providing the call data AE/CSE An ID and a data request of the invoking data, the data requirement including a data type requirement, a time requirement, or a combination thereof;
  • a calling device includes:
  • a data request receiving unit configured to receive a call data request sent by an application entity/public service entity AE/CSE;
  • a query unit configured to identify an AE/CSE of the application entity/public service entity that provides the call data according to the received call data request ID, in pre-stored data, query data corresponding to the AE/CSE ID, and in the AE/CSE In the data corresponding to the ID, according to the data request in the received call data request, query whether there is data that meets the data requirement;
  • the pre-stored data includes application entity data of an application-specific node, application entity data and public service entity data of an application service node, application entity data of an intermediate node, and public service entity data. One or any combination thereof.
  • the calling device further includes:
  • the reading unit is configured to read the update time limit of the system time and the configuration, and determine whether the update time limit is reached;
  • an updating unit configured to: when the update time limit arrives, connect the node where the AE/CSE providing the calling data is located, and update the pre-stored data.
  • the calling device further includes:
  • a forwarding unit configured to forward the call data request to a node where the AE/CSE providing the call data is located when there is no data that meets the data requirement, where the node where the AE/CSE providing the call data is located includes Application dedicated node, application service node, intermediate node.
  • the calling device is further used to determine whether the query unit.
  • the data requirement includes a data type requirement and a time requirement
  • a fourth aspect is a calling device, where the calling device includes a processor, a memory, and a communication interface, wherein the processor, the communication interface, and the memory complete communication with each other through a bus;
  • the communication interface is configured to communicate with other communication devices
  • the processor is configured to execute a program
  • the memory is configured to store a program
  • the program is configured to receive a call data request sent by an application entity/public service entity AE/CSE; and an identifier of an application entity/public service entity for providing call data according to the received call data request AE/CSE ID, in pre-stored data, query data corresponding to the AE/CSE ID, and in the AE/CSE In the data corresponding to the ID, according to the data request in the received call data request, query whether there is data that meets the data requirement;
  • an M2M data management system includes the above AE/CSE and infrastructure
  • the node CSE, the AE/CSE and the infrastructure node CSE are connected by a network architecture of oneM2M.
  • a method for querying M2M data includes:
  • the CSE sends a call data request, the call data request including an identifier of the application entity/public service entity providing the call data AE/CSE An ID and a data request of the invoking data, the data requirement including a data type requirement, a time requirement, or a combination thereof;
  • the query method, the infrastructure node The CSE registers the infrastructure node registered by the node where the AE/CSE that invokes the data is located.
  • the CSE, the node where the AE/CSE providing the call data is located includes an application-specific node, an application service node, and an intermediate node, where the AE includes an application entity of an application-specific node, an application entity of an application service node, and an application entity of an intermediate node,
  • the CSE includes a public service entity of an application service node and a public service entity of an intermediate node.
  • a method for invoking M2M data includes:
  • Identification AE/CSE of the application entity/public service entity providing the invocation data according to the received invocation data request ID, in pre-stored data, query data corresponding to the AE/CSE ID, and in the AE/CSE In the data corresponding to the ID, according to the data request in the received call data request, query whether there is data that meets the data requirement;
  • the pre-stored data includes application entity data of an application-specific node, application entity data and public service entity data of an application service node, application entity data of an intermediate node, and public service entity data. One or any combination thereof.
  • the calling method further includes:
  • the node where the AE/CSE providing the call data is connected is connected, and the pre-stored data is updated.
  • the calling method further includes:
  • the call data request is forwarded to the node where the AE/CSE providing the call data is located, and the node where the AE/CSE providing the call data is located includes an application dedicated node and an application.
  • the calling method whether the query has data that meets the data requirement, includes:
  • the data requirement includes a data type requirement and a time requirement
  • the data that meets the data requirements can be directly returned to the AE/CSE, thereby the infrastructure node. It is not necessary for the CSE to query the public service entity data of the service node/intermediate node, thereby avoiding the inability to call data when the public service entity of the service node/intermediate node is in the offline state, increasing the difficulty of calling the data, and The situation that the number of command requests between the application node and the intermediate node is many is avoided, so that the byte overhead of the interaction signaling between the application node and the intermediate node is reduced, the time of data query and the data call are reduced. Time increases the efficiency of data queries and data calls.
  • FIG. 1 is a schematic diagram of an M2M architecture provided by the prior art
  • FIG. 2 is a schematic structural diagram of a oneM2M provided by the prior art
  • FIG. 3 is a network topology diagram of a supported deployment scenario of an M2M provided by the prior art
  • Figure 4 is an implementation flow diagram of a data call defined by the existing oneM2M:
  • FIG. 5 is a structural block diagram of a query device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a query device according to an embodiment of the present disclosure.
  • FIG. 7 is a structural block diagram of a calling device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a calling device according to an embodiment of the present disclosure.
  • FIG. 9 is a flowchart of implementing an M2M data query method according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of an implementation method of calling M2M data according to an embodiment of the present invention.
  • FIG. 11 is an AE/CSE and infrastructure node in an actual application according to an embodiment of the present invention. Flow chart of implementation of interaction between CSEs;
  • FIG. 13 is a flowchart of an implementation of data for querying a presence time requirement according to an embodiment of the present invention
  • FIG. 14 is a flowchart of an implementation of querying data conforming to data type requirements and time requirements according to an embodiment of the present invention.
  • FIG. 5 is a structural block diagram of a query device according to an embodiment of the present invention. For convenience of description, only parts related to the embodiment are shown, which are as follows:
  • a sending unit 51 configured to the public node entity infrastructure node of the base node
  • the CSE sends a call data request, the call data request including an identifier of the application entity/public service entity providing the call data AE/CSE An ID and a data request of the invoking data, the data requirement including a data type requirement, a time requirement, or a combination thereof;
  • a data receiving unit 52 configured to receive the infrastructure node The data returned by the CSE that meets the data requirements.
  • the infrastructure node The CSE is an infrastructure node registered with the node where the AE/CSE that invokes the data is located.
  • the CSE, the node where the AE/CSE providing the call data is located includes an application-specific node, an application service node, and an intermediate node, where the AE includes an application entity of an application-specific node, an application entity of an application service node, and an application entity of an intermediate node,
  • the CSE includes a public service entity of an application service node and a public service entity of an intermediate node.
  • FIG. 6 is a schematic structural diagram of a querying device according to an embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the querying device.
  • the querying device 5 includes:
  • the processor 61, the communication interface 62, and the memory 63 complete communication with each other via the bus 64.
  • a communication interface 62 for communicating with other communication devices
  • the processor 61 is configured to execute a program.
  • the program can include program code, the program code including computer operating instructions.
  • the processor 61 may be a central processing unit (English: central processing) Unit, abbreviation: CPU.
  • a memory 63 for storing a program, wherein the program is used for a public service entity infrastructure to the base node
  • the node CSE sends an invocation data request, the invocation data request including an identification of the application entity/public service entity providing the invoking data AE/CSE An ID and a data request of the invoking data, the data requirement including a data type requirement, a time requirement, or a combination thereof;
  • FIG. 7 is a structural block diagram of a calling device according to an embodiment of the present invention. For convenience of description, only parts related to the embodiment are shown, which are as follows:
  • the call data request receiving unit 71 is configured to receive a call data request sent by the application entity/public service entity AE/CSE;
  • the query unit 72 is configured to: according to the identifier AE/CSE of the application entity/public service entity that provides the call data in the received call data request ID, in pre-stored data, query data corresponding to the AE/CSE ID, and in the AE/CSE In the data corresponding to the ID, according to the data request in the received call data request, query whether there is data that meets the data requirement;
  • the returning unit 73 is configured to return data that meets the data requirement to the AE/CSE when there is data that meets the data requirement.
  • the pre-stored data includes application entity data of an application dedicated node, application entity data and public service entity data of an application service node, application entity data of an intermediate node, and public service entity data. Or any combination thereof.
  • the method further includes:
  • the reading unit is configured to read the update time limit of the system time and the configuration, and determine whether the update time limit is reached;
  • an updating unit configured to: when the update time limit arrives, connect the node where the AE/CSE providing the calling data is located, and update the pre-stored data.
  • the method further includes:
  • a forwarding unit configured to forward the call data request to a node where the AE/CSE providing the call data is located when there is no data that meets the data requirement, where the node where the AE/CSE providing the call data is located includes Application dedicated node, application service node, intermediate node.
  • the query unit is further used to determine whether the query unit is further used to determine whether the query unit is further used to determine whether the query unit is further used to determine
  • the data requirement includes a data type requirement and a time requirement
  • FIG. 8 is a schematic structural diagram of a calling device according to an embodiment of the present invention.
  • the specific embodiment of the present invention does not limit the specific implementation of the calling device, and the calling device 8 includes:
  • the processor 81, the communication interface 82, and the memory 83 complete communication with each other via the bus 84.
  • a communication interface 82 for communicating with other communication devices
  • the processor 81 is configured to execute a program.
  • the program can include program code, the program code including computer operating instructions.
  • the processor 81 may be a central processing unit (English: central processing) Unit, abbreviation: CPU.
  • the memory 83 is configured to store a program, wherein the program is used to identify the AE/CSE of the application entity/public service entity that provides the call data according to the received call data request. ID, in pre-stored data, query data corresponding to the AE/CSE ID, and in the AE/CSE In the data corresponding to the ID, according to the data request in the received call data request, query whether there is data that meets the data requirement;
  • the data management system of the M2M includes an AE/CSE and an infrastructure node.
  • CSE and the correspondence between AE/CSE and infrastructure node CSE is many-to-one, AE/CSE and infrastructure node
  • the CSE is connected using the oneM2M network architecture.
  • FIG. 9 is a flowchart of implementing an M2M data query method according to an embodiment of the present invention, which is described in detail as follows:
  • step S901 the public service entity infrastructure node to the base node
  • the CSE sends a call data request, the call data request including an identifier of the application entity/public service entity providing the call data AE/CSE An ID and a data request of the invoking data, the data requirement including a data type requirement, a time requirement, or a combination thereof;
  • the public service entity infrastructure to the base node may be through any one of the application entities/public service entities (AE/CSE) in the oneM2M network architecture.
  • the node CSE sends a call data request.
  • Calling a data request (Request) carries an AE/CSE ID, which facilitates the infrastructure node CSE according to AE/CSE ID lookup data.
  • the AE/CSE can directly obtain the AE/CSE ID, AE/CSE.
  • the id is the identifier of the application entity/public service entity that provides the call data, that is, the AE/CSE ID of the queried application entity/public service entity.
  • call data request also carries data requirements
  • data requirements include data type requirements (data Type), time requirement (time) or a combination thereof.
  • the data type requirements indicate the data types required by the AE/CSE, including but not limited to data of a certain data format, data of a storage device, or data containing special characters, such as data of a picture format, an infrastructure.
  • the data of the DMR in the node or the data containing the query characters are not limited to data of a certain data format, data of a storage device, or data containing special characters, such as data of a picture format, an infrastructure.
  • Time requirements indicate the restrictions required by AE/CSE, including but not limited to data at a certain time, or data for a certain time range, such as the latest data or data from 10:00 to 11:00.
  • step S902 receiving the infrastructure node The data returned by the CSE that meets the data requirements.
  • the AE/CSE receives the infrastructure node.
  • the data that meets the data requirements can be directly returned to the AE/CSE, thereby the infrastructure node.
  • CSE does not need to query the Application Service Node/middle Node CSE data, thus avoiding the Application Service Node/middle Node
  • the CSE is in the offline state, it cannot call the data, which increases the difficulty of calling the data, and avoids the situation that the number of command requests between the application node and the intermediate node is large. Therefore, the application node and the intermediate node are reduced.
  • the byte overhead of mutual signaling is reduced, and the time of data query is reduced, which improves the efficiency of data query.
  • the infrastructure node The CSE registers the infrastructure node registered by the node where the AE/CSE that invokes the data is located.
  • the CSE, the node where the AE/CSE providing the call data is located includes an application-specific node, an application service node, and an intermediate node, where the AE includes an application entity of an application-specific node, an application entity of an application service node, and an application entity of an intermediate node,
  • the CSE includes a public service entity of an application service node and a public service entity of an intermediate node.
  • FIG. 10 is a flowchart of an implementation method of calling M2M data according to an embodiment of the present invention, which is described in detail as follows:
  • step S1001 receiving an invocation data request sent by the application entity/public service entity AE/CSE;
  • the public service entity of the base node is an infrastructure node.
  • the CSE receives a call data request sent by any one of the application entities/public service entities AE/CSE in the network architecture of oneM2M,
  • step S1002 according to the identifier AE/CSE of the application entity/public service entity providing the call data in the received call data request ID, in pre-stored data, query data corresponding to the AE/CSE ID, and in the AE/CSE In the data corresponding to the ID, according to the data request in the received call data request, query whether there is data that meets the data requirement;
  • the infrastructure node The CSE queries the data corresponding to the AE/CSE ID by the AE/CSE ID in the DMR according to the AE/CSE ID in the received call data request.
  • AE/CSE In the data corresponding to the ID, the data that meets the data requirements is filtered out by the data request in the received data request.
  • step S1003 when there is data meeting the data request, data conforming to the data request is returned to the AE/CSE.
  • the data that meets the data requirements can be directly returned to the AE/CSE, so that the AE/CSE does not need to query the Application.
  • Service Node/middle Node The CSE data avoids the situation that the number of command requests between the application node and the intermediate node is large. Therefore, it reduces the byte overhead of the interaction signaling between the application node and the intermediate node, and reduces the time for data call. Improve the efficiency of data calls.
  • the pre-stored data includes application entity data of an application-specific node, application entity data and public service entity data of an application service node, application entity data of an intermediate node, and public service entity data. Or any combination thereof.
  • the method further includes:
  • the node where the AE/CSE providing the call data is connected is connected, and the pre-stored data is updated.
  • the update time limit of the application entity/public service entity data may be pre-configured, for example, configured to be updated every hour, daily, weekly, or every 10 days, and the system monitors the update time limit, and when the update time limit expires,
  • the automatic connection provides a node where the application entity/public service entity that invokes the data is located, and initiates an update process of the application entity/public service entity data.
  • the method further includes:
  • the call data request is forwarded to the node where the AE/CSE providing the call data is located, and the node where the AE/CSE providing the call data is located includes an application dedicated node and an application.
  • the infrastructure node The CSE forwards the call data request to a node where the application entity/public service entity providing the call data is located, so that the application node/intermediate node according to the AE/CSE in the received call data request ID, querying data corresponding to the AE/CSE ID, in association with the AE/CSE In the data corresponding to the ID, it is queried whether there is data that meets the data requirement, and when there is data that meets the data requirement, data that meets the data requirement is returned to the AE/CSE.
  • the infrastructure node when there is no data meeting the data requirement, the infrastructure node The CSE forwards the invocation data request to the node where the entity providing the invocation data is located, so that the application node/intermediate node can return the data meeting the data requirements to the AE/CSE.
  • the DMR in the Node does not store the latest data, and there may be cases where the data that meets the data requirements cannot be queried, so that the AE/CSE can receive the data that meets the data requirements.
  • FIG. 11 is an AE/CSE and a practical application provided by an embodiment of the present invention.
  • AE / CSE request other Application service node / middle Node data
  • the registered infrastructure CSE carries the parameters (AE/CSE ID), and the AE/CSE ID indicates the calling data AE or CSE ID that needs to be accessed. .
  • the data type and time information of the AE/CSE ID saved on the infrastructure node.
  • Infrastructure node first check AE/CSE Is there permission to call data that belongs to the AE or CSE of the called data, and when the AE/CSE has permission to call data, the infrastructure node checks Data type information of the data corresponding to the AE/CSE ID.
  • the data type information is returned to the AE/CSE, and the data type information can be the Application service node/middle node.
  • the data type on the infrastructure node such as time information (creation time, expiration time), Application data, device information, subscription information, and so on.
  • AE / CSE receive data type information, send Request to Application
  • the infrastructure CSE registered with the service node/middle node carries the parameters ( AE/CSE ID , data Type/time demand
  • Data type indicates the type of data required by AE/CSE, such as time information, application Or location information, etc.; it can also be data processed by DMR in the infrastructure node.
  • Infrastructure node CSE checks if the currently saved data is AE/CSE compliant Data requirements (data type requirements and time requirements), return required data
  • infrastructure node CSE returns the data required by AE/CSE
  • whether the query has data that meets the data requirement includes:
  • the data requirement includes a data type requirement and a time requirement
  • the data type requirement is used as a query condition to query whether there is data that meets the data type requirement.
  • FIG. 12 is a flowchart of an implementation of querying data that meets a data type requirement according to an embodiment of the present invention.
  • the data type requirement is used as a query condition to query whether there is data required by the data type.
  • FIG. 13 is a flowchart of implementing data for querying the existence time requirement according to an embodiment of the present invention.
  • the time requirement is used as a query condition to query whether there is data required by the time.
  • the query time is reduced, and the efficiency of the query to meet the data requirements is improved.
  • the data type requirement and the time requirement are used as query conditions to query whether there is data that meets the data type requirement and the time requirement.
  • the data format is a picture and the time range is Data from 10:00 to 11:00.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供一种M2M数据的查询、调用方法、查询、调用设备及***,所述查询方法包括向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;接收所述infrastructure node CSE返回的符合所述数据要求的数据。本发明避免了出现应用节点与中间节点之间的命令请求次数过多的情况,其减少了应用节点与中间节点之间交互信令的字节开销,并减少了数据查询的时间和数据调用的时间,提高了数据查询以及数据调用的效率。

Description

一种M2M数据的查询、调用方法、查询、调用设备及*** 技术领域
本发明属于通信技术领域,尤其涉及一种M2M数据的查询、调用方法、查询、调用设备及***。
背景技术
机器通信(Machine-to-Machine Communications,M2M)是一种以机器智能交互为核心的、网络化的应用与服务,其通过在机器内部嵌入无线或有线通信模块以及应用处理逻辑,实现无需人工干预的数据通信,以满足用户对监控、指挥调度、数据采集和测量等方面的信息化需求。
与此同时,产生成了一个全新的全球化标准组织oneM2M,oneM2M的总体目标是创造M2M通信的业务层的开放标准,以促进建立一个集成各种设备和服务的未来网络,使M2M业务可互操作,也使得M2M应用可以调用基础业务并独立于网络实现。
参考图1,图1现有技术提供的M2M架构图。
其中,M2M设备上应用实体 (Application Entity,AE)与公共业务实体(Common Services Entity CSE)通过X参考点通信,oneM2M标准在公共业务实体(Common Services Entity CSE)之间使用Y参考点进行通信;公共业务实体CSE与基础网络功能单元(Underlying Network Function,NSF)通过Z参考点进行通信。
目前M2M通信可以基于有线方式,无线方式包括蜂窝网和短距,其中3GPP蜂窝网是广泛使用的一种方式。
参考图2,图2是现有技术提供的oneM2M结构示意图,其定义了CSE包含的组成单元,其中,数据管理存储单元(Data Management & Repository,DMR)的功能如下:
* 将数据进行收集
* 进行数据分析整理
* 便于CSE之间,Application之间进行数据调用
* 数据聚合
* 数据查找
参考图3,现有技术提供的M2M的支持部署场景的网络拓扑图。
场景case1:应用专用节点Application Dedicated Node 通过X参考点与基础节点infrastructure node连接;
场景case2: 应用专用节点Application Dedicated Node通过中间节点Middle Node连接到基础节点infrastructure Node;
场景case3:应用业务节点Application Service Node通过中间节点Middle Node连接到基础节点infrastructure Node;
场景case4:应用业务节点Application Service Node通过Y参考点与基础节点infrastructure node连接。
其中,每个应用专用节点包括至少一个应用实体 (Application Entity,AE),每个应用业务节点包括至少一个应用实体和一个公共业务实体(Common Services Entity CSE),每个中间节点middle node 包括至少一个应用实体和一个公共业务实体(Common Services Entity CSE)。
现有技术中所有的应用业务节点/中间节点的公共业务实体将数据同步到基础节点的公共业务实体的数据管理存储单元DMR进行保存。
参考图4,图4是现有的oneM2M定义的数据调用的实施流程图,详述如下:
当AE或CSE请求应用业务节点/中间节点的公共业务实体的数据时,需要将请求发送到应用业务节点/中间节点的公共业务实体注册的基础节点的公共业务实体;
基础节点的公共业务实体查询该请求中应用业务节点/中间节点的公共业务实体所在的状态;
如果应用业务节点/中间节点的公共业务实体所在的状态为在线online状态时,基础节点的公共业务实体将请求下发,应用业务节点/中间节点的公共业务实体在回复消息中返回请求的数据;
如果应用业务节点/中间节点的公共业务实体所在的状态为不在线offline状态时,应用业务节点/中间节点的公共业务实体的所注册的基础节点的公共业务实体就会先保留这个请求,直到请求过期为止,过期返回回复消息(失败)。
因此,现有的M2M的调用数据方案,需要通过基础节点的公共业务实体确定用业务节点/中间节点的公共业务实体所在的状态为在线online状态,再从用业务节点/中间节点的公共业务实体中进行调用数据,当用业务节点/中间节点的公共业务实体所在的状态为不在线offline状态时,其无法调用数据,增加了调用数据的难度。此外,对于调用一次数据来说,在应用节点与中间节点之间的命令请求次数会很多,因此,其增加了应用节点与中间节点之间交互信令的字节开销,并增加了数据查询、数据调用的时间,降低了数据查询以及数据调用的效率。
技术问题
本发明实施例的目的在于提供M2M的数据调用方法,旨在解决现有的M2M的调用数据方案,增加了调用数据的难度,并增加了应用节点与中间节点之间的交互信令的字节开销以及数据查询和数据调用的时间,降低了数据查询以及数据调用的效率的问题。
技术解决方案
第一方面,一种查询设备,包括:
  发送单元,用于向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
  数据接收单元,用于接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  结合第一方面,所述的查询设备,所述infrastructure node CSE为所述提供调用数据的AE/CSE所在的节点注册的infrastructure node CSE,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点,所述AE包括应用专用节点的应用实体、应用业务节点的应用实体、中间节点的应用实体,所述CSE包括应用业务节点的公共业务实体、中间节点的公共业务实体。
  第二方面,一种查询设备,所述查询设备包括处理器、存储器、通信接口,其中处理器、通信接口、存储器通过总线完成相互间的通信;
  所述通信接口,用于与其他通信设备进行通信;
  所述处理器,用于执行程序;
  所述存储器,用于存储程序;
  其中程序用于向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
  用于接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  第三方面,一种调用设备,包括:
  调用数据请求接收单元,用于接收应用实体/公共业务实体AE/CSE发送的调用数据请求;
  查询单元,用于根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
  返回单元,用于当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  结合第三方面,所述的调用设备,所述预先存储的数据包括应用专用节点的应用实体数据、应用业务节点的应用实体数据和公共业务实体数据、中间节点的应用实体数据和公共业务实体数据之一或其任意组合。
  结合第三方面,所述的调用设备,还包括:
  读取单元,用于读取***时间和配置的更新时限,判断更新时限是否到达;
  更新单元,用于所述更新时限到达时,连接所述提供调用数据的AE/CSE所在的节点,更新所述预先存储的数据。
  结合第三方面,所述的调用设备,还包括:
  转发单元,用于当不存在符合所述数据要求的数据时,向所述提供调用数据的AE/CSE所在的节点转发所述调用数据请求,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点。
  结合第三方面,所述的调用设备,所述查询单元,还用于
  当所述数据要求包括数据类型要求时,查询是否存在符合所述数据类型要求的数据;或
  当所述数据要求包括时间要求时,查询是否存在符合所述时间要求的数据;或
  当所述数据要求包括数据类型要求和时间要求时,查询是否存在同时符合所述数据类型要求和时间要求的数据。
  第四方面,一种调用设备,所述调用设备包括处理器、存储器、通信接口,其中处理器、通信接口、存储器通过总线完成相互间的通信;
  所述通信接口,用于与其他通信设备进行通信;
  所述处理器,用于执行程序;
  所述存储器,用于存储程序;
  其中程序用于接收应用实体/公共业务实体AE/CSE发送的调用数据请求;用于根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
  用于当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  第五方面,一种M2M的数据管理***,包括上述的AE/CSE和infrastructure node CSE,所述AE/CSE与所述infrastructure node CSE采用oneM2M的网络架构进行连接。
  第六方面,一种M2M数据的查询方法,包括:
  向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
  接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  结合第六方面,所述的查询方法,所述infrastructure node CSE为所述提供调用数据的AE/CSE所在的节点注册的infrastructure node CSE,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点,所述AE包括应用专用节点的应用实体、应用业务节点的应用实体、中间节点的应用实体,所述CSE包括应用业务节点的公共业务实体、中间节点的公共业务实体。
  第七方面,一种M2M数据的调用方法,包括:
  接收应用实体/公共业务实体AE/CSE发送的调用数据请求;
  根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
  当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  结合第七方面,所述的调用方法,所述预先存储的数据包括应用专用节点的应用实体数据、应用业务节点的应用实体数据和公共业务实体数据、中间节点的应用实体数据和公共业务实体数据之一或其任意组合。
  结合第七方面,所述的调用方法,还包括:
  读取***时间和配置的更新时限,判断更新时限是否到达;
  所述更新时限到达时,连接所述提供调用数据的AE/CSE所在的节点,更新所述预先存储的数据。
  结合第七方面,所述的调用方法,还包括:
  当不存在符合所述数据要求的数据时,向所述提供调用数据的AE/CSE所在的节点转发所述调用数据请求,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点。
  结合第七方面,所述的调用方法,所述查询是否存在符合所述数据要求的数据,包括:
  当所述数据要求包括数据类型要求时,查询是否存在符合所述数据类型要求的数据;或
  当所述数据要求包括时间要求时,查询是否存在符合所述时间要求的数据;或
  当所述数据要求包括数据类型要求和时间要求时,查询是否存在同时符合所述数据类型要求和时间要求的数据。
有益效果
在本实施例中,当infrastructure node CSE上的数据符合AE/CSE的数据要求时,可直接将符合数据要求的数据返回至AE/CSE,从而infrastructure node CSE没有必要在去查询业务节点/中间节点的公共业务实体数据,从而避免了当业务节点/中间节点的公共业务实体处于offline状态时,出现无法调用数据,增加了调用数据的难度的情况,并避免了出现在应用节点与中间节点之间的命令请求次数会很多的情况,因此,其减少了应用节点与中间节点之间交互信令的字节开销,减少了数据查询的时间以及数据调用的时间,提高了数据查询以及数据调用的效率。
附图说明
图1是现有技术提供的M2M架构图;
  图2是现有技术提供的oneM2M结构示意图;
  图3是现有技术提供的M2M的支持部署场景的网络拓扑图;
  图4是是现有的oneM2M定义的数据调用的实施流程图:
  图5是本发明实施例提供的一种查询设备的结构框图;
  图6是本发明实施例提供的一种查询设备的结构示意图;
  图7是本发明实施例提供的一种调用设备的结构框图;
  图8是本发明实施例提供的一种调用设备的结构示意图;
  图9是本发明实施例提供的一种M2M的数据的查询方法的实现流程图;
  图10是本发明实施例提供的一种M2M数据的调用方法的实现流程图;
  图11是本发明实施例提供的在实际应用中AE/CSE和infrastructure node CSE之间交互的实现流程图;
  图12是本发明实施例提供的查询存在符合数据类型要求的数据的实施流程图;
  图13是本发明实施例提供的查询存在时间要求的数据的实施流程图;
  图14是本发明实施例提供的查询符合数据类型要求和时间要求的数据的实施流程图。
  
本发明的实施方式
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
  参考图5,图5是本发明实施例提供的一种查询设备的结构框图,为了便于说明,仅示出了与本实施例相关的部分,详述如下:
  发送单元51,用于向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
  数据接收单元52,用于接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  进一步地,在该查询设备中,infrastructure node CSE为提供调用数据的AE/CSE所在的节点注册的infrastructure node CSE,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点,所述AE包括应用专用节点的应用实体、应用业务节点的应用实体、中间节点的应用实体,所述CSE包括应用业务节点的公共业务实体、中间节点的公共业务实体。参考图6,图6是本发明实施例提供的一种查询设备的结构示意图,本发明具体实施例并不对所述查询设备的具体实现做限定,所述查询设备5,包括:
  处理器61,通信接口62,存储器63通过总线64完成相互间的通信。
  通信接口62,用于与其他通信设备进行通信;
  处理器61,用于执行程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。
  处理器61可能是一个中央处理器(英文:central processing unit,缩写:CPU。
  存储器63,用于存储程序,其中程序用于向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
  用于接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  参考图7,图7是本发明实施例提供的一种调用设备的结构框图,为了便于说明,仅示出了与本实施例相关的部分,详述如下:
  调用数据请求接收单元71,用于接收应用实体/公共业务实体AE/CSE发送的调用数据请求;
  查询单元72,用于根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
  返回单元73,用于当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  进一步地,在该调用设备中,所述预先存储的数据包括应用专用节点的应用实体数据、应用业务节点的应用实体数据和公共业务实体数据、中间节点的应用实体数据和公共业务实体数据之一或其任意组合。
  进一步地,在该调用设备中,还包括:
  读取单元,用于读取***时间和配置的更新时限,判断更新时限是否到达;
  更新单元,用于所述更新时限到达时,连接所述提供调用数据的AE/CSE所在的节点,更新所述预先存储的数据。
  进一步地,在该调用设备中,还包括:
  转发单元,用于当不存在符合所述数据要求的数据时,向所述提供调用数据的AE/CSE所在的节点转发所述调用数据请求,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点。
  进一步地,在该调用设备中,所述查询单元还用于
  当所述数据要求包括数据类型要求时,查询是否存在符合所述数据类型要求的数据;或
  当所述数据要求包括时间要求时,查询是否存在符合所述时间要求的数据;或
  当所述数据要求包括数据类型要求和时间要求时,查询是否存在同时符合所述数据类型要求和时间要求的数据。
  参考图8,图8是本发明实施例提供的一种调用设备的结构示意图,本发明具体实施例并不对所述调用设备的具体实现做限定,所述调用设备8,包括:
  处理器81,通信接口82,存储器83通过总线84完成相互间的通信。
  通信接口82,用于与其他通信设备进行通信;
  处理器81,用于执行程序。具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。
  处理器81可能是一个中央处理器(英文:central processing unit,缩写:CPU。
  存储器83,用于存储程序,其中程序用于根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
  用于当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  在本实施例中,M2M的数据管理***包括AE/CSE和infrastructure node CSE,且AE/CSE与infrastructure node CSE之间的对应关系是多对一,AE/CSE与infrastructure node CSE采用oneM2M的网络架构进行连接。
  参考图9,图9是本发明实施例提供的一种M2M的数据的查询方法的实现流程图,详述如下:
  在步骤S901中,向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
  在本实施例中,可通过oneM2M的网络架构中的任意一个应用实体/公共业务实体(AE/CSE),向基础节点的公共业务实体infrastructure node CSE发送调用数据请求。调用数据请求(Request)携带AE/CSE ID ,其便于infrastructure node CSE根据AE/CSE ID查找数据。
  在本实施例中,AE/CSE可直接获取到AE/CSE ID,AE/CSE id是提供调用数据的应用实体/公共业务实体的标识,也就是被查询的应用实体/公共业务实体的AE/CSE ID。
  此外,调用数据请求(Request)还携带数据要求,数据要求包括数据类型要求(data type)、时间要求(time demand)或其组合。
  其中,数据类型要求指出AE/CSE需要的数据类型,包括但不限于某一数据格式的数据、某一存储设备的数据或者包含特殊字符的数据,比如数据格式为图片的数据、infrastructure node中DMR的数据或包含查询字符的数据等。
  时间要求指出AE/CSE需要的限制,包括但不限于某一个时间的数据,或者某一个时间范围的数据,比如最新数据或10:00~11:00的数据等。
  在步骤S902中,接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  在本实施例中,AE/CSE接收infrastructure node CSE返回的符合所述数据要求的数据。
  在本实施例中,当infrastructure node CSE上的数据符合AE/CSE的数据要求时,可直接将符合数据要求的数据返回至AE/CSE,从而infrastructure node CSE没有必要在去查询Application Service Node/middle Node CSE数据,从而避免了当Application Service Node/middle Node CSE处于offline状态时,其无法调用数据,增加了调用数据的难度的情况,并避免了在应用节点与中间节点之间的命令请求次数会很多的情况,因此,其减少了应用节点与中间节点之间交互信令的字节开销,并减少了数据查询的时间,提高了数据查询的效率。
  作为本发明的一个优选实施例,所述infrastructure node CSE为所述提供调用数据的AE/CSE所在的节点注册的infrastructure node CSE,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点,所述AE包括应用专用节点的应用实体、应用业务节点的应用实体、中间节点的应用实体,所述CSE包括应用业务节点的公共业务实体、中间节点的公共业务实体。
  在本实施例中,当应用实体/公共业务实体(AE/CSE)请求其他应用专用节点/应用业务节点/中间节点(Application dedicated node /Application service node/middle node)的数据时,需要调用数据请求发送到其他提供调用数据的应用专用节点/应用业务节点/中间节点(Application dedicated node /Application service node/middle node)所注册的基础节点的公共业务实体(infrastructure CSE)。
  参考图10,图10是本发明实施例提供的一种M2M数据的调用方法的实现流程图,详述如下:
  在步骤S1001中,接收应用实体/公共业务实体AE/CSE发送的调用数据请求;
  在本实施例中,基础节点的公共业务实体infrastructure node CSE,接收oneM2M的网络架构中的任意一个应用实体/公共业务实体AE/CSE发送的调用数据请求,;
  在步骤S1002中,根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
  在本实施例中,infrastructure node CSE根据接收到的调用数据请求中的AE/CSE ID,在DMR中通过AE/CSE ID查询与AE/CSE ID相对应的数据。在与AE/CSE ID相对应的数据中,通过接收到的调用数据请求中的数据要求,筛选出符合所述数据要求的数据,
  在步骤S1003中,当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  在本实施例中,当存在符合所述数据要求的数据时,通过oneM2M的网络,
向AE/CSE返回符合所述数据要求的数据。
  在本实施例中,当infrastructure node CSE上的数据符合AE/CSE的数据要求时,可直接将符合数据要求的数据返回至AE/CSE,从而AE/CSE没有必要在去查询Application Service Node/middle Node CSE数据,避免了在应用节点与中间节点之间的命令请求次数会很多的情况,因此,其减少了应用节点与中间节点之间交互信令的字节开销,并减少了数据调用的时间,提高了数据调用的效率。
  作为本发明的一个优选实施例,所述预先存储的数据包括应用专用节点的应用实体数据、应用业务节点的应用实体数据和公共业务实体数据、中间节点的应用实体数据和公共业务实体数据之一或其任意组合。
  作为本发明的一个优选实施例,还包括:
  读取***时间和配置的更新时限,判断更新时限是否到达;
  所述更新时限到达时,连接所述提供调用数据的AE/CSE所在的节点,更新所述预先存储的数据。
  在本实施例中,可以预先配置应用实体/公共业务实体数据的更新时限,例如配置为每小时、每日、每周或者每10天更新一次等,***监测更新时限,在更新时限到时,自动连接提供调用数据的应用实体/公共业务实体所在的节点,发起应用实体/公共业务实体数据的更新过程。
  作为本发明的一个优选实施例,还包括:
  当不存在符合所述数据要求的数据时,向所述提供调用数据的AE/CSE所在的节点转发所述调用数据请求,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点。
  在本实施例中, infrastructure node CSE向提供调用数据的应用实体/公共业务实体所在的节点转发所述调用数据请求,使得应用节点/中间节点根据接收到的调用数据请求中的AE/CSE ID,查询与所述AE/CSE ID对应的数据,在与所述AE/CSE ID对应的数据中,查询是否存在符合所述数据要求的数据,当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  在本实施例中,当不存在符合数据要求的数据时,infrastructure node CSE向提供调用数据的实体所在的节点转发调用数据请求,以使得应用节点/中间节点可将符合数据要求的数据返回至AE/CSE。从而避免了当未到达数据更新周期时,infrastructure Node 中的DMR保存的并不是最新的数据,可能出现查询不到符合数据要求的数据的情况,使得AE/CSE可接收符合数据要求的数据。
参考图 11 ,图 11 是本发明实施例提供的在实际应用中 AE/CSE 和 infrastructure node CSE 之间交互的实现流程图。
1 、 AE/CSE 请求其他 Application service node/middle node 的数据,发送 Request data information 到 Application service node/middle node 所注册的 infrastructure CSE ,携带参数( AE/CSE ID ), AE/CSE ID 指出需要访问的进行调用数据 AE 或 CSE ID 。其中, Infrastructure node 上保存的 AE/CSE ID 的数据信息类型及时间信息。
2 、 Infrastructure node 首先检查 AE/CSE 是否有调用数据的权限,该数据属于被调用数据的 AE 或 CSE ,当 AE/CSE 具备调用数据的权限时, Infrastructure node 检查 AE/CSE ID 相对应的数据的数据类型信息。
3 、 infrastructure node CSE 将保存的 AE/CSE ID 数据类型信息返回给 AE/CSE, 数据类型信息可以是 Application service node/middle node 保存在 infrastructure node 上的数据类型,比如:时间信息(创建时间,到期时间), Application 数据,设备信息,签约信息等。
4 、 AE/CSE 接收数据类型信息,发送 Request 到 Application service node/middle node 所注册的 infrastructure CSE ,携带参数( AE/CSE ID , data type/time demand )
Data type 指出 AE/CSE 需要的数据类型,比如需要时间信息, application 或位置信息等;也可以是经过 infrastructure node 中 DMR 处理过的数据。
另外可以携带参数 time demand ,指出需要数据的时间范围,比如最新数据,或 10:00~11:00 的数据等
infrastructure node CSE 检查当前保存的数据是否符合 AE/CSE 的数据要求(数据类型要求和时间要求),返回要求的数据
5 、 infrastructure node CSE 返回 AE/CSE 要求的数据
6 、如果不满足 AE/CSE 要求的时间或数据信息,则向 Application service node/middle node 查询数据;
7 、 Application service node/middle node 查询数据完毕,返回 AE/CSE 要求的数据。
作为本发明的一个优选实施例,所述查询是否存在符合所述数据要求的数据,包括:
当所述数据要求包括数据类型要求时,查询是否存在符合所述数据类型要求的数据;或
当所述数据要求包括时间要求时,查询是否存在符合所述时间要求的数据;或
当所述数据要求包括数据类型要求和时间要求时,查询是否存在同时符合所述数据类型要求和时间要求的数据。
在本实施例中,当数据要求包括数据类型要求时,以数据类型要求作为查询条件,查询是否存在符合数据类型要求的数据。
参考图 12 ,图 12 是本发明实施例提供的查询存在符合数据类型要求的数据的实施流程图。
在本实施例中,当数据要求包括数据类型要求时,以数据类型要求作为查询条件,查询是否存在数据类型要求的数据。
参考图 13 ,图 13 是本发明实施例提供的查询存在时间要求的数据的实施流程图。
在本实施例中,当数据要求包括时间要求时,以时间要求作为查询条件,查询是否存在时间要求的数据。
在本实施例中,通过对查询条件进行限制,减少了查询的时间,提高了查询是否存在符合数据要求的数据的效率。
参考图 14 ,图 14 是本发明实施例提供的查询符合数据类型要求和时间要求的数据的实施流程图。
在本实施例中,当数据要求包括数据类型要求和时间要求时,以数据类型要求和时间要求作为查询条件,查询是否存在符合数据类型要求和时间要求的数据。比如数据格式为图片且时间范围为 10:00~11:00 的数据。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。

Claims (17)

  1. 一种查询设备,其特征在于,包括:
      发送单元,用于向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
      数据接收单元,用于接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  2.   如权利要求1所述的查询设备,其特征在于,所述infrastructure node CSE为所述提供调用数据的AE/CSE所在的节点注册的infrastructure node CSE,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点,所述AE包括应用专用节点的应用实体、应用业务节点的应用实体、中间节点的应用实体,所述CSE包括应用业务节点的公共业务实体、中间节点的公共业务实体。
  3. 一种查询设备,其特征在于,所述查询设备包括处理器、存储器、通信接口,其中处理器、通信接口、存储器通过总线完成相互间的通信;
      所述通信接口,用于与其他通信设备进行通信;
      所述处理器,用于执行程序;
      所述存储器,用于存储程序;
      其中程序用于向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
      用于接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  4. 一种调用设备,其特征在于,包括:
      调用数据请求接收单元,用于接收应用实体/公共业务实体AE/CSE发送的调用数据请求;
      查询单元,用于根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
      返回单元,用于当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  5. 如权利要求4所述的调用设备,其特征在于,所述预先存储的数据包括应用专用节点的应用实体数据、应用业务节点的应用实体数据和公共业务实体数据、中间节点的应用实体数据和公共业务实体数据之一或其任意组合。
  6. 如权利要求4所述的调用设备,其特征在于,还包括:
      读取单元,用于读取***时间和配置的更新时限,判断更新时限是否到达;
      更新单元,用于所述更新时限到达时,连接所述提供调用数据的AE/CSE所在的节点,更新所述预先存储的数据。
  7.   如权利要求4所述的调用设备,其特征在于,还包括:
      转发单元,用于当不存在符合所述数据要求的数据时,向所述提供调用数据的AE/CSE所在的节点转发所述调用数据请求,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点。
  8.   如权利要求4所述的调用设备,其特征在于,所述查询单元还用于
      当所述数据要求包括数据类型要求时,查询是否存在符合所述数据类型要求的数据;或
      当所述数据要求包括时间要求时,查询是否存在符合所述时间要求的数据;或
      当所述数据要求包括数据类型要求和时间要求时,查询是否存在同时符合所述数据类型要求和时间要求的数据。
  9.   一种调用设备,其特征在于,所述调用设备包括处理器、存储器、通信接口,其中处理器、通信接口、存储器通过总线完成相互间的通信;
      所述通信接口,用于与其他通信设备进行通信;
      所述处理器,用于执行程序;
      所述存储器,用于存储程序;
      其中程序用于接收应用实体/公共业务实体AE/CSE发送的调用数据请求;用于根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
      用于当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  10.   一种M2M的数据管理***,包括权利要求1或4所述的AE/CSE和infrastructure node CSE,所述AE/CSE与所述infrastructure node CSE采用oneM2M的网络架构进行连接。
  11.   一种M2M数据的查询方法,其特征在于,包括:
      向基础节点的公共业务实体infrastructure node CSE发送调用数据请求,所述调用数据请求包括提供调用数据的应用实体/公共业务实体的标识AE/CSE ID以及所述调用数据的数据要求,所述数据要求包括数据类型要求、时间要求或其组合;
      接收所述infrastructure node CSE返回的符合所述数据要求的数据。
  12.   如权利要求11所述的查询方法,其特征在于,所述infrastructure node CSE为所述提供调用数据的AE/CSE所在的节点注册的infrastructure node CSE,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点,所述AE包括应用专用节点的应用实体、应用业务节点的应用实体、中间节点的应用实体,所述CSE包括应用业务节点的公共业务实体、中间节点的公共业务实体。
  13.   一种M2M数据的调用方法,其特征在于,包括:
      接收应用实体/公共业务实体AE/CSE发送的调用数据请求;
      根据接收到的调用数据请求中的提供调用数据的应用实体/公共业务实体的标识AE/CSE ID,在预先存储的数据中,查询与所述AE/CSE ID相对应的数据,以及在与所述AE/CSE ID相对应的数据中,根据接收到的调用数据请求中的数据要求,查询是否存在符合所述数据要求的数据;
      当存在符合所述数据要求的数据时,向所述AE/CSE返回符合所述数据要求的数据。
  14.   如权利要求13所述的调用方法,其特征在于,所述预先存储的数据包括应用专用节点的应用实体数据、应用业务节点的应用实体数据和公共业务实体数据、中间节点的应用实体数据和公共业务实体数据之一或其任意组合。
  15. 如权利要求13所述的调用方法,其特征在于,还包括:
      读取***时间和配置的更新时限,判断更新时限是否到达;
      所述更新时限到达时,连接所述提供调用数据的AE/CSE所在的节点,更新所述预先存储的数据。
  16. 如权利要求13所述的调用方法,其特征在于,还包括:
      当不存在符合所述数据要求的数据时,向所述提供调用数据的AE/CSE所在的节点转发所述调用数据请求,所述提供调用数据的AE/CSE所在的节点包括应用专用节点、应用业务节点、中间节点。
  17.   如权利要求13所述的调用方法,其特征在于,所述查询是否存在符合所述数据要求的数据,包括:
      当所述数据要求包括数据类型要求时,查询是否存在符合所述数据类型要求的数据;或
      当所述数据要求包括时间要求时,查询是否存在符合所述时间要求的数据;或
      当所述数据要求包括数据类型要求和时间要求时,查询是否存在同时符合所述数据类型要求和时间要求的数据。
PCT/CN2013/086370 2013-10-31 2013-10-31 一种m2m数据的查询、调用方法、查询、调用设备及*** WO2015062052A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2013/086370 WO2015062052A1 (zh) 2013-10-31 2013-10-31 一种m2m数据的查询、调用方法、查询、调用设备及***
EP13896452.3A EP3054625B1 (en) 2013-10-31 2013-10-31 M2m data query and scheduling method, query and scheduling device and system
US15/141,243 US10148739B2 (en) 2013-10-31 2016-04-28 M2M data querying and invoking methods, querying and invoking devices, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/086370 WO2015062052A1 (zh) 2013-10-31 2013-10-31 一种m2m数据的查询、调用方法、查询、调用设备及***

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/141,243 Continuation US10148739B2 (en) 2013-10-31 2016-04-28 M2M data querying and invoking methods, querying and invoking devices, and system

Publications (1)

Publication Number Publication Date
WO2015062052A1 true WO2015062052A1 (zh) 2015-05-07

Family

ID=53003168

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086370 WO2015062052A1 (zh) 2013-10-31 2013-10-31 一种m2m数据的查询、调用方法、查询、调用设备及***

Country Status (3)

Country Link
US (1) US10148739B2 (zh)
EP (1) EP3054625B1 (zh)
WO (1) WO2015062052A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102022A (zh) * 2016-06-01 2016-11-09 北京邮电大学 基于底层网络特性的传输控制方法及***
WO2017071118A1 (zh) * 2015-10-28 2017-05-04 西安中兴新软件有限责任公司 监控资源管理的方法、装置和cse、存储介质
WO2017211142A1 (zh) * 2016-06-08 2017-12-14 华为技术有限公司 切换接入点的方法及装置
CN107567006A (zh) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 M2m应用的信息方法、cse及ae

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10270815B1 (en) * 2016-06-07 2019-04-23 Amazon Technologies, Inc. Enabling communications between a controlling device and a network-controlled device via a network-connected device service over a mobile communications network
EP3695581B1 (en) 2017-10-12 2023-09-20 Convida Wireless, LLC Interworking service for the restful internet of things
CN108206992B (zh) * 2017-12-05 2022-07-15 中兴通讯股份有限公司 一种多播组信息的传递方法、装置和***

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201270528Y (zh) * 2008-09-26 2009-07-08 广州市聚晖电子科技有限公司 一种应用于数据采集平台的数据处理装置
CN102136933A (zh) * 2010-09-30 2011-07-27 华为技术有限公司 设备管理方法、中间件及机器通信平台、设备和***
CN102970721A (zh) * 2012-11-15 2013-03-13 桂林电子科技大学 一种m2m网络中面向异构连通服务的分布式拓扑控制方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2204703A1 (en) * 2008-12-23 2010-07-07 Siemens Aktiengesellschaft Method for improved operating of an industrial automation system and corresponding devices
US9161158B2 (en) * 2011-06-27 2015-10-13 At&T Intellectual Property I, L.P. Information acquisition using a scalable wireless geocast protocol
US9723062B2 (en) * 2011-09-12 2017-08-01 Tata Consultancy Services Limited System for dynamic service collaboration through identification and context of plurality of heterogeneous devices
CN102857576A (zh) 2012-09-24 2013-01-02 无锡莱吉特信息科技有限公司 基于m2m平台的胎动交互接入***
JP6194024B2 (ja) * 2013-02-19 2017-09-06 エルジー エレクトロニクス インコーポレイティド M2mサービス設定変更方法及びこのための装置
KR102084104B1 (ko) * 2013-07-25 2020-03-03 콘비다 와이어리스, 엘엘씨 종단간 m2m 서비스 계층 세션
US9867164B2 (en) * 2013-09-09 2018-01-09 Lg Electronics Inc. Method and device for processing a specific request message in wireless communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201270528Y (zh) * 2008-09-26 2009-07-08 广州市聚晖电子科技有限公司 一种应用于数据采集平台的数据处理装置
CN102136933A (zh) * 2010-09-30 2011-07-27 华为技术有限公司 设备管理方法、中间件及机器通信平台、设备和***
CN102970721A (zh) * 2012-11-15 2013-03-13 桂林电子科技大学 一种m2m网络中面向异构连通服务的分布式拓扑控制方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SWETINA, J. ET AL.: "TOWARD A STANDARDIZED COMMON M2M SERVICE LAYER PLATFORM: INTRODUCTION TO ONEM2M", IEEE WIRELESS COMMUNICATIONS, vol. 21, no. 3, 30 June 2014 (2014-06-30), XP011552472 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017071118A1 (zh) * 2015-10-28 2017-05-04 西安中兴新软件有限责任公司 监控资源管理的方法、装置和cse、存储介质
CN106102022A (zh) * 2016-06-01 2016-11-09 北京邮电大学 基于底层网络特性的传输控制方法及***
WO2017211142A1 (zh) * 2016-06-08 2017-12-14 华为技术有限公司 切换接入点的方法及装置
US10932171B2 (en) 2016-06-08 2021-02-23 Huawei Technologies Co., Ltd. Access point switching method and apparatus
CN107567006A (zh) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 M2m应用的信息方法、cse及ae

Also Published As

Publication number Publication date
EP3054625A1 (en) 2016-08-10
EP3054625A4 (en) 2017-03-08
US10148739B2 (en) 2018-12-04
US20160241635A1 (en) 2016-08-18
EP3054625B1 (en) 2021-09-01

Similar Documents

Publication Publication Date Title
WO2015062052A1 (zh) 一种m2m数据的查询、调用方法、查询、调用设备及***
WO2015046960A1 (ko) M2m 시스템에서 통지 메시지 전달 방법 및 이를 위한 장치
WO2016047983A1 (ko) 통신 단말들간 무선 통신을 위한 방법 및 장치
WO2012124985A2 (en) Method and apparatus for synchronizing personal inforamtion
WO2011155732A2 (ko) 장치가 다른 장치와 통신 하는 방법
WO2017206875A1 (zh) 一种基于数据包的处理方法、装置、存储介质及电子设备
WO2020032449A1 (en) Electronic device for supporting data communication and method therefor
WO2011139098A2 (ko) 이동통신 시스템에서의 mtc 서비스 네트워크 오버로드의 제어 방법 및 그 장치
WO2016195199A1 (ko) 무선 통신 시스템에서 폴링 채널을 통해 요청을 처리하기 위한 방법 및 이를 위한 장치
WO2020155359A1 (zh) 家电设备的控制方法、服务器、家电设备及存储介质
WO2018165926A1 (zh) 用于传输同步信号的方法和设备
WO2020004986A1 (ko) 무선 통신 시스템에서 통신 방법 및 장치
WO2018076873A1 (zh) 数据分享方法、装置、介质、电子设备及***
WO2018157405A1 (zh) 传输数据的方法和设备
WO2012053840A2 (en) Apparatus and method for receiving paging message in wireless access system
WO2015020488A1 (ko) 인증 정보를 얻는 방법 및 장치
WO2014205778A1 (zh) 一种数据传输的方法及网关
WO2018236124A1 (ko) 블루투스 저전력 에너지 기술을 이용하여 서비스를 제공하기 위한 방법 및 장치
WO2015096040A1 (zh) 接入节点、移动管理网元以及寻呼消息处理方法
WO2017113976A1 (zh) 一种无线局域网通信方法、终端及***
EP3017617A1 (en) Method and apparatus for optimizing data route in mobile communication system
WO2022039359A1 (ko) 엣지 통합 제어장치 및 엣지 통합 제어장치의 동작 방법
WO2014201702A1 (zh) 一种指示辅助接入能力的方法、用户设备以及基站
WO2018157406A1 (zh) 一种传输数据的方法、终端设备和网络设备
WO2019194412A1 (en) Network apparatus and control method thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2013896452

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013896452

Country of ref document: EP