CN106161385B - Remote control method and device for equipment - Google Patents
Remote control method and device for equipment Download PDFInfo
- Publication number
- CN106161385B CN106161385B CN201510179869.1A CN201510179869A CN106161385B CN 106161385 B CN106161385 B CN 106161385B CN 201510179869 A CN201510179869 A CN 201510179869A CN 106161385 B CN106161385 B CN 106161385B
- Authority
- CN
- China
- Prior art keywords
- equipment
- control instruction
- identifier
- login
- control
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a remote control method of equipment, which comprises the following steps: receiving a control instruction sent by first equipment; the control instruction carries the equipment identifier of the first equipment and the equipment identifier of the second equipment; and identifying whether the login accounts of the first device and the second device are the same account, if so, judging whether the first device has a control authority over the second device, and if so, sending the control instruction to the second device, wherein the control instruction is used for instructing the second device to execute corresponding operation. Correspondingly, the embodiment of the invention also provides a remote control device of the equipment.
Description
Technical Field
The invention relates to the field of internet, in particular to a remote control method and a remote control device for equipment.
Background
The intelligent equipment is used for transforming the traditional hardware equipment in a mode of combining software and hardware, so that the intelligent equipment has an intelligent function. After the intelligent device is intelligentized, the intelligent device has the connection capability, the internet service is loaded, a typical architecture of 'cloud + end' is formed, and the additional value of big data is achieved.
The user possess more and more intelligent equipment, like common smart television, intelligent STB, intelligent bracelet, intelligent wrist-watch and intelligent drinking cup etc. all adopt dedicated equipment to control smart equipment at present, for example smart television is furnished with the remote controller for remote control smart television, intelligent equipment such as intelligent bracelet, intelligent bracelet controls through the smart mobile phone, different remote control unit need be furnished with to different smart equipment like this, user operation is too loaded down with trivial details.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for remotely controlling a device. The problems of high degree of specialization of control equipment and complex operation of user equipment can be solved.
In order to solve the foregoing technical problem, an embodiment of the present invention provides a remote control method for a device, where a first device and a second device are in a login state, where the remote control method includes:
receiving a control instruction sent by the first equipment; the control instruction carries the equipment identifier of the first equipment and the equipment identifier of the second equipment;
and identifying whether the login accounts of the first device and the second device are the same account, if so, judging whether the first device has a control authority over the second device, and if so, sending the control instruction to the second device, wherein the control instruction is used for instructing the second device to execute corresponding operation.
Correspondingly, an embodiment of the present invention further provides a remote control apparatus for a device, where a first device and a second device are in a login state, the remote control apparatus includes:
the receiving module is used for receiving a control instruction sent by the first equipment; the control instruction carries the equipment identifier of the first equipment and the equipment identifier of the second equipment;
the account identification module is used for identifying whether the login accounts of the first equipment and the second equipment are the same account;
the authority judgment module is used for judging whether the first equipment has the control authority to the second equipment or not if the identification result of the account identification module is positive;
and the sending module is used for sending the control instruction to the second equipment if the judgment result of the permission judgment module is yes, wherein the control instruction is used for indicating the second equipment to execute corresponding operation.
The embodiment of the invention has the following beneficial effects:
the method comprises the steps of receiving a control instruction which is sent by first equipment and used for controlling second equipment, verifying that login accounts of the first equipment and the second equipment are the same account, enabling the first equipment to have control authority over the second equipment, forwarding the control instruction to the second equipment, and enabling the second equipment to execute operation of controlling execution indication, so that remote control among different equipment is achieved, configuration of special control equipment is avoided, and user operation is more convenient and faster.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic system architecture diagram of a remote control method for a device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a remote control method for a device according to an embodiment of the present invention;
FIG. 3 is another schematic flow chart of a method for remotely controlling a device according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a method for remotely controlling a device according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a remote control device of an apparatus according to an embodiment of the present invention;
FIG. 6 is another schematic structural diagram of a remote control device of an apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a remote control device of an apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, which is a schematic diagram of a system architecture of a device remote control method according to an embodiment of the present invention, in the embodiment of the present invention, a system includes a first device, a second device, and a server, where the first device and the second device respectively log in to the server in advance by using a login account, the first device establishes a communication connection with the server, the second device establishes a communication connection with the server, the server receives a control instruction sent by the first device, the control instruction carries a device identifier of the first device and a device identifier of the second device, the server identifies whether the login accounts of the first device and the second device are the same account according to the device identifier of the first device and the device identifier of the second device, if so, it determines whether the first device has a control authority for the second device, if so, the server sends the control instruction to the second device, and the second device receives the control instruction, and executing the operation indicated by the control instruction. The first device and the second device in the embodiment of the present invention may be smart devices such as a smart television, a smart phone, a smart bracelet, a smart watch, or a smart cup, and the server may be an instant messaging server, a mail server, or other servers that log in using a login account, which is not limited in the present invention.
Referring to fig. 2, a schematic flowchart of a method for remotely controlling a device according to an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s101, receiving a control instruction sent by first equipment; and the control instruction carries the equipment identifier of the first equipment and the equipment identifier of the second equipment.
Specifically, the first device and the second device may perform login operation through login accounts registered in the server in advance, the login accounts of the first device and the login account of the second device belong to the same account system, the registration process of the first device and the registration process of the second device are not described herein, and detailed descriptions are provided in the prior art. The first device and the second device log in the server by using the login account, and after the server verifies the legality of the login account, the first device and the second device respectively establish a connection channel with the server. The server receives a control instruction sent by the first device, where the control instruction carries a device identifier of the first device and a device identifier of the second device, the first device is a control device, the second device is a controlled device, the device identifier uniquely identifies an identity of the device, for example, the identity includes an MAC address, a serial number, or an IMEI number, and the device identifier may be stored in a ROM of the device.
S102, identifying whether login accounts of the first device and the second device are the same account, if so, judging whether the first device has a control authority over the second device, and if so, sending the control instruction to the second device, wherein the control instruction is used for instructing the second device to execute corresponding operation.
Specifically, in order to avoid remote control of illegal devices, the server only operates devices logged in by the same account to perform remote control operation. The server identifies whether the login accounts of the first device and the second device are the same account number according to the login information of the first device and the second device, the server can identify whether the login accounts of the first device and the second device are the same account number according to the login information, and after the first device and the second device successfully log in the server, the server can store the login information of the first device and the second device, such as the login account number, the network address and the device identification. And if the server determines that the login accounts of the first device and the second device are the same account, continuously judging whether the first device has the control authority over the second device. The second device is used as a controlled device, and any user device which logs in by using the same account can control the second device, wherein the second device is provided with an authorized device list which allows the second device to be controlled, and the authorized device list comprises a device identifier of a device which allows the second device to be controlled. The server judges whether the device identifier of the first device belongs to the authorized device list of the second device, if so, the server forwards a control instruction to the second device, and the control instruction is used for indicating the second device to execute corresponding operation.
It should be noted that the format of the control command is predetermined by the first device, the server and the second device, so that the first device, the second device and the server can correctly recognize and analyze the control command.
By implementing the embodiment of the invention, the server receives the control instruction which is sent by the first device and is used for controlling the second device, verifies that the login accounts of the first device and the second device are the same account, the first device has the control authority for the second device, forwards the control instruction to the second device, and the second device executes the operation of controlling the execution instruction, so that the remote control between different devices is realized, the configuration of special control devices is avoided, and the user operation is more convenient.
Referring to fig. 3, another schematic flow chart of a method for remotely controlling a device according to an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s201, receiving a first login request initiated by first equipment, and establishing a first connection channel with the first equipment after verifying that the first equipment is legal; the first login request carries a login account, a network address and an equipment identifier of the first equipment.
Specifically, the first login request is used for the first device to log in the server, and the server can be logged in by using the existing HTTP, HTTPs or Telnet protocol, the first device provides a login interface, the user inputs a login account and a password which are registered in advance on the login interface, and the first login request is sent to the server after receiving a login instruction of the user, and the first login request carries the login account, the password, the network address of the first device, and the device identifier. The network address of the first device identifies an address, such as an IP address, of the first device on the Internet, the device identification of the first device represents a unique hardware identification, such as an MAC address, of the first device, the server verifies the validity of login information carried in the first login request, after the validity passes, the server establishes a first connection channel with the first device, and prompt information representing successful login is returned to the first device. The first device and the server can establish a first connection channel through WiFi, Bluetooth, infrared or an operator network.
It should be noted that, in order to further prevent access by an illegal device, the server may locally store a mapping relationship between the device identifier and the login account, and when the server receives a login request of the device, the server needs to verify not only the validity of the login account and the password, but also whether the login account and the device identifier have a mapping relationship, and when both conditions are satisfied, the validity verification of the device will pass.
S202, receiving a login request initiated by second equipment, and establishing a second connection channel with the second equipment after verifying that the second equipment is legal; and the second login request carries a login account, a network address and an equipment identifier of the second equipment.
Specifically, the second login request is for the second device to login to the server, and the server may be logged in using an existing HTTP, HTTPs, or Telnet protocol. The second device provides a login interface, a user inputs a login account and a password which are registered in advance on the login interface, the second device receives a login instruction of the user and sends a second login request to the server, and the second login request carries the login account, the password, the network address of the second device and the device identification. The network address of the second device identifies the address of the first device on the internet, such as an IP address, the device identification of the second device represents a unique hardware identification of the second device, such as an MAC address, the server verifies the validity of the login information carried in the second login request, and after the validity passes, the server establishes a second connection channel with the second device and returns prompt information indicating that the login is successful to the second device. And a second connection channel can be established between the second device and the server through WiFi, infrared, Bluetooth or an operator network.
It should be noted that, in order to further prevent access by an illegal device, the server may locally store a mapping relationship between the device identifier and the login account, and when the server receives a login request of the device, the server needs to verify not only the validity of the login account and the password, but also whether the login account and the device identifier have a mapping relationship, and when both conditions are satisfied, the validity verification of the device will pass.
S203, pushing the device identifier of the first device to the second device through the first connection channel.
Specifically, the server pushes the device identifier of the first device to the second device through the first connection channel, and a login device list for successfully logging in the server can be displayed on the second device, wherein the login device list comprises at least one device identifier.
It should be noted that, if the second device does not have a display device, the server may display the login device list on a third-party device, where the third-party device is a device other than the first device and the second device and has a display device, such as a smart phone.
S204, pushing the device identifier of the second device to the first device through a second connection channel.
The specific server pushes the device identifier of the second device to the first device through the second connection channel, a login device list for successfully logging in the server can be displayed on the first device, and the login device list comprises at least one device identifier.
It should be noted that, if the first device does not have the display device, the server may display the login device list on a third-party device, where the third-party device is the device described in S203.
S205, receiving a control instruction sent by first equipment; and the control instruction carries the equipment identifier of the first equipment and the equipment identifier of the second equipment.
Specifically, the first device is a control device, the second device is a controlled device, the control instruction is used for the first device to execute a control operation on the second device, the server receives the control instruction sent by the first device through the first connection channel, the device identifier identifying the control device and the device identifier identifying the controlled device in the control instruction, the control device is the first device, and the controlled device is the second device.
S206, identifying whether the login accounts of the first device and the second device are the same account.
Specifically, after the first device and the second device successfully log in the server, the server identifies whether the login accounts of the first device and the second device are the same account, if so, S208 is executed, otherwise, S207 is executed.
And S207, returning prompt information representing no operation authority to the first equipment.
Specifically, the server recognizes that the login accounts of the first device and the second device are not the same account, and returns prompt information indicating no operation authority to the first device, wherein the prompt information can prompt the user in a sound, vibration, light or text mode.
And S208, judging whether the first equipment has the control authority to the second equipment.
Specifically, the second device is used as a controlled device, and not any user device logged in by using the same account can control the second device, and the second device is provided with an authorized device list allowing the control of the second device, where the authorized device list includes a device identifier of a device allowing the control of the second device. The server judges whether the device identifier of the first device belongs to the authorized device list of the second device, if so, the server forwards a control instruction to the second device, and the control instruction is used for indicating the second device to execute corresponding operation. If the server determines that the first device has the control authority for the second device, S209 is performed, otherwise, S210 is performed.
The server receives a binding request which is sent by the second device and carries the device identifier of the first device and the device identifier of the second device, adds the device identifier of the first device to the authorized device list of the second device, and therefore the first device has the operation authority of the second device.
S209, sending the control instruction to the second device, wherein the control instruction is used for instructing the second device to execute corresponding operation.
Specifically, when the first device and the second device are registered, the server issues syntax rules of the control instruction to the first device and the second device, and the control instruction of the first device is generated according to the syntax rules, so that the server and the second device can correctly analyze and recognize the control instruction sent by the first device. And the server sends the control instruction sent by the first equipment to the second equipment through the second connecting channel, and the second equipment receives the control instruction and executes corresponding operation.
It should be noted that, when the first device and the second device do not have the display device, the related information of the first device and the second device may be displayed by a third-party device having the display device, the third-party device logs in the server, and after the server verifies that the third-party device is legal, the device information of the first device and the second device is displayed on the third-party device, for example, a network address, a device identifier, an authorized device list, and the like, and the user may set an authorized device list of the first device or the second device on the third-party device.
By implementing the embodiment of the invention, the server receives the control instruction which is sent by the first device and is used for controlling the second device, verifies that the login accounts of the first device and the second device are the same account, the first device has the control authority for the second device, forwards the control instruction to the second device, and the second device executes the operation of controlling the execution instruction, so that the remote control between different devices is realized, the configuration of special control devices is avoided, and the user operation is more convenient.
Referring to fig. 4, another schematic flow chart of a method for remotely controlling a device according to an embodiment of the present invention is shown, where in the embodiment of the present invention, the method includes:
s301, the first device sends a first login request to the server. The first login request carries a login account pre-registered by the first device, a device identifier of the first device and a network address of the first device.
S302, the second device sends a second login request to the server. The second login request carries a login account pre-registered by the second device, a device identifier of the second device and a network address of the second device.
S303, the server verifies the legality of the first device and the second device. The server verifies whether a login account sent by the first device is legal or not and whether the login account and the device identifier have a binding relationship or not; and meanwhile, the server verifies whether the login account sent by the second equipment is legal or not, and the login account and the equipment identifier have a binding relationship. And if the login account is legal and the login account and the equipment identifier have a binding relationship, the legality verification of the equipment is passed.
S304, establishing a first connecting channel. The server and the first device may be connected through WiFi, bluetooth, infrared, or an operator network, which is not limited in the present invention.
S305, establishing a second connection channel. The server and the second device may be connected through WiFi, bluetooth, infrared, or an operator network, which is not limited in the present invention.
S306, acquiring the device identification of the first device and the device identification of the second device.
S307, the server pushes the device identification of the second device to the first device.
S308, the server pushes the device identification of the first device to the second device.
S309, the server receives a binding request sent by the second device, wherein the binding request carries the device identifier of the first device and the device identifier of the second device.
S310, the server adds the device identification of the first device to the authorized device list of the second device. So that the first device has control rights to the second device.
S311, the first device sends a control instruction to the server, wherein the control instruction carries the device identifier of the first device and the device identifier of the second device.
S312, the server recognizes that the login accounts of the first device and the second device are the same account, and the authorized device list of the second device includes the device identifier of the first device.
And S313, the server sends the control command to the second equipment.
And S314, the second equipment executes the operation indicated by the control instruction.
Referring to fig. 5, a remote control apparatus of a device according to an embodiment of the present invention is provided, in an embodiment of the present invention, the remote control apparatus is hereinafter referred to as an apparatus for short, and the apparatus includes: the system comprises a receiving module 10, an account identification module 11, a permission judgment module 12 and a sending module 13.
A receiving module 10, configured to receive a control instruction sent by a first device; and the control instruction carries the equipment identifier of the first equipment and the equipment identifier of the second equipment.
An account identification module 11, configured to identify whether login accounts of the first device and the second device are the same account.
And an authority determining module 12, configured to determine whether the first device has a control authority over the second device if the identification result of the account identifying module is yes.
A sending module 13, configured to send the control instruction to the second device if the determination result of the permission determination module is yes, where the control instruction is used to instruct the second device to perform a corresponding operation.
The embodiment of the present invention and the first method embodiment are based on the same concept, and the technical effects brought by the embodiment of the present invention are also the same, and the specific process may refer to the description of the first method embodiment, and will not be described herein again.
Referring to fig. 6, another schematic structural diagram of a remote control apparatus of a device according to an embodiment of the present invention is provided, in the embodiment of the present invention, the apparatus includes, in addition to a receiving module 10, an account identification module 11, an authority judgment module 12, and a sending module 13: a first login module 14, a second login module 15, a first push module 16, a second push module 17, an initiation module 18 and a binding module 19.
A first login module 14, configured to receive a first login request initiated by the first device, and establish a first connection channel with the first device after verifying that the first device is legal; the first login request carries a login account, a network address and an equipment identifier of the first equipment;
the second login module 15 is configured to receive a second login request initiated by the second device, and establish a second connection channel with the second device after verifying that the second device is legal; the second login request carries a login account, a network address and an equipment identifier of the second equipment;
a first pushing module 16, configured to push the device identifier of the first device to the second device through the first connection channel;
a second pushing module 17, configured to push the device identifier of the second device to the first device through the second connection channel.
An initiating module 18, configured to receive a binding request initiated by the second device; wherein the binding request carries a device identifier of the first device;
a binding module 19, configured to add the device identifier of the first device to the authorized device list of the second device.
Optionally, the sending module 13 is specifically configured to send the control instruction to the second device through the second connection channel according to the network address of the second device if the determination result of the permission determining module is yes.
Optionally, the permission determining module 12 is specifically configured to obtain an authorized device list of the second device, and determine whether a device identifier of a first device belongs to the authorized device list, if so, the first device has a control permission for the second device, and if not, the first device does not have the control permission for the second device.
The embodiment of the invention and the second method embodiment are based on the same concept, the technical effects brought by the embodiment are also the same, the specific process can refer to the description of the second method embodiment, and the detailed description is omitted here.
Referring to fig. 7, a schematic structural diagram of multiple instances of an application program running according to a third embodiment of the present invention is shown in fig. 7, where the apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 7, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an application program.
In the apparatus 1000 shown in fig. 7, the processor 1001 may be configured to call a software testing application stored in the memory 1005, and specifically perform the following steps:
receiving a control instruction sent by the first equipment; the control instruction carries the equipment identifier of the first equipment and the equipment identifier of the second equipment;
and identifying whether the login accounts of the first device and the second device are the same account, if so, judging whether the first device has a control authority over the second device, and if so, sending the control instruction to the second device, wherein the control instruction is used for instructing the second device to execute corresponding operation.
In some embodiments of the present invention, the processor 1001 is further configured to perform:
receiving a first login request initiated by the first equipment, and establishing a first connection channel with the first equipment after verifying that the first equipment is legal; the first login request carries a login account, a network address and an equipment identifier of the first equipment;
receiving a second login request initiated by the second equipment, and establishing a second connection channel with the second equipment after verifying that the second equipment is legal; the second login request carries a login account, a network address and an equipment identifier of the second equipment;
pushing the device identifier of the first device to the second device through the first connection channel;
and pushing the device identification of the second device to the first device through the second connection channel.
In some embodiments of the present invention, the processor 1001 executing the sending of the control instruction to the second device comprises:
and sending the control instruction to the second equipment through the second connection channel according to the network address of the second equipment.
In some embodiments of the present invention, the determining, by the processor, whether the first device has the control authority over the second device specifically includes:
and acquiring an authorized device list of the second device, and judging whether the device identifier of the first device belongs to the authorized device list, wherein if the device identifier of the first device belongs to the authorized device list, the first device has a control authority over the second device, and if the device identifier of the first device does not belong to the authorized device list, the first device does not have the control authority over the second device.
In some embodiments of the present invention, the processor 1001 is further configured to perform:
receiving a binding request initiated by the second device; wherein the binding request carries a device identifier of the first device;
adding the device identification of the first device to the list of authorized devices of the second device.
The method comprises the steps of receiving a control instruction which is sent by first equipment and used for controlling second equipment, verifying that login accounts of the first equipment and the second equipment are the same account, enabling the first equipment to have control authority over the second equipment, forwarding the control instruction to the second equipment, and enabling the second equipment to execute operation of controlling execution indication, so that remote control among different equipment is achieved, configuration of special control equipment is avoided, and user operation is more convenient and faster.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A method for remote control of a device, wherein a first device and a second device are in a logged-on state, the method comprising:
receiving a control instruction sent by the first equipment; the control instruction carries an equipment identifier of the first equipment and an equipment identifier of the second equipment, the control instruction is generated according to a grammar rule, the grammar rule is preset by the first equipment, the server and the second equipment, the control instruction is received through a first connecting channel between the control instruction and the first equipment, and the first connecting channel is established after the first connecting channel receives a first login request sent by the first equipment and verifies the first login request;
identifying whether login accounts of the first device and the second device are the same account, if so, judging whether the first device has a control authority over the second device, if so, sending a control instruction to the second device, wherein the control instruction is used for indicating the second device to execute corresponding operation, the control instruction is sent to the second device through a second connection channel between the control instruction and the second device, and the second connection channel is established after a second login request sent by the second device is received and verified;
if not, returning prompt information indicating no operation authority to the first equipment, wherein the prompt information comprises any one or more of sound, vibration, light or characters;
the determining whether the first device has a control right for the second device includes: and judging whether the first device has the control authority of the second device or not according to the authorized device list of the second device, wherein the authorized device list of the second device is obtained according to the binding request sent by the second device.
2. The method of claim 1, wherein before receiving the control instruction sent by the first device, the method further comprises:
receiving a first login request initiated by the first equipment, and establishing a first connection channel with the first equipment after verifying that the first equipment is legal; the first login request carries a login account, a network address and an equipment identifier of the first equipment;
receiving a second login request initiated by the second equipment, and establishing a second connection channel with the second equipment after verifying that the second equipment is legal; the second login request carries a login account, a network address and an equipment identifier of the second equipment;
pushing the device identifier of the first device to the second device through the first connection channel;
and pushing the device identification of the second device to the first device through the second connection channel.
3. The method of claim 2, wherein the sending the control instruction to the second device comprises:
and sending the control instruction to the second equipment through the second connection channel according to the network address of the second equipment.
4. The method of claim 1, wherein the determining whether the first device has control authority over the second device specifically comprises:
and acquiring an authorized device list of the second device, and judging whether the device identifier of the first device belongs to the authorized device list, wherein if the device identifier of the first device belongs to the authorized device list, the first device has a control authority over the second device, and if the device identifier of the first device does not belong to the authorized device list, the first device does not have the control authority over the second device.
5. The method as claimed in claim 4, wherein said obtaining the authorized device list of the second device, determining whether the device identifier of the first device belongs to the authorized device list, if yes, the first device has the control right to the second device, if no, before the first device does not have the control right to the second device, further comprises:
receiving a binding request initiated by the second device; wherein the binding request carries a device identifier of the first device;
adding the device identification of the first device to the list of authorized devices of the second device.
6. A remote control apparatus of a device, characterized in that a first device and a second device are in a login state, the remote control apparatus comprising:
the receiving module is used for receiving a control instruction sent by the first equipment; the control instruction carries an equipment identifier of the first equipment and an equipment identifier of the second equipment, the control instruction is generated according to a grammar rule, the grammar rule is preset by the first equipment, the server and the second equipment, the control instruction is received through a first connecting channel between the control instruction and the first equipment, and the first connecting channel is established after the first connecting channel receives a first login request sent by the first equipment and verifies the first login request;
the account identification module is used for identifying whether the login accounts of the first equipment and the second equipment are the same account;
the authority judgment module is used for judging whether the first equipment has the control authority to the second equipment or not if the identification result of the account identification module is positive;
a sending module, configured to send the control instruction to the second device if a determination result of the permission determination module is yes, where the control instruction is used to instruct the second device to perform a corresponding operation, the control instruction is sent to the second device through a second connection channel between the control instruction and the second device, and the second connection channel is established after a second login request sent by the second device is received and the second login request is verified;
the prompting module is used for returning prompting information which represents no operation authority to the first equipment if the identification result of the account identification module is negative, wherein the prompting information comprises any one or more of sound, vibration, light or character modes;
the determining whether the first device has a control right for the second device includes: and judging whether the first device has the control authority of the second device or not according to the authorized device list of the second device, wherein the authorized device list of the second device is obtained according to the binding request sent by the second device.
7. The apparatus of claim 6, further comprising:
the first login module is used for receiving a first login request initiated by the first equipment, and establishing a first connection channel with the first equipment after verifying that the first equipment is legal; the first login request carries a login account, a network address and an equipment identifier of the first equipment;
the second login module is used for receiving a second login request initiated by the second equipment, and establishing a second connection channel with the second equipment after verifying that the second equipment is legal; the second login request carries a login account, a network address and an equipment identifier of the second equipment;
the first pushing module is used for pushing the device identifier of the first device to the second device through the first connecting channel;
and the second pushing module is used for pushing the device identifier of the second device to the first device through the second connecting channel.
8. The apparatus according to claim 7, wherein the sending module is specifically configured to send the control instruction to the second device through the second connection channel according to the network address of the second device if the determination result of the permission determining module is yes.
9. The apparatus of claim 6, wherein the permission determining module is specifically configured to obtain an authorized device list of the second device, determine whether a device identifier of a first device belongs to the authorized device list, if so, the first device has a control permission for the second device, and if not, the first device does not have the control permission for the second device.
10. The apparatus of claim 9, further comprising:
the initiating module is used for receiving a binding request initiated by the second equipment; wherein the binding request carries a device identifier of the first device;
and the binding module is used for adding the equipment identifier of the first equipment into the authorized equipment list of the second equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510179869.1A CN106161385B (en) | 2015-04-15 | 2015-04-15 | Remote control method and device for equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510179869.1A CN106161385B (en) | 2015-04-15 | 2015-04-15 | Remote control method and device for equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106161385A CN106161385A (en) | 2016-11-23 |
CN106161385B true CN106161385B (en) | 2020-06-16 |
Family
ID=58058565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510179869.1A Active CN106161385B (en) | 2015-04-15 | 2015-04-15 | Remote control method and device for equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106161385B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234586A (en) * | 2016-12-22 | 2018-06-29 | 深圳市中兴微电子技术有限公司 | Control method, first terminal, second terminal, server and the system of terminal |
CN106647306A (en) * | 2016-12-29 | 2017-05-10 | 北京小米移动软件有限公司 | Smart device control method and device |
CN106850969A (en) * | 2016-12-30 | 2017-06-13 | 宇龙计算机通信科技(深圳)有限公司 | Method, device and server that alarm clock information is interacted |
CN107342999A (en) * | 2017-07-04 | 2017-11-10 | 郑州云海信息技术有限公司 | A kind of system and method based on agent protection certificate is strengthened |
CN107509198A (en) | 2017-08-31 | 2017-12-22 | 高创(苏州)电子有限公司 | The control method and its relevant apparatus of a kind of digital photo frame |
CN108040414B (en) * | 2017-12-26 | 2019-08-06 | 南宁一举医疗电子设备股份有限公司 | A kind of high pressure generator is prescribed a time limit Exposure Control Module |
CN108200192B (en) * | 2018-01-30 | 2022-02-22 | 北京小米移动软件有限公司 | Method and device for controlling binding of terminal equipment |
CN110505075B (en) * | 2018-05-18 | 2022-11-25 | 华为技术有限公司 | Device management method and related device |
CN109088873A (en) * | 2018-08-16 | 2018-12-25 | 安徽大尺度网络传媒有限公司 | A kind of login system based on recognition of face big data |
CN110232272A (en) * | 2019-05-14 | 2019-09-13 | 上海家可科技有限公司 | Mobile device control method and device, server |
CN110166547B (en) * | 2019-05-20 | 2022-04-08 | 武汉虹信科技发展有限责任公司 | Terminal remote access control method |
CN110401669B (en) * | 2019-07-31 | 2021-06-11 | 广州方硅信息技术有限公司 | Identity verification method and related equipment |
CN111750493B (en) * | 2020-06-24 | 2021-08-13 | 珠海格力电器股份有限公司 | Control method, control device and cloud control system |
CN112383508B (en) * | 2020-10-21 | 2022-06-17 | 南京创维信息技术研究院有限公司 | Push login method and system based on AIOT technology |
CN117971551B (en) * | 2024-04-02 | 2024-06-28 | 杭州海康威视数字技术股份有限公司 | Method and device for processing abnormality of touch screen of data recorder |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102427472A (en) * | 2011-11-24 | 2012-04-25 | 捷开通讯科技(上海)有限公司 | Device and method for remotely controlling mobile communication apparatus |
CN103561088A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Remote control method and device based on account number log-in |
CN103616860A (en) * | 2013-11-08 | 2014-03-05 | 海信集团有限公司 | Method and device for remote control of household appliances |
CN103957249A (en) * | 2014-04-23 | 2014-07-30 | 华为终端有限公司 | Remote control method, server and control device and system |
CN104125278A (en) * | 2014-07-25 | 2014-10-29 | 陆威力 | Method and device for controlling mobile phone use |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801728B (en) * | 2012-08-13 | 2015-09-16 | 汉柏科技有限公司 | The management method of automatic login of client side and system |
-
2015
- 2015-04-15 CN CN201510179869.1A patent/CN106161385B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102427472A (en) * | 2011-11-24 | 2012-04-25 | 捷开通讯科技(上海)有限公司 | Device and method for remotely controlling mobile communication apparatus |
CN103561088A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Remote control method and device based on account number log-in |
CN103616860A (en) * | 2013-11-08 | 2014-03-05 | 海信集团有限公司 | Method and device for remote control of household appliances |
CN103957249A (en) * | 2014-04-23 | 2014-07-30 | 华为终端有限公司 | Remote control method, server and control device and system |
CN104125278A (en) * | 2014-07-25 | 2014-10-29 | 陆威力 | Method and device for controlling mobile phone use |
Also Published As
Publication number | Publication date |
---|---|
CN106161385A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106161385B (en) | Remote control method and device for equipment | |
US10485034B2 (en) | Method, device and system for accessing wireless network | |
EP2989848B1 (en) | Electronic device and method of registering personal cloud apparatus in user portal server thereof | |
CN104967997B (en) | A kind of Wi-Fi cut-in method, Wi-Fi equipment, terminal device and system | |
US20180295490A1 (en) | Network access method, device, and system | |
KR20160063343A (en) | Device pairing | |
CN105337997B (en) | Login method of application client and related equipment | |
CN111083765A (en) | Method for managing intelligent equipment, intelligent router and intelligent home system | |
EP2999250B1 (en) | Method and apparatus for interconnection between terminal device and gateway device | |
EP2528327A1 (en) | System and method for re-access of wireless video conference terminal | |
US20190089693A1 (en) | Systems and methods for authenticating internet-of-things devices | |
CN105656850B (en) | Data processing method, related device and system | |
WO2017206524A1 (en) | Electronic device control method, terminal and control system | |
CN103796278A (en) | Mobile terminal wireless network access control method | |
CN105610842A (en) | WIFI hotspot access method and mobile device | |
CN110868719A (en) | Access management system, device and method | |
CN104539422A (en) | Authentication control method for application client, server and terminals | |
CN103561088B (en) | A kind of long-range control method logged in based on account and device | |
CN107294910B (en) | Login method and server | |
WO2019091458A1 (en) | Wireless connection method, wireless access point, terminal, and device having storage function | |
WO2014173160A1 (en) | Method and system for access control | |
CN105635060B (en) | It is a kind of to obtain method, authentication server and the gateway for applying data | |
CN108600280B (en) | Network connection method, equipment and storage medium | |
US10575172B2 (en) | Method and system for setting smartphone account | |
CN105577621B (en) | Business operation verification method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |