CN111385478B - Terminal remote control method and device, smart card, control terminal and medium - Google Patents
Terminal remote control method and device, smart card, control terminal and medium Download PDFInfo
- Publication number
- CN111385478B CN111385478B CN202010195544.3A CN202010195544A CN111385478B CN 111385478 B CN111385478 B CN 111385478B CN 202010195544 A CN202010195544 A CN 202010195544A CN 111385478 B CN111385478 B CN 111385478B
- Authority
- CN
- China
- Prior art keywords
- remote control
- terminal
- instruction
- power supply
- controlled 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
- H04N23/661—Transmitting camera control signals through networks, e.g. control via the Internet
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/65—Control of camera operation in relation to power supply
Abstract
The embodiment of the invention discloses a terminal remote control method, a terminal remote control device, an intelligent card, a control terminal and a medium. Wherein, the method comprises the following steps: receiving a remote control instruction sent by a control terminal, wherein the remote control instruction is used for controlling the running state of a controlled terminal; and executing the remote control instruction and feeding back an instruction execution result to the control terminal. The embodiment of the invention solves the problem that when the host of the controlled terminal is powered off and power supply is recovered, the remote control cannot be realized because the controlled terminal is in a shutdown state; the controlled terminal is connected with the intelligent card, interaction is carried out between the controlled terminal and the intelligent card, between the intelligent card and the control terminal, and the remote monitoring efficiency of the control terminal on the controlled terminal is effectively improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of remote start-up control, in particular to a terminal remote control method, a terminal remote control device, an intelligent card, a control terminal and a medium.
Background
With the rapid development of the service industry, the banking industry is gradually developing, and therefore, the remote control technology is increasingly used for devices such as computers, lights and cameras in relevant areas of the banking industry.
At present, the common realization of remote control requires that a controlled terminal and a master control terminal access the internet at the same time, and the master control terminal establishes communication connection with the controlled terminal to realize the control of the controlled terminal. The disadvantage of this solution is that the controlled terminal needs to be in a power-on state, for example, once the controlled terminal is powered off, it must be manually powered on after being powered on to continue the remote control.
Disclosure of Invention
The embodiment of the invention provides a terminal remote control method and device, an intelligent card, a control terminal and a medium, which can establish real-time connection between the control terminal and a controlled terminal through the intelligent card, and effectively improve the remote monitoring efficiency of the controlled terminal.
In a first aspect, an embodiment of the present invention provides a terminal remote control method, which is applied to a smart card, where the smart card is connected to a controlled terminal, and the method includes:
receiving a remote control instruction sent by a control terminal, wherein the remote control instruction is used for controlling the running state of a controlled terminal;
and executing the remote control instruction and feeding back an instruction execution result to the control terminal.
In a second aspect, an embodiment of the present invention provides a terminal remote control method, which is applied to a control terminal, and the method includes:
sending a remote control instruction to an intelligent card according to a control requirement, wherein the remote control instruction is used for indicating the intelligent card to control the running state of a controlled terminal, and the intelligent card is connected with the controlled terminal;
and receiving an instruction execution result fed back by the intelligent card.
In a third aspect, an embodiment of the present invention provides a terminal remote control device configured on a smart card, where the device includes:
the remote control system comprises a receiving module, a control module and a processing module, wherein the receiving module is used for receiving a remote control instruction sent by a control terminal, and the remote control instruction is used for controlling the running state of a controlled terminal;
and the feedback module is used for executing the remote control instruction and feeding back an instruction execution result to the control terminal.
In a fourth aspect, an embodiment of the present invention provides a terminal remote control apparatus, configured to a control terminal, where the apparatus includes:
the remote control system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a remote control instruction to the intelligent card according to a control requirement, the remote control instruction is used for indicating the intelligent card to control the running state of a controlled terminal, and the intelligent card is connected with the controlled terminal;
and the receiving module is used for receiving the instruction execution result fed back by the intelligent card.
In a fifth aspect, an embodiment of the present invention further provides a smart card, where the smart card includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement any of the embodiments of the present invention in a method for remote control of a terminal applied to a smart card.
In a sixth aspect, an embodiment of the present invention further provides a control terminal, where the control terminal includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement any of the present embodiments of the invention for controlling a terminal remote control method in a terminal.
In a seventh aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements any one of the embodiments of the present invention applied to a terminal remote control method in a smart card, or implements any one of the embodiments of the present invention applied to a terminal remote control method in a control terminal.
The embodiment of the invention receives a remote control instruction sent by a control terminal through the intelligent card; the remote control instruction is executed, and the instruction execution result is fed back to the control terminal, so that the problem that when the host of the controlled terminal is powered off and power is restored, the controlled terminal is in a shutdown state, and the remote control of the controlled terminal cannot be realized, and the remote control of the controlled terminal is not limited to the situation that the controlled terminal must be in a startup state any more; the controlled terminal is connected with the intelligent card, interaction between the controlled terminal and the intelligent card and interaction between the intelligent card and the control terminal are achieved, and the remote monitoring efficiency of the control terminal on the controlled terminal is effectively improved.
Drawings
Fig. 1 is a schematic flowchart of a terminal remote control method according to a first embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a smart card according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating a terminal remote control method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal remote control device in a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal remote control device according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device in a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a terminal remote control method according to a first embodiment of the present invention. The embodiment can be suitable for receiving the remote control instruction sent by the control terminal through the smart card, thereby realizing the remote control of the controlled terminal. The method of the embodiment can be executed by a terminal remote control device, the device can be realized in a hardware/software mode, and can be configured in a smart card, so that the terminal remote control method described in any embodiment of the application can be realized. As shown in fig. 1, the method specifically includes the following steps:
and S110, receiving a remote control instruction sent by the control terminal, wherein the remote control instruction is used for controlling the running state of the controlled terminal.
In this embodiment, when the control of the controlled terminal is implemented by the conventional method, the control terminal and the controlled terminal are connected via a network, so that some defects exist in monitoring the controlled terminal; for example, when the controlled terminal is powered off, the connection with the control terminal will be lost, and at this time, the control terminal will no longer have the capability of monitoring the controlled terminal. The embodiment of the invention adopts a mode of connecting the controlled terminal with the intelligent card, and realizes the real-time performance of the control terminal for remote monitoring of the controlled terminal by utilizing the interaction of the controlled terminal with the intelligent card and the interaction of the intelligent card and the control terminal.
Specifically, the control terminal may remotely control the controlled terminal by issuing a remote control instruction, for example, the control terminal may be a background server of an internet of things platform connected to the controlled terminal; the control terminal can be unmanned electronic equipment, such as computers, lights, cameras and other equipment in relevant areas of an unmanned bank; the smart card may be a power-on card connected to the controlled terminal through a USB (Universal Serial Bus) interface.
And S120, executing the remote control instruction, and feeding back an instruction execution result to the control terminal.
In this embodiment, after receiving a remote control instruction sent by a control terminal, the smart card needs to convert the remote control instruction into a control instruction of a controlled terminal, and execute the control instruction of the controlled terminal, and after detecting that the execution of the control instruction is completed, query whether a current state of the controlled terminal matches the control instruction, and feed back an execution result of the control instruction to the control terminal. Wherein the remote control instruction comprises at least one of: the power supply comprises a starting instruction, a shutdown instruction, a restarting instruction, a forced shutdown instruction and a power supply state query instruction.
Fig. 2 is a schematic structural diagram of a smart card, where the smart card 200 includes a WIFI antenna interface 210, a key 220, a first reset connection interface 230, a first power connection interface 240, a second reset connection interface 250, a second power connection interface 260, and a slot 270. The embodiment of the invention designs the intelligent card autonomously, and triggers the power supply and the reset key of the controlled terminal mainboard according to the received remote control instruction of the control terminal by modifying the power supply on-off and the reset circuit of the controlled terminal host to the intelligent card, thereby realizing the functions of remote start-up, shutdown, restart and the like.
Specifically, the WIFI antenna interface 210 is used for receiving a WIFI antenna, so that the smart card is connected to the internet; the key 220 has functions of resetting and restarting the smart card, for example, a long press indicates resetting, and a single press indicates restarting; the slot 270 has the function of inserting a USB interface, and is used for connecting a host of a controlled terminal; the first reset connection interface 230 is connected with a chassis reset key of the controlled terminal and is used for controlling the reset of the chassis of the controlled terminal; the second reset connection interface 250 is connected with a mainboard reset key of the controlled terminal and is used for controlling the reset of the controlled mainboard; the first power connection interface 240 is connected with a chassis power key of the controlled terminal and is used for turning on a chassis power according to the received remote control instruction; the second power connection interface 260 is connected with a main board power key of the controlled terminal and used for starting the main board power through a received remote control instruction, therefore, under the condition that the controlled terminal is powered off, the smart card connected with the host still has power, the smart card can continuously receive the remote control instruction sent by the control terminal, the remote control instruction is executed on the controlled terminal, and the problem that when the host of the controlled terminal is powered off and power is recovered, the controlled terminal is in a shutdown state, and remote start-up control cannot be realized is solved.
The intelligent card is equivalent to a control module added in a connecting line of a case of the controlled terminal and the mainboard, and the control module receives a remote control instruction and converts the remote control instruction into a control command of a local host of the controlled terminal to realize the control of the controlled host.
Optionally, before receiving the remote control instruction sent by the control terminal, the method further includes:
and sending a remote connection request to the control terminal through the controlled terminal, wherein the remote connection request comprises the intelligent card identifier.
In this embodiment, before the smart card and the control terminal perform remote interaction, a remote connection between the smart card and the control terminal needs to be established; specifically, the intelligent terminal may send a remote connection request to the control terminal through the controlled terminal based on a message publish and subscribe transport protocol (MQTT protocol) to establish a remote connection with the control terminal. The smart card identifier is Identity information of the smart card, and may be, for example, a smart card ID (Identity Document, unique code).
Optionally, if the remote control instruction is a restart instruction, before receiving the remote control instruction sent by the control terminal, the method further includes:
and if the operating state of the controlled terminal is monitored to be abnormal, sending a restarting request to the control terminal, wherein the restarting request is used for indicating the control terminal to send a restarting instruction.
In this embodiment, the smart card may monitor the operation state of the controlled terminal in real time, so that the controlled terminal can perform fast real-time processing when an error occurs in operation. When the current operation page of the controlled terminal cannot be responded for a long time, the abnormal operation state of the controlled terminal can be represented; for example, if an unattended computer is set, a screen blacking phenomenon suddenly occurs and automatic recovery cannot be performed for a long time, it can be determined that the computer is abnormal in operation at the moment; when the smart card monitors the abnormal conditions, in order to avoid the operation efficiency of the controlled terminal, the smart card needs to execute a restarting operation; when the intelligent card equipment needs to be restarted, the intelligent card equipment only needs to send a restarting request to the control terminal without manual restarting by workers, so that the manual operation time is effectively reduced, and the labor cost is saved.
Optionally, receiving a remote control instruction sent by the control terminal includes:
receiving a remote control instruction sent by a control terminal by using a message publishing and subscribing transmission protocol;
correspondingly, the feedback of the instruction execution result to the control terminal includes:
and feeding back an instruction execution result to the control terminal by using a message publishing and subscribing transmission protocol.
In this embodiment, the connection between the smart card and the control terminal is established based on the message publishing and subscribing transmission protocol, and when receiving the remote control instruction sent by the control terminal and feeding back the execution result of the remote control instruction to the controlled terminal, the security in the message transmission process can be ensured through the message publishing and subscribing transmission protocol.
The embodiment of the invention receives a remote control instruction sent by a control terminal through the intelligent card; the remote control instruction is executed, and the instruction execution result is fed back to the control terminal, so that the problem that when the host of the controlled terminal is powered off and power is restored, the controlled terminal is in a shutdown state, and the remote control of the controlled terminal cannot be realized, and the remote control of the controlled terminal is not limited to the situation that the controlled terminal must be in a startup state any more; the controlled terminal is connected with the intelligent card, interaction is carried out between the controlled terminal and the intelligent card, between the intelligent card and the control terminal, and the remote monitoring efficiency of the control terminal on the controlled terminal is effectively improved.
Example two
Fig. 3 is a flowchart illustrating a terminal remote control method according to a second embodiment of the present invention. The present embodiment is applicable to a case of transmitting a remote control instruction to a smart card. The method of the embodiment can be executed by a terminal remote control device, the device can be realized in a hardware/software mode, and can be configured in a control terminal, so that the terminal remote control method described in any embodiment of the application can be realized. As shown in fig. 3, the method specifically includes the following steps:
and S210, sending a remote control instruction to the intelligent card according to the control requirement, wherein the remote control instruction is used for indicating the intelligent card to control the running state of the controlled terminal, and the intelligent card is connected with the controlled terminal.
In this embodiment, when the control terminal monitors the controlled terminal, the control terminal may perform a real-time monitoring mode and a timing monitoring mode. If a real-time monitoring mode is adopted, a remote control instruction needs to be sent to the intelligent card in real time so as to acquire the running state of the controlled terminal through the intelligent card; if the timing monitoring mode is adopted, a certain sending time interval is preset, and when the set sending time is reached, a remote control instruction is sent to the intelligent card so as to instruct the intelligent card to execute the remote control instruction. Wherein the remote control instruction comprises at least one of: the power supply comprises a starting instruction, a shutdown instruction, a restarting instruction, a forced shutdown instruction and a power supply state query instruction.
Specifically, the smart card can send the preset startup time and shutdown time of the controlled terminal to the control terminal through a message publishing and subscription transmission protocol, so that the control terminal can realize the startup and shutdown operations of the controlled terminal at the specified time; if the smart card monitors that the running state of the controlled terminal is abnormal, a restart instruction or a forced shutdown instruction can be sent to the control terminal; the control terminal needs to send a power state query instruction to the smart card in real time to ensure that the controlled terminal can work normally and effectively.
In the embodiment, the method for realizing interaction with the controlled terminal through the smart card is adopted, so that direct interaction between the control terminal and the controlled terminal is avoided, and the problem of remote control failure caused by shutdown state of the controlled terminal when the controlled terminal is powered off and power is restored is solved. Through the host computer of smart card connection controlled terminal, even controlled terminal cuts off the power supply, the host computer also has the electricity, consequently, can not influence the mutual between smart card and the control terminal, control terminal still can realize the control to controlled terminal arrival through the smart card.
And S220, receiving the instruction execution result fed back by the intelligent card.
In this embodiment, after receiving the instruction execution result fed back by the smart card, the instruction execution result needs to be determined; if the judgment result shows that the remote control instruction sent by the control terminal is successfully executed, deleting the original remote control instruction; and if the judgment result shows that the remote control instruction sent by the control terminal is not successfully executed, the remote control instruction is sent again until the execution result fed back by the intelligent card is received, and the judgment shows that the remote control instruction is successfully executed.
Optionally, before sending the remote control instruction to the smart card according to the control requirement, the method further includes:
and receiving a remote connection request sent by the smart card, wherein the remote connection request comprises a smart card identifier.
In this embodiment, the control terminal and the controlled terminal are non-interactive, and only data information is transmitted through the smart card, so that a protocol connection between the control terminal and the smart card needs to be established to effectively monitor the controlled terminal.
Optionally, if the remote control instruction is a restart instruction, before sending the remote control instruction to the smart card according to the control requirement, the method further includes:
and receiving a restart request sent by the smart card, and sending a restart instruction according to the restart request, wherein the restart request is initiated by the smart card based on the abnormal running state of the controlled terminal.
In this embodiment, the control terminal may receive a restart request sent by the smart card based on a message publish and subscribe transmission protocol; the intelligent card initiates the restart request based on the abnormal operation state of the controlled terminal, and the control terminal sends the restart instruction to the intelligent card, so that the controlled terminal can be quickly restarted in real time, and the problems of time consumption and high labor cost caused by the fact that the controlled terminal needs to be manually restarted by a worker when the operation is abnormal are solved.
Optionally, according to the control requirement, sending a remote control instruction to the smart card, including:
sending a remote control instruction to the intelligent card by using a message publishing and subscribing transmission protocol according to a control requirement;
correspondingly, the receiving of the instruction execution result fed back by the smart card includes:
and receiving an instruction execution result fed back by the intelligent card by using a message publishing and subscribing transmission protocol.
In this embodiment, the connection between the smart card and the control terminal is established based on the message publishing and subscribing transmission protocol, and when the remote control instruction is sent to the smart card and the instruction execution result fed back by the smart card is received, the security of the message transmission process can be effectively ensured through the message publishing and subscribing transmission protocol.
The implementation of the invention sends a remote control instruction to the intelligent card according to the control requirement, wherein the remote control instruction is used for indicating the intelligent card to control the running state of the controlled terminal; the intelligent card is connected with the controlled terminal and receives the instruction execution result fed back by the intelligent card. By the method for realizing interaction between the smart card and the controlled terminal, direct interaction between the control terminal and the controlled terminal is avoided, and the problem of remote control failure caused by shutdown state of the controlled terminal when the controlled terminal is powered off and power is restored is solved. Through the host computer of smart card connection controlled terminal, even controlled terminal cuts off the power supply, the host computer also has the electricity, consequently, can not influence the mutual between smart card and the control terminal, control terminal still can realize the control to controlled terminal arrival through the smart card.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a terminal remote control device in a third embodiment of the present invention, which is applicable to a situation where a remote control instruction sent by a control terminal is received by a smart card, so as to implement remote control of a controlled terminal. The device is configured in the intelligent card, and can realize the terminal remote control method in any embodiment of the application. The device specifically comprises the following steps:
a receiving module 410, configured to receive a remote control instruction sent by a control terminal, where the remote control instruction is used to control an operating state of a controlled terminal;
and the feedback module 420 is configured to execute the remote control instruction and feed back an instruction execution result to the control terminal.
Optionally, the remote control instruction includes at least one of: the power supply comprises a starting instruction, a shutdown instruction, a restarting instruction, a forced shutdown instruction and a power supply state query instruction.
Optionally, the apparatus of this embodiment further includes:
and the sending module is used for sending a remote connection request to the control terminal through the controlled terminal, wherein the remote connection request comprises an intelligent card identifier.
Optionally, the sending module is further configured to send a restart request to the control terminal if it is monitored that the operating state of the controlled terminal is abnormal, where the restart request is used to instruct the control terminal to send a restart instruction.
Optionally, the receiving module 410 is specifically configured to:
and receiving a remote control instruction sent by the control terminal by using a message publishing and subscribing transmission protocol.
Optionally, the feedback module 420 is specifically configured to:
and feeding back the instruction execution result to the control terminal by using the message publishing and subscribing transmission protocol.
Through the terminal remote control device in the third embodiment of the invention, the problem that when the host of the controlled terminal is powered off and power is restored, the controlled terminal is in the power-off state, so that the remote control of the controlled terminal cannot be realized, and the remote control of the controlled terminal is not limited to the fact that the controlled terminal must be in the power-on state any more; the controlled terminal is connected with the intelligent card, interaction is carried out between the controlled terminal and the intelligent card, between the intelligent card and the control terminal, and the remote monitoring efficiency of the control terminal on the controlled terminal is effectively improved.
The terminal remote control device provided by the embodiment of the invention can execute the terminal remote control method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 5 is a schematic structural diagram of a terminal remote control device in a fourth embodiment of the present invention, which is applicable to a case of sending a remote control instruction to a smart card. The device is configured in the control terminal, and can realize the terminal remote control method in any embodiment of the application. The device specifically comprises the following steps:
a sending module 510, configured to send a remote control instruction to a smart card according to a control requirement, where the remote control instruction is used to instruct the smart card to control an operating state of a controlled terminal, and the smart card is connected to the controlled terminal;
a receiving module 520, configured to receive an instruction execution result fed back by the smart card.
Optionally, the remote control instruction includes at least one of: the power supply comprises a starting instruction, a shutdown instruction, a restarting instruction, a forced shutdown instruction and a power supply state query instruction.
Optionally, the apparatus of this embodiment further includes:
and the receiving module is used for receiving a remote connection request sent by the smart card, wherein the remote connection request comprises a smart card identifier.
Optionally, the receiving module is further configured to receive a restart request sent by the smart card, and send the restart instruction according to the restart request, where the restart request is initiated by the smart card based on an abnormal operating state of the controlled terminal.
Optionally, the sending module 510 is specifically configured to;
and sending a remote control instruction to the intelligent card by using a message publishing and subscribing transmission protocol according to the control requirement.
Optionally, the receiving module 520 is specifically configured to:
and receiving an instruction execution result fed back by the intelligent card by utilizing the message publishing and subscribing transmission protocol.
By the terminal remote control device of the fourth embodiment of the invention, the problem that when the controlled terminal is powered off and power supply is recovered, the remote control fails because the controlled terminal is in a shutdown state is solved. Through the host computer of smart card connection controlled terminal, even controlled terminal cuts off the power supply, the host computer also has the electricity, consequently, can not influence the mutual between smart card and the control terminal, control terminal still can realize the control to controlled terminal arrival through the smart card.
The terminal remote control device provided by the embodiment of the invention can execute the terminal remote control method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an electronic device in a fifth embodiment of the present invention, which is used to exemplarily illustrate a general structure of a smart card or a control terminal in the foregoing embodiment, that is, the electronic device may be a smart card device or a control-end device. As shown in fig. 6, the electronic device includes a processor 610, a memory 620, an input device 630, and an output device 640; the number of the processors 610 in the electronic device may be one or more, and one processor 610 is taken as an example in fig. 6; the processor 610, the memory 620, the input device 630, and the output device 640 in the electronic apparatus may be connected by a bus or other means, and fig. 6 illustrates an example of connection by a bus.
The memory 620 serves as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the terminal remote control method in the embodiments of the present invention. The processor 610 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 620, that is, implements the above-described terminal remote control method.
The memory 620 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 620 can further include memory located remotely from the processor 610, which can be connected to an electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device, and may include a keyboard, a mouse, and the like. The output device 640 may include a display device such as a display screen.
Further, for the smart card device, further comprising: the first reset connection interface is connected with a chassis reset key of the controlled terminal; the second reset connection interface is connected with a main board reset key of the controlled terminal; the first power supply connection interface is connected with a chassis power supply key of the controlled terminal; and the second power supply connection interface is connected with a main board power supply key of the controlled terminal. Furthermore, the smart card device further comprises a slot for fixing the smart card device on the controlled terminal. Of course, the interface that can be set on the smart card device is not limited to the interface of the above example, and can be flexibly designed according to the requirement.
EXAMPLE six
The present embodiments provide a storage medium containing computer-executable instructions for performing a terminal remote control method applied in a smart card or performing a terminal remote control method applied in a control terminal when executed by a computer processor.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform the related operations in the terminal remote control method applied to the smart card provided by any embodiment of the present invention, or may also perform the related operations in the terminal remote control method applied to the control terminal provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (16)
1. A terminal remote control method is applied to a smart card, the smart card is connected with a controlled terminal, and the smart card further comprises: the first power supply connection interface and the second power supply connection interface;
the first power supply connection interface is connected with a chassis power supply key of the controlled terminal and is used for starting the power supply of the chassis of the controlled terminal according to the received remote control instruction;
the second power supply connection interface is connected with a main board power supply key of the controlled terminal and is used for starting the power supply of the main board of the controlled terminal according to the received remote control instruction;
the method comprises the following steps:
receiving the remote control instruction sent by the control terminal, wherein the remote control instruction is used for controlling the running state of the controlled terminal;
executing the remote control instruction and feeding back an instruction execution result to the control terminal; the instruction execution result comprises that the remote control instruction is successfully executed, and the instruction execution result is used for indicating the control terminal to delete the remote control instruction; or the instruction execution result comprises that the remote control instruction is not successfully executed, and the instruction execution result is used for indicating the control terminal to resend the remote control instruction until the execution result fed back by the intelligent card is received and the remote control instruction is judged to be successfully executed.
2. The method of claim 1, wherein the remote control instruction comprises at least one of: the power supply comprises a starting instruction, a shutdown instruction, a restarting instruction, a forced shutdown instruction and a power supply state query instruction.
3. The method according to claim 1, wherein before the receiving the remote control command sent by the control terminal, the method further comprises:
and sending a remote connection request to the control terminal through the controlled terminal, wherein the remote connection request comprises an intelligent card identifier.
4. The method according to claim 2, wherein if the remote control instruction is a restart instruction, before the receiving of the remote control instruction sent by the control terminal, the method further comprises:
and if the operating state of the controlled terminal is monitored to be abnormal, sending a restart request to the control terminal, wherein the restart request is used for indicating the control terminal to send a restart instruction.
5. The method according to claim 1, wherein the receiving of the remote control command sent by the control terminal comprises:
receiving a remote control instruction sent by the control terminal by using a message publishing and subscribing transmission protocol;
correspondingly, feeding back an instruction execution result to the control terminal, including:
and feeding back the instruction execution result to the control terminal by using the message publishing and subscribing transmission protocol.
6. A terminal remote control method is applied to a control terminal, and comprises the following steps:
sending a remote control instruction to an intelligent card according to a control requirement, wherein the remote control instruction is used for indicating the intelligent card to control the running state of a controlled terminal, and the intelligent card is connected with the controlled terminal; the smart card further comprises: the first power supply connection interface and the second power supply connection interface;
the first power supply connection interface is connected with a chassis power supply key of the controlled terminal and is used for starting the power supply of the chassis of the controlled terminal according to the received remote control instruction;
the second power supply connection interface is connected with a main board power supply key of the controlled terminal and is used for starting the power supply of the main board of the controlled terminal according to the received remote control instruction;
receiving an instruction execution result fed back by the intelligent card; if the instruction execution result comprises: if the remote control instruction is successfully executed, deleting the remote control instruction; if the instruction execution result comprises: and if the remote control instruction is not successfully executed, the remote control instruction is retransmitted until an execution result fed back by the intelligent card is received, and the remote control instruction is judged and displayed to be successfully executed.
7. The method of claim 6, wherein the remote control instruction comprises at least one of: the power supply comprises a starting instruction, a shutdown instruction, a restarting instruction, a forced shutdown instruction and a power supply state query instruction.
8. The method of claim 6, wherein prior to said sending the remote control command to the smart card in accordance with the control requirement, the method further comprises:
and receiving a remote connection request sent by the smart card, wherein the remote connection request comprises a smart card identifier.
9. The method according to claim 7, wherein if the remote control command is a restart command, before sending the remote control command to the smart card according to the control requirement, the method further comprises:
and receiving a restart request sent by the smart card, and sending the restart instruction according to the restart request, wherein the restart request is initiated by the smart card based on the abnormal running state of the controlled terminal.
10. The method of claim 6, wherein sending the remote control command to the smart card according to the control requirement comprises:
sending a remote control instruction to the intelligent card according to the control requirement by using a message publishing and subscribing transmission protocol;
correspondingly, the receiving of the instruction execution result fed back by the smart card includes:
and receiving an instruction execution result fed back by the intelligent card by utilizing the message publishing and subscribing transmission protocol.
11. A terminal remote control device, configured to a smart card, the smart card being connected to a controlled terminal, the smart card further comprising: the first power supply connection interface and the second power supply connection interface;
the first power supply connection interface is connected with a chassis power supply key of the controlled terminal and is used for starting the power supply of the chassis of the controlled terminal according to the received remote control instruction;
the second power supply connection interface is connected with a main board power supply key of the controlled terminal and is used for starting the power supply of the main board of the controlled terminal according to the received remote control instruction;
the device comprises:
the receiving module is used for receiving the remote control instruction sent by the control terminal, wherein the remote control instruction is used for controlling the running state of the controlled terminal;
the feedback module is used for executing the remote control instruction and feeding back an instruction execution result to the control terminal; the instruction execution result comprises that the remote control instruction is successfully executed, and the instruction execution result is used for indicating the control terminal to delete the remote control instruction; or the instruction execution result comprises that the remote control instruction is not successfully executed, and the instruction execution result is used for indicating the control terminal to resend the remote control instruction until the execution result fed back by the intelligent card is received and the remote control instruction is judged to be successfully executed.
12. A terminal remote control apparatus, configured to control a terminal, the apparatus comprising:
the remote control system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a remote control instruction to the intelligent card according to a control requirement, the remote control instruction is used for indicating the intelligent card to control the running state of a controlled terminal, and the intelligent card is connected with the controlled terminal; the smart card further comprises: the first power supply connection interface and the second power supply connection interface;
the first power supply connection interface is connected with a chassis power supply key of the controlled terminal and is used for starting the power supply of the chassis of the controlled terminal according to the received remote control instruction;
the second power supply connection interface is connected with a main board power supply key of the controlled terminal and is used for starting the power supply of the main board of the controlled terminal according to the received remote control instruction;
the receiving module is used for receiving the instruction execution result fed back by the intelligent card; if the instruction execution result comprises: if the remote control instruction is successfully executed, deleting the remote control instruction; if the instruction execution result comprises: and if the remote control instruction is not successfully executed, the remote control instruction is retransmitted until an execution result fed back by the intelligent card is received, and the remote control instruction is judged and displayed to be successfully executed.
13. A smart card, comprising:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, causing the one or more processors to implement the terminal remote control method according to any one of claims 1 to 5;
the smart card further comprises:
the first reset connection interface is connected with a chassis reset key of the controlled terminal;
the second reset connection interface is connected with a main board reset key of the controlled terminal;
the first power supply connection interface is connected with a chassis power supply key of the controlled terminal;
and the second power supply connection interface is connected with a main board power supply key of the controlled terminal.
14. The smart card of claim 13, further comprising a slot for securing the smart card to a controlled terminal.
15. A control terminal, comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of remote control of a terminal as claimed in any of claims 6 to 10.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a terminal remote control method according to any one of claims 1 to 5, or implements a terminal remote control method according to any one of claims 6 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010195544.3A CN111385478B (en) | 2020-03-19 | 2020-03-19 | Terminal remote control method and device, smart card, control terminal and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010195544.3A CN111385478B (en) | 2020-03-19 | 2020-03-19 | Terminal remote control method and device, smart card, control terminal and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111385478A CN111385478A (en) | 2020-07-07 |
CN111385478B true CN111385478B (en) | 2021-10-15 |
Family
ID=71217189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010195544.3A Active CN111385478B (en) | 2020-03-19 | 2020-03-19 | Terminal remote control method and device, smart card, control terminal and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111385478B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113370211A (en) * | 2021-06-25 | 2021-09-10 | 深圳市拓普智造科技有限公司 | Robot and remote control method and system thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102006584A (en) * | 2009-08-28 | 2011-04-06 | 中兴通讯股份有限公司 | Intelligent card remote control method and system |
CN103716377A (en) * | 2013-12-10 | 2014-04-09 | 华为技术有限公司 | Method for realizing UPS remote monitoring and smart card |
CN106303347A (en) * | 2015-05-20 | 2017-01-04 | 江苏逐焱信息科技有限公司 | A kind of digital visual intercommunication indoor intelligent gateway extension set control system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6098891A (en) * | 1998-06-29 | 2000-08-08 | Schlumberger Malco, Inc. | Controlling industrial processes |
EP2224376B1 (en) * | 2009-02-25 | 2014-12-31 | Vodafone Holding GmbH | Power supply for a chip card |
US8833666B2 (en) * | 2012-03-09 | 2014-09-16 | Infineon Technologies Ag | Smart card device |
CN204884130U (en) * | 2015-08-11 | 2015-12-16 | 北京航天金盾科技有限公司 | Wireless acquisition terminal of housekeeping information |
CN105180264B (en) * | 2015-10-29 | 2018-01-19 | 工大科雅(天津)能源科技有限公司 | On-off time area method collection calculator with IC-card prepaid management function |
CN206515990U (en) * | 2016-08-28 | 2017-09-22 | 宁波金泉智能水表有限公司 | Intelligent ic card water meter |
-
2020
- 2020-03-19 CN CN202010195544.3A patent/CN111385478B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102006584A (en) * | 2009-08-28 | 2011-04-06 | 中兴通讯股份有限公司 | Intelligent card remote control method and system |
CN103716377A (en) * | 2013-12-10 | 2014-04-09 | 华为技术有限公司 | Method for realizing UPS remote monitoring and smart card |
CN106303347A (en) * | 2015-05-20 | 2017-01-04 | 江苏逐焱信息科技有限公司 | A kind of digital visual intercommunication indoor intelligent gateway extension set control system |
Also Published As
Publication number | Publication date |
---|---|
CN111385478A (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220179682A1 (en) | Task processing method, apparatus, and system based on distributed system | |
US9560116B2 (en) | Network device, system, method, and storage medium | |
CN105279210A (en) | Automatic mode switching in a synchronous replication environment | |
CN110262822B (en) | Multi-split system and upgrading method and device thereof | |
CN111726413B (en) | Equipment connection method and device | |
CN109308242B (en) | Dynamic monitoring method, device, equipment and storage medium | |
CN103188098B (en) | A kind of disaster tolerance switching method, system and device | |
CN111385478B (en) | Terminal remote control method and device, smart card, control terminal and medium | |
CN108280020B (en) | Monitoring method and device of computer equipment, terminal and computer storage medium | |
CN112860408A (en) | Process keep-alive method, device and system in cloud reality machine and storage medium | |
JP2003044288A (en) | Information processor, information processing system and program | |
CN106550021B (en) | Push method and device for push message | |
CN111427259B (en) | Main and standby switching method of machine frame slot type, intelligent equipment and storage medium | |
CN104539493A (en) | Intelligent terminal system and method of management and control over intelligent household electric appliances based on USB interface | |
CN109413180B (en) | Data acquisition method, system and equipment and storage medium | |
CN111176893A (en) | Computer remote control method, device, system and storage medium | |
CN111966420B (en) | Electronic device, remote control method thereof, terminal device and readable storage medium | |
CN111767176A (en) | Method and device for remotely controlling terminal equipment | |
CN108958989B (en) | System fault recovery method and device | |
CN111858177B (en) | Inter-process communication abnormality repairing method and device, electronic equipment and storage medium | |
CN112559472A (en) | File transmission method and device, computer equipment and storage medium | |
CN112416641A (en) | Controlled end node restart detection method in master-slave architecture and master control end node | |
CN109783136B (en) | Configuration updating method, device, equipment and storage medium | |
CN104142832A (en) | Computer and rebooting method thereof | |
CN112416698B (en) | Expansion method and device of monitoring system, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220920 Address after: 25 Financial Street, Xicheng District, Beijing 100033 Patentee after: CHINA CONSTRUCTION BANK Corp. Address before: 25 Financial Street, Xicheng District, Beijing 100033 Patentee before: CHINA CONSTRUCTION BANK Corp. Patentee before: Jianxin Financial Science and Technology Co.,Ltd. |