CN116795404A - Upgrading method and system of server power firmware and WiFi assembly - Google Patents

Upgrading method and system of server power firmware and WiFi assembly Download PDF

Info

Publication number
CN116795404A
CN116795404A CN202310862190.7A CN202310862190A CN116795404A CN 116795404 A CN116795404 A CN 116795404A CN 202310862190 A CN202310862190 A CN 202310862190A CN 116795404 A CN116795404 A CN 116795404A
Authority
CN
China
Prior art keywords
firmware
data
wifi
server
power supply
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
CN202310862190.7A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310862190.7A priority Critical patent/CN116795404A/en
Publication of CN116795404A publication Critical patent/CN116795404A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a method and a system for upgrading server power firmware and a WiFi component, wherein the method for upgrading the server power firmware comprises the following steps: the method comprises the steps that firmware upgrade data sent by a server are received through a WiFi component, wherein the WiFi component is installed on a power supply of the server, and the power supply is used for supplying power to the server; transmitting firmware upgrade data to a primary side control circuit in a power supply through a WiFi component; and upgrading the power firmware in the power supply based on the upgrade instruction of the primary side control circuit. The application solves the problem that the power firmware upgrade is interfered by the internal signal of the server in the related technology, and achieves the effect of stably upgrading the power firmware.

Description

