Unlock instant, AI-driven research and patent intelligence for your innovation.

Resource synchronization method, device, device and storage medium

A device and resource technology, applied in the field of Internet of Things, can solve problems such as poor reliability of resource synchronization, abnormal resource synchronization of service equipment and network equipment, etc., and achieve the effect of simplifying the resource synchronization process and improving reliability

Active Publication Date: 2022-07-08
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the above process, when the shadow synchronization resources are abnormal, the resource synchronization between the service device and the network device will be abnormal, resulting in poor reliability of resource synchronization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource synchronization method, device, device and storage medium
  • Resource synchronization method, device, device and storage medium
  • Resource synchronization method, device, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0169] Example 1: Add a push type for the current temperature value resource in the service device.

[0170] Before adding a push type for the current temperature value resource in the service device, the initial resource information of the current temperature value resource in the service device is as follows:

[0171] {"rt":["oic.r.temperature"],

[0172] "if":["oic.if.s","oic.if.baseline"],

[0173] "temperature": 20

[0174] }

[0175] Step 1: When it is necessary to add a push synchronization method for the current temperature value resource in the service device, first configure the service device through the configuration device. Optionally, the configuration device can configure the service device in the following two ways.

[0176] One way to do it:

[0177]The service device includes a shadow device configuration resource (for example, the shadow device configuration resource can be oic.wk.shadow.conf). The shadow device configuration resource is used to request...

example 2

[0243] Example 2: Add a subscription type for the temperature range resource in the service device.

[0244] Before adding a subscription type for the temperature range resource in the service device, the initial resource information of the temperature range resource in the service device is as follows:

[0245] {"rt":["oic.r.temperatureRange"],

[0246] "if":["oic.if.a","oic.if.baseline"],

[0247] "temperatureRange":[0,30]

[0248] }

[0249] Step 1: When a subscription synchronization method needs to be added for the temperature range resource in the service device, first configure the service device through the configuration device. Optionally, the configuration device can configure the service device in the following two ways.

[0250] One way to do it:

[0251]The service device includes a shadow device configuration resource (for example, the shadow device configuration resource can be oic.wk.shadow.conf). The shadow device configuration resource is used to request...

example 3

[0340] Example 3: Add a push type for the temperature range resource in the network device (the temperature range resource corresponding to the shadow device in the network device).

[0341] Before adding a push type for the current temperature value resource in the service device, the initial resource information of the temperature range resource in the service device is as follows:

[0342]

[0343] Step 1: When it is necessary to add a push synchronization method for the service resources in the network device, configure the service device through the configuration device.

[0344] It should be noted that, for Step 1 in Example 3, reference may be made to Step 1 in Example 1, and details are not repeated here.

[0345] Step 2: The service device sends a configuration success response to the configuration device.

[0346] Step 3: The service device sends a shadow device generation request to the network device.

[0347] Optionally, the shadow device generation request c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present application provide a resource synchronization method, apparatus, device, and storage medium. The method is applied to the Internet of Things. The Internet of Things includes service equipment and network equipment, and the network equipment is provided with a shadow device corresponding to the service equipment. The method includes: The service device obtains the location information of the service resource in the network device, and the service resource corresponds to the shadow device; the service device synchronizes the service resource with the network device according to the location information. Improves the reliability of resource synchronization.

Description

technical field [0001] The embodiments of the present application relate to the Internet of Things technology, and in particular, to a resource synchronization method, apparatus, device, and storage medium. Background technique [0002] A variety of service devices are set up in the IoT system, and service devices are entities that provide resources. A shadow device corresponding to a service device can be deployed in a network device (eg cloud platform, gateway, etc.), and the shadow device can provide data query, modification and other services to client devices. [0003] In order for the service device and the network device to provide correct services to the client device, data in the service device and the network device need to be kept synchronized. In the prior art, an information synchronization table and a shadow synchronization resource are usually set in a service device and a network device, and the information synchronization table includes an update time stamp...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L67/1095H04L67/12
CPCH04L67/1095H04L67/12H04L65/40
Inventor 唐海
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD