[go: up one dir, main page]

CN119088465A - A method, system and device for waking up a domestic platform after powering on the network for the first time - Google Patents

A method, system and device for waking up a domestic platform after powering on the network for the first time Download PDF

Info

Publication number
CN119088465A
CN119088465A CN202411262990.6A CN202411262990A CN119088465A CN 119088465 A CN119088465 A CN 119088465A CN 202411262990 A CN202411262990 A CN 202411262990A CN 119088465 A CN119088465 A CN 119088465A
Authority
CN
China
Prior art keywords
controller
network
phy chip
wake
mac address
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
Application number
CN202411262990.6A
Other languages
Chinese (zh)
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.)
Xian Chaoyue Shentai Information Technology Co Ltd
Original Assignee
Xian Chaoyue Shentai Information 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 Xian Chaoyue Shentai Information Technology Co Ltd filed Critical Xian Chaoyue Shentai Information Technology Co Ltd
Priority to CN202411262990.6A priority Critical patent/CN119088465A/en
Publication of CN119088465A publication Critical patent/CN119088465A/en
Pending legal-status Critical Current

Links

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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Power Sources (AREA)

Abstract

本发明公开了一种国产平台首次加电网络唤醒方法、系统及装置,涉及国产计算机电路设计技术领域,以太网PHY芯片的MDIO通过通路切换的模拟开关与处理器以及控制器进行连接,由控制器输出的GPIO口对模拟开关的通道切换;计算机上电后,使用控制器的两个GPIO口模拟MIDO接口,对以太网PHY芯片的WOL寄存器进行配置;控制器通过通讯串口从BIOS中获取MAC地址并保存到内部存储空间中,控制器对比这个MAC地址与其内部存放的地址是否一致,如果不一致则自动更新自身存储的MAC地址。本发明可以实现计算机接通电源且在关机的状态下,通过网络远程唤醒开机功能。

The present invention discloses a method, system and device for waking up the network when a domestic platform is powered on for the first time, and relates to the technical field of domestic computer circuit design. The MDIO of the Ethernet PHY chip is connected to the processor and the controller through an analog switch of a path switching, and the channel of the analog switch is switched by the GPIO port output by the controller; after the computer is powered on, the two GPIO ports of the controller are used to simulate the MIDO interface to configure the WOL register of the Ethernet PHY chip; the controller obtains the MAC address from the BIOS through the communication serial port and saves it to the internal storage space, and the controller compares the MAC address with the address stored inside it to see if it is consistent, and automatically updates the MAC address stored in itself if it is inconsistent. The present invention can realize the function of remotely waking up and starting the computer through the network when the computer is powered on and the computer is turned off.

Description

