CN113259443B - Resource data updating system, method, device, equipment and readable storage medium - Google Patents

Resource data updating system, method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN113259443B
CN113259443B CN202110554110.2A CN202110554110A CN113259443B CN 113259443 B CN113259443 B CN 113259443B CN 202110554110 A CN202110554110 A CN 202110554110A CN 113259443 B CN113259443 B CN 113259443B
Authority
CN
China
Prior art keywords
resource
internet
tag
things server
things
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.)
Active
Application number
CN202110554110.2A
Other languages
Chinese (zh)
Other versions
CN113259443A (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.)
Envision Digital International Pte Ltd
Original Assignee
Envision Digital International Pte Ltd
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 Envision Digital International Pte Ltd filed Critical Envision Digital International Pte Ltd
Priority to CN202110554110.2A priority Critical patent/CN113259443B/en
Publication of CN113259443A publication Critical patent/CN113259443A/en
Application granted granted Critical
Publication of CN113259443B publication Critical patent/CN113259443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a system, a method, a device, equipment and a readable storage medium for updating resource data, and relates to the field of Internet of things. The system comprises: the system comprises a first Internet of things server and a second Internet of things server, wherein communication network connection is established between the first Internet of things server and the second Internet of things server; the first internet of things server is used for acquiring first resource data; labeling a first resource tag on the target resource based on the first resource data; sending a first resource tag to a second internet server; the second internet server is used for receiving the first resource tag; and determining the state of the second resource data according to the first resource tag. Through the transmission of the resource labels between the first Internet of things server and the second Internet of things server, each server can update and adjust the self-stored content according to the first resource label and the instruction content in the first resource label, and the updating efficiency of the resource data is improved.

Description

