CN107370668B - Method, device and system for remotely controlling intelligent equipment - Google Patents

Method, device and system for remotely controlling intelligent equipment Download PDF

Info

Publication number
CN107370668B
CN107370668B CN201710742879.0A CN201710742879A CN107370668B CN 107370668 B CN107370668 B CN 107370668B CN 201710742879 A CN201710742879 A CN 201710742879A CN 107370668 B CN107370668 B CN 107370668B
Authority
CN
China
Prior art keywords
universal
server
token
party
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710742879.0A
Other languages
Chinese (zh)
Other versions
CN107370668A (en
Inventor
纪友升
廖大春
李哲浩
周光富
刘晓乾
凌光
周超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710742879.0A priority Critical patent/CN107370668B/en
Publication of CN107370668A publication Critical patent/CN107370668A/en
Priority to US16/054,946 priority patent/US11108761B2/en
Application granted granted Critical
Publication of CN107370668B publication Critical patent/CN107370668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/062Network architectures or network communication protocols for network security for supporting key management in a packet data network for key distribution, e.g. centrally by trusted party
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/065Network architectures or network communication protocols for network security for supporting key management in a packet data network for group communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0884Network architectures or network communication protocols for network security for authentication of entities by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/53Network services using third party service providers

Abstract

The embodiment of the application discloses a method, a device and a system for remotely controlling intelligent equipment. One embodiment of the method comprises: in response to receiving account information input by a user, sending the account information to a third-party server; in response to receiving a third party token sent by a third party server, sending a third party server identifier and the third party token to a universal identifier server; receiving a control terminal universal identification, a control terminal instant communication token and a controlled equipment universal identification list which are sent by a universal identification server, and presenting the controlled equipment universal identification list; receiving a control instruction input by a user in response to receiving a controlled device selection operation of the controlled device universal identification in the presented controlled device universal identification list by the user; and sending the target controlled equipment general identification, the control instruction and the control end instant communication token to an instant communication server. The implementation method realizes that the control terminal uses the existing third-party account to control the controlled equipment.

Description

Method, device and system for remotely controlling intelligent equipment
Technical Field
The application relates to the technical field of computers, in particular to the technical field of Internet of things, and particularly relates to a method, a device and a system for remote control of intelligent equipment.
Background
The intelligent device remote control refers to a method for remotely controlling the intelligent device through a control terminal. The existing remote control of intelligent equipment mostly adopts an instant communication server to realize instant communication between a control terminal and controlled equipment. In order to enable the instant messaging server to realize authorization of the control terminal and the controlled device, currently, a batch application of a registered account password in the same account system is mostly adopted for the control terminal and the controlled device, and an account password is allocated to each control terminal and each controlled device.
However, the existing intelligent device control method for registering accounts for the control terminal and the controlled device in batch in advance cannot realize that the control terminal controls the controlled device under different account systems.
Disclosure of Invention
An object of the embodiments of the present application is to provide an improved method and apparatus for remotely controlling an intelligent device, so as to solve the technical problems mentioned in the above background.
In a first aspect, an embodiment of the present application provides a method for remotely controlling an intelligent device of a control terminal, where the method includes: responding to account information of a target third party account type input by a user, and sending the account information to a third party server corresponding to the target third party account type so that the third party server can generate a third party token corresponding to the account information; responding to the received third-party token sent by the third-party server, sending a third-party server identifier of the third-party server and the third-party token to a universal identifier server, so that the universal identifier server sends the third-party token to the third-party server, receiving user information corresponding to the third-party token from the third-party server, determining a control-end universal identifier corresponding to the third-party server identifier and the user information, sending the control-end universal identifier to an instant messaging server, receiving a control-end instant messaging token generated by the instant messaging server according to the control-end universal identifier from the instant messaging server, and acquiring a controlled device universal identifier list corresponding to the control-end universal identifier; receiving the control terminal universal identification, the control terminal instant communication token and the controlled equipment universal identification list sent by the universal identification server, and presenting the controlled equipment universal identification list; receiving a control instruction input by the user in response to receiving the selection operation of the user on the controlled equipment of the controlled equipment universal identification in the presented controlled equipment universal identification list; and sending the target controlled device universal identification, the control instruction and the control end instant communication token, which are aimed at by the controlled device selection operation, to the instant communication server, so that the instant communication server determines whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identification according to the control end instant communication token.
In a second aspect, an embodiment of the present application provides a method for remotely controlling an intelligent device of a controlled device, where the method includes: responding to the detection of a starting signal, sending a preset device identifier to a universal identifier server so that the universal identifier server can determine a controlled device universal identifier corresponding to the preset device identifier, generating a universal identifier token according to the controlled device universal identifier, sending the controlled device universal identifier to an instant messaging server, and receiving a controlled device instant messaging token generated by the instant messaging server according to the controlled device universal identifier from the instant messaging server; and receiving the controlled device instant messaging token and the universal identification token sent by the universal identification server, so as to communicate with the instant messaging server by using the controlled device instant messaging token and communicate with the universal identification server by using the universal identification token.
In a third aspect, an embodiment of the present application provides a method for remotely controlling an intelligent device using a universal identity server, where the method includes: responding to a third-party server identifier and a third-party token sent by a control terminal, sending the third-party token to a third-party server indicated by the third-party server identifier, so that the third-party server determines user information corresponding to the received third-party token according to the received third-party token; responding to the received user information which is sent by the third-party server and corresponds to the third-party token, and determining a control terminal universal identification which corresponds to the third-party server identification and the user information; sending the control terminal universal identification to an instant messaging server for the instant messaging server to generate a control terminal instant messaging token according to the control terminal universal identification; receiving the control end instant communication token sent by the instant communication server; acquiring a controlled equipment universal identification list corresponding to the control terminal universal identification; sending the control terminal universal identification, the control terminal instant messaging token and the controlled equipment universal identification list to the control terminal; in response to receiving a device identifier sent by a controlled device, determining a controlled device universal identifier corresponding to the device identifier; generating a universal identification token according to the universal identification of the controlled equipment; sending the controlled equipment universal identification to an instant messaging server for the instant messaging server to generate a controlled equipment instant messaging token according to the controlled equipment universal identification; and responding to the received controlled equipment instant communication token sent by the instant communication server, sending the controlled equipment instant communication token and the universal identification token to the controlled equipment so that the controlled equipment can communicate with the instant communication server by using the controlled equipment instant communication token and communicate with the universal identification server by using the universal identification token.
In a fourth aspect, an embodiment of the present application provides an intelligent device control method for an instant messaging server, where the method includes: responding to the received universal control end identification sent by the universal identification server, and generating a control end instant communication token according to the universal control end identification; sending the generated control end instant communication token to the universal identification server; responding to the received universal identification of the controlled equipment sent by the universal identification server, and generating an instant messaging token of the controlled equipment according to the universal identification of the controlled equipment; sending the generated controlled device instant communication token to the universal identification server; and in response to receiving the target controlled device universal identifier, the control instruction and the control end instant communication token sent by the control terminal, determining whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier according to the received control end instant communication token.
In a fifth aspect, an embodiment of the present application provides an intelligent device remote control apparatus for controlling a terminal, where the apparatus includes: the first sending unit is configured to respond to account information of a target third party account type input by a user, and send the account information to a third party server corresponding to the target third party account type, so that the third party server can generate a third party token corresponding to the account information; a second sending unit configured to send a third party server identifier of the third party server and the third party token to a universal identifier server in response to receiving the third party token sent by the third party server, for the universal identification server to send the third party token to the third party server and receive the user information corresponding to the third party token from the third party server, and determining a control terminal universal mark corresponding to the third party server mark and the user information, and sending the control terminal universal mark to an instant messaging server, receiving a control end instant communication token generated by the instant communication server according to the control end universal identification from the instant communication server, and acquiring a controlled equipment universal identification list corresponding to the control end universal identification; a first receiving unit, configured to receive the control-end universal identifier, the control-end instant messaging token, and the controlled-device universal identifier list sent by the universal identifier server, and present the controlled-device universal identifier list; a second receiving unit, configured to receive a control instruction input by the user in response to receiving a controlled device selection operation of the user on the controlled device universal identifier in the presented controlled device universal identifier list; and a third sending unit, configured to send the target controlled device universal identifier, the control instruction, and the control-end instant messaging token, to which the controlled device selection operation is directed, to the instant messaging server, so that the instant messaging server determines, according to the control-end instant messaging token, whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier.
In a sixth aspect, an embodiment of the present application provides an apparatus for remotely controlling an intelligent device for a controlled device, where the apparatus includes: a fourth sending unit, configured to send a preset device identifier to a universal identifier server in response to detecting a start signal, so that the universal identifier server determines a controlled device universal identifier corresponding to the preset device identifier, generates a universal identifier token according to the controlled device universal identifier, sends the controlled device universal identifier to an instant messaging server, and receives, from the instant messaging server, a controlled device instant messaging token generated by the instant messaging server according to the controlled device universal identifier; and a third receiving unit, configured to receive the controlled device instant messaging token and the universal identification token sent by the universal identification server, so as to communicate with the instant messaging server by using the controlled device instant messaging token, and communicate with the universal identification server by using the universal identification token.
In a seventh aspect, an embodiment of the present application provides an intelligent device remote control apparatus for a universal identity server, where the apparatus includes: the fifth sending unit is configured to respond to the third-party server identifier and the third-party token sent by the control terminal, and send the third-party token to the third-party server indicated by the third-party server identifier, so that the third-party server determines user information corresponding to the received third-party token according to the received third-party token; a second determining unit, configured to determine, in response to receiving user information corresponding to the third-party token and sent by the third-party server, a control-end common identifier corresponding to the third-party server identifier and the user information; a sixth sending unit, configured to send the control-end universal identifier to an instant messaging server, so that the instant messaging server generates a control-end instant messaging token according to the control-end universal identifier; a fourth receiving unit, configured to receive the control-end instant messaging token sent by the instant messaging server; the first obtaining unit is configured to obtain a controlled device universal identifier list corresponding to the control terminal universal identifier; a seventh sending unit, configured to send the control-end universal identifier, the control-end instant messaging token, and the controlled-device universal identifier list to the control terminal; a third determining unit, configured to determine, in response to receiving a device identifier sent by a controlled device, a controlled device common identifier corresponding to the device identifier; the first generating unit is configured to generate a universal identification token according to the controlled device universal identification; an eighth sending unit, configured to send the controlled device universal identifier to an instant messaging server, so that the instant messaging server generates a controlled device instant messaging token according to the controlled device universal identifier; a ninth sending unit, configured to send, in response to receiving the controlled device instant messaging token sent by the instant messaging server, the controlled device instant messaging token and the universal identification token to the controlled device, so that the controlled device communicates with the instant messaging server by using the controlled device instant messaging token and communicates with the universal identification server by using the universal identification token.
In an eighth aspect, an embodiment of the present application provides an intelligent device control apparatus for an instant messaging server, where the apparatus includes: the second generation unit is configured to respond to the received control terminal universal identification sent by the universal identification server and generate a control terminal instant messaging token according to the control terminal universal identification; a tenth sending unit, configured to send the generated control-end instant messaging token to the universal identity server; a third generating unit, configured to generate, in response to receiving the controlled device universal identifier sent by the universal identifier server, a controlled device instant messaging token according to the controlled device universal identifier; an eleventh sending unit, configured to send the generated controlled device instant messaging token to the universal identification server; and the fourth determining unit is configured to respond to the received target controlled device universal identifier, the control instruction and the control end instant communication token sent by the control terminal, and determine whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier according to the received control end instant communication token.
In a ninth aspect, an embodiment of the present application provides a control terminal, where the control terminal includes: one or more processors; storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any implementation of the first aspect.
In a tenth aspect, an embodiment of the present application provides a controlled device, where the controlled device includes: one or more processors; storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method as described in any implementation of the second aspect.
In an eleventh aspect, an embodiment of the present application provides a universal identification server, where the server includes: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out the method as described in any implementation of the third aspect.
In a twelfth aspect, an embodiment of the present application provides an instant messaging server, where the server includes: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method as described in any implementation manner of the fourth aspect.
In a thirteenth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is characterized in that when executed by a processor, the computer program implements the method described in any implementation manner in the first aspect.
In a fourteenth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is characterized in that when being executed by a processor, the computer program implements the method as described in any implementation manner of the second aspect.
In a fifteenth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is configured to implement, when executed by a processor, a method as described in any implementation manner of the third aspect.
Sixteenth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is characterized in that when executed by a processor, the computer program implements the method as described in any implementation manner of the fourth aspect.
In a seventeenth aspect, an embodiment of the present application provides a remote control system for an intelligent device, where the system includes a control terminal as described in the ninth aspect, a controlled device as described in the tenth aspect, a universal identifier server as described in the eleventh aspect, an instant messaging server as described in the twelfth aspect, and a third-party server that provides support for a third-party account type.
According to the method, the device and the system for remotely controlling the intelligent device, the user can log in by using the third party account in the control terminal by adding the universal identification server, the third party account is mapped to the uniform universal identification in the universal identification server, the hardware identification of the controlled device is also mapped to the uniform universal identification in the universal identification server, the control terminal and the controlled device can communicate through the instant messaging server by the aid of the uniform universal identification after mapping, batch account registration for the control terminal and the controlled device is not needed in advance, the control process is simplified, and the control terminal can control the controlled device by using the existing third party account.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for remote control of a smart device for controlling a terminal according to the present application;
FIG. 3 is a flow chart of one embodiment of a smart device remote control method for a controlled device according to the present application;
FIG. 4 is a flow diagram of one embodiment of a method for remote control of a smart device for a universal identification server according to the present application;
FIG. 5 is a flow diagram of one embodiment of a method for remote control of a smart device for an instant messaging server according to the present application;
FIG. 6 is a schematic structural diagram of one embodiment of a smart device remote control apparatus for controlling a terminal according to the present application;
FIG. 7 is a schematic structural diagram of one embodiment of an intelligent device remote control apparatus for a controlled device according to the application;
FIG. 8 is a schematic block diagram illustrating one embodiment of an intelligent device remote control apparatus for a universal identification server according to the present application;
fig. 9 is a schematic structural diagram of an embodiment of an intelligent device remote control apparatus for an instant messaging server according to the present application;
10A and 10B are timing diagrams of one embodiment of a smart device remote control system according to the present application;
fig. 11 is a schematic structural diagram of a computer system suitable for implementing the control terminal, the controlled device, the universal identification server or the instant messaging server according to the embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the method for smart device remote control or apparatus for smart device remote control of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include a control terminal 101, a network 102, a third party server 103, a universal identification server 104, an Instant Messaging (IM) server 105, a network 106, and a controlled device 107. The network 102 serves as a medium for providing communication links between the control terminal 101, the third party server 103, the universal identity server 104 and the instant messaging server 105. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The network 106 is used to provide a medium for communication links between the universal identification server 104, the instant messaging server 105, and the smart device 107. Network 106 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may use the control terminal 101 to interact with a third party server 105 over the network 102 to receive or send messages or the like. The control terminal 101 may be installed with various client applications, such as a third-party account login application, a smart device remote control application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like. The control terminal 101 may be various electronic devices having a display screen and supporting information input, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. The user can also input a control instruction for the controlled device on the control terminal 101 and send the control instruction to the instant messaging server 105, so as to forward the control instruction to the controlled device 107 through the instant messaging server 105.
The third-party server 103 may be a server that provides various services, such as a server that provides support for controlling a third-party account login-type application displayed on the terminal 101. The third party server 103 may verify the account information received from the control terminal 101, and may generate a third party token if the verification passes, and feed the generated third party token back to the control terminal 101. Alternatively, the third-party server may analyze the third-party token received from the universal identity server 104 and feed back user information corresponding to the third-party token to the universal identity server 104.
The universal identification server 104 may be a server that provides various servers, for example, a server that provides support for controlling smart device remote control type applications displayed on the terminal 101. The universal identifier server 104 may send the third party token received from the control terminal to the third party server, obtain user information corresponding to the third party token from the third server, map the user information to obtain a control terminal universal identifier, send the control terminal universal identifier to the instant messaging server 105, and send the control terminal instant messaging token generated by the instant messaging server 105 according to the control terminal universal identifier and received from the instant messaging server 105 to the control terminal 101. For another example, the universal identification server 104 may further map the device identifier received from the smart device 107 to obtain a controlled device universal identifier, generate a universal identification token according to the controlled device universal identifier, send the controlled device universal identifier to the instant messaging server 105, and send the controlled device instant messaging token and the universal identification token, which are generated by the instant messaging server 105 according to the controlled device universal identifier, received from the instant messaging server 105 to the controlled device 107.
The instant messenger server 105 may be a server that provides various servers, for example, a server that provides support for controlling a smart device remote control class displayed on the terminal 101. The instant messenger server 105 may generate a control-side instant messenger token from the control-side universal identifier received from the universal identifier server 104 and send the generated control-side instant messenger token to the universal identifier server 104. The instant messenger server 105 may also generate a controlled device instant messenger token based on the controlled device universal identifier received from the universal identifier server 104, and transmit the generated controlled device instant messenger token to the universal identifier server 104. The instant messaging server 105 may also determine whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier according to the target controlled device universal identifier, the control instruction and the control end instant messaging token received from the control terminal 101.
The controlled device 107 may be various intelligent electronic devices having a network communication function. For example, the controlled device 107 may send the preset device identifier of the controlled device to the universal identifier server 104 when detecting the start signal. The controlled device 107 can also receive the controlled device instant messenger token and the universal identification token sent by the universal identification server 104, so as to communicate with the instant messenger server 105 by using the controlled device instant messenger token and communicate with the universal identification server 104 by using the universal identification token.
It should be noted that the method for remotely controlling the smart device of the control terminal provided in the embodiment of the present application is generally executed by the control terminal 101, and accordingly, the remote control apparatus for the smart device of the control terminal is generally disposed in the control terminal 101. The method for remotely controlling the smart device for the controlled device provided by the embodiment of the present application is generally executed by the controlled device 107, and accordingly, the remote control apparatus for the smart device for the controlled device is generally disposed in the controlled device 107. The method for remotely controlling the smart device for the universal identity server provided by the embodiment of the present application is generally executed by the universal identity server 104, and accordingly, the smart device remote control apparatus for the universal identity server is generally disposed in the universal identity server 104. The method for remotely controlling the smart device for the instant messaging server provided by the embodiment of the present application is generally executed by the instant messaging server 105, and accordingly, the smart device remote control apparatus for the instant messaging server is generally disposed in the instant messaging server 105.
It should be understood that the number of control terminals, networks, controlled devices, universal identification servers, and instant messaging servers in fig. 1 are merely illustrative. Any number of control terminals, networks, controlled devices, universal identification servers and instant messaging servers can be provided according to implementation requirements.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for remote control of a smart device for controlling a terminal according to the present application is shown. The intelligent device remote control method for the control terminal comprises the following steps:
step 201, in response to receiving account information of a target third party account type input by a user, sending the account information to a third party server corresponding to the target third party account type.
In this embodiment, an electronic device (for example, the control terminal shown in fig. 1) on which the intelligent device remote control method for the control terminal operates may send account information input by a user to a third-party server corresponding to a target third-party account type after receiving account information of the target third-party account type input by the user. Here, the account information may include a user name and authentication information. The authentication information is information for authenticating the user name. As an example, the information for authentication may be a password character string, voice for authentication, face image, fingerprint information, or the like. After receiving the account information, the third-party server firstly verifies the account information and generates a third-party token corresponding to the account information under the condition that the verification is passed. Here, the third-party token is a temporary credential issued by the third-party server and used for requesting the resource from the third-party server, and when the electronic device acquiring the third-party token can request the resource from the third-party server, the electronic device does not need to carry a user name and information for verification, only needs to carry the third-party token, and the third-party server can verify the third-party token, and can acquire the required resource from the third-party server if the third-party token passes verification.
In this embodiment, the electronic device may be installed with a software development kit of an application of a target third party account type, so that a user may input account information in a login interface provided by the software development kit of the application of the target third party account type displayed on the electronic device.
In some optional implementations of this embodiment, the method for remotely controlling a smart device of a control terminal may further perform the following operations before step 201:
first, at least one third party account type information is presented.
Then, in response to receiving an account type selection operation of the user on the third party account type information in the at least one piece of presented third party account type information, determining a third party account type indicated by the third party account type information for which the account type selection operation is directed as a target third party account type.
Step 202, in response to receiving the third party token sent by the third party server, sending the third party server identifier and the third party token of the third party server to the universal identifier server.
In this embodiment, after the account information is sent to the third-party server in step 201, the third-party server returns a third-party token as a temporary credential for requesting resources from the third-party server. Therefore, the electronic device may send the third-party server identifier of the third-party server and the third-party token to the universal identifier server after receiving the third-party token sent by the third-party server. And after receiving the third party token, the universal identification server sends the third party token to a third party server. And the third-party server receives the third-party token, can verify the third-party token, acquires user information corresponding to the third-party token under the condition of passing the verification, and finally sends the acquired user information to the universal identification server. The universal identification server then receives the user information from the third-party server, then determines a control terminal universal identification corresponding to the third-party server identification and the user information, and then sends the determined control terminal universal identification to the instant messaging server. And after receiving the control terminal universal identification, the instant messaging server generates a control terminal instant messaging token according to the control terminal universal identification and sends the generated control terminal instant messaging token to the universal identification server. The control end instant communication token is a temporary certificate issued by the instant communication server and used for acquiring resources from the instant communication server, when the electronic equipment acquiring the control end instant communication token can request the resources from the instant communication server, other verification information does not need to be carried, the control end instant communication token only needs to be carried, the instant communication server can verify the control end instant communication token, and if the control end instant communication token passes the verification, the required resources can be acquired from the instant communication server. The universal identification server can receive the control end instant communication token sent by the instant communication server and acquire a controlled device universal identification list corresponding to the control end universal identification. Here, the universal identifier server may store a controlled device universal identifier list corresponding to each control-end universal identifier. And finally, the universal identification server feeds back the universal identification of the control terminal, the instant communication token of the control terminal and the universal identification list of the controlled equipment to the electronic equipment.
And 203, receiving the universal control end identifier, the instant communication token of the control end and the universal identifier list of the controlled equipment sent by the universal identifier server, and presenting the universal identifier list of the controlled equipment.
In this embodiment, the electronic device on which the intelligent device remote control method for the control terminal operates may receive the control terminal universal identifier, the control terminal instant messaging token, and the controlled device universal identifier list sent by the universal identifier server, and present the controlled device universal identifier list.
And step 204, in response to receiving the selection operation of the user on the controlled device of the controlled device universal identifier in the presented controlled device universal identifier list, receiving a control instruction input by the user.
In this embodiment, the electronic device may receive a control instruction input by a user after receiving a selection operation of the user on a controlled device of the controlled device universal identifier in the presented controlled device universal identifier list. Here, the control instruction is for performing an operation on the controlled device. For example, the control instruction may be an instruction to acquire status information of the controlled device, and the control instruction may also be an instruction to change an operating parameter of the controlled device, such as increasing a target temperature value of the smart air conditioner.
And step 205, sending the target controlled device universal identifier, the control instruction and the control end instant communication token aimed at by the controlled device selection operation to the instant communication server.
In this embodiment, the electronic device (for example, the control terminal shown in fig. 1) may send the target controlled device universal identifier for the controlled device selection operation received in step 204, the control instruction input by the user, and the control end instant messaging token received from the universal identifier server in step 203 to the instant messaging server. The instant communication server can verify the received control end instant communication token, and if the control end instant communication token passes the verification, the received control instruction is forwarded to the target controlled device indicated by the received target controlled device universal identification. Otherwise, if the verification is not passed, the control instruction forwarding operation is not executed.
With continued reference to fig. 3, fig. 3 is a flowchart 300 of one embodiment of a smart device remote control method for a controlled device according to the present application. The intelligent device remote control method for the controlled device comprises the following steps:
step 301, in response to detecting the start signal, sending a preset device identifier to the universal identifier server.
In this embodiment, an electronic device (for example, the controlled device shown in fig. 1) on which the intelligent device remote control method for the controlled device operates may send the preset device identifier of the electronic device to the universal identifier server after detecting the start signal, that is, after the controlled device is powered on. Here, the preset device identifier of the electronic device may be a device identifier for distinguishing a controlled device. As an example, the preset device identifier of the controlled device may be an SN (Serial Number) code of the controlled device, or an IMEI (International Mobile Equipment Identity) code of a GPRS (General Packet Radio Service) module of the controlled device, or a MAC (Media access control) address of a WIFI (Wireless Fidelity) module of the controlled device. In this way, the universal identification server can determine the controlled device universal identification corresponding to the received preset device identification, generate a universal identification token according to the controlled device universal identification, and send the controlled device universal identification to the instant messaging server. The instant communication server generates an instant communication token of the controlled equipment according to the received universal identifier of the controlled equipment and sends the generated instant communication token of the controlled equipment to the universal identifier server. The universal identification server can send the generated universal identification token and the controlled device instant messaging token received from the instant messaging server to the electronic device.
Step 302, receiving the controlled device instant communication token and the universal identification token sent by the universal identification server.
In this embodiment, an electronic device (for example, a controlled device shown in fig. 1) on which the intelligent device remote control method for the controlled device operates may receive a controlled device instant messaging token received from an instant messaging server and a universal identification token generated by the universal identification server, which are sent by the universal identification server, so that the electronic device may communicate with the instant messaging server by using the controlled device instant messaging token and may also communicate with the universal identification server by using the universal identification token.
The instant messaging token of the controlled device is a temporary certificate issued by the instant messaging server and used for requesting resources to the instant messaging server, the electronic device which acquires the instant messaging token of the controlled device can request the resources to the instant messaging server without carrying other verification information, only the instant messaging token of the controlled device needs to be carried, the instant messaging server can verify the instant messaging token of the controlled device, and if the instant messaging token of the controlled device passes the verification, the required resources can be acquired from the instant messaging server.
Here, the universal identification token is a temporary certificate issued by the universal identification server and used for requesting resources from the universal identification server, the electronic device which has acquired the universal identification token can request resources from the universal identification server without carrying other verification information, only the universal identification token needs to be carried, the universal identification server can verify the universal identification token, and the required resources can be acquired from the universal identification server if the universal identification token passes verification.
As an example, when the control terminal sends a control instruction for acquiring device state information of the electronic device to the electronic device, the electronic device may send the controlled device instant messaging token and the state information of the electronic device to an instant messaging server, and the instant messaging server may forward the state information of the electronic device to the control terminal after the controlled device instant messaging token passes verification.
With further reference to fig. 4, a flow 400 of one embodiment of a method for remote control of a smart device for a universal identification server is shown. The process 400 of the intelligent device remote control method for the universal identification server comprises the following steps:
step 401, in response to receiving the third party server identifier and the third party token sent by the control terminal, sending the third party token to the third party server indicated by the third party server identifier.
In this embodiment, an electronic device (for example, the universal identification server shown in fig. 1) on which the intelligent device remote control method for the universal identification server operates may send a received third party token to a third party server indicated by a third party server identifier after receiving the third party server identifier and the third party token sent by the control terminal. In this way, the third-party server may verify the third-party token, acquire user information corresponding to the third-party token if the third-party token passes the verification, and finally send the acquired user information to the electronic device.
Step 402, in response to receiving user information corresponding to a third party token sent by a third party server, determining a control terminal universal identifier corresponding to a third party server identifier and the user information.
In this embodiment, the electronic device may determine the control-end universal identifier corresponding to the identifier of the third-party server and the user information after receiving the user information corresponding to the third-party token sent by the third-party server.
In some optional implementations of this embodiment, step 402 may proceed as follows:
firstly, a control terminal universal identification corresponding to a third-party server identification and user information is inquired in a first preset database, wherein the third-party server identification, the user information and the control terminal universal identification are correspondingly stored in the first preset database.
Secondly, if the control terminal universal identification corresponding to the third-party server identification and the user information is inquired, the inquired control terminal universal identification is determined to be the control terminal universal identification corresponding to the third-party server identification and the user information.
And finally, if the control terminal universal identification corresponding to the third-party server identification and the user information is not inquired, generating the control terminal universal identification corresponding to the third-party server identification and the user information according to a preset universal identification format, and correspondingly storing the generated control terminal universal identification, the third-party server identification and the user information into a first preset database.
And step 403, sending the control terminal universal identifier to the instant messaging server.
In this embodiment, the electronic device may send the control-end universal identifier determined in step 402 to the instant messaging server. Thus, the instant communication server can generate the control end instant communication token according to the received control end universal identification. Here, the control end instant messaging token is a temporary certificate issued by the instant messaging server and used for acquiring resources from the instant messaging server, the electronic device acquiring the control end instant messaging token can request resources from the instant messaging server without carrying other verification information, only the control end instant messaging token needs to be carried, the instant messaging server can verify the control end instant messaging token, and the required resources can be acquired from the instant messaging server if the control end instant messaging token passes verification.
Step 404, receiving the control end instant communication token sent by the instant communication server.
And 405, acquiring a controlled device universal identifier list corresponding to the control terminal universal identifier.
Here, the electronic device may store a controlled device universal identifier list corresponding to each control terminal universal identifier.
And step 406, sending the control terminal universal identifier, the control terminal instant messaging token and the controlled device universal identifier list to the control terminal.
Here, the electronic device may send the control-side universal identifier corresponding to the third-party server identifier and the user information determined in step 402, the control-side instant messaging token sent by the instant messaging server received in step 404, and the controlled-device universal identifier list corresponding to the control-side universal identifier obtained in step 405 to the control terminal. In this way, the control terminal can present the controlled device universal identifier list, receive a control instruction input by the user after receiving the controlled device selection operation of the controlled device universal identifier in the presented controlled device universal identifier list by the user, and send the target controlled device universal identifier, the control instruction and the control end instant communication token, which are aimed at by the controlled device selection operation, to the instant communication server.
Step 407, in response to receiving the device identifier sent by the controlled device, determining a controlled device universal identifier corresponding to the device identifier.
In this embodiment, an electronic device (for example, the universal identification server shown in fig. 1) on which the intelligent device remote control method for the universal identification server operates may determine, after receiving a device identifier sent by a controlled device, a controlled device universal identifier corresponding to the device identifier.
In some optional implementations of this embodiment, step 407 may proceed as follows:
firstly, a controlled device universal identifier corresponding to the device identifier is inquired in a second preset database.
Secondly, if the controlled device universal identification corresponding to the device identification is inquired, the inquired controlled device universal identification is determined as the controlled device universal identification corresponding to the device identification.
And finally, if the controlled equipment universal identification corresponding to the equipment identification is not inquired, generating the controlled equipment universal identification corresponding to the equipment identification according to a preset universal identification format, and correspondingly storing the generated controlled equipment universal identification and the equipment identification into a second preset database.
In some optional implementation manners of this embodiment, each control terminal universal identifier in the first preset database and each controlled device universal identifier in the second preset database may be different from each other.
And step 408, generating a universal identification token according to the universal identification of the controlled equipment.
Here, since the controlled device uploads the preset device identifier only by powering on the device, and the electronic device determines the controlled device universal identifier corresponding to the preset device identifier in step 407, for subsequent communication security with the controlled device, here, a universal identifier token may be generated by using various encryption methods according to the controlled device universal identifier determined in step 407. As an example, the common identification token may be generated by an Encryption method such as AES (Advanced Encryption Standard), SHA (Secure Hash Algorithm), or AES + SHA Encryption.
Here, the universal identification token is a temporary certificate issued by the universal identification server and used for requesting resources from the universal identification server, the electronic device which has acquired the universal identification token can request resources from the universal identification server without carrying other verification information, only the universal identification token needs to be carried, the universal identification server can verify the universal identification token, and the required resources can be acquired from the universal identification server if the universal identification token passes verification.
And step 409, sending the universal identifier of the controlled equipment to the instant messaging server.
In this embodiment, the electronic device may send the controlled device universal identifier determined in step 407 and corresponding to the preset device identifier to an instant messaging server. Therefore, the instant communication server can generate the instant communication token of the controlled equipment according to the universal identifier of the controlled equipment. The instant messaging token of the controlled device is a temporary certificate issued by the instant messaging server and used for requesting resources to the instant messaging server, the electronic device which acquires the instant messaging token of the controlled device can request the resources to the instant messaging server without carrying other verification information, only the instant messaging token of the controlled device needs to be carried, the instant messaging server can verify the instant messaging token of the controlled device, and if the instant messaging token of the controlled device passes the verification, the required resources can be acquired from the instant messaging server.
Step 410, in response to receiving the controlled device instant messaging token sent by the instant messaging server, sending the controlled device instant messaging token and the universal identification token to the controlled device.
In this embodiment, the electronic device may send the controlled device instant messaging token and the universal identification token to the controlled device after receiving the controlled device instant messaging token sent by the instant messaging server. In this way, the controlled device can communicate with the instant messaging server by using the controlled device instant messaging token and communicate with the electronic device by using the universal identification token.
With continued reference to fig. 5, fig. 5 is a flowchart 500 of one embodiment of a method for remote control of an intelligent device for an instant messaging server according to the present application. The intelligent equipment remote control method for the instant messaging server comprises the following steps:
step 501, in response to receiving the control terminal universal identifier sent by the universal identifier server, generating a control terminal instant messaging token according to the control terminal universal identifier.
In this embodiment, an electronic device (for example, the instant messaging server shown in fig. 1) on which the intelligent device remote control method for the universal identification server operates may generate the control-end instant messaging token according to the control-end universal identification after receiving the control-end universal identification sent by the universal identification server. Here, the control end instant messaging token is a temporary certificate issued by the instant messaging server and used for acquiring resources from the instant messaging server, the electronic device acquiring the control end instant messaging token can request resources from the instant messaging server without carrying other verification information, only the control end instant messaging token needs to be carried, the instant messaging server can verify the control end instant messaging token, and the required resources can be acquired from the instant messaging server if the control end instant messaging token passes verification.
And 502, sending the generated control end instant communication token to a universal identification server.
In this embodiment, the electronic device may send the control-end instant messaging token generated in step 501 to the universal identity server. In this way, the universal identification server can send the received control end instant messaging token to the control terminal.
Step 503, in response to receiving the controlled device universal identifier sent by the universal identifier server, generating a controlled device instant messaging token according to the controlled device universal identifier.
In this embodiment, the electronic device may generate the controlled device instant messaging token according to the controlled device universal identifier after receiving the controlled device universal identifier sent by the universal identifier server. The instant messaging token of the controlled device is a temporary certificate issued by the instant messaging server and used for requesting resources to the instant messaging server, the electronic device which acquires the instant messaging token of the controlled device can request the resources to the instant messaging server without carrying other verification information, only the instant messaging token of the controlled device needs to be carried, the instant messaging server can verify the instant messaging token of the controlled device, and if the instant messaging token of the controlled device passes the verification, the required resources can be acquired from the instant messaging server.
And step 504, sending the generated controlled device instant communication token to the universal identification server.
In this embodiment, the electronic device may send the controlled device instant messaging token generated in step 503 to the universal identification server. In this way, the universal identification server can send the received controlled device instant messaging token to the controlled device.
And 505, in response to receiving the target controlled device universal identifier, the control instruction and the control end instant communication token sent by the control terminal, determining whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier according to the received control end instant communication token.
In this embodiment, the electronic device may verify the received control-side instant communication token after receiving the target controlled device universal identifier, the control instruction, and the control-side instant communication token sent by the control terminal, and forward the received control instruction to the target controlled device indicated by the received target controlled device universal identifier if the verification is passed. Otherwise, if the verification is not passed, the control instruction forwarding operation is not executed.
With further reference to fig. 6, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an intelligent device remote control apparatus for controlling a terminal, where the apparatus embodiment corresponds to the method embodiment shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 6, the intelligent device remote control apparatus 600 for controlling a terminal according to the present embodiment includes: a first transmitting unit 601, a second transmitting unit 602, a first receiving unit 603, a second receiving unit 604, and a third transmitting unit 605. The first sending unit 601 is configured to respond to account information of a target third-party account type input by a user, and send the account information to a third-party server corresponding to the target third-party account type, so that the third-party server generates a third-party token corresponding to the account information; a second sending unit 602 configured to send a third party server identifier of the third party server and the third party token to a universal identifier server in response to receiving the third party token sent by the third party server, for the universal identification server to send the third party token to the third party server and receive the user information corresponding to the third party token from the third party server, and determining a control terminal universal mark corresponding to the third party server mark and the user information, and sending the control terminal universal mark to an instant messaging server, receiving a control end instant communication token generated by the instant communication server according to the control end universal identification from the instant communication server, and acquiring a controlled equipment universal identification list corresponding to the control end universal identification; a first receiving unit 603, configured to receive the control-end universal identifier, the control-end instant messaging token, and the controlled-device universal identifier list sent by the universal identifier server, and present the controlled-device universal identifier list; a second receiving unit 604, configured to receive a control instruction input by the user in response to receiving a controlled device selection operation of the user on the controlled device universal identifier in the presented controlled device universal identifier list; a third sending unit 605, configured to send the target controlled device universal identifier, the control instruction, and the control end instant messaging token, to which the controlled device selection operation is directed, to the instant messaging server, so that the instant messaging server determines, according to the control end instant messaging token, whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier.
In this embodiment, specific processes of the first sending unit 601, the second sending unit 602, the first receiving unit 603, the second receiving unit 604, and the third sending unit 605 of the apparatus 600 for controlling a remote control of an intelligent device of a terminal and technical effects brought by the specific processes can refer to related descriptions of step 201, step 202, step 203, step 204, and step 205 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of this embodiment, the apparatus 600 may further include: a presentation unit 606 configured to present at least one third party account type information; the first determining unit 607 is configured to, in response to receiving an account type selection operation of a user on third party account type information in the presented at least one piece of third party account type information, determine a third party account type indicated by the third party account type information to which the account type selection operation is directed as a target third party account type.
In some optional implementation manners of this embodiment, the generating, by the third party server, a third party token corresponding to the account information may include: and the third party server responds to the verification of the account information and generates a third party token corresponding to the account information.
With continuing reference to fig. 7, as an implementation of the method shown in the above-mentioned figures, the present application provides an embodiment of an intelligent device remote control apparatus for a controlled device, where the apparatus embodiment corresponds to the method embodiment shown in fig. 3, and the apparatus may be applied to various electronic devices in particular.
As shown in fig. 7, the intelligent device remote control apparatus 700 for a controlled device of the present embodiment includes: a fourth transmitting unit 701 and a third receiving unit 702. The fourth sending unit 701 is configured to, in response to detecting a start signal, send a preset device identifier to a universal identifier server, so that the universal identifier server determines a controlled device universal identifier corresponding to the preset device identifier, generates a universal identifier token according to the controlled device universal identifier, sends the controlled device universal identifier to an instant messaging server, and receives, from the instant messaging server, a controlled device instant messaging token generated by the instant messaging server according to the controlled device universal identifier; a third receiving unit 702, configured to receive the controlled device instant messaging token and the universal identification token sent by the universal identification server, so as to communicate with the instant messaging server by using the controlled device instant messaging token, and communicate with the universal identification server by using the universal identification token.
In this embodiment, specific processing of the fourth sending unit 701 and the third receiving unit 702 of the apparatus 700 for remotely controlling an intelligent device of a controlled device and technical effects brought by the processing can refer to related descriptions of step 301 and step 302 in the corresponding embodiment of fig. 3, which are not described herein again.
Referring to fig. 8, as an implementation of the method shown in the above-mentioned figures, the present application provides an embodiment of an intelligent device remote control apparatus for a universal identity server, where the apparatus embodiment corresponds to the method embodiment shown in fig. 4, and the apparatus may be applied to various electronic devices in particular.
As shown in fig. 8, the intelligent device remote control apparatus 800 for a universal identification server according to this embodiment includes: a fifth transmitting unit 801, a second determining unit 802, a sixth transmitting unit 803, a fourth receiving unit 804, a first acquiring unit 805, a seventh transmitting unit 806, a third determining unit 807, a first generating unit 808, an eighth transmitting unit 809, and a ninth transmitting unit 810. The fifth sending unit 801 is configured to, in response to receiving a third-party server identifier and a third-party token sent by a control terminal, send the third-party token to a third-party server indicated by the third-party server identifier, so that the third-party server determines, according to the received third-party token, user information corresponding to the received third-party token; a second determining unit 802, configured to determine, in response to receiving user information corresponding to the third-party token and sent by the third-party server, a control-end common identifier corresponding to the third-party server identifier and the user information; a sixth sending unit 803, configured to send the control-end universal identifier to an instant messaging server, so that the instant messaging server generates a control-end instant messaging token according to the control-end universal identifier; a fourth receiving unit 804, configured to receive the control-end instant messaging token sent by the instant messaging server; a first obtaining unit 805 configured to obtain a controlled device universal identifier list corresponding to the control end universal identifier; a seventh sending unit 806, configured to send the control-end universal identifier, the control-end instant messaging token, and the controlled-device universal identifier list to the control terminal; a third determining unit 807, configured to determine, in response to receiving the device identifier sent by the controlled device, a controlled device common identifier corresponding to the device identifier; a first generating unit 808, configured to generate a universal identification token according to the controlled device universal identification; an eighth sending unit 809, configured to send the controlled device universal identifier to an instant messaging server, so that the instant messaging server generates a controlled device instant messaging token according to the controlled device universal identifier; a ninth sending unit 810, configured to, in response to receiving the controlled device instant messaging token sent by the instant messaging server, send the controlled device instant messaging token and the universal identification token to the controlled device, so that the controlled device communicates with the instant messaging server by using the controlled device instant messaging token and communicates with the universal identification server by using the universal identification token.
In this embodiment, for specific processing of the fifth sending unit 801, the second determining unit 802, the sixth sending unit 803, the fourth receiving unit 804, the first obtaining unit 805, the seventh sending unit 806, the third determining unit 807, the first generating unit 808, the eighth sending unit 809 and the ninth sending unit 810 of the apparatus 800 for remotely controlling an intelligent device of a universal identity server and technical effects brought by the specific processing, reference may be made to the relevant description of steps 401 to step 410 in the corresponding embodiment of fig. 4, and no further description is given here.
In some optional implementations of the present embodiment, the second determining unit 802 may include: a first query module (not shown) configured to query a first preset database for a control-end universal identifier corresponding to the third-party server identifier and the user information, where the first preset database stores the third-party server identifier, the user information, and the control-end universal identifier correspondingly; a first determining module (not shown) configured to determine, in response to querying a control end common identifier corresponding to the third-party server identifier and the user information, the queried control end common identifier as a control end common identifier corresponding to the third-party server identifier and the user information; and a first generating and storing module (not shown) configured to, in response to a situation that the control-end universal identifier corresponding to the third-party server identifier and the user information is not queried, generate the control-end universal identifier corresponding to the third-party server identifier and the user information according to a preset universal identifier format, and correspondingly store the generated control-end universal identifier, the third-party server identifier, and the user information in the first preset database.
In some optional implementations of the present embodiment, the third determining unit 807 may include: a second query module (not shown) configured to query a second preset database for the controlled device universal identifier corresponding to the device identifier; a second determining module (not shown) configured to, in response to querying the controlled device universal identifier corresponding to the device identifier, determine the queried controlled device universal identifier as the controlled device universal identifier corresponding to the device identifier; and a second generating and storing module (not shown) configured to, in response to that the controlled device universal identifier corresponding to the device identifier is not queried, generate a controlled device universal identifier corresponding to the device identifier according to the preset universal identifier format, and store the generated controlled device universal identifier and the device identifier in the second preset database in a corresponding manner.
In some optional implementation manners of this embodiment, the control terminal common identifier in the first preset database and the controlled device common identifier in the second preset database are different from each other.
With further reference to fig. 9, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an intelligent device remote control apparatus for an instant messaging server, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 5, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 9, the intelligent device remote control apparatus 900 for an instant messaging server of the present embodiment includes: a second generating unit 901, a tenth transmitting unit 902, a third generating unit 903, an eleventh transmitting unit 904, and a fourth determining unit 905. The second generating unit 901 is configured to respond to a received control terminal universal identifier sent by the universal identifier server, and generate a control terminal instant messaging token according to the control terminal universal identifier; a tenth sending unit 902, configured to send the generated control-end instant messaging token to the above-mentioned universal identity server; a third generating unit 903, configured to generate, in response to receiving the controlled device universal identifier sent by the universal identifier server, a controlled device instant messaging token according to the controlled device universal identifier; an eleventh sending unit 904, configured to send the generated controlled device instant messaging token to the universal identity server; the fourth determining unit 905 is configured to, in response to receiving the target controlled device universal identifier, the control instruction, and the control end instant communication token sent by the control terminal, determine whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier according to the received control end instant communication token.
In this embodiment, for specific processing of the second generating unit 901, the tenth sending unit 902, the third generating unit 903, the eleventh sending unit 904, and the fourth determining unit 905 of the apparatus 900 for remotely controlling an intelligent device of an instant messaging server, and technical effects brought by the specific processing, reference may be made to relevant descriptions of steps 501 to 505 in the embodiment corresponding to fig. 5, and no further description is given here.
Reference is now made to fig. 10A and 10B, which illustrate timing diagrams of one embodiment of a smart device remote control system according to the present application.
As shown in fig. 10A and 10B, the intelligent device remote control system of this embodiment may include a control terminal, a controlled device, a universal identifier server, an instant messaging server, and a third-party server. The control terminal may implement the intelligent device remote control method for the control terminal shown in fig. 2, the controlled device may implement the intelligent device remote control method for the controlled device shown in fig. 3, the universal identification server may implement the intelligent device remote control method for the universal identification server shown in fig. 4, and the instant messaging server may implement the intelligent device remote control method for the instant messaging server shown in fig. 5. The third party server may provide support for the third party account type.
The main process of the timing sequence between the control terminal, the third-party server, the universal identification server and the instant messaging server in this embodiment is as follows:
the control terminal responds to the received account information of the target third party account type input by the user and sends the account information to a third party server corresponding to the target third party account type. And the third-party server generates a third-party token corresponding to the account information according to the received account information and then sends the generated third-party token to the control terminal. And the control terminal responds to the received third-party token sent by the third-party server and sends the third-party server identifier and the third-party token of the third-party server to the universal identifier server. And the universal identification server sends the third party token to a third party server. And the third-party server receives the third-party token, verifies the third-party token, acquires user information corresponding to the third-party token under the condition of passing the verification, and finally sends the acquired user information to the universal identification server. The universal identification server then receives the user information from the third-party server, then determines a control terminal universal identification corresponding to the third-party server identification and the user information, and then sends the determined control terminal universal identification to the instant messaging server. And after receiving the control terminal universal identification, the instant messaging server generates a control terminal instant messaging token according to the control terminal universal identification and sends the generated control terminal instant messaging token to the universal identification server. The universal identification server receives the control end instant communication token sent by the instant communication server, acquires a controlled device universal identification list corresponding to the control end universal identification, and sends the control end universal identification, the control end instant communication token and the controlled device universal identification list to the control terminal. And the control terminal receives the control terminal universal identification, the control terminal instant communication token and the controlled equipment universal identification list which are sent by the universal identification server, and presents the controlled equipment universal identification list. And the control terminal receives a control instruction input by the user in response to receiving the selection operation of the user on the controlled equipment of the controlled equipment universal identification in the presented controlled equipment universal identification list. And the control terminal sends the target controlled equipment general identification, the control instruction and the control end instant communication token which are aimed at by the controlled equipment selection operation to the instant communication server. And the instant communication server determines whether to forward the control instruction to the target controlled equipment indicated by the universal identification of the target controlled equipment or not according to the control end instant communication token.
Specifically, please refer to fig. 10A:
in step 1001A, in response to receiving account information of a target third party account type input by a user, the control terminal sends the account information to a third party server corresponding to the target third party account type.
In step 1002A, the third party server generates a third party token corresponding to the account information according to the received account information.
In step 1003A, the third party server transmits the generated third party token to the control terminal.
In step 1004A, the control terminal sends the third party server identification and the third party token of the third party server to the universal identification server.
In step 1005A, the universal identification server sends the third party token to the third party server.
In step 1006A, the third party server verifies the third party token, and acquires the user information corresponding to the third party token if the verification is passed.
In step 1007A, the third party server sends the acquired user information to the universal identification server.
In step 1008A, the universal identification server determines a control-side universal identification corresponding to the third-party server identification and the user information.
In step 1009A, the universal identifier server sends the determined control-end universal identifier to the instant messaging server.
In step 1010A, the instant messaging server generates a control-end instant messaging token according to the control-end universal identifier.
In step 1011A, the instant messaging server sends the generated control-end instant messaging token to the universal identification server.
In step 1012A, the universal identifier server obtains a controlled device universal identifier list corresponding to the control-side universal identifier.
In step 1013A, the universal identifier server sends the control-side universal identifier, the control-side instant messaging token, and the controlled device universal identifier list to the control terminal.
In step 1014A, the control terminal presents a controlled device universal identification list, and receives a control instruction input by a user in response to receiving a user selection operation on a controlled device of the controlled device universal identification in the presented controlled device universal identification list.
In step 1015A, the control terminal sends the target controlled device universal identifier, the control instruction and the control end instant messaging token targeted by the controlled device selection operation to the instant messaging server.
In step 1016A, the instant messaging server determines whether to forward the control command to the target controlled device indicated by the target controlled device universal identifier according to the control-side instant messaging token.
In this embodiment, for specific operations of step 1001A, step 1004A, step 1014A and step 1015A, reference may be made to the related description of the embodiment shown in fig. 2, which is not repeated herein.
In this embodiment, for specific operations of step 1005A, step 1008A, step 1009A, step 1012A and step 1013A, reference may be made to the related description of the embodiment shown in fig. 4, and details are not repeated here.
In this embodiment, reference may be made to the related description of the embodiment shown in fig. 5 for specific operations of 1010A, 1011A and 1016A, which are not described herein again.
The main process of the time sequence among the controlled device, the universal identification server and the instant messaging server in this embodiment is as follows: and the controlled equipment responds to the detected starting signal and sends the preset equipment identification to the universal identification server. The universal identification server determines a controlled equipment universal identification corresponding to the received preset equipment identification, generates a universal identification token according to the controlled equipment universal identification, and sends the controlled equipment universal identification to the instant messaging server. The instant communication server generates an instant communication token of the controlled equipment according to the received universal identifier of the controlled equipment and sends the generated instant communication token of the controlled equipment to the universal identifier server. And the universal identification server sends the generated universal identification token and the controlled equipment instant communication token received from the instant communication server to the controlled equipment. The controlled device receives the controlled device instant communication token sent by the universal identification server and received from the instant communication server and the universal identification token generated by the universal identification server, so that the controlled device instant communication token can be used for communicating with the instant communication server and the universal identification token can be used for communicating with the universal identification server.
Specifically, please refer to fig. 10B:
in step 1001B, the controlled device sends the preset device identifier to the universal identifier server in response to detecting the activation signal.
In step 1002B, the universal identifier server determines a controlled device universal identifier corresponding to the received preset device identifier, and generates a universal identifier token according to the controlled device universal identifier.
In step 1003B, the universal identifier server sends the controlled device universal identifier to the instant messaging server.
In step 1004B, the instant messaging server generates a controlled device instant messaging token according to the received controlled device universal identifier.
In step 1005B, the instant messaging server sends the generated controlled device instant messaging token to the universal identification server.
In step 1006B, the universal identification server sends the generated universal identification token and the controlled device instant messaging token received from the instant messaging server to the controlled device.
In step 1007B, the controlled device receives the controlled device instant messenger token and the universal identification token sent by the universal identification server, so as to communicate with the instant messenger server by using the controlled device instant messenger token and communicate with the universal identification server by using the universal identification token.
In this embodiment, reference may be made to the related description of the embodiment shown in fig. 3 for specific operations of step 1001B and step 1007B, which are not described herein again.
In this embodiment, for specific operations of step 1002B, step 1003B and step 1006B, reference may be made to the related description of the embodiment shown in fig. 4, and details are not repeated here.
In this embodiment, for specific operations of step 1004B and step 1005B, reference may be made to the related description of the embodiment shown in fig. 5, which is not repeated herein.
The intelligent device remote control system provided by the embodiment realizes that a user logs in by using a third party account in the control terminal by adding the universal identification server, maps the third party account to a uniform universal identification in the universal identification server, maps a hardware identification of the controlled device to the uniform universal identification in the universal identification server, and realizes that the control terminal and the controlled device communicate through the instant messaging server by the mapped uniform universal identification, thereby not needing to register accounts for the control terminal and the controlled device in batch in advance, simplifying the control flow, and realizing that the control terminal can control the controlled device by using the existing third party account.
Referring now to fig. 11, there is shown a schematic diagram of a computer system suitable for implementing a control terminal, a controlled device, a universal identification server or an instant messaging server according to an embodiment of the present application. The control terminal, the controlled device, the universal identification server or the instant messaging server shown in fig. 11 are only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 11, a computer system 1100 includes a Central Processing Unit (CPU)1101, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 1102 or a program loaded from a storage section 1106 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data necessary for the operation of the system 1100 are also stored. The CPU 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. An Input/Output (I/O) interface 1105 is also connected to bus 1104.
The following components are connected to the I/O interface 1105: a storage portion 1106 including a hard disk and the like; and a communication section 1107 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1107 performs communication processing via a network such as the internet. A driver 1108 is also connected to the I/O interface 1105 as needed. A removable medium 1109 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1108 as necessary, so that a computer program read out therefrom is installed in the storage section 1106 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network through communication section 1107, and/or installed from removable media 1109. The above-described functions defined in the method of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 1101. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first transmitting unit, a second transmitting unit, a first receiving unit, a second receiving unit, and a third transmitting unit. As another example, it can be described as: a processor includes a fourth transmitting unit and a third receiving unit. As another example, it can be described as: a processor includes a fifth transmitting unit, a second determining unit, a sixth transmitting unit, a fourth receiving unit, a first obtaining unit, a seventh transmitting unit, a third determining unit, a first generating unit, an eighth transmitting unit, and a ninth transmitting unit. Also for example, it can be described as: a second generating unit, a tenth transmitting unit, a third generating unit, an eleventh transmitting unit, and a fourth determining unit. The names of these units do not in some cases constitute a limitation on the unit itself, and for example, the first transmission unit may also be described as a "unit that transmits account information".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to account information of a target third party account type input by a user, and sending the account information to a third party server corresponding to the target third party account type so that the third party server can generate a third party token corresponding to the account information; responding to the received third-party token sent by the third-party server, sending a third-party server identifier of the third-party server and the third-party token to a universal identifier server, so that the universal identifier server sends the third-party token to the third-party server, receiving user information corresponding to the third-party token from the third-party server, determining a control-end universal identifier corresponding to the third-party server identifier and the user information, sending the control-end universal identifier to an instant messaging server, receiving a control-end instant messaging token generated by the instant messaging server according to the control-end universal identifier from the instant messaging server, and acquiring a controlled device universal identifier list corresponding to the control-end universal identifier; receiving the control terminal universal identification, the control terminal instant communication token and the controlled equipment universal identification list sent by the universal identification server, and presenting the controlled equipment universal identification list; receiving a control instruction input by the user in response to receiving the selection operation of the user on the controlled equipment of the controlled equipment universal identification in the presented controlled equipment universal identification list; and sending the target controlled device universal identification, the control instruction and the control end instant communication token, which are aimed at by the controlled device selection operation, to the instant communication server, so that the instant communication server determines whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identification according to the control end instant communication token.
As yet another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to the detection of a starting signal, sending a preset device identifier to a universal identifier server so that the universal identifier server can determine a controlled device universal identifier corresponding to the preset device identifier, generating a universal identifier token according to the controlled device universal identifier, sending the controlled device universal identifier to an instant messaging server, and receiving a controlled device instant messaging token generated by the instant messaging server according to the controlled device universal identifier from the instant messaging server; and receiving the controlled device instant messaging token and the universal identification token sent by the universal identification server, so as to communicate with the instant messaging server by using the controlled device instant messaging token and communicate with the universal identification server by using the universal identification token.
As yet another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to a third-party server identifier and a third-party token sent by a control terminal, sending the third-party token to a third-party server indicated by the third-party server identifier, so that the third-party server determines user information corresponding to the received third-party token according to the received third-party token; responding to the received user information which is sent by the third-party server and corresponds to the third-party token, and determining a control terminal universal identification which corresponds to the third-party server identification and the user information; sending the control terminal universal identification to an instant messaging server for the instant messaging server to generate a control terminal instant messaging token according to the control terminal universal identification; receiving the control end instant communication token sent by the instant communication server; acquiring a controlled equipment universal identification list corresponding to the control terminal universal identification; sending the control terminal universal identification, the control terminal instant messaging token and the controlled equipment universal identification list to the control terminal; in response to receiving a device identifier sent by a controlled device, determining a controlled device universal identifier corresponding to the device identifier; generating a universal identification token according to the universal identification of the controlled equipment; sending the controlled equipment universal identification to an instant messaging server for the instant messaging server to generate a controlled equipment instant messaging token according to the controlled equipment universal identification; and responding to the received controlled equipment instant communication token sent by the instant communication server, sending the controlled equipment instant communication token and the universal identification token to the controlled equipment so that the controlled equipment can communicate with the instant communication server by using the controlled equipment instant communication token and communicate with the universal identification server by using the universal identification token.
As yet another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to the received universal control end identification sent by the universal identification server, and generating a control end instant communication token according to the universal control end identification; sending the generated control end instant communication token to the universal identification server; responding to the received universal identification of the controlled equipment sent by the universal identification server, and generating an instant messaging token of the controlled equipment according to the universal identification of the controlled equipment; sending the generated controlled device instant communication token to the universal identification server; and in response to receiving the target controlled device universal identifier, the control instruction and the control end instant communication token sent by the control terminal, determining whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier according to the received control end instant communication token.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (27)

1. A remote control method for intelligent equipment of a control terminal is characterized by comprising the following steps:
responding to account information of a target third party account type input by a user, and sending the account information to a third party server corresponding to the target third party account type so that the third party server can generate a third party token corresponding to the account information;
in response to receiving the third party token sent by the third party server, sending a third party server identification of the third party server and the third party token to a universal identification server, for the universal identification server to send the third party token to the third party server and receive user information corresponding to the third party token from the third party server, and determining a control terminal universal identification corresponding to the third party server identification and the user information, and sending the control terminal universal identification to an instant messaging server, and receiving a control end instant communication token generated by the instant communication server according to the control end universal identification from the instant communication server, acquiring a controlled device universal identification list corresponding to the control terminal universal identification, wherein the controlled device universal identification is determined by a universal identification server;
receiving the universal control end identifier, the instant messaging token of the control end and the universal controlled equipment identifier list sent by the universal identifier server, and presenting the universal controlled equipment identifier list;
receiving a control instruction input by the user in response to receiving a controlled device selection operation of the user on the controlled device universal identification in the presented controlled device universal identification list;
and sending the target controlled device universal identification, the control instruction and the control end instant communication token, which are aimed at by the controlled device selection operation, to the instant communication server, so that the instant communication server determines whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identification according to the control end instant communication token.
2. The method of claim 1, wherein before the receiving account information of a target third party account type input by a user and sending the account information to a third party server corresponding to the target third party account type, the method further comprises:
presenting at least one third party account type information;
in response to receiving an account type selection operation of a user on third party account type information in the at least one piece of presented third party account type information, determining a third party account type indicated by the third party account type information for which the account type selection operation is directed as a target third party account type.
3. The method of claim 2, wherein the third party server generating a third party token corresponding to the account information comprises:
and the third party server responds to the verification of the account information and generates a third party token corresponding to the account information.
4. A method for remotely controlling an intelligent device of a controlled device, the method comprising:
responding to the detection of a starting signal, sending a preset device identifier to a universal identifier server so that the universal identifier server can determine a controlled device universal identifier corresponding to the preset device identifier, generating a universal identifier token according to the controlled device universal identifier, sending the controlled device universal identifier to an instant messaging server, and receiving the controlled device instant messaging token generated by the instant messaging server according to the controlled device universal identifier from the instant messaging server;
and receiving the controlled equipment instant messaging token and the universal identification token sent by the universal identification server, so as to communicate with the instant messaging server by using the controlled equipment instant messaging token and communicate with the universal identification server by using the universal identification token.
5. A method for remotely controlling an intelligent device through a universal identification server, the method comprising:
in response to receiving a third-party server identifier and a third-party token sent by a control terminal, sending the third-party token to a third-party server indicated by the third-party server identifier, so that the third-party server can determine user information corresponding to the received third-party token according to the received third-party token;
responding to the received user information which is sent by the third-party server and corresponds to the third-party token, and determining a control terminal universal identification which corresponds to the third-party server identification and the user information;
sending the control terminal universal identification to an instant messaging server so that the instant messaging server can generate a control terminal instant messaging token according to the control terminal universal identification;
receiving the control end instant messaging token sent by the instant messaging server;
acquiring a controlled equipment universal identification list corresponding to the control terminal universal identification;
sending the control terminal universal identification, the control terminal instant messaging token and the controlled equipment universal identification list to the control terminal;
in response to receiving a device identifier sent by a controlled device, determining a controlled device universal identifier corresponding to the device identifier;
generating a universal identification token according to the universal identification of the controlled equipment;
sending the controlled equipment universal identification to an instant messaging server so that the instant messaging server can generate a controlled equipment instant messaging token according to the controlled equipment universal identification;
and responding to the received controlled equipment instant communication token sent by the instant communication server, sending the controlled equipment instant communication token and the universal identification token to the controlled equipment so that the controlled equipment can communicate with the instant communication server by using the controlled equipment instant communication token and communicate with the universal identification server by using the universal identification token.
6. The method of claim 5, wherein the determining the control-side universal identifier corresponding to the third-party server identifier and the user information comprises:
inquiring a control terminal universal identification corresponding to the third-party server identification and the user information in a first preset database, wherein the third-party server identification, the user information and the control terminal universal identification are correspondingly stored in the first preset database;
in response to inquiring the control terminal universal identification corresponding to the third-party server identification and the user information, determining the inquired control terminal universal identification as the control terminal universal identification corresponding to the third-party server identification and the user information;
responding to the situation that a control terminal universal identification corresponding to the third-party server identification and the user information is not inquired, generating a control terminal universal identification corresponding to the third-party server identification and the user information according to a preset universal identification format, and correspondingly storing the generated control terminal universal identification, the third-party server identification and the user information into the first preset database.
7. The method of claim 6, wherein the determining a controlled device universal identifier corresponding to the device identifier comprises:
inquiring a controlled equipment universal identification corresponding to the equipment identification in a second preset database;
in response to the fact that the controlled device universal identification corresponding to the device identification is inquired, determining the inquired controlled device universal identification as the controlled device universal identification corresponding to the device identification;
responding to the situation that the controlled equipment universal identification corresponding to the equipment identification is not inquired, generating the controlled equipment universal identification corresponding to the equipment identification according to the preset universal identification format, and correspondingly storing the generated controlled equipment universal identification and the equipment identification into the second preset database.
8. The method according to claim 7, wherein the control terminal common identifiers in the first predetermined database and the controlled device common identifiers in the second predetermined database are different from each other.
9. An intelligent device control method for an instant messaging server, the method comprising:
responding to the received universal control end identification sent by the universal identification server, and generating a control end instant communication token according to the universal control end identification;
sending the generated control end instant communication token to the universal identification server;
responding to the received universal identification of the controlled equipment sent by the universal identification server, and generating an instant messaging token of the controlled equipment according to the universal identification of the controlled equipment;
sending the generated controlled equipment instant communication token to the universal identification server;
and in response to receiving the target controlled device universal identifier, the control instruction and the control end instant communication token sent by the control terminal, determining whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier according to the received control end instant communication token.
10. An intelligent device remote control apparatus for controlling a terminal, the apparatus comprising:
the first sending unit is configured to respond to account information of a target third party account type input by a user, and send the account information to a third party server corresponding to the target third party account type, so that the third party server can generate a third party token corresponding to the account information;
a second sending unit, configured to send, in response to receiving the third-party token sent by the third-party server, a third-party server identifier of the third-party server and the third-party token to a universal identifier server, so that the universal identifier server sends the third-party token to the third-party server, receives, from the third-party server, user information corresponding to the third-party token, determines a control-end universal identifier corresponding to the third-party server identifier and the user information, sends the control-end universal identifier to an instant messaging server, receives, from the instant messaging server, a control-end instant messaging token generated by the instant messaging server according to the control-end universal identifier, and obtains a controlled-device universal identifier list corresponding to the control-end universal identifier, the controlled equipment universal identification is determined by a universal identification server;
the first receiving unit is configured to receive the control terminal universal identifier, the control terminal instant messaging token and the controlled device universal identifier list sent by the universal identifier server, and present the controlled device universal identifier list;
a second receiving unit, configured to receive a control instruction input by the user in response to receiving a controlled device selection operation of the user on a controlled device universal identifier in the presented controlled device universal identifier list;
and a third sending unit, configured to send the target controlled device universal identifier, the control instruction, and the control-end instant messaging token, to which the controlled device selection operation is directed, to the instant messaging server, so that the instant messaging server determines, according to the control-end instant messaging token, whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier.
11. The apparatus of claim 10, further comprising:
the presentation unit is configured to present at least one third party account type information;
the first determining unit is configured to determine, in response to receiving an account type selection operation of a user on third party account type information in the presented at least one piece of third party account type information, a third party account type indicated by the third party account type information to which the account type selection operation is directed as a target third party account type.
12. The apparatus of claim 11, wherein the third party server generates a third party token corresponding to the account information, comprising:
and the third party server responds to the verification of the account information and generates a third party token corresponding to the account information.
13. An intelligent device remote control apparatus for a controlled device, the apparatus comprising:
a fourth sending unit, configured to send a preset device identifier to a universal identifier server in response to detection of a start signal, so that the universal identifier server determines a controlled device universal identifier corresponding to the preset device identifier, generates a universal identifier token according to the controlled device universal identifier, sends the controlled device universal identifier to an instant messaging server, and receives, from the instant messaging server, a controlled device instant messaging token generated by the instant messaging server according to the controlled device universal identifier;
and the third receiving unit is configured to receive the controlled device instant messaging token and the universal identification token sent by the universal identification server, so as to communicate with the instant messaging server by using the controlled device instant messaging token and communicate with the universal identification server by using the universal identification token.
14. An intelligent device remote control apparatus for a universal identification server, the apparatus comprising:
the fifth sending unit is configured to respond to the third-party server identifier and the third-party token sent by the control terminal, and send the third-party token to the third-party server indicated by the third-party server identifier, so that the third-party server can determine user information corresponding to the received third-party token according to the received third-party token;
the second determining unit is configured to determine a control terminal universal identifier corresponding to the third-party server identifier and the user information in response to receiving the user information corresponding to the third-party token and sent by the third-party server;
a sixth sending unit, configured to send the control-end universal identifier to an instant messaging server, so that the instant messaging server generates a control-end instant messaging token according to the control-end universal identifier;
a fourth receiving unit, configured to receive the control-end instant messaging token sent by the instant messaging server;
the first acquisition unit is configured to acquire a controlled device universal identifier list corresponding to the control terminal universal identifier;
a seventh sending unit, configured to send the control-end universal identifier, the control-end instant messaging token, and the controlled-device universal identifier list to the control terminal;
the third determining unit is configured to determine a controlled device universal identifier corresponding to the device identifier in response to receiving the device identifier sent by the controlled device;
the first generating unit is configured to generate a universal identification token according to the controlled device universal identification;
the eighth sending unit is configured to send the controlled device universal identifier to an instant messaging server, so that the instant messaging server generates a controlled device instant messaging token according to the controlled device universal identifier;
a ninth sending unit, configured to, in response to receiving the controlled device instant messaging token sent by the instant messaging server, send the controlled device instant messaging token and the universal identification token to the controlled device, so that the controlled device communicates with the instant messaging server by using the controlled device instant messaging token, and communicates with the universal identification server by using the universal identification token.
15. The apparatus according to claim 14, wherein the second determining unit comprises:
the first query module is configured to query a first preset database for a control terminal universal identifier corresponding to the third-party server identifier and the user information, wherein the first preset database correspondingly stores the third-party server identifier, the user information and the control terminal universal identifier;
a first determining module, configured to determine, in response to querying a control-end universal identifier corresponding to the third-party server identifier and the user information, the queried control-end universal identifier as a control-end universal identifier corresponding to the third-party server identifier and the user information;
and the first generation and storage module is configured to respond to the situation that a control terminal universal identification corresponding to the third-party server identification and the user information is not inquired, generate a control terminal universal identification corresponding to the third-party server identification and the user information according to a preset universal identification format, and correspondingly store the generated control terminal universal identification, the third-party server identification and the user information into the first preset database.
16. The apparatus of claim 15, wherein the third determining unit comprises:
the second query module is configured to query the controlled device universal identifier corresponding to the device identifier in a second preset database;
the second determination module is configured to respond to the inquiry of the controlled device universal identification corresponding to the device identification, and determine the inquired controlled device universal identification as the controlled device universal identification corresponding to the device identification;
and the second generation and storage module is configured to respond to the situation that the controlled device universal identification corresponding to the device identification is not inquired, generate the controlled device universal identification corresponding to the device identification according to the preset universal identification format, and correspondingly store the generated controlled device universal identification and the device identification in the second preset database.
17. The apparatus according to claim 16, wherein the control terminal common id in the first predetermined database and the controlled device common id in the second predetermined database are different from each other.
18. An intelligent device control apparatus for an instant messaging server, the apparatus comprising:
the second generation unit is configured to respond to the received control terminal universal identification sent by the universal identification server and generate a control terminal instant messaging token according to the control terminal universal identification;
a tenth sending unit, configured to send the generated control-end instant messaging token to the universal identification server;
the third generating unit is configured to respond to the received universal identifier of the controlled device sent by the universal identifier server, and generate an instant messaging token of the controlled device according to the universal identifier of the controlled device;
an eleventh sending unit, configured to send the generated controlled device instant messaging token to the universal identification server;
and the fourth determining unit is configured to respond to the received target controlled device universal identifier, the control instruction and the control end instant communication token sent by the control terminal, and determine whether to forward the control instruction to the target controlled device indicated by the target controlled device universal identifier according to the received control end instant communication token.
19. A control terminal, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-3.
20. A controlled device, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as recited in claim 4.
21. A universal identification server, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 5-8.
22. An instant messaging server, comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of claim 9.
23. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-3.
24. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of claim 4.
25. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 5-8.
26. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of claim 9.
27. A remote control system for intelligent devices, the system comprising the control terminal according to claim 19, the controlled device according to claim 20, the universal identification server according to claim 21, the instant messaging server according to claim 22, and a third-party server for supporting third-party account types.
CN201710742879.0A 2017-08-25 2017-08-25 Method, device and system for remotely controlling intelligent equipment Active CN107370668B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710742879.0A CN107370668B (en) 2017-08-25 2017-08-25 Method, device and system for remotely controlling intelligent equipment
US16/054,946 US11108761B2 (en) 2017-08-25 2018-08-03 Method, apparatus and system for remote control of intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710742879.0A CN107370668B (en) 2017-08-25 2017-08-25 Method, device and system for remotely controlling intelligent equipment

Publications (2)

Publication Number Publication Date
CN107370668A CN107370668A (en) 2017-11-21
CN107370668B true CN107370668B (en) 2020-04-28

Family

ID=60310399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710742879.0A Active CN107370668B (en) 2017-08-25 2017-08-25 Method, device and system for remotely controlling intelligent equipment

Country Status (2)

Country Link
US (1) US11108761B2 (en)
CN (1) CN107370668B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022282B (en) * 2018-01-08 2020-10-23 比亚迪股份有限公司 Safety command interaction method of rail transit signal system
CN108989879B (en) * 2018-08-28 2021-06-15 广州视源电子科技股份有限公司 Screen projection control method, device and system
CN109922147A (en) * 2019-03-04 2019-06-21 上海卓易科技股份有限公司 A kind of long-range control method, device, server and storage medium
CN110022323A (en) * 2019-04-17 2019-07-16 杭州玳数科技有限公司 A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux
CN111245922A (en) * 2020-01-08 2020-06-05 北京松果电子有限公司 Vehicle-mounted terminal, vehicle-mounted service platform, information processing method and storage medium
EP3897018A1 (en) * 2020-04-17 2021-10-20 Secure Thingz Limited A provisioning control apparatus, system and method
EP3897017B1 (en) * 2020-04-17 2023-11-01 Secure Thingz Limited A provisioning control apparatus, system and method
CN113596124B (en) * 2021-07-20 2023-04-28 四川虹美智能科技有限公司 Control system and method of intelligent equipment
WO2023092563A1 (en) * 2021-11-29 2023-06-01 华为技术有限公司 Remote control method and apparatus
CN114726918B (en) * 2022-02-15 2024-04-02 深圳Tcl新技术有限公司 Internet of things cross-network communication method, device, equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100499495C (en) * 2006-01-25 2009-06-10 中兴通讯股份有限公司 A remote login implementation method based on SNMP protocol
US7983795B2 (en) * 2007-03-08 2011-07-19 Kurt Josephson Networked electrical interface
US8544076B2 (en) * 2009-11-11 2013-09-24 Blackberry Limited Using a trusted token and push for validating the request for single sign on
DE112011100626T5 (en) * 2010-02-22 2013-01-24 Avaya Inc. Secure, policy-based communication security and file sharing through mixed media, mixed communication modalities, and expandable to cloud computing, such as service-oriented architecture (SOA)
US8572710B2 (en) * 2010-03-18 2013-10-29 Microsoft Corporation Pluggable token provider model to implement authentication across multiple web services
US20110265166A1 (en) * 2010-04-26 2011-10-27 Research In Motion Limited Integrated authentication
CN101986227A (en) * 2010-11-09 2011-03-16 北京理工大学 Long-distance control system
CN104980332A (en) * 2014-04-14 2015-10-14 深圳市亚汇讯实业有限公司 System and method for remote data management
CN104618435B (en) * 2014-12-29 2016-11-09 北京奇虎科技有限公司 Realize method and the long-distance desktop management system of remote desktop
US10387636B2 (en) * 2015-10-20 2019-08-20 Vivint, Inc. Secure unlock of a device
US10382203B1 (en) * 2016-11-22 2019-08-13 Amazon Technologies, Inc. Associating applications with Internet-of-things (IoT) devices using three-way handshake
US10333945B2 (en) * 2017-01-18 2019-06-25 Oath Inc. Automatic token based secure content streaming method and apparatus

Also Published As

Publication number Publication date
US11108761B2 (en) 2021-08-31
CN107370668A (en) 2017-11-21
US20190068576A1 (en) 2019-02-28

Similar Documents

Publication Publication Date Title
CN107370668B (en) Method, device and system for remotely controlling intelligent equipment
CN106664545B (en) Method and apparatus for installing configuration files for an eUICC
EP3314977B1 (en) Systems, methods, and apparatus to configure embedded devices
US20180041893A1 (en) Method and system of multi-terminal mapping to a virtual sim card
US10728244B2 (en) Method and system for credential management
CN107248984B (en) Data exchange system, method and device
CN110856126B (en) Information reporting and receiving method, terminal equipment and storage medium
US20140137206A1 (en) Password-free, token-based wireless access
CN107708099B (en) Bluetooth device sharing request and control method and device, and readable storage medium
KR102559827B1 (en) System for authenticating image based on blockchain and hash encryption technique and method thereof
CN108023881B (en) Application login method, device, medium and electronic equipment
US20190199522A1 (en) System and method for communication service verification, and verification server thereof
WO2018129753A1 (en) Method and device for downloading subscription information set, and related equipment
KR102308859B1 (en) Surrogate authentication service system and method based on biometric information
CN105306485A (en) Network access authentication methods, authentication server and authentication system
KR102292007B1 (en) Network node security using short range communication
KR20080088535A (en) Mobile terminal and method for operating a mobile terminal
CN111865761B (en) Social chat information evidence storing method based on block chain intelligent contracts
CN111092949B (en) Method and device for registering equipment
US20200275256A1 (en) Management of a subscriber entity
CN114585055A (en) Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal
CN110851161B (en) Firmware updating method for intelligent household equipment
CN115174266A (en) Air conditioner control method and device, electronic equipment and computer readable storage medium
CN109697097B (en) Data processing method and system
CN116582534B (en) Method and system for realizing data broadcasting

Legal Events

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