Method, system and device for waking up home-made platform by first-time power-on network
Technical Field
The invention relates to the technical field of domestic circuit design, in particular to a method, a system and a device for waking up a domestic platform by first feeding an electric network.
Background
Wake-on-LAN (WOL) is a technique for implementing remote power-on control over a LAN. By wake-on-network, the computer which has entered sleep (S3), sleep (S4) and power-off (S5) can be restored to the normal power-on state. Generally, network wake-up requires that a computer is powered on and then is subjected to network wake-up in the following sleep, dormancy and shutdown states, and during the period, the computer cannot have power-off action, i.e. the computer cannot wake up and power on immediately after being powered on.
Disclosure of Invention
The technical task of the invention is to provide a method, a system and a device for waking up a domestic platform by first powering on an electric network, which can realize that a computer is powered on and a startup function is remotely woken up through a network in a shutdown state.
The technical scheme adopted for solving the technical problems is as follows:
A domestic platform first-time power-on network awakening method comprises the following steps:
The MDIO (MANAGEMENT DATA Input/Output) of the Ethernet PHY chip is connected with the processor and the controller through an analog switch of access switching, and the GPIO port Output by the controller switches the channel of the analog switch;
After the computer is powered on, two GPIO ports of the controller are used for simulating MIDO interfaces, and WOL registers of the Ethernet PHY chip are configured;
the controller obtains the MAC address from the BIOS through the communication serial port and stores the MAC address in the internal storage space, the controller compares whether the MAC address is consistent with the address stored in the controller or not, and if not, the controller automatically updates the MAC address stored in the controller;
And in the non-startup state, according to the configuration of the WOL register of the PHY chip by the controller, the PHY chip sends a signal to the controller to realize the startup wakeup function after receiving the network wakeup packet.
By adopting the method, the WOL startup wakeup of the computer can be realized by powering on once in the production process.
Further, the controller is a singlechip.
Further, the controller is a CPLD or an FPGA.
Furthermore, the processor is connected with BIOS Flash through SPI interface, and connected with the network PHY chip through RGMII or SGIMII.
Furthermore, during the production and debugging of the computer, the controller acquires the MAC address from the BIOS through the communication serial port and stores the MAC address in an internal storage area of the controller;
the controller controls the analog switch to connect the MDIO interface of the controller to the PHY chip through the GPIO interface, and carries out MAC address configuration on the WOL register of the PHY chip, after the network cable is connected, the WOL WAKE-up tool sends a WAKE-up magic packet command, the PHY chip sends INT_WAKE signal change to the controller after receiving the WAKE-up command, and the controller controls the computer to start after detecting the INT_WAKE.
Further, the first power-on network wake-up process of the computer is as follows:
1) The computer is connected with a power supply;
2) The controller controls the analog switch to switch on the channel with the PHY chip, and configures a WOL register of the PHY chip;
3) The PHY chip sends WOL_INT signals to the controller after receiving the network wake-up packet;
4) The controller is started after receiving WOL_INT.
The invention also claims a system for waking up the first power-on network of the domestic platform, wherein the processor and the controller of the domestic platform computer are connected with the MDIO (MANAGEMENT DATA Input/Output) of the Ethernet PHY chip through the analog switch switched by the passage, and the GPIO port Output by the controller is used for switching the passage of the analog switch;
After the computer is powered on, two GPIO ports of the controller are used for simulating MIDO interfaces, and WOL registers of the Ethernet PHY chip are configured;
the controller obtains the MAC address from the BIOS through the communication serial port and stores the MAC address in the internal storage space, the controller compares whether the MAC address is consistent with the address stored in the controller or not, and if not, the controller automatically updates the MAC address stored in the controller;
And in the non-startup state, according to the configuration of the WOL register of the PHY chip by the controller, the PHY chip sends a signal to the controller to realize the startup wakeup function after receiving the network wakeup packet.
Further, during the production and debugging of the computer, the controller acquires the MAC address from the BIOS through the communication serial port and stores the MAC address in an internal storage area of the controller;
the controller controls the analog switch to connect the MDIO interface of the controller to the PHY chip through the GPIO interface, and carries out MAC address configuration on the WOL register of the PHY chip, after the network cable is connected, the WOL WAKE-up tool sends a WAKE-up magic packet command, the PHY chip sends INT_WAKE signal change to the controller after receiving the WAKE-up command, and the controller controls the computer to start after detecting the INT_WAKE.
Further, the first power-on network wake-up process of the computer is as follows:
1) The computer is connected with a power supply;
2) The controller controls the analog switch to switch on the channel with the PHY chip, and configures a WOL register of the PHY chip;
3) The PHY chip sends WOL_INT signals to the controller after receiving the network wake-up packet;
4) The controller is started after receiving WOL_INT.
The invention also discloses a device for realizing the first power-on network wake-up of the domestic platform, which comprises a processor and a controller, wherein the controller and the processor are connected with an MDIO (MANAGEMENT DATA Input/Output) of an Ethernet PHY chip through an analog switch for switching a passage, so as to realize the first power-on network wake-up method of the domestic platform.
Compared with the prior art, the method, the system and the device for waking up the first power-on network of the domestic platform have the following beneficial effects:
The method can realize the power-on of the computer, and in the power-off state, the function of starting up is woken up remotely through the network, and the WOL can be realized by only powering on once in the production process, and the network wake-up can be carried out through the local area network by only switching on the computer.
Drawings
Fig. 1 is a structural diagram of a wake-up method of a first power-on network of a domestic platform according to an embodiment of the present invention;
Fig. 2 is a flowchart of a first power-on network wake-up method provided by an embodiment of the present invention.
Detailed Description
The invention will be further described with reference to the drawings and the specific examples.
The embodiment of the invention provides a method for waking up a home-made platform by first powering up an electric network, which comprises the following steps:
The MDIO (MANAGEMENT DATA Input/Output) of the Ethernet PHY chip is connected with the processor and the controller through an analog switch of the access switching, and the GPIO port Output by the controller switches the channel of the analog switch. The controller can be a single chip microcomputer, a CPLD or an FPGA. The embodiment is described by taking a singlechip as an example.
After the computer is powered on, two GPIO ports of the singlechip are needed to simulate MIDO interfaces, and WOL registers of the Ethernet PHY chip are configured.
The singlechip acquires the MAC address from the BIOS through the communication serial port and stores the MAC address in the internal storage space, the singlechip compares whether the MAC address is consistent with the address stored in the singlechip or not, and if not, the singlechip automatically updates the MAC address stored by the singlechip;
and in the non-startup state, according to the configuration of the single chip microcomputer on the WOL register of the PHY chip, the PHY chip sends out WOL_INT signals to change to the single chip microcomputer to realize the startup wakeup function after receiving the network wakeup packet.
By adopting the method, the WOL startup wakeup of the computer can be realized by powering on once in the production process.
The architecture diagram of the implementation of the method is shown in FIG. 1, the processor is connected with the BIOS Flash through the SPI interface, and is connected with the network PHY chip through RGMII or SGIMII, and the singlechip starts to work to provide on-off control for the computer after the singlechip is powered on.
When the computer is produced and debugged, the singlechip acquires the MAC address from the BIOS through the communication serial port and stores the MAC address in an internal storage area of the singlechip.
The computer user is powered on, the singlechip starts to work, the singlechip controls the analog switch to communicate the MDIO interface of the singlechip to the PHY chip through the GPIO interface, and carries out MAC address configuration on the WOL register of the PHY chip, after the network cable is connected, the WOL WAKE-up tool is used for sending a WAKE-up magic packet command, the PHY chip sends an INT_WAKE signal to change to the singlechip after receiving the WAKE-up command, and the singlechip controls the computer to start after detecting the INT_WAKE.
As shown in fig. 2, the first power-on network wake-up flow of the computer is as follows:
1. the computer is connected with a power supply;
2. The singlechip controls the analog switch to switch, switches on a passage with the PHY chip, and configures a WOL register of the PHY chip;
3. the PHY chip sends WOL_INT signals to the singlechip after receiving the network wake-up packet;
4) And starting up the singlechip after receiving WOL_INT.
The embodiment of the invention also provides a system for waking up the home-made platform by the first power-on network, wherein the processor and the controller of the home-made platform computer are connected with the MDIO (MANAGEMENT DATA Input/Output) of the Ethernet PHY chip through the analog switch switched by the passage, and the GPIO port Output by the controller is used for switching the passage of the analog switch. The controller may be a single-chip microcomputer, a CPLD or an FPGA, and the single-chip microcomputer is selected for use in this embodiment.
After the computer is powered on, two GPIO ports of the singlechip are used for simulating MIDO interfaces, and WOL registers of the Ethernet PHY chip are configured.
The singlechip acquires the MAC address from the BIOS through the communication serial port and stores the MAC address in the internal storage space, the singlechip compares whether the MAC address is consistent with the address stored in the singlechip or not, and if not, the singlechip automatically updates the MAC address stored by the singlechip;
And in the non-startup state, according to the configuration of the WOL register of the PHY chip by the singlechip, the PHY chip sends a signal to the singlechip to realize the startup wakeup function after receiving the network wakeup packet.
The processor is connected with BIOS Flash through SPI interface, through RGMII or SGIMII and network PHY chip connection, and the singlechip just begins work after switching on the power and provides switch control for the computer.
When the computer is produced and debugged, the singlechip acquires the MAC address from the BIOS through the communication serial port and stores the MAC address in an internal storage area of the controller;
The computer user is connected with the power supply, the singlechip starts to work, the singlechip controls the analog switch to communicate the MDIO interface of the controller to the PHY chip through the GPIO interface, and carries out MAC address configuration on the WOL register of the PHY chip, after the network cable is connected, the WOL WAKE-up tool is used for sending a WAKE-up magic packet command, the PHY chip sends an INT_WAKE signal to the singlechip after receiving the WAKE-up command, and the singlechip controls the computer to start after detecting the INT_WAKE.
The first power-on network wake-up flow of the computer is as follows:
1. the computer is connected with a power supply;
2. The singlechip controls the analog switch to switch, switches on a passage with the PHY chip, and configures a WOL register of the PHY chip;
3. the PHY chip sends WOL_INT signals to the singlechip after receiving the network wake-up packet;
4. and starting up the singlechip after receiving WOL_INT.
The embodiment of the invention also provides a device for realizing the wake-up of the first-time power-on network of the domestic platform, which comprises a processor and a controller, wherein the controller and the processor are connected with the MDIO (MANAGEMENT DATA Input/Output) of the Ethernet PHY chip through an analog switch for switching the access, so that the wake-up method of the first-time power-on network of the domestic platform described in the embodiment is realized.
The present invention can be easily implemented by those skilled in the art through the above specific embodiments. It should be understood that the invention is not limited to the particular embodiments described above. Based on the disclosed embodiments, a person skilled in the art may combine different technical features at will, so as to implement different technical solutions.
Other than the technical features described in the specification, all are known to those skilled in the art.