Resource data updating system, method, device, equipment and readable storage medium
Technical Field
The disclosure relates to the technical field of internet of things, and in particular relates to a system, a method, a device, equipment and a readable storage medium for updating resource data.
Background
With the progress of science and technology, in the same internet of things system, the number of internet of things resources is increased, and the regional distribution is also wider and wider. The resource data related to these internet of things resources may be stored in the internet of things platform, as known by the user.
In the related art, the internet of things platform comprises a developer platform and a user platform, wherein the developer platform is responsible for allocating the contents such as resource data and rights related to the internet of things resources and sending the contents to the user platform, and the user platform synchronizes and updates the data according to the received contents.
However, when multiple internet of things platforms are involved, the data synchronization of the internet of things resources is difficult in the related art, and the update efficiency of the resource data corresponding to the internet of things resources is low.
Disclosure of Invention
The embodiment of the disclosure provides a system, a method, a device, equipment and a readable storage medium for updating resource data, which can improve the updating efficiency of the resource data. The technical scheme is as follows:
in one aspect, there is provided an update system of resource data, the update system of resource data including: the system comprises a first Internet of things server and a second Internet of things server;
The first internet of things server is used for acquiring first resource data, the first resource data comprise data which are stored in the first internet of things server and are used for indicating the attribute of target resources, and the target resources are internet of things equipment which is connected with the first internet of things server; labeling a first resource tag on the target resource based on the first resource data; sending a first resource tag to a second internet server;
the second internet server is used for receiving the first resource tag; and determining the state of second resource data according to the first resource label, wherein the second resource data comprises data stored in the second internet server and used for indicating the attribute of the target resource.
On the other hand, the invention provides a method for updating resource data, which is applied to a first Internet of things server in a resource data updating system, and comprises the following steps:
acquiring first resource data, wherein the first resource data comprises data stored in a first Internet of things server and used for indicating the attribute of a target resource, and the target resource is Internet of things equipment which establishes a connection relationship with the first Internet of things server;
labeling a first resource label for the target resource based on the resource data;
And sending the first resource tag to the second internet server.
In another aspect, a method for updating resource data is provided, where the method is applied to a second internet server in a resource data updating system, and the method includes:
receiving a first resource tag, wherein the first resource tag is determined according to first resource data, the first resource data comprises data stored in a first Internet of things server and used for indicating the attribute of a target resource, and the target resource is Internet of things equipment which establishes a connection relationship with the first Internet of things server;
acquiring second resource data, wherein the second resource data comprises data stored in a second internet server and used for indicating the attribute of the target resource;
and determining the state of the second resource data according to the first resource tag.
In another aspect, there is provided an apparatus for updating resource data, the apparatus comprising:
the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring first resource data, the first resource data comprises data stored in a first Internet of things server and used for indicating the attribute of a target resource, and the target resource is Internet of things equipment which establishes a connection relationship with the first Internet of things server;
the labeling module is used for labeling the first resource label for the target resource based on the resource data;
And the sending module is used for sending the first resource tag to the second internet server.
In another aspect, there is provided an apparatus for updating resource data, the apparatus comprising:
the receiving module is used for receiving a first resource tag, wherein the first resource tag is determined according to first resource data, the first resource data comprises data which are stored in a first Internet of things server and are used for indicating the attribute of a target resource, and the target resource is Internet of things equipment which is connected with the first Internet of things server;
the acquisition module is used for acquiring second resource data, wherein the second resource data comprises data stored in a second internet server and used for indicating the attribute of the target resource;
and the determining module is used for determining the state of the second resource data according to the first resource label.
In another aspect, a computer device is provided, the computer device comprising a processor and a memory, the memory storing at least one instruction, at least one program, code set, or instruction set, the at least one instruction, at least one program, code set, or instruction set being loaded and executed by the processor to implement a method of updating resource data as described in any of the above.
In another aspect, a computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set loaded and executed by a processor to implement a method of updating resource data as described in any of the above is provided.
In another aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method for updating resource data according to any of the above embodiments.
The technical scheme provided by the embodiment of the disclosure has the beneficial effects that at least:
through circulation between a first Internet of things server and a second Internet of things server in the resource data updating system in the form of resource labels, after the first Internet of things server determines the first resource labels and sends the first resource labels to the second Internet of things server, the second Internet of things server can adjust the second resource data stored by the second Internet of things server according to the first resource labels. Through the transmission of the resource labels between the first Internet of things server and the second Internet of things server, each server can update and adjust the self-stored content according to the first resource label and the instruction content in the first resource label, and the updating efficiency of the resource data is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a schematic diagram showing a structure of a resource tree corresponding to a resource in the related art;
FIG. 2 is a flow diagram of a resource data update system according to an exemplary embodiment of the present application;
FIG. 3 is a flow chart illustrating a method for updating resource data according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for updating resource data according to an exemplary embodiment of the present application;
FIG. 5 illustrates a flow diagram of another resource data update system provided by an exemplary embodiment of the present application;
FIG. 6 illustrates a flowchart of a second Internet of things server interacting with a first Internet of things server according to instructions in a first resource tag, provided in an exemplary embodiment of the application;
FIG. 7 is a flowchart of a method for updating resource data according to an exemplary embodiment of the present application;
FIG. 8 is a process diagram of a method for updating resource data according to an exemplary embodiment of the present application;
FIG. 9 is a block diagram illustrating an exemplary resource data updating apparatus according to the present application;
FIG. 10 is a block diagram illustrating another exemplary resource data updating apparatus according to the present application;
fig. 11 shows a block diagram of a server provided by an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
First, a brief description will be made of terms involved in the embodiments of the present disclosure:
The internet of things (Internet of Things, ioT) refers to a huge network formed by combining various information sensing devices, such as radio frequency identification devices, infrared sensors, global positioning systems, laser scanners and the like, with the internet, and the aim is to connect all objects with the network, so that users or other systems can conveniently recognize and manage the objects.
The resource refers to Internet of things equipment available in an Internet of things scene. In an internet of things scenario, at least one internet of things device is typically included, which is available for a user to use.
In the embodiment of the application, the resource can be realized as an entity resource or a virtual resource. The entity resource is entity equipment which has an entity and can be used in the environment of the Internet of things; the virtual resource is a virtual device without an entity and can be used in the environment of the internet of things. In one example, the internet of things scenario is a power plant scenario, wherein devices with entities such as fans, blades and rotors are entity resources in the environment, in addition, a device storage server is included in the generator scenario, and the server includes at least one memory for storing data generated by the fans, blades and rotors, and the memory is virtual device. Alternatively, at least two resources may together constitute one logical resource.
Fig. 1 is a schematic diagram showing a structure of a resource tree corresponding to a resource in the related art. Referring to fig. 1, the resource tree 100 includes a primary logic resource 110, i.e., a new energy resource 111; the secondary logic resources 120 forming the new energy resource 111 comprise wind fields 121 and photovoltaic power stations 122; taking the wind field 121 as an example, the first-level physical resources 130 forming the wind field 121 comprise a first fan 131, a second fan 132 and a third fan 133; taking the first fan 131 as an example, the secondary physical resources 140 that constitute the first fan 131 include the blades 141 and the rotor 142, and the data are also stored in the virtual resource 150, that is, the memory 151. Referring to fig. 1, the new energy resource 111, the wind farm 121 and the photovoltaic power station 122 are all associated resources, the wind farm 121, the first fan 131, the second fan 132 and the third fan 133 are all associated resources, and the wind farm 121 and the photovoltaic power station 122 are not direct resources, that is, indirect associated resources are formed between the wind farm 121 and the photovoltaic power station 122, or no associated resources are formed between the wind farm 121 and the photovoltaic power station 122.
The resource data updating system of the present application will be described with reference to the above description of terms and environment. Fig. 2 is a flow chart of a resource data updating system according to an exemplary embodiment of the present application. Referring to fig. 2, the update system includes a first internet of things server 210 and a second internet of things server 220. A communication network connection is established between the first internet of things server 210 and the second internet of things server 220. The first internet of things server 210 is configured to obtain first resource data, where the first resource data indicates an attribute of a target resource stored in the first internet of things server 210, and the target resource is an internet of things device that establishes a connection relationship with the first internet of things server 210; labeling a first resource tag on the target resource based on the first resource data; transmitting the first resource tag to the second internet server 220; a second internet server 220 for receiving the first resource tag; the status of the second resource data is determined from the first resource tag, the second resource data indicating attributes of the target resource stored in the second internet server 220. Optionally, in the embodiment of the present application, both the first internet of things server 210 and the second internet of things server 220 correspond to the internet of things platform. The first internet of things server 210 corresponds to a first internet of things platform, and the second internet of things server 220 corresponds to a second internet of things platform.
According to the system provided by the embodiment of the application, through the circulation between the first Internet of things server and the second Internet of things server in the resource data updating system in the form of the resource labels, after the first Internet of things server determines the first resource labels and sends the first resource labels to the second Internet of things server, the second Internet of things server can adjust the second resource data stored by the second Internet of things server according to the first resource labels. Through the transmission of the resource labels between the first Internet of things server and the second Internet of things server, each server can update and adjust the self-stored content according to the first resource label and the instruction content in the first resource label, and the updating efficiency of the resource data is improved.
Fig. 3 is a flowchart of a method for updating resource data according to an exemplary embodiment of the present application. The method is applied to a first Internet of things server in a resource data updating system for explanation, and the method comprises the following steps:
step 301, obtaining first resource data, where the first resource data includes data stored in a first internet of things server and used to indicate an attribute of a target resource, where the target resource is an internet of things device that establishes a connection with the first internet of things server.
In the embodiment of the application, the first internet of things server and the second internet of things server are two servers in the internet of things environment, and the first internet of things server and the second internet of things server can both receive data from resources in the internet of things which are in connection with the first internet of things server and the second internet of things server.
In the embodiment of the application, a communication network connection is established between the first Internet of things server and the second Internet of things server. In one example, a message channel is established between the first internet of things server and the second internet of things server, and the first internet of things server and the second internet of things server can realize data interaction through the message channel.
In the embodiment of the application, the first internet of things server corresponds to a first internet of things platform, and the second internet of things server corresponds to a second internet of things platform. The first internet of things platform and the second internet of things platform may be implemented as platforms with a visual interface. The user can learn the data published by the Internet of things platform from the visual interface of the application program corresponding to the platform. Optionally, in this embodiment, a first internet of things platform corresponding to the first internet of things server is a developer platform, and a second internet of things platform corresponding to the second internet of things server is a user platform. Optionally, different platforms have different rights corresponding to each other, and in the embodiment of the present application, the rights of the first internet of things platform are higher than the rights of the second internet of things platform.
In the embodiment of the application, the target resource is an internet of things device which establishes a connection relationship with the first internet of things device, and the connection relationship is a connection relationship capable of carrying out data transmission. The target resource may be implemented as a logical resource; alternatively, the target resource may be implemented as an entity resource; alternatively, the target resource may be implemented as a virtual resource. In one example, when the internet of things platform collects data within a wind farm, the target resource may be implemented as a fan as an entity resource; alternatively, the target resource may indicate the total resource for the wind power plant as one logical resource; alternatively, the target resource may be implemented as a storage module in the server as a virtual resource. Optionally, the target resource sends first resource data corresponding to the resource to the first internet of things server according to a preset time interval; or when the first internet of things server needs to count the first resource data, sending a data request instruction to the target resource, and feeding back the first resource data by the target resource in response to the data request instruction.
In step 302, a first resource tag is labeled for the target resource based on the first resource data.
In the embodiment of the application, the resource label is a label for marking the target resource by the Internet of things server and can represent the resource data corresponding to the target resource. Optionally, the target resource is correspondingly stored with a target resource identifier in the internet of things server, and the way of labeling the target resource by the internet of things server includes labeling a resource label with the target resource identifier.
In the embodiment of the application, the root tag of the resource tag is a synchronous tag, that is, when the resource tag is marked in the first internet of things server, all servers which establish a communication network connection relationship with the first internet of things server receive the resource tag and process the target resource according to the resource tag. In one example, the root tag is denoted as { "sync": "true", "constraints" [ ] }, where "sync" indicates a synchronization tag, "true" indicates a real value for the tag's designation and "constraints" indicates a restriction of synchronization.
Step 303, sending the first resource tag to the second internet server.
In the embodiment of the application, because the first resource tag indicates that the information associated with the first resource tag needs to be synchronized, the first internet of things server needs to send the first resource tag to the second internet of things server.
In the embodiment of the application, the second internet of things server is an internet of things server with lower authority than the first internet of things server, namely, when the first internet of things server is realized as the internet of things server corresponding to the developer platform, the second internet of things server is realized as the internet of things server corresponding to the user platform.
Optionally, a second internet server is also connected with the target resource through a communication network, and second resource attributes corresponding to the target resource are stored in the second internet server; or the second internet-of-things server does not establish communication network connection with the target resource, and updates the second resource attribute stored by the second internet-of-things server and corresponding to the target resource through the resource tag sent by the first internet-of-things server.
In summary, according to the method provided by the embodiment of the application, the first resource tag is acquired according to the first internet of things server, and the first resource tag is sent to the second internet of things server, so that the first resource tag replaces other data to be sent from the first internet of things server to the second internet of things server, and the second internet of things server can update and adjust the self-stored content according to the first resource tag, thereby improving the updating efficiency of the resource data.
Fig. 4 is a flow chart of a method for updating resource data according to an exemplary embodiment of the present application, and the method is applied to a first internet of things server and a second internet of things server in a system for updating resource data, for example, and the method includes:
in step 401, a first internet of things server acquires first resource data.
In the embodiment of the application, the updating system of the resource data comprises a first internet of things server and a second internet of things server, and a communication network connection is established between the first internet of things server and the second internet of things server. In one example, a data channel is established between the first internet of things server and the second internet of things server through the mobile connection.
The first resource data is the resource data corresponding to the target resource when the first Internet of things server acquires the data. In the embodiment of the application, the data interface is corresponding to the position of the storage target resource, and can interact with the data in the first Internet of things server.
In step 402, the first internet of things server marks a first resource tag on the target resource based on the first resource data.
In the embodiment of the present application, the first resource tag is used to indicate first resource data, and in one example, the target resource is implemented as a fan, and is an entity resource, the first resource data is a usable time of the fan, and when the usable time is 10-12 a.m., the first resource tag includes a field: "{ available:10-12}" i.e., also the fan is available in the time frame of 10 am to 12 am.
In step 403, the first internet of things server sends the first resource tag to the second internet of things server.
In an embodiment of the present application, the number of second internet servers is at least two. Referring to fig. 5, a first internet of things server 501 sends a first resource tag to at least two second internet of things servers 502, and each second internet of things server 502 establishes a communication network connection with the first internet of things server 501, but each second internet of things server 502 does not establish a communication network connection with each other. In another embodiment of the present application, a mutual communication network connection is also established between any two second internet-of-things servers 502, and after receiving a first resource tag synchronized by a first internet-of-things device, the uniformity of the first resource tag can be verified synchronously.
In step 404, the second Internet of things server receives the first resource tag.
In the embodiment of the application, the second internet-of-things server receives the first resource tag through communication network connection established between the second internet-of-things server and the first internet-of-things server.
In step 405, the second internet server determines the status of the second resource data according to the first resource tag.
In one embodiment of the present application, the first resource tag is only used to indicate the first resource data, and the second internet server directly updates the second resource data according to the first resource data indicated by the first resource tag. The second resource data includes data stored in the second networked server indicating attributes of the target resource.
In another embodiment of the present application, the first resource tag further includes a control instruction, and the second networking server updates the second resource data according to the control instruction in the first resource tag.
Optionally, the control instructions executable by the second internet server include at least one of reading and writing.
In summary, in the method provided by the embodiment of the present application, through performing a circulation between the first internet of things server and the second internet of things server in the resource data updating system in the form of the resource tag, after the first internet of things server determines the first resource tag and sends the first resource tag to the second internet of things server, the second internet of things server can adjust the second resource data stored in the second internet of things server according to the first resource tag. Through the transmission of the resource labels between the first Internet of things server and the second Internet of things server, each server can update and adjust the self-stored content according to the first resource label and the instruction content in the first resource label, and the updating efficiency of the resource data is improved.
In the embodiment of the present application, the first resource tag includes an instruction, and the second networking server performs a step of determining a state of the second resource data according to the instruction after receiving the instruction. Fig. 6 is a flowchart illustrating interaction between a second internet of things server and a first internet of things server according to an instruction in a first resource tag according to an exemplary embodiment of the present application. Taking an example of the method applied to the update system including the resource data of the first internet of things server and the second internet of things server as an illustration, the steps in this embodiment may implement the step 405 in place of the embodiment shown in fig. 4, and implement the steps 601 to 608, where the method includes:
in step 601, a second networked server determines instructions in a first resource tag.
In the embodiment of the application, the first resource tag is the resource tag including the instruction. Optionally, the instructions include at least one of a read instruction and a write instruction. The reading instruction is used for indicating the second internet server to read the first resource data and updating the second resource data according to the first resource data; the writing instruction is used for indicating the second internet server to acquire new resource data, and writing and updating are performed in the form of resource labels.
Therefore, in this embodiment, classification is described for the case where the instruction in the first resource tag is a read instruction and the case where the instruction in the first resource tag is a write instruction.
When the instruction in the first resource tag is a read instruction, steps 602 to 603 are performed.
In step 602, the second internet server reads the first resource data in the first resource tag in response to the resource tag including the read instruction.
When the instruction in the first resource tag is a reading instruction, the second internet server reads the first resource data for updating the second resource data according to the instruction.
In step 603, the second internet server updates the second resource data based on the first resource data.
In the embodiment of the application, after the resource tag includes the reading instruction, the first resource data is updated as the second resource data. The process is completed as the process of data synchronization between the second internet of things server and the first internet of things server.
When the instruction in the first resource tag is a write instruction, steps 604 to 608 are performed.
In step 604, the second internet server obtains second resource data from the target resource.
In the embodiment of the application, the second internet server and the target resource are also connected through the communication network.
When the instruction in the first resource tag is a writing instruction, the second internet server needs to update the resource tag according to the instruction. And in the updating process, the second internet server acquires second resource data from the target resource again. Optionally, the second resource data is different from the first resource data because the time of acquisition of the second resource data by the second internet of things server is different from the time of acquisition of the first resource data by the first internet of things server. Optionally, the first resource data is still the same as the second resource data.
In step 605, the second internet server generates a second resource tag according to the second resource data.
In the embodiment of the application, the second resource tag is a tag generated by the second internet server, and the second generated tag is used for indicating second resource data. In the embodiment of the application, the second resource device cannot include the control instruction because the authority level of the first internet of things device is greater than the authority level of the second internet of things device.
In step 606, the second internet of things server sends the second resource tag to the first internet of things server.
In the embodiment of the application, the second resource tag is sent to the first internet of things server by the second internet of things server through the communication network connection between the first internet of things server and the second internet of things server.
In step 607, the first internet of things server receives the second resource tag.
In step 608, the first internet of things server determines the status of the first resource data according to the second resource tag.
In the embodiment of the application, the first resource data is the data before updating, and the second resource data indicated by the second resource tag is the data after updating, so that the first resource data needs to be determined according to the second resource tag. In one example, the first resource data is updated with the second resource data. That is, the data state of the first resource data is updated with the second resource data.
In other embodiments of the present application, in addition to the read instruction and the write instruction, the first resource tag may further include a delete instruction indicating deletion of the target resource, at least one of a create instruction indicating creation of a new resource and a modify instruction indicating modification of the resource content.
In summary, according to the method provided by the embodiment of the present application, different kinds of instructions are set in the resource tag, and after the second internet server receives the resource tag and interprets the resource tag, corresponding steps are executed according to the instructions. By setting the reading instruction or the writing instruction and the different function instructions in the resource tag, the second internet-of-things server can execute different functions after receiving the resource tag, so that the resource data in each internet-of-things platform can be accurately and synchronously updated, the updating efficiency of the resource is further improved, and meanwhile, the accuracy of the resource updating is improved.
Fig. 7 is a flowchart of a method for updating resource data according to an exemplary embodiment of the present application, which is described by taking the method as an example applied to an updating system for resource data including a first internet of things server and a second internet of things server, where the method includes:
in step 701, a first internet of things server obtains first resource data.
In the embodiment of the application, the first internet of things server and the second internet of things server are both located in the updating system of the resource data, namely, communication network connection is established between the first internet of things server and the second internet of things server. Optionally, in the embodiment of the present application, the first internet of things server and the second internet of things server are both implemented as internet of things platforms, and have a visualized internet of things platform interface for a user to obtain information, at this time, the internet of things platform corresponding to the first internet of things server is a developer platform, and the internet of things platform corresponding to the second internet of things server is a user platform.
The first resource data is data corresponding to the target resource. The target resource may be implemented as a logical resource; or, the target resource may be implemented as an entity resource; alternatively, the target resource may be implemented as a virtual resource. In the embodiment of the application, the specific form of the target resource is not limited.
The first internet of things server may acquire the first resource data from the target resource according to the preset time interval by the first internet of things server, or may transmit the first resource data to the first internet of things server according to the preset time interval by the target resource.
In step 702, the first internet of things server marks a first resource tag on the target resource based on the first resource data.
In the embodiment of the application, the resource label is a label for marking the target resource by the Internet of things server and can represent the resource data corresponding to the target resource. Optionally, the target resource is correspondingly stored with a target resource identifier in the internet of things server, and the way of labeling the target resource by the internet of things server includes labeling a resource label with the target resource identifier.
In the embodiment of the application, the resource tag is used for representing the attribute of the target resource. In one example, the target resource is a fan, and the resource tag may be used to indicate an inherent attribute of the fan, or an operating time that the fan may reserve.
In step 703, the first internet of things server resource data labels a third resource tag to the associated resource, where the third resource tag has an association relationship with the first resource tag.
In the embodiment of the application, an association relationship is established between the target resource and other resources, that is, the target resource has an association resource, and when the target resource corresponds to the association resource, the first internet of things server can label the association resource with a third resource label. The target resource is a fan, the fan corresponds to a power station and a rotor as related resources of the fan, when the first internet of things server marks the fan and indicates that the fan can be used at 8-10 am, the corresponding related resources of the fan can be marked, and a third resource label for marking the related resources comprises content indicating that the fan can be used at 8-10 am. In the embodiment of the application, the association relationship specifically comprises an inheritance relationship and an inherited relationship.
In step 704, the first internet of things server sends the first resource tag to the second internet of things server.
In the embodiment of the application, because the first resource tag indicates that the information associated with the first resource tag needs to be synchronized, the first internet of things server needs to send the first resource tag to the second internet of things server.
In the embodiment of the application, the second internet of things server is an internet of things server with lower authority than the first internet of things server, namely, when the first internet of things server is realized as the internet of things server corresponding to the developer platform, the second internet of things server is realized as the internet of things server corresponding to the user platform.
In an embodiment of the present application, the number of second internet servers is at least one.
Step 705, a second networked server receives a first resource tag.
The process is a process that the second internet server receives the first resource tag.
In step 706, the second internet server performs rights detection.
In the embodiment of the application, the second internet server needs to be subjected to authority detection, and can perform subsequent processing on the target resource according to the first resource tag.
In one example, the first resource tag corresponds to a stored tag authority. The first resource tag stores a tag key, and when the second internet server has a corresponding authority, the second internet server stores a tag password which can decrypt the tag key. And when the second internet server provides the tag password, determining that the second internet server can detect the permission.
In step 707, the second internet server determines the instruction in the first resource tag in response to the time of the permission detection being within the permission duration and the permission detection passing.
In the embodiment of the application, the first resource tag corresponds to a duration range of authority, that is, if and only if the second internet server performs authority detection within the duration range and passes the authority detection, the instruction in the first resource tag can be determined. In one example, the content included in the first resource tag is { "sync": "true", "restrictions": [ "read": "10 am-12 am" ] }, the content indicated by the tag is a synchronous tag (corresponding to "sync"), the value is a real value (corresponding to "true"), the authority is readable data, and when the readable time period is 10-12 am, (corresponding to "constraints": read ": 10 am-12 am" ]). The authority duration time range is 10-12 a.m.
In the embodiment of the application, the first resource tag comprises an instruction. The embodiments of the present application are described using an instruction as a read instruction or a write instruction as an example.
Steps 708 to 709 are steps executed when the corresponding first resource tag includes a read instruction.
In step 708, the second internet server reads the first resource data in the first resource tag in response to the resource tag including the read instruction.
In the embodiment of the application, when the second internet server detects that the resource tag comprises a reading instruction, the first resource data is determined to be read as new second resource data.
In step 709, the second internet server updates the second resource data based on the first resource data.
And after the first resource data is read, the second internet-of-things server correspondingly updates the second resource data. After updating, the user using the application program can see the updated second resource data on the visual interface of the application program.
Steps 710 to 714 are steps performed when the write instruction is included in the corresponding first resource tag.
In step 710, the second internet server obtains second resource data from the target resource.
In the embodiment of the application, when the second internet-of-things server reads the writing instruction and the second internet-of-things server establishes a communication connection relationship with the target resource, the second internet-of-things resource acquires the second resource data.
Optionally, the second resource data and the first resource data have different detection times for the target resource; or, the second resource data is different from the data dimension indicated by the first resource data; or, the second resource data and the first resource data are acquired in different manners.
Step 711, generating a second resource tag according to the second resource data. In the embodiment of the application, after the second resource tag is generated, the resource data can be changed only for the second internet-of-things server corresponding to the second resource tag, but the second resource tag cannot be sent to other second internet-of-things servers.
Step 712, sending the second resource tag to the first internet of things server.
In step 713, the first internet of things server receives the second resource tag.
Optionally, steps 712 to 713 are the process in which the second internet of things server sends the second resource tag to the first internet of things server and is received by the first internet of things server.
Step 714, determining the status of the first resource data according to the second resource tag.
Optionally, after determining the updated first resource data, the first internet of things server sends the first resource data to the second internet of things server again to synchronize the first resource data, and correspondingly, the resource data of the corresponding target resources in all the second internet of things servers are updated to the updated first resource data.
In summary, according to the method provided by the embodiment of the application, the first resource tag is acquired according to the first internet of things server, and the first resource tag is sent to the second internet of things server, so that the first resource tag replaces other data to be sent from the first internet of things server to the second internet of things server, and the second internet of things server can update and adjust the self-stored content according to the first resource tag, thereby improving the updating efficiency of the resource data.
By setting the authority and the authority duration time length of the first resource tag, under the condition that the second internet-of-things server reads the first resource tag of the first internet-of-things server, the possibility that the second internet-of-things server does not have the corresponding authority is eliminated, confidentiality of the first resource tag is improved, and updating safety of resource data is improved.
By marking the third resource label corresponding to the target resource by the other resources with the association relation established with the target resource, the upper node and the lower node corresponding to the target resource can learn and inherit the characteristics of the target resource, and the updating efficiency of the resource data is further improved.
Fig. 8 is a schematic process diagram of a method for updating resource data according to an exemplary embodiment of the present application, where the method is applied to an update system of resource data, and the process includes:
step 801, local resources are updated.
The process is performed in the second internet server, and the process is a process that the user writes new content in the second internet, and in the process, the second internet equipment correspondingly generates a second resource tag.
Step 802, checking the write permission of the user platform resource.
In the embodiment of the application, the second internet of things server is implemented as a user platform, and the user platform needs to perform authority verification first in the process of interaction of the first internet of things server serving as a developer platform.
Step 803, message channel.
The process is that the second resource tag sends the second resource tag to the first internet of things server through the message channel.
At step 804, developer platform resource locking.
The process is that after the first internet of things server receives the second resource tag, the target resource is determined to be required to be modified according to the second resource tag, and after the correct first resource data is obtained, the process of locking the resource is performed.
Step 805, it is determined whether the resource update is complete.
The process is a process of modifying the target resource by the first internet of things server. When the modification is not completed, step 805 is repeatedly performed, and when the modification is completed, step 806 is performed.
Step 806, the developer platform administrator approves.
In the embodiment of the application, the administrator is a user for managing the first internet of things server, and after the first internet of things server determines a new first resource tag according to the first resource data, the developer platform administrator examines and approves the new first resource tag.
Step 807, message channel.
Step 808, push to other users.
Steps 807 to 808 are the process of the first internet of things server pushing the modified first resource tag to all second internet of things servers with which the communication network connection is established.
In summary, according to the method provided by the embodiment of the application, the first resource tag is acquired according to the first internet of things server, and the first resource tag is sent to the second internet of things server, so that the first resource tag replaces other data to be sent from the first internet of things server to the second internet of things server, and the second internet of things server can update and adjust the self-stored content according to the first resource tag, thereby improving the updating efficiency of the resource data.
Fig. 9 is a block diagram illustrating another apparatus for updating resource data according to an exemplary embodiment of the present application, the apparatus including:
the acquiring module 901 is configured to acquire first resource data, where the first resource data includes data stored in a first internet of things server and used to indicate an attribute of a target resource, and the target resource is an internet of things device that establishes a connection relationship with the first internet of things server;
a labeling module 902, configured to label the target resource with a first resource label based on the resource data;
a sending module 903, configured to send the first resource tag to the second internet server.
Fig. 10 is a block diagram illustrating a configuration of an apparatus for updating resource data according to an embodiment of the present application, the apparatus including:
the receiving module 1001 is configured to receive a first resource tag, where the first resource tag is a tag determined according to first resource data, the first resource data includes data stored in a first internet of things server and used to indicate an attribute of a target resource, and the target resource is an internet of things device that establishes a connection with the first internet of things server;
an obtaining module 1002, configured to obtain second resource data, where the second resource data includes data stored in a second internet server and used to indicate an attribute of a target resource;
A determining module 1003, configured to determine a state of the second resource data according to the first resource tag.
In summary, in the apparatus for updating resource data provided in the foregoing embodiments, through performing a flow between the first internet of things server and the second internet of things server in the system for updating resource data in the form of resource labels, after the first internet of things server determines the first resource labels and sends the first resource labels to the second internet of things server, the second internet of things server may adjust the second resource data stored in the second internet of things server according to the first resource labels. Through the transmission of the resource labels between the first Internet of things server and the second Internet of things server, each server can update and adjust the self-stored content according to the first resource label and the instruction content in the first resource label, and the updating efficiency of the resource data is improved.
It should be noted that: the updating device for resource data provided in the above embodiment is only exemplified by the division of the above functional modules, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
The present disclosure also provides a server, where the server includes a processor and a memory, where the memory stores at least one instruction, where the at least one instruction is loaded and executed by the processor to implement the method for updating resource data provided by the foregoing method embodiments. It should be noted that the server may be a server as provided in fig. 11 below.
Referring to fig. 11, a schematic diagram of a server according to an exemplary embodiment of the present disclosure is shown. Specifically, the present invention relates to a method for manufacturing a semiconductor device. The server 1100 includes a central processing unit (Central Processing Unit, CPU) 1101, a system Memory 1104 including a random access Memory (Random Access Memory, RAM) 1102 and a Read-Only Memory (ROM) 1103, and a system bus 1105 connecting the system Memory 104 and the central processing unit 1101. The server 1100 also includes a basic input/output (Input Output System, I/O) system 106, which facilitates the transfer of information between various devices within the computer, and a mass storage device 1107 for storing an operating system 1111, application programs 1114 and other program modules 1115.
The basic input/output system 1106 includes a display 1108 for displaying information and an input device 1109, such as a mouse, keyboard, or the like, for user input of information. Wherein both the display 1108 and the input device 1109 are coupled to the central processing unit 1101 through an input-output controller 1110 coupled to the system bus 1105. The basic input/output system 1106 may also include an input/output controller 1110 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input output controller 1110 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1107 is connected to the central processing unit 1101 through a mass storage controller (not shown) connected to the system bus 1105. Mass storage device 1107 and its associated computer-readable media provide non-volatile storage for server 1100. That is, mass storage device 1107 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Computer readable media may include computer storage media and communication media without loss of generality. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), electrically erasable programmable read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash Memory or other solid state Memory technology, CD-ROM, digital versatile disks (Digital Video Disc, DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that computer storage media are not limited to the ones described above. The system memory 1104 and mass storage device 1107 described above may be collectively referred to as memory.
The memory stores one or more programs configured to be executed by the one or more central processing units 1101, the one or more programs containing instructions for implementing the above-described resource data updating method, and the central processing unit 1101 executes the one or more programs to implement the resource data updating method provided by the above-described respective method embodiments.
According to various embodiments of the application, the server 1100 may also operate by a remote computer connected to the network through a network, such as the Internet. That is, the server 1100 may be connected to the network 1112 through a network interface unit 1111 connected to the system bus 1105, or the network interface unit 1111 may be used to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, one or more programs being stored in the memory, the one or more programs including steps executed by the server in performing the method for updating resource data provided by the embodiment of the present application.
The embodiment of the application also provides a computer readable storage medium, wherein at least one instruction, at least one section of program, code set or instruction set is stored in the readable storage medium, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by a processor to realize the method for updating the resource data.
The present application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method for updating resource data according to any of the above embodiments.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing related hardware, and the program may be stored in a computer readable storage medium, which may be a computer readable storage medium included in the memory of the above embodiments; or may be a computer-readable storage medium, alone, that is not incorporated into the terminal. The computer readable storage medium stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for updating resource data.
Alternatively, the computer-readable storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), solid state disk (SSD, solid State Drives), or optical disk, etc. The random access memory may include resistive random access memory (ReRAM, resistance Random Access Memory) and dynamic random access memory (DRAM, dynamic Random Access Memory), among others. The foregoing embodiment numbers of the present disclosure are merely for description and do not represent advantages or disadvantages of the embodiments.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing is illustrative of the present disclosure and is not to be construed as limiting thereof, but rather as various modifications, equivalent arrangements, improvements, etc., which are intended to be included within the spirit and principles of the present disclosure.

