CN115699707A - Internet of things communication method, device, equipment, computer storage medium and chip - Google Patents

Internet of things communication method, device, equipment, computer storage medium and chip Download PDF

Info

Publication number
CN115699707A
CN115699707A CN202080102066.5A CN202080102066A CN115699707A CN 115699707 A CN115699707 A CN 115699707A CN 202080102066 A CN202080102066 A CN 202080102066A CN 115699707 A CN115699707 A CN 115699707A
Authority
CN
China
Prior art keywords
resource
information
state
client
cloud platform
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.)
Pending
Application number
CN202080102066.5A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN115699707A publication Critical patent/CN115699707A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Abstract

The embodiment of the application discloses a communication method, a device, equipment, a computer storage medium, a chip and a computer program product of the Internet of things, wherein the method comprises the following steps: the method comprises the steps that a client receives first resource information sent by resource equipment through a cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device; under the condition that the first resource state information is changed into second resource state information, the client sends a recovery request to the resource equipment through the cloud platform; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.

Description

Internet of things communication method, device, equipment, computer storage medium and chip Technical Field
The embodiment of the application relates to but is not limited to the field of the internet of things, and particularly relates to a communication method, device, equipment, computer storage medium and chip of the internet of things.
Background
The Internet of Things (IOT) is an important component of a new generation of information technology.
The resource equipment in the internet of things is required to be restored to a normal working state as soon as possible in order to ensure the normal operation of the internet of things system when the resource equipment in the internet of things is powered off or fails.
Disclosure of Invention
The embodiment of the application provides an Internet of things communication method, device, equipment, computer storage medium and chip.
In a first aspect, a method for communication of an internet of things is provided, including:
the method comprises the steps that a client receives first resource information sent by resource equipment through a cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
under the condition that the first resource state information is changed into second resource state information, the client sends a recovery request to the resource equipment through the cloud platform; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.
In a second aspect, a communication method of the internet of things is provided, including:
the resource equipment sends first resource information to the client through the cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
under the condition that the first resource state information is changed into second resource state information, the resource equipment receives a recovery request sent by the client through the cloud platform;
and the resource equipment restores the state to the state corresponding to the first resource state information.
In a third aspect, a communication method of the internet of things is provided, including:
the method comprises the steps that a cloud platform receives first resource information sent by resource equipment and sends the first resource information to a client; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
under the condition that the first resource state information is changed into second resource state information, the cloud platform receives a recovery request sent by the client and sends the recovery request to the resource equipment; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.
In a fourth aspect, an internet of things communication device is provided, including:
the receiving unit is used for receiving first resource information sent by the resource equipment through the cloud platform by the client; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
a sending unit, configured to send, by the client, a recovery request to the resource device through the cloud platform when the first resource state information changes to second resource state information; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.
In a fifth aspect, an internet of things communication device is provided, which includes:
the sending unit is used for sending first resource information to the client by the resource equipment through the cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
a receiving unit, configured to receive, by the resource device through the cloud platform, a recovery request sent by the client when the first resource state information changes into second resource state information;
a recovery unit, configured to recover, by the resource device, a state to a state corresponding to the first resource state information.
In a sixth aspect, an internet of things communication device is provided, including:
the first transceiving unit is used for the cloud platform to receive first resource information sent by the resource equipment and send the first resource information to the client; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
a second transceiving unit, configured to, when the first resource state information changes to second resource state information, receive, by the cloud platform, a recovery request sent by the client, and send the recovery request to the resource device; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.
In a seventh aspect, an internet of things communication device is provided, including: a memory and a processor, wherein the processor is capable of,
the memory stores a computer program operable on the processor,
the processor implements the steps of any of the above methods when executing the program.
In an eighth aspect, there is provided a computer storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of any of the methods described above.
In a ninth aspect, there is provided a chip comprising: and the processor is used for calling and running the computer program from the memory so that the equipment provided with the chip executes the steps of any method.
In a tenth aspect, a computer program product is provided, the computer program product comprising a computer storage medium storing computer program code comprising instructions executable by at least one processor, the instructions implementing the steps of any of the methods described above when executed by the at least one processor.
In the embodiment of the application, when the first resource state information of the resource device is changed into the second resource state information, the client can restore the state of the resource device to the state corresponding to the first resource state information by sending the restoration request to the resource device, so that the resource device can restore the state to the previous normal working state under the condition that the state of the resource is changed due to power failure or fault of the resource device, and the reliability of the communication of the internet of things can be improved.
Drawings
Fig. 1 is a schematic diagram of an internet of things system provided by an embodiment of the present application;
fig. 2 is a schematic diagram illustrating an implementation flow of a method for reporting a resource status to a client by a resource device according to the related art;
fig. 3 is a schematic flowchart of a communication method of the internet of things according to the embodiment of the present application;
fig. 4 is a schematic flowchart of another communication method of the internet of things according to the embodiment of the present application;
fig. 5 is a schematic flowchart of another internet of things communication method provided in the embodiment of the present application;
fig. 6 is a schematic flowchart of another communication method of the internet of things according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a communication method of the internet of things according to another embodiment of the present application;
fig. 8 is a schematic flowchart of a communication method of the internet of things according to another embodiment of the present application;
fig. 9 is a schematic flowchart of a communication method of the internet of things according to still another embodiment of the present application;
fig. 10 is a schematic flowchart of another method for communicating in the internet of things according to another embodiment of the present application;
fig. 11 is a schematic flowchart of another communication method of the internet of things according to another embodiment of the present application;
fig. 12 is a schematic structural diagram of a communication device of the internet of things according to an embodiment of the present disclosure;
fig. 13 is a schematic diagram of a composition structure of another internet of things communication device according to an embodiment of the present application
Fig. 14 is a schematic structural diagram of a component of another communication device of the internet of things according to the embodiment of the present application;
fig. 15 is a hardware entity diagram of an internet of things communication device according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
The technical solution of the present application will be specifically described below by way of examples with reference to the accompanying drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
It should be noted that: in the present examples, "first", "second", etc. are used for distinguishing similar objects and are not necessarily used for describing a particular order or sequence.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
Fig. 1 is a schematic diagram of an internet of things system according to an embodiment of the present disclosure, and as shown in fig. 1, an internet of things system 10 includes resource devices (devices) 11 to 15, a Cloud platform (Cloud) 16, and a Client (Client) 17. Wherein:
the resource devices 11 to 15 may be resource state reporting nodes in the internet of things. The resource state reporting node may include a resource state determining module and a communication module, where the resource state determining module may be configured to determine state information of the current operation of the resource device, and the communication module is configured to communicate with the resource device, for example, the communication module may upload the state information of the current operation determined by the resource state determining module to the cloud platform 16 or to the client 17. In the embodiment of the household appliance field shown in fig. 1, the resource devices 11 to 15 may be any one or a combination of several of an electric lamp, an air conditioner, an intelligent sound box, a kettle, an electric cooker, a refrigerator, and a television. In embodiments in other fields of the present application, the resource device may also be any one or a combination of other smart appliances, mobile phones, computers, smart watches, measurement devices in factories, sensing devices in automobiles, augmented Reality (AR) devices, or Virtual Reality (VR) devices. The embodiment of the present application does not limit the resource device, as long as the resource device can operate in different states.
The cloud platform can be replaced by a cloud end or a cloud device. The cloud platform may be a physical device or a virtual device.
The client 17 may be a device having display and control functions, for example, a display screen is used to implement the display function, and the display function may be used to display relevant information of the resource device to a user; a single chip microcomputer or a processor and the like are adopted to realize a control function, and the control function is used for controlling the running state of resource equipment.
The client 17 in the embodiment of the present application may be a physical device or a virtual device. When the client 17 is an entity device, the client 17 may be a terminal device, an access terminal device, a subscriber unit, a subscriber station, a mobile station, a remote terminal device, a mobile device, a User Equipment (UE), a wireless communication device, a User agent, or a User Equipment. The terminal device can be a server, a mobile phone, a tablet computer, a notebook computer, a palm computer, a personal digital assistant, a portable media player, an intelligent sound box, a navigation device, a display device, a wearable device such as an intelligent bracelet, a virtual reality device, an augmented reality device, a pedometer, a digital TV or a desktop computer, and the like.
In some embodiments, the resource device may be connected to the client through a cloud platform, for example, in the embodiment corresponding to fig. 1, both the resource devices 11 and 15 may be connected to the client 17 through the cloud platform 16, and the client 17 may perform information interaction with the resource devices 11 and 15 through the cloud platform 16. In other embodiments, the resource device may be directly connected to the client 17, for example, in the embodiment corresponding to fig. 1, the resource devices 12 and 13 are both directly connected to the client 17, so that the client 17 may directly perform information interaction with the resource devices 12 or 13. The client 17 performs information interaction with any resource device, which may include: the client 17 may manage and/or control the resource devices 11 to 15, such as at least one of resource device software and hardware upgrade, resource device function and/or operation status and/or resource status control, resource subscription, and resource query.
The resource devices may also be connected to each other, for example, the resource device 11 may be connected to the resource devices 14 and 15, respectively, messages or data between the client 17 and the resource devices 14 or 15 may be forwarded via the resource device 11, and the resource device 11 may also perform certain processing on the forwarded messages or data, such as data preprocessing/filtering, communication protocol or message format conversion, and the like.
The two resource devices, and/or the resource device and the client, and/or the resource device and the cloud platform, and/or the client and the cloud platform can be in communication connection through the communication module. It should be noted that the embodiments of the present application do not limit the connection manner or the communication protocol between any two of the above. For example, any two of the above-mentioned networks may be connected by wire, or may use a hypertext Transfer Protocol (HTTP) to transmit data or messages, or may use a restricted Application Protocol (CoAP) to transmit data or messages, or may use a narrowband Internet of Things (NB-IoT) wireless connection technology based on cellular to transmit data or messages by using a Message queue Transport (MQTT) Protocol. In the embodiment of the present application, coAP may be used for data or message transmission between any two of the above. In other embodiments, any two of the above may be transmitted with other protocols for data or messaging.
It should be noted that, in the technology of internet of things, the client 17 manages resource devices in a resource form, where "resource" is an abstract concept, and may refer to a physical resource device, a model, a software/hardware version, or a manufacturer of a resource device, or a dynamic attribute such as an operation that can be executed by a resource device, an event that can be reported, a parameter, or a readable status parameter.
Fig. 2 is a schematic view of an implementation flow of a method for reporting a resource status to a client by a resource device in the related art, as shown in fig. 2, the method includes:
s201, establishing connection between the Device A and the Cloud A.
In some embodiments, the connection between Device a and Cloud a may be a long connection. Device a in the embodiment of the present application may be the above-mentioned resource Device, and Cloud a may be the above-mentioned Cloud platform.
S203, the Client A sends a request for acquiring the equipment information on the Cloud A to the Cloud A.
In some embodiments, the connection between Client a and Cloud a may be a short connection or a long connection. The Client a in the embodiment of the present application may be the Client described above. In some embodiments, data transmission is performed between the Client a and the Cloud a or between the Device a and the Cloud a after the secure connection is established, for example, the secure connection may be established by using HTTP protocol, coAP protocol, MQTT protocol, or the like, so that a secure channel may be established between the Client a and the Cloud a or between the Device a and the Cloud a, and further, data or information may be securely transmitted between the Device a and the Cloud a.
The device information may include information for all devices on Cloud a or information for devices associated with Client a. The device information may include device information of at least one device.
S205, sending the device information on the Cloud A to the Client A by the Cloud A.
The Device information on Cloud a may include Device a's Device information. In some embodiments, the Device information on Cloud a may include Device information of at least one of Device B, device C, device D, etc.
Device a may include at least one resource thereon, and a resource may include at least one resource information.
For example, when Device a is a lamp, at least one resource may be included in the lamp, for example, at least one of a resource for controlling brightness of the lamp, a resource for controlling color temperature of the lamp, a resource for controlling flicker frequency of the lamp, etc. may be included in the lamp.
For another example, when the Device a is a washing machine, the washing machine may include at least one resource, for example, at least one of a resource for controlling a washing pattern, a resource for controlling a water level height, a resource for controlling a washing time period, a resource for controlling a rinsing intensity, and the like may be included in the washing machine.
For another example, when Device a is a tv set, the tv set may include at least one resource, for example, the tv set may include at least one of a resource for controlling a playing channel of the tv set, a resource for controlling a playing sound size, a resource for adjusting a display mode, and the like.
It should be understood that Device a may also be exemplified by other devices, such as an air conditioner, a sound box, or a kettle, and the implementation scenario of Device a is not limited in the embodiments of the present application.
For example, cloud a sends device information of at least one device such as Cloud a lighting, washing machine, television, air conditioner, sound box or kettle to Client a.
The device information may include not only at least one resource included in the device or an identification of the at least one resource, but also at least one of a device type, a device identification, a device appearance, a device location, and the like.
S207, the Client A sends a subscription request to the Cloud A, and the subscription request is used for requesting to subscribe the resource information of the Device A on the Cloud A.
In some embodiments, client a may request to subscribe to resource information of one Device, or may request to subscribe to resource information of at least two devices, the resource information of one Device or at least two devices including Device a's resource information. In some embodiments, client a may request to subscribe to resource information of one resource of one device, or may subscribe to resource information of at least two resources of one device.
S209, the Cloud A sends a subscription request to the Device A, and the subscription request is used for requesting to subscribe the resource information of the Device A on the Cloud A.
S211, the Device A sends a subscription success message and current resource information to the Cloud A.
In some embodiments, the subscription success message and the current resource information may be sent in one signaling. In other embodiments, the subscription success message and the current resource information may be sent in two separate signaling, for example, the subscription success message may be sent before the current resource information, or the current resource information may be sent before the subscription success message.
S213, cloud A forwards the successful subscription message and the current resource information to Client A.
S215, changing the state of the Device A resource.
Taking the resource device as a washing machine as an example, the resource status change is at least one of an operation mode change of the washing machine, water level information of the washing machine, and a change of rinsing intensity of the washing machine, for example.
S215, the Device A sends the changed resource information to the Cloud A.
S217, cloud A sends the changed resource information to Client A.
The related art only provides a situation how the Device a reports the resource status to the Client a, and the related art does not consider how the Device a operates after power-off and restart.
For example, in an implementation scenario, when a washing machine is washing clothes in a normal washing mode, if the washing machine is powered off and on (for example, power off and on for restart, power off and on for power off, or power off and on for power off due to power failure, or power off and on due to user misoperation, etc.), the washing machine may be in a shutdown state, a standby state, or a default state.
For example, in another implementation scenario, when the washing machine performs washing in the normal mode, if the user wants to switch to the normal mode again after switching to the quick-washing mode, the user needs to perform a complicated operation to recover to the normal mode, which causes a troublesome operation for the user.
For another example, when the air conditioner detects that the ambient temperature meets the set temperature, the air conditioner may enter a power saving mode or a standby mode, however, in many scenarios, the user may want the air conditioner to operate in a fixed state all the time, and may not want the air conditioner to suddenly enter another state.
Fig. 3 is a schematic flowchart of a communication method of the internet of things provided in the embodiment of the present application, and as shown in fig. 3, the method includes:
s301, a client receives first resource information sent by resource equipment through a cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device.
It should be noted that the Client described in the embodiment of the present application may be the Client 17 in fig. 1 or the Client a in another embodiment, and the resource Device described in the embodiment of the present application may be any one of the resource devices 11 to 15 in fig. 1 or the Device a in another embodiment. The Cloud platform described in the embodiment of the present application may be the Cloud platform 16 in fig. 1 or Cloud a in other embodiments.
In some embodiments, the resource device may send the resource information to the client at a fixed period through the cloud platform. In other embodiments, the resource device may send the resource information to the client at a variable period, for example, between 6. For another example, when the resource device determines that the user is present in the home, the resource information may be transmitted at a shorter period, and when the resource device determines that the user is not present in the home, the resource information may be transmitted at a longer period. The first resource information may be current resource information sent by the resource device to the client through the cloud platform.
Each resource information (which may be the resource information in the embodiment corresponding to fig. 2, including the first resource information, the second resource information, or the third resource information described in this embodiment) sent by the resource device to the client through the cloud platform may include or indicate resource state information of a specific resource, or may include or indicate resource state information of a specific resource and resource attribute information of a specific resource. The resource status information of a particular resource may be a current status value of the particular resource, and typically changes as the status of the particular resource changes. The resource attribute information in each resource information sent by the resource device to the client through the cloud platform may include at least one of: whether the resource information/resource state information is recoverable, the type of the resource information/resource state information, whether the resource information/resource state information is modifiable, the identification of the specific resource corresponding to the resource information/resource state information, and the like.
For example, the first resource information may include not only the first resource status information but also resource attribute information of a specific resource. In this embodiment, each piece of resource information, such as first resource information, second resource information, third resource information, and the like, sent by the resource device to the client through the cloud platform may include resource attribute information of a specific resource, or part of the resource information includes resource attribute information of the specific resource.
The first resource information (or the second resource information or the third resource information described below) in the embodiment of the present application may be represented by a state, and the state may represent a current state of a specific resource. For example, the state may include: resource state 1: XXX; resource state 2: XXX; resource state 3: XXX; resource attribute 1: XXX; resource attribute 2: XXX.
The first resource status information may be at least one resource status information, and each of the at least one resource status information may be a resource status value. For example, taking the resource device as a washing machine and the specific resource as an operating mode of the washing machine, the first resource status information may be at least one of an operation mode identifier of the washing machine, a time period for which the washing machine has been operated, water level information of the washing machine, washing intensity of the washing machine, and the like.
The specific resource may be one resource or at least two resources in the resource device. The resource attribute information of a specific resource may include one or at least two attribute information, at least part of which may be fixed attribute information or may be attribute information that changes with time and/or scene change, or may be attribute information that changes by the resource device receiving a user-input attribute adjustment operation. For example, when the resource attribute information is information a (or described as indication: a) under an indication (indication) attribute, the information a represents that the resource status information can be recovered. In some embodiments, the resource attribute information may always be information a. In other embodiments, the resource attribute information may be modified to information B when the resource device receives some instruction, where the information B characterizes that the resource status information is unrecoverable. In still other embodiments, when the resource device determines that the number of times the resource information is restored within a period of time is greater than a threshold, it may be determined that the restoration has failed, and the resource attribute information may be modified to B.
S303, under the condition that the first resource state information is changed into the second resource state information, the client sends a recovery request to the resource equipment through the cloud platform; the recovery request instructs the resource device to recover the state to a state corresponding to the first resource state information.
In an embodiment of the application, the second resource status information is different from the first resource status information.
In some embodiments, the client may determine that the first resource status information changes to the second resource status information. In order to ensure the effectiveness of the recovery process, the client may send the recovery request only when the first resource state information changes to other resource state information and then to the second resource state information. For example, to avoid the influence of the child false trigger on the laundry process, the client may send the recovery request to the resource device when it is determined that the first resource status information changes at least twice within a set time period.
The first resource status information may be changed into the second resource status information, and at least one of all the resource status information in the first resource status information may be changed.
In some embodiments, the client determines that the first resource status information changes into the second resource status information, which may be that the client is capable of obtaining the second resource information with the determined status value, thereby determining that the first resource status information changes into the second resource status information. In this way, the client may receive the second resource state information sent by the resource device through the cloud platform, so as to determine that the first resource state information changes into the second resource state information.
In other embodiments, the client determines that the first resource status information changes into the second resource status information, which may be that the client cannot obtain a piece of second resource information with a determined status value, and only knows that the first resource status information changes, but does not know what the first resource status information has changed. In this way, the client may receive information, which is sent by the resource device through the cloud platform and used for representing that the first resource state information changes, or the cloud platform may determine whether the first resource state information changes, and the client may receive information, which is sent by the cloud platform and used for representing that whether the first resource state information changes.
In some embodiments, the recovery request may include the first resource information, or the recovery request may include the first resource state information, in which case the resource device may not store the first resource information before the change or the first resource state information after the change in state. In other embodiments, the recovery request may include neither the first resource information nor the first resource state information, and the recovery request is only one request for indicating state recovery. Whether the first resource information is included in the recovery request may be preset, or may be flexibly determined according to different attributes of the resource device.
When the resource device receives the recovery request through the cloud platform, the resource device may respond to the recovery request, modify the current resource state information of the resource device into the first resource state information, or modify the current resource information into the first resource information, so that the state of the resource device may be recovered to the state corresponding to the first resource state information. For example, in the case where the first resource status information of the resource device changes to the second resource status information, the resource device may modify the second resource status information to the first resource status information. When the resource device restores the resource state information to the first resource state information, the resource device may operate in a state corresponding to the first resource state information.
Still taking the washing machine as an example, when the washing machine operates in the normal mode for 20 minutes, if the operation mode changes, the washing machine changes to the quick washing mode, the standby mode or the shutdown mode, after receiving the recovery request, the washing machine may re-enter the normal washing mode based on the recovery request, and continue washing for 20 minutes.
In the embodiment of the application, when the first resource state information of the resource equipment is changed into the second resource state information, the client side can restore the state of the resource equipment to the state corresponding to the first resource state information by sending the restoration request to the resource equipment, so that the resource equipment can restore the state to the previous normal working state under the condition that the state of the resource is changed due to power failure or faults of the resource equipment, and the reliability of communication of the internet of things can be improved.
Fig. 4 is a schematic flow chart of another communication method of the internet of things provided in the embodiment of the present application, and as shown in fig. 4, the method includes:
s401, the resource equipment sends first resource information to a client through a cloud platform; the method comprises the steps that a client receives first resource information sent by resource equipment through a cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device.
The cloud platform is embodied at the side of the cloud platform, receives first resource information sent by the resource equipment, and sends the first resource information to the client.
S403, the client determines that the first resource state information is changed into second resource state information.
The state corresponding to the first resource state information is the state of the specific resource before the resource equipment is powered off, and the state corresponding to the second resource state information is the state of the specific resource after the resource equipment is powered on.
After S403, the client may also determine that the resource state of the specific resource can be restored, and then perform S405 again. In some embodiments, the first resource information further includes or indicates resource attribute information of the particular resource, the resource attribute information being used to indicate that the resource state of the particular resource is recoverable; the client may determine that the resource state of the particular resource can be restored based on the resource attribute information.
S405, the client sends a recovery request to the resource equipment through the cloud platform; and the resource equipment receives a recovery request sent by the client through the cloud platform.
The cloud platform is embodied at the side of the cloud platform, receives the recovery request sent by the client and sends the recovery request to the resource equipment.
S407, the resource device restores the state to the state corresponding to the first resource state information.
The resource device may restore the state to a state corresponding to the first resource state information in response to the restore request.
In the embodiment of the application, when the resource equipment is abnormal, the resource state of the resource in the resource equipment can be reset, so that the reliability of the communication of the internet of things can be improved. In addition, the client and the resource equipment are communicated in a cloud platform communication mode, and the cloud platform can be accessed to a large number of clients and resource equipment, so that the Internet of things system has the advantages of strong system expansibility and wide application range.
Fig. 5 is a schematic flow chart of another communication method of the internet of things provided in the embodiment of the present application, and as shown in fig. 5, the method includes:
s501, sending first resource information to a cloud platform by a resource device; the cloud platform receives first resource information sent by the resource equipment.
In this embodiment, the first resource information may include or indicate not only the first resource state information of a specific resource in the resource device, but also resource attribute information of the specific resource, where the resource attribute information is used to indicate that the resource state of the specific resource can be recovered.
In some embodiments, the cloud platform may determine, after receiving the first resource information, that the resource state of the particular resource is recoverable based on the resource attribute information of the first resource information.
In some embodiments, the cloud platform may modify the third resource information stored in the cloud platform into the first resource information; the third resource information is received by the cloud platform before the first resource information.
S503, the cloud platform sends first resource information to the client; the client receives first resource information sent by the cloud platform.
In some embodiments, the protocol on which the cloud platform and the resource device communicate may be the same as the protocol on which the cloud platform and the client communicate, for example, both protocols are HTTP protocol, coAP protocol, or MQTT protocol. In other embodiments, the protocol based on which the cloud platform and the resource device communicate may be different from the protocol based on which the cloud platform and the client communicate, for example, the former may be an HTTP protocol, and the latter may be a CoAP protocol, which is not limited in this embodiment of the present application.
After the client receives the first resource information, a state corresponding to the first resource state information may be displayed.
In some embodiments, the client or the cloud platform may determine the readable and writable attribute and/or the recoverable attribute of the resource according to resource attribute information that indicates whether the resource status is recoverable and is reported by the resource device. For example, the working mode resource of the washing machine has an index attribute (read-only attribute) and a working mode attribute (read-write attribute); the indication attribute indicates whether the working mode resource state can be recovered; and after the equipment reports the resource, the client judges whether the attribute state of the resource is recoverable according to the index attribute value.
And S505, changing the first resource state information in the resource equipment into second resource state information.
In an operation scene of a resource device, a situation that the resource device is powered off and powered on often occurs. In one embodiment, after the resource device is powered on, the state of the resource device does not return to the state before the power failure, but enters the initial state set by the resource device. For example, when the resource device is a computer, and the computer is powered on, after power is off, the computer does not enter a preset desktop, and the plurality of programs that are powered on before power is off are not restored. In another embodiment, after the resource device is powered on, the state of the resource device may be automatically entered into the state before the power down. One implementation of powering off and powering on in the embodiment of the present application may be shutdown and restart.
The operating state of the resource device corresponding to the second resource state information may be a shutdown state, a standby state, an operating state, or the like, which is not limited in this embodiment of the application.
In some embodiments, after the resource device is powered off, the cloud platform may monitor that the connection between the cloud platform and the resource device is disconnected, determine that the resource device is offline, then the cloud platform may send a message that the resource device is offline to the client, and the client may display that the resource device is offline when receiving the message that the resource device is offline. In some embodiments, the client may further set the control related to the resource device as a non-triggerable control, so that the user cannot control the resource device accordingly by triggering the client. In some embodiments, the client may also display content associated with the resource device as a grayscale image to enable the user to clearly know that the resource device is offline.
In some embodiments, the client may determine that the first resource state change is an explicit second resource state, in which way the resource device sends the first resource information and the second resource information (or the first resource state information and the second resource state information) to the client through the cloud platform. In other embodiments, the client cannot determine that the first resource state changes into the explicit second resource state, and the client can only determine that the first resource state changes into a state different from the first resource state, in this way, the resource device may send the first resource information (or the first resource state information) to the client through the cloud platform, but not send the second resource information (or the second resource state information).
The following describes a process flow of powering down and powering up in one embodiment: after the resource device sends the first resource information to the client through the cloud platform, the resource device is restarted, in the process of restarting the resource device, the cloud platform cannot receive the information sent by the resource device (for example, the cloud platform cannot receive a heartbeat packet sent by the resource device) or determine what the resource device has happened, the cloud platform can only determine that the resource device is offline, then the cloud platform sends the information of the offline resource device to the client, and the client displays the offline resource device. After the resource device is powered on, the connection between the resource device and the cloud platform is restored, the resource device can send a notification that the resource device is online to the cloud platform, and/or send a restart reason to the cloud platform, where the restart reason is, for example, a power-off restart or a reset (reset) restart, when the cloud platform sends the online notification to the client, the client can display information that the resource device is online, and when the cloud platform sends the restart reason to the client, the client can display the restart reason.
S507, the resource equipment sends second resource information to the cloud platform; and the cloud platform receives second resource information sent by the resource equipment.
The second resource state information is used for the cloud platform to send a notification message to the client under the condition that the first resource state information is different from the second resource state information. The second resource information includes or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource and resource attribute information of the specific resource in the resource device; the resource attribute information is used to indicate that the resource state of a particular resource can be restored. The second resource state information may be used for the cloud platform to send a notification message to the client when it is determined that the first resource state information and the second resource state information are different.
In some embodiments, the resource device may send a notification that the resource device is online to the cloud platform, where the notification that the resource device is online is used to notify the resource device that the resource device is online. The second resource information and the notification of the resource device going online, the restart reason may be sent in one signaling, or may be sent in at least two signaling.
In this embodiment of the present application, the first resource state information and/or the second resource state information may be readable and writable attributes, and the resource attribute information may be a read-only attribute.
In this embodiment, the first resource status information and the second resource status information are different and may be replaced by different first resource information and different second resource information.
S509, the cloud platform determines that the first resource state information is different from the second resource state information.
S511, the cloud platform sends a notification message to the client; and the client receives the notification message sent by the cloud platform.
The notification message indicates that the first resource state information is changed into the second resource state information, or the notification message indicates that the resource state of the resource device needs to be recovered, or the notification message includes or indicates the first resource information.
In some embodiments, the cloud platform may also send an online notification to the client.
In some embodiments, the cloud platform may modify the first resource state information stored in the cloud platform to the second resource state information if it is determined that the first resource state information and the second resource state information are different. In other embodiments, the cloud platform may modify the first resource information stored in the cloud platform to the second resource information if it is determined that the first resource information and the second resource information are different.
S513, the client determines that the first resource status information changes into the second resource status information based on the notification message.
In some embodiments, the client may display that the resource device is online based on the online notification sent by the cloud platform. In some embodiments, the client may reset the control related to the resource device to a triggerable control, so that the user may control the resource device accordingly by triggering the client. In some embodiments, the client may further display content related to the resource device in a color image, so that the user can clearly know that the resource device is online.
And S515, the client determines that the resource state of the specific resource can be recovered based on the resource attribute information.
The client may determine that the resource state of the particular resource is recoverable based on the resource attribute information in the third resource information, or based on the resource attribute information in the first resource information, or based on the resource attribute information in the second resource information.
S517, the client side obtains a first trigger instruction; the first trigger instruction is used for indicating the recovery of the resource state of the resource device.
The client side obtains a first trigger instruction obtained by triggering the client side by a user. In some embodiments, the client may display a control whether to restore the resource state, and in the case that the user selects yes, the client may obtain the first trigger instruction.
S519, the client sends a recovery request to the cloud platform, and the cloud platform receives the recovery request sent by the client.
In the embodiment of the present application, the precondition for the client to send the recovery request to the cloud platform is that: the first resource state information is changed into second resource state information, the client determines that the resource state of the specific resource can be recovered, and receives a first trigger instruction.
S521, the cloud platform sends a recovery request to the resource device, and the resource device receives the recovery request sent by the cloud platform.
S523, the resource device restores the state to the state corresponding to the first resource state information.
The resource device may restore the state to a state corresponding to the first resource state information in response to the restore request.
In some embodiments, the resource device may restore a state corresponding to the second resource state information to a state corresponding to the first resource state information in response to the restore request.
In some embodiments, a list of correspondences between resource identifications and whether resources can be recovered may be stored in the client or the cloud platform, so that the client or the cloud platform may determine whether resources can be recovered based on the list. In other embodiments, the client or the cloud platform may determine whether the resource can be recovered directly according to the latest received state information, in which case, there may be no list of the correspondence between the resource identifier and whether the resource can be recovered.
In the embodiment of the application, whether the first resource state information and the second resource state information are the same is determined through the cloud platform, so that the cloud platform can inform the client of the result of whether the first resource state information and the second resource state information are the same, the client does not need to calculate whether the first resource information and the second resource information are the same, and consumption of the client can be reduced. In addition, the recovery request is sent based on the first trigger instruction obtained by the user trigger client, so that the resource equipment can recover the resource state only when the user confirms to recover, the resource state can be recovered according to the user requirement, and the controllability of resource recovery is improved.
Fig. 6 is a schematic flow chart of another communication method of the internet of things according to the embodiment of the present application, and as shown in fig. 6, the method includes:
s601, the client side obtains a second trigger instruction; the second trigger instruction is used for indicating the client to automatically send a recovery request to the resource device through the cloud platform when the first resource state information is changed into the second resource state information.
In some embodiments, the client may display a control for setting the state of the resource device as automatic recovery, and when the user selects yes, a second operation instruction is obtained to indicate that the client may automatically send a recovery request to the resource device through the cloud platform to automatically recover the state of the resource device. For example, in the case of setting the resource state of the resource device to automatically recover from power failure and power up, when receiving an operation corresponding to a user, the client may set the resource state of the resource device to automatically recover from power failure and power up, so that after the resource device is powered off and powered up, a recovery request is automatically sent to the client through the cloud platform.
S603, the resource equipment sends first resource information to the cloud platform; the cloud platform receives first resource information sent by the resource equipment.
S605, the cloud platform sends first resource information to the client; the client receives first resource information sent by the cloud platform.
S607, the first resource state information in the resource device is changed into the second resource state information.
The first resource information includes first resource state information, and the second resource information includes second resource state information.
S609, the resource equipment sends second resource information to the cloud platform; and the cloud platform receives second resource information sent by the resource equipment.
The second resource state information is used for the client to send a recovery request to the resource device under the condition that the first resource state information is different from the second resource state information.
S611, the cloud platform determines that the first resource state information is different from the second resource state information.
S613, the cloud platform sends a notification message to the client; and the client receives the notification message sent by the cloud platform.
S615, the client determines that the first resource state information is changed into the second resource state information based on the notification message.
S617, the client determines that the resource state of the specific resource can be recovered based on the resource attribute information.
S619, the client sends a recovery request to the cloud platform, and the cloud platform receives the recovery request sent by the client.
S621, the cloud platform sends a recovery request to the resource device, and the resource device receives the recovery request sent by the cloud platform.
S623, the resource device responds to the recovery request and recovers the state to the state corresponding to the first resource state information.
In the embodiment of the application, whether the first resource state information and the second resource state information are the same is determined through the cloud platform, so that the cloud platform can inform the client of the result of whether the first resource state information and the second resource state information are the same, the client does not need to calculate whether the first resource information and the second resource information are the same, and consumption of the client can be reduced. In addition, specific resources of the resource equipment are set in advance on the client before the resource equipment is powered off and powered on, and can be automatically recovered after the power off and the power on of the resource equipment, so that the client can automatically send a recovery request to the resource equipment after the power off and the power on of the resource equipment, and the recovery process does not need user intervention, so that the automation degree of the Internet of things system is improved.
Fig. 7 is a schematic flow chart of a communication method of the internet of things according to another embodiment of the present application, and as shown in fig. 7, the method includes:
s701, the resource equipment sends first resource information to the cloud platform; the cloud platform receives first resource information sent by the resource equipment.
S703, the cloud platform sends first resource information to the client; the client receives first resource information sent by the cloud platform.
S705, the first resource state information in the resource device is changed into the second resource state information.
S707, the resource device sends second resource information to the cloud platform; and the cloud platform receives second resource information sent by the resource equipment.
In this embodiment of the application, the second resource state information is used for the client to send a recovery request to the resource device when it is determined that the first resource state information and the second resource state information are different.
S709, the cloud platform sends second resource information to the client; and the client receives the second resource information sent by the cloud platform.
In some embodiments, in the case that the resource device is directly connected to the client, the client directly receives the second resource information sent by the resource device.
S711, the client determines that the second resource state information is different from the first resource state information, and determines that the first resource state information is changed into the second resource state information.
S713, the client determines that the resource state of the specific resource can be recovered based on the resource attribute information.
S715, the client acquires a first trigger instruction; the first trigger instruction is used for indicating the resource state of the resource device to be recovered.
And S717, the client sends a recovery request to the cloud platform, and the cloud platform receives the recovery request sent by the client.
And S719, the cloud platform sends a recovery request to the resource device, and the resource device receives the recovery request sent by the cloud platform.
S721, the resource device responds to the recovery request to recover the state to the state corresponding to the first resource state information.
In the embodiment of the application, because the cloud platform generally needs to be connected with a large number of clients and a large number of resource devices, and the clients determine whether the first resource state information and the second resource state information are the same, the resource occupancy rate of the cloud platform can be reduced greatly, so that the layout cost of the cloud platform is reduced. In addition, the recovery request is sent based on the first trigger instruction obtained by the user trigger client, so that the resource equipment can recover the resource state only when the user confirms to recover, the resource state can be recovered according to the user requirement, and the controllability of resource recovery is improved.
Fig. 8 is a schematic flowchart of a communication method of the internet of things according to another embodiment of the present application, and as shown in fig. 8, the method includes:
s801, the client acquires a second trigger instruction; the second trigger instruction is used for indicating the client to automatically send a recovery request to the resource device through the cloud platform when the first resource state information is changed into the second resource state information.
S803, the resource equipment sends first resource information to the cloud platform; the cloud platform receives first resource information sent by the resource equipment.
S805, the cloud platform sends first resource information to the client; the client receives first resource information sent by the cloud platform.
S807, the first resource state information in the resource device is changed into the second resource state information.
S809, the resource equipment sends second resource information to the cloud platform; and the cloud platform receives second resource information sent by the resource equipment.
S811, the cloud platform sends second resource information to the client; and the client receives second resource information sent by the cloud platform.
S813, the client determines that the second resource status information is different from the first resource status information, and determines that the first resource status information changes into the second resource status information.
S815, the client determines that the resource state of the specific resource can be recovered based on the resource attribute information.
S817, the client sends a recovery request to the cloud platform, and the cloud platform receives the recovery request sent by the client.
S819, the cloud platform sends a recovery request to the resource device, and the resource device receives the recovery request sent by the cloud platform.
S821, the resource device responds to the recovery request, and recovers the state to the state corresponding to the first resource state information.
In the embodiment of the application, the cloud platform usually needs to be connected with a large number of clients and a large number of resource devices, and the clients determine whether the first resource state information and the second resource state information are the same, so that the resource occupancy rate of the cloud platform can be reduced greatly, the layout cost of the cloud platform is reduced, and the cloud platform directly sends the received second resource information to the clients, and data does not need to be calculated by the cloud platform, so that the time delay of information transmission is reduced. In addition, the specific resource of the resource equipment is set in advance on the client before the resource equipment is powered off and powered on, so that the client can automatically send a recovery request to the resource equipment after the resource equipment is powered off and powered on, and the recovery process does not need user intervention, so that the automation degree of the Internet of things system is improved.
Fig. 9 is a schematic flowchart of a communication method of the internet of things according to still another embodiment of the present application, and as shown in fig. 9, the method includes:
s901, establishing the connection between the Device A and the Cloud A.
S903, the Client A sends a request for acquiring the device information on the Cloud A to the Cloud A.
In some embodiments, before using the method of the embodiments of the present application, a secure connection may be established between Device a and Cloud a, and/or between Cloud a and Client a through HTTP protocol, coAP protocol, MQTT protocol, or the like.
There may be at least one Device information on Cloud a, and the at least one Device information may include Device a's Device information. The Device information of Device a may include resource status information for each of the at least one resource on Device a.
S905, sending the device information on the Cloud A to the Client A by the Cloud A.
The Device information on Cloud A includes Device A's Device information.
S907, the Client A sends a request for subscribing the resource information of the Device A on the Cloud A to the Cloud A.
S909, cloud a sends a request to Device a to subscribe to Device a' S resource information.
S911, device A determines that an attribute exists in the subscribed Device resource and indicates that the resource state information can be recovered after the Device is restarted.
The Device a may obtain current resource information of the specific resource, where the current resource information includes current resource state information and resource attribute information, and when the resource attribute information in the current resource information indicates that the resource state information may be recovered, determine that the current resource information or the current resource state information may be recovered.
S913, the Device A sends the information that the subscription is successful and the current resource information of the subscribed Device resource to the Cloud A.
In some embodiments, the information that the subscription is successful and the current resource information of the subscribed device resource may be sent by two signaling respectively. For example, in some embodiments, device a may send the successful subscription information to Cloud a before sending the current resource information of the subscribed Device resource. Alternatively, for another example, device a may send the current resource information to Cloud a first and then send the information that the subscription was successful. In other embodiments, the successful subscription information and the current resource information of the subscribed device resource may be sent in one signaling.
S915, cloud A determines that the resource state information can be recovered and stores the current resource information.
S917, cloud A sends the information of successful subscription and the current resource information of the subscribed device resource to Client A.
S919, the Client A determines that the resource state information can be recovered.
S921, device A Device resource status changes.
S923, the Device A sends the latest resource information of the subscribed Device resource to the Cloud A.
The latest resource information includes latest resource state information and resource attribute information.
S925, the current resource information before the Cloud a update is the latest resource information, for example, the latest resource information is stored, and the latest resource information covers the current resource information before the Cloud a update.
For example, cloud a may store the previous current resource information into a register or other storage space, after Cloud a receives the latest resource information, may perform a reset operation on the stored current resource information and write the latest resource information into the register or other storage space.
S927, the Cloud A sends the latest resource information of the subscribed equipment resource to the Client A.
And S929, powering off or fault shutdown of the Device A equipment.
S931, the Device A is disconnected to Cloud A.
In some embodiments, the connection between Device a and Cloud a may be a long connection, device a may send heartbeat packets to Cloud a periodically, and Cloud a determines that the connection between Device a and Cloud a is broken if the heartbeat packets sent by Device a are not received within a preset duration.
S933, cloud A sends the information of the device offline to Client A.
And S935, the Client A displays the offline state of the equipment and the resource state of the subscribed equipment.
The state of the subscribed device resource displayed in this step is the state corresponding to the latest resource state information of the subscribed device resource.
And S937, restarting the Device A equipment after power-on or fault shutdown.
S939, reconnection of Device A to Cloud A.
After Device a powers up, a connection request may be sent to Cloud a, causing the Device a and Cloud a to reestablish a connection.
And S941, the Device A sends the information of equipment online to the Cloud A and reports the resource information of the equipment after the equipment is online.
The information of the device on-line and the resource information after on-line may be in one signaling, or may be in two signaling. The embodiment of the application does not limit the sequence of the information of the online device and the resource information after the online device.
After S941, S943 to S947, S961 may be performed, or steps of S949 to S961 may be performed.
S943, cloud A determines that the resource state information or the resource information content before the device is offline and after the device is online is the same.
S945, the Cloud A sends the information of the online of the device to the Client A.
S947, displaying the device online by the Client A.
S949, cloud A determines that the resource state information or the resource information content is different before the device is offline and after the device is online.
S951, cloud A sends the information of device online to Client A, and the resource information before the subscribed device resource is offline (namely the latest resource information).
S953, the Client A display device is on line, the resource state is determined to be recovered, and a first trigger instruction is obtained through user operation.
S955, the Client A sends a request for recovering the resource state to Cloud A.
The request for recovering the resource status may include the resource information before offline or the resource status information.
S957, cloud A sends a request to restore resource state to Device A.
And S959, updating the resource state of the Device A equipment to the state before power failure or failure.
And S961, continuing to execute the resource state reporting process.
By the method in the embodiment of the application, consumption of the Client A is reduced, and controllability of resource recovery is improved.
Fig. 10 is a schematic flowchart of another communication method of the internet of things according to another embodiment of the present application, and as shown in fig. 10, the method includes:
the difference between the embodiment corresponding to fig. 10 and the embodiment corresponding to fig. 9 is:
after S919, the step of S1001 may also be performed: the Client A sets the subscribed resources to be automatically updated after the equipment is powered off and powered on or is restarted due to faults.
In some embodiments, client a may display an option of whether to automatically restore the resource state after the device is powered off and powered on or a failed restart, and in the case that the user selects yes, client a may perform the setup of S1001.
The embodiment corresponding to fig. 10 may not perform the step of obtaining the first trigger instruction by the user operation in S953.
Through the mode in the embodiment of the application, the consumption of the Client A can be reduced, and the automation degree of the Internet of things system is improved.
Fig. 11 is a schematic flowchart of another internet of things communication method according to another embodiment of the present application, and as shown in fig. 11, the method includes:
the difference between the embodiment corresponding to fig. 11 and the embodiment corresponding to fig. 9 is that:
after S919, S1101 may also be performed: the Client A stores the current resource information of the subscribed device resources.
After S927, S1103 may be further performed: the Client A stores the latest resource information of the subscribed device resources.
The steps of S943 to S953 may be replaced with the following steps of S1105 to S1111. In the present embodiment, after S1105, the steps of S1107 and S961 may be performed, or the steps of S1109, S1111, S955 to S961 may be performed.
S1105, cloud A sends the information of equipment online to Client A and reports the resource information after the equipment is online.
S1107, the Client A displays that the device is online, and the resource state information or the resource information content is the same before the device is offline and after the device is online.
S1109, displaying the device online by the Client A, and determining that the resource state information or the resource information content is different before the device is offline and after the device is online.
The resource status content before offline may be the latest resource information of the subscribed device resource.
S1111, the Client A determines that the resource state can be recovered, and obtains a first trigger instruction through user operation.
By the method in the embodiment of the application, the resource occupancy rate of Cloud A can be reduced, the time delay of information transmission is reduced, and the controllability of resource recovery is improved.
The embodiment of the present application may further provide a communication method of an internet of things, and the difference of the embodiment of the method compared with the embodiment corresponding to fig. 11 is that: after S919, steps may also be performed: the client sets the subscribed resource to be automatically updated after the device is powered off and powered on or restarted due to a failure, and the step of obtaining the first trigger instruction through the user operation in S1111 is not executed.
Through the method in the embodiment of the application, the resource occupancy rate of Cloud A can be reduced, the time delay of information transmission is reduced, and the automation degree of the Internet of things system is improved.
Based on the foregoing embodiments, the embodiment of the present application provides an internet of things communication apparatus 1200/1300/1400, which includes units and modules included in the units, and can be implemented by a processor in a terminal device; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 12 is a schematic structural diagram of a communication device of the internet of things according to an embodiment of the present application, and as shown in fig. 12, the communication device 1200 of the internet of things includes:
a receiving unit 1201, configured to receive, by a client, first resource information sent by a resource device through a cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
a sending unit 1202, configured to send, by the client, a recovery request to the resource device through the cloud platform when the first resource state information changes into the second resource state information; the recovery request instructs the resource device to recover the state to a state corresponding to the first resource state information.
In some embodiments, the state corresponding to the first resource state information is a state of the specific resource before the power of the resource device is turned off, and the state corresponding to the second resource state information is a state of the specific resource after the power of the resource device is turned on.
In some embodiments, the internet of things communication apparatus 1200 further comprises: a determining unit 1203, configured to determine that the first resource state information changes into second resource state information, and that the client determines that the resource state of the specific resource can be recovered;
the sending unit 1202 is further configured to send, by the client, a recovery request to the resource device through the cloud platform.
In some embodiments, the first resource information further includes or indicates resource attribute information of the particular resource, the resource attribute information being used to indicate that the resource state of the particular resource is recoverable;
the determining unit 1203 is further configured to determine that the resource state of the specific resource can be recovered based on the resource attribute information.
In some embodiments, the internet of things communication apparatus 1200 further comprises: an obtaining unit 1204, configured to obtain, by a client, a first trigger instruction; the first trigger instruction is used for indicating the recovery of the resource state of the resource device.
In some embodiments, the obtaining unit 1204 is further configured to obtain, by the client, a second trigger instruction; the second trigger instruction is used for indicating the client to automatically send a recovery request to the resource device through the cloud platform under the condition that the first resource state information is changed into the second resource state information.
In some embodiments, the receiving unit 1201 is further configured to receive, by the client, a notification message sent by the cloud platform; the notification message indicates that the first resource state information is changed into second resource state information, or the notification message indicates that the resource state of the resource device needs to be recovered, or the notification message includes or indicates the first resource information;
the determining unit 1203 is further configured to determine, by the client, that the first resource status information changes into the second resource status information based on the notification message.
In some embodiments, the receiving unit 1201 is further configured to receive, by the client, second resource information sent by the resource device through the cloud platform; the second resource information includes or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource and resource attribute information of the specific resource in the resource device; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
in some embodiments, the determining unit 1203 is further configured to determine that the second resource status information is different from the first resource status information, and determine that the first resource status information changes into the second resource status information.
Fig. 13 is a schematic structural diagram of another communication device of the internet of things according to an embodiment of the present application, and as shown in fig. 13, a communication device 1300 of the internet of things includes:
a sending unit 1301, configured to send, by a resource device, first resource information to a client through a cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
a receiving unit 1302, configured to receive, by a resource device through a cloud platform, a recovery request sent by a client when first resource state information changes into second resource state information;
a recovering unit 1303, configured to recover the state to the state corresponding to the first resource state information by the resource device.
In some embodiments, the recovering unit 1303 is further configured to recover, by the resource device, the state corresponding to the second resource state information to the state corresponding to the first resource state information;
the state corresponding to the first resource state information is the state of the specific resource before the resource equipment is powered off, and the state corresponding to the second resource state information is the state of the specific resource after the resource equipment is powered on.
In some embodiments, the first resource information further includes or indicates resource attribute information of the particular resource, the resource attribute information indicating that the resource state of the particular resource is recoverable.
In some embodiments, the sending unit 1301 is further configured to send, by the resource device, the second resource information to the cloud platform; the second resource information includes or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource in the resource device and resource attribute information of the specific resource; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
the second resource state information is used for sending a notification message to the client by the cloud platform under the condition that the first resource state information is different from the second resource state information; the notification message indicates that the first resource state information changes into the second resource state information, or the notification message indicates that the resource state of the resource device needs to be recovered, or the notification message includes or indicates the first resource information.
In some embodiments, the sending unit 1301 is further configured to send, by the resource device, the second resource information to the client through the cloud platform; the second resource information includes or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource and resource attribute information of the specific resource in the resource device; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
and the second resource state information is used for the client to send a recovery request to the resource equipment under the condition that the first resource state information and the second resource state information are different.
Fig. 14 is a schematic structural diagram of another internet of things communication device provided in the embodiment of the present application, and as shown in fig. 14, an internet of things communication device 1400 includes:
a first transceiver unit 1401, configured to receive first resource information sent by a resource device and send the first resource information to a client by a cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
the second transceiving unit 1402, configured to receive, by the cloud platform, a recovery request sent by the client and send the recovery request to the resource device when the first resource state information changes into the second resource state information; the recovery request instructs the resource device to recover the state to a state corresponding to the first resource state information.
In some embodiments, the state corresponding to the first resource state information is a state of the specific resource before the power of the resource device is turned off, and the state corresponding to the second resource state information is a state of the specific resource after the power of the resource device is turned on.
In some embodiments, the first resource information further includes or indicates resource attribute information for the particular resource, the resource attribute information for indicating that the resource state of the particular resource is recoverable.
In some embodiments, the internet of things communication device 1400 further comprises: a determining unit 1403, configured to determine, by the cloud platform, that the resource state of the specific resource can be recovered based on the resource attribute information;
a state updating unit 1404, configured to modify, by the cloud platform, the third resource information stored in the cloud platform into the first resource information; the third resource information is received by the cloud platform before the first resource information.
In some embodiments, the first transceiving unit 1401 is further configured to receive, by the cloud platform, second resource information sent by the resource device; the second resource information includes or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource and resource attribute information of the specific resource in the resource device; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered; the cloud platform is used for determining that the first resource state information is different from the second resource state information and sending a notification message to the client; the notification message indicates that the first resource state information is changed into the second resource state information, or the notification message indicates that the resource state of the resource device needs to be recovered, or the notification message includes or indicates the first resource information.
In some embodiments, the first transceiving unit 1401 is further configured to receive, by the cloud platform, second resource information sent by the resource device, and send the second resource information to the client; the second resource information includes or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource and resource attribute information of the specific resource in the resource device; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
the second resource state information is used for the client to send a recovery request to the resource device under the condition that the first resource state information is different from the second resource state information.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the method for transmitting messages in the internet of things is implemented in the form of a software functional module, and the method is sold or used as an independent product, the method may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a client/cloud platform/resource device to perform all or part of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Fig. 15 is a schematic diagram of a hardware entity of an internet of things communication device according to an embodiment of the present application, and as shown in fig. 15, an internet of things communication device 1500 includes: a processor 1501 and a memory 1502, wherein the memory 1502 stores a computer program operable on the processor 1501, and the processor 1501 implements the steps in the method performed by the client/cloud platform/resource device in any of the above embodiments when executing the program.
In this embodiment, the internet of things communication device 1500 may be the client/cloud platform/resource device described above.
In the embodiment of the present application, in fig. 12 to 14, any two units may be connected by a circuit, and in fig. 15, the processor 1501 and the memory 1502 may be connected by a circuit.
Embodiments of the present application provide a computer storage medium, which stores one or more programs, where the one or more programs are executable by one or more processors to implement the steps of the method executed by a client in the above method.
The embodiment of the application provides a computer storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the method executed by the cloud platform in the method.
The embodiment of the present application provides a computer storage medium, which stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the method performed by the resource device in the above method.
Fig. 16 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 1600 shown in fig. 16 includes a processor 1601 and a memory 1602, where the processor 1601 is configured to call and run a computer program from the memory 1602, so that the client/cloud platform/resource device installed with the chip 1600 executes the steps of the method executed by the client/cloud platform/resource device in the embodiment of the present application.
The memory 1602 may be a separate device from the processor 1601, or may be integrated into the processor 1601.
In some embodiments, the chip 1600 may also include an input interface 1603. The processor 1601 may control the input interface 1603 to communicate with other devices or chips, and specifically, may obtain information or data transmitted by other devices or chips.
In some embodiments, the chip 1600 may also include an output interface 1604. The processor 1601 is capable of controlling the output interface 1604 to communicate with other devices or chips, and in particular, outputting information or data to the other devices or chips.
In some embodiments, the chip 1600 may be applied to a client/cloud platform/resource device in this embodiment, and the chip may implement a corresponding process implemented by the client/cloud platform/resource device in each method in this embodiment, which is not described herein again for brevity.
It should be understood that the chip 1600 mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip or a system-on-chip.
Embodiments of the present application provide a computer program product, which includes a computer storage medium storing computer program code, where the computer program code includes instructions executable by at least one processor, and when the instructions are executed by the at least one processor, the steps of the method performed by the client/cloud platform/resource device in the above method are implemented.
In some embodiments, the computer program product may be applied to the client/cloud platform/resource device in this embodiment, and the computer program instructions enable the computer to execute corresponding processes implemented by the client/cloud platform/resource device in the methods in this embodiment, which are not described herein again for brevity.
It should be understood that the processor of the embodiments of the present application may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and combines hardware thereof to complete the steps of the method.
It will be appreciated that the memory or other storage space in embodiments of the subject application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), double Data Rate Synchronous Dynamic random access memory (DDR SDRAM), enhanced Synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be understood that the above memory or other storage space is an exemplary but not limiting illustration, for example, the memory in the embodiment of the present application may also be Static Random Access Memory (SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), direct Rambus RAM (DR RAM), and so on. That is, the memory in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
Here, it should be noted that: the above description of the embodiments of the computer storage medium, computer program, chip and computer program product, similar to the description of the method embodiments above, have similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment of the present application" or "a previous embodiment" or "some embodiments" or "some implementations" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrase "one embodiment" or "an embodiment of the present application" or "the foregoing embodiments" or "some implementations" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In a case that no special description is made, the client/cloud platform/resource device performs any step in the embodiment of the present application, and the step may be performed by a processor of the client/cloud platform/resource device. Unless otherwise specified, the embodiments of the present application do not limit the sequence in which the client/cloud platform/resource device performs the following steps. In addition, the data may be processed in the same way or in different ways in different embodiments. It should be further noted that any step in the embodiment of the present application may be independently executed by the client/cloud platform/resource device, that is, when the client/cloud platform/resource device executes any step in the following embodiments, it may not depend on the execution of other steps.
It is further noted that, although a plurality of steps are provided in each embodiment, in the actual application or actual execution process, the client/cloud platform/resource device may select a part of the provided plurality of steps from the plurality of steps of each embodiment to execute, and does not have to execute each step, as long as the method corresponding to the executed step is a complete solution.
In the several embodiments provided in the present application, it should be understood that the disclosed client/cloud platform/resource device and method may be implemented in other ways. The above-described embodiments of the client/cloud platform/resource device are merely illustrative, for example, the division of the unit is only one logical function division, and there may be another division manner in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the resource devices or units may be electrical, mechanical or other forms.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several methods or client/cloud platform/resource device embodiments provided by the present application may be combined arbitrarily without conflict to obtain a new method embodiment or client/cloud platform/resource device embodiment.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage resource device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit described above may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present application or portions thereof that contribute to the related art may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes several instructions to enable a client/cloud platform/resource device to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage resource device, a ROM, a magnetic or optical disk, or other various media that can store program code.
In the embodiments of the present application, the descriptions of the same steps and the same contents in different embodiments may be mutually referred to. In the embodiment of the present application, the term "and" does not affect the order of the steps, for example, the client/cloud platform/resource device executes a and executes B, where a and B are executed first by the client/cloud platform/resource device, or B and a are executed first by the client/cloud platform/resource device, or B is executed while a is executed by the client/cloud platform/resource device.
It should be understood that the inclusion of a in a message in this application means that a is present in a message. The indication A in one message indicates that the message comprises the identifier of A, so that the A can be acquired based on the identifier of A. It should be understood that different resource devices may perform the same steps in the same manner.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Industrial applicability
The embodiment of the application provides an Internet of things communication method, an Internet of things communication device, equipment, a computer storage medium, a chip and a computer program product.

