CN111614487A - Device upgrading system, method, electronic device and storage medium - Google Patents

Device upgrading system, method, electronic device and storage medium Download PDF

Info

Publication number
CN111614487A
CN111614487A CN202010299655.9A CN202010299655A CN111614487A CN 111614487 A CN111614487 A CN 111614487A CN 202010299655 A CN202010299655 A CN 202010299655A CN 111614487 A CN111614487 A CN 111614487A
Authority
CN
China
Prior art keywords
module
equipment
firmware
upgrading
upper computer
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
CN202010299655.9A
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.)
Huizhou Chuangrongfa Industrial Co ltd
Original Assignee
Huizhou Chuangrongfa Industrial 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 Huizhou Chuangrongfa Industrial Co ltd filed Critical Huizhou Chuangrongfa Industrial Co ltd
Priority to CN202010299655.9A priority Critical patent/CN111614487A/en
Publication of CN111614487A publication Critical patent/CN111614487A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an equipment upgrading system, an equipment upgrading method, electronic equipment and a storage medium, which are widely applied to the technical field of equipment, wherein a local area network is generated in the equipment upgrading system through a routing module and is used for connecting an upper computer module and an equipment module; the upper computer module sends an upgrading instruction to the equipment module through the local area network; the equipment module comprises one or more WiFi equipment, is connected with the upper computer module through the local area network and receives the upgrading instruction to upgrade the firmware, so that the plurality of equipment are not required to be upgraded in a disassembling and recombining mode, manpower and material resources are saved, time is saved, and the method is simple and rapid.

Description