Claims (12)

1. The resource data updating system is characterized by comprising a first Internet of things server and a second Internet of things server, wherein communication network connection is established between the first Internet of things server and the second Internet of things server, a first Internet of things platform corresponding to the first Internet of things server is a developer platform, a second Internet of things platform corresponding to the second Internet of things server is a user platform, and the authority of the first Internet of things platform is higher than that of the second Internet of things platform;
The first internet of things server is used for acquiring first resource data, the first resource data comprise data which are stored in the first internet of things server and are used for indicating the attribute of a target resource, and the target resource comprises internet of things equipment which is connected with the first internet of things server; labeling the target resource with a first resource tag based on the first resource data; sending the first resource tag to the second internet-of-things server; when the first resource label is marked in the first Internet of things server, all servers establishing a communication network connection relation with the first Internet of things server receive the first resource label and process the target resource according to the first resource label; the target resource corresponds to an associated resource;
the second internet-of-things server is used for receiving the first resource tag; determining second resource data according to the first resource tag, wherein the second resource data comprises data stored in the second internet server and used for indicating the attribute of the target resource;
The second internet-of-things server is used for directly updating the second resource data according to the first resource data indicated by the first resource tag;
the first internet of things server is further configured to label the associated resource with a third resource tag based on the resource data, where the third resource tag has an association relationship with the first resource tag;
responding to the writing of new content in the second internet by the user, and correspondingly generating a second resource tag by the second internet equipment;
the second internet of things server is used for performing write permission verification and sending the second resource tag to the first internet of things server through a message path;
the first internet of things server is used for determining that the target resource needs to be modified according to the second resource label to obtain new first resource data; determining a new first resource tag according to the first resource data; the developer platform administrator examines and approves the new first resource tag; pushing the new first resource tag to the second internet-of-things server with which a communication network connection is established.
2. The system of claim 1, wherein the first resource tag includes at least one of a read instruction and a write instruction therein;
The second internet server is further used for reading the first resource data in the first resource tag in response to the reading instruction included in the resource tag; and updating the second resource data based on the first resource data.
3. The system of claim 2, wherein the system further comprises a controller configured to control the controller,
the second internet server is further configured to obtain the second resource data from the target resource in response to the resource tag including the write instruction; generating a second resource tag according to the second resource data; the second resource tag is sent to the first Internet of things server;
the first Internet of things server is further used for receiving a second resource tag; and determining the state of the first resource data according to the second resource tag.
4. A system according to any one of claims 1 to 3, wherein the first resource tag corresponds to a tag authority;
the second internet-of-things server is further used for performing authority detection according to the tag authority; and determining the state of the second resource data according to the first resource tag in response to the permission detection passing.
5. The system of claim 4, wherein the tag permissions correspond to a permission duration range;
the second internet-of-things server is further configured to determine, in response to the time for performing the permission detection being within the permission duration range, a status of the second resource data according to the first resource tag when the permission detection passes.
6. The system of claim 1, wherein the association comprises at least one of an inheritance relationship and an inherited relationship.
7. The method is characterized in that the method is applied to a first Internet of things server in an updating system of the resource data, the updating system of the resource data comprises the first Internet of things server and a second Internet of things server, communication network connection is established between the first Internet of things server and the second Internet of things server, a first Internet of things platform corresponding to the first Internet of things server is a developer platform, a second Internet of things platform corresponding to the second Internet of things server is a user platform, and the authority of the first Internet of things platform is higher than that of the second Internet of things platform; the method comprises the following steps:
Acquiring first resource data, wherein the first resource data comprises data stored in a first Internet of things server and used for indicating the attribute of a target resource, and the target resource is Internet of things equipment which establishes a connection relationship with the first Internet of things server;
labeling the target resource with a first resource tag based on the resource data; when the first resource label is marked in the first Internet of things server, all servers establishing a communication network connection relation with the first Internet of things server receive the first resource label and process the target resource according to the first resource label; the target resource corresponds to an associated resource;
sending the first resource tag to a second internet-of-things server; the second internet-of-things server is used for receiving the first resource tag; determining second resource data according to the first resource tag, wherein the second resource data comprises data stored in the second internet server and used for indicating the attribute of the target resource; the second internet-of-things server is used for directly updating the second resource data according to the first resource data indicated by the first resource tag;
Labeling a third resource tag on the associated resource based on the resource data, wherein the third resource tag has an association relationship with the first resource tag;
receiving a second resource tag sent by a second internet server; the second resource tag is generated by the second networking device in response to the user writing new content in the second networking; the second internet of things server is used for performing write permission verification, and the second resource tag is sent to the first internet of things server through a message path;
determining that the target resource needs to be modified according to the second resource tag to obtain new first resource data; determining a new first resource tag according to the first resource data; the developer platform administrator examines and approves the new first resource tag; pushing the new first resource tag to the second internet-of-things server with which a communication network connection is established.
8. The method is characterized in that the method is applied to a second internet-of-things server in an updating system of the resource data, the updating system of the resource data comprises a first internet-of-things server and a second internet-of-things server, communication network connection is established between the first internet-of-things server and the second internet-of-things server, a first internet-of-things platform corresponding to the first internet-of-things server is a developer platform, a second internet-of-things platform corresponding to the second internet-of-things server is a user platform, and the authority of the first internet-of-things platform is higher than that of the second internet-of-things platform; the method comprises the following steps:
Receiving a first resource tag, wherein the first resource tag is a tag determined according to first resource data, the first resource data comprises data stored in a first Internet of things server and used for indicating the attribute of a target resource, and the target resource is Internet of things equipment which establishes a connection relationship with the first Internet of things server; when the first resource label is marked in the first Internet of things server, all servers establishing a communication network connection relation with the first Internet of things server receive the first resource label and process the target resource according to the first resource label; the target resource corresponds to an associated resource;
acquiring second resource data, wherein the second resource data comprises data stored in the second internet server and used for indicating the attribute of the target resource;
determining the state of the second resource data according to the first resource tag;
directly updating the second resource data according to the first resource data indicated by the first resource tag;
Performing write permission verification, and sending a second resource tag to the first Internet of things server through a message path; the second resource tag is generated by the second networking device in response to the user writing new content in the second networking; the second internet of things server is used for performing write permission verification, and the second resource tag is sent to the first internet of things server through a message path;
the first internet of things server is used for determining that the target resource needs to be modified according to the second resource tag to obtain new first resource data; determining a new first resource tag according to the first resource data; the developer platform administrator examines and approves the new first resource tag; pushing the new first resource tag to the second internet-of-things server with which a communication network connection is established.
9. The device is characterized in that the device is used for realizing a first Internet of things server in an updating system of resource data, the updating system of the resource data comprises the first Internet of things server and a second Internet of things server, communication network connection is established between the first Internet of things server and the second Internet of things server, a first Internet of things platform corresponding to the first Internet of things server is a developer platform, a second Internet of things platform corresponding to the second Internet of things server is a user platform, and the authority of the first Internet of things platform is higher than that of the second Internet of things platform; the device comprises:
The system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring first resource data, the first resource data comprises data stored in a first Internet of things server and used for indicating the attribute of a target resource, and the target resource is Internet of things equipment which establishes a connection relationship with the first Internet of things server;
the labeling module is used for labeling a first resource label for the target resource based on the resource data; when the first resource label is marked in the first Internet of things server, all servers establishing a communication network connection relation with the first Internet of things server receive the first resource label and process the target resource according to the first resource label; the target resource corresponds to an associated resource;
the sending module is used for sending the first resource tag to a second internet server; the second internet-of-things server is used for receiving the first resource tag; determining second resource data according to the first resource tag, wherein the second resource data comprises data stored in the second internet server and used for indicating the attribute of the target resource; the second internet-of-things server is used for directly updating the second resource data according to the first resource data indicated by the first resource tag;
The marking module is used for marking a third resource label for the associated resource based on the resource data, wherein the third resource label has an association relationship with the first resource label;
a module for receiving a second resource tag sent by a second internet server; the second resource tag is generated by the second networking device in response to the user writing new content in the second networking; the second internet of things server is used for performing write permission verification, and the second resource tag is sent to the first internet of things server through a message path;
a module for executing the following steps, configured to determine, according to the second resource tag, that the target resource needs to be modified, so as to obtain new first resource data; determining a new first resource tag according to the first resource data; the developer platform administrator examines and approves the new first resource tag; pushing the new first resource tag to the second internet-of-things server with which a communication network connection is established.
10. The device is characterized in that the device is used for realizing a second internet of things server in an updating system of resource data, the updating system of the resource data comprises a first internet of things server and a second internet of things server, communication network connection is established between the first internet of things server and the second internet of things server, a first internet of things platform corresponding to the first internet of things server is a developer platform, a second internet of things platform corresponding to the second internet of things server is a user platform, and the authority of the first internet of things platform is higher than that of the second internet of things platform; the device comprises:
The receiving module is used for receiving a first resource tag, wherein the first resource tag is determined according to first resource data, the first resource data comprises data which are stored in the first Internet of things server and are used for indicating the attribute of a target resource, and the target resource is Internet of things equipment which is connected with the first Internet of things server; when the first resource label is marked in the first Internet of things server, all servers establishing a communication network connection relation with the first Internet of things server receive the first resource label and process the target resource according to the first resource label; the target resource corresponds to an associated resource;
the acquisition module is used for acquiring second resource data, wherein the second resource data comprises data stored in the second internet server and used for indicating the attribute of the target resource;
the determining module is used for determining the state of the second resource data according to the first resource tag; directly updating the second resource data according to the first resource data indicated by the first resource tag;
The module is used for performing write permission verification and sending a second resource tag to the first Internet of things server through a message path; the second resource tag is generated by the second networking device in response to the user writing new content in the second networking; the second internet of things server is used for performing write permission verification, and the second resource tag is sent to the first internet of things server through a message path;
the first internet of things server is used for determining that the target resource needs to be modified according to the second resource tag to obtain new first resource data; determining a new first resource tag according to the first resource data; the developer platform administrator examines and approves the new first resource tag; pushing the new first resource tag to the second internet-of-things server with which a communication network connection is established.
11. A computer device comprising a processor and a memory, wherein the memory has stored therein at least one instruction, at least one program, code set, or instruction set, which is loaded and executed by the processor to implement the method of updating resource data according to claim 7 or 8.
12. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, at least one program, code set, or instruction set being loaded and executed by a processor to implement the method of updating resource data of claim 7 or 8.
CN202110554110.2A 2021-05-20 2021-05-20 Resource data updating system, method, device, equipment and readable storage medium Active CN113259443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110554110.2A CN113259443B (en) 2021-05-20 2021-05-20 Resource data updating system, method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110554110.2A CN113259443B (en) 2021-05-20 2021-05-20 Resource data updating system, method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113259443A CN113259443A (en) 2021-08-13
CN113259443B true CN113259443B (en) 2023-09-29