Claims (10)

1. A wake-up method for a domestic platform to first power up an electric network is characterized by comprising the following steps:
The MDIO of the Ethernet PHY chip is connected with the processor and the controller through an analog switch of the access switching, and the GPIO port output by the controller is used for switching the channel of the analog switch;
After the computer is powered on, two GPIO ports of the controller are used for simulating MIDO interfaces, and WOL registers of the Ethernet PHY chip are configured;
the controller obtains the MAC address from the BIOS through the communication serial port and stores the MAC address in the internal storage space, the controller compares whether the MAC address is consistent with the address stored in the controller or not, and if not, the controller automatically updates the MAC address stored in the controller;
And in the non-startup state, after receiving the network wakeup packet, the PHY chip sends a signal to the controller to realize the startup wakeup function.
2. The method for waking up a domestic platform first power-on network according to claim 1, wherein the controller is a single-chip microcomputer.
3. The method for waking up a domestic platform first-time power-on network according to claim 1, wherein the controller is a CPLD or an FPGA.
4. The method for waking up a domestic platform first power-on network according to claim 1, wherein the processor is connected with BIOS Flash through SPI interface and connected with a network PHY chip through RGMII or SGIMII.
5. The method for waking up a domestic platform by first power-on network according to claim 1, 2 or 3, wherein the controller obtains the MAC address from BIOS through the communication serial port and stores the MAC address in the internal storage area of the controller when the computer is debugged;
the controller controls the analog switch to connect the MDIO interface of the controller to the PHY chip through the GPIO interface, and carries out MAC address configuration on the WOL register of the PHY chip, after the network cable is connected, the WOL WAKE-up tool sends a WAKE-up magic packet command, the PHY chip sends INT_WAKE signal change to the controller after receiving the WAKE-up command, and the controller controls the computer to start after detecting the INT_WAKE.
6. The method for waking up a first power-on network of a domestic platform according to claim 1, wherein the first power-on network wake-up flow of the computer is as follows:
1) The computer is connected with a power supply;
2) The controller controls the analog switch to switch on the channel with the PHY chip, and configures a WOL register of the PHY chip;
3) The PHY chip sends WOL_INT signals to the controller after receiving the network wake-up packet;
4) The controller is started after receiving WOL_INT.
7. The first-time power-on network awakening system of the domestic platform is characterized in that a processor and a controller of the domestic platform computer are connected with an MDIO of an Ethernet PHY chip through an analog switch switched by a passage, and a GPIO port output by the controller is used for switching a passage of the analog switch;
After the computer is powered on, two GPIO ports of the controller are used for simulating MIDO interfaces, and WOL registers of the Ethernet PHY chip are configured;
the controller obtains the MAC address from the BIOS through the communication serial port and stores the MAC address in the internal storage space, the controller compares whether the MAC address is consistent with the address stored in the controller or not, and if not, the controller automatically updates the MAC address stored in the controller;
And in the non-startup state, after receiving the network wakeup packet, the PHY chip sends a signal to the controller to realize the startup wakeup function.
8. The system for waking up the first power-on network of the domestic platform according to claim 7, wherein the controller obtains the MAC address from the BIOS through the communication serial port and stores the MAC address in the internal storage area of the controller when the computer is produced and debugged;
the controller controls the analog switch to connect the MDIO interface of the controller to the PHY chip through the GPIO interface, and carries out MAC address configuration on the WOL register of the PHY chip, after the network cable is connected, the WOL WAKE-up tool sends a WAKE-up magic packet command, the PHY chip sends INT_WAKE signal change to the controller after receiving the WAKE-up command, and the controller controls the computer to start after detecting the INT_WAKE.
9. The home-made platform first-time power-on network wake-up system of claim 7, wherein the computer first-time power-on network wake-up process is as follows:
1) The computer is connected with a power supply;
2) The controller controls the analog switch to switch on the channel with the PHY chip, and configures a WOL register of the PHY chip;
3) The PHY chip sends WOL_INT signals to the controller after receiving the network wake-up packet;
4) The controller is started after receiving WOL_INT.
10. The device for realizing the wake-up of the first-time power-on network of the domestic platform is characterized by comprising a processor and a controller, wherein the controller and the processor are connected with the MDIO of an Ethernet PHY chip through an analog switch for switching a passage, and the wake-up method of the first-time power-on network of the domestic platform is realized according to any one of claims 1 to 6.
CN202411262990.6A 2024-09-10 2024-09-10 A method, system and device for waking up a domestic platform after powering on the network for the first time Pending CN119088465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411262990.6A CN119088465A (en) 2024-09-10 2024-09-10 A method, system and device for waking up a domestic platform after powering on the network for the first time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411262990.6A CN119088465A (en) 2024-09-10 2024-09-10 A method, system and device for waking up a domestic platform after powering on the network for the first time