Device upgrading system, method, electronic device and storage medium
Technical Field
The present invention relates to the field of device technologies, and in particular, to a device upgrade system, method, electronic device, and storage medium.
Background
With the development of internet technology, the iteration speed of software updating is faster and faster, and firmware updating is more and more frequent, so when old equipment needs to be updated and upgraded, the traditional updating method needs to disassemble the equipment to upgrade the firmware, and the shell is assembled back after the upgrading is finished, but the firmware updating method wastes manpower and material resources and consumes time.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the equipment upgrading system provided by the invention can be used for upgrading the firmware without disassembling a plurality of pieces of equipment, so that the time and the manpower and material resources are saved, and the equipment upgrading system is simple and quick.
The invention also provides an equipment upgrading method corresponding to the equipment upgrading system.
The invention also provides an equipment upgrading method corresponding to the equipment upgrading system.
The invention also provides an electronic device corresponding to the device upgrading method.
The invention also provides a computer readable storage medium corresponding to the equipment upgrading method.
In a first aspect, the technical solution adopted by the present invention is an equipment upgrading system, including: the routing module is used for generating a local area network;
the upper computer module is used for sending an upgrading instruction through the local area network;
and the equipment module comprises one or more WiFi equipment, and the upper computer module is connected with the local area network and receives the upgrading instruction to upgrade the firmware.
Further, the WiFi equipment comprises a connecting module, and the WiFi equipment is connected with the routing module through the preset identification and the preset password of the connecting module.
Further, the upper computer module comprises a query module, and the query module is used for sending a query instruction to the equipment module and acquiring the equipment information of the equipment module for display.
Further, the upper computer module comprises a notification module, and the notification module is used for sending a notification instruction to notify the equipment module to enter an upgrading mode for firmware upgrading and acquiring a confirmation instruction of the equipment module.
Further, the upper computer module comprises a server module, and the server module comprises upgrade firmware;
and the server module receives and responds to the firmware downloading request of the equipment module and transmits the upgrading firmware to the equipment module for firmware upgrading.
Further, the WiFi device includes a FLASH memory chip, and the FLASH memory chip includes a boot partition, a first program partition, and a second program partition;
the boot partition is used for selecting the first program partition or the second program partition to carry out firmware upgrading.
In a second aspect, an adopted technical solution of the present invention is an apparatus upgrading method applied to an apparatus module in the apparatus upgrading system mentioned in the first aspect, including:
connecting the local area network generated by the routing module;
receiving a query instruction of the upper computer module and returning response information, wherein the response information is used for the upper computer module to acquire and display equipment information of the equipment module;
receiving a notification instruction of the upper computer module and returning a confirmation instruction;
and sending a firmware downloading request to the upper computer module, and receiving the upgrading firmware transmitted by the upper computer module to upgrade the firmware.
In a third aspect, a technical solution adopted by the present invention is an apparatus upgrading method, applied to an upper computer module in the apparatus upgrading system mentioned in the first aspect, including: connecting the local area network generated by the routing module;
sending a query instruction to an equipment module, acquiring response information of the equipment module, and displaying the equipment information of the equipment module according to the response information;
sending a notification instruction to the equipment module and acquiring a confirmation instruction of the equipment module;
and returning the firmware to be upgraded to the equipment module according to the firmware downloading request of the equipment module to upgrade the firmware.
In a fourth aspect, an adopted technical solution of the present invention is an electronic device, including: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the device upgrade method of the second aspect or the device upgrade method of the third aspect.
In a fifth aspect, an adopted technical solution of the present invention is a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are used to enable a computer to execute the device upgrading method according to the second aspect or the device upgrading method according to the third aspect.
The invention has the beneficial effects that:
the invention provides an equipment upgrading system, an equipment upgrading method, electronic equipment and a storage medium, which are widely applied to the technical field of equipment, wherein a local area network is generated in the equipment upgrading system through a routing module and is used for connecting an upper computer module and an equipment module; the upper computer module sends an upgrading instruction to the equipment module through the local area network; the equipment module comprises one or more WiFi equipment, is connected with the upper computer module through the local area network and receives the upgrading instruction to upgrade the firmware, so that the plurality of equipment are not required to be upgraded in a disassembling and recombining mode, manpower and material resources are saved, time is saved, and the method is simple and rapid.
Drawings
FIG. 1 is a block diagram of a first embodiment of an equipment upgrade system in an embodiment of the invention;
FIG. 2 is a block diagram of one embodiment of an equipment module in an equipment upgrade system in accordance with the present invention;
FIG. 3 is a block diagram of a second embodiment of a device upgrade system in an embodiment of the invention;
FIG. 4 is a block diagram of a third embodiment of an equipment upgrade system in an embodiment of the invention;
FIG. 5 is a block diagram of another embodiment of an equipment module of the equipment upgrade system in an embodiment of the present invention;
FIG. 6 is a block diagram of a second embodiment of a device upgrade system in an embodiment of the present invention;
fig. 7 is a flowchart illustrating a first embodiment of a device upgrade method according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating a device upgrade method according to a first specific embodiment of the present invention.
Detailed Description
The concept and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments to fully understand the objects, features and effects of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and those skilled in the art can obtain other embodiments without inventive effort based on the embodiments of the present invention, and all embodiments are within the protection scope of the present invention.
In the description of the present invention, if an orientation description is referred to, for example, the orientations or positional relationships indicated by "upper", "lower", "front", "rear", "left", "right", etc. are based on the orientations or positional relationships shown in the drawings, only for convenience of describing the present invention and simplifying the description, but not for indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention. If a feature is referred to as being "disposed," "secured," "connected," or "mounted" to another feature, it can be directly disposed, secured, or connected to the other feature or indirectly disposed, secured, connected, or mounted to the other feature.
In the description of the embodiments of the present invention, if "a number" is referred to, it means one or more, if "a plurality" is referred to, it means two or more, if "greater than", "less than" or "more than" is referred to, it is understood that the number is not included, and if "greater than", "lower" or "inner" is referred to, it is understood that the number is included. If reference is made to "first" or "second", this should be understood to distinguish between features and not to indicate or imply relative importance or to implicitly indicate the number of indicated features or to implicitly indicate the precedence of the indicated features.
At present, when electronic equipment is produced in mass in factories, a firmware burning step is often needed, and tools involved in firmware burning comprise a jig, a burning tool, a PC (personal computer) end and a burning tool upper computer. The common method for burning the firmware in the factory is to install the jig and the burning tool together or connect the jig and the burning tool through a data line, connect the burning tool with a PC end through the data line, open an upper computer of the burning tool at the PC end, place a finished veneer with the attached element in the jig, select the firmware to be updated at the upper computer of the burning tool, and finally click to burn the firmware.
With the development of internet technology, the iteration speed of software updating is faster and faster, and firmware updating is more and more frequent, so when old equipment needs to be updated and upgraded, the traditional updating method needs to disassemble the equipment to upgrade the firmware, and the shell is assembled back after the upgrading is finished, but the firmware updating method wastes manpower and material resources and consumes time.
Based on this, the embodiment of the invention provides an equipment upgrading system, an equipment upgrading method, electronic equipment and a storage medium, so that multiple pieces of equipment are upgraded without disassembling and reassembling, manpower and material resources are saved, time is saved, and simplicity and rapidness are realized.
In a first aspect, an embodiment of the present invention provides an equipment upgrading system, where a local area network is generated by a routing module, and is used for connecting an upper computer module and an equipment module; the upper computer module sends an upgrading instruction to the equipment module through the local area network; the equipment module comprises one or more WiFi equipment, is connected with the upper computer module through the local area network and receives the upgrading instruction to upgrade the firmware, so that the plurality of equipment are not required to be upgraded in a disassembling and recombining mode, manpower and material resources are saved, time is saved, and the method is simple and rapid.
In some embodiments, as shown in fig. 1, an apparatus upgrading system in an embodiment of the present invention includes: a routing module 1000, a host module 2000, and a device module 3000, wherein the device module 3000 includes one or more WiFi devices 3100.
The routing module 1000 may be a wireless router capable of generating a local area network; the upper computer module 2000 is an upper computer program located on a terminal device such as a computer; the device module 3000 is a plurality of WiFi devices 3100 that require firmware upgrades.
The device upgrade system generates a local area network for firmware upgrade through the routing module 1000, and the upper computer module 2000 and the device module 3000 may be connected to the local area network for upgrade. After the upper computer module 2000 is connected into a local area network, an upgrading instruction is sent to a device module 3000 which needs firmware upgrading in the same local area network, namely a WiFi device 3100, through the local area network; after equipment module 3000 connects and gets into the LAN, receive the upgrading instruction that host computer module 2000 sent through the LAN, and carry out firmware upgrading to wiFi equipment 3100 according to upgrading instruction, and, when local area network is connected simultaneously to a plurality of wiFi equipment 3100, can carry out firmware upgrading to a plurality of wiFi equipment 3100 simultaneously through host computer module 2000, and not only be limited to upgrading single wiFi equipment 3100, thereby the speed and the efficiency of firmware upgrading have been accelerated, and, carry out the method of upgrading in batches through this kind of LAN, manpower and materials have been saved greatly, time has also been saved, and is simple and fast.
In some embodiments, as shown in fig. 2, the WiFi device 3100 includes a connection module 3110, and the connection module 3110 stores a preset identifier and a preset password capable of connecting with the designated routing module 1000. After WiFi equipment 3100 starts, can carry out the identification verification with routing module 1000 through the sign of predetermineeing in advance and predetermine the password, after WiFi equipment 3100 passes through routing module 1000's authentication, then connect the LAN that routing module 1000 generated to carry out WiFi equipment 3100's firmware upgrading, through the sign of predetermineeing of connecting module 3110 and predetermine the password, ensured that WiFi equipment 3100 can the correct connection appointed router, thereby get into corresponding LAN so that carry out firmware upgrading.
In actual application, the preset Identifier may be a network SSID (Service Set Identifier), the preset password may be a network password, that is, the WiFi device 3100 performs identity authentication through a prestored network SSID and network password to connect to a designated router, and different WiFi devices 3100 have different functions and characteristics, and if the WiFi device 3100 is provided with keys, the WiFi device may be connected to the designated router by pressing keys for a long time or by pressing a combination of keys; if the WiFi device 3100 is not provided with a key, the preset SSID can be automatically scanned when the WiFi device 3100 is powered on, and if a specified network SSID is found, the preset SSID is connected with a specified router through the SSID, so that the preset SSID enters a local area network generated by the router to upgrade firmware.
In some embodiments, as shown in fig. 3, the upper computer module 2000 includes an inquiry module 2100, and after the upper computer module 2000 is connected into a local area network, an inquiry command is sent to the device module 3000 located in the same local area network through the inquiry module 2100; when the device module 3000 in the lan receives the query instruction sent by the upper computer module 2000, the response information of the device module 3000 is returned to the upper computer module 2000, the upper computer module 2000 extracts the device information according to the received response information of the device module 3000, and the queried device information of the device module 3000 is displayed on the upper computer module 2000. Through the query module 2100, the device information of the connected device module 3000 is simply and clearly displayed on the upper computer module 2000, and a plurality of WiFi devices 3100 of which the firmware needs to be updated can be freely selected according to the display of the device information, so that the batch upgrading of the WiFi devices 3100 is realized, and the method is simple and rapid.
In a possible implementation example, the upper computer module 2000 is configured to send a query instruction broadcasted by a User Datagram Protocol (UDP) by the upper computer, and when receiving the UDP broadcast query instruction, the WiFi device 3100 located in the same local area network returns response information to the upper computer according to the query instruction, where the response information includes device information of the WiFi device 3100, such as an Internet Protocol (IP) address, a current firmware version, a device type, and the like. And after receiving the response information, the upper computer extracts the equipment information in the response information and displays the inquired WiFi equipment 3100 on a display list of the upper computer. If only one WiFi device 3100 is queried, only device information for a single WiFi device 3100 is displayed; if a plurality of WiFi devices 3100 are queried, device information of the plurality of WiFi devices 3100 are displayed simultaneously.
In some embodiments, the upper computer module 2000 includes a notification module 2200, and when the upper computer module 2000 queries the device module 3000 located in the same lan and receives the response information returned by the device module 3000, and displays the device information of the device module 3000 according to the received response information, the device module 3000 requiring firmware upgrade is selected, and a notification instruction is sent to the device module 3000 through the notification module 2200 to notify the device module 3000 that the firmware upgrade is required. After receiving the notification instruction, the device module 3000 enters an upgrade mode according to the notification instruction, and returns a confirmation instruction to the notification module 2200 of the upper computer module 2000, thereby notifying the upper computer module 2000 that the device module 3000 is ready for upgrade and can be upgraded.
In a possible implementation example, when the upper computer module 2000, that is, the upper computer selects the device module 3000, that is, the WiFi device 3100, which needs to perform firmware upgrade, according to the device information, for example, the device information of 5 WiFi devices 3100, displayed on the query module 2100, which may be one WiFi device 3100 or a plurality of WiFi devices 3100. After the WiFi device 3100 needing firmware upgrading is selected, the upper computer sends a notification instruction in a UDP unicast or UDP broadcast mode, and the notification instruction is sent to the corresponding WiFi device 3100 in a UDP unicast or UDP broadcast mode according to the number of the selected WiFi devices 3100, wherein the notification instruction comprises a firmware upgrading address, a firmware version, a check code and the like, so that the WiFi device 3100 is informed of the need of firmware upgrading. After the WiFi device 3100 receives the notification instruction, the upgrading mode is entered according to the notification instruction, and the firmware version is confirmed, so that whether the firmware is the latest version is determined, and if the firmware needs to be upgraded, a confirmation instruction is returned to the upper computer to inform the upper computer that the WiFi device 3100 is ready for upgrading the firmware.
In some embodiments, as shown in fig. 5, the upper computer module 2000 further includes a server module 2300, and after the device module 3000 sends a confirmation instruction to the upper computer module 2000, a firmware download request based on an HTTP Protocol (hypertext transfer Protocol) is sent to the upper computer module 2000 at the same time, and the server module 2300 of the upper computer module 2000 responds to the received firmware download request and returns the upgraded firmware to the device module 3000 for firmware upgrade.
In practical application, the upper computer module 2000, i.e. the upper computer, places the upgrade firmware in the server module 2300, i.e. the HTTP server, in advance, the device module 3000, i.e. the WiFi device 3100, sends a firmware download request through the HTTP protocol, where the firmware download request is used to send a request to the upper computer for firmware upgrade, and after receiving the firmware download request, the upper computer accesses the HTTP server, requests the upgrade firmware in the HTTP server, and transmits the upgrade firmware to the WiFi device 3100, which needs to perform firmware upgrade, through the HTTP protocol.
In some embodiments, as shown in fig. 2 and 6, the WiFi device 3100 includes a FLASH memory chip 3120, the FLASH memory chip 3120 for hosting program partitions, including a boot partition 3121, a first program partition 3122, and a second program partition 3123. The boot partition 3121 includes boot firmware, and firmware in the first program partition 3122 or the second program partition 3123 is selected as boot firmware by the boot firmware; the first program partition 3122 and the second program partition 3123 store a first program firmware and a second program firmware, respectively, for program running of the WiFi device 3100, and when firmware is upgraded, firmware upgrade is performed on the first program firmware or the second program firmware.
In practical application, if the currently running program of the WiFi device 3100 is the first program firmware, and the WiFi device 3100 performs firmware upgrade, the upgrade firmware is written into the second program partition 3123, so as to upgrade the second program firmware, when the firmware upgrade is completed, the WiFi device 3100 is restarted, the second program firmware of the second program partition 3123 is selected as the boot firmware by the boot partition 3121, and correspondingly, the first program firmware is upgraded in background after the WiFi device is successfully booted; if the currently running program of the WiFi device 3100 is the second program firmware, and the WiFi device 3100 performs firmware upgrade, the upgrade firmware is written into the first program partition 3122, so as to upgrade the first program firmware, and when the firmware upgrade is completed, the WiFi device 3100 is restarted, the first program firmware of the first program partition is selected as the boot firmware by the boot partition 3121, and correspondingly, the second program firmware is upgraded in background after the WiFi device is successfully booted. The method can prevent the program start of the WiFi device 3100 from being affected even when the upgrading process cannot be completed due to sudden occurrence of an emergency such as a power-off restart in the upgrading process, thereby effectively preventing the problem of device errors caused by the emergency, for example, when the upgrading process of the second program firmware fails to upgrade the second program firmware due to occurrence of an emergency such as a power-off, the upgrading process is continuously data-input, and at this time, redundant upgrade data already occurs in data in the second program firmware, and the second program firmware cannot operate correctly, but because the first program firmware exists, and the WiFi device 3100 still selects the first program firmware as the start firmware, the WiFi device 3100 can still operate normally.
The embodiment of the invention provides an equipment upgrading system, wherein a local area network is generated by a routing module 1000 and is used for connecting an upper computer module 2000 and an equipment module 3000; the upper computer module 2000 sends an upgrade instruction to the equipment module 3000 through the local area network; the device module 3000 includes one or more WiFi devices 3100, and connects and receives an upgrade instruction to perform firmware upgrade through the lan and the upper computer module 2000, thereby realizing that a plurality of devices need not to be upgraded by disassembling and reassembling, saving manpower and material resources, saving time, and being simple and fast.
In a second aspect, an embodiment of the present invention further provides an apparatus upgrading method, which is applied to the apparatus module mentioned in the embodiment of the first aspect, as shown in fig. 7, and includes the following steps:
s2100, connecting the local area network generated by the routing module;
s2200, receiving the query instruction of the upper computer module and returning response information;
s2300, receiving a notification instruction of the upper computer module and returning a confirmation instruction;
s2400, sending a firmware downloading request to the upper computer module;
and S2500, receiving the upgrade firmware transmitted by the upper computer module to upgrade the firmware.
In step S2100, the device module connects to the designated routing module according to the preset identifier and the preset password stored in the connection module, so as to enter a local area network generated by the routing module, and the device module also stores in the local area network an upper computer module for sending an upgrade instruction to the device module to upgrade the firmware.
In step S2200, the device module receives an inquiry command of the upper computer module located in the same lan, and returns response information according to the inquiry command, where the response information includes device information of the WiFi device, such as an IP address, a current firmware version, a device type, and the like, and if the device module includes a plurality of WiFi devices, the response information also includes device information of the plurality of WiFi devices. The upper computer module can acquire and display the inquired equipment information of the WiFi equipment of the equipment module according to the received read response information so as to select the WiFi equipment needing to be upgraded.
In step S2300, the device module receives a notification instruction sent by the upper computer, where the notification instruction is used to notify the device module that the corresponding firmware needs to be upgraded, and the device module enters an upgrade mode according to the received notification instruction, and returns a confirmation instruction to the upper computer module to notify the upper computer module that the device module is ready for upgrade, so as to upgrade the firmware.
In step S2400, after the device module enters the upgrade mode, the device module sends a firmware download request to the upper computer module according to the HTTP protocol, and after receiving the firmware download request, the upper computer module accesses the upgrade firmware pre-stored in the server module, for example, the upgrade firmware of the latest version pre-stored in the HTTP server, transmits the upgrade firmware to the device module according to the HTTP protocol, and the device module upgrades the device firmware according to the received upgrade firmware, thereby completing firmware upgrade.
The embodiment of the invention provides an equipment upgrading method, wherein an equipment module receives a query instruction of an upper computer module and range response information to the upper computer through a local area network generated by connecting a routing module, then continues to receive a notification instruction of the upper computer module, enters an upgrading mode according to the notification instruction and returns a confirmation instruction to the upper computer module. After the equipment module enters the upgrading mode, a firmware downloading request can be sent to the upper computer module, the upper computer module can access the server module according to the firmware downloading request, prestored upgrading firmware is transmitted to the equipment module, the firmware upgrading of the equipment module is completed, the upgrading of a plurality of devices is achieved without disassembling and recombining, manpower and material resources are saved, time is saved, and the method is simple and fast.
In a third aspect, an embodiment of the present invention provides an apparatus upgrading method, which is applied to the upper computer module mentioned in the embodiment of the first aspect, and as shown in fig. 8, the method includes the following steps:
s3100, connecting the local area network generated by the routing module;
s3200, sending a query instruction to an equipment module and acquiring response information of the equipment module to display equipment information;
s3300, sending a notification instruction to the equipment module and acquiring a confirmation instruction of the equipment module;
and S3400, receiving a firmware downloading request and transmitting the upgrading firmware to the equipment module for firmware upgrading.
In step S3100, the upper computer module is connected to a local area network generated by the routing module, the local area network further includes one or more WiFi devices in the device module, and the upper computer module can send an upgrade instruction to the device module through the local area network, thereby implementing firmware upgrade on the WiFi devices in the device module.
In step S3200, the upper computer module sends an inquiry instruction to the device modules located in the same lan in a UDP unicast or UDP broadcast manner, the device modules return response information to the upper computer module after receiving the inquiry instruction, and the upper computer module displays the device information of each WiFi device according to the device information read from the response information after receiving the response information, and can select a WiFi device whose firmware needs to be upgraded according to the device information.
In step S3300, after the device information of the device module is displayed on the upper computer module, a WiFi device that needs to perform firmware upgrade may be selected, and a notification instruction is sent to the device module, and after receiving the notification instruction, the WiFi device in the device module enters an upgrade mode, and returns a confirmation instruction to the upper computer module, and notifies the upper computer module that firmware upgrade preparation is made.
In step S3400, after entering the upgrade mode, the device module sends a firmware download request to the upper computer module in the HTTP protocol for firmware upgrade, and after receiving the firmware download request, the upper computer module accesses the upgrade firmware prestored in the HTTP server and transmits the upgrade firmware to the device module in the HTTP protocol for firmware upgrade, thereby completing firmware upgrade of the device module.
The embodiment of the invention provides a device upgrading method, wherein an upper computer module sends an inquiry instruction to a device module positioned in the same local area network through a local area network generated by connecting a routing module, acquires response information of the device module to display device information, sends a notification instruction according to a device which needs to be upgraded with firmware and acquires a confirmation instruction of the device module, finally receives a firmware downloading request of the device module, transmits the upgraded firmware to the device module to upgrade the firmware, finishes the firmware upgrading of the device, realizes that a plurality of devices are upgraded without disassembling and recombining, saves manpower and material resources, saves time, and is simple and fast.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, including: at least one processor, and a memory communicatively coupled to the at least one processor;
wherein the processor is configured to execute a device upgrade method mentioned in the second aspect embodiment or a device upgrade method mentioned in the third aspect embodiment by calling a computer program stored in the memory.
The memory, as a non-transitory computer readable storage medium, may be used to store a non-transitory software program and a non-transitory computer executable program, such as a device upgrade method as mentioned in the second aspect of the embodiments of the present invention or a device upgrade method as mentioned in the third aspect of the embodiments of the present invention. The processor implements a device upgrade method as mentioned in the second aspect embodiment above or a device upgrade method as mentioned in the third aspect embodiment above by running a non-transitory software program and instructions stored in the memory.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data for performing a device upgrade method mentioned in the second aspect of the embodiments or a device upgrade method mentioned in the third aspect of the embodiments. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the terminal over 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 non-transitory software programs and instructions required to implement a device upgrade method mentioned in the second aspect embodiment or a device upgrade method mentioned in the third aspect embodiment described above are stored in a memory and, when executed by one or more processors, perform a device upgrade method mentioned in the second aspect embodiment or a device upgrade method mentioned in the third aspect embodiment described above.
In a fifth aspect, embodiments of the present application further provide a computer-readable storage medium storing computer-executable instructions for: an apparatus upgrade method mentioned in an embodiment of a second aspect or an apparatus upgrade method mentioned in an embodiment of a third aspect;
in some embodiments, the computer-readable storage medium stores computer-executable instructions, which are executed by one or more control processors, for example, by one of the electronic devices of the fourth aspect, and which cause the one or more processors to perform a device upgrade method mentioned in the second aspect or a device upgrade method mentioned in the third aspect.
The above described embodiments of the device are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