Claims (26)

  1. An Internet of things communication method comprises the following steps:
    the method comprises the steps that a client receives first resource information sent by resource equipment through a cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
    under the condition that the first resource state information is changed into second resource state information, the client sends a recovery request to the resource equipment through the cloud platform; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.
  2. The method according to claim 1, wherein the state corresponding to the first resource state information is a state of the specific resource before the resource device is powered off, and the state corresponding to the second resource state information is a state of the specific resource after the resource device is powered on.
  3. The method according to claim 1 or 2, wherein the sending, by the client, the recovery request to the resource device through the cloud platform in the case that the first resource state information changes into second resource state information comprises:
    and when the first resource state information is changed into the second resource state information and the client determines that the resource state of the specific resource can be recovered, the client sends the recovery request to the resource equipment through the cloud platform.
  4. The method of claim 3, wherein the first resource information further comprises or indicates resource attribute information of the particular resource, the resource attribute information indicating that a resource state of the particular resource is recoverable;
    the client determining that the resource state of the particular resource can be restored comprises:
    and the client determines that the resource state of the specific resource can be recovered based on the resource attribute information.
  5. The method of any of claims 1 to 4, wherein prior to the client sending a resume request to the resource device via the cloud platform, the method further comprises:
    the client acquires a first trigger instruction; the first trigger instruction is used for indicating the recovery of the resource state of the resource equipment.
  6. The method according to any one of claims 1 to 4, wherein before the client receives the first resource information sent by the resource device through the cloud platform, the method further comprises:
    the client acquires a second trigger instruction; the second trigger instruction is used for instructing the client to automatically send the recovery request to the resource device through the cloud platform when the first resource state information is determined to be changed into the second resource state information.
  7. The method of any of claims 1 to 6, wherein the client determining that the first resource status information changes to the second resource status information comprises:
    the client receives a notification message sent by the cloud platform; the notification message indicates that the first resource state information changes into the second resource state information, or the notification message indicates that the resource state of the resource device needs to be recovered, or the notification message includes or indicates the first resource information;
    and the client determines that the first resource state information is changed into the second resource state information based on the notification message.
  8. The method of any of claims 1 to 6, wherein the client determining that the first resource status information changes to the second resource status information comprises:
    the client receives second resource information sent by the resource equipment through the cloud platform; the second resource information comprises or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource in the resource device and resource attribute information of the specific resource; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
    and the client determines that the second resource state information is different from the first resource state information, and determines that the first resource state information is changed into the second resource state information.
  9. An Internet of things communication method comprises the following steps:
    the resource equipment sends first resource information to the client through the cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
    under the condition that the first resource state information is changed into second resource state information, the resource equipment receives a recovery request sent by the client through the cloud platform;
    and the resource equipment restores the state to the state corresponding to the first resource state information.
  10. The method of claim 9, wherein the resource device restoring state to a state corresponding to the first resource state information comprises:
    the resource equipment restores the state corresponding to the second resource state information to the state corresponding to the first resource state information;
    the state corresponding to the first resource state information is a state of the specific resource before the power failure of the resource device, and the state corresponding to the second resource state information is a state of the specific resource after the power on of the resource device.
  11. The method of claim 9 or 10,
    the first resource information further includes or indicates resource attribute information of the specific resource, where the resource attribute information is used to indicate that the resource state of the specific resource can be recovered.
  12. The method according to any one of claims 9 to 11, before the resource device receives the recovery request sent by the client through the cloud platform, the method further comprising:
    the resource equipment sends second resource information to the cloud platform; the second resource information includes or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource in the resource device and resource attribute information of the specific resource; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
    the second resource state information is used for the cloud platform to send a notification message to the client under the condition that the first resource state information and the second resource state information are different; the notification message indicates that the first resource state information changes into the second resource state information, or the notification message indicates that the resource state of the resource device needs to be restored, or the notification message includes or indicates the first resource information.
  13. The method according to any one of claims 9 to 11, before the resource device receives the recovery request sent by the client through the cloud platform, the method further comprising:
    the resource equipment sends second resource information to the client through the cloud platform; the second resource information includes or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource in the resource device and resource attribute information of the specific resource; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
    the second resource state information is used for the client to send a recovery request to the resource device when determining that the first resource state information and the second resource state information are different.
  14. An Internet of things communication method comprises the following steps:
    the method comprises the steps that a cloud platform receives first resource information sent by resource equipment and sends the first resource information to a client; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
    under the condition that the first resource state information is changed into second resource state information, the cloud platform receives a recovery request sent by the client and sends the recovery request to the resource equipment; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.
  15. The method according to claim 14, wherein the state corresponding to the first resource state information is a state of the specific resource before the resource device is powered off, and the state corresponding to the second resource state information is a state of the specific resource after the resource device is powered on.
  16. The method of claim 14 or 15,
    the first resource information further includes or indicates resource attribute information of the specific resource, and the resource attribute information is used for indicating that the resource state of the specific resource can be recovered.
  17. The method of claim 16, wherein after the cloud platform receives the first resource information sent by the resource device, the method further comprises:
    the cloud platform determines that the resource state of the specific resource can be recovered based on the resource attribute information;
    the cloud platform modifies the third resource information stored in the cloud platform into the first resource information; the third resource information is received by the cloud platform before the first resource information.
  18. The method of any of claims 14 to 17, wherein prior to the cloud platform receiving the recovery request sent by the client, the method further comprises:
    the cloud platform receives second resource information sent by the resource equipment; the second resource information comprises or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource in the resource device and resource attribute information of the specific resource; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
    the cloud platform determines that the first resource state information is different from the second resource state information, and sends a notification message to the client; the notification message indicates that the first resource state information changes into the second resource state information, or the notification message indicates that the resource state of the resource device needs to be restored, or the notification message includes or indicates the first resource information.
  19. The method of any of claims 14 to 17, wherein prior to the cloud platform receiving the recovery request sent by the client, the method further comprises:
    the cloud platform receives second resource information sent by the resource equipment and sends the second resource information to the client; the second resource information comprises or indicates: second resource status information of a specific resource in the resource device, or the second resource information includes or indicates: second resource state information of a specific resource in the resource device and resource attribute information of the specific resource; the resource attribute information is used for indicating that the resource state of the specific resource can be recovered;
    the second resource state information is used for the client to send a recovery request to the resource device when determining that the first resource state information and the second resource state information are different.
  20. An internet of things communication device, comprising:
    the receiving unit is used for receiving first resource information sent by the resource equipment through the cloud platform by the client; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
    a sending unit, configured to send, by the client, a recovery request to the resource device through the cloud platform when the first resource state information changes into second resource state information; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.
  21. An internet of things communication device, comprising:
    the sending unit is used for sending first resource information to the client by the resource equipment through the cloud platform; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
    a receiving unit, configured to receive, by the resource device through the cloud platform, a recovery request sent by the client when the first resource state information changes into second resource state information;
    a recovery unit, configured to recover, by the resource device, a state to a state corresponding to the first resource state information.
  22. An internet of things communication device, comprising:
    the cloud platform comprises a first receiving and sending unit, a first sending and receiving unit and a second sending and receiving unit, wherein the first receiving and sending unit is used for receiving first resource information sent by resource equipment and sending the first resource information to a client; the first resource information comprises or indicates first resource status information of a particular resource in the resource device;
    a second transceiving unit, configured to, when the first resource state information changes to second resource state information, receive, by the cloud platform, a recovery request sent by the client, and send the recovery request to the resource device; the recovery request instructs the resource device to recover a state to a state corresponding to the first resource state information.
  23. An internet of things communication device, comprising: a memory and a processor, wherein the processor is capable of,
    the memory stores a computer program operable on the processor,
    the processor implements the steps of the method of any one of claims 1 to 8 when executing the program, or implements the steps of the method of any one of claims 9 to 13 when executing the program, or implements the steps of the method of any one of claims 14 to 19 when executing the program.
  24. A computer storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the method of any one of claims 1 to 8; alternatively, the one or more programs may be executable by one or more processors to perform the steps of the method of any one of claims 9 to 13; alternatively, the one or more programs may be executable by one or more processors to implement the steps in the method of any of claims 14 to 19.
  25. A chip, comprising: a processor for calling and running a computer program from a memory so that a device on which the chip is installed performs the steps of the method according to any one of claims 1 to 8; or a computer program for calling and running from a memory so that a device on which the chip is installed performs the steps of the method according to any one of claims 9 to 13; or to invoke and run a computer program from memory to cause a device on which the chip is installed to perform the steps of a method according to any of claims 14 to 19.
  26. A computer program product comprising a computer storage medium storing computer program code comprising instructions executable by at least one processor, the instructions when executed by the at least one processor implementing the steps in the method of any one of claims 1 to 8; or, when executed by the at least one processor, to implement a step in the method of any one of claims 9 to 13; or, when executed by the at least one processor, implement the steps in the method of any one of claims 14 to 19.