Upgrading method and system of server power firmware and WiFi assembly
Technical Field
The embodiment of the application relates to the field of computers, in particular to a method and a system for upgrading server power firmware and a WiFi component.
Background
Along with electronic commerce, community media and big Data analysis bring about huge Data volume transmission and Data storage requirements of the Internet, and a large Data Center (Data Center) is built and developed as an immediate solution. The key hardware of the data center is a Server (Server) and a power distribution facility, and the power plant transmits AC and HVDC power of public standard to a large-scale data center for use, and the Power Supply (PSU) is needed to convert the AC and HVDC power into low-voltage DC power (+48V, +12V, +5V, +3.3V.) for providing accurate working voltage for the inside of the Server. Once the power supply fails, the light person causes the failed power supply to shut down the output, the voltage must be maintained by the redundant power supply, and the power supply is damaged severely, which affects the safety of the server line. The data center mainly uses a server as a hardware architecture, but needs a power supply to provide power input, one server is normally provided with two to four power supplies to maintain the system operation (N+N), the output wattage is 500W, 800W and the like, the high output wattage is 2000W, 3000W and the like, and the overall power consumption can reach 1000W to 6000W. The number of servers in a large data center can be thousands or hundreds, so that the power supply is a device at the technical core in the data center. The power supply is used as a key device of the data center, for example, the internal firmware (firmware) needs to be updated for the safety of work or design factors to ensure the operation stability. In the prior art, firmware upgrading is performed on a power supply through a hardware transmission mode of an I2C communication protocol by a management baseboard management controller BMC of a server remote monitoring and host system, but the power supply is interfered by signals in the server at present, so that the power firmware upgrading is affected.
In view of the above technical problems, no effective solution has been proposed in the related art.
Disclosure of Invention
The embodiment of the application provides a method and a system for upgrading power firmware of a server and a WiFi assembly, which at least solve the problem that the power firmware is upgraded by internal signals of the server in the related technology.
According to one embodiment of the present application, there is provided an upgrade method of server power firmware, including: the method comprises the steps that firmware upgrade data sent by a server are received through a WiFi component, wherein the WiFi component is installed on a power supply of the server, and the power supply is used for supplying power to the server; transmitting the firmware upgrade data to a primary side control circuit in the power supply through the WiFi assembly; and upgrading the power firmware in the power supply based on the upgrade instruction of the primary side control circuit.
In one exemplary embodiment, receiving firmware upgrade data sent by a server through a WiFi component includes: receiving a firmware upgrade packet sent by the server through an antenna in the WiFi assembly, wherein the antenna is in signal connection with the server; processing the firmware upgrade package through the WiFi chip in the WiFi assembly to obtain the firmware upgrade data; and transmitting the firmware upgrade data to the power supply through a WiFi protocol.
In an exemplary embodiment, after receiving the firmware upgrade packet sent by the server through an antenna in the WiFi component, the method further includes: the firmware upgrade package is converted from a wireless signal to a digital signal through a signal conversion unit in the antenna.
In an exemplary embodiment, the processing the firmware upgrade package by the WiFi chip in the WiFi component to obtain the firmware upgrade data includes: decompressing the firmware upgrade package through a decompression unit in the WiFi chip to obtain decompressed data; and carrying out digital decoding on the decompressed data through a decoding unit in the WiFi chip to obtain the firmware upgrading data.
In an exemplary embodiment, after the processing the firmware upgrade package by the WiFi chip in the WiFi component to obtain the firmware upgrade data, the method further includes: performing error detection on the firmware upgrade data according to cyclic redundancy check through a detection unit in the WiFi chip; and processing the firmware upgrading data according to the detection result.
In an exemplary embodiment, before the firmware upgrade data is sent to the primary side control circuit in the power supply through the WiFi component, the method further includes: when the firmware upgrading data is determined to be abnormal from the detection result, sending an automatic retransmission request to the server through the antenna to request the server to retransmit the firmware upgrading packet; repairing the firmware upgrade data through forward error correction; and requesting the server to retransmit the firmware upgrading data in a retransmission timeout mode.
In one exemplary embodiment, the transmitting the firmware upgrade data to the primary side control circuit in the power supply through the WiFi component includes: compressing the firmware upgrade data through the WiFi chip to obtain compressed data; determining a data transmission interface inside the WiFi assembly as the interface adapter between the WiFi assembly and the primary side control circuit; and transmitting the compressed data to the primary side control circuit through the interface adapter according to the WiFi protocol.
In one exemplary embodiment, upgrading power firmware in a power supply based on upgrade instructions of a primary side control circuit includes: transmitting the compressed data to a primary side control circuit in the power supply; updating the power supply based on the upgrade instruction of the primary side control circuit.
In an exemplary embodiment, updating the power supply based on the upgrade instruction of the primary side control circuit includes: and upgrading the primary side control circuit by using firmware upgrading data in the compressed data under the condition that the upgrading instruction instructs to upgrade the primary side control circuit.
In one exemplary embodiment, upgrading power firmware in a power supply based on upgrade instructions of a primary side control circuit includes: upgrading the primary side control circuit by using firmware upgrading data in the compressed data under the condition that the upgrading instruction instructs to upgrade the primary side control circuit and upgrade a secondary side control circuit in the power supply; transmitting the compressed data to the secondary side control circuit by the primary side control circuit; and upgrading the secondary side control circuit by using the firmware upgrading data.
In an exemplary embodiment, updating the power supply based on the upgrade instruction of the primary side control circuit includes: transmitting the compressed data to the secondary control circuit through the primary control circuit when the upgrade instruction instructs to upgrade the secondary control circuit in the power supply; and upgrading the secondary side control circuit by using firmware upgrading data in the compressed data.
According to another embodiment of the present application, there is provided a WiFi component, where the WiFi component is installed on a power supply of a server, and an antenna and a WiFi chip are disposed in the WiFi component; the antenna is in signal connection with the server and is used for receiving a firmware upgrade packet sent by the server; the WiFi chip is used for processing the firmware upgrading packet to obtain firmware upgrading data, and sending the firmware upgrading data to the power supply through a WiFi protocol, and the power supply is used for upgrading power firmware according to the firmware upgrading data, wherein the power supply is used for supplying power to the server.
In one exemplary embodiment, the antenna includes a signal conversion unit for converting the firmware upgrade package from a wireless signal to a digital signal.
In an exemplary embodiment, the WiFi chip includes a decompression unit, a decoding unit, and a detection unit; the decompression unit is used for decompressing the firmware upgrade package to obtain decompressed data; the decoding unit is used for carrying out digital decoding on the decompressed data to obtain the firmware upgrading data; the detection unit is used for carrying out error detection on the firmware upgrading data according to cyclic redundancy check, and is used for repairing the firmware upgrading data when the firmware upgrading data is abnormal by at least one of the following modes: transmitting an automatic retransmission request to the server through the antenna to request the server to retransmit the firmware upgrade package; repairing the firmware upgrade data through forward error correction; and requesting the server to retransmit the firmware upgrading data in a retransmission timeout mode.
In an exemplary embodiment, the WiFi component further includes a controller connected to the WiFi chip, the controller configured to control at least one of the following of the WiFi chip: the parameters of the WiFi chip, the data transmission protocol of the WiFi chip, the communication mode of the WiFi chip and the data flow in the WiFi chip.
In an exemplary embodiment, the WiFi component further includes a memory connected to the WiFi chip, where the memory is configured to store the firmware upgrade data.
In an exemplary embodiment, the WiFi component further includes: and the interface adapter is connected with the WiFi chip and a primary side control circuit in the power supply, and is used for sending the firmware upgrading data to the primary side control circuit according to the WiFi protocol, wherein an upgrading instruction sent by the primary side control circuit is used for indicating to upgrade the power firmware in the power supply.
According to another embodiment of the present application, an upgrade system for server power firmware is provided, where the upgrade system for server power firmware includes a power supply and the WiFi component, and the power supply includes power firmware, and the power supply is used to supply power to a server.
According to a further embodiment of the application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the application, as the firmware upgrading data transmitted by the server is received by the WiFi component, the WiFi component is arranged on a power supply of the server, and the power supply is used for supplying power to the server; the firmware upgrading data is sent to a primary side control circuit in the power supply through the WiFi component; and upgrading the power firmware in the power supply based on the upgrade instruction of the primary side control circuit. The power supply firmware can be stably updated without being interfered by signals in the server. Therefore, the problem that the power firmware is interfered by signals in the server in the related technology can be solved, and the effect of stably upgrading the power firmware is achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal of a method for upgrading firmware of a server power supply according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of upgrading server power firmware according to an embodiment of the application;
FIG. 3 is a schematic diagram of signal frame segmentation according to an embodiment of the present application;
FIG. 4 is a second schematic diagram of signal frame segmentation according to an embodiment of the present application;
FIG. 5 is an internal architecture diagram of an ESP8266 chip according to an embodiment of the application;
FIG. 6 is a block diagram of a WiFi assembly according to an embodiment of the application;
FIG. 7 is a diagram of a conventional hardware I2C communication architecture according to an embodiment of the present application;
FIG. 8 is a diagram of a power supply hardware architecture according to an embodiment of the application;
fig. 9 is an entity diagram of a WiFi chip according to an embodiment of the application;
fig. 10 is a schematic diagram of the pins of an ESP8266 chip according to an embodiment of the application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The following explains the related art:
a Server;
board Management Controller (baseboard management controller, BMC for short);
power Supply Unit (power supply unit, PSU for short);
SSID is an abbreviation for Service Set Identifier, meaning: service set identification. The SSID technology can divide a wireless local area network into a plurality of sub-networks requiring different identity verification, each sub-network needs independent identity verification, and only users passing the identity verification can enter the corresponding sub-network to prevent unauthorized users from entering the network.
An AP Access Point wireless Access Point is an Access Point of a wireless network, commonly known as a "hot spot". The wireless network access system mainly comprises route switching access integrated equipment and pure access point equipment, wherein the integrated equipment performs access and route work, the pure access equipment is only responsible for the access of a wireless client, the pure access equipment is usually used as a wireless network extension and is connected with other APs or a main AP to enlarge wireless coverage, and the integrated equipment is generally the core of the wireless network.
DSP digital signal processing (Digital Signal Processing) is an emerging discipline that involves many disciplines and is widely used in many fields. Since the 60 s of the 20 th century, digital signal processing technology has been developed and developed rapidly with the rapid development of computer and information technologies. Digital signal processing has been in widespread use in the field of communications and the like for over twenty years. The digital signal processing is to acquire, transform, filter, estimate, enhance, compress, identify and the like signals in a digital form by using a computer or special processing equipment so as to obtain signal forms meeting the needs of people;
a UART universal asynchronous receiver/transmitter is a universal serial data bus for asynchronous communications. The bus communicates bi-directionally, enabling full duplex transmission and reception. In embedded designs, UART is used to communicate with PCs, including with monitor debuggers and other devices, such as EEPROMs;
SPI is an abbreviation of serial peripheral interface (Serial Peripheral Interface), is a high-speed, full duplex, synchronous communication bus, and occupies only four wires on the pins of the chip, saving space on the layout of the PCB, providing convenience, and because of the simple and easy-to-use characteristics, more and more chips integrate the communication protocol, such as AT91RM9200;
SDIO (Secure Digital Input and Output) secure digital input output defines a peripheral interface.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the mobile terminal as an example, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a method for upgrading the firmware of a server according to an embodiment of the present application. As shown in fig. 1, a mobile terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store computer programs, such as software programs of application software and modules, such as computer programs corresponding to the method for upgrading the server power firmware in the embodiment of the present application, and the processor 102 executes the computer programs stored in the memory 104 to perform various functional applications and data processing, that is, implement the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
In this embodiment, there is provided a method for upgrading server power firmware, and fig. 2 is a flowchart of a method for upgrading server power firmware according to an embodiment of the present application, as shown in fig. 2, where the flowchart includes the following steps:
step S202, firmware upgrade data sent by a server is received through a WiFi component, wherein the WiFi component is installed on a power supply of the server, and the power supply is used for supplying power to the server;
step S204, the firmware upgrade data is sent to a primary side control circuit in the power supply through the WiFi component;
step S206, upgrade the power firmware in the power supply based on the upgrade instruction of the primary side control circuit.
The main body of execution of the steps may be a specific processor in the terminal, the server, the terminal or the server, or a processor or a processing device that is disposed relatively independently from the terminal or the server, but is not limited thereto.
In this embodiment, the WiFi component is an electronic component integrated with a WiFi function, and the WiFi function may be added to various devices and applications, for example, a smart phone, a tablet computer, an internet of things device, and the like. The antenna in the WiFi component is connected with the server through the AP, and a firmware upgrade packet sent by the AP in the server can be received. WiFi is a wireless local area network technology based on the IEEE 802.11 standard. The basic configuration of WiFi requires at least one Access Point (AP) and one or more client users (clients). The wireless AP in the server broadcasts SSID packets once every 100ms, the packet transmission rate is 1Mbit/s, and the packet length is quite short. WiFi specifies a minimum transmission rate of 1Mbit/s to ensure that all WiFi clients receive the SSID broadcast packet, and the clients can decide whether to connect to the SSID AP. The user can set which SSID to connect to. WiFi systems open connections to clients and support roaming, which is a benefit of Wi-Fi. Since WiFi transmits signals over air, it has the same characteristics as a non-switched ethernet network.
In this embodiment, the antenna may be built in the WiFi component, or may be an antenna external to the WiFi component.
Through the steps, as the firmware upgrade data is sent by the server and received by the WiFi component, the WiFi component is arranged on a power supply of the server, and the power supply is used for supplying power to the server; the firmware upgrading data is sent to a primary side control circuit in the power supply through the WiFi component; and upgrading the power firmware in the power supply based on the upgrade instruction of the primary side control circuit. The power supply firmware can be stably updated without being interfered by signals in the server. Therefore, the problem that the power firmware is interfered by signals in the server in the related technology can be solved, and the effect of stably upgrading the power firmware is achieved.
In one exemplary embodiment, receiving firmware upgrade data sent by a server through a WiFi component includes: receiving a firmware upgrade package sent by a server through an antenna in the WiFi assembly, wherein the antenna is in signal connection with the server; processing the firmware upgrade package through a WiFi chip in the WiFi component to obtain firmware upgrade data; the firmware upgrade data is sent to the power supply via the WiFi protocol. In the present embodiment, the antenna receives the radio wave signal of the wireless network transmitted by the AP in the server, but the transmission of the radio wave signal of the wireless network is easily interfered by other signals, and is not suitable for transmitting a long signal frame. Therefore, as shown in fig. 3, the MAC will cut (Fragment) the MSDU with a long frame into a plurality of MACProtocol Data Unit, and the antenna will combine the MSDUs after receiving the MPDUs. When transmitting signals, each MPDU represents an independent signal frame, and must receive reply information of each other. However, MPDUs belonging to the same MSDU are transmitted in a dense manner one by one, and each MPDU must also receive a reply message (Stop-and-Wait flow control method), for example, the MPDU (MAC Protocol Data Unit) signal frame format of IEEE 802.11 includes:
Header (Header): as shown in fig. 4, the length is 30Bytes, and includes fields such as Control (Frame Control), address (Address 1-4), sequence Control (Sequence Control), and Duration (Duration/ID).
Entity (Frame Body): for an indefinite length of 0-2312Bytes, data or other control information may be stored in the field, which varies depending on the Frame Type (Frame Type). It should be noted that if a broadcast or multicast signal frame is not divisible, an undivided MSDU may be packaged in the signal frame entity, and the length thereof may be longer.
Check sequence (Frame Check Sequence): the length is 4Bytes, and CRC-32 check codes are used.
According to the embodiment, the firmware upgrade package is received through the antenna in the WiFi component, so that the firmware upgrade package can be quickly obtained, and signal interference in the server can be avoided.
In an exemplary embodiment, after receiving the firmware upgrade package sent by the server through the antenna in the WiFi component, the method further includes: the firmware upgrade package is converted from a wireless signal to a digital signal through a signal conversion unit in the antenna. In this embodiment, the signal received by the antenna is a wireless signal, and digital signal conversion is required, and the signal is sent to the power supply after conversion, so that reliability and compatibility of data in the transmission process are ensured.
In an exemplary embodiment, the firmware upgrade package is processed by a WiFi chip in the WiFi component to obtain firmware upgrade data, including: decompressing the firmware upgrade package through a decompression unit in the WiFi chip to obtain decompressed data; and carrying out digital decoding on the decompressed data through a decoding unit in the WiFi chip to obtain firmware upgrading data. In this embodiment, the firmware upgrade package may be processed by the device decompression unit and the decoding unit in the WiFi chip. For example, where the WiFi chip is an ESP8266 chip, the ESP8266 chip may implement processing of data through software programming. For example, as shown in fig. 5, which is an internal architecture diagram of an ESP8266 chip, the ESP8266 chip may implement encoding and compression processing of firmware upgrade data in the following manner:
base64 coding: base64 is a commonly used encoding scheme that encodes binary data into printable ASCII characters. The software program on the ESP8266 chip may use the Base64 coding algorithm to code the data to ensure the reliability and compatibility of the data during transmission.
Data compression algorithm: the software program on the ESP8266 chip may use various data compression algorithms to reduce the size of the data to save transmission bandwidth and storage space. The data compression algorithm includes ZIP, GZIP, deflate and the like. The ESP8266 chip may compress and decompress the data using an appropriate compression library or algorithm.
Custom coding and compression algorithm: custom coding and compression algorithms may also be implemented depending on the specific application requirements. The software of the ESP8266 chip needs to be programmed in detail to design and implement coding and compression algorithms appropriate for the particular data type and application scenario.
It should be noted that, the ESP8266 chip has limited computing and memory resources, so that the resource occupation and performance requirements should be balanced when selecting the coding and compression modes. In practical applications, an appropriate encoding and compression method may be selected according to specific data types, transmission requirements, and chip resource limitations.
Furthermore, if the encoding and compression requirements of the data are high, the ESP8266 chip may need to work in conjunction with other processors or devices in order to utilize more computing and storage capabilities to implement more complex encoding and compression algorithms.
Optionally, the ESP8266 chip is responsible for receiving the firmware upgrade packet, and then sends the firmware upgrade packet to the MCU/DSP of the control chip in the power supply for firmware upgrade. For example, an ESP8266 chip has the following functions:
and (3) data forwarding: the ESP8266 chip may act as a repeater or bridge, receiving data from one device and then forwarding it to another device or the internet. The ESP8266 chip is used as a data transfer node for transmitting data from one device to another device or sending the data to the cloud for storage and processing.
Data processing and analysis: the ESP8266 chip may receive raw data sent by sensors or other devices and perform data processing and analysis locally. The ESP8266 chip may process the received data, extract useful information, and then resend the processed data according to a specific algorithm or logic. The application scene is commonly used for edge calculation in the Internet of things, and data transmission quantity and delay to the cloud are reduced by performing data processing and analysis on an ESP8266 chip.
Optionally, the ESP8266 chip is a low cost, low power consumption chip that integrates WiFi functionality, with the following parameters and protocols:
the WiFi protocol supports: ESP8266 chip supports IEEE 802.11b/g/n standard, and can communicate with standard Wi-Fi network. It may connect to an existing Wi-Fi network as a Wi-Fi client or provide wireless network services as a Wi-Fi Access Point (AP).
And (3) network management: ESP8266 chips enable connection and communication with a network through Wi-Fi management protocols (e.g., TCP/IP protocol stacks). It supports network management functions such as IP address assignment (DHCP or static IP), DNS resolution, TCP and UDP connections.
And (3) data flow management: the ESP8266 chip may perform data flow management in a variety of ways.
Socket programming: the ESP8266 chip provides a Socket interface that can communicate with a remote device using TCP or UDP protocols. By establishing Socket connection, data stream can be sent and received, and management and control of data stream can be performed.
AT instruction set: ESP8266 chip supports AT instruction set, communicates with the chip through serial port. By sending specific AT instructions, the functions of connection with Wi-Fi network, data transmission, network configuration and the like can be realized. This approach is suitable for simple communication requirements but is not suitable for advanced applications and complex data flow management.
MQTT protocol: ESP8266 chips can communicate using MQTT (Message Queuing Telemetry Transport) protocol. The MQTT is a lightweight publish-subscribe messaging protocol suitable for Internet of things applications. By using the MQTT protocol, reliable communication and data flow management between devices can be achieved.
Data flow control and processing: ESP8266 chips may use a programming language (e.g., C/C++) or use the development environment of ESP8266 (e.g., arduino IDE) to manage and process data streams. By writing corresponding codes, the functions of analyzing, converting, storing, transmitting and the like of the data can be realized so as to meet the requirements of specific applications.
ESP8266 chip can realize connection and communication with WiFi network and management and processing of data stream by supporting WiFi protocol, network management and data stream management mechanism. Communication and data flow management requirements in various application scenarios can be achieved by reasonably programming and selecting appropriate protocols.
The ESP8266 chip in this embodiment is mainly used to interact with the AP in the server, and may require retransmission of the firmware upgrade package when the received data is erroneous.
In an exemplary embodiment, after the firmware upgrade package is processed by the WiFi chip in the WiFi component to obtain firmware upgrade data, the method further includes: performing error detection on the firmware upgrade data according to cyclic redundancy check through a detection unit in the WiFi chip; and processing the firmware upgrading data according to the detection result.
Optionally, before sending the firmware upgrade data to the primary side control circuit in the power supply via the WiFi component, the method further comprises: when the firmware upgrading data is determined to be abnormal from the detection result, an automatic retransmission request is sent to the server through an antenna, and the server is requested to retransmit a firmware upgrading packet; repairing firmware upgrade data by forward error correction; and requesting the server to retransmit the firmware upgrade data in a retransmission timeout mode. For example, a cyclic redundancy check (Cyclic Redundancy Check, CRC) is used to detect whether a firmware upgrade packet is erroneous during transmission. The server calculates a CRC check value of the firmware upgrade package before transmitting the firmware upgrade package, and attaches it to the end of the firmware upgrade package. After receiving the firmware upgrade package, the WiFi chip recalculates the CRC check value and compares the CRC check value with the received check value. If the two do not match, the receiver will determine that the firmware upgrade package is in error and request the server to resend. Automatic repeat request (Automatic Repeat Request, ARQ) ARQ is an error repair mechanism for requesting a server to retransmit a firmware upgrade packet when an error occurs in the firmware upgrade packet. When the WiFi chip detects a firmware upgrade package error, it sends a special ARQ message to the server requesting retransmission of the firmware upgrade package. After receiving the ARQ message, the server resends the firmware upgrade package until the WiFi chip confirms correct reception. Forward error correction (Forward Error Correction) FEC is a scheme to add redundant data at the server for error repair at the WiFi chip. The server adds redundant information in the firmware upgrade package by using an error correction code. And when the WiFi chip receives the firmware upgrade package, the redundant information is utilized to correct the firmware upgrade package, so that the error is repaired. Such as Hamming Code and convolutional Code (Convolutional Code). Retransmission timeout (Retransmission Timeout): when the server sends a firmware upgrade package, it sets a timer. If the server does not receive the acknowledgement message from the WiFi chip within a specified time, it may consider the firmware upgrade package to be lost and resend. This ensures that the server can retransmit in time even if some firmware upgrade packets are lost during transmission.
The embodiment can realize error checking and repairing of the firmware upgrading data through the mechanism, and ensures reliable transmission of the firmware upgrading data.
In one exemplary embodiment, sending firmware upgrade data to primary side control circuitry in a power supply via a WiFi component includes: compressing firmware upgrading data through a WiFi chip to obtain compressed data; determining a data transmission interface inside the WiFi assembly as an interface adapter between the WiFi assembly and a primary side control circuit; the compressed data is sent to the primary side control circuit via the interface adapter and in accordance with the WiFi protocol. In this embodiment, the interface in the interface adapter may be an SPI, SDIO interface, or I2C, UAR. After the firmware upgrading data is determined to be correct, the firmware upgrading data is sent to the power supply through the interface adapter, so that the purpose of accurately and quickly sending the data can be achieved.
In one exemplary embodiment, upgrading power firmware in a power supply based on upgrade instructions of a primary side control circuit includes: transmitting the compressed data to a primary side control circuit in the power supply; the power supply is updated based on the upgrade instructions of the primary side control circuit.
In this embodiment, updating the power supply based on the upgrade instruction of the primary side control circuit includes the following schemes:
scheme one: and under the condition that the upgrade instruction indicates to upgrade the primary side control circuit, the primary side control circuit is upgraded by using firmware upgrade data in the compressed data.
Scheme II: under the condition that the upgrade instruction indicates to upgrade the primary side control circuit and upgrade the secondary side control circuit in the power supply, the primary side control circuit is upgraded by utilizing firmware upgrade data in the compressed data; transmitting the compressed data to a secondary side control circuit through a primary side control circuit; and upgrading the secondary side control circuit by using the firmware upgrading data.
Scheme III: transmitting compressed data to the secondary control circuit through the primary control circuit under the condition that the upgrading instruction indicates to upgrade the secondary control circuit in the power supply; and upgrading the secondary side control circuit by using firmware upgrading data in the compressed data.
In this embodiment, upgrading the primary side control circuit and the secondary side control circuit includes the following functions and improvements:
safety enhancement: firmware upgrades may include security enhancement functions, such as repairing known vulnerabilities, providing stronger authentication and access control mechanisms to prevent unauthorized access and potential security threats.
Efficiency optimization: firmware upgrades may be optimized for the performance of the power supply. By improving algorithms, adjusting parameters, or adding functionality, power efficiency can be improved, power consumption reduced, stability and responsiveness increased to achieve better performance.
Compatibility improvement: firmware upgrades may include compatibility improvements to new hardware, communication protocols, or standards. By updating the firmware, the power supply may support new hardware devices, new communication protocols, or upgraded standards to meet new needs and requirements.
Functional enhancement: firmware upgrades may also add new functionality or retrofit existing functionality. This may include added power management functions, monitoring functions, communication interface improvements, remote management functions, etc. to provide more functionality and flexibility.
And (3) fault repair: firmware upgrades typically include repairing known faults or problems. By identifying and resolving errors or defects in the firmware, the stability and reliability of the power supply can be improved, and faults and problems can be reduced.
It should be noted that the specific content and function of the firmware upgrade depends on the model and manufacturer of the power supply. Each manufacturer may have different firmware upgrade policies and functional improvement emphasis.
Optionally, the data upgrade of the primary side control circuit and the secondary side control circuit can be accurately controlled through the upgrade instruction.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
In this embodiment, a WiFi component is further provided, and fig. 6 is a structural block diagram of the WiFi component according to an embodiment of the present application, where, as shown in fig. 6, the WiFi component is installed on a power supply of a server, and an antenna and a WiFi chip are disposed in the WiFi component;
the antenna is in signal connection with the server and is used for receiving a firmware upgrade package sent by the server;
The WiFi chip is used for processing the firmware upgrading packet to obtain firmware upgrading data, and sending the firmware upgrading data to the power supply through the WiFi protocol, and the power supply is used for upgrading the power firmware according to the firmware upgrading data, wherein the power supply is used for supplying power to the server.
Unlike the conventional hardware I2C communication architecture (shown in fig. 7) for firmware upgrade of the power supply, the embodiment introduces a WiFi component on the power supply hardware architecture (shown in fig. 8), and receives a firmware upgrade packet through the wireless WiFi communication network. After the antenna of the WiFi component collects the complete firmware upgrade package, the WiFi chip firstly decodes and decompresses the firmware upgrade package, then performs data error checking and repairing, and transmits the firmware upgrade data to the MCU or the DSP in the power supply to perform program refreshing action after confirming no error, thus completing the firmware upgrade flow of the power supply.
Optionally, the WiFi chip is a core component in the WiFi component, as shown in fig. 9, and is an entity diagram of the WiFi chip, which includes a plurality of control pins. As shown in fig. 10, when the WiFi chip is an ESP8266 chip, the ESP8266 chip pins include:
GPIO0: a general input/output pin which can be configured into an input or output mode for inputting and outputting digital signals with other external devices;
GPIO2: a general purpose input output pin, similar to GPIO0, may be configured in an input or output mode for input and output of digital signals;
TX (GPIO 1): a serial transmission data output pin for transmitting serial data to other devices, such as for communication with a computer or other microcontroller;
RX (GPIO 3): a serial transmission data input pin for receiving serial data from other devices, for example, from a computer or other microcontroller;
GPIO4-GPIO15: a general input/output pin which can be configured into an input or output mode for inputting and outputting digital signals with other external devices;
SD2 (GPIO 9) and SD3 (GPIO 10): the SD card data line pin can be used for communicating with an SD card to realize reading and writing of data;
SDA (GPIO 2) and SCL (GPIO 14): the I2C bus pin is used for communicating with other I2C devices to realize the transmission of digital data;
SPI pin (GPIO 6, GPIO7, GPIO 8): the SPI device is used for communicating with other SPI devices to realize high-speed serial data transmission;
ADC pins: the ESP8266 chip has multiple ADC pins (typically GPIO0, GPIO2, GPIO4, GPIO 5) for the input of analog signals, the voltage value of the external sensor can be measured.
It should be noted that the pin functions of the ESP8266 chip can be customized according to specific application programs and configurations
In one exemplary embodiment, the antenna includes a signal conversion unit for converting the firmware upgrade package from a wireless signal to a digital signal. In this embodiment, the signal received by the antenna is a wireless signal, and digital signal conversion is required, and the signal is sent to the power supply after conversion, so that reliability and compatibility of data in the transmission process are ensured.
In one exemplary embodiment, the WiFi chip includes a decompression unit, a decoding unit, and a detection unit;
the decompression unit is used for decompressing the firmware upgrade package to obtain decompressed data;
the decoding unit is used for carrying out digital decoding on the decompressed data to obtain firmware upgrading data;
the detection unit is used for carrying out error detection on the firmware upgrade data according to the cyclic redundancy check and repairing the firmware upgrade data when the firmware upgrade data is abnormal by at least one of the following modes: sending an automatic retransmission request to a server through an antenna to request the server to retransmit a firmware upgrade package; repairing firmware upgrade data by forward error correction; and requesting the server to retransmit the firmware upgrade data in a retransmission timeout mode.
In this embodiment, the firmware upgrade package may be processed by the device decompression unit and the decoding unit in the WiFi chip. For example, where the WiFi chip is an ESP8266 chip, the ESP8266 chip may implement processing of data through software programming. For example, the ESP8266 chip may implement the encoding and compression process of firmware upgrade data in the following manner:
base64 coding: base64 is a commonly used encoding scheme that encodes binary data into printable ASCII characters. The software program on ESP8266 may use the Base64 coding algorithm to encode data to ensure the reliability and compatibility of the data during transmission.
Data compression algorithm: the software program on ESP8266 may use various data compression algorithms to reduce the size of the data to save transmission bandwidth and storage space. The data compression algorithm includes ZIP, GZIP, deflate and the like. ESP8266 may compress and decompress data using an appropriate compression library or algorithm.
Custom coding and compression algorithm: custom coding and compression algorithms may also be implemented depending on the specific application requirements. The software of ESP8266 needs to be programmed in detail to design and implement coding and compression algorithms appropriate for the particular data type and application scenario.
Note that ESP8266 has limited computational and memory resources, and thus, the resource occupation and performance requirements should be weighed when selecting the coding and compression modes. In practical applications, an appropriate encoding and compression method may be selected according to specific data types, transmission requirements, and chip resource limitations.
Furthermore, if the encoding and compression requirements of the data are high, ESP8266 may need to work in conjunction with other processors or devices in order to utilize more computing and storage capabilities to implement more complex encoding and compression algorithms.
Optionally, the ESP8266 chip is responsible for receiving the firmware upgrade packet, and then sends the firmware upgrade packet to the MCU/DSP of the control chip in the power supply for firmware upgrade. For example, an ESP8266 chip has the following functions:
and (3) data forwarding: the ESP8266 chip may act as a repeater or bridge, receiving data from one device and then forwarding it to another device or the internet. The ESP8266 chip is used as a data transfer node for transmitting data from one device to another device or sending the data to the cloud for storage and processing.
Data processing and analysis: the ESP8266 chip may receive raw data sent by sensors or other devices and perform data processing and analysis locally. The ESP8266 chip may process the received data, extract useful information, and then resend the processed data according to a specific algorithm or logic. The application scene is commonly used for edge calculation in the Internet of things, and data transmission quantity and delay to the cloud are reduced by performing data processing and analysis on an ESP8266 chip.
Optionally, the ESP8266 chip is a low cost, low power consumption chip that integrates WiFi functionality, with the following parameters and protocols:
the WiFi protocol supports: ESP8266 chip supports IEEE 802.11b/g/n standard, and can communicate with standard Wi-Fi network. It may connect to an existing Wi-Fi network as a Wi-Fi client or provide wireless network services as a Wi-Fi Access Point (AP).
And (3) network management: ESP8266 chips enable connection and communication with a network through Wi-Fi management protocols (e.g., TCP/IP protocol stacks). It supports network management functions such as IP address assignment (DHCP or static IP), DNS resolution, TCP and UDP connections.
And (3) data flow management: the ESP8266 chip may perform data flow management in a variety of ways.
Socket programming: the ESP8266 chip provides a Socket interface that can communicate with a remote device using TCP or UDP protocols. By establishing Socket connection, data stream can be sent and received, and management and control of data stream can be performed.
AT instruction set: ESP8266 chip supports AT instruction set, communicates with the chip through serial port. By sending specific AT instructions, the functions of connection with Wi-Fi network, data transmission, network configuration and the like can be realized. This approach is suitable for simple communication requirements but is not suitable for advanced applications and complex data flow management.
MQTT protocol: ESP8266 chips can communicate using MQTT (Message Queuing Telemetry Transport) protocol. The MQTT is a lightweight publish-subscribe messaging protocol suitable for Internet of things applications. By using the MQTT protocol, reliable communication and data flow management between devices can be achieved.
Data flow control and processing: ESP8266 chips may use a programming language (e.g., C/C++) or use the development environment of ESP8266 (e.g., arduino IDE) to manage and process data streams. By writing corresponding codes, the functions of analyzing, converting, storing, transmitting and the like of the data can be realized so as to meet the requirements of specific applications.
ESP8266 chip can realize connection and communication with WiFi network and management and processing of data stream by supporting WiFi protocol, network management and data stream management mechanism. Communication and data flow management requirements in various application scenarios can be achieved by reasonably programming and selecting appropriate protocols.
The ESP8266 chip in this embodiment is mainly used to interact with the AP in the server, and may require retransmission of the firmware upgrade package when the received data is erroneous.
In addition, the detection unit may detect whether the firmware upgrade packet has an error in the transmission process using a cyclic redundancy check (Cyclic Redundancy Check, CRC). The server calculates a CRC check value of the firmware upgrade package before transmitting the firmware upgrade package, and attaches it to the end of the firmware upgrade package. After receiving the firmware upgrade package, the WiFi chip recalculates the CRC check value and compares the CRC check value with the received check value. If the two do not match, the receiver will determine that the firmware upgrade package is in error and request the server to resend. Automatic repeat request (Automatic Repeat Request, ARQ) ARQ is an error repair mechanism for requesting a server to retransmit a firmware upgrade packet when an error occurs in the firmware upgrade packet. When the WiFi chip detects a firmware upgrade package error, it sends a special ARQ message to the server requesting retransmission of the firmware upgrade package. After receiving the ARQ message, the server resends the firmware upgrade package until the WiFi chip confirms correct reception. Forward error correction (Forward Error Correction) FEC is a scheme to add redundant data at the server for error repair at the WiFi chip. The server adds redundant information in the firmware upgrade package by using an error correction code. And when the WiFi chip receives the firmware upgrade package, the redundant information is utilized to correct the firmware upgrade package, so that the error is repaired. Such as Hamming Code and convolutional Code (Convolutional Code). Retransmission timeout (Retransmission Timeout): when the server sends a firmware upgrade package, it sets a timer. If the server does not receive the acknowledgement message from the WiFi chip within a specified time, it may consider the firmware upgrade package to be lost and resend. This ensures that the server can retransmit in time even if some firmware upgrade packets are lost during transmission.
The embodiment can realize error checking and repairing of the firmware upgrading data through the mechanism, and ensures reliable transmission of the firmware upgrading data.
In one exemplary embodiment, the WiFi component further includes a controller coupled to the WiFi chip, the controller for controlling at least one of: parameters of the WiFi chip, a data transmission protocol of the WiFi chip, a communication mode of the WiFi chip and data flow in the WiFi chip. In this embodiment, the controller may also be a controller including an ESP8266 chip. The control function of the ESP8266 chip has been described in the above embodiments, and will not be described here again.
In one exemplary embodiment, the WiFi assembly further includes a memory coupled to the WiFi chip, the memory for storing firmware upgrade data. In this embodiment, the memory may be flash memory, RAM or other types of memory.
In one exemplary embodiment, the WiFi component further comprises: and the interface adapter is used for transmitting firmware upgrade data to the power supply according to a WiFi protocol so as to upgrade.
In this embodiment, upgrading the primary side control circuit and the secondary side control circuit includes the following functions and improvements:
Safety enhancement: firmware upgrades may include security enhancement functions, such as repairing known vulnerabilities, providing stronger authentication and access control mechanisms to prevent unauthorized access and potential security threats.
Efficiency optimization: firmware upgrades may be optimized for the performance of the power supply. By improving algorithms, adjusting parameters, or adding functionality, power efficiency can be improved, power consumption reduced, stability and responsiveness increased to achieve better performance.
Compatibility improvement: firmware upgrades may include compatibility improvements to new hardware, communication protocols, or standards. By updating the firmware, the power supply may support new hardware devices, new communication protocols, or upgraded standards to meet new needs and requirements.
Functional enhancement: firmware upgrades may also add new functionality or retrofit existing functionality. This may include added power management functions, monitoring functions, communication interface improvements, remote management functions, etc. to provide more functionality and flexibility.
And (3) fault repair: firmware upgrades typically include repairing known faults or problems. By identifying and resolving errors or defects in the firmware, the stability and reliability of the power supply can be improved, and faults and problems can be reduced.
It should be noted that the specific content and function of the firmware upgrade depends on the model and manufacturer of the power supply. Each manufacturer may have different firmware upgrade policies and functional improvement emphasis.
In summary, the present embodiment provides a technology for updating the firmware of a server power supply through a wireless WiFi method, and introducing a WiFi component into a power supply hardware architecture can solve the problem that the signal interference in the server causes error sending and receiving data hidden trouble in the current firmware upgrading operation in the server operation. Besides increasing the success rate of firmware upgrading of the power supply, the machine room has the additional value function of monitoring the working state of the power supply, and can also improve the overall power supply stability of the data center and reduce the loss of the system when the machine is in operation. Besides protecting the server from normal operation, the risk that the power supply or human negligence affects the whole machine to be started and important confidential data cannot be recovered is avoided.
The embodiment of the application also provides an upgrading system of the server power firmware, which comprises a power supply and a WiFi component, wherein the power supply comprises the power firmware, and the power supply is used for supplying power to the server.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic device may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (19)