Claims (10)

1. An equipment upgrade system, comprising:
the routing module is used for generating a local area network;
the upper computer module is used for sending an upgrading instruction through the local area network;
and the equipment module comprises one or more WiFi equipment, and the upper computer module is connected with the local area network and receives the upgrading instruction to upgrade the firmware.
2. The device upgrade system according to claim 1, wherein the WiFi device includes a connection module, and the WiFi device connects to the routing module through a preset identifier and a preset password of the connection module.
3. The equipment upgrading system of claim 1, wherein the upper computer module comprises an inquiry module, and the inquiry module is configured to send an inquiry instruction to the equipment module and obtain equipment information of the equipment module for display.
4. The equipment upgrading system of claim 3, wherein the upper computer module comprises a notification module, and the notification module is configured to send a notification instruction to notify the equipment module to enter an upgrading mode for firmware upgrading and to obtain a confirmation instruction of the equipment module.
5. The device upgrade system according to claim 4, wherein the upper computer module comprises a server module, the server module comprising upgrade firmware;
and the server module receives and responds to the firmware downloading request of the equipment module and transmits the upgrading firmware to the equipment module for firmware upgrading.
6. The device upgrade system according to claim 1, wherein the WiFi device comprises a FLASH memory chip, the FLASH memory chip comprising a boot partition, a first program partition, and a second program partition;
the boot partition is used for selecting the first program partition or the second program partition to carry out firmware upgrading.
7. An equipment upgrading method applied to an equipment module in an equipment upgrading system according to any one of claims 1 to 6, comprising:
connecting the local area network generated by the routing module;
receiving a query instruction of the upper computer module and returning response information, wherein the response information is used for the upper computer module to acquire and display equipment information of the equipment module;
receiving a notification instruction of the upper computer module and returning a confirmation instruction;
and sending a firmware downloading request to the upper computer module, and receiving the upgrading firmware transmitted by the upper computer module to upgrade the firmware.
8. An equipment upgrading method applied to the upper computer module in the equipment upgrading system of any one of claims 1 to 6, comprising the following steps:
connecting the local area network generated by the routing module;
sending a query instruction to an equipment module, acquiring response information of the equipment module, and displaying the equipment information of the equipment module according to the response information;
sending a notification instruction to the equipment module and acquiring a confirmation instruction of the equipment module;
and returning the firmware to be upgraded to the equipment module according to the firmware downloading request of the equipment module to upgrade the firmware.
9. An electronic device, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the device upgrade method of claim 7 or the device upgrade method of claim 8.
10. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the device upgrade method of claim 7 or the device upgrade method of claim 8.
CN202010299655.9A 2020-04-16 2020-04-16 Device upgrading system, method, electronic device and storage medium Pending CN111614487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010299655.9A CN111614487A (en) 2020-04-16 2020-04-16 Device upgrading system, method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010299655.9A CN111614487A (en) 2020-04-16 2020-04-16 Device upgrading system, method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN111614487A true CN111614487A (en) 2020-09-01