Family

ID=77183190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110554110.2A Active CN113259443B (en) 2021-05-20 2021-05-20 Resource data updating system, method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113259443B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550419B (en) * 2022-09-05 2024-09-10 Oppo广东移动通信有限公司 Information transmission method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156164A (en) * 2015-04-15 2016-11-23 腾讯科技(深圳)有限公司 resource information processing method and device
CN108563658A (en) * 2017-12-29 2018-09-21 邵阳学院 A kind of method and apparatus of multi-platform data synchronization updating
CN109325076A (en) * 2018-06-07 2019-02-12 北京百度网讯科技有限公司 Data managing method, equipment, computer equipment and readable medium in Internet of Things
CN110741617A (en) * 2018-12-14 2020-01-31 Oppo广东移动通信有限公司 Resource updating method and device, computer equipment and storage medium
CN110798444A (en) * 2019-09-12 2020-02-14 腾讯科技(深圳)有限公司 Data synchronization method and device based on Internet of things
KR20210048309A (en) * 2019-10-23 2021-05-03 한국전자기술연구원 Resource Attribute Value Update Method for IoT/M2M Platform

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11240093B2 (en) * 2016-10-07 2022-02-01 Convida Wireless, Llc Service layer resource management for generic interworking and extensibility
CN109495524B (en) * 2017-09-11 2022-03-04 华为云计算技术有限公司 Method, equipment and system for subscribing resources of Internet of things
US10860961B2 (en) * 2018-08-07 2020-12-08 Xactly Corporation Automatic computer prediction of resource attrition
CN113455083A (en) * 2019-03-20 2021-09-28 联想(新加坡)私人有限公司 Multiple resource allocation pattern configuration

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156164A (en) * 2015-04-15 2016-11-23 腾讯科技(深圳)有限公司 resource information processing method and device
CN108563658A (en) * 2017-12-29 2018-09-21 邵阳学院 A kind of method and apparatus of multi-platform data synchronization updating
CN109325076A (en) * 2018-06-07 2019-02-12 北京百度网讯科技有限公司 Data managing method, equipment, computer equipment and readable medium in Internet of Things
CN110741617A (en) * 2018-12-14 2020-01-31 Oppo广东移动通信有限公司 Resource updating method and device, computer equipment and storage medium
WO2020118705A1 (en) * 2018-12-14 2020-06-18 Oppo广东移动通信有限公司 Resource update method and apparatus, computer device and storage medium
CN110798444A (en) * 2019-09-12 2020-02-14 腾讯科技(深圳)有限公司 Data synchronization method and device based on Internet of things
KR20210048309A (en) * 2019-10-23 2021-05-03 한국전자기술연구원 Resource Attribute Value Update Method for IoT/M2M Platform