1. An upgrade method for server power firmware, comprising:
the method comprises the steps that firmware upgrade data sent by a server are received through a WiFi component, wherein the WiFi component is installed on a power supply of the server, and the power supply is used for supplying power to the server;
transmitting the firmware upgrade data to a primary side control circuit in the power supply through the WiFi component;
and upgrading the power firmware in the power supply based on the upgrade instruction of the primary side control circuit.
2. The method of claim 1, wherein receiving firmware upgrade data sent by a server through a WiFi component comprises:
receiving a firmware upgrade package sent by the server through an antenna in the WiFi assembly, wherein the antenna is in signal connection with the server;
Processing the firmware upgrade package through a WiFi chip in the WiFi component to obtain the firmware upgrade data;
and sending the firmware upgrade data to the power supply through a WiFi protocol.
3. The method of claim 2, wherein after receiving the firmware upgrade package sent by the server through an antenna in the WiFi component, the method further comprises:
the firmware upgrade package is converted from a wireless signal to a digital signal through a signal conversion unit in the antenna.
4. A method according to claim 2 or 3, wherein processing the firmware upgrade package by the WiFi chip in the WiFi component to obtain the firmware upgrade data comprises:
decompressing the firmware upgrade package through a decompression unit in the WiFi chip to obtain decompressed data;
and carrying out digital decoding on the decompressed data through a decoding unit in the WiFi chip to obtain the firmware upgrading data.
5. A method according to claim 2 or 3, wherein after processing the firmware upgrade package by the WiFi chip in the WiFi component to obtain the firmware upgrade data, the method further comprises:
Performing error detection on the firmware upgrade data according to cyclic redundancy check through a detection unit in the WiFi chip;
and processing the firmware upgrading data according to the detection result.
6. The method of claim 5, wherein prior to sending the firmware upgrade data to a primary side control circuit in the power supply via the WiFi component, the method further comprises:
when the firmware upgrading data is determined to be abnormal from the detection result, sending an automatic retransmission request to the server through the antenna to request the server to retransmit the firmware upgrading packet;
repairing the firmware upgrade data by forward error correction;
and requesting the server to retransmit the firmware upgrade data in a retransmission timeout mode.
7. The method of claim 2, wherein transmitting the firmware upgrade data to a primary side control circuit in the power supply via the WiFi component comprises:
compressing the firmware upgrading data through the WiFi chip to obtain compressed data;
determining a data transmission interface inside the WiFi assembly as an interface adapter between the WiFi assembly and the primary side control circuit;
And sending the compressed data to the primary side control circuit through the interface adapter according to the WiFi protocol.
8. The method of claim 7, wherein upgrading power firmware in the power supply based on the upgrade instructions of the primary side control circuit comprises:
and upgrading the primary side control circuit by utilizing firmware upgrading data in the compressed data under the condition that the upgrading instruction indicates to upgrade the primary side control circuit.
9. The method of claim 7, wherein updating the power supply based on the upgrade instructions of the primary side control circuit comprises:
upgrading the primary side control circuit with firmware upgrade data in the compressed data under the condition that the upgrade instruction instructs to upgrade the primary side control circuit and upgrade a secondary side control circuit in the power supply;
transmitting the compressed data to the secondary side control circuit through the primary side control circuit;
and upgrading the secondary side control circuit by using the firmware upgrading data.
10. The method of claim 7, wherein upgrading power firmware in the power supply based on the upgrade instructions of the primary side control circuit comprises:
Transmitting the compressed data to a secondary control circuit in the power supply through the primary control circuit in the case that the upgrade instruction instructs upgrade of the secondary control circuit;
and upgrading the secondary side control circuit by using firmware upgrading data in the compressed data.
11. The WiFi assembly is characterized in that the WiFi assembly is arranged on a power supply of a server, and an antenna and a WiFi chip are arranged in the WiFi assembly;
the antenna is in signal connection with the server and is used for receiving a firmware upgrade packet sent by the server;
the WiFi chip is used for processing the firmware upgrading packet to obtain firmware upgrading data, and sending the firmware upgrading data to the power supply through a WiFi protocol, and the power supply is used for upgrading power firmware according to the firmware upgrading data, wherein the power supply is used for supplying power to the server.
12. The WiFi component of claim 11, wherein the antenna comprises a signal conversion unit to convert the firmware upgrade package from a wireless signal to a digital signal.
13. The WiFi component of claim 11, wherein the WiFi chip comprises a decompression unit, a decoding unit, and a detection unit;
the decompression unit is used for decompressing the firmware upgrade package to obtain decompressed data;
the decoding unit is used for carrying out digital decoding on the decompressed data to obtain the firmware upgrading data;
the detection unit is used for carrying out error detection on the firmware upgrading data according to cyclic redundancy check and repairing the firmware upgrading data when the firmware upgrading data is abnormal by at least one of the following modes: sending an automatic retransmission request to the server through the antenna, and requesting the server to retransmit the firmware upgrade package; repairing the firmware upgrade data by forward error correction; and requesting the server to retransmit the firmware upgrade data in a retransmission timeout mode.
14. The WiFi component of claim 11, further comprising a controller coupled to the WiFi chip, the controller configured to control at least one of: parameters of the WiFi chip, a data transmission protocol of the WiFi chip, a communication mode of the WiFi chip and a data flow in the WiFi chip.
15. The WiFi component of claim 11, further comprising a memory coupled to the WiFi chip, the memory to store the firmware upgrade data.
16. The WiFi component of claim 11, wherein the WiFi component further comprises:
the interface adapter is connected with the WiFi chip and a primary side control circuit in the power supply, and is used for sending the firmware upgrading data to the primary side control circuit according to the WiFi protocol, wherein an upgrading instruction sent by the primary side control circuit is used for indicating to upgrade the power firmware in the power supply.
17. An upgrade system for server power firmware, wherein the upgrade system for server power firmware comprises a power supply and a WiFi component according to any one of claims 11 to 16, wherein the power supply comprises power firmware, and the power supply is configured to supply power to a server.
18. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 1 to 10.
19. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method as claimed in any one of claims 1 to 10 when the computer program is executed.
CN202310862190.7A 2023-07-13 2023-07-13 Upgrading method and system of server power firmware and WiFi assembly Pending CN116795404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310862190.7A CN116795404A (en) 2023-07-13 2023-07-13 Upgrading method and system of server power firmware and WiFi assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310862190.7A CN116795404A (en) 2023-07-13 2023-07-13 Upgrading method and system of server power firmware and WiFi assembly