Family

ID=72204629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010299655.9A Pending CN111614487A (en) 2020-04-16 2020-04-16 Device upgrading system, method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111614487A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113692065A (en) * 2021-07-26 2021-11-23 东莞新能安科技有限公司 Firmware upgrading method and battery management system
CN114449554A (en) * 2022-01-28 2022-05-06 深圳Tcl新技术有限公司 Equipment upgrading method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289397A (en) * 2011-09-13 2011-12-21 全星科技(珠海)有限公司 Method and device for automatically restoring embedded system of set top box
CN104991806A (en) * 2015-08-06 2015-10-21 广州唯控电子科技有限公司 Remote firmware upgrading system and method for single-chip microcomputer program
CN106303717A (en) * 2016-11-08 2017-01-04 深圳创维数字技术有限公司 Set Top Box WiFi module upgrade method, device, Set Top Box and system
US9582233B1 (en) * 2015-09-29 2017-02-28 Kyocera Document Solutions Inc. Systems and methods for registering, configuring, and troubleshooting printing devices
CN107967141A (en) * 2017-11-27 2018-04-27 北京小米移动软件有限公司 Operating system update method, apparatus and terminal
CN108023765A (en) * 2017-11-03 2018-05-11 珠海格力电器股份有限公司 Device firmware upgrade method, apparatus and storage medium
CN108427570A (en) * 2018-03-06 2018-08-21 珠海格力电器股份有限公司 A kind of intelligent appliance primary control program upgrade-system and upgrade method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289397A (en) * 2011-09-13 2011-12-21 全星科技(珠海)有限公司 Method and device for automatically restoring embedded system of set top box
CN104991806A (en) * 2015-08-06 2015-10-21 广州唯控电子科技有限公司 Remote firmware upgrading system and method for single-chip microcomputer program
US9582233B1 (en) * 2015-09-29 2017-02-28 Kyocera Document Solutions Inc. Systems and methods for registering, configuring, and troubleshooting printing devices
CN106303717A (en) * 2016-11-08 2017-01-04 深圳创维数字技术有限公司 Set Top Box WiFi module upgrade method, device, Set Top Box and system
CN108023765A (en) * 2017-11-03 2018-05-11 珠海格力电器股份有限公司 Device firmware upgrade method, apparatus and storage medium
CN107967141A (en) * 2017-11-27 2018-04-27 北京小米移动软件有限公司 Operating system update method, apparatus and terminal
CN108427570A (en) * 2018-03-06 2018-08-21 珠海格力电器股份有限公司 A kind of intelligent appliance primary control program upgrade-system and upgrade method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113692065A (en) * 2021-07-26 2021-11-23 东莞新能安科技有限公司 Firmware upgrading method and battery management system
CN114449554A (en) * 2022-01-28 2022-05-06 深圳Tcl新技术有限公司 Equipment upgrading method, device, equipment and storage medium
CN114449554B (en) * 2022-01-28 2024-01-19 深圳Tcl新技术有限公司 Equipment upgrading method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11843578B2 (en) eSIM-based card pool system and control method thereof
CN113133086B (en) Intelligent device network distribution method and device, electronic device and storage medium
EP3975503A1 (en) Esim card replacement method and related device
CN106851628B (en) Method and device for downloading files of operator
EP3446502B1 (en) Method, servers and system for downloading an updated profile
CN111083765A (en) Method for managing intelligent equipment, intelligent router and intelligent home system
KR101743195B1 (en) Method and apparatus for providing information, program and recording medium
RU2673845C2 (en) Method and server for profile management
JP6359652B2 (en) Information transmission method, apparatus and device
EP3610626B1 (en) Methods for automatic bootstrapping of a device
CN111614487A (en) Device upgrading system, method, electronic device and storage medium
CN102113297B (en) The configuration of communication equipment
CN112187531A (en) Module upgrading method and system, storage medium and electronic device
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
CN112637221B (en) Equipment control method and device
CN111726367B (en) Method, device, system and equipment for binding access of Customer Premises Equipment (CPE)
CN106028326B (en) WiFi configuration method and device of smart watch
CN116546467A (en) Access control method and system of vehicle-mounted equipment, storage medium and electronic device
CN114466322B (en) Communication method, system, device, storage medium and processor
CN111737678B (en) Binding method and device of target equipment, storage medium and electronic device
CN110851161B (en) Firmware updating method for intelligent household equipment
JP2002312200A (en) Method of informing error occurring during execution of program in electronic terminal
WO2019163815A1 (en) Communication control device, communication setting method, communication setting program, and communication system
JP6716726B2 (en) Method and apparatus for applications to receive information
JP2019154071A (en) Communication control device and communication setting method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200901