CN114116025A - Controlled equipment, control method and device and computer storage medium - Google Patents
Controlled equipment, control method and device and computer storage medium Download PDFInfo
- Publication number
- CN114116025A CN114116025A CN202111272298.8A CN202111272298A CN114116025A CN 114116025 A CN114116025 A CN 114116025A CN 202111272298 A CN202111272298 A CN 202111272298A CN 114116025 A CN114116025 A CN 114116025A
- Authority
- CN
- China
- Prior art keywords
- network chip
- controller
- controlled device
- working state
- network
- 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.)
- Pending
Links
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
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/173—Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/177—Initialisation or configuration control
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7807—System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
- G06F15/7825—Globally asynchronous, locally synchronous, e.g. network on chip
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Mathematical Physics (AREA)
- Computer Security & Cryptography (AREA)
- Selective Calling Equipment (AREA)
Abstract
The embodiment of the application discloses controlled equipment, a control method, a control device and a computer storage medium, wherein the controlled equipment comprises: the first network chip is used for establishing first communication connection with the main control equipment; the first controller is at least used for controlling the working state of the controlled equipment; and the second network chip can establish signal connection with the first controller so as to at least give a control request from the main control device to the first controller, so that the first controller switches the working state of the controlled device.
Description
Technical Field
The embodiment of the application relates to the technical field of electronics, and relates to but is not limited to controlled equipment, a control method, a control device and a computer storage medium.
Background
In the related art, computer design does not support Remote wide area network (Remote on Wan), a boot rod must be used if Remote boot is to be realized, and then the boot rod and a Basic Input Output System (BIOS) are set to be realized, which is difficult to be completed by a common user.
Disclosure of Invention
In view of this, embodiments of the present application provide a controlled device, a control method, an apparatus, and a computer storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a controlled device, where the controlled device includes: the first network chip is used for establishing first communication connection with the main control equipment; the first controller is at least used for controlling the working state of the controlled equipment; and the second network chip can establish signal connection with the first controller so as to at least give a control request from the main control device to the first controller, so that the first controller switches the working state of the controlled device.
In a second aspect, an embodiment of the present application provides a control method, where the method includes: under the condition of obtaining a control request of the master control equipment, determining the working state of the controlled equipment; causing the controlled device to respond to the control request with a first network chip or a second network chip based at least on the operating state; wherein the first network chip is different from the second network chip, and the second network chip is capable of responding to the control request at least by changing an operating state of the controlled device.
In a third aspect, an embodiment of the present application provides a control apparatus, where the apparatus includes: the determining module is used for determining the working state of the controlled equipment under the condition of obtaining the control request of the main control equipment; a response module, configured to cause the controlled device to respond to the control request with a first network chip or a second network chip based on at least the operating state; wherein the first network chip is different from the second network chip, and the second network chip is capable of responding to the control request at least by changing an operating state of the controlled device.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the above method when executing the program.
In a fifth aspect, embodiments of the present application provide a computer storage medium storing executable instructions for causing a processor to implement the above method when executed.
In the embodiment of the application, the controlled device comprises a first network chip, which is used for establishing a first communication connection with the main control device; the first controller is at least used for controlling the working state of the controlled equipment; and the second network chip can establish signal connection with the first controller so as to at least give a control request from the main control device to the first controller, so that the first controller switches the working state of the controlled device. Therefore, the controlled equipment can use the first controller to acquire the signal from the second network chip to change the working state under the condition that the working state needs to be changed, a user does not need to directly control the controlled equipment, the user can change the working state of the controlled equipment through the main control equipment, and the remote starting of the controlled equipment can be realized.
Drawings
Fig. 1A is a schematic structural diagram of a controlled device according to an embodiment of the present disclosure;
fig. 1B is a schematic structural diagram of a controlled device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a control method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a computer and a network cable according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a control device according to an embodiment of the present disclosure;
fig. 6 is a hardware entity diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, specific technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings in the embodiments of the present application. The following examples are intended to illustrate the present application but are not intended to limit the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that some of the embodiments described herein are only for explaining the technical solutions of the present application, and are not intended to limit the technical scope of the present application.
Fig. 1A is a schematic diagram of an architecture of a controlled device provided in an embodiment of the present application, and as shown in fig. 1A, the controlled device includes: a first network chip 11, a first controller 12, and a second network chip 13, wherein,
the first network chip 11 is configured to establish a first communication connection with a master control device;
here, the first network chip 11 is connected to a master device, and is configured to receive and transmit interaction data between the master device and the controlled device. In an implementation process, the first network chip 11 may be configured to receive a wired signal sent by the main control device, and may also be configured to receive a wireless signal sent by the main control device.
A first controller 12 at least for controlling the working state of the controlled device;
here, the first CONTROLLER 12 may control the operating state of the controlled device based on the power state adjustment of the controlled device, for example, the first CONTROLLER 12 may be an EMBEDDED CONTROLLER (EC) for executing a control system that specifies an independent control function and has the capability of processing data in a complex manner, and may be used for controlling, monitoring, managing or assisting the operation of the controlled device in real time. The embedded controller is an electronic device or apparatus controlled by an embedded microelectronic technology chip (including a series of microelectronic devices such as a microprocessor chip, a timer, a sequencer or a controller), and can complete various automated processing tasks such as monitoring and control.
The working state of the controlled equipment comprises at least one of the following states: the system comprises a normal working state, a dormant state, a sleeping state, a standby state and a shutdown state, wherein under the condition of the normal working state, a user can normally use the controlled equipment; under the condition of the dormant state, all data in the memory of the controlled equipment are stored in a specific space of the hard disk, the starting state can be triggered again, and the memory data temporarily stored in the hard disk can be restored into the memory, namely the previous normal working progress can be restored; in a sleep state, the system of the controlled equipment stores the data being processed into the memory, and all devices in the controlled equipment except the memory can stop supplying power; under the condition of a standby state, the system of the controlled equipment saves the current state in the memory and then quits the system, at the moment, the power consumption of the controlled equipment is reduced, and the minimum operation of the CPU, the memory and the hard disk is maintained; in the power-off state, the other devices of the controlled apparatus except the first controller 12 may stop supplying power.
For example, in the case that the controlled device is a notebook computer, the EC may be a single chip microcomputer, and is used to implement functions of keyboard control, touch panel management, power management, fan control, notebook battery management, and the like. Here, the EC is typically a stand-alone chip and contains independently running software stored in a non-volatile medium of the EC chip (or shared with the BIOS). The EC is present in the whole life of the notebook computer, and even under the condition that the notebook computer is powered off, the EC still works, namely, the EC starts working as long as power is supplied, waits for a key, processes a power supply power-on sequence and powers on the notebook computer.
And a second network chip 13 capable of establishing a signal connection with the first controller 12 to at least give a control request from the master device to the first controller 12, so that the first controller 12 switches the operating state of the controlled device.
Here, the second network chip 13 may be a chip capable of receiving a signal transmitted by the main control device using a network cable or wireless transmission, and may receive the network signal and convert the received network signal into a signal recognizable by the first controller 12 using a network protocol. In this way, the second network chip 13 establishes a signal connection with the first controller 12, can receive a control request of the master control device, converts the control request into a request that can be recognized by the first controller 12, and sends the request to the first controller 12.
The first network chip 11 and the second network chip 13 may be the same network chip or different network chips, and different functions are completed by defining the first network chip 11 and the second network chip 13: the first network chip 11 is configured to receive a network signal sent by the master control device in a state where the controlled device normally operates; the second network chip 13 is configured to receive a control request sent by the master device when the controlled device needs to switch the working state, so that the first controller 12 switches the working state of the controlled device. The control request may include a control instruction for controlling the change of the working state of the controlled device, or may include a control instruction or a request command corresponding to an operation that the main control device performs data access, data exchange, setting item change, parameter adjustment, and the like on the controlled device.
In the embodiment of the application, the controlled device comprises a first network chip, which is used for establishing a first communication connection with the main control device; the first controller is at least used for controlling the working state of the controlled equipment; and the second network chip can establish signal connection with the first controller so as to at least give a control request from the main control device to the first controller, so that the first controller switches the working state of the controlled device. Therefore, the controlled equipment can acquire the signal from the second network chip by using the first controller under the condition that the working state needs to be changed, so that the working state can be changed, the controlled equipment does not need to be directly controlled by a user, the working state of the controlled equipment can be changed by the user through the main control equipment, and the remote start of the controlled equipment can be realized.
Fig. 1B is a schematic diagram of an architecture of a controlled device according to an embodiment of the present application, and as shown in fig. 1B, the controlled device includes: a first network chip 11, a first controller 12, a second network chip 13, a second controller 14, and a line switcher 15, wherein,
the second controller 14 is in signal connection with the first controller 12, and is used for controlling the connection state of the line switcher 15 based on the working state of the controlled equipment fed back by the first controller;
here, the second Controller 14 may be a Micro Control Unit (MCU), also called a Single Chip Microcomputer (Single Chip Microcomputer), or a Single Chip Microcomputer, and is configured to appropriately reduce the frequency and specification of a Central Processing Unit (CPU), and integrate peripheral interfaces such as a Memory (Memory), a counter (Timer), a Universal Serial Bus (USB), digital-to-analog conversion, a Universal Asynchronous Receiver/Transmitter (UART), a Programmable Logic Controller (Programmable Logic Controller, PLC), and a Direct Memory Access (DMA) on a Single Chip to form a hierarchical computer, so as to perform different combination control for different application occasions.
The second controller 14 is connected to the second network chip 13, the line switch 15 and the first controller 12, and has at least two functions as follows:
the method has the following effects: receiving the operating state of the controlled device fed back by the first controller 12, and determining the connection state of the line switcher 15 based on the operating state;
the second action is as follows: the control signal sent by the second network chip 13 is acquired and forwarded to the first controller 12.
The line switch 15 can respond to the control of the second controller 14 to connect with the first network chip or the second network chip 13, so as to enable the controlled device to establish a first communication connection with the main control device through the first network chip based on the working state, or to establish a second communication connection with the main control device through the second network chip 13.
Here, the line switcher 15 is connected to the second controller 14, the first network chip 11, and the second network chip 13, respectively, and is configured to receive a network signal from the master device by using a network cable or wirelessly and transmit the network signal to the first network chip 11 or the second network chip 13.
In some embodiments, the work flow of the line switcher 15 is as follows: first, a connection with the first network chip 11 or the second network chip 13 is selected in response to the control of the second controller 14, so that the controlled device establishes a first communication connection with the main control device through the first network chip 11 based on the working state of the controlled device, or establishes a second communication connection with the main control device through the second network chip 13, and then receives a network signal sent by the main control device, and sends the network signal to the first network chip 11 or the second network chip 13. In this way, the determination of the path for receiving the network signal based on different operating states of the controlled device can be realized.
In an embodiment of the present application, the controlled device further includes a second controller that controls a connection state of the line switcher, and the line switcher is capable of connecting with the first network chip or the second network chip in response to control of the second controller. In this way, the second controller can be used for controlling the line switcher to switch the path for receiving the network signal based on different working states of the controlled device, and the second controller can also send the control request of the master control device received by the second chip to the first controller.
In some embodiments, the second network chip is disposed at the controlled device; or the second network chip is arranged in a network cable connecting the controlled device and the master control device; or, the second network chip and the line switcher are arranged in the network cables of the controlled device and the master control device.
In the implementation process, as shown in fig. 1A and 1B, the second network chip 13 may be disposed in the controlled device, so that the receiving of the control request of the remote main control device may be implemented by improving and disposing the hardware and software of the controlled device, so as to change the operating state of the controlled device.
As shown in fig. 4, a second network chip 13 may be disposed in a network cable connecting the controlled device and the master device, or the second network chip 13 and the line switcher 15 may be disposed in the network cable connecting the controlled device and the master device. In this way, the hardware and software of the network cable are improved to receive the control request of the remote main control device so as to change the working state of the controlled device.
In some embodiments, in a case where the controlled device is in a first working state, the line switcher is connected to the first network chip, and the controlled device establishes a first communication connection with the master device through the first network chip;
when the controlled equipment is in a second working state, the line switcher is connected with the second network chip, and the first controller establishes a second communication connection with the main control equipment through the second network chip, so that the first controller can respond to a control request of the main control equipment to control the controlled equipment to be switched from the second working state to the first working state.
In some embodiments, the first operating state may be a normal operating state of the controlled device, and the second operating state may be a hibernation state, a sleep state, a standby state, or a power-off state of the controlled device. In this way, the controlled device can be switched to the normal working state from the dormant state, the sleep state, the standby state or the power-off state through the second network chip responding to the control request.
In the embodiment of the application, the controlled device receives different network signals through the first network chip or the second network chip respectively in different working states, and when the controlled device is in the second working state, the second network chip responds to the control request, so that the controlled device is switched from the second working state to the first working state. Therefore, the controlled device can utilize different network chips to realize network communication under different working states, and can respond to the control request through the second network chip to realize the switching of the working states.
In some embodiments, based on the controlled device shown in fig. 1A or fig. 1B, the controlled device further includes a third network chip, capable of establishing a signal connection with the first controller to at least give a control request from the master device to the first controller, so that the first controller switches an operating state of the controlled device, where a communication manner of the third network chip is different from a communication manner of the second network chip.
Here, the communication method of the network signal received by the third network chip is different from that of the network signal received by the second network chip, that is, the communication method of the third network chip is different from that of the second network chip. For example, the second network chip may be configured to receive a second network signal transmitted by a network cable, and the third network chip may be configured to receive a third network signal transmitted by a wireless transmission manner. Under the condition that the second network chip can be compatible with the network signal received by the third network chip, the functional requirement can be met only by using the second network chip, and under the condition that the type of the network signal which can be processed by the second network chip and the third network chip is different, a chip which can adapt to the type of the newly added network signal can be added to process the network signal.
In the embodiment of the application, under the condition that the network signal which cannot be processed by the second network chip exists, a third network chip can be added to process the network signal so as to meet the functional requirement.
As shown in fig. 2, a control method provided in an embodiment of the present application includes:
step S210, under the condition of obtaining the control request of the main control equipment, determining the working state of the controlled equipment;
step S220, enabling the controlled equipment to respond to the control request by a first network chip or a second network chip at least based on the working state;
wherein the first network chip is different from the second network chip, and the second network chip is capable of responding to the control request at least by changing an operating state of the controlled device.
In the embodiment of the application, first, under the condition that a control request of a master control device is obtained, a working state of a controlled device is determined, and then the controlled device responds to the control request by a first network chip or a second network chip at least based on the working state. Therefore, the controlled equipment can take the signal from the second network chip to change the working state under the condition that the working state needs to be changed, the user does not need to directly control the controlled equipment, the working state of the controlled equipment can be changed by the user through the main control equipment, and the remote starting of the controlled equipment can be realized.
In some embodiments, the step S220 "enabling the controlled device to respond to the control request with the first network chip or the second network chip based on at least the operating state" may be implemented by:
step S221, under the condition that the controlled equipment is in a first working state, responding to the control request through a first network chip;
step S223, under the condition that the controlled device is in the second working state, responding to the control request through the second network chip, so that the controlled device is switched from the second working state to the first working state; wherein the power consumption of the controlled device in the first operating state is greater than the power consumption in the second operating state.
In the embodiment of the application, the controlled device receives different network signals through the first network chip or the second network chip respectively in different working states, and when the controlled device is in the second working state, the second network chip responds to the control request, so that the controlled device is switched from the second working state to the first working state. Therefore, the controlled device can utilize different network chips to realize network communication under different working states, and can respond to the control request through the second network chip to realize the switching of the working states.
In some embodiments, the step S222 "responding to the control request through a second network chip to switch the controlled device from the second operating state to the first operating state" may be implemented by: and sending the control request to a first controller of the controlled equipment through a second network chip, so that the first controller responds to the control request to control the controlled equipment to be switched from the second working state to the first working state.
In implementation, the second network chip 13 may give a control request to the first controller 12 as shown in fig. 1A, so that the first controller 12 controls the controlled device to switch from the second operating state to the first operating state in response to the control request. For example, in the case that the controlled device is a computer, the first controller 12 may be an EC, so that the EC receives a control request sent by the first network chip 13, and may control the computer to switch from a sleep state, a standby state, or a power-off state to a normal operating state.
In the embodiment of the application, the second network chip may send the control request to the first controller of the controlled device, so that the first controller responds to the control request to control the controlled device to switch the working state, thereby implementing a function of remotely controlling the controlled device to switch the working state.
In some embodiments, the step S210 "enables the controlled device to respond to the control request with a first network chip or a second network chip based on at least the working status, where the first network chip is different from the second network chip, and the second network chip is capable of responding to the control request at least by changing the working status of the controlled device" may be implemented by: causing the controlled device to respond to the control request with the first network chip, the second network chip, or a third network chip based at least on the operating state;
the first network chip, the second network chip and the third network chip are different, the second network chip or the third network chip can at least respond to the control request by changing the working state of the controlled equipment, and the types of signals processed by the second network chip and the third network chip are different.
In the embodiment of the application, under the condition that the network signal which cannot be processed by the second network chip exists, a third network chip can be added to process the network signal so as to meet the functional requirement.
As shown in fig. 3, a control method provided in an embodiment of the present application includes:
step S310, under the condition of obtaining the control request of the main control equipment, determining the working state of the controlled equipment;
step S320, enabling the controlled device to respond to the control request with a first network chip or a second network chip based on at least the working state; wherein the first network chip is different from the second network chip, and the second network chip is capable of responding to the control request at least by changing the working state of the controlled device;
step S330, after the controlled device is switched from the second working state to the first working state, the interactive data between the main control device and the controlled device is received and transmitted through the second network chip; or,
after the controlled device is switched from the second working state to the first working state, switching back to the first network chip to receive and transmit the interactive data between the main control device and the controlled device; or,
and after the controlled equipment is switched from the second working state to the first working state, receiving and transmitting interactive data between the main control equipment and the controlled equipment through the second network chip and the first network chip.
In this embodiment of the application, after the controlled device is switched from the second operating state to the first operating state, the interactive data between the master control device and the controlled device may be received and transmitted through the second network chip; or switching back to the first network chip to receive and send the interactive data between the master control equipment and the controlled equipment; or, the second network chip and the first network chip receive and transmit the interactive data between the master control device and the controlled device. Therefore, the interactive data between the main control device and the controlled device can be received and transmitted through the second network chip and/or the first network chip, and when any one network chip fails, the other network chip for backup can be switched to, and the normal work of the controlled device is not influenced.
In an actual working scene, there is a situation that the user has to go to the office for the required data or go to the office for overtime to complete the rest of work because the office computer is not around, and in such a situation, the user needs to have a method for remotely waking up the computer to start the remote office mode. However, the current computer design does not support the remote wide area network, and if the remote boot is to be realized, the boot rod must be used, and then the boot rod and the BIOS need to be set, which is difficult to be realized by common users. Here, the principle of the boot stick is that the local boot stick is used as a server to wake up the network card chip on the motherboard in a remote wake-up manner. The method for applying for implementation is that a network chip in a network cable is matched with a specially designed network port crystal head, and then the embedded controller is used for executing the starting operation.
Fig. 4 is a schematic diagram of a computer and a network cable according to an embodiment of the present invention, as shown in fig. 4,
the computer includes: a first network chip 11, a first controller 12, and a network interface 16, wherein,
the first network chip 11 is connected to the network interface 16 of the computer, and is configured to receive a network signal sent by the main control device when the computer is operating normally.
The first controller 12 is connected to the network interface 16 of the computer, and configured to receive a control request sent by the main control device when the computer is powered off or in a sleep state, so that the computer is switched to a working state.
And the network interface 16 is interacted with a network interface 17 arranged in the network cable and is used for realizing data interaction between the computer and the main control equipment.
The network cable includes: a second network chip 13, a second controller 14, a line switcher 15, and a network interface 17, wherein,
and the second network chip 13 is connected to the second controller, and is configured to receive a control request sent by the controlled device when the computer is powered off or in a sleep state, and send the control request to the second controller.
The second controller 14, which utilizes the network interface 17 to interact data with the computer device, sends the control request to the first controller of the computer, so that the computer is switched to the working state line switch 15,
and the network interface 17 is interacted with the network interface 16 arranged in the computer and is used for realizing data interaction between the main control equipment and the computer.
The following is a method for remotely waking up a computer provided in an embodiment of the present application, including the following steps:
step S410, the first controller 12 sends the computer status to the second controller 14 in the network cable through the network interface 16 of the computer;
step S420, the second controller 14 of the network cable selects a corresponding network chip based on the computer state received through the network interface 17, where the network chip includes the first network chip 11 and the second network chip 13;
step S430, under the condition that the second controller 14 determines that the computer is in a sleep or power-off state, the network switch 15 is controlled to switch the network line to the second network chip 13 to receive the network signal 2, where the network signal 2 is used to wake up the computer;
step S440, the second controller 14 receives the network signal 2 processed by the second network chip 13;
step S450, the second controller 14 converts the network signal 2 into a wake-up signal and sends the wake-up signal to the network interface 17 of the network cable;
step S460, the network interface 16 of the computer receives the wake-up signal and wakes up the power supply by using the first controller 12;
step S470, under the condition that the second controller 14 determines that the computer is in the power-on state, the network switch 15 is controlled to switch the network line to the first network chip 11 to receive the network signal 1, where the network signal 1 is a network signal of normal interactive data;
step S480, the computer receives the network signal 1 through the network chip 11.
Under the condition that the computer works, the network signal goes through the first network chip 11, and the network path is used for normal network transmission; in case of sleep and power off, the network signal goes to the second network chip 13, and the network path is used to wake up the computer. And then switches to the first network chip 11 after the wake-up is completed. Therefore, remote boot can be effectively realized by adopting the customized network interface 16 and 17 and combining the design of a computer and a network cable.
Based on the foregoing embodiments, an embodiment of the present application provides a control apparatus, where the apparatus includes modules, each module includes sub-modules, and the sub-modules may be implemented by a processor in an electronic device; of course, the implementation can also be realized through a specific logic circuit; in implementation, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Fig. 5 is a schematic structural diagram of a control device according to an embodiment of the present application, and as shown in fig. 5, the device 500 includes:
a determining module 510, configured to determine a working state of the controlled device when the control request of the master device is obtained;
a response module 520, configured to cause the controlled device to respond to the control request with a first network chip or a second network chip based on at least the operating state; wherein the first network chip is different from the second network chip, and the second network chip is capable of responding to the control request at least by changing an operating state of the controlled device.
In some embodiments, the response module includes a first response submodule and a second response submodule, wherein the first response submodule is configured to respond to the control request through the first network chip when the controlled device is in a first working state; the second response submodule is configured to, when the controlled device is in a second working state, respond to the control request through the second network chip, so that the controlled device is switched from the second working state to the first working state; wherein the power consumption of the controlled device in the first operating state is greater than the power consumption in the second operating state.
In some embodiments, the second response submodule is further configured to send the control request to a first controller of the controlled device through a second network chip, so that the first controller controls the controlled device to switch from the second operating state to the first operating state in response to the control request.
In some embodiments, the apparatus further includes a first transceiver module, a second transceiver module, and a second transceiver module, where the first transceiver module is configured to receive and transmit interaction data between the master device and the controlled device through the second network chip after the controlled device switches from the second working state to the first working state; the second transceiver module is configured to switch back to the first network chip to receive and transmit the interactive data between the master control device and the controlled device after the controlled device switches from the second working state to the first working state; the third transceiving module is configured to transceive the interactive data between the master device and the controlled device through the second network chip and the first network chip after the controlled device switches from the second working state to the first working state.
In some embodiments, the response module 520 is further configured to cause the controlled device to respond to the control request with the first network chip, the second network chip, or a third network chip based at least on the operating state; wherein the second network chip or the third network chip is capable of responding to the control request at least by changing the working state of the controlled device, and the type of the signal processed by the second network chip is different from that processed by the third network chip.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be noted that, in the embodiment of the present application, if the method is implemented in the form of a software functional module and sold or used as a standalone product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing an electronic device (which may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.
Correspondingly, the present application provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps in the control method provided in the above-described embodiments.
Correspondingly, an embodiment of the present application provides an electronic device, and fig. 6 is a schematic diagram of a hardware entity of the electronic device provided in the embodiment of the present application, as shown in fig. 6, the hardware entity of the device 600 includes: comprising a memory 601 and a processor 602, said memory 601 storing a computer program operable on the processor 602, said processor 602 implementing the steps in the control method provided in the above embodiments when executing said program.
The Memory 601 is configured to store instructions and applications executable by the processor 602, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 602 and modules in the electronic device 600, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM).
Here, it should be noted that: the above description of the storage medium and device embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing an electronic device (which may be a mobile phone, a tablet computer, a notebook computer, a desktop computer, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A controlled device, comprising:
the first network chip is used for establishing first communication connection with the main control equipment;
the first controller is at least used for controlling the working state of the controlled equipment;
and the second network chip can establish signal connection with the first controller so as to at least give a control request from the main control device to the first controller, so that the first controller switches the working state of the controlled device.
2. The controlled device of claim 1, further comprising a second controller and a line switcher, wherein,
the second controller is in signal connection with the first controller and is used for controlling the connection state of the line switcher based on the working state of the controlled equipment fed back by the first controller;
the line switcher can respond to the control of the second controller to be connected with the first network chip or the second network chip so as to enable the controlled equipment to establish a first communication connection with the main control equipment through the first network chip or establish a second communication connection with the main control equipment through the second network chip based on the working state.
3. The controlled device of claim 2, wherein, when the controlled device is in a first operating state, the line switcher is connected to the first network chip, and the controlled device establishes a first communication connection with the master device through the first network chip; and/or the presence of a gas in the atmosphere,
when the controlled equipment is in a second working state, the line switcher is connected with the second network chip, and the first controller establishes a second communication connection with the main control equipment through the second network chip, so that the first controller can respond to a control request of the main control equipment to control the controlled equipment to be switched from the second working state to the first working state.
4. The controlled device according to claim 2 or 3, wherein the second network chip is provided to the controlled device; or,
the second network chip is arranged in a network cable for connecting the controlled equipment and the main control equipment; or,
the second network chip and the line switcher are arranged in network cables of the controlled equipment and the master control equipment.
5. The controlled device according to any one of claims 1 to 3, further comprising a third network chip capable of establishing a signal connection with the first controller to give a control request from the master device to at least the first controller so as to cause the first controller to switch the operating state of the controlled device, wherein the third network chip is communicated in a different manner from the second network chip.
6. A control method, comprising:
under the condition of obtaining a control request of the master control equipment, determining the working state of the controlled equipment;
causing the controlled device to respond to the control request with a first network chip or a second network chip based at least on the operating state;
wherein the first network chip is different from the second network chip, and the second network chip is capable of responding to the control request at least by changing an operating state of the controlled device.
7. The method of claim 6, said causing the controlled device to respond to the control request with either a first network chip or a second network chip based at least on the operating state, comprising:
under the condition that the controlled equipment is in a first working state, responding to the control request through the first network chip;
under the condition that the controlled equipment is in a second working state, responding to the control request through the second network chip to enable the controlled equipment to be switched from the second working state to the first working state;
wherein the power consumption of the controlled device in the first operating state is greater than the power consumption in the second operating state.
8. The method of claim 7, wherein said responding, by a second network chip, to the control request to cause the controlled device to switch from the second operating state to the first operating state comprises:
and sending the control request to a first controller of the controlled equipment through the second network chip, so that the first controller controls the controlled equipment to be switched from the second working state to the first working state in response to the control request.
9. The method of any of claims 6 to 8, further comprising:
after the controlled device is switched from the second working state to the first working state, the interactive data between the main control device and the controlled device is received and transmitted through the second network chip; or,
after the controlled device is switched from the second working state to the first working state, switching back to the first network chip to receive and transmit the interactive data between the main control device and the controlled device; or,
and after the controlled equipment is switched from the second working state to the first working state, receiving and transmitting interactive data between the main control equipment and the controlled equipment through the second network chip and the first network chip.
10. The method of claim 6, said causing the controlled device to respond to the control request with either a first network chip or a second network chip based at least on the operating state, comprising:
causing the controlled device to respond to the control request with the first network chip, the second network chip, or a third network chip based at least on the operating state;
wherein the second network chip or the third network chip is capable of responding to the control request at least by changing the working state of the controlled device, and the type of the signal processed by the second network chip is different from that processed by the third network chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111272298.8A CN114116025A (en) | 2021-10-29 | 2021-10-29 | Controlled equipment, control method and device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111272298.8A CN114116025A (en) | 2021-10-29 | 2021-10-29 | Controlled equipment, control method and device and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114116025A true CN114116025A (en) | 2022-03-01 |
Family
ID=80379613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111272298.8A Pending CN114116025A (en) | 2021-10-29 | 2021-10-29 | Controlled equipment, control method and device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114116025A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114610586A (en) * | 2022-03-31 | 2022-06-10 | 联想(北京)有限公司 | Electronic equipment and control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581139A (en) * | 2003-08-15 | 2005-02-16 | 英业达股份有限公司 | Method and system for remote rebooting of network computer platform |
CN101373448A (en) * | 2008-08-15 | 2009-02-25 | 华硕电脑股份有限公司 | Computer system with remote management |
US20150334206A1 (en) * | 2014-05-13 | 2015-11-19 | Acer Incorporated | Method for remotely accessing data and local apparatus using the method |
-
2021
- 2021-10-29 CN CN202111272298.8A patent/CN114116025A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581139A (en) * | 2003-08-15 | 2005-02-16 | 英业达股份有限公司 | Method and system for remote rebooting of network computer platform |
CN101373448A (en) * | 2008-08-15 | 2009-02-25 | 华硕电脑股份有限公司 | Computer system with remote management |
US20150334206A1 (en) * | 2014-05-13 | 2015-11-19 | Acer Incorporated | Method for remotely accessing data and local apparatus using the method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114610586A (en) * | 2022-03-31 | 2022-06-10 | 联想(北京)有限公司 | Electronic equipment and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7574615B2 (en) | Method of managing power consumption of a network interface | |
EP2391178B1 (en) | Wireless modem device, system, sleep/wake-up method and terminal | |
KR101843782B1 (en) | Mobile devices | |
JP5335919B2 (en) | USB remote wakeup | |
WO2019144488A1 (en) | Display apparatus, electronic device, and screen display control method | |
KR101330212B1 (en) | Control device of electric power for monitor and computer system and the method thereof | |
US11048315B2 (en) | Remote wake-up of mobile devices | |
CN102778943A (en) | State control method and device and portable terminal | |
US6272645B1 (en) | Method and control circuit for waking up a computer system from standby mode | |
CN114116025A (en) | Controlled equipment, control method and device and computer storage medium | |
US7882377B2 (en) | Electronic device with flexible processing system | |
US20030233591A1 (en) | Power state sub-system and a method of changing the power state of a selected computer system | |
CN108227900B (en) | Electronic device, energy-saving control method, energy-saving device, and readable storage medium | |
CN101645000A (en) | Computer system capable of controlling audio and method for controlling audio | |
CN115061561A (en) | Power saving method, device and system for equipment and storage medium | |
CN114326522A (en) | Control method, control device, electronic equipment and storage medium | |
JP2012015656A (en) | Information processor, information processing method, computer readable recording medium with information processing program stored therein | |
CN201403132Y (en) | Multimedia LCD PCTV | |
US9229519B2 (en) | Serial interface transmitting method and peripheral device chip | |
CN109086083B (en) | Method and device for controlling equipment starting and interactive intelligent panel | |
CN106020406B (en) | Control method, connector and electronic equipment | |
CN110633002A (en) | Processing circuit and power management method thereof | |
CN201550213U (en) | Television standby control circuit | |
CN115022452B (en) | Communication method, device, equipment and storage medium of audio equipment | |
CN220673775U (en) | Wake-up system applied to RS485 network |
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 |