Publications (1)

Publication Number Publication Date
CN116795404A true CN116795404A (en) 2023-09-22

Family

ID=88043717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310862190.7A Pending CN116795404A (en) 2023-07-13 2023-07-13 Upgrading method and system of server power firmware and WiFi assembly

Country Status (1)

Country Link
CN (1) CN116795404A (en)

Similar Documents

Publication Publication Date Title
CA2168351C (en) Method and apparatus for connecting a node to a wireless network using a standard protocol
CN108513283A (en) One kind matching network method, equipment, terminal, medium and computer equipment
US11190398B2 (en) Self-configuration of wireless connections
CA2921075C (en) System, method and apparatus for transmitting electrical quantity data based on beidou satellite communication
WO2020164611A1 (en) Simple ethernet header compression
CN111385268B (en) Data packet header compression confirmation method and communication equipment
CN106603506B (en) Data communication method, device and system based on multi-field bus
US20210120104A1 (en) System and method for communicating between a radio and a virtual baseband unit which are incompatible
CN107124393B (en) Remote host management over a network
CN106304245A (en) A kind of equipment networking collocation method and device
CN111385263B (en) Method for maintaining data packet header compression information and communication equipment
CN103501288A (en) Method for achieving batch data upgrade on two-layer switching devices
CN111031370A (en) Method for mutual communication of convergence gateway part and set-top box part
CN100484101C (en) A method, system and device to transport the IPv6 message of Ethernet
EP2420936B1 (en) Protocol conversion Communication Device
US20220070729A1 (en) Transmitting apparatus and receiving apparatus
CN116795404A (en) Upgrading method and system of server power firmware and WiFi assembly
CN101189851B (en) Method and apparatus for enhanced file distribution in multicast or broadcast
CN104994074B (en) A kind of implementation method of the health examination machine communication server
CN115811351A (en) Voice transmission method, device and system based on Beidou satellite communication
CN111148153A (en) Data packet sending method, receiving method and equipment
KR101509496B1 (en) System for one-way data transmission and reception
CN113518087A (en) IOT protocol reverse docking method and device
WO2024138394A1 (en) Data transmission method and related apparatus
US7212532B1 (en) Message re-sending protocol for a wireless communications 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