CN106454935B - Method and system for publishing and discovering article traceability information in M2M system - Google Patents

Method and system for publishing and discovering article traceability information in M2M system Download PDF

Info

Publication number
CN106454935B
CN106454935B CN201610729259.9A CN201610729259A CN106454935B CN 106454935 B CN106454935 B CN 106454935B CN 201610729259 A CN201610729259 A CN 201610729259A CN 106454935 B CN106454935 B CN 106454935B
Authority
CN
China
Prior art keywords
item
information
attribute
target resource
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201610729259.9A
Other languages
Chinese (zh)
Other versions
CN106454935A (en
Inventor
陶源
田野
袁博
张正顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Computer Network Information Center Chinese Academy Of Sciences
Computer Network Information Center of CAS
Original Assignee
Guangzhou Computer Network Information Center Chinese Academy Of Sciences
Computer Network Information Center of CAS
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 Guangzhou Computer Network Information Center Chinese Academy Of Sciences, Computer Network Information Center of CAS filed Critical Guangzhou Computer Network Information Center Chinese Academy Of Sciences
Priority to CN201610729259.9A priority Critical patent/CN106454935B/en
Publication of CN106454935A publication Critical patent/CN106454935A/en
Application granted granted Critical
Publication of CN106454935B publication Critical patent/CN106454935B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0215Traffic management, e.g. flow control or congestion control based on user or device properties, e.g. MTC-capable devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a method and a system for publishing and discovering article traceability information in an M2M system, wherein the publishing method comprises the following steps: acquiring first creation request information sent by each initiator node in an M2M system, wherein the first creation request information comprises item data collected by the initiator node; and generating a target resource according to the first creation request information, wherein the target resource is used for storing an item identifier and item data corresponding to the item identifier. The invention thoroughly solves the problem of the missing traceability solution of the traditional M2M system, can realize the automatic and intelligent article traceability under the oneM2M standard framework, and is beneficial to monitoring the whole life cycle of the product.

Description

Method and system for publishing and discovering article traceability information in M2M system
Technical Field
The invention relates to the technical field of traceability, in particular to a method and a system for issuing and discovering article traceability information in an M2M system.
Background
Traceability is the ability to trace back an entity's history (e.g., operations, location) through record identification. The tracing is widely applied to monitoring the whole life cycle of the product. For example, food safety traceability can track food quality safety and related information in each link of food production, supply and marketing (including planting, breeding, production, circulation, sales, catering services and the like), so that the whole production and operation activities of food are always effectively monitored. Currently, the Global Traceability Standard (GTS) of GS1 has been released, and the field of application is full supply chain traceability, mainly focusing on the food and beverage industry. The GS1 standard supports efficient identification, collection, and sharing of products, locations, assets, and services.
Machine-to-Machine Communications (M2M) is a networked application and service with Machine intelligent interaction as a core, and realizes data communication without manual intervention by embedding a wireless or wired communication module and application processing logic in a Machine, so as to meet the informatization requirements of users on monitoring, command scheduling, data acquisition and measurement and the like.
oneM2M is a standard for M2M systems. The general goal of oneM2M standard organization is to create an open standard for the service layer of M2M communications to facilitate the establishment of a future network that integrates various devices and services, to make M2M services interoperable, and to make M2M applications possible to share underlying services and to implement independently of the network. Fig. 1 is a functional architecture diagram of oneM2M standard, which oneM2M standard includes the following functions:
application Entity (AE): the application entity is an entity in the application layer that implements the M2M application service logic. Each application service logic may reside in multiple M2M nodes and/or on a single M2M node multiple times. Each instance of execution of the application service logic is referred to as an "application entity" (AE) and is identified by a unique AE-ID. Examples of AEs include fleet tracking application instances, remote blood glucose monitoring application instances, power metering application instances, or control application instances;
common Service Entity (CSE): a common business entity represents an instantiation of a set of "common business functions" in an M2M environment;
underlying Network Service Entity (NSE): the network service entity provides the service from the underlying network to the CSE.
The configuration diagram supported by the oneM2M architecture in fig. 2 provides a possible configuration of interconnection between different entities, and specifically includes the following entities:
and (3) node: the node is an independently identifiable logical entity in the oneM2M system. The node may be a CSE-capable or non-CSE-capable node. The oneM2M architecture should include the following types of nodes.
1. Application Service Node (ASN, Application Service Node)
The ASN comprises a CSE and at least one AE as a node. There may be 0 or more ASNs in the oneM2M system, with the ASNs being capable of being in the M2M device.
2. Application specific Node (ADN, Application differentiated Node)
ADN contains at least one AE as a node, but no CSE. There may be 0 or more ADNs in oneM2M system, which can be in a restricted M2M device.
3. Intermediate node (MN)
The MN comprises one CSE and 0 or more AEs as one node. There may be 0 or more MNs in the oneM2M system, the MNs being able to be in the M2M gateway.
4. Platform node (IN)
An IN contains as a node one CSE and 0 or more AEs. There is one IN per oneM2M service provider. The CSE functionality contained IN the CSE IN the IN may not be applicable to other node types. IN can be IN the M2M service infrastructure.
5. non-oneM 2M node (NoDN)
The non-oneM 2M node does not contain oneM2M entities (not AEs and CSEs) as a node. Such nodes represent devices for interconnection/management with oneM2M system.
In the existing GS1 scheme, how to intelligently and interactively implement the tracing of the article in an M2M system composed of devices with networking and communication capabilities, such as an M2M terminal, platform middleware and the like, is not considered, while in the existing oneM2M standard scheme, the tracing application is not considered, and the tracing of the article cannot be implemented.
Disclosure of Invention
Based on this, in order to solve the problems in the prior art, the invention provides a method and a system for publishing, discovering and subscribing the article traceability information in an M2M system, and the M2M system is utilized to realize automatic and intelligent article traceability.
In order to achieve the purpose, the embodiment of the invention adopts the following technical scheme:
acquiring first creation request information sent by each initiator node in an M2M system, wherein the first creation request information comprises item data collected by the initiator node;
and generating a target resource according to the first creation request information, wherein the target resource is used for storing an item identifier and item data corresponding to the item identifier.
A method for discovering article traceability information in an M2M system comprises the following steps:
acquiring first acquisition request information sent by an initiator node, wherein the first acquisition request information comprises a target article identifier;
performing resource discovery according to the first acquisition request information, and acquiring article data corresponding to the target article identifier from the target resource after acquiring the target resource; the target resource is used for storing an item identifier and item data corresponding to the item identifier;
and replying the item data corresponding to the target item identification to the initiator node.
The invention also provides an article traceability information issuing system in the M2M system, which comprises:
a first creation request obtaining module, configured to obtain first creation request information sent by each initiator node in an M2M system, where the first creation request information includes item data collected by the initiator node;
and the generating module is used for generating a target resource according to the first creation request information, wherein the target resource is used for storing an item identifier and item data corresponding to the item identifier.
And an article traceability information discovery system in the M2M system, comprising:
a first acquisition request information acquisition module, configured to acquire first acquisition request information sent by an initiator node, where the first acquisition request information includes resource discovery start position information and a target article identifier;
the first resource discovery module is used for carrying out resource discovery according to the resource discovery initial position information and obtaining the item data corresponding to the target item identification from the target resource after obtaining the target resource; the target resource is used for storing an item identifier and item data corresponding to the item identifier;
and the first reply module is used for replying the item data corresponding to the target item identification to the initiator node.
The invention provides a method and a system for issuing article traceability information IN an M2M system, which are characterized IN that the terminal nodes (such as ADN or ASN) IN the M2M system are used for acquiring article data, and the traceability information of the article can be issued to MN or IN of the M2M system at the registration stage of each terminal node or after registration under the oneM2M standard framework to create corresponding target resources.
Drawings
FIG. 1 is a functional architecture diagram of the oneM2M standard;
fig. 2 is a configuration diagram of oneM2M standard architecture support;
fig. 3 is a schematic flowchart of a first embodiment of the method for publishing the traceability information of the item in the M2M system according to the present invention;
fig. 4 is a schematic flowchart of generating a first target resource according to first creation request information in a first embodiment of the present invention;
FIG. 5 is a diagram illustrating a first target resource according to a first embodiment of the present invention;
fig. 6 is another schematic flow chart illustrating an item traceability information issuing method in the M2M system according to a first embodiment of the present invention;
fig. 7 is a flowchart illustrating a second embodiment of the method for publishing the traceability information of the item in the M2M system according to the present invention;
FIG. 8 is a diagram illustrating a third target resource according to a second embodiment of the present invention;
fig. 9 is another schematic flow chart illustrating an item traceability information issuing method in the M2M system according to a second embodiment of the present invention;
fig. 10 is a flowchart illustrating the item tracing information discovery method in the M2M system according to the third embodiment of the present invention;
fig. 11 is another schematic flowchart of the method for discovering the traceability information of the article in the M2M system according to the third embodiment of the present invention;
fig. 12 is a schematic flowchart of a method for discovering item tracing information in the M2M system according to a third embodiment of the present invention;
fig. 13 is a flowchart illustrating an item traceability information subscription method in the M2M system according to a fourth embodiment of the present invention;
fig. 14 is a schematic structural diagram of an article traceability information distribution system in the M2M system in the fifth embodiment of the present invention;
fig. 15 is another schematic structural diagram of an item traceability information distribution system in the M2M system in the fifth embodiment of the present invention;
fig. 16 is a schematic structural diagram of an alternative structure of the article traceability information discovery system in the M2M system in the sixth embodiment of the present invention;
fig. 17 is a schematic diagram of another alternative structure of the article traceability information discovery system in the M2M system in the sixth embodiment of the present invention;
fig. 18 is a schematic diagram of another alternative structure of the item tracing information discovery system in the M2M system according to the sixth embodiment of the present invention;
fig. 19 is a schematic structural diagram of an item traceability information subscription system in the M2M system in the seventh embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to preferred embodiments and the accompanying drawings. It is to be understood that the following examples are illustrative only and are not intended to limit the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It should be understood that although the terms "first", "second", etc. are used hereinafter to describe various information, these information should not be limited to these terms, which are used only to distinguish one type of information from another. For example, "first" information may also be referred to as "second" information, and similarly, "second" information may also be referred to as "first" information, without departing from the scope of the present invention. It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings.
Example one
Fig. 3 is a flowchart illustrating a method for distributing the traceability information of the article IN the M2M system according to the first embodiment of the present invention, where the method of the first embodiment may be executed by the MN or the IN. As shown in fig. 3, the method for publishing the article traceability information in the M2M system in the first embodiment includes the following steps:
step S10, obtaining first creation request information sent by each initiator node in the M2M system, wherein the first creation request information comprises item data collected by the initiator node;
IN a first embodiment, the initiator node may be an ADN or an ASN, and after collecting the item data, the initiator node sends first creation (Create) request information to the MN or the IN. The first creation request information includes the item data collected by the node of the initiator, for example, the ADN is a temperature sensor, which collects temperature data of each planting stage of the product, and when the ADN sends the first creation request information to the MN, the first creation request information includes the temperature data collected by the temperature sensor.
Step S20, generating a target resource according to the first creation request information, where the target resource is used to store an item identifier and item data corresponding to the item identifier.
The item identification is an identification of the item monitored by the respective ADN or ASN, and the item identification may take various forms, such as 6924743915398, banana-201605031, hsdx.gz.farm.cniotroot.cn, and the like. The item identity for each item may be pre-stored IN the MN or IN, for example at the time of registration of the initiator node. The item identification may also be included in the first creation request information. The MN or IN generates a target resource according to the item data and the item identifier collected by the initiator node, namely, the item data and the item identifier are stored IN the form of the target resource.
Optionally, before generating the target resource according to the first creation request information, a step of verifying is further included. For example, the first creation request information further includes first verification information for verification. After receiving the first creation request message, the MN or the IN verifies the first verification message IN the first creation request message, and if the verification passes, performs step S20; if the verification fails, no processing is performed.
If the adopted first verification information is different, the MN or the IN also has different ways of verifying the first verification information, for example, if the first verification information is the identity information of the initiator node, it can be determined whether the initiator node has the authority to create the resource by verifying the identity information, thereby implementing verification of the first verification information. The first verification information may also be a designated resource name, and the verification of the first verification information is implemented by determining whether a resource corresponding to the designated resource name already exists IN the MN or IN. It should be understood that the above-mentioned manner of verifying the first verification information is an example, and should not be construed as limiting the present invention, and other verification manners may be used to verify the first verification information.
By the method for publishing the traceability information of the article IN the M2M system IN the first embodiment, the traceability information of the article can be published to MN or IN of the M2M system at the registration stage of each terminal node (such as ADN or ASN) or after registration under the oneM2M standard framework, and corresponding target resources are created, so that intelligent traceability of products can be facilitated, and monitoring of the whole life cycle of the products can be realized.
Further, the structure of the target resource is diversified, and in one embodiment, the target resource may include at least a first target resource for storing a mapping of the item identification attribute itemID and the item identification corresponding data attribute content. Referring to fig. 4, the process of generating the first target resource according to the first creation request information includes:
step S21, creating an item identification attribute itemID, and creating a data attribute content corresponding to the item identification according to the item data collected by each initiator node;
step S22, generating a first target resource according to the mapping between the item identification attribute itemID and the data attribute content corresponding to the item identification.
The item identification attribute itemID is used for storing an item identification list, and the item identification list contains one or more item identifications. The item identification correspondence data attribute content is used for storing item data corresponding to the item identification.
Optionally, the first target resource may further include a node access information attribute pointoacces, configured to store node access information of the initiator node, such as an IP address, an FQDN (Fully Qualified domain name), and the like. IN this way, the mapping between the item identifier attribute itemID, the data attribute content corresponding to the item identifier, and the node access information attribute pointoaccess is stored IN MN or IN, so as to obtain the first target resource as shown IN fig. 5. The first target resource structure shown in fig. 5 can create itemID and pointof access in the resources of the types < CSEBase >, < remoteCSE >, < AE >, < container >, < contentinstant >, but need not be created under all types of resources, and can be created under one or more types of resources.
Other attributes may also be included in the first target resource and will not be illustrated here. After the MN or IN generates the first target resource, response information may also be fed back to the initiator node, where the response information may include location information of the first target resource and/or location information of each attribute.
After the MN or the IN generates the first target resource according to the mapping between the item identification attribute itemID and the data attribute content corresponding to the item identification, second creation request information may be sent to another MN or IN, so that the tracing information may be published IN another MN or IN, as shown IN fig. 6, the publishing process includes the following steps:
step S23, sending second creation (Create) request information to the receiver node, where the second creation request information includes the item identifier list;
step S24, receiving first response information fed back by the receiver node after generating the second target resource according to the second creation request information.
The MN or IN sends second creation request information to the receiving node (namely other MNs or IN), wherein the second creation request information comprises an item identification list, and the item identification list comprises one or more item identifications. The item identification list may be obtained from an item identification attribute itemID stored by the MN or the IN itself. The receiving node creates an item identification attribute itemID according to the item identification list, and creates a node access information attribute pointofAccess according to node access information corresponding to the second creation request information, wherein the node access information corresponds to the second creation request information, namely corresponds to a party (namely a requesting party, which can be MN or IN) sending the second creation request information, the node access information can be an IP address or FQDN, and the node access information attribute pointofAccess is used for storing the node access information of the requesting party. The receiving node generates a second target resource according to the mapping between the item identifier attribute itemID and the node access information attribute pointoOfAccess, and the structure of the second target resource may also refer to the resource structure shown in FIG. 5. Other attributes may also be included in the second target resource, and are not described here.
In addition, optionally, after receiving the second creation request information and before generating the second target resource, the receiver node also verifies the second creation request information. For example, the second creation request information includes second verification information used for information verification, and after obtaining the second creation request information, the receiving node verifies the second verification information in the second creation request information, and the specific verification process may refer to the above description. After the verification is passed, the receiver node generates a second target resource.
After the second target resource is generated, the receiver node feeds back first response information to the requester, and the requester receives the first response information fed back by the receiver node, where the first response information may include location information of the second target resource and/or location information of each attribute.
Through the above process, the MN or the IN may issue the tracing information to other MNs or the IN.
Example two
The second embodiment of the present invention provides a method for issuing article traceability information IN an M2M system, where the method of the second embodiment may be executed by an MN or an IN. Compared with the first embodiment, the difference of the second embodiment is that the target resources are different, and the target resources in the second embodiment include a third target resource at least for storing the first item information attribute itemlnfo. Referring to fig. 7 and fig. 3 together, the method for distributing the traceability information of the article in the M2M system in the second embodiment includes the following steps:
step S210, acquiring first creation request information sent by each initiator node in the M2M system, wherein the first creation request information comprises item data and first verification information collected by the initiator node;
step S220, verifying the first verification information, and if the first verification information passes the verification, entering step S230;
step S230, creating a first item information attribute itemInfo according to the item identifier and item data corresponding to the item identifier;
step S240, generating a third target resource according to the first item information attribute itemlnfo.
Specifically, after acquiring the first creation request information sent by each initiator node (such as ASN or ADN) IN the M2M system, the MN or IN generates the third target resource according to the item identifier and the item data IN the first creation request information. The article identifier may be an identifier of an article monitored by each ADN or ASN, for example, a certain ADN is a temperature sensor a, which monitors the temperature of a tomato greenhouse, and the article identifier is an identifier of a tomato; another ADN is a temperature sensor B which monitors the temperature of the lettuce greenhouse, and the item identifier is the identifier of the lettuce. The item identifier may also be an identifier corresponding to an item formed after MN or IN processing, for example, if MN packages the above tomatoes and lettuce IN a mixed manner to form a mixed vegetable basket, the item identifier is an identifier corresponding to the mixed vegetable basket, and the item identifier may take various forms. The item identity for each item may be pre-stored IN the MN or IN, for example at the time of registration of the initiator node. The item identification may also be included in the first creation request information. And the MN or the IN generates a third target resource for storing the first item information attribute itemlnfo according to the item data collected by the initiator node and the item identifier. Optionally, before the information is requested according to the first creation, a step of verification is further included. For example, the first creation request information further includes first verification information for verification. After receiving the first creation request information, the MN or the IN verifies first verification information IN the first creation request information, and if the verification passes, executes step S230 to create a first item information attribute itemlnfo; if the verification fails, no processing is performed.
The first item information attribute itemlnfo is used to store a mapping between an item identification list and item data, where the item identification list includes one or more item identifications, and then a third target resource is generated according to the first item information attribute itemlnfo, such as the structure of the third target resource shown IN fig. 8, and MN or IN may create itemlnfo under a resource type < contentlnstance >. Other attributes may also be included in the third target resource and will not be illustrated here.
After the MN or IN generates the third target resource, response information may also be fed back to the initiator node, where the response information may include location information of the third target resource and/or location information of each attribute.
After the MN or the IN generates the third target resource according to the first item information attribute itemlnfo, third creation request information may be sent to another MN or IN, so that the tracing information may be published IN another MN or IN, as shown IN fig. 9, the publishing process includes the following steps:
step S250, sending a third creation request message to a receiving node (i.e. other MN or IN), where the third creation request message includes the item identifier list;
step S260, receiving second response information fed back by the receiver node after generating a fourth target resource according to the third creation request information.
The MN or the IN sends a third creation request message to the receiving node (i.e. other MN or IN), where the third creation request message includes an item identification list, and the item identification list includes one or more item identifications. The item identification list may be extracted from the first item information attribute itemlnfo stored by the MN or the IN itself. The third creation request information also includes third verification information for verifying information. After obtaining the third creation request message, the receiver node verifies the third verification message, and the specific verification process may refer to the above description. After the verification is passed, the receiving node creates a second item information attribute itemlnfo according to the mapping between the node access information corresponding to the third creation request information, that is, the party (that is, the requester, which may be MN or IN) that issued the third creation request information, and the item identification list, where the node access information may be the IP address or FQDN, etc. of the requester. The receiver node generates a fourth target resource according to the second item information attribute itemlnfo, and the structure of the fourth target resource may also refer to the resource structure shown in fig. 8. It should be noted that, in the second embodiment, both the first item information attribute and the second item information attribute are represented by itemlnfo to facilitate understanding, but the contents stored in the first item information attribute and the second item information attribute are different, the first item information attribute itemlnfo is used to store a mapping between an item identification list and item data, and the second item information attribute itemlnfo is used to store a mapping between node access information of a requester and an item identification list. Other attributes may also be stored in the fourth target resource, which are not illustrated here.
After the fourth target resource is generated, the receiver node feeds back second response information to the requester, and the requester receives the second response information fed back by the receiver node, where the second response information may include location information of the fourth target resource and/or location information of each attribute.
Through the above process, the MN or the IN may issue the tracing information to other MNs or the IN.
EXAMPLE III
Based on the method for issuing the article traceability information in the M2M system, the invention also provides a method for discovering the article traceability information in the M2M system. Fig. 10 is a flowchart illustrating the item tracing information discovery method IN the M2M system according to the third embodiment of the present invention, where the item tracing information discovery method IN the M2M system according to the third embodiment of the present invention may be executed by MN or IN. Referring to fig. 10, the method for discovering the article traceability information in the M2M system in the third embodiment includes the following steps:
step S310, acquiring first acquisition request information sent by an initiator node, wherein the first acquisition request information comprises a target article identifier;
step S320, according to the first acquisition request information, resource discovery is carried out, and after a target resource is obtained, item data corresponding to the target item identification are obtained from the target resource; the target resource is used for storing an item identifier and item data corresponding to the item identifier;
step S330, replying the item data corresponding to the target item identifier to the initiator node.
IN the third embodiment, the initiator node may be an IN-AE, or may be an ADN or an ASN. When the initiator node needs to discover the item tracing information, first obtaining (Retrieve) request information may be sent to the MN or the IN storing a target resource, where the target resource is used to store an item identifier and item data corresponding to the item identifier.
The first acquisition request information comprises a target article identifier, the target article identifier is an article identifier to be inquired, and the first acquisition request information is set according to the source tracing requirement of the user. Optionally, the first obtaining request information may further include resource discovery start position information, where the resource discovery start position information may be implemented by setting a parameter to, and according to an actual situation (depending on the position information of the target resource), the parameter to may be set to any one of < CSEBase >, < remoteCSE >, < AE >, < container > (or may be set to another resource, which is not illustrated here). After MN or IN obtains the first obtaining request information sent by the initiator node, resource discovery is carried out according to the resource discovery initial position information, if target resources are discovered, article data corresponding to the target article identification can be obtained from the target resources, and the article data is replied to the initiator node, so that discovery of article traceability information is realized.
Since the structure of the target resource is diversified, if the structure of the target resource is different, the parameters in the first acquisition request information are also different. In an optional implementation manner, referring to the first embodiment, the target resource includes at least a first target resource for storing a mapping between the item identification attribute itemID and the item identification corresponding data attribute content. The item identification attribute itemID is used for storing an item identification list, and the item identification list comprises one or more item identifications; the data attribute content corresponding to the item identifier is used for storing item data corresponding to each item identifier. At this time, the target item identifier in the first acquisition request information may be set by the parameter Filter criterion. Optionally, attribute in the parameter filtercriterion is set to "itemID ═ ID",' denotes wildcard, and ID denotes the target item identification, such as 6924743915398, banana-201605031, hsdx. The parameter content may also be set in the first acquisition request information, and the parameter content is set as the data attribute "content" corresponding to the item identifier. Meanwhile, other condition settings can be made through the parameter Filter criterion, for example, when there is a time requirement for the found item data, condition parameters such as "createdbyore", "createddafter", "modihedSince" and the like can be set. After receiving the first acquisition request message, if the first target resource is found, the MN or the IN may find the item data corresponding to the "ID" according to the mapping between the item identification attribute itemID stored IN the first target resource and the data attribute content corresponding to the item identification, and then reply the item data to the initiator node.
Still referring to the first embodiment, if the MN or the IN does not store the first target resource but stores the second target resource, referring to fig. 11, the process of discovering the article traceability information further includes:
step S410, second acquisition request information sent by an initiator node is acquired, wherein the second acquisition request information comprises a target article identifier and a node access information request instruction;
step S420, according to the second acquisition request information, performing resource discovery, and after acquiring a second target resource at least used for storing the mapping of the item identification attribute and the node access information attribute, acquiring node access information corresponding to the target item identification from the second target resource; the node access information attribute is used for storing node access information;
step S430, replying the node access information corresponding to the target item identifier to the initiator node.
The second target resource is at least used for storing the mapping of the item identification attribute itemID and the node access information attribute pointoOfAccess. Optionally, the target item identifier and the node access information request instruction in the second acquisition request information may be set by a parameter content and a parameter Filter criterion. Optionally, the parameter content is set to "itemID" (i.e. item identification attribute) and "pointoaccess" (i.e. node access information attribute), and the attribute in the parameter filtercriterion is set to "itemID ═ ID", where '×' represents wildcard, 'II)' represents the target item identification. In an optional implementation manner, the second obtaining request information further includes resource discovery start position information, where the resource discovery start position information may be implemented by setting a parameter to, and the parameter to may be set to any one of < CSEBase >, < remoteCSE >, < AE >, < container > (or may be set to other resources, which is not illustrated here).
After receiving the second acquisition request information, the MN or the IN performs resource discovery according to the resource discovery initial position information, and if a second target resource is discovered, the node access information corresponding to the "ID" can be determined according to the mapping between the item identification attribute itemID and the node access information attribute pointoaccess, and the node access information is replied to the initiator node. After the initiator node obtains the node access information, the corresponding node can be determined, and then the acquisition request information is sent to the node until the initiator node obtains the article data corresponding to the target article identifier, so that the discovery of the article traceability information is realized.
In another alternative implementation, referring to the second embodiment, the target resource includes a third target resource at least for storing the first item information attribute itemlnfo. The first item information attribute itemlnfo is used for storing the mapping between an item identification list and item data, wherein the item identification list comprises one or more item identifications. At this time, the target item identifier in the first acquisition request information may be set by the parameter Filter criterion. Optionally, the contentFilterQuery in the parameter filtercriterion is set to "ID", the ID represents the target item identifier, and the contentFilterSyntax in the parameter filtercriterion is set to "MATCH". The parameter content may also be set in the first acquisition request information, and set as "content" (i.e., item identification corresponding data attribute). After receiving the first acquisition request information, if a third target resource is found, the MN or the IN may find the item data corresponding to the "ID" according to the mapping between the item identification list stored IN the first item information attribute itemlnfo IN the third target resource and the item data, and then reply the item data to the initiator node, thereby realizing the discovery of the item tracing information.
Still referring to the second embodiment, if the MN or the IN does not store the third target resource but stores the fourth target resource, referring to fig. 12, the process of discovering the article traceability information further includes:
step S510, third acquisition request information sent by an initiator node is acquired, wherein the third acquisition request information comprises a target article identifier and an article information request instruction;
step S520, performing resource discovery according to the third acquisition request information, and after acquiring a fourth target resource at least used for storing the information attribute of the second item, acquiring node access information corresponding to the target item identifier from the fourth target resource;
step S530, replying the node access information corresponding to the target item identifier to the initiator node.
The fourth target resource is at least used for storing a second item information attribute itemlnfo. The second item information attribute itemlnfo is used for storing the mapping between an item identification list and node access information, wherein the item identification list comprises one or more item identifications. Optionally, the target item identifier and the item information request instruction in the third acquisition request information may be set by a parameter content and a parameter Filter criterion. If the parameter content is set to "itemlnfo" (namely, the second item information attribute), the contentFilterQuery in the parameter filtercritical is set to "ID", the ID represents the target item identifier, and the contentfiltersync in the parameter filtercritical is set to "MATCH". Optionally, the third obtaining request information may further include resource discovery start position information, where the resource discovery start position information may be implemented by setting a parameter to, and the parameter to may be set to any one of < CSEBase >, < remoteCSE >, < AE >, < container > according to an actual situation, or may be set to another resource, which is not illustrated herein. After receiving the third acquisition request information, the MN or the IN performs resource discovery according to the resource discovery initial position information, and if a fourth target resource is discovered, the MN or the IN may determine node access information corresponding to the "ID" according to the mapping between the item identification list stored IN the second item information attribute itemlnfo and the node access information, and reply the node access information to the initiator node. After the initiator node obtains the node access information, the corresponding node can be determined, and then the acquisition request information is sent to the node until the initiator node obtains the article data corresponding to the target article identifier, so that the discovery of the article traceability information is realized.
Example four
Based on the method for publishing the article traceability information in the M2M system, the invention also provides a method for subscribing the article traceability information in the M2M system. Fig. 13 is a flowchart illustrating the method for subscribing to the traceability information of the article IN the M2M system according to the fourth embodiment of the present invention, where the method for subscribing to the traceability information of the article IN the M2M system according to the fourth embodiment of the present invention can be executed by the MN or the IN.
Referring to fig. 13, the method for subscribing to the article traceability information in the M2M system in the fourth embodiment includes the following steps:
step S610, obtaining fourth creation request information sent by the initiator node, wherein the fourth creation request information comprises attribute information in the subscribed target resource, address information of the subscribed resource receiver, setting information of a subscribed resource notification mode and fourth verification information; the target resource is used for storing an item identifier and item data corresponding to the item identifier;
step S620, verifying the fourth verification information; if the verification is passed, go to step S630;
step S630, creating a subscription resource according to the attribute information, the address information of the receiver of the subscription resource, and the setting information of the notification mode of the subscription resource.
IN the fourth embodiment, the initiator node may be an IN-AE, or an ADN or an ASN, and the initiator node sends fourth creation request information to the MN or the IN to request a change of the subscription resource. The fourth creation request information includes attribute information of the subscribed target resource, address information of the receiver of the subscribed resource, setting information of the notification method of the subscribed resource, and fourth verification information (if verification is not required, the fourth creation request information may not include the fourth verification information). The target resource is located IN the MN or IN and is used for storing the item identifier and item data corresponding to the item identifier, and the attribute information IN the subscribed target resource represents the change of part (or all) of attributes IN the subscribed target resource.
The fourth verification information is diversified, and if the fourth verification information is different, the way IN which the MN or the IN verifies the fourth verification information is also different, and a part of the verification way has been described IN the first embodiment, and is not described again here.
In an optional implementation manner, two manners of sending the notification to the initiator node are provided, one is event-triggered notification, and the other is periodic notification, so that the setting information of the subscription resource notification manner also includes the setting information of the event-triggered notification manner or the setting information of the periodic notification manner.
Referring to the first and second embodiments, the structure of the target resource is diversified, and the attributes in the target resource are also diversified. The following describes an item tracing information subscription method in the M2M system in the fourth embodiment with reference to the structures of two target resources.
In an optional implementation manner, referring to the first embodiment, if the target resource further includes a second target resource for storing the mapping between the item identification attribute itemID and the node access information attribute pointoacces, and the initiator node needs to subscribe to changes between the itemID and the pointoacces. The following setting may be made in the fourth creation request information:
the attribute information in the subscribed target resource is set by the parameter eventNotificationCriteria: setting the condition attribute of the eventnotiationCriteria as "itemID" and "pointoOfAccess", and including other parameters as required; in addition, the parameter notification content type value may also be set to "modifiedattributes" indicating that only the modified attribute is notified.
The address information of the receiver of the subscription resource is set by a parameter notifiationuri: setting the parameter notifiationURI as the address of the receiver of the subscribed resource, such as: the address of IN-AE is "/CSE 0001/AE 0001".
According to the two conditions of event trigger notification and periodic notification, the following two setting modes can be respectively adopted for the setting information of the resource notification mode
(1) Setting information for event-triggered notification mode: the conditional eventType in the parameter eventNotification Criteria is set to "Update to attributes of the sub-to resource".
(2) Setting information of the periodic notification manner: a sub-resource < schedule > in which a period of notification transmission may be required is created under the < description > resource.
After receiving the fourth creation request information, the MN or the IN verifies the fourth verification information, and if the verification passes, other conditions IN the fourth creation request information are as follows: the attribute information in the subscribed target resource, the address information of the subscribed resource receiver and the setting information of the subscribed resource notification mode are used for creating the subscribed resource < description >, and a response message can be replied to the node of the initiator to indicate that the subscribed resource is successfully created.
In another optional implementation manner, if the target resource further includes a third target resource for storing a first item information attribute itemlnfo, where the first item information attribute itemlnfo is used to store a mapping between an item identification list and item data, and the initiator node needs to subscribe to a change of the itemlnfo. The following setting may be made in the fourth creation request information:
the attribute information in the subscribed target resource is set by the parameter eventNotificationCriteria: setting the condition attribute of the parameter eventnotiationCriteria as itemlfo and containing other parameters according to requirements; in addition, the value of the parameter notify contents type may also be set to "modified attributes", indicating that only the modified attributes are notified.
The address information of the receiver of the subscription resource is set by a parameter notifiationuri: setting the parameter notifiationURI as the address of the receiver of the subscribed resource, such as: the address of IN-AE is "/CSE 0001/AE 0001".
According to the two conditions of event trigger notification and periodic notification, the following two setting modes can be respectively adopted for the setting information of the resource notification mode
(1) Setting information for event-triggered notification mode: the conditional eventType in the parameter eventNotification Criteria is set to "Update to attributes of the sub-to resource".
(2) Setting information of the periodic notification manner: a sub-resource < schedule > in which a period of notification transmission may be required is created under the < description > resource.
Then, similar to the previous embodiment, after receiving the fourth creation request message, the MN or the IN verifies the fourth verification message, and if the verification passes, the other conditions IN the fourth creation request message are: the attribute information in the subscribed target resource, the address information of the subscribed resource receiver and the setting information of the subscribed resource notification mode are used for creating the subscribed resource < description >, and a response message can be replied to the node of the initiator to indicate that the subscribed resource is successfully created.
In conclusion, the invention provides a method for publishing and discovering the article traceability information in the M2M system, solves the problem that the M2M system lacks a traceability solution, can realize article traceability automatically and intelligently under the oneM2M standard framework, and is beneficial to monitoring the whole life cycle of a product.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention.
EXAMPLE five
According to the method for issuing the traceability information of the article in the M2M system of the present invention, an embodiment of the present invention further provides a system for issuing the traceability information of the article in the M2M system, and referring to fig. 14, the system for issuing the traceability information of the article in the M2M system in the embodiment includes:
a first creation request obtaining module 1, configured to obtain first creation request information sent by each initiator node in an M2M system, where the first creation request information includes item data collected by the initiator node;
and the generating module 2 is configured to generate a target resource according to the first creation request information, where the target resource is used to store an item identifier and item data corresponding to the item identifier.
In an alternative embodiment, the target resource comprises at least a first target resource for storing a mapping of item identification attributes and item identification corresponding data attributes; the item identification attribute is used for storing an item identification list, and the item identification list comprises one or more item identifications; the data attribute corresponding to the article identification is used for storing article data corresponding to the article identification; the generation module 2 includes:
a first item identification attribute creation module 211 for creating an item identification attribute;
an item identifier corresponding data attribute creating module 212, configured to create an item identifier corresponding data attribute according to item data collected by each initiator node;
a first generating module 213, configured to generate the first target resource according to the mapping between the item identifier attribute and the data attribute corresponding to the item identifier.
Further, in this optional embodiment, the system for publishing the item traceability information in the M2M system further includes:
a second creating request sending module 214, configured to send second creating request information to a receiver node, where the second creating request information includes the item identifier list;
a first response information receiving module 215, configured to receive first response information fed back by the receiver node after generating a second target resource according to the second creation request information; and the receiving party node creates an item identification attribute according to the item identification list, creates a node access information attribute according to the node access information corresponding to the second creation request information, and generates the second target resource according to the mapping of the item identification attribute and the node access information attribute.
In another alternative embodiment, referring to FIG. 15, the target resource includes a third target resource for storing at least the first item information attribute; the first item information attribute is used for storing the mapping between an item identification list and item data, wherein the item identification list comprises one or more item identifications; the generation module 2 includes:
a first item information attribute creating module 221, configured to create a first item information attribute according to the item identifier and item data corresponding to the item identifier;
the second generating module 222 generates the third target resource according to the first item information attribute.
Further, in this optional embodiment, the article traceability information issuing system in the M2M system further includes:
a third creating request information sending module 223, configured to send third creating request information to the receiving node, where the third creating request information includes the item identifier list;
a second response information receiving module 224, configured to receive second response information fed back by the receiver node after generating a third target resource according to the third creation request information; and the receiving party node creates a second item information attribute according to the mapping between the node access information corresponding to the third creation request information and the item identification list, and generates the third target resource according to the second item information attribute.
The article traceability information distribution system in the M2M system in the fifth embodiment can execute the article traceability information distribution method in the M2M system provided in the first embodiment and the second embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
According to the method for discovering the traceability information of the article in the M2M system of the present invention, a sixth embodiment of the present invention further provides a system for discovering the traceability information of the article in the M2M system, and referring to fig. 16, the system for discovering the traceability information of the article in the M2M system in the sixth embodiment includes:
a first obtaining request information obtaining module 10, configured to obtain first obtaining request information sent by an initiator node, where the first obtaining request information includes a target article identifier;
a first resource discovery module 20, configured to perform resource discovery according to the first acquisition request information, and after obtaining a target resource, obtain item data corresponding to the target item identifier from the target resource; the target resource is used for storing an item identifier and item data corresponding to the item identifier;
a first reply module 30, configured to reply to the initiator node with item data corresponding to the target item identifier.
In an alternative embodiment, the target resource comprises at least a first target resource for storing a mapping of item identification attributes and item identification corresponding data attributes; the item identification attribute is used for storing an item identification list, and the item identification list comprises one or more item identifications; and the data attribute corresponding to the article identification is used for storing article data corresponding to each article identification.
Further, in this alternative embodiment, referring to fig. 17, the article traceability information discovery system in the M2M system may further include:
a second obtaining request information obtaining module 40, configured to obtain second obtaining request information sent by an initiator node, where the second obtaining request information includes a target object identifier and a node access information request instruction;
a second resource discovery module 50, configured to perform resource discovery according to the second acquisition request information, and after obtaining a second target resource that is used for storing a mapping between the item identifier attribute and the node access information attribute, obtain node access information corresponding to the target item identifier from the second target resource; the node access information attribute is used for storing node access information;
a second replying module 60, configured to reply the node access information corresponding to the target item identifier to the initiator node.
In another alternative embodiment, the target resource includes at least a third target resource for storing the first item information attribute; the first item information attribute is used for storing the mapping between the item identification list and the item data; the item identification list comprises one or more item identifications.
Further, in this alternative embodiment, referring to fig. 18, the article traceability information discovery system in the M2M system may further include:
a third obtaining request information obtaining module 70, configured to obtain third obtaining request information sent by the initiator node, where the third obtaining request information includes a target article identifier and an article information request instruction;
a third resource discovery module 80, configured to perform resource discovery according to the third acquisition request information, and after obtaining a fourth target resource at least used for storing an attribute of second item information, obtain node access information corresponding to the target item identifier from the fourth target resource; the second item information attribute is used for storing the mapping between the item identification list and the node access information; one or more item identifiers are contained in the item identifier list;
a third replying module 90, configured to reply the node access information corresponding to the target item identifier to the initiator node.
The article traceability information discovery system in the M2M system in the sixth embodiment can execute the article traceability information discovery method in the M2M system provided in the third embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE seven
According to the above method for subscribing to the traceability information of the article in the M2M system of the present invention, an embodiment of the present invention further provides a system for subscribing to the traceability information of the article in the M2M system, and referring to fig. 19, the system for subscribing to the traceability information of the article in the M2M system in the seventh embodiment includes:
a fourth creation request information obtaining module 710, configured to obtain fourth creation request information sent by the initiator node, where the fourth creation request information includes attribute information in the subscribed target resource, address information of a receiver of the subscribed resource, and setting information of a notification manner of the subscribed resource; the target resource is used for storing an item identifier and item data corresponding to the item identifier;
a verification module 720, configured to verify the fourth creation request information;
and the subscribed resource creating module 730 is configured to create the subscribed resource according to the attribute information, the address information of the subscribed resource receiver, and the setting information of the subscribed resource notification manner after the verification is passed.
Optionally, the setting information of the subscription resource notification manner includes setting information of an event-triggered notification manner or setting information of a periodic notification manner.
The item traceability information subscription system in the M2M system in the seventh embodiment can execute the item traceability information subscription method in the M2M system provided in the fourth embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A method for publishing article traceability information in an M2M system is characterized by comprising the following steps:
acquiring first creation request information sent by each initiator node in an M2M system, wherein the first creation request information comprises item data collected by the initiator node;
generating a target resource according to the first creation request information, wherein the target resource is used for storing an item identifier and item data corresponding to the item identifier; the target resource comprises a first target resource or a third target resource;
wherein the first target resource is at least used for storing the mapping of item identification attributes and data attributes corresponding to item identifications, the item identification attributes are used for storing an item identification list, the item identification list contains one or more item identifications, and the item identification attributes are created in one or more of the following resource types: < CSEBase >, < remotecESE >, < AE >, < container >, < contentInstance >; the data attribute corresponding to the article identification is used for storing article data corresponding to the article identification;
the third target resource is at least used for storing a first item information attribute; the first item information attribute is used for storing the mapping between the item identification list and the item data, and the first item information attribute is created in a resource type < contentInstance >.
2. The method for issuing the traceability information of an item in the M2M system, according to claim 1, wherein the step of generating the first target resource according to the first creation request information comprises:
creating an article identification attribute, and creating a data attribute corresponding to the article identification according to article data collected by each initiator node;
and generating the first target resource according to the mapping of the item identification attribute and the data attribute corresponding to the item identification.
3. The method for issuing the item tracing information in the M2M system according to claim 2, wherein after generating the first target resource according to the mapping between the item identifier attribute and the data attribute corresponding to the item identifier, further comprising:
sending second creation request information to a receiver node, wherein the second creation request information comprises the item identification list;
receiving first response information fed back by the receiver node after a second target resource is generated according to the second creation request information; and the receiving party node creates an item identification attribute according to the item identification list, creates a node access information attribute according to the node access information corresponding to the second creation request information, and generates the second target resource according to the mapping of the item identification attribute and the node access information attribute.
4. The method for issuing the traceability information of the item in the M2M system, according to claim 1, wherein the step of generating the third target resource according to the first creation request information comprises:
creating a first item information attribute according to the item identifier and item data corresponding to the item identifier;
and generating the third target resource according to the first item information attribute.
5. The method for distributing the item tracing information in the M2M system according to claim 4, wherein after generating the third target resource according to the first item information attribute, further comprising:
sending third creation request information to a receiving node, wherein the third creation request information comprises the item identification list;
receiving second response information fed back by the receiver node after a fourth target resource is generated according to the third creation request information; and the receiving party node creates a second item information attribute according to the mapping between the node access information corresponding to the third creation request information and the item identification list, and generates the fourth target resource according to the second item information attribute.
6. A method for discovering article traceability information in an M2M system is characterized by comprising the following steps:
acquiring first acquisition request information sent by an initiator node, wherein the first acquisition request information comprises a target article identifier;
performing resource discovery according to the first acquisition request information, and acquiring article data corresponding to the target article identifier from the target resource after acquiring the target resource; the target resource is used for storing an item identifier and item data corresponding to the item identifier; the target resource comprises a first target resource or a third target resource; wherein the first target resource is at least used for storing the mapping of item identification attributes and data attributes corresponding to item identifications, the item identification attributes are used for storing an item identification list, the item identification list contains one or more item identifications, and the item identification attributes are created in one or more of the following resource types: < CSEBase >, < remotecESE >, < AE >, < container >, < contentInstance >; the data attribute corresponding to the article identification is used for storing article data corresponding to the article identification; the third target resource is at least used for storing a first item information attribute, the first item information attribute is used for storing the mapping between the item identification list and the item data, and the first item information attribute is created in a resource type < contentInstance >;
and replying the item data corresponding to the target item identification to the initiator node.
7. The method for discovering item tracing information in an M2M system according to claim 6, wherein if the first target resource is not obtained, further comprising:
acquiring second acquisition request information sent by an initiator node, wherein the second acquisition request information comprises a target article identifier and a node access information request instruction;
performing resource discovery according to the second acquisition request information, and acquiring node access information corresponding to the target item identifier from a second target resource after acquiring the second target resource at least used for storing the mapping of the item identifier attribute and the node access information attribute; the node access information attribute is used for storing node access information;
and replying node access information corresponding to the target article identification to the initiator node.
8. The method for discovering the tracing information about the items in the M2M system according to claim 6, wherein if the third target resource is not obtained, further comprising:
acquiring third acquisition request information sent by an initiator node, wherein the third acquisition request information comprises a target article identifier and an article information request instruction;
performing resource discovery according to the third acquisition request information, and acquiring node access information corresponding to the target item identifier from a fourth target resource after acquiring the fourth target resource at least used for storing the second item information attribute; the second item information attribute is used for storing the mapping between an item identification list and node access information, wherein the item identification list comprises one or more item identifications;
and replying node access information corresponding to the target article identification to the initiator node.
9. An article traceability information distribution system in an M2M system, comprising:
a first creation request obtaining module, configured to obtain first creation request information sent by each initiator node in an M2M system, where the first creation request information includes item data collected by the initiator node;
a generating module, configured to generate a target resource according to the first creation request information, where the target resource is used to store an item identifier and item data corresponding to the item identifier; the target resource comprises a first target resource or a third target resource; wherein the first target resource is at least used for storing the mapping of item identification attributes and data attributes corresponding to item identifications, the item identification attributes are used for storing an item identification list, the item identification list contains one or more item identifications, and the item identification attributes are created in one or more of the following resource types: < CSEBase >, < remotecESE >, < AE >, < container >, < contentInstance >; the data attribute corresponding to the article identification is used for storing article data corresponding to the article identification; the third target resource is at least used for storing a first item information attribute, the first item information attribute is used for storing the mapping between the item identification list and the item data, and the first item information attribute is created in a resource type < contentInstance >.
10. The system for distributing the traceability information of the M2M system, according to claim 9, wherein the generating module comprises:
a first item identification attribute creation module for creating an item identification attribute;
the data attribute creating module corresponding to the article identifier is used for creating data attributes corresponding to the article identifier according to the article data collected by each initiator node;
and the first generation module is used for generating the first target resource according to the mapping of the item identification attribute and the data attribute corresponding to the item identification.
11. The system for distributing the traceability information of the M2M system, according to claim 10, further comprising:
a second creation request sending module, configured to send second creation request information to a receiver node, where the second creation request information includes the item identifier list;
a first response information receiving module, configured to receive first response information fed back by the receiver node after generating a second target resource according to the second creation request information; and the receiving party node creates an item identification attribute according to the item identification list, creates a node access information attribute according to the node access information corresponding to the second creation request information, and generates the second target resource according to the mapping of the item identification attribute and the node access information attribute.
12. The system for distributing the traceability information of the M2M system, according to claim 9, wherein the generating module comprises:
the first item information attribute creating module is used for creating a first item information attribute according to the item identifier and item data corresponding to the item identifier;
and the second generation module is used for generating the third target resource according to the first item information attribute.
13. The system for distributing the traceability information of the M2M system, according to claim 12, further comprising:
a third creation request information sending module, configured to send third creation request information to a receiving node, where the third creation request information includes the item identifier list;
a second response information receiving module, configured to receive second response information fed back by the receiver node after generating a third target resource according to the third creation request information; and the receiving party node creates a second item information attribute according to the mapping between the node access information corresponding to the third creation request information and the item identification list, and generates the third target resource according to the second item information attribute.
14. An article traceability information discovery system in an M2M system, comprising:
a first acquisition request information acquisition module, configured to acquire first acquisition request information sent by an initiator node, where the first acquisition request information includes a target article identifier;
a first resource discovery module, configured to perform resource discovery according to the first acquisition request information, and after obtaining a target resource, obtain item data corresponding to the target item identifier from the target resource; the target resource is used for storing an item identifier and item data corresponding to the item identifier; the target resource comprises a first target resource or a third target resource; wherein the first target resource is at least used for storing the mapping of item identification attributes and data attributes corresponding to item identifications, the item identification attributes are used for storing an item identification list, the item identification list contains one or more item identifications, and the item identification attributes are created in one or more of the following resource types: < CSEBase >, < remotecESE >, < AE >, < container >, < contentInstance >; the data attribute corresponding to the article identification is used for storing article data corresponding to the article identification; the third target resource is at least used for storing a first item information attribute, the first item information attribute is used for storing the mapping between the item identification list and the item data, and the first item information attribute is created in a resource type < contentInstance >;
and the first reply module is used for replying the item data corresponding to the target item identification to the initiator node.
15. The system for discovering article traceability information in M2M system, according to claim 14, further comprising:
a second obtaining request information obtaining module, configured to obtain second obtaining request information sent by an initiator node, where the second obtaining request information includes a target item identifier and a node access information request instruction;
a second resource discovery module, configured to perform resource discovery according to the second acquisition request information, and after obtaining a second target resource that is used to store at least a mapping between the item identifier attribute and the node access information attribute, obtain node access information corresponding to the target item identifier from the second target resource; the node access information attribute is used for storing node access information;
and the second replying module is used for replying the node access information corresponding to the target article identifier to the initiator node.
16. The system for discovering article traceability information in M2M system, according to claim 14, further comprising:
a third acquisition request information acquisition module, configured to acquire third acquisition request information sent by an initiator node, where the third acquisition request information includes a target article identifier and an article information request instruction;
a third resource discovery module, configured to perform resource discovery according to the third acquisition request information, and after obtaining a fourth target resource at least used for storing an attribute of second item information, obtain node access information corresponding to the target item identifier from the fourth target resource; the second item information attribute is used for storing the mapping between the item identification list and the node access information; one or more item identifiers are contained in the item identifier list;
and the third replying module is used for replying the node access information corresponding to the target article identifier to the initiator node.
CN201610729259.9A 2016-08-25 2016-08-25 Method and system for publishing and discovering article traceability information in M2M system Expired - Fee Related CN106454935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610729259.9A CN106454935B (en) 2016-08-25 2016-08-25 Method and system for publishing and discovering article traceability information in M2M system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610729259.9A CN106454935B (en) 2016-08-25 2016-08-25 Method and system for publishing and discovering article traceability information in M2M system

Publications (2)

Publication Number Publication Date
CN106454935A CN106454935A (en) 2017-02-22
CN106454935B true CN106454935B (en) 2020-04-14

Family

ID=58182971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610729259.9A Expired - Fee Related CN106454935B (en) 2016-08-25 2016-08-25 Method and system for publishing and discovering article traceability information in M2M system

Country Status (1)

Country Link
CN (1) CN106454935B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182482A (en) * 2017-11-20 2018-06-19 广东中科南海岸车联网技术有限公司 The cultivation monitoring method and device of long-term cropping based on block chain
CN108366356B (en) * 2018-01-10 2021-04-30 广州中国科学院计算机网络信息中心 Method and device for intercommunication between M2M system and identification analysis system
CN114303979B (en) * 2021-12-29 2023-06-13 齐鲁工业大学 Pet feeding method, system, storage medium and device based on OneM2M

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194190A (en) * 2011-04-11 2011-09-21 张庆环 Method for trace information architecture
CN102255983A (en) * 2011-07-26 2011-11-23 中国科学院计算机网络信息中心 Entity identifier allocation system, source tracing and authentication methods and server
CN102801773A (en) * 2012-03-09 2012-11-28 无锡互惠信息技术有限公司 Internet of things system and acquisition and monitoring method for article information
CN102855571A (en) * 2011-06-30 2013-01-02 南京中兴新软件有限责任公司 Resource information processing method and device
CN103854132A (en) * 2014-01-29 2014-06-11 无锡市良果汇电子商务有限公司 Gannan navel orange traceability system and method based on Internet of things
CN104093118A (en) * 2014-03-05 2014-10-08 中兴通讯股份有限公司 Resource notification method, machine-to-machine nodes and system
CN104657832A (en) * 2015-03-14 2015-05-27 关洪军 Whole-process monitoring and traceability tracking method for quality safety of agricultural products
CN104933584A (en) * 2015-06-26 2015-09-23 苏州经贸职业技术学院 Traceability system and traceability method for agricultural product based on cloud platform
CN105096126A (en) * 2014-05-07 2015-11-25 北京信威通信技术股份有限公司 Product information tracing system, terminal and method
CN105469270A (en) * 2016-01-14 2016-04-06 杭州甲骨文科技有限公司 Agricultural product whole process traceability method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194190A (en) * 2011-04-11 2011-09-21 张庆环 Method for trace information architecture
CN102855571A (en) * 2011-06-30 2013-01-02 南京中兴新软件有限责任公司 Resource information processing method and device
CN102255983A (en) * 2011-07-26 2011-11-23 中国科学院计算机网络信息中心 Entity identifier allocation system, source tracing and authentication methods and server
CN102801773A (en) * 2012-03-09 2012-11-28 无锡互惠信息技术有限公司 Internet of things system and acquisition and monitoring method for article information
CN103854132A (en) * 2014-01-29 2014-06-11 无锡市良果汇电子商务有限公司 Gannan navel orange traceability system and method based on Internet of things
CN104093118A (en) * 2014-03-05 2014-10-08 中兴通讯股份有限公司 Resource notification method, machine-to-machine nodes and system
CN105096126A (en) * 2014-05-07 2015-11-25 北京信威通信技术股份有限公司 Product information tracing system, terminal and method
CN104657832A (en) * 2015-03-14 2015-05-27 关洪军 Whole-process monitoring and traceability tracking method for quality safety of agricultural products
CN104933584A (en) * 2015-06-26 2015-09-23 苏州经贸职业技术学院 Traceability system and traceability method for agricultural product based on cloud platform
CN105469270A (en) * 2016-01-14 2016-04-06 杭州甲骨文科技有限公司 Agricultural product whole process traceability method and system

Also Published As

Publication number Publication date
CN106454935A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US11368522B2 (en) Lightweight IoT information model
CN106537843B (en) The description of automation services profile and layout
EP3195567B1 (en) Publication and discovery of m2m-iot services
Li et al. Product whole life-cycle and omni-channels data convergence oriented enterprise networks integration in a sensing environment
CN106537841A (en) Resource and attribute management in machine to machine networks
CN106454935B (en) Method and system for publishing and discovering article traceability information in M2M system
CN107113232A (en) The method and apparatus that NFV manages layout
US11032364B2 (en) Method and apparatus for interworking between heterogeneous systems
TW201545504A (en) Orchestration and management of services to deployed devices
CN103997725A (en) System and method for abstracting and orchestrating mobile data networks in a network environment
WO2014149955A1 (en) Accessing multiple converged infrastructure systems
CN105164989A (en) Reducing number of server-client sessions
US10764724B2 (en) Method and apparatus for implementing member resource processing
US10271296B2 (en) Method for changing schedule information in wireless communication system and device therefor
Giang et al. Integrating the EPCIS and Building Automation System into the Internet of Things: a Lightweight and Interoperable Approach.
CN104796461B (en) The processing method and server of the operational data of terminal device
Yoon et al. Implementation of smart farm devices using open source software
WO2016062119A1 (en) Registration method and communication method for application dedicated node, and node
CN202652408U (en) Map video monitoring system based on SIP protocol and video transmission system
Peoples et al. A Review of IoT Service Provision to Assess the Potential for System Interoperability in an Uncertain Ecosystem
CN115314549B (en) Offline equipment management method, storage medium and electronic device
Derhamy et al. In-network processing for context-aware SOA-based manufacturing systems
CN116828587A (en) Network element registration method, model request method, device, network element, communication system and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200414

CF01 Termination of patent right due to non-payment of annual fee