CN111966420B - Electronic device and remote control method thereof, terminal device and readable storage medium - Google Patents

Electronic device and remote control method thereof, terminal device and readable storage medium Download PDF

Info

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
control
main board
module
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011122913.2A
Other languages
Chinese (zh)
Other versions
CN111966420A (en
Inventor
李政军
陈娅芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Cloud Technology Group Co ltd
Original Assignee
Hunan New Cloudnet Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan New Cloudnet Technology Co ltd filed Critical Hunan New Cloudnet Technology Co ltd
Priority to CN202011122913.2A priority Critical patent/CN111966420B/en
Publication of CN111966420A publication Critical patent/CN111966420A/en
Application granted granted Critical
Publication of CN111966420B publication Critical patent/CN111966420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote

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

本发明实施例提供了一种电子设备,包括第一主板与第二主板,第一主板包括通信模块与第一控制模块,第二主板包括第二控制模块,第二主板配设有开机结构与状态监测结构;通信模块与第一控制模块连接,在第一主板处于开机状态的情况下,通信模块用于接收远程控制指令,第一控制模块用于控制开机结构进行动作,第一控制模块还用于在接收到状态监测结构发送的目标信号的情况下,与第二控制模块建立通信连接。本发明实施例还提供了一种远程控制方法、终端设备及可读存储介质。本发明实施例降低了针对电子设备的远程控制的繁琐度,提高远程控制效率。

Figure 202011122913

An embodiment of the present invention provides an electronic device, including a first main board and a second main board, the first main board includes a communication module and a first control module, the second main board includes a second control module, and the second main board is provided with a boot structure and State monitoring structure; the communication module is connected to the first control module, and when the first main board is in the power-on state, the communication module is used to receive remote control instructions, the first control module is used to control the power-on structure to perform actions, and the first control module also It is used for establishing a communication connection with the second control module in the case of receiving the target signal sent by the state monitoring structure. Embodiments of the present invention further provide a remote control method, a terminal device, and a readable storage medium. The embodiments of the present invention reduce the complexity of remote control for electronic equipment and improve the efficiency of remote control.

Figure 202011122913

Description

电子设备及其远程控制方法、终端设备及可读存储介质Electronic device and remote control method thereof, terminal device and readable storage medium

技术领域technical field

本发明涉及远程控制技术领域,尤其涉及一种电子设备及其远程控制方法、终端设备及可读存储介质。The present invention relates to the technical field of remote control, and in particular, to an electronic device and a remote control method thereof, a terminal device and a readable storage medium.

背景技术Background technique

随着信息技术的发展,针对例如计算机等电子设备的远程开机控制也日益常见。现有技术中,通常采用能够与远程服务器进行通信的开机器来对电子设备进行开机控制;然而,当电子设备开机后,若需要实现对电子设备的进一步控制,则需要将电子设备与远程服务器之间重新建立通信连接,进而导致电子设备的远程控制过程比较繁琐,远程控制效率较低。With the development of information technology, remote power-on control for electronic devices such as computers is increasingly common. In the prior art, a power-on machine capable of communicating with a remote server is usually used to control the power-on of the electronic device; however, after the electronic device is powered on, if further control of the electronic device is required, it is necessary to connect the electronic device to the remote server. The communication connection between them is re-established, which in turn leads to a cumbersome remote control process of the electronic device and low remote control efficiency.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种电子设备及其远程控制方法、终端设备及可读存储介质,以解决当电子设备开机后,若需要实现对电子设备的进一步控制,则需要将电子设备与远程服务器之间重新建立通信连接,进而导致电子设备的远程控制过程比较繁琐,远程控制效率较低的问题。Embodiments of the present invention provide an electronic device and a remote control method thereof, a terminal device, and a readable storage medium, so as to solve the problem that when the electronic device is turned on, if further control of the electronic device needs to be realized, it is necessary to connect the electronic device with the remote server. The communication connection is re-established between the two devices, which in turn leads to the problem that the remote control process of the electronic device is cumbersome and the remote control efficiency is low.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,本发明实施例提供了一种电子设备,包括第一主板与第二主板,所述第一主板包括通信模块与第一控制模块,所述第二主板包括第二控制模块,所述第二主板配设有开机结构与状态监测结构;其中,In a first aspect, an embodiment of the present invention provides an electronic device, including a first motherboard and a second motherboard, the first motherboard includes a communication module and a first control module, the second motherboard includes a second control module, so The second mainboard is equipped with a boot structure and a state monitoring structure; wherein,

所述开机结构用于对所述第二主板进行开机触发,所述状态监测结构用于针对第二主板的运行状态进行监测以获得状态监测信号;The startup structure is used to trigger the startup of the second main board, and the state monitoring structure is used to monitor the operating state of the second main board to obtain a state monitoring signal;

所述通信模块与所述第一控制模块连接,在所述第一主板处于开机状态的情况下,所述通信模块用于接收远程控制指令,所述第一控制模块用于控制所述开机结构进行动作,所述第一控制模块还用于在接收到所述状态监测结构发送的目标信号的情况下,与所述第二控制模块建立通信连接,所述目标信号为用于表征所述第二主板处于已开机的运行状态的状态监测信号。The communication module is connected to the first control module, and when the first motherboard is in a powered-on state, the communication module is used to receive remote control instructions, and the first control module is used to control the power-on structure performing an action, the first control module is further configured to establish a communication connection with the second control module in the case of receiving a target signal sent by the state monitoring structure, where the target signal is used to characterize the first control module 2. Status monitoring signal that the main board is in the running state of being powered on.

第二方面,本发明实施例还提供了一种远程控制方法,应用于上述的电子设备,所述方法包括:In a second aspect, an embodiment of the present invention further provides a remote control method, which is applied to the above-mentioned electronic device, and the method includes:

在第一主板处于开机状态的情况下,通过通信模块接收远程开机指令;When the first motherboard is in a powered-on state, receive a remote power-on instruction through the communication module;

通过第一控制模块依据所述远程开机指令控制开机结构进行动作,以对所述第二主板进行开机;The first control module controls the boot structure to perform actions according to the remote boot command, so as to boot the second motherboard;

在所述第一控制模块接收到状态监测结构发送的目标信号的情况下,控制所述第一控制模块与所述第二控制模块建立通信连接,所述目标信号用于表征所述第二主板处于已开机的运行状态。When the first control module receives the target signal sent by the state monitoring structure, the first control module is controlled to establish a communication connection with the second control module, and the target signal is used to represent the second main board is in a powered-on operating state.

第三方面,本发明实施例还提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的方法。In a third aspect, an embodiment of the present invention further provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program implement the above method.

第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述的方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program implements the foregoing method when executed by a processor.

本发明实施例提供的电子设备,包括第一主板与第二主板,第一主板包括通信模块与第一控制模块,第二主板包括第二控制模块,同时第二控制模块配设有开机结构与状态监测结构;开机结构用于对第二主板进行开机触发,状态监测结构用于针对第二主板的运行状态进行监测以获得状态监测信号,当第一控制模块接收到状态监测结构发送的用于表征第二主板处于已开机状态的目标信号时,可以与第二控制模块之间建立通信连接,进而可以基于远程控制指令实现对第二主板的进一步的控制,而无需在第二主板与远程服务器之间重新建立直接的通信连接关系,进而降低了针对电子设备的远程控制的繁琐度,提高远程控制效率。The electronic device provided by the embodiment of the present invention includes a first main board and a second main board, the first main board includes a communication module and a first control module, the second main board includes a second control module, and the second control module is equipped with a boot structure and The state monitoring structure; the power-on structure is used to trigger the power-on of the second main board, and the state monitoring structure is used to monitor the running state of the second main board to obtain a state monitoring signal, when the first control module receives the signal sent by the state monitoring structure for When the target signal indicating that the second main board is in a powered-on state, a communication connection can be established with the second control module, and further control of the second main board can be realized based on the remote control instruction, without the need for the second main board and the remote server. A direct communication connection relationship is re-established between them, thereby reducing the complexity of remote control for electronic devices and improving remote control efficiency.

附图说明Description of drawings

图1为本发明实施例提供的电子设备的结构示意图;1 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;

图2为本发明第一个实施例提供的远程控制方法的流程图;2 is a flowchart of a remote control method provided by a first embodiment of the present invention;

图3为本发明第二个实施例提供的远程控制方法的流程图;3 is a flowchart of a remote control method provided by a second embodiment of the present invention;

图4为本发明第三个实施例提供的远程控制方法的流程图;4 is a flowchart of a remote control method provided by a third embodiment of the present invention;

图5为本发明实施例中实现远程关机的流程图。FIG. 5 is a flowchart of realizing remote shutdown in an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。在下面的描述中,提供诸如具体的配置和组件的特定细节仅仅是为了帮助全面理解本发明的实施例。因此,本领域技术人员应该清楚,可以对这里描述的实施例进行各种改变和修改而不脱离本发明的范围和精神。另外,为了清楚和简洁,省略了对已知功能和构造的描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, the following will be described in detail with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided merely to assist in a comprehensive understanding of embodiments of the present invention. Accordingly, it should be apparent to those skilled in the art that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted for clarity and conciseness.

除非另作定义,本发明中使用的技术术语或者科学术语应当为本发明所属领域内具有一般技能的人士所理解的通常意义。本发明中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“一个”或者“一”等类似词语也不表示数量限制,而是表示存在至少一个。Unless otherwise defined, technical or scientific terms used in the present invention should have the ordinary meaning as understood by those of ordinary skill in the art to which the present invention belongs. The terms "first," "second," and similar terms used herein do not denote any order, quantity, or importance, but are merely used to distinguish different components. Likewise, "a" or "an" and the like do not denote a quantitative limitation, but rather denote the presence of at least one.

如图1所示,本发明实施例提供的电子设备100,包括第一主板110与第二主板120,第一主板110包括通信模块111与第一控制模块112,第二主板120包括第二控制模块121,第二主板120配设有开机结构123与状态监测结构122;其中,As shown in FIG. 1 , an electronic device 100 provided by an embodiment of the present invention includes a first main board 110 and a second main board 120 , the first main board 110 includes a communication module 111 and a first control module 112 , and the second main board 120 includes a second control module The module 121, the second motherboard 120 is equipped with a boot structure 123 and a state monitoring structure 122; wherein,

开机结构123用于对第二主板120进行开机触发,状态监测结构122用于针对第二主板120的运行状态进行监测以获得状态监测信号;The boot structure 123 is used to trigger the boot of the second main board 120, and the state monitoring structure 122 is used to monitor the running state of the second main board 120 to obtain a state monitoring signal;

通信模块111与第一控制模块112连接,在第一主板110处于开机状态的情况下,通信模块111用于接收远程控制指令,第一控制模块112用于控制开机结构123进行动作,第一控制模块112还用于在接收到状态监测结构122发送的目标信号的情况下,与第二控制模块121建立通信连接,目标信号为用于表征第二主板120处于已开机的运行状态的状态监测信号。The communication module 111 is connected to the first control module 112. When the first main board 110 is turned on, the communication module 111 is used to receive remote control instructions, and the first control module 112 is used to control the start-up structure 123 to perform actions. The first control The module 112 is further configured to establish a communication connection with the second control module 121 in the case of receiving the target signal sent by the status monitoring structure 122, where the target signal is a status monitoring signal used to indicate that the second main board 120 is in a powered-on operating state .

容易理解的是,对于电子设备100,包括第一主板110与第二主板120,两者可以分别对应一个操作系统。本实施例中,第一主板110的初始状态可以是处于开机状态的,以实现对第二主板120的开机等类型动作的控制。It is easy to understand that the electronic device 100 includes the first mainboard 110 and the second mainboard 120, both of which may correspond to an operating system respectively. In this embodiment, the initial state of the first main board 110 may be in a power-on state, so as to control actions such as power-on of the second main board 120 .

第一主板110包括通信模块111,用于与远程服务器进行通信,例如,通信模块111可以是WiFi通信模块111或者有线通信模块111等,并通过路由器与远程服务器通信连接。而在一些可行的应用场景中,通信模块111也可以是蓝牙模块、ZigBee模块等类型的通信模块111,以直接和附近的服务器进行通信连接。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, etc., and is communicatively connected to the remote server through a router. In some feasible application scenarios, the communication module 111 may also be a type of communication module 111 such as a Bluetooth module, a ZigBee module, etc., so as to directly communicate with a nearby server.

在一个较佳的实施方式中,第一主板110可以处于与电源通电保持的状态,同时,第一主板110可以对应为一不带界面的运行的操作系统,当第一主板110上电后,第一主板110会直接开机,且通信模块111开始等待接收远程服务器发送的远程控制指令。当然,在实际应用中,第一主板110也可以连接触控屏或者操作按键等,通过用户的触发操作来进行开机。In a preferred embodiment, the first main board 110 may be in a state of being powered on and maintained by the power supply, and at the same time, the first main board 110 may correspond to a running operating system without an interface. When the first main board 110 is powered on, The first main board 110 is directly powered on, and the communication module 111 starts to wait to receive the remote control command sent by the remote server. Of course, in practical applications, the first main board 110 can also be connected to a touch screen or an operation button, etc., and is powered on by a user's triggering operation.

第一控制模块112与通信模块111连接主要指通信模块111可以将接收到的远程控制指令传输到第一控制模块112。而在一些应用场景中,第一控制模块112通常也可以通过通信模块111将一些特定的信息发送至远程服务器。The connection between the first control module 112 and the communication module 111 mainly means that the communication module 111 can transmit the received remote control instruction to the first control module 112 . In some application scenarios, the first control module 112 can also generally send some specific information to a remote server through the communication module 111 .

第二主板120配设有开机结构123与状态监测结构122,开机结构123主要用于对第二主板120进行开机触发,例如,开机结构123可以是一继电器;或者开机结构123也可以是一位移触发件,用于模拟对第一主板110的开机键的按压操作等。容易理解的是,无论对于继电器还是位移触发件,均可以基于第一主板110发送的特定信号进行动作,以实现第二主板120的开机。The second main board 120 is provided with a booting structure 123 and a state monitoring structure 122. The booting structure 123 is mainly used to trigger the booting of the second main board 120. For example, the booting structure 123 can be a relay; or the booting structure 123 can also be a displacement The trigger is used to simulate a pressing operation of the power-on key of the first main board 110 and the like. It is easy to understand that, regardless of whether the relay or the displacement triggering element, can perform actions based on the specific signal sent by the first main board 110 , so as to realize the power-on of the second main board 120 .

状态监测结构122可以是对例如电压、电流等参数的监测结构,容易理解的是,第二主板120在开机前,通常是无法监测到主板总线电源的,基于这一点,可以对第二主板120是否开机进行有效的监测。换而言之,本实施例中,状态检测结构可以包括对主板总线电源的监测结构,并将对主板总线电源的监测结果发送至第一控制模块112。The status monitoring structure 122 may be a monitoring structure for parameters such as voltage and current. It is easy to understand that the second motherboard 120 is usually unable to monitor the bus power of the motherboard before it is turned on. Based on this, the second motherboard 120 Whether it is powered on for effective monitoring. In other words, in this embodiment, the state detection structure may include a monitoring structure for the mainboard bus power supply, and sends the monitoring result of the mainboard bus power supply to the first control module 112 .

当第一控制模块112接收到目标信号后,可以与第二控制模块121建立通信连接。此处的目标信号,主要是指状态监测结构122发送的用于表征第二主板120处于已开机的运行状态的状态监测信号,例如,可以是指上文的用于表征已监测到第二主板120的主板总线电源的信号。第一控制模块112与第二控制模块121在建立通信连接的过程中,可以是第一控制模块112主动请求建立通信连接,也可以是第二控制模块121主动请求建立通信连接,此处不做限定。After the first control module 112 receives the target signal, it can establish a communication connection with the second control module 121 . The target signal here mainly refers to the state monitoring signal sent by the state monitoring structure 122 and used to indicate that the second main board 120 is in a powered-on operating state. 120 of the motherboard bus power signal. In the process of establishing a communication connection between the first control module 112 and the second control module 121, the first control module 112 may actively request to establish a communication connection, or the second control module 121 may actively request to establish a communication connection, which is not done here. limited.

容易理解的是,第二控制模块121属于第二主板120的主要组成部分,第二主板120在已开机的状态下,第二控制模块121也可以相应运行;第二控制模块121可以是第二主板120的主要处理及运算模块,在第一控制模块112与第二控制模块121建立了通信连接的情况下,通过第一控制模块112可以直接控制第二控制模块121进行相应动作,以实现例如控制第二主板120所对应操作系统进行黑屏、进入屏幕保护、启动制定应用程序、软件安装、文件存储、截取屏幕信息或者针对操作系统的运行状态和动作情况进行获取等等动作,此处不做具体限定。It is easy to understand that the second control module 121 belongs to the main component of the second motherboard 120. When the second motherboard 120 is turned on, the second control module 121 can also operate accordingly; the second control module 121 can be the second The main processing and computing module of the main board 120, when the first control module 112 establishes a communication connection with the second control module 121, the first control module 112 can directly control the second control module 121 to perform corresponding actions to achieve, for example, Control the operating system corresponding to the second motherboard 120 to perform actions such as blacking the screen, entering the screen saver, starting the specified application, software installation, file storage, capturing screen information, or obtaining the operating status and action status of the operating system, which is not done here. Specific restrictions.

对于第一控制模块112与第二控制模块121,可以基于串行接口或者并行接口等方式进行通信,例如RS485或者RS232接口等,此处也不做具体限定。The first control module 112 and the second control module 121 may communicate based on a serial interface or a parallel interface, for example, an RS485 interface or an RS232 interface, which is not specifically limited here.

结合以上描述可见,在第二主板120开机后,仅需要在电子设备100内部进行第一控制模块112与第二控制模块121之间通信连接的建立,后续即可通过通信模块111到第一控制模块112再到第二控制模块121等链路,将远程控制指令传输到第二控制模块121,实现对第二主板120的控制;同时,也可以通过反向的传输,将第二主板120相关的数据,如运行状态数据或者操作系统运行数据等发送至远程服务器;进而无需再在第二主板120与远程服务器之间建立通信连接。It can be seen from the above description that after the second motherboard 120 is powered on, only the communication connection between the first control module 112 and the second control module 121 needs to be established inside the electronic device 100, and then the communication module 111 can be used to communicate with the first control module 111. The module 112 goes to the second control module 121 and other links, and transmits the remote control command to the second control module 121 to realize the control of the second main board 120; at the same time, the second main board 120 can also be related to the second main board 120 through reverse transmission. The data, such as operating status data or operating system operating data, are sent to the remote server; thus, there is no need to establish a communication connection between the second motherboard 120 and the remote server.

本发明实施例提供的电子设备100,包括第一主板110与第二主板120,第一主板110包括通信模块111与第一控制模块112,第二主板120包括第二控制模块121,同时第二控制模块121配设有开机结构123与状态监测结构122;开机结构123用于对第二主板120进行开机触发,状态监测结构122用于针对第二主板120的运行状态进行监测以获得状态监测信号,当第一控制模块112接收到状态监测结构122发送的用于表征第二主板120处于已开机状态的目标信号时,可以与第二控制模块121之间建立通信连接,进而可以基于远程控制指令实现对第二主板120的进一步的控制,而无需在第二主板120与远程服务器之间重新建立直接的通信连接关系,进而降低了针对电子设备100的远程控制的繁琐度,提高远程控制效率。The electronic device 100 provided by the embodiment of the present invention includes a first main board 110 and a second main board 120, the first main board 110 includes a communication module 111 and a first control module 112, the second main board 120 includes a second control module 121, and the second main board 110 includes a communication module 111 and a first control module 112. The control module 121 is provided with a booting structure 123 and a state monitoring structure 122; the booting structure 123 is used to trigger the second main board 120 to start up, and the state monitoring structure 122 is used to monitor the running state of the second main board 120 to obtain a state monitoring signal , when the first control module 112 receives the target signal sent by the state monitoring structure 122 to indicate that the second main board 120 is in a powered-on state, it can establish a communication connection with the second control module 121, and then can establish a communication connection with the second control module 121 based on the remote control instruction Further control of the second main board 120 is achieved without re-establishing a direct communication connection between the second main board 120 and the remote server, thereby reducing the complexity of remote control for the electronic device 100 and improving the remote control efficiency.

结合一用户针对电子设备100进行远程开机的实际应用场景,用户可以通过移动终端中的微信小程序或者手机应用程序(Application,APP)来进行远程控制操作,移动终端可将响应用户操作而形成的远程控制指令,通过4G、5G或者WiFi等发送至远程服务器,并由远程服务器将远程控制指令转发至电子设备100的通信模块111。当然,上述移动终端也可以直接与电子设备100的通信模块111进行通信,即采用移动终端替代了远程服务器的功能。Combined with a practical application scenario in which a user remotely turns on the electronic device 100, the user can perform remote control operations through the WeChat applet or mobile phone application (Application, APP) in the mobile terminal, and the mobile terminal can respond to user operations. The remote control instruction is sent to a remote server through 4G, 5G or WiFi, etc., and the remote server forwards the remote control instruction to the communication module 111 of the electronic device 100 . Of course, the above-mentioned mobile terminal can also directly communicate with the communication module 111 of the electronic device 100, that is, the function of the remote server is replaced by the mobile terminal.

可选地,开机结构123包括上电继电器与开机继电器,上电继电器用于控制第二主板120与电源通断电,开机继电器用于对第二主板120的开机键进行触发;Optionally, the power-on structure 123 includes a power-on relay and a power-on relay, the power-on relay is used to control the power on and off of the second main board 120 and the power supply, and the power-on relay is used to trigger the power-on button of the second main board 120;

目标信号为状态监测结构122在第二主板120与电源通电,且第二主板120的开机键被触发后发送到第一控制模块112的信号。The target signal is a signal sent by the state monitoring structure 122 to the first control module 112 after the second mainboard 120 is powered on and the power-on key of the second mainboard 120 is triggered.

本实施例中,针对第二主板120的开机过程,可以分为上电与开机两个阶段,换而言之,第二主板120的初始状态可以是未上电的状态;当通信模块111接收到远程服务器发送的上电控制指令时,将上电控制指令发送至第一控制模块112,而第一控制模块112可以基于上电控制指令,控制上电继电器进行动作,以将第二主板120与电源进行接通。相似地,当通信模块111接收到开机控制指令时,第一控制模块112可以基于开机控制指令,控制开机继电器进行动作,以对第二主板120的开机键进行触发。In this embodiment, the power-on process of the second main board 120 can be divided into two stages: power-on and power-on. When the power-on control command sent by the remote server is sent, the power-on control command is sent to the first control module 112, and the first control module 112 can control the power-on relay to perform actions based on the power-on control command, so as to connect the second main board 120. Connect to the power supply. Similarly, when the communication module 111 receives the power-on control command, the first control module 112 can control the power-on relay to act based on the power-on control command to trigger the power-on key of the second motherboard 120 .

容易理解的是,上述来自远程服务器的上电控制指令与开机控制指令,均可以是远程控制指令的组成部分。状态监测结构122可以通过对第二主板120的运行状态的监测,来判断相应的继电器是否正常动作,例如,当状态监测结构122监测到第二主板120的主板电源时,可以认为上电继电器已正常动作,当状态监测结构122监测到第二主板120的主板总线电源时,可以认为开机继电器已正常动作;而相应的监测结果,即上述的状态监测信号,可以由状态监测结构122发送到第一控制模块112。当监测到第二主板120的主板总线电源时,可以认为第二主板120与电源通电,且第二主板120的开机键被触发,相应地,状态监测结构122此时发送至第一控制模块112的信号即为目标信号。It is easy to understand that, the above power-on control instructions and power-on control instructions from the remote server may be components of the remote control instructions. The state monitoring structure 122 can judge whether the corresponding relay operates normally by monitoring the operating state of the second main board 120. For example, when the state monitoring structure 122 monitors the main board power supply of the second main board 120, it can be considered that the power-on relay has been turned on. In normal operation, when the state monitoring structure 122 monitors the mainboard bus power supply of the second motherboard 120, it can be considered that the power-on relay has operated normally; and the corresponding monitoring result, that is, the above-mentioned state monitoring signal, can be sent by the state monitoring structure 122 to the second motherboard 120. A control module 112 . When the mainboard bus power of the second mainboard 120 is monitored, it can be considered that the second mainboard 120 is connected to the power supply, and the power-on button of the second mainboard 120 is triggered. Accordingly, the status monitoring structure 122 is sent to the first control module 112 at this time. The signal is the target signal.

本实施例中,将第二主板120的开机过程分为上电与开机两个阶段,也就是说,由于可以实现对第二主板120的远程上电控制,而无需针对第二主板120时时保持上电的状态,能够在一定程度上保护第二主板120上与上电相关的电子元件,提高第二主板120的使用寿命。In this embodiment, the power-on process of the second motherboard 120 is divided into two stages: power-on and power-on. That is, since the remote power-on control of the second motherboard 120 can be realized, there is no need to keep the second motherboard 120 constantly on. The power-on state can protect the power-on-related electronic components on the second main board 120 to a certain extent, and improve the service life of the second main board 120 .

在一个示例中,第一控制模块112还可以将状态监测信号通过通信模块111发送到远程服务器,以便进一步使得进行远程控制的用户能够获取到第二主板120的实时状态。In one example, the first control module 112 may also send a state monitoring signal to a remote server through the communication module 111 , so as to further enable a user performing remote control to obtain the real-time state of the second motherboard 120 .

在一个示例中,第二主板120也可以设置为上电即开机,这一过程可以基于现有技术进行实现,此处不再赘述;而相应地,电子设备100的通信模块111可以在接收到上电控制指令的情况下,即可完成对第二主板120的开机过程,节省开机操作步骤。In an example, the second main board 120 can also be set to be powered on, and this process can be implemented based on the prior art, which will not be repeated here; and correspondingly, the communication module 111 of the electronic device 100 can receive the In the case of the power-on control command, the booting process of the second motherboard 120 can be completed, and the booting operation steps can be saved.

可选地,第二控制模块121与状态监测结构122连接;Optionally, the second control module 121 is connected to the state monitoring structure 122;

第二控制模块121还用于在与第一控制模块112建立通信连接的情况下,获取来自状态监测结构122的状态监测信号,并将状态监测信号发送至第一控制模块112。The second control module 121 is further configured to acquire a state monitoring signal from the state monitoring structure 122 when a communication connection is established with the first control module 112 , and send the state monitoring signal to the first control module 112 .

容易理解的是,状态监测结构122除了可以对第二主板120的上电与开机状态进行监测外,还可以针对第二主板120的运行状态进行监控,其中,由于第二主板120在开机运行的状态下,需要监测的内容较多,因此,可以将状态监测结构122与第二控制模块121连接,使得第二控制模块121能够对状态监测结构122获取的状态监测信号进行整合或处理后,通过主板接口直接发送到第一控制模块112,并在后续由通信模块111发送至远程服务器。It is easy to understand that the state monitoring structure 122 can monitor the running state of the second main board 120 in addition to monitoring the power-on and power-on states of the second main board 120 . In the state, there are many contents to be monitored. Therefore, the state monitoring structure 122 can be connected with the second control module 121, so that the second control module 121 can integrate or process the state monitoring signals obtained by the state monitoring structure 122, and then pass The mainboard interface is directly sent to the first control module 112, and subsequently sent to the remote server by the communication module 111.

本实施例中,通过将第二控制模块121与状态监测结构122连接,可以在第一控制模块112与第二控制模块121建立通信连接的情况下,直接通过主板接口来传输状态监测信号,提供信号的传输效率。In this embodiment, by connecting the second control module 121 to the state monitoring structure 122, the state monitoring signal can be directly transmitted through the mainboard interface when the first control module 112 and the second control module 121 establish a communication connection to provide signal transmission efficiency.

容易理解的是,对于第二主板120配设的状态监测结构122,可以是指第二主板120中本身集成的用于状态监测的电路,也可以是指额外为第二主板120配置的用于状态检测的电路。It is easy to understand that the state monitoring structure 122 provided with the second main board 120 may refer to a circuit for state monitoring integrated in the second main board 120 itself, or may refer to an additional circuit configured for the second main board 120 for state monitoring. Status detection circuit.

可选地,第二控制模块121还用于在与第一控制模块112建立通信连接的情况下,按预设频率向第一控制模块112发送心跳信号。Optionally, the second control module 121 is further configured to send a heartbeat signal to the first control module 112 at a preset frequency when a communication connection is established with the first control module 112 .

对于心跳信号,主要是用于对第一控制模块112与第二控制模块121是否处于通信连接状态进行监控;换而言之,当第一控制模块112能够按照预设频率接收到心跳信号时,说明第一控制模块112与第二控制模块121处于通信连接的状态;而第一控制模块112在一较长时间段内未能接收到心跳信号时,说明第一控制模块112与第二控制模块121已断开通信连接。The heartbeat signal 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 means that the first control module 112 and the second control module 121 are in a state of communication connection; and when the first control module 112 fails to receive the heartbeat signal for a long period of time, it means that the first control module 112 and the second control module are 121 Communication disconnected.

与此同时,第一控制模块112还可以依据接收心跳信号的状态,将与第二控制模块121的通信连接状态通过通信模块111发送至远程服务器。结合以上说明可见,本实施例中,通过第二控制模块121按预设频率向第一控制模块112发送心跳信号,有助于对两者之间的通信连接状态进行有效监控。At the same time, the first control module 112 can also send the communication connection state with the second control module 121 to the remote server through the communication module 111 according to the state of receiving the heartbeat signal. It can be seen from the above description that in this embodiment, the second control module 121 sends a heartbeat signal to the first control module 112 at a preset frequency, which helps to effectively monitor the communication connection state between the two.

本发明实施例还提供了一种应用于上述的电子设备的远程控制方法,如图2所示,该方法包括:The embodiment of the present invention also provides a remote control method applied to the above electronic device, as shown in FIG. 2 , the method includes:

步骤201,在第一主板处于开机状态的情况下,通过通信模块接收远程开机指令;Step 201, in the case that the first motherboard is in a powered-on state, receive a remote power-on instruction through a communication module;

步骤202,通过第一控制模块依据远程开机指令控制开机结构进行动作,以对第二主板进行开机;Step 202, controlling the boot structure to perform actions according to the remote boot command by the first control module, so as to boot the second motherboard;

步骤203,在第一控制模块接收到状态监测结构发送的目标信号的情况下,控制第一控制模块与第二控制模块建立通信连接,目标信号用于表征第二主板处于已开机的运行状态。Step 203 , when the first control module receives the target signal sent by the state monitoring structure, it controls the first control module to establish a communication connection with the second control module, and the target signal is used to indicate that the second main board is in a powered-on operating state.

对于电子设备的具体构造已在上述电子设备的实施例中进行了说明,此处不再赘述。以下结合一实际应用场景对本实施例提供的远程控制方法进行说明:The specific structure of the electronic device has been described in the above-mentioned embodiments of the electronic device, and will not be repeated here. The remote control method provided by this embodiment will be described below in conjunction with an actual application scenario:

用户可以通过移动终端向远程服务器发送远程开机指令,远程服务器可以根据身份或地址信息,将远程开机指令发送至对应的电子设备。电子设备通过通信模块接收远程开机指令,同时通过第一控制模块依据远程开机指令控制开机结构,以对第二主板进行开机;当第二主板开机完成后,可以在第一控制模块与第二主板的第二控制模块之间建立通信连接,以便基于用户移动终端、远程服务器、通信模块、第一控制模块以及第二控制模块的通信链路,实现对第二主板的运行或者第二主板对应的操作系统的运行的进一步控制。The user can send the remote power-on instruction to the remote server through the mobile terminal, and the remote server can send the remote power-on instruction to the corresponding electronic device according to the identity or address information. The electronic device receives the remote boot command through the communication module, and at the same time controls the boot structure through the first control module according to the remote boot command, so as to boot the second main board; after the second main board is booted, the first control module and the second main board can be connected A communication connection is established between the second control module of the device, so as to realize the operation of the second motherboard or the corresponding Further control of the operation of the operating system.

结合以上实际应用场景可见,本发明实施例提供的远程控制方法,在基于远程开机指令实现第二主板开机的情况下,无需第二主板进一步与远程服务器建立通信连接,而是在电子设备内部建立第一控制模块与第二控制模块之间的通信连接,即可实现远程对第二主板的进一步控制,进而降低了针对电子设备的远程控制的繁琐度,提高远程控制效率。Combining the above practical application scenarios, it can be seen that in the remote control method provided by the embodiment of the present invention, when the second main board is powered on based on the remote boot command, it is not necessary for the second main board to further establish a communication connection with the remote server, but to establish a communication connection inside the electronic device. The communication connection between the first control module and the second control module can realize further remote control of the second motherboard, thereby reducing the complexity of remote control for electronic equipment and improving the efficiency of remote control.

在一个示例中,远程开机指令可以包括上电控制指令与开机控制指令,也就是说,可以将第二主板的开机过程分为上电和开机两个阶段;与此同时,可以将第二主板在开机过程中的实时状态,反馈给用户。In one example, the remote power-on command may include a power-on control command and a power-on control command, that is, the power-on process of the second motherboard may be divided into two stages: power-on and power-on; at the same time, the second motherboard may be The real-time status during the boot process is fed back to the user.

以下结合一些实际应用场景对本示例进行说明,其中,远程服务器可以对应为公网服务器。This example is described below with reference to some practical application scenarios, where the remote server may correspond to a public network server.

当通信模块接收来自公网服务器上电控制指令后,与第一控制模块通信使其执行指令上电,第一控制模块会通过上电继电器对第二主板的电源进行接通,并将执行结果原路反馈给公网服务器,过程中,公网服务器对电子设备的监控状态由“未上电”→“未开机”。After the communication module receives the power-on control command from the public network server, it communicates with the first control module to power on the execution command. The first control module will turn on the power of the second motherboard through the power-on relay, and send the execution result. The original way is fed back to the public network server. During the process, the monitoring status of the electronic equipment by the public network server is changed from "not powered on" → "not powered on".

当通信模块接受到公网服务器开机控制指令后,与第一控制模块通信使其执行指令开机,第一控制模块会通过开机继电器对第二主板的开机键进行触发,并将正在卡机中的结果原路反馈给公网服务器,等待第二主板开机后,第二主板所包括的第二控制模块通过主板串口RS485向第一控制模块的主板串口RS485发送已启动指令和第二主板的相关运行信息汇报指令,第一控制模块收到串口已启动指令和第二主板的相关运行信息汇报指令,再次将开机结果和第二主板的运行状态信息,通过通信模块按照指令执行结果反馈给公网服务器,整个过程中,公网服务器对电子设备的监控状态由“未开机”→“开机中”→“已开机,并在公网服务器显示电子设备的运行信息”。When the communication module receives the power-on control command of the public network server, it communicates with the first control module to execute the command to power on. The first control module will trigger the power-on button of the second motherboard through the power-on relay, and will The result is fed back to the public network server in the same way. After the second main board is turned on, the second control module included in the second main board sends the started command and the related operation of the second main board to the main board serial port RS485 of the first control module through the main board serial port RS485. Information reporting command, the first control module receives the serial port startup command and the second mainboard's related operating information reporting command, and then feeds back the boot result and the second mainboard's operating status information to the public network server through the communication module according to the command execution result. , During the whole process, the monitoring status of the electronic equipment by the public network server is changed from "not powered on" → "starting up" → "started up, and the operation information of the electronic equipment is displayed on the public network server".

结合以上应用场景可见,在一些可选的实施例中,可以在第一控制模块与第二控制模块建立通信连接之后,通过第二控制模块向第一控制模块发送状态监测结构获取的状态监测信号。It can be seen from the above application scenarios that, in some optional embodiments, after the first control module and the second control module establish a communication connection, the second control module can send the state monitoring signal obtained by the state monitoring structure to the first control module. .

也就是说,如图3所示,在本实施例中,上述远程控制方法包括:That is to say, as shown in FIG. 3 , in this embodiment, the above-mentioned remote control method includes:

步骤301,通过通信模块接收远程开机指令;Step 301, receiving a remote power-on instruction through a communication module;

步骤302,通过第一控制模块依据远程开机指令控制开机结构进行动作,以对第二主板进行开机;Step 302, the first control module controls the boot structure to perform actions according to the remote boot command, so as to boot the second motherboard;

步骤303,在第一控制模块接收到状态监测结构发送的目标信号的情况下,控制第一控制模块与第二控制模块建立通信连接,目标信号用于表征第二主板处于已开机的运行状态;Step 303, when the first control module receives the target signal sent by the state monitoring structure, controls the first control module to establish a communication connection with the second control module, and the target signal is used to indicate that the second mainboard is in a powered-on operating state;

步骤304,通过第二控制模块向第一控制模块发送状态监测结构获取的状态监测信号。Step 304 , sending the state monitoring signal obtained by the state monitoring structure to the first control module through the second control module.

如此,在第二主板开机后,通过第二控制模块可以将状态监测结构获取的各类状态监测信号进行整合或处理后,发送至第一控制模块,提高数据传输效率。后续可通过通信模块将这些状态监测信号相关的信息进一步发送至远程服务器。In this way, after the second motherboard is powered on, various state monitoring signals obtained by the state monitoring structure can be integrated or processed by the second control module, and then sent to the first control module to improve data transmission efficiency. Subsequently, the information related to these status monitoring signals can be further sent to the remote server through the communication module.

在一个示例中,第二主板开机后,基于远程控制,可以使得第二主板执行不同的流程,例如,远程控制第二主板进行黑屏、进入屏幕保护、启动指定应用、分发软件安装、分发文件、截取操作系统的屏幕信息,或者直接控制操作系统都是可以的,此处不一一列举。同时通过通信模块,可以向远程服务器汇报电子设备的实时运行信息,例如CPU使用率、内存使用率,磁盘使用率等等。本示例可以实现对整个远程控制的执行流程、电子设备以及对于电子设备的各种系统运行状态和动作进行实时精确监控和控制。In one example, after the second main board is powered on, based on remote control, the second main board can be made to execute different processes, for example, remotely controlling the second main board to perform a black screen, enter a screen saver, start a specified application, distribute software installation, distribute files, It is possible to capture the screen information of the operating system or directly control the operating system, which will not be listed here. At the same time, through the communication module, the real-time operation information of the electronic device, such as CPU usage, memory usage, disk usage, etc., can be reported to the remote server. This example can realize real-time accurate monitoring and control of the entire remote control execution process, electronic equipment, and various system operating states and actions of the electronic equipment.

相应地,为实现上述远程控制过程,该示例中,远程控制方法包括:Correspondingly, in order to realize the above-mentioned remote control process, in this example, the remote control method includes:

通过通信模块接收中间控制指令;Receive intermediate control instructions through the communication module;

将中间控制指令通过第一控制模块发送至第二控制模块,其中,中间控制指令包括黑屏控制指令、进入屏幕保护控制指令、启动应用控制指令、分发软件安装控制指令、分发文件控制指令、截屏控制指令以及获取实时运行信息控制指令中的至少一项。Send the intermediate control instructions to the second control module through the first control module, wherein the intermediate control instructions include black screen control instructions, screen saver control instructions, application startup control instructions, distribution software installation control instructions, distribution file control instructions, and screenshot control. at least one of an instruction and a control instruction for acquiring real-time operating information.

对于黑屏控制指令,用于控制第二主板进行黑屏,具体来说,第二主板可以响应黑屏控制指令,控制与第二主板连接的显示屏进行黑屏;相似地,进入屏幕保护控制指令,可以最终用于控制上述显示屏进入屏幕保护状态;启动应用控制指令,可以用于启动第二主板对应操作系统中的特定应用程序;分发软件安装控制指令,可以用于控制在第二主板对应操作系统中安装特定的软件;分发文件控制指令,可以用于控制第二主板对应存储设备,对接收到的图片、文档、视频等类型的文件进行存储,或者将上述存储设备中的文件进行分发等;截屏控制指令用于控制对第二主板对应显示屏的显示界面进行截屏;获取实时运行信息控制指令可以用于控制获取第二主板,或者与第二主板连接的CPU、内存、磁盘等设备的实时运行数据进行获取。For the black screen control command, it is used to control the second main board to perform a black screen. Specifically, the second main board can respond to the black screen control command and control the display screen connected to the second main board to perform a black screen; similarly, entering the screen saver control command can finally It is used to control the above-mentioned display screen to enter the screen saver state; start the application control instruction, which can be used to start a specific application program in the operating system corresponding to the second motherboard; distribute the software installation control instruction, which can be used to control the operating system corresponding to the second motherboard Install specific software; distribute file control instructions, which can be used to control the storage device corresponding to the second motherboard, store received pictures, documents, videos and other types of files, or distribute files in the above storage devices, etc.; screenshot The control instruction is used to control the screen capture of the display interface of the display screen corresponding to the second motherboard; the control instruction to obtain real-time operation information can be used to control the acquisition of the second motherboard, or the real-time operation of the CPU, memory, disk and other equipment connected to the second motherboard data is acquired.

可选地,如图4所示,在另一实施例中,上述远程控制方法包括:Optionally, as shown in FIG. 4 , in another embodiment, the above-mentioned remote control method includes:

步骤401,通过通信模块接收远程开机指令;Step 401, receiving a remote power-on instruction through a communication module;

步骤402,通过第一控制模块依据远程开机指令控制开机结构进行动作,以对第二主板进行开机;Step 402, the first control module controls the boot structure to perform actions according to the remote boot command, so as to boot the second motherboard;

步骤403,在第一控制模块接收到状态监测结构发送的目标信号的情况下,控制第一控制模块与第二控制模块建立通信连接,目标信号用于表征第二主板处于已开机的运行状态;Step 403, when the first control module receives the target signal sent by the state monitoring structure, controls the first control module to establish a communication connection with the second control module, and the target signal is used to indicate that the second motherboard is in a powered-on operating state;

步骤404,通过第二控制模块按预设频率向第一控制模块发送心跳信号。Step 404, sending a heartbeat signal to the first control module through the second control module at a preset frequency.

如上文,心跳信号,主要是用于对第一控制模块与第二控制模块是否处于通信连接状态进行监控。本实施例中通过第二控制模块按预设频率向第一控制模块发送心跳信号,有助于对两者之间的通信连接状态进行有效监控。As mentioned 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 a heartbeat signal to the first control module at a preset frequency, which helps to effectively monitor the communication connection state between the two.

可选地,为实现对第二主板的远程关机控制,如图5所示,本实施例中,在通过第二控制模块按预设频率向第一控制模块发送心跳信号之后,上述远程控制方法还包括:Optionally, in order to realize the remote shutdown control of the second motherboard, as shown in FIG. 5 , in this embodiment, after the second control module sends a heartbeat signal to the first control module at a preset frequency, the above-mentioned remote control method is performed. Also includes:

步骤501,通过通信模块接收远程关机指令;Step 501, receiving a remote shutdown instruction through a communication module;

步骤502,将远程关机指令通过第一控制模块发送至第二控制模块,并通过第二控制模块控制开机结构进行动作,以对第一主板进行关机;Step 502, sending the remote shutdown command to the second control module through the first control module, and controlling the startup structure to perform actions through the second control module, so as to shut down the first motherboard;

步骤503,在第一控制模块在预设时间内未接收到心跳信号的情况下,通过第一控制模块生成关机确认信号。Step 503 , in the case that the first control module does not receive the heartbeat signal within the preset time, generate a shutdown confirmation signal through the first control module.

以下结合一些具体应用场景对本实施例进行说明,其中,远程服务器可以对应为公网服务器:This embodiment is described below with reference to some specific application scenarios, wherein the remote server may correspond to a public network server:

当通信模块接收到公网服务器远程关机指令后,与第一控制模块通信使其执行关机过程。具体来说,第一控制模块会通过主板串口RS485向第二控制模块的主板串口RS485发送远程关机指令,第二主板关机后会断开串口的心跳联系;此处的心跳联系,可以是例如每1s,第一控制模块和第二控制模块会进行一次心跳,确保第二主板实时在线。当心跳包断开时,结合之前发送给第二控制模块的远程关机指令,判断第二主板已关机。第一控制模块通过通信模块按照指令执行结果反馈给公网服务器,整个过程中,公网服务器对电子设备的监控状态由“已开机,并在公网服务器显示终端设别运行信息”→“已关机”。After the communication module receives the remote shutdown instruction of the public network server, it communicates with the first control module to execute the shutdown process. Specifically, the first control module will send a remote shutdown command to the mainboard serial port RS485 of the second control module through the mainboard serial port RS485, and after the second mainboard shuts down, the heartbeat connection of the serial port will be disconnected; the heartbeat connection here can be, for example, every 1s, the first control module and the second control module will perform a heartbeat to ensure that the second motherboard is online in real time. When the heartbeat packet is disconnected, it is determined that the second main board has been shut down in combination with the remote shutdown command previously sent to the second control module. The first control module feeds back the execution result of the instruction to the public network server through the communication module. During the whole process, the monitoring status of the electronic device by the public network server is changed from "started up, and the terminal device operation information is displayed on the public network server" → "already". Shut down".

进一步地,当通信模块接收公网服务器断电指令后,与第一控制模块通信使其执行断电操作,第一控制模块会通过相应的继电器对第二主板的电源进行断开,并将执行结果原路反馈给公网服务器,过程中,公网服务器对电子设备的监控状态由“未开机”→“未上电”。Further, after the communication module receives the power-off instruction of the public network server, it communicates with the first control module to execute the power-off operation, and the first control module disconnects the power supply of the second motherboard through the corresponding relay, and executes the power-off operation. The result is fed back to the public network server in the same way. During the process, the monitoring status of the electronic device by the public network server is changed from "not powered on" → "not powered on".

可选地,本发明实施例还提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述的远程控制方法。Optionally, an embodiment of the present invention further provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program When the above-mentioned remote control method is realized.

可选地,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述的远程控制方法。Optionally, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program implements the foregoing remote control method when executed by a processor.

以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be included in the within the scope of protection of this application.

Claims (10)

1.一种电子设备,其特征在于,包括第一主板与第二主板,所述第一主板包括通信模块与第一控制模块,所述第二主板包括第二控制模块,所述第二主板配设有开机结构与状态监测结构;其中,1. An electronic device, comprising a first main board and a second main board, the first main board comprising a communication module and a first control module, the second main board comprising a second control module, the second main board Equipped with a startup structure and a state monitoring structure; among them, 所述开机结构用于对所述第二主板进行开机触发,所述状态监测结构用于针对第二主板的运行状态进行监测以获得状态监测信号;The startup structure is used to trigger the startup of the second main board, and the state monitoring structure is used to monitor the operating state of the second main board to obtain a state monitoring signal; 所述通信模块与所述第一控制模块连接,在所述第一主板处于开机状态的情况下,所述通信模块用于接收远程控制指令,所述第一控制模块用于控制所述开机结构进行动作,所述第一控制模块还用于在接收到所述状态监测结构发送的目标信号的情况下,与所述第二控制模块建立通信连接,所述目标信号为用于表征所述第二主板处于已开机的运行状态的状态监测信号。The communication module is connected to the first control module, and when the first motherboard is in a powered-on state, the communication module is used to receive remote control instructions, and the first control module is used to control the power-on structure performing an action, the first control module is further configured to establish a communication connection with the second control module in the case of receiving a target signal sent by the state monitoring structure, where the target signal is used to characterize the first control module 2. Status monitoring signal that the main board is in the running state of being powered on. 2.根据权利要求1所述的电子设备,其特征在于,所述开机结构包括上电继电器与开机继电器,所述上电继电器用于控制所述第二主板与电源通断电,所述开机继电器用于对所述第二主板的开机键进行触发;2. The electronic device according to claim 1, wherein the power-on structure comprises a power-on relay and a power-on relay, and the power-on relay is used to control the power on and off of the second motherboard and the power supply, and the power-on relay The relay is used to trigger the power-on button of the second main board; 所述目标信号为所述状态监测结构在所述第二主板与电源通电,且所述第二主板的开机键被触发后发送到所述第一控制模块的信号。The target signal is a signal sent by the state monitoring structure to the first control module after the second main board is powered on with the power supply and the power-on key of the second main board is triggered. 3.根据权利要求1所述的电子设备,其特征在于,所述第二控制模块与所述状态监测结构连接;3. The electronic device according to claim 1, wherein the second control module is connected with the state monitoring structure; 所述第二控制模块还用于在与所述第一控制模块建立通信连接的情况下,获取来自所述状态监测结构的状态监测信号,并将所述状态监测信号发送至所述第一控制模块。The second control module is further configured to acquire a state monitoring signal from the state monitoring structure under the condition of establishing a communication connection with the first control module, and send the state monitoring signal to the first control module module. 4.根据权利要求1所述的电子设备,其特征在于,所述第二控制模块还用于在与所述第一控制模块建立通信连接的情况下,按预设频率向所述第一控制模块发送心跳信号。4 . The electronic device according to claim 1 , wherein the second control module is further configured to send the first control module to the first control module at a preset frequency when a communication connection is established with the first control module. 5 . The module sends a heartbeat signal. 5.一种远程控制方法,其特征在于,应用于如权利要求1至4中任一项所述的电子设备,所述方法包括:5. A remote control method, characterized in that, applied to the electronic device as claimed in any one of claims 1 to 4, the method comprising: 在第一主板处于开机状态的情况下,通过通信模块接收远程开机指令;When the first motherboard is in a powered-on state, receive a remote power-on instruction through the communication module; 通过第一控制模块依据所述远程开机指令控制开机结构进行动作,以对所述第二主板进行开机;The first control module controls the boot structure to perform actions according to the remote boot command, so as to boot the second motherboard; 在所述第一控制模块接收到状态监测结构发送的目标信号的情况下,控制所述第一控制模块与所述第二控制模块建立通信连接,所述目标信号用于表征所述第二主板处于已开机的运行状态。When the first control module receives the target signal sent by the state monitoring structure, the first control module is controlled to establish a communication connection with the second control module, and the target signal is used to represent the second main board is in a powered-on operating state. 6.根据权利要求5所述的方法,其特征在于,在所述第一控制模块与所述第二控制模块建立通信连接之后,所述方法还包括:6. The method according to claim 5, wherein after the first control module and the second control module establish a communication connection, the method further comprises: 通过所述第二控制模块向所述第一控制模块发送所述状态监测结构获取的状态监测信号。The state monitoring signal obtained by the state monitoring structure is sent to the first control module through the second control module. 7.根据权利要求5所述的方法,其特征在于,在所述第一控制模块与所述第二控制模块建立通信连接之后,所述方法还包括:7. The method according to claim 5, wherein after the first control module and the second control module establish a communication connection, the method further comprises: 通过所述第二控制模块按预设频率向所述第一控制模块发送心跳信号;Send a heartbeat signal to the first control module at a preset frequency by the second control module; 通过通信模块接收远程关机指令;Receive a remote shutdown command through the communication module; 将所述远程关机指令通过所述第一控制模块发送至所述第二控制模块,并通过所述第二控制模块控制所述开机结构进行动作,以对所述第一主板进行关机;sending the remote shutdown command to the second control module through the first control module, and controlling the startup structure to perform actions through the second control module, so as to shut down the first motherboard; 在所述第一控制模块在预设时间内未接收到所述心跳信号的情况下,通过所述第一控制模块生成关机确认信号。When the first control module does not receive the heartbeat signal within a preset time, a shutdown confirmation signal is generated by the first control module. 8.根据权利要求5所述的方法,其特征在于,在所述第一控制模块与所述第二控制模块建立通信连接之后,所述方法还包括:8. The method according to claim 5, wherein after the first control module and the second control module establish a communication connection, the method further comprises: 通过通信模块接收中间控制指令;Receive intermediate control instructions through the communication module; 将所述中间控制指令通过所述第一控制模块发送至所述第二控制模块,其中,所述中间控制指令包括黑屏控制指令、进入屏幕保护控制指令、启动应用控制指令、分发软件安装控制指令、分发文件控制指令、截屏控制指令以及获取实时运行信息控制指令中的至少一项。Sending the intermediate control instruction to the second control module through the first control module, wherein the intermediate control instruction includes a black screen control instruction, a screen saver control instruction, an application startup control instruction, and a distribution software installation control instruction , at least one of distributing file control instructions, screen capture control instructions, and acquiring real-time operation information control instructions. 9.一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求5至8任一项所述的方法。9. A terminal device, comprising a memory, a processor and a computer program stored in the memory and running on the processor, wherein the processor implements the computer program as claimed in the claims when executing the computer program The method of any one of 5 to 8. 10.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求5至8任一项所述的方法。10. A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 5 to 8 is implemented.
CN202011122913.2A 2020-10-20 2020-10-20 Electronic device and remote control method thereof, terminal device and readable storage medium Active CN111966420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011122913.2A CN111966420B (en) 2020-10-20 2020-10-20 Electronic device and 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 and 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 and remote control method thereof, terminal device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111966420B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882759A (en) * 2021-02-10 2021-06-01 联想(北京)有限公司 Control method and device and electronic equipment
CN115701070A (en) * 2021-07-16 2023-02-07 京东方科技集团股份有限公司 Computer equipment, its remote control method, and related equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955704A (en) * 2011-08-26 2013-03-06 联咏科技股份有限公司 Software execution 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

Also Published As

Publication number Publication date
CN111966420A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
US10961651B2 (en) Internet of things washing machine control method, control system, and washing machine
US20190052476A1 (en) Smart appliance control method and smart appliance
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
CN111966420B (en) Electronic device and remote control method thereof, terminal device and readable storage medium
CN104572564A (en) Method for realizing communication of Android mobile equipment and USB OTG (On-The-Go) host computer
CN112350861A (en) Log obtaining method and device, computer equipment and storage medium
CN106506174A (en) Control method for remote equipment, remote server and remote equipment
CN111930222A (en) Control method and device and electronic equipment
CN112860408A (en) Process keep-alive method, device and system in cloud reality machine and storage medium
CN113609107A (en) Database management method and device, electronic equipment and storage medium
WO2018184594A1 (en) Method for remotely controlling device and remote control system
CN111246199A (en) Control method and device for camera test, terminal equipment and storage medium
CN111770522B (en) Method, device, terminal and storage medium for identifying data dialing abnormality
CN106161409A (en) A kind of agent framework service system including local component and method
CN112882759A (en) Control method and device and electronic equipment
CN110943350A (en) WIFI smart jack, based on WIFI smart jack's computer watchdog system
TWI493458B (en) Computer device and restart method thereof
WO2024046049A1 (en) Communication method and apparatus, storage medium and terminal device
US20230058633A1 (en) Device and method for diagnosing and configuring a hydraulic device based on wireless local area network
CN104394023A (en) Failure collecting method and system for network access terminal
CN112769196B (en) A charging control method, device, electronic equipment and charger
CN102193609B (en) Setting method and electronic device of power lock
CN112584085B (en) Dual-mode-supporting starting method and system, UVC (ultraviolet video coding) equipment 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
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

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Electronic devices and their remote control methods, terminal devices, and readable storage media

Granted publication date: 20210129

Pledgee: Agricultural Bank of China Limited Changsha Yuhua District sub branch

Pledgor: New Cloud Technology Group Co.,Ltd.

Registration number: Y2024980048365