Publications (1)

Publication Number Publication Date
CN119088465A true CN119088465A (en) 2024-12-06

Family

ID=93667810

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411262990.6A Pending CN119088465A (en) 2024-09-10 2024-09-10 A method, system and device for waking up a domestic platform after powering on the network for the first time

Country Status (1)

Country Link
CN (1) CN119088465A (en)

Similar Documents

Publication Publication Date Title
US5721934A (en) Retrofit external power saving system and method for use
US20040128571A1 (en) Handling of multiple compliant and non-compliant wake-up sources in a computer system
CN102045595B (en) A system for realizing the standby and wake-up of a set-top box with a single-chip microcomputer
CN101859173A (en) Power-saving device of computer mainboard in standby sleep state and mainboard thereof
KR101771674B1 (en) External device power control during low power sleep mode without central processing intervention
WO2013166778A1 (en) Method and device for operating mobile terminal based on sensor, and mobile terminal
CN107077188A (en) Interconnection wakes up response circuit and method
CN101498964A (en) Wireless modulation-demodulation apparatus and system, sleeping/waking method and terminal
CN110568921B (en) Method for reducing chip power consumption
CN105487638B (en) Electronic circuit system and method for reducing power consumption
CN101299678A (en) Method and system for implementing electrification of interface plate in open application structure
CN110933739A (en) Electronic equipment awakening method and electronic equipment
US8219842B2 (en) Computer system and method for energy-saving operation of a computer system
TWI549449B (en) Maintenance method for network connection and computer system
US11314318B2 (en) Server system and power-saving method thereof
CN108829547B (en) Computer controller of ocean platform and implementation method thereof
CN119088465A (en) A method, system and device for waking up a domestic platform after powering on the network for the first time
CN209486612U (en) Startup and shutdown control circuit applied to handheld terminal
WO2024193257A1 (en) Wake-up device
JP2001092566A (en) Method and device for saving power in battery-driven electronic equipment
CN107741865B (en) Standby system capable of self-awakening and standby method
CN102594575A (en) System and method of controlling sleep and awakening of server
CN204890035U (en) Digital colored doppler diasonograph's CPLD power management circuit
CN115167255A (en) Automatic dormancy awakening system, method, device and equipment
CN113903282A (en) Display screen control method, module control card, display unit and display control system

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