CN202080102066.5A 2020-08-21 2020-08-21 Internet of things communication method, device, equipment, computer storage medium and chip Pending CN115699707A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/110634 WO2022036722A1 (en) 2020-08-21 2020-08-21 Internet of things communication method and apparatus, device, computer storage medium, and chip

Publications (1)

Publication Number Publication Date
CN115699707A true CN115699707A (en) 2023-02-03

Family

ID=80322492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202080102066.5A Pending CN115699707A (en) 2020-08-21 2020-08-21 Internet of things communication method, device, equipment, computer storage medium and chip

Country Status (2)

Country Link
CN (1) CN115699707A (en)
WO (1) WO2022036722A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130016377A1 (en) * 2011-07-15 2013-01-17 Somasundaram Meiyappan System and method for automatic recovery of cloud print jobs after printer error
CN105177919A (en) * 2015-08-05 2015-12-23 无锡小天鹅股份有限公司 Washing machine system, washing machine and washing machine water consumption monitoring method
CN105177918B (en) * 2015-08-05 2018-08-28 无锡小天鹅股份有限公司 Monitoring method, washing machine and the washing machine of the power consumption of washing machine
CN106410521A (en) * 2016-10-19 2017-02-15 上海紫光乐联物联网科技有限公司 Intelligent socket based on Zigbee
CN111173836B (en) * 2020-01-03 2021-06-18 珠海格力电器股份有限公司 Control method and system for variable-frequency magnetic suspension air conditioner in data machine room and air conditioner

