CN111966420B - Electronic device, remote control method thereof, terminal device and readable storage medium - Google Patents
Electronic device, remote control method thereof, terminal device and readable storage medium Download PDFInfo
- Publication number
- CN111966420B CN111966420B CN202011122913.2A CN202011122913A CN111966420B CN 111966420 B CN111966420 B CN 111966420B CN 202011122913 A CN202011122913 A CN 202011122913A CN 111966420 B CN111966420 B CN 111966420B
- Authority
- CN
- China
- Prior art keywords
- control module
- mainboard
- control
- instruction
- motherboard
- 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 47
- 238000004891 communication Methods 0.000 claims abstract description 94
- 238000012544 monitoring process Methods 0.000 claims abstract description 85
- 238000004590 computer program Methods 0.000 claims description 13
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 15
- 230000001276 controlling effect Effects 0.000 description 14
- 230000000875 corresponding effect Effects 0.000 description 11
- 230000009471 action Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- 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]
-
- 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/544—Remote
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention provides electronic equipment, which comprises a first mainboard and a second mainboard, wherein the first mainboard comprises a communication module and a first control module, the second mainboard comprises a second control module, and the second mainboard is provided with a starting structure and a state monitoring structure in a matching way; the communication module is connected with the first control module, and is used for receiving a remote control instruction when the first mainboard is in a power-on state, the first control module is used for controlling the power-on structure to act, and the first control module is also used for establishing communication connection with the second control module when receiving a target signal sent by the state monitoring structure. The embodiment of the invention also provides a remote control method, terminal equipment and a readable storage medium. The embodiment of the invention reduces the complexity of remote control aiming at the electronic equipment and improves the remote control efficiency.
Description
Technical Field
The present invention relates to the field of remote control technologies, and in particular, to an electronic device, a remote control method thereof, a terminal device, and a readable storage medium.
Background
With the development of information technology, remote boot control for electronic devices such as computers is becoming increasingly common. In the prior art, a power-on machine capable of communicating with a remote server is generally adopted to control the power-on of an electronic device; however, when the electronic device is turned on, if further control of the electronic device needs to be implemented, the communication connection between the electronic device and the remote server needs to be reestablished, which further results in a complicated remote control process of the electronic device and a low remote control efficiency.
Disclosure of Invention
The embodiment of the invention provides electronic equipment, a remote control method thereof, terminal equipment and a readable storage medium, and aims to solve the problems that after the electronic equipment is started, if the electronic equipment needs to be further controlled, communication connection needs to be reestablished between the electronic equipment and a remote server, so that the remote control process of the electronic equipment is complicated, and the remote control efficiency is low.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an electronic device, including a first motherboard and a second motherboard, where the first motherboard includes a communication module and a first control module, the second motherboard includes a second control module, and the second motherboard is equipped with a power-on structure and a state monitoring structure; wherein,
the starting structure is used for starting and triggering the second mainboard, and the state monitoring structure is used for monitoring the running state of the second mainboard to obtain a state monitoring signal;
the communication module is connected with the first control module, and is used for receiving a remote control instruction when the first mainboard is in a power-on state, the first control module is used for controlling the power-on structure to act, the first control module is also used for establishing communication connection with the second control module when receiving a target signal sent by the state monitoring structure, and the target signal is a state monitoring signal used for representing that the second mainboard is in a power-on running state.
In a second aspect, an embodiment of the present invention further provides a remote control method, which is applied to the electronic device described above, where the method includes:
under the condition that the first mainboard is in a starting state, receiving a remote starting instruction through a communication module;
controlling a starting structure to act through a first control module according to the remote starting instruction so as to start the second mainboard;
and under the condition that the first control module receives a target signal sent by a state monitoring structure, controlling the first control module to establish communication connection with the second control module, wherein the target signal is used for representing that the second mainboard is in a started running state.
In a third aspect, an embodiment of the present invention further provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method described above.
The electronic equipment provided by the embodiment of the invention comprises a first mainboard and a second mainboard, wherein the first mainboard comprises a communication module and a first control module, the second mainboard comprises a second control module, and the second control module is provided with a starting structure and a state monitoring structure in a matching way; the starting structure is used for starting and triggering the second mainboard, the state monitoring structure is used for monitoring the running state of the second mainboard to obtain a state monitoring signal, when the first control module receives a target signal which is sent by the state monitoring structure and used for representing that the second mainboard is in the starting state, the first control module can be in communication connection with the second control module, further control over the second mainboard can be achieved based on a remote control instruction, a direct communication connection relation does not need to be reestablished between the second mainboard and a remote server, complexity of remote control over the electronic equipment is reduced, and remote control efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 2 is a flowchart of a remote control method according to a first embodiment of the present invention;
FIG. 3 is a flow chart of a remote control method according to a second embodiment of the present invention;
fig. 4 is a flowchart of a remote control method according to a third embodiment of the present invention;
fig. 5 is a flowchart of implementing remote shutdown in an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help the full understanding of the embodiments of the present invention. Thus, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The use of "first," "second," and similar terms in the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. Also, the use of the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one.
As shown in fig. 1, an electronic device 100 according to an embodiment of the present invention includes a first motherboard 110 and a second motherboard 120, where the first motherboard 110 includes a communication module 111 and a first control module 112, the second motherboard 120 includes a second control module 121, and the second motherboard 120 is configured with a power-on structure 123 and a status monitoring structure 122; wherein,
the startup structure 123 is configured to perform startup triggering on the second motherboard 120, and the state monitoring structure 122 is configured to monitor an operating state of the second motherboard 120 to obtain a state monitoring signal;
the communication module 111 is connected to the first control module 112, and when the first motherboard 110 is in a power-on state, the communication module 111 is configured to receive a remote control instruction, the first control module 112 is configured to control the power-on structure 123 to operate, and the first control module 112 is further configured to establish a communication connection with the second control module 121 when receiving a target signal sent by the state monitoring structure 122, where the target signal is a state monitoring signal for representing that the second motherboard 120 is in a power-on operating state.
It is easy to understand that, for the electronic device 100, the first motherboard 110 and the second motherboard 120 are included, and both may correspond to an operating system. In this embodiment, the initial state of the first motherboard 110 may be in a boot state, so as to control the booting and other types of actions of the second motherboard 120.
The first main board 110 includes a communication module 111 for communicating with a remote server, for example, the communication module 111 may be a WiFi communication module 111 or a wired communication module 111, and is communicatively connected to the remote server through a router. In some possible application scenarios, the communication module 111 may also be a bluetooth module, a ZigBee module, or other types of communication modules 111 to directly perform communication connection with a nearby server.
In a preferred embodiment, the first motherboard 110 may be in a state of being kept powered on, and meanwhile, the first motherboard 110 may correspond to an operating system without an interface, and when the first motherboard 110 is powered on, the first motherboard 110 is directly powered on, and the communication module 111 starts to wait for receiving a remote control command sent by a remote server. Certainly, in practical applications, the first main board 110 may also be connected to a touch screen or an operation key, and the power is turned on by a trigger operation of a user.
The first control module 112 is connected to the communication module 111 mainly means that the communication module 111 can transmit the received remote control command to the first control module 112. In some application scenarios, the first control module 112 may also send some specific information to a remote server through the communication module 111.
The second motherboard 120 is provided with a power-on structure 123 and a state monitoring structure 122, the power-on structure 123 is mainly used for performing power-on triggering on the second motherboard 120, for example, the power-on structure 123 may be a relay; or the power-on structure 123 may also be a displacement trigger for simulating a pressing operation of a power-on key of the first main board 110. It is easy to understand that, both for the relay and the displacement trigger, actions can be performed based on a specific signal sent by the first main board 110 to achieve the power-on of the second main board 120.
The state monitoring structure 122 may be a monitoring structure for parameters such as voltage and current, and it is easy to understand that the second motherboard 120 cannot monitor the power of the motherboard bus before being powered on, and based on this, it may be possible to effectively monitor whether the second motherboard 120 is powered on. In other words, in this embodiment, the state detection structure may include a monitoring structure for the motherboard bus power supply, and send a monitoring result for the motherboard bus power supply to the first control module 112.
When the first control module 112 receives the target signal, a communication connection may be established with the second control module 121. The target signal herein mainly refers to a status monitoring signal sent by the status monitoring structure 122 for indicating that the second motherboard 120 is in the powered-on operating state, for example, the target signal may refer to the above signal for indicating that the power supply of the motherboard bus of the second motherboard 120 has been monitored. In the process of establishing the communication connection between the first control module 112 and the second control module 121, the first control module 112 may actively request to establish the communication connection, or the second control module 121 may actively request to establish the communication connection, which is not limited herein.
It is easy to understand that the second control module 121 belongs to a main component of the second motherboard 120, and the second control module 121 can also operate correspondingly when the second motherboard 120 is in a powered-on state; the second control module 121 may be a main processing and operation module of the second motherboard 120, and when the first control module 112 and the second control module 121 establish a communication connection, the first control module 112 may directly control the second control module 121 to perform corresponding actions, so as to implement actions such as controlling an operating system corresponding to the second motherboard 120 to perform black screen, enter screen protection, start and formulate an application program, install software, store a file, intercept screen information, or obtain an operating state and an action condition of the operating system, which is not specifically limited herein.
The first control module 112 and the second control module 121 may communicate based on a serial interface or a parallel interface, such as an RS485 or an RS232 interface, which is not limited herein.
As can be seen from the above description, after the second motherboard 120 is powered on, only the establishment of the communication connection between the first control module 112 and the second control module 121 needs to be performed inside the electronic device 100, and then the remote control instruction can be transmitted to the second control module 121 through the links from the communication module 111 to the first control module 112 to the second control module 121, so as to control the second motherboard 120; meanwhile, data related to the second motherboard 120, such as running state data or operating system running data, may also be sent to the remote server through reverse transmission; and thus there is no need to establish a communication connection between the second motherboard 120 and the remote server.
The electronic device 100 provided in the embodiment of the present invention includes a first motherboard 110 and a second motherboard 120, where the first motherboard 110 includes a communication module 111 and a first control module 112, the second motherboard 120 includes a second control module 121, and the second control module 121 is provided with a power-on structure 123 and a state monitoring structure 122; the boot structure 123 is configured to perform boot triggering on the second motherboard 120, the state monitoring structure 122 is configured to monitor an operating state of the second motherboard 120 to obtain a state monitoring signal, and when the first control module 112 receives a target signal sent by the state monitoring structure 122 and used for representing that the second motherboard 120 is in the booted state, the first control module can establish a communication connection with the second control module 121, and further control over the second motherboard 120 can be realized based on a remote control instruction, and a direct communication connection relationship does not need to be reestablished between the second motherboard 120 and a remote server, so that complexity of remote control over the electronic device 100 is reduced, and remote control efficiency is improved.
In combination with an actual Application scenario in which a user remotely powers on the electronic device 100, the user may perform a remote control operation through a WeChat applet or a mobile phone Application (APP) in the mobile terminal, and the mobile terminal may send a remote control instruction formed in response to the user operation to the remote server through 4G, 5G, WiFi, or the like, and the remote server forwards the remote control instruction to the communication module 111 of the electronic device 100. Of course, the mobile terminal may also directly communicate with the communication module 111 of the electronic device 100, that is, the mobile terminal is used to replace the function of the remote server.
Optionally, the power-on structure 123 includes a power-on relay and a power-on relay, where the power-on relay is used to control the power on/off of the second motherboard 120, and the power-on relay is used to trigger a power-on key of the second motherboard 120;
the target signal is a signal sent to the first control module 112 by the state monitoring structure 122 when the second motherboard 120 and the power supply are powered on and the power-on key of the second motherboard 120 is triggered.
In this embodiment, the booting process of the second motherboard 120 may be divided into two stages, i.e., a power-on stage and a power-on stage, in other words, the initial state of the second motherboard 120 may be a non-power-on state; when the communication module 111 receives a power-on control instruction sent by the remote server, the power-on control instruction is sent to the first control module 112, and the first control module 112 may control the power-on relay to act based on the power-on control instruction, so as to connect the second motherboard 120 with the power supply. Similarly, when the communication module 111 receives the power-on control instruction, the first control module 112 may control the power-on relay to act based on the power-on control instruction, so as to trigger the power-on key of the second motherboard 120.
It is understood that the power-on control command and the power-on control command from the remote server may be components of the remote control command. The state monitoring structure 122 may determine whether the corresponding relay normally operates by monitoring the operating state of the second motherboard 120, for example, when the state monitoring structure 122 monitors the motherboard power supply of the second motherboard 120, it may be considered that the power-on relay normally operates, and when the state monitoring structure 122 monitors the motherboard bus power supply of the second motherboard 120, it may be considered that the power-on relay normally operates; and the corresponding monitoring results, i.e., the status monitoring signals described above, may be sent by the status monitoring structure 122 to the first control module 112. When the motherboard bus power of the second motherboard 120 is monitored, it can be considered that the second motherboard 120 and the power are powered on, and the power-on key of the second motherboard 120 is triggered, and accordingly, the signal sent to the first control module 112 by the state monitoring structure 122 at this time is the target signal.
In this embodiment, the booting process of the second motherboard 120 is divided into two stages, i.e., a power-on stage and a power-on stage, which can implement remote power-on control of the second motherboard 120, and do not need to keep a power-on state for the second motherboard 120 at all times, so that electronic components on the second motherboard 120 related to power-on can be protected to a certain extent, and the service life of the second motherboard 120 is prolonged.
In one example, the first control module 112 may also send a status monitoring signal to a remote server through the communication module 111, so as to further enable a user performing remote control to acquire the real-time status of the second motherboard 120.
In an example, the second motherboard 120 may also be set to power on, i.e., start up, which may be implemented based on the prior art and is not described herein again; accordingly, the communication module 111 of the electronic device 100 can complete the booting process of the second motherboard 120 when receiving the power-on control instruction, thereby saving booting operation steps.
Optionally, the second control module 121 is connected to the status monitoring structure 122;
the second control module 121 is further configured to acquire a status monitoring signal from the status monitoring structure 122 and send the status monitoring signal to the first control module 112 when the communication connection is established with the first control module 112.
It is easy to understand that the state monitoring structure 122 can monitor the power-on and power-on states of the second motherboard 120, and can also monitor the operating state of the second motherboard 120, wherein, because the second motherboard 120 has more contents to be monitored in the power-on operating state, the state monitoring structure 122 can be connected to the second control module 121, so that the second control module 121 can directly send the state monitoring signal acquired by the state monitoring structure 122 to the first control module 112 through the motherboard interface after integrating or processing the state monitoring signal, and then send the state monitoring signal to the remote server by the communication module 111.
In this embodiment, by connecting the second control module 121 with the state monitoring structure 122, the state monitoring signal can be directly transmitted through the motherboard interface under the condition that the first control module 112 and the second control module 121 establish a communication connection, so as to provide the transmission efficiency of the signal.
It is easy to understand that the status monitoring structure 122 provided on the second motherboard 120 may refer to a circuit for status monitoring integrated in the second motherboard 120 itself, or may refer to a circuit for status detection additionally provided on the second motherboard 120.
Optionally, the second control module 121 is further configured to send a heartbeat signal to the first control module 112 at a preset frequency in a case that a communication connection is established with the first control module 112.
For the heartbeat signal, it is mainly used to monitor whether the first control module 112 and the second control module 121 are in a communication connection state; in other words, when the first control module 112 can receive the heartbeat signal according to the preset frequency, it indicates that the first control module 112 and the second control module 121 are in a communication connection state; when the first control module 112 fails to receive the heartbeat signal for a longer period of time, it indicates that the first control module 112 and the second control module 121 have been disconnected from communication.
Meanwhile, the first control module 112 may also transmit a communication connection state with the second control module 121 to a remote server through the communication module 111 according to a state of receiving the heartbeat signal. As can be seen from the above description, in the present embodiment, the second control module 121 sends the heartbeat signal to the first control module 112 at the preset frequency, which is helpful for effectively monitoring the communication connection status between the two modules.
An embodiment of the present invention further provides a remote control method applied to the electronic device, as shown in fig. 2, the method includes:
step 201, receiving a remote boot instruction through a communication module under the condition that a first mainboard is in a boot state;
The specific structure of the electronic device has been described in the above embodiments of the electronic device, and is not described herein again. The following describes the remote control method provided in this embodiment with reference to an actual application scenario:
the user can send a remote starting instruction to the remote server through the mobile terminal, and the remote server can send the remote starting instruction to the corresponding electronic equipment according to the identity or address information. The electronic equipment receives a remote starting instruction through the communication module, and simultaneously controls a starting structure through the first control module according to the remote starting instruction so as to start the second mainboard; after the second motherboard is powered on, a communication connection can be established between the first control module and a second control module of the second motherboard, so that further control over the operation of the second motherboard or the operation of an operating system corresponding to the second motherboard is realized based on a communication link of the user mobile terminal, the remote server, the communication module, the first control module and the second control module.
As can be seen from the above practical application scenarios, in the remote control method provided in the embodiment of the present invention, when the second motherboard is started based on the remote start instruction, the second motherboard does not need to further establish a communication connection with the remote server, but establishes a communication connection between the first control module and the second control module inside the electronic device, so as to achieve remote further control over the second motherboard, thereby reducing the complexity of remote control for the electronic device and improving the remote control efficiency.
In an example, the remote boot instruction may include a power-on control instruction and a boot control instruction, that is, the boot process of the second motherboard may be divided into two stages, i.e., a power-on stage and a boot stage; meanwhile, the real-time state of the second mainboard in the starting process can be fed back to the user.
The present example is described below with reference to some practical application scenarios, where the remote server may correspond to a public network server.
After receiving the power-on control instruction from the public network server, the communication module communicates with the first control module to enable the first control module to execute the power-on instruction, the first control module can be used for switching on the power supply of the second main board through the power-on relay and feeding back the execution result to the public network server in an original way, and in the process, the monitoring state of the electronic equipment by the public network server is from 'unpowered' → 'unpowered'.
When the communication module receives a start-up control instruction of the public network server, the communication module communicates with the first control module to enable the first control module to execute the instruction to start up, the first control module triggers a start-up key of the second mainboard through a start-up relay and feeds back a result in the card machine to the public network server, after the second mainboard is started up, the second control module included in the second mainboard sends a start-up instruction and a related operation information report instruction of the second mainboard to a mainboard serial port RS485 of the first control module through a mainboard serial port RS485, the first control module receives the serial port start-up instruction and the related operation information report instruction of the second mainboard, the start-up result and the operation state information of the second mainboard are fed back to the public network server through the communication module according to the instruction execution result, and in the whole process, the monitoring state of the electronic equipment by the public network server is started up from ' not started up ' → ', and displaying the running information of the electronic equipment on the public network server.
As can be seen from the above application scenarios, in some alternative embodiments, after the first control module establishes a communication connection with the second control module, the second control module may send the state monitoring signal acquired by the state monitoring structure to the first control module.
That is, as shown in fig. 3, in the present embodiment, the remote control method includes:
Therefore, after the second mainboard is started, various state monitoring signals acquired by the state monitoring structure can be integrated or processed through the second control module and then sent to the first control module, and the data transmission efficiency is improved. The information related to the status monitoring signals can be further transmitted to a remote server through a communication module.
In an example, after the second motherboard is powered on, the second motherboard can be caused to execute different processes based on remote control, for example, it is all possible to remotely control the second motherboard to perform screen blanking, enter screen saver, start a specific application, distribute software installation, distribute files, intercept screen information of an operating system, or directly control the operating system, which is not listed here. Meanwhile, real-time running information of the electronic equipment, such as CPU utilization rate, memory utilization rate, disk utilization rate and the like, can be reported to a remote server through the communication module. The example can realize real-time accurate monitoring and control on the execution flow of the whole remote control, the electronic equipment and various system running states and actions of the electronic equipment.
Accordingly, to implement the above remote control process, in this example, the remote control method includes:
receiving an intermediate control instruction through a communication module;
and sending the intermediate control instruction to a second control module through a first control module, wherein the intermediate control instruction comprises at least one of a black screen control instruction, a screen protection entering control instruction, an application starting control instruction, a software installation distributing control instruction, a file distributing control instruction, a screen capturing control instruction and a real-time operation information obtaining control instruction.
The second mainboard can respond to the black screen control instruction and control a display screen connected with the second mainboard to perform black screen; similarly, the entry screen saver control instruction may be finally used to control the display screen to enter a screen saver state; the application control starting instruction can be used for starting a specific application program in an operating system corresponding to the second main board; distributing a software installation control instruction which can be used for controlling the installation of specific software in the operating system corresponding to the second mainboard; a file distribution control instruction, which can be used to control the storage device corresponding to the second motherboard, store the received files of the types of pictures, documents, videos, etc., or distribute the files in the storage device, etc.; the screen capture control instruction is used for controlling screen capture of a display interface of the display screen corresponding to the second main board; the control instruction for acquiring the real-time operation information can be used for controlling to acquire real-time operation data of the second main board or equipment such as a CPU, a memory and a disk connected with the second main board.
Optionally, as shown in fig. 4, in another embodiment, the remote control method includes:
and step 404, sending a heartbeat signal to the first control module through the second control module according to a preset frequency.
As described above, the heartbeat signal is mainly used to monitor whether the first control module and the second control module are in a communication connection state. In this embodiment, the second control module sends the heartbeat signal to the first control module according to the preset frequency, which is helpful for effectively monitoring the communication connection state between the first control module and the second control module.
Optionally, to implement remote shutdown control on the second motherboard, as shown in fig. 5, in this embodiment, after sending a heartbeat signal to the first control module according to a preset frequency through the second control module, the remote control method further includes:
The present embodiment is described below with reference to some specific application scenarios, where the remote server may correspond to a public network server:
and after receiving the remote shutdown instruction of the public network server, the communication module communicates with the first control module to execute a shutdown process. Specifically, the first control module sends a remote shutdown instruction to the mainboard serial port RS485 of the second control module through the mainboard serial port RS485, and the heartbeat connection of the serial port is disconnected after the second mainboard is shut down; the heartbeat connection here may be, for example, one heartbeat per 1s of the first control module and the second control module, so as to ensure that the second motherboard is online in real time. When the heartbeat packet is disconnected, the remote shutdown instruction sent to the second control module before the heartbeat packet is combined is used for judging that the second mainboard is shut down. The first control module feeds back an instruction execution result to the public network server through the communication module, and in the whole process, the monitoring state of the electronic equipment by the public network server is switched on, and running information "→" switched off "is set on the display terminal of the public network server.
Furthermore, after the communication module receives a power-off instruction of the public network server, the communication module communicates with the first control module to enable the first control module to execute power-off operation, the first control module disconnects the power supply of the second main board through the corresponding relay, and feeds back an execution result to the public network server in an original way, and in the process, the monitoring state of the electronic equipment by the public network server is changed from 'power off' → 'power off'.
Optionally, an embodiment of the present invention further provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the remote control method.
Optionally, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the remote control method described above.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. An electronic device is characterized by comprising a first mainboard and a second mainboard, wherein the first mainboard comprises a communication module and a first control module, the second mainboard comprises a second control module, and the second mainboard is provided with a starting structure and a state monitoring structure in a matching mode; wherein,
the starting structure is used for starting and triggering the second mainboard, and the state monitoring structure is used for monitoring the running state of the second mainboard to obtain a state monitoring signal;
the communication module is connected with the first control module, and is used for receiving a remote control instruction when the first mainboard is in a power-on state, the first control module is used for controlling the power-on structure to act, the first control module is also used for establishing communication connection with the second control module when receiving a target signal sent by the state monitoring structure, and the target signal is a state monitoring signal used for representing that the second mainboard is in a power-on running state.
2. The electronic device according to claim 1, wherein the boot structure comprises a power-on relay and a boot relay, the power-on relay is used for controlling the second motherboard to be powered on or powered off, and the boot relay is used for triggering a boot key of the second motherboard;
the target signal is a signal which is sent to the first control module after the state monitoring structure is electrified with the power supply on the second mainboard and the start key of the second mainboard is triggered.
3. The electronic device of claim 1, wherein the second control module is coupled to the status monitoring structure;
the second control module is further configured to acquire a state monitoring signal from the state monitoring structure and send the state monitoring signal to the first control module when the second control module is in communication connection with the first control module.
4. The electronic device of claim 1, wherein the second control module is further configured to send a heartbeat signal to the first control module at a preset frequency when the communication connection with the first control module is established.
5. A remote control method applied to an electronic device according to any one of claims 1 to 4, the method comprising:
under the condition that the first mainboard is in a starting state, receiving a remote starting instruction through a communication module;
controlling a starting structure to act through a first control module according to the remote starting instruction so as to start the second mainboard;
and under the condition that the first control module receives a target signal sent by a state monitoring structure, controlling the first control module to establish communication connection with the second control module, wherein the target signal is used for representing that the second mainboard is in a started running state.
6. The method of claim 5, wherein after the first control module establishes the communication connection with the second control module, the method further comprises:
and sending a state monitoring signal acquired by the state monitoring structure to the first control module through the second control module.
7. The method of claim 5, wherein after the first control module establishes the communication connection with the second control module, the method further comprises:
sending a heartbeat signal to the first control module through the second control module according to a preset frequency;
receiving a remote shutdown instruction through a communication module;
sending the remote shutdown instruction to the second control module through the first control module, and controlling the startup structure to act through the second control module so as to shutdown the first mainboard;
and under the condition that the first control module does not receive the heartbeat signal within the preset time, generating a shutdown confirmation signal through the first control module.
8. The method of claim 5, wherein after the first control module establishes the communication connection with the second control module, the method further comprises:
receiving an intermediate control instruction through a communication module;
and sending the intermediate control instruction to the second control module through the first control module, wherein the intermediate control instruction comprises at least one of a black screen control instruction, a screen protection entering control instruction, an application starting control instruction, a software installation distribution control instruction, a file distribution control instruction, a screen capture control instruction and a real-time running information acquisition control instruction.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 5 to 8 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011122913.2A CN111966420B (en) | 2020-10-20 | 2020-10-20 | Electronic device, remote control method thereof, terminal device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011122913.2A CN111966420B (en) | 2020-10-20 | 2020-10-20 | Electronic device, remote control method thereof, terminal device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111966420A CN111966420A (en) | 2020-11-20 |
CN111966420B true CN111966420B (en) | 2021-01-29 |
Family
ID=73386949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011122913.2A Active CN111966420B (en) | 2020-10-20 | 2020-10-20 | Electronic device, remote control method thereof, terminal device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111966420B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112882759A (en) * | 2021-02-10 | 2021-06-01 | 联想(北京)有限公司 | Control method and device and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102955704A (en) * | 2011-08-26 | 2013-03-06 | 联咏科技股份有限公司 | Software executing method and electronic device thereof |
CN104656515B (en) * | 2015-01-21 | 2017-09-29 | 广州视睿电子科技有限公司 | Remote control method and system for dual-system intelligent equipment |
CN105045599A (en) * | 2015-08-12 | 2015-11-11 | 创维光电科技(深圳)有限公司 | Television and computer integrated machine and method for realizing remote startup and shutdown control of same |
CN110515662B (en) * | 2019-07-17 | 2021-01-01 | 湖南新云网科技有限公司 | Remote control method, system, equipment and readable storage medium for dual-system equipment |
-
2020
- 2020-10-20 CN CN202011122913.2A patent/CN111966420B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111966420A (en) | 2020-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3369852B1 (en) | Washing machine control method, control system and washing machine on internet of things | |
CN108737869B (en) | Smart television starting processing method based on human body induction and smart television system | |
US11463955B2 (en) | Method for implementing low power consumption on standby for bluetooth security device and bluetooth security device | |
US8578182B2 (en) | Power lock-up setting method performed by baseboard management controller and electronic apparatus using the same | |
CN108206842B (en) | Cloud desktop remote access method and system | |
CN109445981B (en) | Computer running state monitoring device | |
CN106506174A (en) | Control method for remote equipment, remote server and remote equipment | |
CN111246199B (en) | Control method and device for camera test, terminal equipment and storage medium | |
CN111966420B (en) | Electronic device, remote control method thereof, terminal device and readable storage medium | |
CN111007998B (en) | Processing method, system and electronic equipment | |
CN204633817U (en) | A kind of remote desktop control system | |
US9813507B2 (en) | Method for maintaining transmission control protocol connection and computer system using the method | |
CN110943350A (en) | WIFI smart jack, based on WIFI smart jack's computer watchdog system | |
CN111176893A (en) | Computer remote control method, device, system and storage medium | |
CN110389643B (en) | Server and remote control method thereof | |
CN103685764A (en) | Power-saving method for mobile terminal and device | |
CN105760791A (en) | Electronic terminal and power supply and shutdown method and device thereof | |
CN111385478B (en) | Terminal remote control method and device, smart card, control terminal and medium | |
CN115442355A (en) | Remote device control system, method, electronic apparatus, and storage medium | |
CN112882759A (en) | Control method and device and electronic equipment | |
CN112910968B (en) | Centralized control receiving system and receiving method thereof | |
CN112311560B (en) | Remote wakeup method and remote wakeup system | |
CN116055227B (en) | Intelligent terminal management and control method, system and device based on android device online security | |
CN209028601U (en) | Computer operation condition monitoring device | |
WO2024221885A1 (en) | Remote control method, pc, chip system, and storage medium |
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 | ||
CP03 | Change of name, title or address |
Address after: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park. Patentee after: New Cloud Technology Group Co.,Ltd. Country or region after: China Address before: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park. Patentee before: HUNAN NEW CLOUDNET TECHNOLOGY Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |