CN107317687B - Remote control method, equipment and system - Google Patents
Remote control method, equipment and system Download PDFInfo
- Publication number
- CN107317687B CN107317687B CN201710475594.5A CN201710475594A CN107317687B CN 107317687 B CN107317687 B CN 107317687B CN 201710475594 A CN201710475594 A CN 201710475594A CN 107317687 B CN107317687 B CN 107317687B
- Authority
- CN
- China
- Prior art keywords
- instruction
- terminal equipment
- equipment
- state
- terminal
- 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
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000005059 dormancy Effects 0.000 claims abstract description 14
- 230000007958 sleep Effects 0.000 claims description 36
- 238000012545 processing Methods 0.000 claims description 23
- 238000001514 detection method Methods 0.000 claims description 18
- 238000003780 insertion Methods 0.000 claims description 15
- 230000037431 insertion Effects 0.000 claims description 15
- 238000004891 communication Methods 0.000 abstract description 2
- 230000002452 interceptive effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000006266 hibernation Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000005622 photoelectricity Effects 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4416—Network booting; Remote initial program loading [RIPL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/12—Arrangements for remote connection or disconnection of substations or of equipment thereof
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Stored Programmes (AREA)
Abstract
The present disclosure provides a remote control method, device and system, which relate to the technical field of communications, do not need complex hardware for support, have few requirements, and improve the flexibility of remote operation. The specific technical scheme is as follows: receiving a control instruction sent by a server; when the control instruction is a first instruction for indicating the terminal equipment to be in the dormant state and the terminal equipment is in the dormant state, the terminal equipment is in the dormant state according to the first instruction; or when the control instruction is a second instruction for indicating the terminal equipment to enter the dormant state and the terminal equipment is in the dormancy releasing state, the terminal equipment enters the dormant state according to the second instruction. The present disclosure is for remote control.
Description
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a remote control method, device, and system.
Background
With the continuous development of network technology, it is very common to perform remote power on/off operations on terminal devices. At present, in order to implement remote power on and off of a terminal device, support of hardware devices such as a specific network card, a motherboard, a power supply and the like is generally required to ensure that the terminal device can keep a weak current in a power off state, so that the terminal device has simple data receiving and computing capabilities; meanwhile, the terminal equipment does not have a network IP address in a power-off state and cannot be addressed in the whole internet, so that the method needs to be realized by depending on a local area network where the terminal equipment is connected to the internet, then equipment with a corresponding Mac address is found by broadcasting a power-on instruction with a special format through the local area network, and further the terminal equipment receives the power-on instruction with the special format through weak current to realize the network power-on function.
Because the existing technical scheme of remote power on or power off needs relatively complex hardware support such as a network card, a mainboard, a power supply and the like, a physical Mac address of the network card is used as the unique identifier of the terminal equipment, and the operated equipment needs to be accessed into a local area network, the scheme has too many requirements and is not flexible enough.
Disclosure of Invention
The embodiment of the disclosure provides a remote control method, a device and a system, which do not need complex hardware for support, have less requirement conditions and improve the flexibility of remote operation. The technical scheme is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided a remote control method, including:
the terminal equipment receives a control instruction sent by the server; the control instruction comprises a first instruction used for indicating the terminal equipment to be in a sleep state or a second instruction used for indicating the terminal equipment to be in the sleep state;
when the control instruction is a first instruction and the terminal equipment is in a dormant state, the terminal equipment releases the dormant state according to the first instruction; or the like, or, alternatively,
and when the control instruction is a second instruction and the terminal equipment is in the state of releasing the dormancy, the terminal equipment enters the dormancy state according to the second instruction.
The remote control of the terminal equipment is realized by adopting a control instruction mode, namely a soft operation mode, the remote control does not need complex hardware support, the cost is reduced, and the flexibility of the remote operation of the terminal equipment is improved.
In one embodiment, when the terminal device is an acquisition device, the terminal device releasing the sleep state according to the first instruction includes:
the terminal equipment starts an acquisition program according to the first instruction;
and calling a system function through the acquisition program to drive the acquisition card to enable the terminal equipment to be in a dormant state.
In one embodiment, the entering of the terminal device into the sleep state according to the second instruction includes: and the terminal equipment closes the acquisition program according to the second instruction so as to enable the terminal equipment to enter a dormant state.
In one embodiment, before the terminal device closes the acquisition procedure according to the second instruction, the method further includes: and the terminal equipment calls a system function through the acquisition program according to the second instruction to drive the acquisition card to enter a dormant state.
When the terminal equipment is the acquisition equipment, the acquisition program and the acquisition card drive are started and closed, and the acquisition equipment is controlled to be in the dormancy state and enter the dormancy state through software operation.
In one embodiment, when the terminal device is a receiving device, the terminal device releasing the sleep state according to the first instruction includes:
the terminal equipment sets the hot plug identification to be in an inserting state according to the first instruction;
and releasing the dormant state according to the hot plug identifier in the insertion state.
In one embodiment, before the terminal device sets the hot plug identifier to the insertion state according to the first instruction, the method further includes:
detecting whether the HDMI equipment is connected or not;
the terminal equipment sets the hot plug identifier to be in an inserting state according to the first instruction, and the method comprises the following steps:
if the connection with the HDMI equipment is detected, the terminal equipment calls a system function to set the hot plug identification to be in an inserting state according to the first instruction.
In one embodiment, the entering of the terminal device into the sleep state according to the second instruction includes:
the terminal equipment sets the hot plug identifier to be in a disconnected state according to the second instruction;
and entering a dormant state according to the hot plug identification in the disconnected state.
In one embodiment, after the terminal device sets the hot plug identifier to the disconnected state according to the second instruction, the method further includes: the detection of whether to connect with the HDMI apparatus is stopped.
When the terminal equipment is the receiving equipment, the control of releasing the dormant state and entering the dormant state of the receiving equipment is realized by setting the hot plug identifier, namely a software operation mode.
According to a second method of an embodiment of the present disclosure, there is provided a terminal device including:
the receiving module is used for receiving a control instruction sent by the server; the control instruction comprises a first instruction used for indicating the terminal equipment to be in a sleep state or a second instruction used for indicating the terminal equipment to be in the sleep state;
the processing module is used for releasing the dormant state according to the first instruction when the control instruction is the first instruction and the terminal equipment is in the dormant state; or the like, or, alternatively,
and the processing module is further used for entering the dormant state according to the second instruction when the control instruction is the second instruction and the terminal equipment is in the dormant state removal state.
In one embodiment, the processing module comprises:
the promoter module is used for starting an acquisition program according to a first instruction;
and the driving submodule is used for calling a system function through the acquisition program to drive the acquisition card so as to enable the terminal equipment to be in a dormant state.
In one embodiment, the processing module further comprises:
and the closing submodule is used for closing the acquisition program according to the second instruction so as to enable the terminal equipment to enter a dormant state.
In one embodiment, the processing module further comprises:
the setting submodule is used for setting the hot plug identification to be in an inserting state according to the first instruction;
and the processing submodule is used for releasing the dormant state according to the hot plug identifier in the insertion state.
In one embodiment, the terminal device further includes: a detection module;
the detection module is used for detecting whether the HDMI equipment is connected or not;
and the setting sub-module is further used for calling a system function to set the hot plug identifier to be in an insertion state according to the first instruction when the detection module detects that the detection module is connected with the HDMI device.
In one embodiment, the setting sub-module is further configured to set the hot-plug flag to the off state according to a second instruction;
and the processing submodule is also used for entering a dormant state according to the hot plug identification in the disconnected state.
According to a third aspect of embodiments of the present disclosure, there is provided a remote control system including: a server and a terminal device provided by any one of the embodiments of the second aspect and the second aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a remote control method provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an overall system architecture provided by the disclosed embodiments;
fig. 3 is a flowchart of a method for remotely booting a terminal device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for remotely powering off a terminal device according to an embodiment of the present disclosure;
fig. 5 is a structural diagram of a terminal device provided in an embodiment of the present disclosure;
fig. 6 is a structural diagram of a terminal device provided in an embodiment of the present disclosure;
fig. 7 is a structural diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a remote control method, as shown in fig. 1, the remote control method includes the following steps:
101. and receiving a control instruction sent by the server.
The control instruction comprises a first instruction used for indicating the terminal equipment to be in a sleep state or a second instruction used for indicating the terminal equipment to be in the sleep state. It can be understood that the dormant state refers to a state where some functions in the terminal device are dormant, and the terminal device in the dormant state can reduce power consumption.
In the embodiment of the invention, the terminal equipment is connected with the server through a network, the terminal equipment reports the current state information to the server, and the server obtains the control instruction according to the current state information of the terminal equipment. Of course, the server may also present the current state information of the terminal device to the user through the interactive interface, and the user performs a change operation according to the current state information of the terminal device, so that the server obtains a control instruction according to the change operation of the user and sends the control instruction to the terminal device. The control instruction includes a device identifier of the terminal device, and the device identifier may be an IP address and/or a port number of the terminal device. It should be noted that the network connection between the terminal device and the server may be a wired connection or a wireless connection, which is not limited in the embodiment of the present invention.
102. And when the control instruction is a first instruction and the terminal equipment is in the dormant state, the terminal equipment releases the dormant state according to the first instruction.
In a first embodiment, when the terminal device is an acquisition device, the terminal device releasing the hibernation state according to the first instruction includes:
the terminal equipment starts an acquisition program according to the first instruction;
and calling a system function through the acquisition program to drive the acquisition card to enable the terminal equipment to be in a dormant state.
The acquisition program is a program for acquiring images, sounds and the like by acquisition equipment. The acquisition card is a device for capturing analog signals such as photoelectricity, video, audio and the like, converting the analog signals into digital signals and storing the digital signals. The acquisition card drive is a program for driving the acquisition card to work. It should be noted that, according to different acquisition objects, the acquisition card may be divided into a video acquisition card, an image acquisition card, an audio acquisition card, a data acquisition card, and the like, which is not limited in this disclosure.
In order to understand the above steps more clearly, the following examples are given. When a user changes the state of the acquisition equipment in the dormant state through the interactive interface, the server is released from the dormant state, the server sends a first instruction to the acquisition equipment according to the change operation of the user, the acquisition equipment can open an acquisition program when receiving the first instruction, and the acquisition program calls a system function to interact with an acquisition card drive in the acquisition equipment, so that the acquisition card works to perform audio-video acquisition, and the acquisition equipment is started.
In a second embodiment, when the terminal device is a receiving device, the terminal device releasing the sleep state according to the first instruction includes:
the terminal equipment sets the hot plug identification to be in an inserting state according to the first instruction;
and releasing the dormant state according to the hot plug identifier in the insertion state.
The hot-plug identifier is used for indicating whether an HDMI device is currently available, and the HDMI device may be a display screen, a display, or the like. And when the hot plug identifier is in the plug-in state, the HDMI equipment is indicated, and then the terminal equipment releases the dormant state according to the hot plug identifier in the plug-in state.
Before the terminal device sets the hot plug identifier to be in the insertion state according to the first instruction, the method further comprises the following steps: whether to connect with the HDMI device is detected. The detection may be started after the terminal device receives the first instruction, may also be periodic detection, and may also be real-time detection, which is not limited in the embodiment of the present disclosure. Then, when connection with the HDMI device is detected, the terminal device calls a system function to set the hot plug identifier to be in an insertion state according to the first instruction, and then the terminal device releases the sleep state according to the hot plug identifier in the insertion state.
103. And when the control instruction is a second instruction and the terminal equipment is in the state of releasing the dormancy, the terminal equipment enters the dormancy state according to the second instruction.
Based on the first embodiment in step 102, when the terminal device is an acquisition device, the terminal device releases the sleep state according to the first instruction, and then, when the terminal device enters the sleep state according to the second instruction, the method includes: and the terminal equipment closes the acquisition program according to the second instruction so as to enable the terminal equipment to enter a dormant state.
In the embodiment of the disclosure, after the acquisition program is closed, the terminal device cannot drive the acquisition card to work through the acquisition program, so that the terminal device enters a dormant state. In another embodiment of the present disclosure, before the collection program is closed, the collection program may also call a system function to drive the collection card to enter a sleep state, and then the collection program is closed, so that the terminal device may also enter the sleep state.
Taking the terminal device as the acquisition device as an example for explanation, when the user changes the state of the acquisition device in the state of releasing the dormancy state through the interactive interface, the server sends the second instruction to the acquisition device, and the acquisition device closes the acquisition program when receiving the second instruction, so that the acquisition device enters the dormancy state. Of course, before the collection program is closed, the system function may be called to interact with the collection card driver in the collection device, so that the collection card enters a sleep state to stop the audio-video collection, and then the collection program is closed, so that the collection device enters the sleep state.
Based on the second embodiment in step 102, when the terminal device is a receiving device, the terminal device releases the sleep state according to the first instruction, and then, when the terminal device enters the sleep state according to the received second instruction, the method includes:
the terminal equipment sets the hot plug identifier to be in a disconnected state according to the second instruction;
and entering a dormant state according to the hot plug identification in the disconnected state.
And when the hot plug identifier is in the disconnected state, the HDMI equipment is not currently available, and then the terminal equipment enters the dormant state according to the hot plug identifier in the disconnected state. Of course, since there is no HDMI device, it is also possible to stop detecting whether or not the terminal device is connected to the HDMI device before the terminal device enters the sleep state.
According to the remote control method provided by the embodiment of the disclosure, terminal equipment receives a control instruction sent by a server; when the control instruction is a first instruction for indicating the terminal equipment to be in the dormant state and the terminal equipment is in the dormant state, the terminal equipment is in the dormant state according to the first instruction; or when the control instruction is a second instruction for indicating the terminal equipment to enter the dormant state and the terminal equipment is in the dormancy releasing state, the terminal equipment enters the dormant state according to the second instruction. The remote control of the terminal equipment is realized by adopting a control instruction mode, namely a soft operation mode, the remote control does not need complex hardware support, the cost is reduced, and the flexibility of the remote operation of the terminal equipment is improved.
Based on the remote control method described in the embodiment corresponding to fig. 1, the following describes the remote control method in detail with reference to the overall system structure diagram shown in fig. 2.
The overall system architecture in the embodiment of the disclosure comprises a server, a display end and a collection end. The server includes an equipment management server and a control server, where the equipment management server runs an equipment management service, and the control server runs a control service, and of course, the equipment management service and the control service may also be deployed in the same server to run.
The display end comprises at least one display unit, each display unit comprises a receiving device and a display device, and the receiving device and the display device in each display unit are connected through an HDMI (high-definition multimedia interface) and transmit images; the acquisition end comprises at least one acquisition unit, each acquisition unit comprises an acquisition device and an audio-video output terminal, the audio-video output terminal can be a camera, a camera and the like, and the acquisition device and the audio-video output terminal in each acquisition unit are connected through an HDMI (high-definition multimedia interface) and transmit images. Each receiving device and the acquisition device runs an Agent in the system, which is replaced by Agent in the following.
The receiving device and the collecting device can register in the device management service through the network after the system is started, and report the current state to the device management server in real time. The current states involved in the embodiments of the present disclosure include: the on-off state of the display equipment in each display unit and the on-off state of the acquisition function of the acquisition equipment in each acquisition unit.
The control service can acquire the state, the IP address and the port number of each display unit and each acquisition unit through the equipment management service and present the state, the IP address and the port number to a user in an interactive interface mode, and the user can directly perform state change operation on the corresponding display unit and the corresponding acquisition unit through the control service according to the corresponding state.
Based on the overall system architecture shown in fig. 2 and the remote control method shown in fig. 1, referring to fig. 3, the remote boot process provided in this embodiment includes the following steps:
301. the Agent can receive the network instruction sent by the server through the network at any time through a monitoring mode after being automatically started along with the equipment system.
302. And the Agent judges whether the network instruction sent by the server is a starting instruction.
If the Agent judges that the network instruction is not a starting instruction, the Agent gives the network instruction to other modules for processing, returns to the step 301 of executing, and continues to monitor a new network instruction; if the Agent determines that the command is a power-on command, step 303 is executed.
303. And if the Agent judges that the network instruction sent by the server is a starting instruction, judging whether the current equipment is the receiving equipment.
If the Agent judges that the current equipment is the receiving equipment, executing steps 304-305; and if the Agent judges that the current equipment is not the receiving equipment, executing steps 306-308.
304. And if the Agent judges that the current equipment is the receiving equipment, judging whether the screen of the display unit where the current equipment is located is opened.
If the screen of the display device where the receiving device is located is already opened, the process returns to step 301.
305. And if the screen of the display unit where the receiving equipment is located is not started, starting the HDMI output of the receiving equipment, and simultaneously displaying a corresponding picture on the screen.
Specifically, when a user uses an interaction interface to send a power-on operation to a certain display unit through a control service, an Agent in the receiving device actually calls a system function to interact with the HDMI driver, so that the HDMI driver simulates the hot plug action of the HDMI device, the hot plug detection hotspot Detect identifier in the HDMI driver is set to 1, hot plug detection is started, because the HDMI is physically connected (never really plugged), the HDMI driver automatically detects the insertion of the HDMI device and sets the hot plug identifier to 1, which represents that the HDMI device is currently available, thereby starting the HDMI output of the receiving device, that is, the receiving device is in a sleep release state, the HDMI device detects the HDMI output, so that the display card operates to display and output the video and audio transmitted by the acquisition device, and the display device is started.
306. And judging whether the current equipment is the acquisition equipment.
307. And if the Agent judges that the current equipment is the acquisition equipment, judging whether the acquisition function of the acquisition unit where the Agent is located is started.
And if the Agent judges that the acquisition function of the acquisition unit where the Agent is located is started, returning to the step 301, and continuing to monitor a new network instruction.
308. And if the Agent judges that the acquisition function of the acquisition unit where the Agent is located is not started, starting the acquisition function of the acquisition equipment, and performing audio-video acquisition on the acquisition source.
When a user uses an interactive interface to send a starting operation to a certain acquisition unit through a control service application, an Agent in acquisition equipment actually opens an acquisition program, and the acquisition program calls a system function to interact with an acquisition card drive in the equipment, so that the acquisition card performs audio-video acquisition through HDMI and sends the audio-video acquisition to connected receiving equipment, and the acquisition function of the acquisition equipment is started.
Based on the overall system architecture shown in fig. 2 and the remote control method shown in fig. 1, referring to fig. 4, the remote shutdown process provided in this embodiment includes the following steps:
401. the Agent can receive the network instruction sent by the network at any time through a monitoring mode after being automatically started along with the equipment system.
402. And the Agent judges whether the network instruction sent by the server is a shutdown instruction.
If the Agent judges that the network command is not a shutdown command, the Agent gives the network command to other modules for processing, returns to the step 401 of executing, and continues to monitor a new network command; if the Agent determines that the command is a shutdown command, step 403 is executed.
403. And if the Agent judges that the network instruction sent by the server is a shutdown instruction, the Agent judges whether the current equipment is the receiving equipment.
If the Agent judges that the current equipment is the receiving equipment, executing steps 404-405; and if the Agent judges that the current equipment is not the receiving equipment, executing steps 406-408.
404. And the Agent judges whether the screen of the display unit is closed or not if the receiving equipment is the receiving equipment.
If the screen of the display unit where the receiving device is located is closed, the process returns to step 401 and continues to monitor a new network command.
405. And if the screen of the display unit where the receiving equipment is located is not closed, closing the HDMI output of the receiving equipment.
When a user uses an interactive interface to send shutdown operation to a certain display unit through a control service, an Agent in the receiving device can call a system function to interact with an HDMI drive, a hot plug action is simulated, a hot plug identifier (hot plug) is set to 0 at first, which represents that no HDMI device exists currently, and a hot plug detection identifier (Hotplug Detect) is set to 0, hot plug detection is closed, HDMI output can be closed by the receiving device at the moment, connection with the HDMI device is disconnected, meanwhile, the device display card enters a sleep mode, the display device can automatically close a screen after the HDMI input cannot be detected, and accordingly closing of the display device is achieved.
406. And judging whether the current equipment is the acquisition equipment.
407. And if the Agent judges that the acquisition equipment is the acquisition equipment, judging whether the acquisition of the acquisition unit is closed or not.
If the acquisition of the acquisition unit where the acquisition equipment is located is closed, the step 401 is returned to, and the monitoring of the new network instruction is continued.
408. And if the collection of the collection unit where the collection equipment is located is not closed, closing the collection function of the collection equipment.
When a user uses an interactive interface to send shutdown operation to a certain acquisition unit through a control service, an Agent in the acquisition equipment also closes an acquisition program, and the acquisition program calls a system function to interact with an acquisition card drive in the equipment before closing so that the acquisition card enters a dormant state to stop audio-video acquisition, thereby realizing the closing of the acquisition function of the acquisition equipment.
The remote control method provided by the embodiment of the disclosure receives a control instruction sent by a server; when the control instruction is a first instruction for indicating the terminal equipment to be in the dormant state and the terminal equipment is in the dormant state, the terminal equipment is in the dormant state according to the first instruction; or when the control instruction is a second instruction for indicating the terminal equipment to enter the dormant state and the terminal equipment is in the dormancy releasing state, the terminal equipment enters the dormant state according to the second instruction. The remote control of the terminal equipment is realized by adopting a control instruction mode, namely a soft operation mode, the remote control does not need complex hardware support, the cost is reduced, and the flexibility of the remote operation of the terminal equipment is improved.
Based on the remote control method described in the embodiments corresponding to fig. 1, fig. 3, and fig. 4, the following is an embodiment of the apparatus of the present disclosure, which can be used to execute an embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides a terminal device, as shown in fig. 5, the terminal device 50 includes:
a receiving module 501, configured to receive a control instruction sent by a server; the control instruction comprises a first instruction used for indicating the terminal equipment to be in a sleep state or a second instruction used for indicating the terminal equipment to be in the sleep state;
the processing module 502 is configured to, when the control instruction is a first instruction and the terminal device is in a dormant state, release the dormant state according to the first instruction; or the like, or, alternatively,
the processing module 502 is further configured to enter the sleep state according to the second instruction when the control instruction is the second instruction and the terminal device is in the sleep release state.
As shown in fig. 6, in one embodiment, the processing module 502 includes:
the promoter module 5021 is used for starting an acquisition program according to a first instruction;
and the driving submodule 5022 is used for calling a system function through an acquisition program to drive the acquisition card so as to enable the terminal equipment to be in a dormant state.
As shown in fig. 6, in one embodiment, the processing module 502 further comprises:
and the closing submodule 5023 is used for closing the acquisition program according to the second instruction so as to enable the terminal equipment to enter a dormant state.
As shown in fig. 7, in one embodiment, the processing module 502 further comprises:
the setting submodule 5024 is used for setting the hot plug identifier to be in an inserting state according to the first instruction;
the processing sub-module 5025 is configured to release the sleep state according to the hot plug identifier in the insertion state.
As shown in fig. 7, in one embodiment, the terminal device 50 further includes: detection module 503
A detection module 503, configured to detect whether the HDMI device is connected to the HDMI device;
the setting sub-module 5024 is further configured to, when the detection module 503 detects that the HDMI device is connected, call a system function to set the hot plug identifier to an insertion state according to the first instruction.
In one embodiment, the setting sub-module 5024 is further configured to set the hot-plug flag to the off state according to a second instruction;
the processing sub-module 5025 is further configured to enter a sleep state according to the hot-plug identifier in the disconnected state.
The terminal device provided by the embodiment of the disclosure receives a control instruction sent by a server; when the control instruction is a first instruction for indicating the terminal equipment to be in the dormant state and the terminal equipment is in the dormant state, the dormant state is released according to the first instruction; or when the control instruction is a second instruction for indicating the terminal equipment to enter the dormant state and the terminal equipment is in the dormancy releasing state, entering the dormant state according to the second instruction. The remote control of the terminal equipment is realized by adopting a control instruction mode, namely a soft operation mode, the remote control does not need complex hardware support, the cost is reduced, and the flexibility of the remote operation of the terminal equipment is improved.
The disclosed embodiment of the present invention further provides a remote control system, which includes a server and any one of the terminal devices shown in fig. 5 to 7.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (5)
1. A remote control method is applied to a terminal device, and comprises the following steps:
receiving a control instruction sent by a server; the control instruction comprises a first instruction used for indicating the terminal equipment to be in a sleep state or a second instruction used for indicating the terminal equipment to be in the sleep state;
when the control instruction is the first instruction and the terminal equipment is in a dormant state, the terminal equipment releases the dormant state according to the first instruction; or the like, or, alternatively,
when the control instruction is the second instruction and the terminal equipment is in a dormancy releasing state, the terminal equipment enters a dormancy state according to the second instruction;
when the terminal device is a collection device,
the terminal equipment releases the dormant state according to the first instruction and comprises the following steps: the terminal equipment starts an acquisition program according to the first instruction; calling a system function through the acquisition program to drive an acquisition card so as to enable the terminal equipment to be in a dormant state;
the terminal equipment enters the dormant state according to the second instruction, and the dormant state comprises the following steps: the terminal equipment closes the acquisition program according to the second instruction, or the acquisition program is closed after the acquisition program calls a system function to drive an acquisition card to enter a dormant state, so that the terminal equipment enters the dormant state;
when the terminal device is a receiving device,
the terminal equipment releases the dormant state according to the first instruction and comprises the following steps: the terminal equipment sets the hot plug identification to be in an inserting state according to the first instruction; according to the hot plug identifier in the insertion state, the dormant state is released;
the terminal equipment enters the dormant state according to the second instruction, and the dormant state comprises the following steps: the terminal equipment sets the hot plug identifier to be in a disconnected state according to the second instruction; entering a dormant state according to the hot plug identifier in the disconnected state;
the acquisition equipment is connected with an audio-video output terminal, and the audio-video output terminal comprises a camera or a camera; the receiving device is connected with the display device.
2. The method according to claim 1, wherein before the terminal device sets the hot plug identifier to the plug-in state according to the first instruction, the method further comprises:
detecting whether the HDMI equipment is connected or not;
the terminal equipment sets the hot plug identifier to be in an inserting state according to the first instruction, and the method comprises the following steps:
and if the connection with the HDMI equipment is detected, the terminal equipment calls a system function to set the hot plug identification to be in an insertion state according to the first instruction.
3. A terminal device, comprising:
the receiving module is used for receiving a control instruction sent by the server; the control instruction comprises a first instruction used for indicating the terminal equipment to be in a sleep state or a second instruction used for indicating the terminal equipment to be in the sleep state;
the first processing module is used for releasing the dormant state according to the first instruction when the control instruction is the first instruction and the terminal equipment is in the dormant state; or the like, or, alternatively,
the first processing module is further configured to enter a sleep state according to the second instruction when the control instruction is the second instruction and the terminal device is in a sleep release state;
when the terminal device is a collection device, the first processing module includes:
the starting submodule is used for starting an acquisition program according to the first instruction;
the driving submodule is used for calling a system function through the acquisition program to drive the acquisition card so as to enable the terminal equipment to be in a dormant state;
the first processing module further comprises:
a closing submodule, configured to close the acquisition program according to the second instruction, so that the terminal device enters a sleep state;
when the terminal device is a receiving device, the first processing module further includes:
the setting submodule is used for setting the hot plug identification to be in an inserting state according to the first instruction;
the processing submodule is used for releasing the dormant state according to the hot plug identifier in the insertion state;
the setting submodule is further used for setting the hot-plug identifier to be in a disconnection state according to the second instruction;
the processing submodule is also used for entering a dormant state according to the hot plug identifier in the disconnected state;
the acquisition equipment is connected with an audio-video output terminal, and the audio-video output terminal comprises a camera or a camera; the receiving device is connected with the display device.
4. The terminal device according to claim 3, wherein the terminal device further comprises: a detection module;
the detection module is used for detecting whether the HDMI equipment is connected or not;
the setting sub-module is further configured to, when the detection module detects that the detection module is connected to the HDMI device, call a system function to set the hot plug identifier to an insertion state according to the first instruction.
5. A remote control system, comprising: a server and the terminal device according to any one of claims 3 to 4.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710475594.5A CN107317687B (en) | 2017-06-21 | 2017-06-21 | Remote control method, equipment and system |
CN202110064161.7A CN112839097B (en) | 2017-06-21 | 2017-06-21 | Remote control method, equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710475594.5A CN107317687B (en) | 2017-06-21 | 2017-06-21 | Remote control method, equipment and system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110064161.7A Division CN112839097B (en) | 2017-06-21 | 2017-06-21 | Remote control method, equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107317687A CN107317687A (en) | 2017-11-03 |
CN107317687B true CN107317687B (en) | 2021-03-09 |
Family
ID=60184200
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710475594.5A Active CN107317687B (en) | 2017-06-21 | 2017-06-21 | Remote control method, equipment and system |
CN202110064161.7A Active CN112839097B (en) | 2017-06-21 | 2017-06-21 | Remote control method, equipment and system |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110064161.7A Active CN112839097B (en) | 2017-06-21 | 2017-06-21 | Remote control method, equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107317687B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112087476B (en) * | 2019-06-14 | 2022-07-01 | 腾讯科技(深圳)有限公司 | Page starting method, first hardware equipment, mobile terminal, server and system |
CN111030865A (en) * | 2019-12-17 | 2020-04-17 | 威创集团股份有限公司 | Remote control method of information source host and distributed audio and video transmission system |
CN115424555A (en) * | 2022-09-30 | 2022-12-02 | 联想(北京)有限公司 | Display control method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483908A (en) * | 2009-02-18 | 2009-07-15 | 王翥 | Wireless sensor network node |
CN102749945A (en) * | 2012-06-12 | 2012-10-24 | 王博思 | Control terminal and system for indoor temperature |
CN103024435A (en) * | 2012-12-21 | 2013-04-03 | 深圳Tcl新技术有限公司 | HDMI (high-definition multimedia interface) interface detection device and method and HDMI interface system |
CN103684500A (en) * | 2012-09-25 | 2014-03-26 | 华为技术有限公司 | Pairing method of wireless transmitting terminal and wireless receiving terminal and related device |
CN105391751A (en) * | 2014-08-25 | 2016-03-09 | 三星电子株式会社 | REMOTELY CONTROLLABLE ELECTRONIC DEVICE, NETWORK SYSTEM and REMOTE CONTROL METHOD THEREOF |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7779451B2 (en) * | 2006-03-30 | 2010-08-17 | Intel Corporation | Securing wakeup network events |
US20100322125A1 (en) * | 2006-12-08 | 2010-12-23 | Lee In-Hwan | Remote control method of sensor node for low-power and sensor network therefor |
TWI446153B (en) * | 2008-05-09 | 2014-07-21 | Asustek Comp Inc | Method, device and circuit board for shutdown control of electronic apparatus |
CN101959295B (en) * | 2010-09-21 | 2015-06-03 | 中兴通讯股份有限公司 | Energy-saving management method, system and remote management server of wireless sensor network |
US9665149B2 (en) * | 2014-03-17 | 2017-05-30 | Throughtek Technology (Shenzhen) Co., Ltd. | Gateway for controlling wakeup-on-LAN and sleep-on-LAN |
KR20160097623A (en) * | 2015-02-09 | 2016-08-18 | 삼성전자주식회사 | Electronic device, contorl method thereof and system |
CN105045599A (en) * | 2015-08-12 | 2015-11-11 | 创维光电科技(深圳)有限公司 | Television and computer integrated machine and method for realizing remote startup and shutdown control of same |
CN105554572A (en) * | 2015-10-28 | 2016-05-04 | 深圳市美贝壳科技有限公司 | Intelligent household equipment sleep method capable of performing network accessing |
CN105872391A (en) * | 2016-06-15 | 2016-08-17 | 华为技术有限公司 | Control method, control device and control system for IP (Internet Protocol) Camera |
CN106658194B (en) * | 2017-01-03 | 2019-09-17 | 青岛海信电器股份有限公司 | A kind of fast boot of television method and device |
-
2017
- 2017-06-21 CN CN201710475594.5A patent/CN107317687B/en active Active
- 2017-06-21 CN CN202110064161.7A patent/CN112839097B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101483908A (en) * | 2009-02-18 | 2009-07-15 | 王翥 | Wireless sensor network node |
CN102749945A (en) * | 2012-06-12 | 2012-10-24 | 王博思 | Control terminal and system for indoor temperature |
CN103684500A (en) * | 2012-09-25 | 2014-03-26 | 华为技术有限公司 | Pairing method of wireless transmitting terminal and wireless receiving terminal and related device |
CN103024435A (en) * | 2012-12-21 | 2013-04-03 | 深圳Tcl新技术有限公司 | HDMI (high-definition multimedia interface) interface detection device and method and HDMI interface system |
CN105391751A (en) * | 2014-08-25 | 2016-03-09 | 三星电子株式会社 | REMOTELY CONTROLLABLE ELECTRONIC DEVICE, NETWORK SYSTEM and REMOTE CONTROL METHOD THEREOF |
Also Published As
Publication number | Publication date |
---|---|
CN112839097B (en) | 2023-03-17 |
CN107317687A (en) | 2017-11-03 |
CN112839097A (en) | 2021-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104618793B (en) | A kind of information processing method and electronic equipment | |
US9615133B2 (en) | Control module of multimedia device and method for controlling multimedia device to generate image data required by display module | |
CN103559150A (en) | Realizing method and device for external camera of host, and mobile terminal | |
CN111629239B (en) | Screen projection processing method, device, equipment and computer readable storage medium | |
US11086635B2 (en) | Electronic device, method for controlling electronic device, and program | |
CN107317687B (en) | Remote control method, equipment and system | |
KR101876651B1 (en) | Interface circuit, method and device for state switching | |
CN111338592A (en) | Remote screen projection method and device | |
CN114501090B (en) | Screen projection method, device, equipment and computer readable storage medium | |
CN111683279A (en) | Display apparatus and image restoration method | |
WO2024051824A1 (en) | Image processing method, image processing circuit, electronic device, and readable storage medium | |
WO2021143168A1 (en) | Trusted execution environment operating system crash processing method and electronic device | |
CN108737900A (en) | A kind of output method of terminal signaling | |
CN107153621B (en) | Equipment identification method and device | |
CN112738620A (en) | Media resource screen projection method, equipment and system | |
EP3036897A1 (en) | Terminal apparatus and method for controlling thereof | |
CN106454194B (en) | Video method and system based on VR equipment | |
CN103685943A (en) | Display equipment, image capturing and controlling device and image capturing and controlling method | |
CN114285957A (en) | Image processing circuit and data transmission method | |
CN113194341A (en) | Method and device for automatically controlling television through set top box | |
TW202107163A (en) | Display device and control method thereof | |
CN109086083A (en) | Method and device for controlling equipment starting and interactive intelligent panel | |
US9952853B2 (en) | Methods for cross-mounting devices and apparatus utilizing the same | |
CN110545474A (en) | Screen protection control method and control system of TFT (thin film transistor) liquid crystal screen | |
CN114077413B (en) | Display module control system, display device and control method |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Remote control methods, equipment, and systems Granted publication date: 20210309 Pledgee: Pudong Development Bank of Shanghai Limited by Share Ltd. Xi'an branch Pledgor: XI'AN VANXVM ELECTRONICS TECHNOLOGY Co.,Ltd. Registration number: Y2024610000022 |