CN110944035A - Internet of things equipment control method and system and readable medium - Google Patents
Internet of things equipment control method and system and readable medium Download PDFInfo
- Publication number
- CN110944035A CN110944035A CN201911008558.3A CN201911008558A CN110944035A CN 110944035 A CN110944035 A CN 110944035A CN 201911008558 A CN201911008558 A CN 201911008558A CN 110944035 A CN110944035 A CN 110944035A
- Authority
- CN
- China
- Prior art keywords
- cloud
- access token
- equipment
- internet
- control method
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 238000003032 molecular docking Methods 0.000 claims abstract description 21
- 238000013475 authorization Methods 0.000 claims description 26
- 210000001503 joint Anatomy 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/321—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
- H04L9/3213—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
The application relates to a method and a system for controlling Internet of things equipment and a readable medium. The method comprises the steps that access tokens and equipment report information sent by a second cloud are received at a first cloud; verifying whether the access token has docking rights; if the access token has the docking authority, the docking of different cloud ends is realized by sending the device report information to the client corresponding to the first cloud end, so that the device report information of other cloud end sides is obtained, the device report information is sent to the client, and the control of the user on the devices of other cloud end sides is further realized.
Description
Technical Field
The application relates to the technical field of cloud docking, in particular to a method and a system for controlling Internet of things equipment and a readable medium.
Background
With the development of electronic information technology, the technology of internet of things is emerging, and people enjoy convenient life and rich resources brought by big data. For example: the user purchases an intelligent terminal of a manufacturer A, obtains information of the equipment through a cloud of the manufacturer A, and loads the information of the equipment into an equipment control end so as to achieve the purposes of controlling the equipment or updating data and the like.
However, in an actual application scenario, devices of different manufacturers may exist in the same environment, and since respective cloud terminals of the manufacturers are independent, the cloud terminals of different manufacturers cannot be docked, so that a user cannot manage and control terminals of different manufacturers.
Disclosure of Invention
In order to solve the technical problem that the equipment of different manufacturers possibly exists in the same environment, due to the fact that the respective cloud ends of the manufacturers are independent, the cloud ends of the different manufacturers cannot be in butt joint, and therefore a user cannot control terminals of the different manufacturers, the application provides a method and a system for controlling the equipment of the internet of things and a readable medium.
In a first aspect, the application provides an internet of things device control method, which is applied to a first cloud, and the method includes:
receiving an access token and equipment reporting information sent by a second cloud;
verifying whether the access token has docking rights;
and if the access token has the docking authority, sending the equipment reporting information to a client corresponding to the first cloud.
Optionally, the method further comprises:
receiving a query request which is sent by a client corresponding to the first cloud and used for acquiring equipment report information, wherein the query request carries an equipment identifier;
searching whether equipment reporting information corresponding to the equipment identification is stored in a database;
and if the database stores the equipment reporting information corresponding to the equipment identification, returning the equipment reporting information to the client corresponding to the first cloud.
Optionally, the method further comprises:
receiving equipment reporting information sent by an acquisition server or equipment;
obtaining an access token for butting the second cloud in a cache, wherein the access token of the second cloud received from a client corresponding to the first cloud is stored in the cache;
and sending the access token and the equipment reporting information to a second cloud.
Optionally, the method further comprises:
if the access token is not acquired in the cache, inquiring whether the access token is located in an acquisition server cache;
and if the access token is located in the acquisition server cache, acquiring the access token from the acquisition server cache.
In a second aspect, the application provides an internet of things device control method, which is applied to a second cloud, and the method includes:
receiving equipment reporting information sent by an acquisition server or equipment;
obtaining an access token for butting a first cloud end in a cache, wherein the access token of the first cloud end received from a client end corresponding to a second cloud end is stored in the cache;
and sending the access token and the equipment reporting information to a first cloud.
Optionally, the method further comprises:
if the access token is not acquired in the cache, inquiring whether the access token is located in an acquisition server cache;
and if the access token is located in the acquisition server cache, acquiring the access token from the acquisition server cache.
Optionally, the method further comprises:
receiving an access token and equipment reporting information sent by a first cloud;
verifying whether the access token has docking rights;
and if the access token has the docking authority, sending the equipment reporting information to a client corresponding to a second cloud.
Optionally, the method further comprises:
receiving a query request which is sent by a client corresponding to the second cloud and used for acquiring equipment report information, wherein the query request carries an equipment identifier;
searching whether equipment reporting information corresponding to the equipment identification is stored in a database;
and if the database stores the equipment reporting information corresponding to the equipment identification, returning the equipment reporting information to the client corresponding to the second cloud.
In a third aspect, the application provides an internet of things device control method, which is applied to a client corresponding to a second cloud, and includes:
sending a request for acquiring an access token of the first cloud to an authorization server corresponding to the first cloud;
and if the access token of the first cloud terminal returned by the authorization server corresponding to the first cloud terminal is received, the access token of the first cloud terminal is sent to a second cloud terminal.
Optionally, before the step of sending the request for obtaining the access token of the first cloud to the authorization server corresponding to the first cloud, the method further includes:
a protocol password acquisition request which is used for acquiring the access token of the first cloud from the authorization server corresponding to the first cloud;
and if a protocol password corresponding to the protocol password acquisition request returned by the authorization server is received, generating a request for acquiring the access token of the first cloud, wherein the request carries the protocol password.
Optionally, the method further comprises:
sending a query request for acquiring equipment report information to a second cloud;
and if the equipment reporting information returned by the second cloud is received, displaying the equipment reporting information.
In a fourth aspect, the application provides an internet of things device control system, which includes a first cloud for executing any one of the internet of things device control methods in the first aspect, a terminal for executing any one of the internet of things device control methods in the second aspect, and a second cloud for executing any one of the internet of things device control methods in the third aspect.
In a fifth aspect, the present application provides a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to execute any one of the internet of things device control method of the first aspect, any one of the internet of things device control method of the second aspect, or any one of the internet of things device control method of the third aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: the method comprises the steps that access tokens and equipment report information sent by a second cloud are received at a first cloud; verifying whether the access token has docking rights; if the access token has the docking authority, the docking of different cloud ends is realized by sending the device report information to the client corresponding to the first cloud end, so that the device report information of other cloud end sides is obtained, the device report information is sent to the client, and the control of the user on the devices of other cloud end sides is further realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a method for controlling an internet of things device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present disclosure;
fig. 5 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present application;
fig. 6 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present disclosure;
fig. 7 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present disclosure;
fig. 8 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present disclosure;
fig. 9 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In an actual application scenario, devices of different manufacturers may exist in the same environment, and since respective cloud ends of the manufacturers are independent, the cloud ends of different manufacturers cannot be in butt joint, so that a user cannot manage and control terminals of different manufacturers.
Based on this, an embodiment of the present invention provides an internet of things device control method, which is applied to a first cloud, and as shown in fig. 1, the method includes:
step S101, receiving an access token and equipment reporting information sent by a second cloud;
in the embodiment of the invention, the first cloud and the second cloud are the clouds of different manufacturers, the access token can be an Access token or a RefreshToken update token, and the access tokens used by the clouds of different manufacturers are different, so that the data security of the clouds is ensured. The device reporting information includes device function information, device state information, collected data reporting information, and the like, and the specific setting may be determined according to actual conditions.
Step S102, verifying whether the access token has the docking authority;
in the embodiment of the invention, the first cloud terminal receives the access token sent by the second cloud terminal, verifies the access token, and specifically verifies whether the access token is stored in the registration list in a mode of pre-establishing the registration list, if so, the access token is authorized, and the first cloud terminal can receive the equipment report information sent by the second cloud terminal, and the specific implementation mode can be determined according to the actual situation.
And step S103, if the access token has the docking authority, sending the equipment report information to a client corresponding to the first cloud.
In the embodiment of the invention, the first cloud end and the client end corresponding to the first cloud end belong to one manufacturer, and the used data transmission protocols are the same, so that the client end can acquire data from the first cloud end.
For example, a user wants to control a device of a home B-factory by using the app of the factory a, receives device report information and an access token sent by a cloud of the factory B through the cloud of the factory a, receives device report information of a second cloud if the access token has a right to be docked with the cloud of the factory a, and loads the device report information from the cloud of the factory a by using the app, wherein the device report information may include function information and control instruction information of the device of the factory B, and the user can control the device of the factory B through the app of the factory a.
In the embodiment of the present invention, as shown in fig. 2, the method for controlling an internet of things device further includes:
step S201, receiving a query request sent by a client corresponding to the first cloud for obtaining device report information, where the query request carries a device identifier;
step S202, searching whether equipment reporting information corresponding to the equipment identification is stored in a database;
step S203, if the database stores the device report information corresponding to the device identifier, returning the device report information to the client corresponding to the first cloud.
In the embodiment of the present invention, the database may be stored in the first cloud, or may be stored in another server, the database is used for storing the device report information, when the first cloud receives an inquiry request for acquiring the device report information sent by the local client, the device report information corresponding to the device identifier is searched in the database according to the device identifier carried in the request, if the device report information corresponding to the device identifier is stored in the database, the device report information is sent to the client for the user to check, and if the device report information corresponding to the device identifier is not stored in the database, the information that the device is not inquired by the client may be returned.
In the embodiment of the present invention, as shown in fig. 3, the method for controlling an internet of things device further includes:
step S301, receiving equipment report information sent by an acquisition server or equipment;
step S302, obtaining an access token for butting the second cloud terminal in a cache, wherein the access token of the second cloud terminal received from a client terminal corresponding to the first cloud terminal is stored in the cache;
step S303, sending the access token and the device report information to a second cloud.
In this embodiment of the present invention, the collection server may be a server for collecting information reported by devices, for example: and the acquisition server of the A plant is used for receiving the real-time reported information of the equipment of the A plant. The cloud end can receive the device report information sent by the acquisition server, and can also directly receive the device report information sent by the device, and the specific situation can be determined according to the actual situation.
In the embodiment of the invention, the cache is in the first cloud, the access token of the second cloud received from the client corresponding to the first cloud is stored in the cache, and in the process that the first cloud needs to send the device report information to the second cloud, the access token of the second cloud needs to be extracted from the cache, and the access token and the device report information are sent to the second cloud, so that the second cloud analyzes the device report information after verifying that the data packet carrying the access token has the access authority, and stores the device report information in the second cloud, thereby realizing that the client corresponding to the second cloud can check the device state and/or function information of the first cloud.
In this embodiment of the present invention, further, if the access token is not acquired in the cache, as shown in fig. 3, the method further includes:
step S304, if the access token is not acquired in the cache, inquiring whether the access token is located in an acquisition server cache;
step S305, if the access token is located in the collection server cache, obtaining the access token from the collection server cache.
In the embodiment of the present invention, an implementation manner is provided when the access token is not acquired in the cache of the first cloud, and whether the access token is located in the cache of the acquisition server at the first cloud side or not may be queried, where the acquisition server may enter the access tokens of different clouds in advance, specifically, the access token may be acquired through the cloud, or the access token may be acquired through the client, or the access token may be acquired and stored through a manner that a developer enters the access token in advance.
The caching strategy adopted by the embodiment of the invention is to access the cache of the first cloud preferentially, so that the speed of obtaining the access token can be ensured, and when the access token of the second cloud is not stored in the cache, the access token of the second cloud can be obtained in the acquisition server, so that the transmission process of the information reported by the equipment between the first cloud and the second cloud is ensured.
In another embodiment of the present invention, a method for controlling an internet of things device is further provided, which is applied to a second cloud, and as shown in fig. 4, the method includes:
step S401, receiving equipment report information sent by an acquisition server or equipment;
step S402, obtaining an access token for butting a first cloud terminal in a cache, wherein the access token of the first cloud terminal received from a client terminal corresponding to a second cloud terminal is stored in the cache;
step S403, sending the access token and the device reporting information to the first cloud.
In the embodiment of the present invention, the second cloud is configured to actively send the device report information to the first cloud, where the device report information may be obtained by an acquisition server at the second cloud side, or may be directly uploaded to the second cloud by the device, the second cloud obtains the access token of the first cloud from the cache, and sends the access token and the device report information to the first cloud, where the first cloud access token in the cache may be obtained by a client at the second cloud, and specifically, the access token of the first cloud may be obtained in a manner that a user logs in an authorization server at the first cloud side through a third-party entry on the client corresponding to the second cloud.
According to the embodiment of the invention, the device state information and/or the device function information of the second cloud side is sent to the first cloud side in a mode that the second cloud side actively sends the device report information to the first cloud side, the client side corresponding to the first cloud side can load the device state information and/or the device function information, the user can exaggerate the platform control device, the user does not need to download a plurality of client sides for controlling devices of different manufacturers, and the user operation is simplified.
In the embodiment of the present invention, as shown in fig. 5, the method for controlling an internet of things device further includes:
step S501, if the access token is not acquired in the cache, inquiring whether the access token is located in a collection server cache;
step S502, if the access token is located in the acquisition server cache, the access token is obtained from the acquisition server cache.
In the embodiment of the present invention, if the access token is not obtained from the cache of the second cloud, it may be queried whether the access token is located in the cache of the acquisition server on the second cloud side, where the acquisition server may pre-enter access tokens of different clouds, specifically, may obtain the access token through the cloud, or obtain the access token through the client, or may obtain the access token through a manner that a developer pre-enters the access token, and store the access token.
According to the embodiment of the invention, by means of the manner of caching and storing the access token of the first cloud by the acquisition server or the second cloud, when the device uploads the device report information to the second cloud, the access token of the first cloud is acquired, so that the communication relation between the first cloud and the second cloud is established through the verification of the first cloud, the purpose of transmitting the device report information of the second cloud side to the first cloud is achieved, and the first cloud and the second cloud are connected in a butt joint mode.
In the embodiment of the present invention, as shown in fig. 6, the method for controlling an internet of things device further includes:
step S601, receiving an access token and equipment reporting information sent by a first cloud;
step S602, verifying whether the access token has the docking authority;
step S603, if the access token has the docking authority, sending the device report information to a client corresponding to the second cloud.
In the embodiment of the present invention, the second cloud may also receive the device report information and the access token sent by the first cloud, verify the access token, and if the access token has the docking authority, receive the device report information sent by the first cloud, and send the device report information to the client corresponding to the second cloud, so as to achieve the purpose that the client corresponding to the second cloud checks the device report information on the first cloud side.
In the embodiment of the present invention, as shown in fig. 7, the method for controlling an internet of things device further includes:
step S701, receiving a query request for acquiring device report information sent by a client corresponding to the second cloud, where the query request carries a device identifier;
step S702, searching whether equipment reporting information corresponding to the equipment identification is stored in a database;
step S703, if the database stores the device report information corresponding to the device identifier, returning the device report information to the client corresponding to the second cloud.
In the embodiment of the present invention, the database may be stored in the second cloud, or in another server, and is used to store the device report information, when the second cloud receives an inquiry request for acquiring the device report information sent by the local client, the device report information corresponding to the device identifier is searched in the database according to the device identifier carried in the request, if the device report information corresponding to the device identifier is stored in the database, the device report information is sent to the client for the user to check, and if the device report information corresponding to the device identifier is not stored in the database, the information that the device is not inquired by the client can be returned.
In another embodiment of the present invention, a method for controlling an internet of things device is further provided, where the method is applied to a client corresponding to a second cloud, and as shown in fig. 8, the method includes:
step 801, sending a request for obtaining an access token of a first cloud to an authorization server corresponding to the first cloud;
step S802, if the access token of the first cloud returned by the authorization server corresponding to the first cloud is received, the access token of the first cloud is sent to the second cloud.
In the embodiment of the present invention, the authorization server may be an oauth server on the first cloud side for authorization, and the user may log in the authorization server on the first cloud side through the client corresponding to the second cloud side, so as to obtain the access token of the first cloud side, thereby achieving the purpose that the second cloud side sends the device report information on the second cloud side to the first cloud side through the access token.
The user can input a login password for logging in the authorization server at the first cloud end side through a third party login entrance provided by the client corresponding to the second cloud end so as to obtain an access token of the first cloud end returned by the authorization server.
In this embodiment of the present invention, before step S801, before sending, to an authorization server corresponding to a first cloud, a request for obtaining an access token of the first cloud, the method further includes:
a protocol password acquisition request which is used for acquiring the access token of the first cloud from the authorization server corresponding to the first cloud;
and if a protocol password corresponding to the protocol password acquisition request returned by the authorization server is received, generating a request for acquiring the access token of the first cloud, wherein the request carries the protocol password.
In the embodiment of the present invention, a client corresponding to a second cloud may send a protocol password obtaining request for obtaining an access token of a first cloud to an authorization server corresponding to the first cloud, where the protocol password may be an auth code password, and if a protocol password returned by the authorization server is received, the client may store the protocol password to generate an access token obtaining request including a protocol mask, and may also send the protocol password to other device terminals or the cloud, so that the other device terminals or the cloud obtain the access token from the authorization server by sending a request carrying the protocol password.
In another embodiment of the present invention, a method for controlling an internet of things device is further provided, as shown in fig. 9, the method further includes:
step S901, sending a query request for acquiring device report information to a second cloud;
step S902, if receiving the device report information returned by the second cloud, displaying the device report information.
In the embodiment of the invention, a user can also add equipment information to be checked in a client, the client sends a query request for acquiring equipment report information to the second cloud, if the second cloud stores the equipment report information corresponding to the equipment, the equipment report information is sent to the client, and the client displays the equipment report information in a display area for the user to check after receiving the equipment report information, so that the purpose of the user to check the named equipment in a user-defined manner is achieved.
In another embodiment of the present invention, there is also provided an internet of things device control system, including: the system comprises a first cloud executing any one of the Internet of things equipment control methods, a terminal executing any one of the Internet of things equipment control methods, and a second cloud executing any one of the Internet of things equipment control methods.
In the embodiment of the invention, in an actual application scenario, a device produced by a plant A and a device produced by a plant B may exist in a user home, and a user wants to control and/or view the device of the plant B through an APP of the plant A. The access protocol of the cloud a is prestored in the cloud B, and specifically, a login password of an authorization server at the cloud a side may be input at a third-party interface provided by a client at the cloud B side, so as to obtain an access token of the cloud a from the authorization server at the cloud a side, and store the access token in a cache of the cloud B, or in an acquisition server at the cloud B side, so that when the device uploads device report information, the access token is called, and the device report information and the access token are sent to the cloud a, thereby implementing the docking between the cloud a and the cloud B.
In yet another embodiment of the present invention, a computer-readable medium having a non-volatile program code executable by a processor, the program code causing the processor to execute the method for controlling the internet of things device according to any one of the above embodiments is also provided.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (13)
1. An Internet of things equipment control method is applied to a first cloud end, and comprises the following steps:
receiving an access token and equipment reporting information sent by a second cloud;
verifying whether the access token has docking rights;
and if the access token has the docking authority, sending the equipment reporting information to a client corresponding to the first cloud.
2. The internet of things equipment control method of claim 1, further comprising:
receiving a query request which is sent by a client corresponding to the first cloud and used for acquiring equipment report information, wherein the query request carries an equipment identifier;
searching whether equipment reporting information corresponding to the equipment identification is stored in a database;
and if the database stores the equipment reporting information corresponding to the equipment identification, returning the equipment reporting information to the client corresponding to the first cloud.
3. The internet of things equipment control method of claim 1, further comprising:
receiving equipment reporting information sent by an acquisition server or equipment;
obtaining an access token for butting the second cloud in a cache, wherein the access token of the second cloud received from a client corresponding to the first cloud is stored in the cache;
and sending the access token and the equipment reporting information to a second cloud.
4. The internet of things equipment control method of claim 3, further comprising:
if the access token is not acquired in the cache, inquiring whether the access token is located in an acquisition server cache;
and if the access token is located in the acquisition server cache, acquiring the access token from the acquisition server cache.
5. An Internet of things equipment control method is applied to a second cloud terminal, and comprises the following steps:
receiving equipment reporting information sent by an acquisition server or equipment;
obtaining an access token for butting a first cloud end in a cache, wherein the access token of the first cloud end received from a client end corresponding to a second cloud end is stored in the cache;
and sending the access token and the equipment reporting information to a first cloud.
6. The internet of things equipment control method of claim 5, further comprising:
if the access token is not acquired in the cache, inquiring whether the access token is located in an acquisition server cache;
and if the access token is located in the acquisition server cache, acquiring the access token from the acquisition server cache.
7. The internet of things equipment control method of claim 5, further comprising:
receiving an access token and equipment reporting information sent by a first cloud;
verifying whether the access token has docking rights;
and if the access token has the docking authority, sending the equipment reporting information to a client corresponding to a second cloud.
8. The internet of things equipment control method of claim 5, further comprising:
receiving a query request which is sent by a client corresponding to the second cloud and used for acquiring equipment report information, wherein the query request carries an equipment identifier;
searching whether equipment reporting information corresponding to the equipment identification is stored in a database;
and if the database stores the equipment reporting information corresponding to the equipment identification, returning the equipment reporting information to the client corresponding to the second cloud.
9. The Internet of things equipment control method is applied to a client corresponding to a second cloud, and is characterized by comprising the following steps:
sending a request for acquiring an access token of the first cloud to an authorization server corresponding to the first cloud;
and if the access token of the first cloud terminal returned by the authorization server corresponding to the first cloud terminal is received, the access token of the first cloud terminal is sent to a second cloud terminal.
10. The internet of things device control method of claim 9, wherein before the step of sending the request for obtaining the access token of the first cloud to the authorization server corresponding to the first cloud, the method further comprises:
a protocol password acquisition request which is used for acquiring the access token of the first cloud from the authorization server corresponding to the first cloud;
and if a protocol password corresponding to the protocol password acquisition request returned by the authorization server is received, generating a request for acquiring the access token of the first cloud, wherein the request carries the protocol password.
11. The internet of things equipment control method of claim 9, further comprising:
sending a query request for acquiring equipment report information to a second cloud;
and if the equipment reporting information returned by the second cloud is received, displaying the equipment reporting information.
12. An internet-of-things device control system is characterized by comprising a first cloud end for executing the internet-of-things device control method according to any one of claims 1 to 4, a terminal for executing the internet-of-things device control method according to any one of claims 5 to 8, and a second cloud end for executing the internet-of-things device control method according to any one of claims 9 to 11.
13. A computer-readable medium having non-transitory program code executable by a processor, the program code causing the processor to execute the internet of things device control method according to any one of claims 1 to 4, the internet of things device control method according to any one of claims 5 to 8, or the internet of things device control method according to any one of claims 9 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911008558.3A CN110944035A (en) | 2019-10-22 | 2019-10-22 | Internet of things equipment control method and system and readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911008558.3A CN110944035A (en) | 2019-10-22 | 2019-10-22 | Internet of things equipment control method and system and readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110944035A true CN110944035A (en) | 2020-03-31 |
Family
ID=69906130
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911008558.3A Pending CN110944035A (en) | 2019-10-22 | 2019-10-22 | Internet of things equipment control method and system and readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110944035A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111770051A (en) * | 2020-05-21 | 2020-10-13 | 中清龙图计算机科技(上海)有限公司 | Cloud game sharing method, device, equipment and medium |
CN112738805A (en) * | 2020-12-30 | 2021-04-30 | 青岛海尔科技有限公司 | Device control method and apparatus, storage medium, and electronic device |
CN113596141A (en) * | 2021-07-26 | 2021-11-02 | 深圳Tcl新技术有限公司 | Method and device for setting equipment control authority, computer equipment and storage medium |
CN113746633A (en) * | 2021-08-05 | 2021-12-03 | 深圳Tcl新技术有限公司 | Internet of things equipment binding method, device and system, cloud server and storage medium |
CN113779516A (en) * | 2021-06-29 | 2021-12-10 | 青岛海尔科技有限公司 | Equipment control method and device, storage medium and electronic device |
CN113777935A (en) * | 2021-08-16 | 2021-12-10 | 珠海格力电器股份有限公司 | Control method and device of intelligent equipment and computer readable storage medium |
CN114302183A (en) * | 2021-12-17 | 2022-04-08 | 深圳创维-Rgb电子有限公司 | Equipment interaction control method, device and system, cloud server and storage medium |
CN115362664A (en) * | 2020-05-27 | 2022-11-18 | Oppo广东移动通信有限公司 | Communication method, device and equipment based on Internet of things |
WO2023015574A1 (en) * | 2021-08-13 | 2023-02-16 | Oppo广东移动通信有限公司 | Method and apparatus for account association, and computer device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916311A (en) * | 2014-04-21 | 2014-07-09 | 腾讯科技(深圳)有限公司 | Information transmission control method, device and system |
CN104022875A (en) * | 2013-03-01 | 2014-09-03 | 中兴通讯股份有限公司 | Bidirectional authorization system, client and method |
US20150089569A1 (en) * | 2011-09-29 | 2015-03-26 | Oracle International Corporation | Bundled authorization requests |
CN105208132A (en) * | 2015-10-14 | 2015-12-30 | 成都中科创达软件有限公司 | Intelligent terminal cloud management system |
CN107211007A (en) * | 2015-04-07 | 2017-09-26 | 惠普发展公司,有限责任合伙企业 | Selective access to resource is provided |
CN109788060A (en) * | 2019-01-22 | 2019-05-21 | 曲阜师范大学 | Cloud data sharing and update method based on block chain |
CN109819061A (en) * | 2018-09-11 | 2019-05-28 | 华为技术有限公司 | A kind of method, apparatus and equipment handling cloud service in cloud system |
-
2019
- 2019-10-22 CN CN201911008558.3A patent/CN110944035A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150089569A1 (en) * | 2011-09-29 | 2015-03-26 | Oracle International Corporation | Bundled authorization requests |
CN104022875A (en) * | 2013-03-01 | 2014-09-03 | 中兴通讯股份有限公司 | Bidirectional authorization system, client and method |
CN103916311A (en) * | 2014-04-21 | 2014-07-09 | 腾讯科技(深圳)有限公司 | Information transmission control method, device and system |
CN107211007A (en) * | 2015-04-07 | 2017-09-26 | 惠普发展公司,有限责任合伙企业 | Selective access to resource is provided |
CN105208132A (en) * | 2015-10-14 | 2015-12-30 | 成都中科创达软件有限公司 | Intelligent terminal cloud management system |
CN109819061A (en) * | 2018-09-11 | 2019-05-28 | 华为技术有限公司 | A kind of method, apparatus and equipment handling cloud service in cloud system |
CN109788060A (en) * | 2019-01-22 | 2019-05-21 | 曲阜师范大学 | Cloud data sharing and update method based on block chain |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111770051B (en) * | 2020-05-21 | 2021-10-26 | 中清龙图计算机科技(上海)有限公司 | Cloud game sharing method, device, equipment and medium |
CN111770051A (en) * | 2020-05-21 | 2020-10-13 | 中清龙图计算机科技(上海)有限公司 | Cloud game sharing method, device, equipment and medium |
CN115362664B (en) * | 2020-05-27 | 2024-04-02 | Oppo广东移动通信有限公司 | Communication method, device and equipment based on Internet of things |
CN115362664A (en) * | 2020-05-27 | 2022-11-18 | Oppo广东移动通信有限公司 | Communication method, device and equipment based on Internet of things |
CN112738805A (en) * | 2020-12-30 | 2021-04-30 | 青岛海尔科技有限公司 | Device control method and apparatus, storage medium, and electronic device |
CN113779516B (en) * | 2021-06-29 | 2023-08-18 | 青岛海尔科技有限公司 | Equipment control method and device, storage medium and electronic device |
CN113779516A (en) * | 2021-06-29 | 2021-12-10 | 青岛海尔科技有限公司 | Equipment control method and device, storage medium and electronic device |
CN113596141A (en) * | 2021-07-26 | 2021-11-02 | 深圳Tcl新技术有限公司 | Method and device for setting equipment control authority, computer equipment and storage medium |
CN113746633A (en) * | 2021-08-05 | 2021-12-03 | 深圳Tcl新技术有限公司 | Internet of things equipment binding method, device and system, cloud server and storage medium |
CN113746633B (en) * | 2021-08-05 | 2023-10-17 | 深圳Tcl新技术有限公司 | Internet of things equipment binding method, device, system, cloud server and storage medium |
WO2023015574A1 (en) * | 2021-08-13 | 2023-02-16 | Oppo广东移动通信有限公司 | Method and apparatus for account association, and computer device and storage medium |
CN113777935B (en) * | 2021-08-16 | 2023-10-03 | 珠海格力电器股份有限公司 | Control method and device of intelligent equipment and computer readable storage medium |
CN113777935A (en) * | 2021-08-16 | 2021-12-10 | 珠海格力电器股份有限公司 | Control method and device of intelligent equipment and computer readable storage medium |
CN114302183A (en) * | 2021-12-17 | 2022-04-08 | 深圳创维-Rgb电子有限公司 | Equipment interaction control method, device and system, cloud server and storage medium |
CN114302183B (en) * | 2021-12-17 | 2024-04-02 | 深圳创维-Rgb电子有限公司 | Equipment interaction control method, device and system, cloud server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110944035A (en) | Internet of things equipment control method and system and readable medium | |
CN110545569B (en) | Network distribution method and system of intelligent device and readable medium | |
US12069043B2 (en) | Authenticated session management across multiple electronic devices using a virtual session manager | |
US9774642B2 (en) | Method and device for pushing multimedia resource and display terminal | |
US8516239B2 (en) | Virtual authentication proxy server and terminal authentication server | |
EP3057281B1 (en) | M2m application remote registration method, device, system and storage medium | |
CN107040518B (en) | Private cloud server login method and system | |
US20120320815A1 (en) | Entity Identification Based on Proximity to Access Points | |
CN105553920B (en) | Data interaction method, device and system | |
CN111104675A (en) | Method and device for detecting system security vulnerability | |
CN113746633A (en) | Internet of things equipment binding method, device and system, cloud server and storage medium | |
CN110932944A (en) | Method and system for controlling intelligent household equipment by visitor terminal | |
CN105530683A (en) | Network connection method and apparatus | |
CN104821940A (en) | Method and equipment for sending portal redirected address | |
CN113518407A (en) | WiFi network distribution method and system for intelligent equipment, electronic equipment and medium | |
CN107248995B (en) | Account verification method and device | |
CN104837134A (en) | Web authentication user registration method, device and system | |
CN112671844B (en) | Equipment registration method and system | |
CN112437071B (en) | Method, system, device and storage medium for controlling device | |
KR102367052B1 (en) | Method for providing relational decentralized identifier service and blockchain node using them | |
JP6385100B2 (en) | Information processing apparatus, information processing system, information processing apparatus control method, and computer program | |
CN116827586B (en) | Network authentication method, device, storage medium and electronic equipment | |
CN108228280A (en) | The configuration method and device of browser parameters, storage medium, electronic equipment | |
CN109450887B (en) | Data transmission method, device and system | |
CN102281299A (en) | Interactive service processing method and service control layer server |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200331 |
|
RJ01 | Rejection of invention patent application after publication |