Also Published As

Publication number Publication date
WO2022036722A1 (en) 2022-02-24

Similar Documents

Publication Publication Date Title
EP2840455B1 (en) Method, apparatus and system for intelligently controlling device, and plug-and-play device
US20200267221A1 (en) Method, system, and device for controlling an internet of things device
US10264424B2 (en) Information processing method and central control device
CN111045901B (en) Container monitoring method and device, storage medium and electronic equipment
KR102480875B1 (en) Method for reconnecting bluetooth communication and apparatus using the same
CN105245954B (en) Smart television starting method and smart television starting device
CN109617963B (en) Equipment control method and device and Internet of things system
CN109062842B (en) Communication method and device for remote controller and mobile terminal and remote controller
WO2020228040A1 (en) Smart home system control method and apparatus, electronic device and storage medium
CN113485134A (en) Device control method and apparatus, storage medium, and electronic device
CN110769033A (en) Intelligent networking method and system
WO2017059703A1 (en) Method of controlling network appliance, network appliance, feature phone, and system
US11385690B2 (en) Electronic device for switching between communication channels and control method thereof
CN115699707A (en) Internet of things communication method, device, equipment, computer storage medium and chip
CN113965889A (en) Data processing, filtering information quantity determining and configuring method, equipment and medium
US20230198648A1 (en) Time synchronization method, device and apparatus, and storage medium
CN107708183B (en) Decoding algorithm determination method, device, terminal and storage medium
CN112491810B (en) Data connection method and mobile terminal
CN113141530B (en) Remote control interaction based method and device, electronic equipment and storage medium
EP3977821B1 (en) Providing a notification for a lighting device without user-specified power-switch behavior
CN113901374A (en) Webpage refreshing method and device, electronic equipment and storage medium
CN109743379B (en) Multi-protocol distributed message service system based on communication between servers
CN107612715B (en) Data backup method and device for Internet of things repeater
CN203070331U (en) Wireless SD card
CN111817930A (en) Equipment control method, intelligent household appliance, intelligent terminal and intelligent electronic equipment

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