Also Published As

Publication number Publication date
CN113259443A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN111274268B (en) Internet of things data transmission method and device, medium and electronic equipment
US9680763B2 (en) Controlling distribution of resources in a network
CN111182025B (en) Message processing method, device, server and storage medium
US8254579B1 (en) Cryptographic key distribution using a trusted computing platform
US9805209B2 (en) Systems and methodologies for managing document access permissions
CN107818163A (en) Page display method, device, computer equipment and storage medium
CN106878108B (en) Network flow playback test method and device
CN105337941A (en) Method and device for providing device identifier
KR20210041074A (en) Methods, devices, systems and storage media for configuring access control policies
CN106886483A (en) The method and apparatus for providing, obtaining terminal applies daily record
CN103150154B (en) The implementation method and device of a kind of application plug
WO2021164462A1 (en) Data encryption method, data decryption method, computer device, and medium
US20220318415A1 (en) Integrity auditing for multi-copy storage
CN113259443B (en) Resource data updating system, method, device, equipment and readable storage medium
CN111367923A (en) Data processing method, data processing device, node equipment and storage medium
US20210126923A1 (en) Integrity verification chain for verifying integrity of devices and method for verifying integrity of devices using the same
Oh et al. OCF-to-ZigBee (O2Z) bridging technique and IoTivity-based implementation
CN113794581B (en) Distributed CP unified deployment method, network equipment and storage medium
WO2015179012A1 (en) Methods, systems, and computer readable mediums for providing supply chain validation
CN114172978A (en) Multi-protocol equipment access method and related device
CN113791735A (en) Video data storage method and device, computer equipment and storage medium
CN117118972A (en) Method, device, equipment and medium capable of recording file circulation process
CN114422586B (en) Event notification method, event notification device, computer equipment and storage medium
CN115982735A (en) Method, device and storage medium for automatically processing production data
CN114143308A (en) File uploading information processing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant