CN112052019A - Module burning authorization tracking system, module burning method and device - Google Patents

Module burning authorization tracking system, module burning method and device Download PDF

Info

Publication number
CN112052019A
CN112052019A CN202010956376.5A CN202010956376A CN112052019A CN 112052019 A CN112052019 A CN 112052019A CN 202010956376 A CN202010956376 A CN 202010956376A CN 112052019 A CN112052019 A CN 112052019A
Authority
CN
China
Prior art keywords
burning
information
module
cloud server
request message
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.)
Granted
Application number
CN202010956376.5A
Other languages
Chinese (zh)
Other versions
CN112052019B (en
Inventor
丁智伟
周明德
赖剑明
曾令江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Mxchip Information Technology Co Ltd
Original Assignee
Shanghai Mxchip Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mxchip Information Technology Co Ltd filed Critical Shanghai Mxchip Information Technology Co Ltd
Priority to CN202010956376.5A priority Critical patent/CN112052019B/en
Publication of CN112052019A publication Critical patent/CN112052019A/en
Application granted granted Critical
Publication of CN112052019B publication Critical patent/CN112052019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • 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/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention discloses a module burning authorization tracking system, a module burning method and a module burning device. The system comprises: the system comprises a cloud server, edge end equipment and control end equipment; the cloud server is used for managing the production burning information of the modules in a centralized manner and issuing the production burning information to the edge terminal equipment, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; the edge terminal equipment is used for receiving the production burning information from the cloud server, temporarily managing the production burning information and issuing the production burning information to the control terminal equipment; and the control end equipment is used for receiving the production burning information from the edge end equipment and burning the production burning information to the module. The invention solves the technical problem that the BAT in the related technology only supports firmware upgrading and identity code burning in the local area network in the actual use process.

Description

Module burning authorization tracking system, module burning method and device
Technical Field
The invention relates to the field of computers, in particular to a module burning authorization tracking system, a module burning method and a module burning device.
Background
At present, the research and development and design work of the internet of things module are generally completed by an internet of things chip research and development enterprise, and the production and processing are completed by an internet of things module processor. When an internet of things chip research and development enterprise submits an order to an internet of things module processing company, the internet of things chip research and development enterprise needs to send an identity code or an Identification (ID) of the internet of things module to the internet of things module processing company through communication modes such as mails and the like.
In the related art, a Burning Authorization Tracking System (BAT for short) provided for an internet of things module can not only complete functions of firmware Burning, key identity Authorization and the like, but also support internet of things equipment to realize traceability and efficient management. However, the BAT generally only supports firmware upgrade and id burning in the local lan during actual use.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least some embodiments of the present invention provide a system, a method and a device for module burning authorization tracking, so as to solve at least the technical problem in the related art that BAT generally only supports firmware upgrade and identity code burning in a local lan during the actual use process.
According to an embodiment of the present invention, a system for tracking module burning authorization is provided, which includes: the system comprises a cloud server, edge end equipment and control end equipment; the cloud server is used for managing the production burning information of the modules in a centralized manner and issuing the production burning information to the edge terminal equipment, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; the edge terminal equipment is in wide area network communication interaction with the cloud server and is used for receiving the production burning information from the cloud server, temporarily managing the production burning information and issuing the production burning information to the control terminal equipment; and the control end equipment is communicated and interacted with the edge end equipment through the local area network, and is used for receiving the production burning information from the edge end equipment and burning the production burning information to the module.
Optionally, the initial format of the identification code is a character string format, the target format obtained after the editing processing is a binary format, and the format of the firmware file corresponding to the firmware information is a binary format.
Optionally, the cloud server is further configured to obtain serial number rules of different public cloud platforms, where the serial number rules are used to compile identification codes; and carrying out standardized compatible processing on the serial number rule to obtain the identification code.
According to an embodiment of the present invention, there is also provided a method for module burning, which is applied to a system for tracking module burning authorization, the system including: the method comprises the following steps of:
the edge terminal equipment acquires production burning information from the cloud server, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; the edge terminal equipment sends the production burning information to the control terminal equipment so as to instruct the control terminal equipment to burn the production burning information into the module.
Optionally, the method further includes: the method comprises the steps that edge-end equipment sends a first request message to a cloud server, wherein the first request message is used for requesting the cloud server to issue a burning task, the burning task is established by the cloud server based on production burning information, and the burning task comprises the following steps: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules; and the edge terminal equipment receives a burning task returned by the cloud server in response to the first request message.
Optionally, the obtaining, by the edge device, the production burning information from the cloud server includes: the edge terminal equipment sends a second request message to the cloud server, wherein the second request message is used for requesting the cloud server for the identity identification code matched with the type information; the edge terminal equipment receives a burning number file returned by the cloud server in response to the second request message, wherein the burning number file comprises: the identity identification code is matched with the type information; the edge terminal equipment sends a third request message to the cloud server, wherein the third request message is used for requesting a firmware file corresponding to the firmware downloading address from the cloud server; and the edge terminal equipment receives the firmware file returned by the cloud server in response to the third request message.
Optionally, the method further includes: after the edge terminal equipment successfully downloads the burning task, setting the current state of the burning task to be an inactivated state; and the edge terminal equipment receives a local activation request and updates the current state of the burning task from the inactive state to the active state.
Optionally, the method further includes: the edge terminal equipment receives a fourth request message from the control terminal equipment, wherein the fourth request message is used for acquiring the burning task in an activated state from the edge terminal equipment; and the edge terminal equipment responds to the fourth request message and sends a burning task to the control terminal equipment.
Optionally, the issuing, by the edge device, the production burning information to the control end device includes: the edge terminal equipment receives a fifth request message from the control terminal equipment, wherein the fifth request message is used for requesting the identity identification code matched with the type information from the edge terminal equipment; the edge terminal equipment responds to the fifth request message and issues the burning number file to the control terminal equipment, wherein the burning number file comprises: the identity identification code is matched with the type information; the edge terminal equipment receives a sixth request message from the control terminal equipment, wherein the sixth request message is used for requesting a firmware file corresponding to the firmware download address from the edge terminal equipment; and the edge terminal equipment responds to the sixth request message and issues the firmware file to the control terminal equipment.
Optionally, the method further includes: the method comprises the steps that edge end equipment receives a first notification message from control end equipment, wherein the first notification message is used for notifying a cloud server of a burning result of a module; the edge terminal equipment sends the burning result to a cloud server based on the first notification message; the edge terminal equipment receives a second notification message from the cloud server, wherein the second notification message is used for notifying the edge terminal equipment that the burning result is successfully recorded on the cloud server; and the edge terminal equipment updates the current state of the burning task from the activated state to a finished state based on the second notification message, wherein the finished state is used for determining that the module finishes burning.
According to an embodiment of the present invention, there is also provided a module burning apparatus, which is applied to a module burning authorization tracking system, the system including: cloud server, edge end equipment and control end equipment, the device includes:
the acquisition module is used for acquiring production burning information from the cloud server, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; and the processing module is used for issuing the production burning information to the control end equipment so as to instruct the control end equipment to burn the production burning information to the module.
Optionally, the apparatus further comprises: the first sending module is used for sending a first request message to the cloud server, wherein the first request message is used for requesting the cloud server to issue a burning task, the burning task is created by the cloud server based on production burning information, and the burning task comprises: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules; and the first receiving module is used for receiving the burning task returned by the cloud server in response to the first request message.
Optionally, the obtaining module is configured to send a second request message to the cloud server by the edge device, where the second request message is used to request the cloud server for the identity identifier adapted to the type information; receiving a burning number file returned by the cloud server in response to the second request message, wherein the burning number file comprises: the identity identification code is matched with the type information; sending a third request message to the cloud server, wherein the third request message is used for requesting a firmware file corresponding to the firmware download address from the cloud server; and receiving the firmware file returned by the cloud server in response to the third request message.
Optionally, the apparatus further comprises: the setting module is used for setting the current state of the burning task to be an inactivated state after the burning task is downloaded successfully; and the updating module is used for receiving a local activation request and updating the current state of the burning task from the inactive state to the active state.
Optionally, the apparatus further comprises: the second receiving module is used for receiving a fourth request message from the control end equipment, wherein the fourth request message is used for acquiring the burning task in the activated state from the edge end equipment; and the second sending module is used for responding to the fourth request message and sending the burning task to the control terminal equipment.
Optionally, the processing module is configured to receive a fifth request message from the control-side device, where the fifth request message is used to request, from the edge-side device, an identity identifier adapted to the type information; responding to the fifth request message, and issuing the recording number file to the control terminal equipment, wherein the recording number file comprises: the identity identification code is matched with the type information; receiving a sixth request message from the control end device, wherein the sixth request message is used for requesting a firmware file corresponding to the firmware download address from the edge end device; and responding to the sixth request message, and issuing the firmware file to the control end equipment.
Optionally, the apparatus further comprises: the fifth receiving module is used for receiving a first notification message from the control end device, wherein the first notification message is used for notifying the cloud server of the burning result of the module; the fifth sending module is used for sending the burning result to the cloud server based on the first notification message; a sixth receiving module, configured to receive a second notification message from the cloud server, where the second notification message is used to notify the edge device that the burning result has been successfully recorded on the cloud server; and the updating module is also used for updating the current state of the burning task from the activated state to a finished state based on the second notification message, wherein the finished state is used for determining that the module finishes burning.
According to an embodiment of the present invention, a non-volatile storage medium is further provided, in which a computer program is stored, where the computer program is configured to execute the module burning method in any one of the above methods when the computer program runs.
According to an embodiment of the present invention, there is further provided a processor, where the processor is configured to run a program, and the program is configured to execute the module burning method in any one of the above embodiments when running.
According to an embodiment of the present invention, there is further provided an electronic apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to execute the module burning method in any of the above embodiments.
In at least some embodiments of the invention, a cloud server is adopted to centrally manage production burning information of a module and issue the production burning information to edge-end equipment, the production burning information comprises an identity identification code of the module and firmware information of the module, the identity identification code is matched with identification information of a public cloud platform, the firmware information is matched with the identification information of intelligent equipment, the production burning information from the cloud server is received by the edge-end equipment, the production burning information is temporarily managed and issued to control-end equipment, the control-end equipment receives the production burning information from the edge-end equipment and burns the production burning information to the module, the purpose of uniformly controlling firmware upgrading and identity burning at a cloud end is achieved, the technical effects of clear division of labor between all levels of equipment, improvement of production efficiency and reduction of operation complexity of firmware upgrading and identity burning are achieved, and further, the technical problem that the BAT only supports firmware upgrading and identity code burning in a local area network in the actual use process in the related technology is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a module burning authorization tracking system according to an embodiment of the invention;
FIG. 2 is a flowchart illustrating a method for burning a module according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another method for burning modules according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another method for burning modules according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for burning modules according to another embodiment of the present invention;
FIG. 6 is a flowchart of a burn task creation method according to one embodiment of the invention;
FIG. 7 is a flowchart illustrating a method for adjusting burning information of a module according to an embodiment of the present invention;
FIG. 8 is a block diagram of a module burning apparatus according to an embodiment of the present invention;
FIG. 9 is a block diagram of a module burning apparatus according to an alternative embodiment of the present invention;
FIG. 10 is a block diagram of another apparatus for burning modules according to an embodiment of the present invention;
FIG. 11 is a block diagram of another apparatus for burning modules according to an alternative embodiment of the present invention;
FIG. 12 is a block diagram of another embodiment of a device for burning modules;
FIG. 13 is a block diagram of another apparatus for burning modules according to an alternative embodiment of the present invention;
FIG. 14 is a block diagram illustrating a structure of another apparatus for burning modules according to an embodiment of the present invention;
FIG. 15 is a block diagram of a burn task creation apparatus according to an embodiment of the invention;
FIG. 16 is a block diagram of a burn task creation apparatus in accordance with an alternative embodiment of the present invention;
FIG. 17 is a block diagram illustrating an apparatus for adjusting recording information of a module according to an embodiment of the present invention;
FIG. 18 is a block diagram of a device for adjusting burning information of a module according to an alternative embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The chip research and development enterprises of the internet of things generally want to apply the chip of the internet of things to more intelligent devices and sales platforms. On the one hand, thing networking chip research and development enterprise can assist air purifier, cosmetic electrical apparatus or other household electrical appliances manufacturers to customize thing networking module to every intelligent equipment all has unique product ID. On the other hand, because different sales platforms (for example, sales platforms such as sales platform a, sales platform B, and sales platform C) set serial number rules meeting the requirements of the corresponding platforms for the internet of things chip and the internet of things module, an internet of things chip research and development enterprise needs to respectively set different IDs of the internet of things module for different sales platforms to meet the serial number rules. Therefore, the Internet of things chip research and development enterprise directly uploads the Internet of things module ID which accords with the serial number rule formulated by the specific sales platform to the Internet of things module processing management platform in the enterprise, and sends the Internet of things module ID to each production line of an Internet of things module processing manufacturer through the cloud server, so that the Internet of things module can be conveniently produced in a large scale and in a standardized manner.
According to an embodiment of the present invention, an embodiment of a system for tracking module burning authorization is provided. Fig. 1 is a schematic structural diagram of a module burning authorization tracking system according to an embodiment of the invention, as shown in fig. 1, the module burning authorization tracking system includes: the system comprises a cloud server 1, edge end equipment 2 and control end equipment 3; the cloud server 1 is used for managing the production burning information of the modules in a centralized manner and issuing the production burning information to the edge terminal equipment, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; the edge terminal device 2 is in wide area network communication interaction with the cloud server, and is used for receiving the production burning information from the cloud server, temporarily managing the production burning information and issuing the production burning information to the control terminal device; and the control end equipment 3 is communicated and interacted with the edge end equipment through the local area network, and is used for receiving the production burning information from the edge end equipment and burning the production burning information into the module.
The cloud server 1 may include one or more processors (the processors may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the cloud server may further include a transmission device, an input/output device, and a display device for a communication function. It will be understood by those of ordinary skill in the art that the foregoing structural description is merely illustrative and is not intended to limit the structure of the cloud server. For example, the cloud server may also include more or fewer components than the structural description above, or have a different configuration than the structural description above.
The memory can be used for storing computer programs, such as software programs and modules of application software, for example, the computer programs corresponding to the module burning method, the burning task creating method and the module burning information adjusting method in the embodiment of the invention, and the processor executes various functional applications and data processing by running the computer programs stored in the memory, so that the module burning method, the burning task creating method and the module burning information adjusting method are realized. The memory 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 may further include memory remotely located from the processor, and these remote memories may be connected to a cloud server 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 transmission device is used to receive or transmit data via a network. The specific example of the network described above may include a wireless network provided by a communication provider of the cloud server. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the cloud server. In some embodiments, the cloud server has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
The edge end device 2 may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the edge device may further include a transmission device for a communication function, an input/output device, and a display device. It will be understood by those skilled in the art that the above structural description is illustrative only and is not intended to limit the structure of the edge termination device. For example, the edge termination device may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be used to store computer programs, such as software programs and modules of application software, for example, the computer programs corresponding to the module burning method in the embodiments of the present invention, and the processor executes various functional applications and data processing by running the computer programs stored in the memory, that is, the above-described module burning method is implemented. The memory 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 may further include memory remotely located from the processor, and these remote memories may be connected to the edge end device through 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 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 edge device. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the edge-end device. In some embodiments, the edge device has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on the touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
The control-side device 3 may include one or more processors (the processors may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the control-end device may further include a transmission device for a communication function, an input/output device, and a display device. It will be understood by those skilled in the art that the above structural description is only illustrative, and does not limit the structure of the control end device. For example, the control-side device may also include more or fewer components than those described above, or have a different configuration than those described above.
The memory may be used to store computer programs, such as software programs and modules of application software, for example, the computer programs corresponding to the module burning method in the embodiments of the present invention, and the processor executes various functional applications and data processing by running the computer programs stored in the memory, that is, the above-described module burning method is implemented. The memory 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 may further include memory remotely located from the processor, and these remote memories may be connected to the control-side device through 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 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 control-end device. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the control-side device. In some embodiments, the control-side device has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on the touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
Optionally, the initial format of the identification code is a character string format, the target format obtained after the editing processing is a binary format, and the format of the firmware file corresponding to the firmware information is a binary format.
The production burning information generally includes an identification code of the module and firmware information of the module. The identity identification code of the module and the firmware information of the module need to be matched with each other, so that production accidents such as wrong burning and missing burning are avoided. The identification code is an identification of a cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C) which is accessed to the mainstream of the market, the initial format of the identification code is a character string format, and the target format obtained after editing is a binary format (i.e., a BIN format). The format of the firmware file corresponding to the firmware information is a binary format (i.e., BIN format). The burning information can be produced to enable household equipment such as televisions, refrigerators, washing machines, air conditioners, illuminating lamps and the like to be changed from non-intelligent equipment to intelligent equipment.
Optionally, the cloud server is further configured to obtain serial number rules of different public cloud platforms, where the serial number rules are used to compile identification codes; and carrying out standardized compatible processing on the serial number rule to obtain the identification code.
Because different public cloud platforms usually adopt different serial number rules, the cloud server needs to acquire the serial number rules of the different public cloud platforms at first, and then carries out standardized compatible processing on the serial number rules to obtain the identification codes.
In accordance with one embodiment of the present invention, there is provided an embodiment of a method for burning a module, it should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from the order shown.
In this embodiment, a method for burning a module running on the cloud server is provided, and fig. 2 is a flowchart of a method for burning a module according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S20, the cloud server acquires production burning information, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
in step S21, the cloud server issues the production burning information to the control end device via the edge end device to instruct the control end device to burn the production burning information into the module.
Through the steps, the cloud server can be adopted to centrally manage the production burning information of the module and send the production burning information to the edge terminal equipment, the production burning information comprises the identity identification code of the module and the firmware information of the module, the identity identification code is matched with the identification information of the public cloud platform, the firmware information is matched with the identification information of the intelligent equipment, the production burning information from the cloud server is received by the edge terminal equipment, the production burning information is temporarily managed and sent to the control terminal equipment, the control terminal equipment receives the production burning information from the edge terminal equipment and burns the production burning information to the module, the purpose of uniformly controlling firmware upgrading and identity burning at the cloud end is achieved, the technical effects of clear division of labor among all levels of equipment, improvement of production efficiency and reduction of the operation complexity of firmware upgrading and identity burning are achieved, and further, the technical problem that the BAT only supports firmware upgrading and identity code burning in a local area network in the actual use process in the related technology is solved.
The production burning information generally includes an identification code of the module and firmware information of the module. The identity identification code of the module and the firmware information of the module need to be matched with each other, so that production accidents such as wrong burning and missing burning are avoided. The identification code is an identification of a cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C) which is accessed to the mainstream of the market, and needs to be adapted to identification information of a public cloud platform. For example: if the Ali cloud platform is expected to be accessed, the identification code needs to be written according to the serial number rule of the Ali cloud platform, but cannot be written according to the serial number rules of other types of cloud platforms. The format of the firmware file corresponding to the firmware information is a binary format (i.e., BIN format), which needs to be adapted to the identification information (e.g., type, model) of the smart device. For example: if it is desired to burn a firmware file into an air conditioner, it is necessary to ensure that the firmware file is compatible with the air conditioner and not with other types of equipment. For another example: for example: if it is desired to burn a firmware file into a model a of air conditioning equipment, it is necessary to ensure that the firmware file is compatible with the model a of air conditioning equipment and not with other models of air conditioning equipment. The burning information can be produced to enable household equipment such as televisions, refrigerators, washing machines, air conditioners, illuminating lamps and the like to be changed from non-intelligent equipment to intelligent equipment.
Optionally, in step S20, the obtaining, by the cloud server, the identification code in the production burning information may include the following steps:
step S201, a cloud server acquires original data of an identity identification code and a serial number rule of a public cloud platform;
step S202, the cloud server carries out standardized compatibility processing on the serial number rule to obtain a standardized rule;
step S203, the cloud server generates an identification code by adopting the original data and the standardized rule.
The cloud server needs to obtain not only the original data of the identification code (for example, the original character string input by the user), but also the serial number rule of each public cloud platform. And then, the cloud server carries out standardized compatibility processing on the serial number rule to obtain a standardized rule. Namely, the cloud server converts different compiling formats adopted by different cloud platforms for the identification codes into a unified standard format to obtain a standardized rule. And finally, the cloud server generates the identification code by adopting the original data and the standardized rule. Therefore, after the user provides the original data of the identification code and the firmware file and specifies the type of the public cloud platform, the identification code corresponding to the type of the public cloud platform can be generated, and meanwhile, the identification code is matched with the firmware file.
Optionally, the method may further include the following steps:
step S22, the cloud server creates a burning task based on the production burning information, wherein the burning task comprises: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules;
step S23, the cloud server receives a first request message from the edge device, wherein the first request message is used for requesting the cloud server to issue a burning task;
in step S24, the cloud server sends the burning task to the edge device in response to the first request message.
The cloud server may create a burn task based on the production burn information to form a burn task list. Each burn task may include: type information, quantity information, and address information. The type information is the type of the public cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C), the quantity information is the number of modules to be burned (for example, the total number of modules to be burned for a single order), and the address information is a firmware download address of the module (that is, the edge device downloads the firmware download address to obtain a corresponding firmware file). The cloud server can receive a first request message from the edge device, and the edge device requests the cloud server to issue the burning task through the first request message. And the cloud server responds to the first request message and sends the burning task to the edge terminal equipment. Specifically, the cloud server may issue a burning task list to the edge device, where the burning task list may include at least one burning task. And then, the edge terminal equipment sequentially executes each burning task according to the burning task list.
Optionally, in step S21, the issuing, by the cloud server, the production burning information to the control end device via the edge end device may include the following steps:
step S211, the cloud server receives a second request message from the edge device, wherein the second request message is used for requesting the cloud server for the identification code matched with the type information;
in step S212, the cloud server responds to the second request message, and issues the recording number file to the control end device via the edge end device, where the recording number file includes: the identity identification code is matched with the type information;
step S213, the cloud server receives a third request message from the edge device, where the third request message is used to request the cloud server for a firmware file corresponding to the firmware download address;
in step S214, the cloud server responds to the third request message, and issues the firmware file to the control end device via the edge end device.
After the cloud server can issue the burning task list to the edge device, the cloud server can receive a second request message from the edge device, and the edge device requests the cloud server for the identification code matched with the type information through the second request message. And the cloud server responds to the second request message and issues a burning number file to the control end equipment through the edge end equipment, wherein the burning number file comprises an identity identification code matched with the type information. In addition, the cloud server may further receive a third request message from the edge device, and the edge device requests the cloud server for the firmware file corresponding to the firmware download address through the third request message. And the cloud server responds to the third request message and issues the firmware file to the control end equipment through the edge end equipment. That is, the edge device may first obtain the identification code from the cloud server, and then obtain the firmware file adapted to the identification code from the cloud server.
Optionally, the method may further include the following steps:
in step S25, the cloud server updates the current state of the burning task from the unallocated state to the allocated state, where the allocated state is used to control the burning task to be repeatedly allocated.
For the burning tasks issued by the cloud server in the burning task list, in order to avoid repeated allocation of the same burning tasks, after the cloud server issues the burning task list to the edge terminal device, the current state of the burning tasks in the burning task list is updated from an unallocated state to an allocated state, so that the burning tasks in the allocated state are not repeatedly allocated any more.
Optionally, the method may further include the following steps:
step S26, the cloud server receives a notification message from the edge device, wherein the notification message is used for notifying the cloud server of the burning result of the module;
in step S27, the cloud server updates the current state of the burning task from the allocated state to a burned state based on the notification message, wherein the burned state is used for controlling the burning task to be repeatedly burned.
After the edge device acquires the burning task list from the cloud server, the burning tasks in the burning task list are initialized to be in an inactivated state. The edge device may set the recording tasks in the recording task list from an inactive state to an active state. And secondly, the control end equipment acquires the burning task in the activated state from the edge end equipment and obtains the burning result of the module after the burning task is executed. The control end device sends the burning result to the edge end device. And then, the cloud server receives a notification message from the edge terminal equipment, and the edge terminal equipment notifies the cloud server of the burning result of the module through the notification message. Finally, the cloud server updates the current state of the burning task from the allocated state to the burnt state based on the notification message, so that the burning task in the burnt state cannot be repeatedly burnt.
It should be noted that the control end device may execute the burning task in a networked environment or may execute the burning task in a non-networked environment.
In accordance with one embodiment of the present invention, there is provided an embodiment of a method for burning a module, it should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from the order shown.
In this embodiment, a method for burning a module operating in the edge device is provided, and fig. 3 is a flowchart of another method for burning a module according to an embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S300, the edge terminal equipment acquires production burning information from the cloud server, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
in step S301, the edge device issues the production burning information to the control device to instruct the control device to burn the production burning information into the module.
Through the steps, the cloud server can be adopted to centrally manage the production burning information of the module and send the production burning information to the edge terminal equipment, the production burning information comprises the identity identification code of the module and the firmware information of the module, the identity identification code is matched with the identification information of the public cloud platform, the firmware information is matched with the identification information of the intelligent equipment, the production burning information from the cloud server is received by the edge terminal equipment, the production burning information is temporarily managed and sent to the control terminal equipment, the control terminal equipment receives the production burning information from the edge terminal equipment and burns the production burning information to the module, the purpose of uniformly controlling firmware upgrading and identity burning at the cloud end is achieved, the technical effects of clear division of labor among all levels of equipment, improvement of production efficiency and reduction of the operation complexity of firmware upgrading and identity burning are achieved, and further, the technical problem that the BAT only supports firmware upgrading and identity code burning in a local area network in the actual use process in the related technology is solved.
The production burning information generally includes an identification code of the module and firmware information of the module. The identity identification code of the module and the firmware information of the module need to be matched with each other, so that production accidents such as wrong burning and missing burning are avoided. The identification code is an identification of a cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C) which is accessed to the mainstream of the market, and needs to be adapted to identification information of a public cloud platform. For example: if the Ali cloud platform is expected to be accessed, the identification code needs to be written according to the serial number rule of the Ali cloud platform, but cannot be written according to the serial number rules of other types of cloud platforms. The format of the firmware file corresponding to the firmware information is a binary format (i.e., BIN format), which needs to be adapted to the identification information (e.g., type, model) of the smart device. For example: if it is desired to burn a firmware file into an air conditioner, it is necessary to ensure that the firmware file is compatible with the air conditioner and not with other types of equipment. For another example: for example: if it is desired to burn a firmware file into a model a of air conditioning equipment, it is necessary to ensure that the firmware file is compatible with the model a of air conditioning equipment and not with other models of air conditioning equipment. The burning information can be produced to enable household equipment such as televisions, refrigerators, washing machines, air conditioners, illuminating lamps and the like to be changed from non-intelligent equipment to intelligent equipment.
Optionally, the method may further include the following steps:
step S302, the edge terminal equipment sends a first request message to the cloud server, wherein the first request message is used for requesting the cloud server to issue a burning task, the burning task is created by the cloud server based on production burning information, and the burning task comprises: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules;
in step S303, the edge device receives a burning task returned by the cloud server in response to the first request message.
The cloud server may create a burn task based on the production burn information to form a burn task list. Each burn task may include: type information, quantity information, and address information. The type information is the type of the public cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C), the quantity information is the number of modules to be burned (for example, the total number of modules to be burned for a single order), and the address information is a firmware download address of the module (that is, the edge device downloads the firmware download address to obtain a corresponding firmware file). The cloud server can receive a first request message from the edge device, and the edge device requests the cloud server to issue the burning task through the first request message. And the cloud server responds to the first request message and sends the burning task to the edge terminal equipment. Specifically, the cloud server may issue a burning task list to the edge device, where the burning task list may include at least one burning task. And then, the edge terminal equipment sequentially executes each burning task according to the burning task list.
Optionally, in step S300, the obtaining, by the edge device, the production burning information from the cloud server may include the following steps:
step 3001, the edge device sends a second request message to the cloud server, where the second request message is used to request the cloud server for an identification code adapted to the type information;
step S3002, the edge device receives a burning number file returned by the cloud server in response to the second request message, where the burning number file includes: the identity identification code is matched with the type information;
step 3003, the edge device sends a third request message to the cloud server, where the third request message is used to request the cloud server for a firmware file corresponding to the firmware download address;
in step S3004, the edge device receives the firmware file returned by the cloud server in response to the third request message.
After the cloud server issues the burning task list to the edge device, the cloud server may receive a second request message from the edge device, and the edge device requests the cloud server for the identification code matched with the type information through the second request message. And the cloud server responds to the second request message and issues a burning number file to the control end equipment through the edge end equipment, wherein the burning number file comprises an identity identification code matched with the type information. In addition, the cloud server may further receive a third request message from the edge device, and the edge device requests the cloud server for the firmware file corresponding to the firmware download address through the third request message. And the cloud server responds to the third request message and issues the firmware file to the control end equipment through the edge end equipment. That is, the edge device may first obtain the identification code from the cloud server, and then obtain the firmware file adapted to the identification code from the cloud server.
Optionally, the method may further include the following steps:
step S304, after the edge device successfully downloads the burning task, the current state of the burning task is set to be an inactivated state;
step S305, the edge device receives a local activation request, and updates the current state of the burning task from the inactive state to the active state.
After the edge device acquires the burning task list from the cloud server, the burning tasks in the burning task list are initialized to be in an inactivated state. The edge device may set the burn tasks in the burn task list from an inactive state to an active state under the trigger of the locally received activation request.
Optionally, the method may further include the following steps:
step S306, the edge device receives a fourth request message from the control device, wherein the fourth request message is used for acquiring the burning task in the activated state from the edge device;
in step S307, the edge device sends a burning task to the control device in response to the fourth request message.
The edge device may receive a fourth request message from the control device, and the control device obtains the burning task in the activated state from the edge device through the fourth request message. And the edge terminal equipment responds to the fourth request message and sends a burning task to the control terminal equipment. Namely, the control end device obtains the burning task in the activated state from the edge end device.
Optionally, in step S301, the issuing, by the edge device, the production burning information to the control end device may include the following steps:
step S3011, the edge device receives a fifth request message from the control device, where the fifth request message is used to request the edge device for an id code adapted to the type information;
step S3012, the edge device responds to the fifth request message, and issues the recording number file to the control device, where the recording number file includes: the identity identification code is matched with the type information;
step S3013, the edge device receives a sixth request message from the control device, where the sixth request message is used to request a firmware file corresponding to the firmware download address from the edge device;
in step S3014, the edge device sends the firmware file to the control device in response to the sixth request message.
After the control-end device acquires the burning task in the activated state from the edge-end device, the type information and the firmware download address can be acquired. First, the control device can determine whether the module has completed burning according to the type information and the firmware download address. If the burning is not finished, the edge device may receive a fifth request message from the control device, and the control device requests the edge device for the id adapted to the type information through the fifth request message. And secondly, the edge terminal equipment responds to the fifth request message and issues a burning number file to the control terminal equipment, wherein the burning number file comprises an identification code matched with the type information. Then, the edge device may further receive a sixth request message from the control device, and the control device requests the edge device for the firmware file corresponding to the firmware download address through the sixth request message. And finally, the edge terminal equipment responds to the sixth request message and issues the firmware file to the control terminal equipment. That is, the control end device may first obtain the identification code from the edge end device, and then obtain the firmware file adapted to the identification code from the edge end device.
Optionally, the method may further include the following steps:
step S308, the edge terminal equipment receives a first notification message from the control terminal equipment, wherein the first notification message is used for notifying the cloud server of the burning result of the module;
step S309, the edge terminal equipment sends the burning result to a cloud server based on the first notification message;
step S310, the edge terminal equipment receives a second notification message from the cloud server, wherein the second notification message is used for notifying the edge terminal equipment that the burning result is successfully recorded on the cloud server;
in step S311, the edge device updates the current state of the burning task from the activated state to a completed state based on the second notification message, where the completed state is used to determine that the module completes burning.
The control end equipment acquires the burning task in the activated state from the edge end equipment, and obtains the burning result of the module after the burning task is executed. And secondly, the control end equipment sends the burning result to the edge end equipment through a first notification message. And thirdly, the cloud server receives the notification message from the edge terminal equipment, and the edge terminal equipment notifies the cloud server of the burning result of the module through the notification message. Then, the cloud server updates the current state of the burning task from the allocated state to the burnt state based on the notification message, so that the burning task in the burnt state cannot be repeatedly burnt. And finally, the edge terminal equipment receives a second notification message from the cloud server, and the cloud server notifies the edge terminal equipment that the burning result is successfully recorded on the cloud server through the second notification message. Therefore, the edge terminal equipment updates the current state of the burning task from the activated state to a completed state based on the second notification message, and the completed state is used for determining that the module finishes burning.
It should be noted that the control end device may execute the burning task in a networked environment or may execute the burning task in a non-networked environment.
In accordance with one embodiment of the present invention, there is provided an embodiment of a method for burning a module, it should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from the order shown.
In this embodiment, a method for burning a module running on the control device is provided, and fig. 4 is a flowchart of another method for burning a module according to an embodiment of the present invention, as shown in fig. 4, the method includes the following steps:
step S40, the control end device obtains production burning information from the edge end device, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
in step S41, the control device records the production recording information into the module.
Through the steps, the cloud server can be adopted to centrally manage the production burning information of the module and send the production burning information to the edge terminal equipment, the production burning information comprises the identity identification code of the module and the firmware information of the module, the identity identification code is matched with the identification information of the public cloud platform, the firmware information is matched with the identification information of the intelligent equipment, the production burning information from the cloud server is received by the edge terminal equipment, the production burning information is temporarily managed and sent to the control terminal equipment, the control terminal equipment receives the production burning information from the edge terminal equipment and burns the production burning information to the module, the purpose of uniformly controlling firmware upgrading and identity burning at the cloud end is achieved, the technical effects of clear division of labor among all levels of equipment, improvement of production efficiency and reduction of the operation complexity of firmware upgrading and identity burning are achieved, and further, the technical problem that the BAT only supports firmware upgrading and identity code burning in a local area network in the actual use process in the related technology is solved.
The production burning information generally includes an identification code of the module and firmware information of the module. The identity identification code of the module and the firmware information of the module need to be matched with each other, so that production accidents such as wrong burning and missing burning are avoided. The identification code is an identification of a cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C) which is accessed to the mainstream of the market, and needs to be adapted to identification information of a public cloud platform. For example: if the Ali cloud platform is expected to be accessed, the identification code needs to be written according to the serial number rule of the Ali cloud platform, but cannot be written according to the serial number rules of other types of cloud platforms. The format of the firmware file corresponding to the firmware information is a binary format (i.e., BIN format), which needs to be adapted to the identification information (e.g., type, model) of the smart device. For example: if it is desired to burn a firmware file into an air conditioner, it is necessary to ensure that the firmware file is compatible with the air conditioner and not with other types of equipment. For another example: for example: if it is desired to burn a firmware file into a model a of air conditioning equipment, it is necessary to ensure that the firmware file is compatible with the model a of air conditioning equipment and not with other models of air conditioning equipment. The burning information can be produced to enable household equipment such as televisions, refrigerators, washing machines, air conditioners, illuminating lamps and the like to be changed from non-intelligent equipment to intelligent equipment.
Optionally, the method may further include the following steps:
step S42, the control end device sends a first request message to the edge end device, where the first request message is used to request the edge end device to issue a burning task, where the burning task is created by the cloud server based on the production burning information, and the burning task includes: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules;
in step S43, the control-side device receives a burning task returned by the edge-side device in response to the first request message.
The cloud server may create a burn task based on the production burn information to form a burn task list. Each burn task may include: type information, quantity information, and address information. The type information is the type of the public cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C), the quantity information is the number of modules to be burned (for example, the total number of modules to be burned for a single order), and the address information is a firmware download address of the module (that is, the edge device downloads the firmware download address to obtain a corresponding firmware file). The cloud server may issue a burning task list to the edge device, where the burning task list may include at least one burning task. And then, the edge terminal equipment sequentially executes each burning task according to the burning task list. Specifically, the control end device may send a first request message to the edge end device, and the control end device requests the edge end device to issue the burning task through the first request message. And then, the control end equipment receives a burning task returned by the edge end equipment in response to the first request message.
Optionally, in step S40, the obtaining, by the control-side device, the production burning information from the edge-side device may include the following steps:
step S401, the control end device sends a second request message to the edge end device, wherein the second request message is used for requesting the edge end device for an identification code matched with the type information;
step S402, the control end device receives a recording number file returned by the edge end device in response to the second request message, where the recording number file includes: the identity identification code is matched with the type information;
step S403, the control end device sends a third request message to the edge end device, wherein the third request message is used for requesting a firmware file corresponding to the firmware download address from the edge end device;
in step S404, the control-side device receives the firmware file returned by the edge-side device in response to the third request message.
After the cloud server issues the burning task list to the edge device, the control device may send a second request message to the edge device, and the control device requests the edge device for the identification code adapted to the type information through the second request message. And secondly, the control end equipment receives a burning number file returned by the edge end equipment in response to the second request message, wherein the burning number file comprises an identity identification code matched with the type information. And thirdly, the control end equipment sends a third request message to the edge end equipment, and the control end equipment requests the firmware file corresponding to the firmware downloading address from the edge end equipment through the third request message. Then, the control end device receives the firmware file returned by the edge end device in response to the third request message. That is, the control end device may first obtain the identification code from the edge end device, and then obtain the firmware file adapted to the identification code from the edge end device.
Optionally, the method may further include the following steps:
step S44, the control end equipment sends a notification message to the edge end equipment, wherein the notification message is used for notifying the edge end equipment of the burning result of the module;
step S45, the control end device receives a feedback message returned by the edge end device in response to the notification message, wherein the feedback message is used for notifying the control end device that the burning result has been successfully recorded on the edge end device;
in step S46, the control end device determines that the module has completed burning based on the feedback message.
The control end equipment acquires the burning task in the activated state from the edge end equipment, and obtains the burning result of the module after the burning task is executed. And secondly, the control end equipment can send a notification message to the edge end equipment, and the control end equipment notifies the edge end equipment of the burning result of the module through the notification message. And thirdly, the control end equipment receives a feedback message returned by the edge end equipment in response to the notification message, and the edge end equipment notifies the control end equipment that the burning result is successfully recorded on the edge end equipment through the feedback message. And then, the control terminal equipment determines that the module finishes burning based on the feedback message.
It should be noted that the control end device may execute the burning task in a networked environment or may execute the burning task in a non-networked environment.
In accordance with one embodiment of the present invention, there is provided an embodiment of a method for burning a module, it should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from the order shown.
In this embodiment, a method for burning a module running on the cloud server is provided, and fig. 5 is a flowchart of another method for burning a module according to an embodiment of the present invention, as shown in fig. 5, the method includes the following steps:
step S50, the cloud server receives a request message from the edge device, where the request message is used to obtain production burning information, and the production burning information includes: the identity identification code of module and the firmware information of module, identity identification code and public cloud platform's identification information looks adaptation, firmware information and smart machine's identification information looks adaptation, the head information that carries in the request message includes: checking the information;
step S51, the cloud server checks the validity of the request message based on the check information;
in step S52, when the request message passes the validity check, the cloud server issues the production burning information to the control end device via the edge end device, so as to instruct the control end device to burn the production burning information into the module.
Through the steps, the cloud server can be adopted to centrally manage the production burning information of the module and send the production burning information to the edge terminal equipment, the production burning information comprises the identity identification code of the module and the firmware information of the module, the identity identification code is matched with the identification information of the public cloud platform, the firmware information is matched with the identification information of the intelligent equipment, the production burning information from the cloud server is received by the edge terminal equipment, the production burning information is temporarily managed and sent to the control terminal equipment, the control terminal equipment receives the production burning information from the edge terminal equipment and burns the production burning information to the module, the purpose of uniformly controlling firmware upgrading and identity burning at the cloud end is achieved, the technical effects of clear division of labor among all levels of equipment, improvement of production efficiency and reduction of the operation complexity of firmware upgrading and identity burning are achieved, and further, the technical problem that the BAT only supports firmware upgrading and identity code burning in a local area network in the actual use process in the related technology is solved.
The production burning information generally includes an identification code of the module and firmware information of the module. The identity identification code of the module and the firmware information of the module need to be matched with each other, so that production accidents such as wrong burning and missing burning are avoided. The identification code is an identification of a cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C) which is accessed to the mainstream of the market, and needs to be adapted to identification information of a public cloud platform. For example: if the Ali cloud platform is expected to be accessed, the identification code needs to be written according to the serial number rule of the Ali cloud platform, but cannot be written according to the serial number rules of other types of cloud platforms. The format of the firmware file corresponding to the firmware information is a binary format (i.e., BIN format), which needs to be adapted to the identification information (e.g., type, model) of the smart device. For example: if it is desired to burn a firmware file into an air conditioner, it is necessary to ensure that the firmware file is compatible with the air conditioner and not with other types of equipment. For another example: for example: if it is desired to burn a firmware file into a model a of air conditioning equipment, it is necessary to ensure that the firmware file is compatible with the model a of air conditioning equipment and not with other models of air conditioning equipment. The burning information can be produced to enable household equipment such as televisions, refrigerators, washing machines, air conditioners, illuminating lamps and the like to be changed from non-intelligent equipment to intelligent equipment.
In addition, the header information carried in the request message may include check information. The check information has the functions of: and determining whether the edge terminal equipment is a trusted legal equipment. And only when the request message passes the validity check, the cloud server issues the production burning information to the control end equipment through the edge end equipment.
Optionally, the check information may include a plurality of fields, and the plurality of fields may include, but are not limited to: a Request identification field (i.e., X-Request-Id), an EDGE device plaintext field (i.e., X-EDGE-Key), a Timestamp field (i.e., X-Timestamp), and a first cryptographic Signature field (i.e., X-Signature). These fields may be compiled into a configuration file in the form of key-value pairs, stored in the edge device.
Optionally, the first encrypted signature field is obtained by the EDGE device by encrypting, by using a preset encryption manner (e.g., md5), the ordered signature of the plaintext field, the ciphertext field (i.e., X-EDGE-Secret), the timestamp field, and the request identification field of the EDGE device.
Optionally, in step S51, the cloud server performing validity check on the request message based on the check information may include the following steps:
step S511, the cloud server analyzes the verification information to obtain a request identification field, an edge terminal device plaintext field, a timestamp field and a first encryption signature field;
step S512, the cloud server acquires a second edge terminal device ciphertext field corresponding to the edge terminal device plaintext field and stored locally;
step S513, the cloud server encrypts the ordered signatures of the plain text field, the second ciphertext field, the timestamp field and the request identification field of the edge device by adopting a preset encryption mode to obtain a second encrypted signature field;
in step S514, the cloud server performs validity check based on the comparison result between the first encrypted signature field and the second encrypted signature field.
After the cloud server acquires the check information, the cloud server analyzes the check information to obtain the X-Request-Id, the X-EDGE-Key, the X-Timestamp and the first X-Signature. And secondly, the cloud server acquires a second X-EDGE-Secret which is locally stored and corresponds to the plaintext field of the EDGE terminal equipment. Then, the cloud server encrypts the ordering signatures of the X-EDGE-Key, the second X-EDGE-Secret, the X-Timestamp and the X-Request-Id by adopting the preset encryption mode (such as md5) to obtain a second X-Signature. Therefore, the cloud server carries out validity check based on the comparison result of the first X-Signature and the second X-Signature.
Optionally, in step S52, when the request message passes the validity check, the issuing, by the cloud server, the production burning information to the control end device via the edge end device may include the following steps:
step S521, the cloud server determines that the edge device is a legal device when finding that the first encrypted signature field is the same as the second encrypted signature field based on the comparison result of the first encrypted signature field and the second encrypted signature field;
step S522, the cloud server acquires the attribution information of the edge terminal equipment;
step S523, the cloud server sends the production burning information to the edge device based on the attribution information, and sends the production burning information to the control device via the edge device.
And the cloud server determines that the edge terminal equipment is legal equipment when finding that the first X-Signature is the same as the second X-Signature based on the comparison result of the first X-Signature and the second X-Signature. Secondly, the cloud server obtains the attribution information of the edge device (i.e. the production area, such as a factory, where the edge device is currently located). And then, the cloud server sends the production burning information to the edge terminal equipment based on the attribution information, and the production burning information is issued to the control terminal equipment through the edge terminal equipment. For example: if the cloud server determines that the current production area of the edge terminal equipment is the A factory by obtaining the attribution information of the edge terminal equipment, the cloud server inquires a burning task list corresponding to the A factory and then sends the burning task list to the edge terminal equipment. And the cloud server determines that the edge terminal equipment is illegal equipment when finding that the first X-Signature is different from the second X-Signature based on the comparison result of the first X-Signature and the second X-Signature. At this time, the cloud server may push the abnormal alarm information.
In accordance with one embodiment of the present invention, there is provided an embodiment of a burn task creation method, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
In this embodiment, a burning task creating method running on the cloud server is provided, and fig. 6 is a flowchart of a burning task creating method according to an embodiment of the present invention, as shown in fig. 6, the method includes the following steps:
step S60, the cloud server acquires production burning information, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
step S62, the cloud server creates a burning task based on the production burning information, wherein the burning task comprises: the device comprises type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules.
Through the steps, the cloud server can be adopted to obtain production burning information, the production burning information comprises an identity identification code of the module and firmware information of the module, the identity identification code is matched with the identification information of a public cloud platform, the firmware information is matched with the identification information of the intelligent device, a burning task is established through the cloud server based on the production burning information, the burning task comprises type information, quantity information and address information, the type information is the type of the public cloud platform, the quantity information is the number of the modules to be burned, and the address information is a firmware downloading address of the module, so that the purpose of uniformly controlling firmware upgrading and identity burning at the cloud end is achieved, the technical effects of clear division of labor among all levels of equipment, improvement of production efficiency and reduction of the operation complexity of firmware upgrading and identity burning are achieved, and the problem that the BAT in the related technology only supports firmware upgrading and identity burning in a local area network in the actual use process is solved The technical problem of code burning.
The production burning information generally includes an identification code of the module and firmware information of the module. The identity identification code of the module and the firmware information of the module need to be matched with each other, so that production accidents such as wrong burning and missing burning are avoided. The identification code is an identification of a cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C) which is accessed to the mainstream of the market, and needs to be adapted to identification information of a public cloud platform. For example: if the Ali cloud platform is expected to be accessed, the identification code needs to be written according to the serial number rule of the Ali cloud platform, but cannot be written according to the serial number rules of other types of cloud platforms. The format of the firmware file corresponding to the firmware information is a binary format (i.e., BIN format), which needs to be adapted to the identification information (e.g., type, model) of the smart device. For example: if it is desired to burn a firmware file into an air conditioner, it is necessary to ensure that the firmware file is compatible with the air conditioner and not with other types of equipment. For another example: for example: if it is desired to burn a firmware file into a model a of air conditioning equipment, it is necessary to ensure that the firmware file is compatible with the model a of air conditioning equipment and not with other models of air conditioning equipment. The burning information can be produced to enable household equipment such as televisions, refrigerators, washing machines, air conditioners, illuminating lamps and the like to be changed from non-intelligent equipment to intelligent equipment.
The cloud server may create a burn task based on the production burn information to form a burn task list. Each burn task may include: type information, quantity information, and address information. The type information is the type of the public cloud platform (for example, sales platforms such as a sales platform a, a sales platform B, and a sales platform C), the quantity information is the number of modules to be burned (for example, the total number of modules to be burned for a single order), and the address information is a firmware download address of the module (that is, the edge device downloads the firmware download address to obtain a corresponding firmware file).
Optionally, in step S60, the obtaining, by the cloud server, the production burning information may include the following steps:
step S601, the cloud server acquires a firmware file and uploads the firmware file to a file repository to obtain firmware information, where the firmware information includes: a firmware identification and a firmware download address;
step S602, the cloud server obtains the identification code based on the burning mode of the intelligent device.
After a user provides original data of the identification code, the firmware file and specifies the type of the public cloud platform, the identification code corresponding to the type of the public cloud platform can be generated, and meanwhile matching is carried out between the identification code and the firmware file. After acquiring the firmware file, the cloud server may upload the firmware file to a file repository to obtain firmware information (including a firmware identifier and a firmware download address). In addition, the cloud server needs to acquire the id based on a burning method of the smart device (e.g., burning one type one secret number, burning one machine one secret number).
Optionally, in step S602, the obtaining, by the cloud server, the identification code based on the burning method of the smart device may include the following steps:
step S6021, the cloud server selects a burning mode of the intelligent device, wherein the burning mode of the intelligent device comprises: the method comprises the following steps that a first burning mode and a second burning mode are adopted, wherein the first burning mode is used for burning the same identification code for the intelligent equipment of the same type, and the second burning mode is used for respectively burning different identification codes for each intelligent equipment;
step S6022, when the first burning mode is selected, the cloud server determines the same identification code to be burned of the same type of intelligent equipment as the identification code.
In order to create a burning task based on production burning information, the cloud server firstly needs to select a burning mode of the intelligent device. The burning method of the intelligent device may include, but is not limited to: a first burning mode (i.e. burning one-type one-secret number) and a second burning mode (i.e. burning one-machine one-secret number). The first burning mode is used for burning the same identification code for the intelligent equipment of the same type. The second burning mode is used for burning different identification codes for each intelligent device. When the first burning mode is selected, the cloud server determines the same identification code to be burned of the same type of intelligent equipment as the identification code.
Optionally, in step S602, the obtaining, by the cloud server, the identification code based on the burning method of the smart device may include the following steps:
step S6023, the cloud server selects a burning mode of the intelligent device, wherein the burning mode of the intelligent device comprises: the method comprises the following steps that a first burning mode and a second burning mode are adopted, wherein the first burning mode is used for burning the same identification code for the intelligent equipment of the same type, and the second burning mode is used for respectively burning different identification codes for each intelligent equipment;
step S6024, when the second burning mode is selected, the cloud server determines the number of the identification codes to be burned based on the number of the modules to be burned;
step S6025, the cloud server inquires the number of the current idle identification codes from the identification code set, and when the number of the identification codes to be burned is less than or equal to the number of the current idle identification codes, the cloud server acquires the identification codes from the identification code set based on the number of the identification codes to be burned.
In order to create a burning task based on production burning information, the cloud server firstly needs to select a burning mode of the intelligent device. The burning method of the intelligent device may include, but is not limited to: a first burning mode (i.e. burning one-type one-secret number) and a second burning mode (i.e. burning one-machine one-secret number). The first burning mode is used for burning the same identification code for the intelligent equipment of the same type. The second burning mode is used for burning different identification codes for each intelligent device. When the second burning mode is selected, the cloud server determines the number of the identification codes to be burned based on the number of the modules to be burned. The cloud server inquires the number of the current idle identification codes from the identification code set, and when the number of the identification codes to be burnt is smaller than or equal to the number of the current idle identification codes, the cloud server acquires the identification codes from the identification code set based on the number of the identification codes to be burnt. That is, the cloud server queries whether the number of the currently idle ids from the id set can satisfy the requirement of burning one secret number. And if the cloud server inquires that the number of the current idle identification codes cannot meet the requirement of burning one secret number from the identification code set, pushing abnormal alarm information. And if the cloud server inquires the number of the current idle identification codes from the identification code set to meet the requirement of burning one secret number, acquiring the identification codes from the identification code set based on the number of the identification codes to be burned.
Optionally, in step S6025, the obtaining, by the cloud server, the ids from the id set based on the number of ids to be burned may include the following steps:
step S60251, the cloud server locks the ID code set;
step S60252, the cloud server obtains the identification code from the identification code set based on the number of the identification codes to be burned, and sets the status of the identification code as the downloading status;
step S60253, the cloud server unlocks the id code set.
In the process that the cloud server acquires the identification codes from the identification code set based on the number of the identification codes to be burned, the cloud server firstly needs to lock the identification code set (namely, the cloud server is in an exclusive state) so as to prevent the identification codes from being repeatedly used to cause abnormity. Secondly, the cloud server acquires the identification codes from the identification code set based on the number of the identification codes to be burned, and sets the states of the identification codes to be in a downloading state. If the id code is not successfully downloaded to the edge device, the status of the id code needs to be adjusted from the downloading status to the usable status. After the cloud server successfully acquires the identification codes from the identification code set based on the number of the identification codes to be burned, the cloud server unlocks the identification code set. If the id is successfully downloaded to the edge device, the status of the id needs to be adjusted from the downloading status to the downloading completion status.
Optionally, the method may further include the following steps:
step S64, the cloud server sends the identification code and the corresponding index identifier to the edge device, where the index identifier is used to search the status of the identification code from the identification code set.
After the edge device acquires the burning task list from the cloud server, the burning tasks in the burning task list are initialized to be in an inactivated state. The edge device may set the recording tasks in the recording task list from an inactive state to an active state. And secondly, the control end equipment acquires the burning task in the activated state from the edge end equipment and obtains the burning result of the module after the burning task is executed. The control end device sends the burning result to the edge end device. And then, the cloud server receives a notification message from the edge terminal equipment, and the edge terminal equipment notifies the cloud server of the burning result of the module through the notification message. Finally, the cloud server updates the current state of the burning task from the allocated state to the burnt state based on the notification message, so that the burning task in the burnt state cannot be repeatedly burnt.
Therefore, the cloud server can send the identification code and the corresponding index identifier to the edge device. Through the transmission of the index identifier, when the cloud server needs to modify the current state of the burning task based on the notification message, the state of the identity identifier can be searched from the identity identifier set according to the index identifier, and then the state of the used identity identifier is modified.
It should be noted that the control end device may execute the burning task in a networked environment or may execute the burning task in a non-networked environment.
It should be noted that, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown.
In this embodiment, a method for adjusting module burning information running on the cloud server is provided, and fig. 7 is a flowchart of a method for adjusting module burning information according to an embodiment of the present invention, as shown in fig. 7, the method includes the following steps:
step S70, the cloud server receives a notification message from the edge device, wherein the notification message is used for reporting the corresponding relation between the current burning result and the module identification to the cloud server;
in step S71, the cloud server adjusts the locally stored module burning information based on the notification message, where the module burning information is used to record the corresponding relationship between the current burning result and the module identifier on the cloud server.
Through the steps, the cloud server can be used for receiving the notification message from the edge terminal device, the notification message is used for reporting the corresponding relation between the current burning result and the module identification to the cloud server, the locally stored module burning information is adjusted through the cloud server based on the notification message, the module burning information is used for recording the corresponding relation between the current burning result and the module identification on the cloud server, and the purpose of uniformly controlling firmware upgrading and identity burning at the cloud end is achieved, so that the technical effects of clear division of labor among all levels of devices, improvement of production efficiency, reduction of operation complexity of firmware upgrading and identity burning are achieved, and the technical problem that the BAT only supports firmware upgrading and identity burning in a local area network in the actual use process in the related technology is solved.
Optionally, in step S71, the cloud server adjusting the module burning information based on the notification message may include the following steps:
step S711, the cloud server acquires the module identifier from the notification message;
step S712, the cloud server compares the module identifier with the recorded module identifier in the module burning information;
step S713, when the cloud server finds the historical burning result corresponding to the module identification from the module burning information, the cloud server updates the historical burning result to be the current burning result.
And in the process that the cloud server adjusts the module burning information based on the notification message, the cloud server acquires the module identification from the notification message. The cloud server needs to compare the module identifier with the recorded module identifier in the module burning information. And when the cloud server finds the historical burning result corresponding to the module identification from the module burning information, the cloud server updates the historical burning result into the current burning result. For example: if the cloud server acquires the module identifier a from the notification message, and the module identifier a corresponds to the current burning result a, the cloud server needs to compare the module identifier a with the recorded module identifier in the module burning information. And when the cloud server finds the historical burning result B corresponding to the module identification A from the module burning information, the cloud server updates the historical burning result B into the current burning result A.
It should be noted that, in the above operation process, it is necessary to open the transaction to ensure atomicity.
Optionally, in step S71, the cloud server adjusting the module burning information based on the notification message may include the following steps:
step 714, the cloud server acquires the module identifier from the notification message;
step S715, the cloud server compares the module identification with the recorded module identification in the module burning information;
step S716, when the cloud server fails to find the module identifier from the module burning information, the cloud server establishes a corresponding relationship between the current burning result and the module identifier;
in step S717, the corresponding relation is added to the module burning information.
And in the process that the cloud server adjusts the module burning information based on the notification message, the cloud server acquires the module identification from the notification message. The cloud server needs to compare the module identifier with the recorded module identifier in the module burning information. When the cloud server fails to find the module identification from the module burning information, the cloud server establishes a corresponding relationship between the current burning result and the module identification, and then adds the corresponding relationship to the module burning information. For example: if the cloud server acquires the module identifier a from the notification message, and the module identifier a corresponds to the current burning result a, the cloud server needs to compare the module identifier a with the recorded module identifier in the module burning information. When the cloud server fails to find the historical burning result corresponding to the module identification A from the module burning information, the cloud server establishes a corresponding relation between the current burning result A and the module identification A, and then adds the corresponding relation to the module burning information.
It should be noted that, in the above operation process, it is necessary to open the transaction to ensure atomicity.
Optionally, the method may further include the following steps:
and step S72, the cloud server returns a response message to the edge device to indicate the edge device to set the burning task to be in a complete state, wherein the response message is used for informing the edge device that the corresponding relation between the current burning result and the module identifier is successfully recorded on the cloud server.
After the cloud server adjusts the module burning information based on the notification message, the cloud server may return a response message to the edge device to indicate the edge device to set the burning task to be in a complete state. The response message is used for informing the edge terminal device that the corresponding relation between the current burning result and the module identification is successfully recorded on the cloud server. Then, the edge device responds to the notification message and sets the burning task to be in a completion state.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a module burning apparatus is further provided, which is used to implement the above embodiments and preferred embodiments, and the description of the apparatus is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 8 is a block diagram of a module burning apparatus for use in a module burning authorization tracking system according to an embodiment of the present invention, the system including: as shown in fig. 8, the apparatus includes: an obtaining module 100, configured to obtain production burning information, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; the processing module 102 is configured to issue the production burning information to the control end device via the edge end device, so as to instruct the control end device to burn the production burning information into the module.
Optionally, the obtaining module 100 is configured to obtain original data of the identification code and a serial number rule of the public cloud platform; carrying out standardized compatibility processing on the serial number rule to obtain a standardized rule; and generating the identification code by adopting the original data and the standardized rule.
Optionally, fig. 9 is a block diagram of a structure of a module burning apparatus according to an alternative embodiment of the present invention, and as shown in fig. 9, the apparatus includes, in addition to all modules shown in fig. 8, the apparatus further includes: a creating module 104, configured to create a burning task based on the production burning information, where the burning task includes: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules; a first receiving module 106, configured to receive a first request message from an edge device, where the first request message is used to request a cloud server to issue a burning task; and a sending module 108, configured to send the burning task to the edge device in response to the first request message.
Optionally, the processing module 102 is configured to receive a second request message from the edge device, where the second request message is used to request, from the cloud server, an identity identifier adapted to the type information; responding to the second request message, and sending the burning number file to the edge terminal equipment, wherein the burning number file comprises: the identity identification code is matched with the type information; receiving a third request message from the edge terminal device, wherein the third request message is used for requesting a firmware file corresponding to the firmware download address from the cloud server; and responding to the third request message, and sending the firmware file to the edge terminal equipment.
Optionally, as shown in fig. 9, the apparatus includes, in addition to all the modules shown in fig. 8: the updating module 110 is configured to update the current state of the burning task from an unallocated state to an allocated state, where the allocated state is used to control the burning task to be repeatedly allocated.
Optionally, as shown in fig. 9, the apparatus includes, in addition to all the modules shown in fig. 8: a second receiving module 112, configured to receive a notification message from an edge device, where the notification message is used to notify the cloud server of a burning result of the module; and the updating module 114 is further configured to update the current state of the burning task from the allocated state to a burnt state based on the notification message, where the burnt state is used to control the burning task to be repeatedly burnt.
In this embodiment, another module burning apparatus is provided, which is used to implement the above embodiments and preferred embodiments, and the description of the apparatus is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 10 is a block diagram of another exemplary embodiment of a device for recording module burning authorization tracking, which is applied to a system for recording module burning authorization tracking, the system comprising: as shown in fig. 10, the apparatus includes: an obtaining module 200, configured to obtain production burning information from a cloud server, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; the processing module 202 is configured to issue the production burning information to the control end device to instruct the control end device to burn the production burning information into the module.
Optionally, fig. 11 is a block diagram of another module burning device according to an alternative embodiment of the present invention, and as shown in fig. 11, the device includes, in addition to all the modules shown in fig. 10, the device further includes: the first sending module 204 is configured to send a first request message to the cloud server, where the first request message is used to request the cloud server to issue a burning task, where the burning task is created by the cloud server based on production burning information, and the burning task includes: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules; the first receiving module 206 is configured to receive a burning task returned by the cloud server in response to the first request message.
Optionally, the obtaining module 200 is configured to send a second request message to the cloud server by the edge device, where the second request message is used to request the cloud server for the identity identifier adapted to the type information; receiving a burning number file returned by the cloud server in response to the second request message, wherein the burning number file comprises: the identity identification code is matched with the type information; sending a third request message to the cloud server, wherein the third request message is used for requesting a firmware file corresponding to the firmware download address from the cloud server; and receiving the firmware file returned by the cloud server in response to the third request message.
Optionally, as shown in fig. 11, the apparatus includes, in addition to all the modules shown in fig. 10: the setting module 208 is configured to set the current state of the burning task to an inactive state after the burning task is successfully downloaded; the updating module 210 is configured to receive a local activation request, and update the current state of the burning task from an inactive state to an active state.
Optionally, as shown in fig. 11, the apparatus includes, in addition to all the modules shown in fig. 10: a second receiving module 212, configured to receive a fourth request message from the control-end device, where the fourth request message is used to obtain a burning task in an activated state from the edge-end device; and a second sending module 214, configured to send the burning task to the control-end device in response to the fourth request message.
Optionally, the processing module 202 is configured to receive a fifth request message from the control-side device, where the fifth request message is used to request, from the edge-side device, an identity identifier adapted to the type information; responding to the fifth request message, and issuing the recording number file to the control terminal equipment, wherein the recording number file comprises: the identity identification code is matched with the type information; receiving a sixth request message from the control end device, wherein the sixth request message is used for requesting a firmware file corresponding to the firmware download address from the edge end device; and responding to the sixth request message, and issuing the firmware file to the control end equipment.
Optionally, as shown in fig. 11, the apparatus includes, in addition to all the modules shown in fig. 10: a fifth receiving module 216, configured to receive a first notification message from the control-end device, where the first notification message is used to notify the cloud server of the burning result of the module; a fifth sending module 218, configured to send the burning result to the cloud server based on the first notification message; a sixth receiving module 220, configured to receive a second notification message from the cloud server, where the second notification message is used to notify the edge device that the burning result has been successfully recorded on the cloud server; the updating module 222 is further configured to update the current state of the burning task from the activated state to a completed state based on the second notification message, where the completed state is used to determine that the module completes burning.
In this embodiment, a module burning apparatus is further provided, which is used to implement the above embodiments and preferred embodiments, and the description of the apparatus is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 12 is a block diagram of another embodiment of a module burning apparatus for use in a module burning authorization tracking system, the system including: as shown in fig. 12, the apparatus includes: an obtaining module 300, configured to obtain production burning information to an edge device, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; the processing module 302 is used for burning the production burning information into the module.
Optionally, fig. 13 is a block diagram of a structure of another module burning device according to an alternative embodiment of the present invention, and as shown in fig. 13, the device includes, in addition to all modules shown in fig. 12, the following: a first sending module 304, configured to send a first request message to an edge device, where the first request message is used to request the edge device to issue a burning task, where the burning task is created by a cloud server based on production burning information, and the burning task includes: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules; a first receiving module 306, configured to receive a burning task returned by the edge-end device in response to the first request message.
Optionally, the obtaining module 300 is configured to send a second request message to the edge device, where the second request message is used to request the edge device for an identity identifier adapted to the type information; receiving a burning number file returned by the edge terminal device in response to the second request message, wherein the burning number file comprises: the identity identification code is matched with the type information; sending a third request message to the edge terminal equipment, wherein the third request message is used for requesting a firmware file corresponding to the firmware download address from the edge terminal equipment; and receiving the firmware file returned by the edge terminal device in response to the third request message.
Optionally, as shown in fig. 13, the apparatus includes, in addition to all the modules shown in fig. 12: a second sending module 308, configured to send a notification message to the edge device, where the notification message is used to notify the edge device of the burning result of the module; a second receiving module 310, configured to receive a feedback message returned by the edge device in response to the notification message, where the feedback message is used to notify the control end device that the burning result has been successfully recorded on the edge device; a determining module 312, configured to determine that the module completes burning based on the feedback message.
In this embodiment, a further module burning device is further provided, which is used to implement the above embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 14 is a block diagram of another exemplary embodiment of a modular programming apparatus for use in a modular programming authorization tracking system, the system comprising: as shown in fig. 14, the apparatus includes: a receiving module 400, configured to receive a request message from an edge device, where the request message is used to obtain production burning information, and the production burning information includes: the identity identification code of module and the firmware information of module, identity identification code and public cloud platform's identification information looks adaptation, firmware information and smart machine's identification information looks adaptation, the head information that carries in the request message includes: checking the information; a checking module 402, configured to perform validity checking on the request message based on the checking information; the processing module 404 is configured to issue the production burning information to the control end device through the edge end device when the request message passes the validity check, so as to instruct the control end device to burn the production burning information into the module.
Optionally, the check information includes a plurality of fields, and the plurality of fields include: a request identification field, an edge end device plaintext field, a timestamp field, and a first cryptographic signature field.
Optionally, the first encrypted signature field is obtained by encrypting, by the edge device, the ordered signature of the plaintext field, the ciphertext field, the timestamp field, and the request identification field of the edge device by using a preset encryption manner.
Optionally, the verification module 402 is configured to analyze the verification information by the cloud server to obtain a request identification field, an edge device plaintext field, a timestamp field, and a first encrypted signature field; the cloud server acquires a second edge terminal device ciphertext field which is locally stored and corresponds to the edge terminal device plaintext field; the cloud server encrypts the ordered signatures of the plain text field of the edge terminal equipment, the ciphertext field of the second edge terminal equipment, the timestamp field and the request identification field in a preset encryption mode to obtain a second encrypted signature field; and the cloud server performs validity check based on the comparison result of the first encryption signature field and the second encryption signature field.
Optionally, the processing module 404 is configured to determine that the edge device is a legitimate device when the first cryptographic signature field is found to be the same as the second cryptographic signature field based on the comparison result of the first cryptographic signature field and the second cryptographic signature field; acquiring attribution information of edge terminal equipment; and sending the production burning information to the edge terminal equipment based on the attribution information, and sending the production burning information to the control terminal equipment through the edge terminal equipment.
In this embodiment, a device for creating a burning task is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not described again after the description. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 15 is a block diagram of a burning task creating device applied to a module burning authorization tracking system according to an embodiment of the present invention, the system including: as shown in fig. 15, the apparatus includes: an obtaining module 500, configured to obtain production burning information, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment; a creating module 502, configured to create a burning task based on the production burning information, where the burning task includes: the device comprises type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules.
Optionally, the obtaining module 500 is configured to obtain a firmware file and upload the firmware file to a file repository to obtain firmware information, where the firmware information includes: a firmware identification and a firmware download address; and acquiring the identity identification code based on the burning mode of the intelligent equipment.
Optionally, the obtaining module 500 is configured to select a burning method of the intelligent device, where the burning method of the intelligent device includes: the method comprises the following steps that a first burning mode and a second burning mode are adopted, wherein the first burning mode is used for burning the same identification code for the intelligent equipment of the same type, and the second burning mode is used for respectively burning different identification codes for each intelligent equipment; and when the first burning mode is selected, determining the same identification code to be burned of the intelligent equipment of the same type as the identification code.
Optionally, the obtaining module 500 is configured to select a burning method of the intelligent device, where the burning method of the intelligent device includes: the method comprises the following steps that a first burning mode and a second burning mode are adopted, wherein the first burning mode is used for burning the same identification code for the intelligent equipment of the same type, and the second burning mode is used for respectively burning different identification codes for each intelligent equipment; when the second burning mode is selected, determining the number of the identification codes to be burned based on the number of the modules to be burned; and inquiring the number of the current idle identification codes from the identification code set, and acquiring the identification codes from the identification code set based on the number of the identification codes to be burned when the number of the identification codes to be burned is less than or equal to the number of the current idle identification codes.
Optionally, the obtaining module 500 is configured to lock the id code set; acquiring the identification codes from the identification code set based on the number of the identification codes to be burned, and setting the state of the identification codes to be in a downloading state; and unlocking the identity identification code set.
Optionally, fig. 16 is a block diagram of a device for creating a burn task according to an alternative embodiment of the present invention, and as shown in fig. 16, the device includes, in addition to all modules shown in fig. 15: a sending module 504, configured to send the identity codes and corresponding index identifiers to the edge device, where the index identifiers are used to search for states of the identity codes from the identity code set.
In this embodiment, a device for adjusting the burning information of the module is further provided, and the device is used to implement the above embodiments and preferred embodiments, which have already been described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
FIG. 17 is a block diagram of an apparatus for adjusting recording information of a module, applied to a system for tracking recording authorization of the module, according to an embodiment of the present invention, the system including: as shown in fig. 17, the apparatus includes: a receiving module 600, configured to receive a notification message from an edge device, where the notification message is used to report a corresponding relationship between a current burning result and a module identifier to a cloud server; an adjusting module 602, configured to adjust locally stored module burning information based on the notification message, where the module burning information is used to record, on the cloud server, a corresponding relationship between a current burning result and a module identifier.
Optionally, the adjusting module 602 is configured to obtain, by the cloud server, the module identifier from the notification message; the cloud server compares the module identification with the recorded module identification in the module burning information; and when the cloud server finds the historical burning result corresponding to the module identification from the module burning information, the cloud server updates the historical burning result into the current burning result.
Optionally, the adjusting module 602 is configured to obtain, by the cloud server, the module identifier from the notification message; the cloud server compares the module identification with the recorded module identification in the module burning information; when the cloud server fails to find the module identification from the module burning information, the cloud server establishes a corresponding relation between the current burning result and the module identification; and adding the corresponding relation to the module burning information.
Optionally, fig. 18 is a block diagram of a structure of a device for adjusting burning information of a module according to an alternative embodiment of the present invention, as shown in fig. 18, the device includes, in addition to all modules shown in fig. 17, the following: the feedback module 604 is configured to return a response message to the edge device to indicate that the edge device sets the burning task to be in the complete state, where the response message is used to notify the edge device that the corresponding relationship between the current burning result and the module identifier has been successfully recorded on the cloud server.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
s1, the cloud server acquires production burning information, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
and S2, the cloud server issues the production burning information to the control end equipment through the edge end equipment so as to instruct the control end equipment to burn the production burning information to the module.
Optionally, the non-volatile storage medium is further arranged to store a computer program for performing the steps of:
s1, the edge device obtains production burning information from the cloud server, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
and S2, the edge device issues the production burning information to the control device to instruct the control device to burn the production burning information into the module.
Optionally, the non-volatile storage medium is further arranged to store a computer program for performing the steps of:
s1, the control end device obtains production burning information from the edge end device, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
s2, the control device records the production recording information into the module.
Optionally, the non-volatile storage medium is further arranged to store a computer program for performing the steps of:
s1, the cloud server receives a request message from the edge device, where the request message is used to obtain production burning information, and the production burning information includes: the identity identification code of module and the firmware information of module, identity identification code and public cloud platform's identification information looks adaptation, firmware information and smart machine's identification information looks adaptation, the head information that carries in the request message includes: checking the information;
s2, the cloud server checks the validity of the request message based on the check information;
and S3, when the request message passes the validity check, the cloud server issues the production burning information to the control end device through the edge end device so as to instruct the control end device to burn the production burning information into the module.
Optionally, the non-volatile storage medium is further arranged to store a computer program for performing the steps of:
s1, the cloud server acquires production burning information, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
s2, the cloud server creates a burning task based on the production burning information, wherein the burning task comprises: the device comprises type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules.
Optionally, the non-volatile storage medium is further arranged to store a computer program for performing the steps of:
s1, the cloud server receives a notification message from the edge terminal device, wherein the notification message is used for reporting the corresponding relation between the current burning result and the module identification to the cloud server;
and S2, the cloud server adjusts the locally stored module burning information based on the notification message, wherein the module burning information is used for recording the corresponding relation between the current burning result and the module identification on the cloud server.
Optionally, in this embodiment, the nonvolatile storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, the cloud server acquires production burning information, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
and S2, the cloud server issues the production burning information to the control end equipment through the edge end equipment so as to instruct the control end equipment to burn the production burning information to the module.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s1, the edge device obtains production burning information from the cloud server, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
and S2, the edge device issues the production burning information to the control device to instruct the control device to burn the production burning information into the module.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s1, the control end device obtains production burning information from the edge end device, where the production burning information includes: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
s2, the control device records the production recording information into the module.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s1, the cloud server receives a request message from the edge device, where the request message is used to obtain production burning information, and the production burning information includes: the identity identification code of module and the firmware information of module, identity identification code and public cloud platform's identification information looks adaptation, firmware information and smart machine's identification information looks adaptation, the head information that carries in the request message includes: checking the information;
s2, the cloud server checks the validity of the request message based on the check information;
and S3, when the request message passes the validity check, the cloud server issues the production burning information to the control end device through the edge end device so as to instruct the control end device to burn the production burning information into the module.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s1, the cloud server acquires production burning information, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
s2, the cloud server creates a burning task based on the production burning information, wherein the burning task comprises: the device comprises type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules.
Optionally, in this embodiment, the processor may be further configured to execute, by the computer program, the following steps:
s1, the cloud server receives a notification message from the edge terminal device, wherein the notification message is used for reporting the corresponding relation between the current burning result and the module identification to the cloud server;
and S2, the cloud server adjusts the locally stored module burning information based on the notification message, wherein the module burning information is used for recording the corresponding relation between the current burning result and the module identification on the cloud server.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (20)

1. A system for tracking burning authorization of a module, comprising: the system comprises a cloud server, edge end equipment and control end equipment;
the cloud server is used for managing production burning information of the module in a centralized manner and issuing the production burning information to the edge terminal equipment, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
the edge terminal equipment is in wide area network communication interaction with the cloud server and is used for receiving the production burning information from the cloud server, temporarily managing the production burning information and issuing the production burning information to the control terminal equipment;
the control end device performs local area network communication interaction with the edge end device, and is used for receiving the production burning information from the edge end device and burning the production burning information to the module.
2. The system according to claim 1, wherein the initial format of the id is a string format, the target format obtained after the editing process is a binary format, and the format of the firmware file corresponding to the firmware information is a binary format.
3. The system of claim 1, wherein the cloud server is further configured to obtain serial number rules of different public cloud platforms, wherein the serial number rules are used to write the identification codes; and carrying out standardized compatible processing on the serial number rule to obtain the identification code.
4. A method for burning a module is applied to a system for tracking burning authorization of the module, and the system comprises: the method comprises the following steps of:
the edge terminal equipment acquires production burning information from the cloud server, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
and the edge terminal equipment issues the production burning information to the control terminal equipment so as to instruct the control terminal equipment to burn the production burning information to the module.
5. The method of claim 4, further comprising:
the edge terminal equipment sends a first request message to the cloud server, wherein the first request message is used for requesting the cloud server to issue a burning task, the burning task is created by the cloud server based on the production burning information, and the burning task comprises: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules;
and the edge terminal equipment receives the burning task returned by the cloud server in response to the first request message.
6. The method of claim 5, wherein the obtaining, by the edge device, the production burning information from the cloud server comprises:
the edge terminal equipment sends a second request message to the cloud server, wherein the second request message is used for requesting the identity identification code matched with the type information from the cloud server;
the edge terminal device receives a burning number file returned by the cloud server in response to the second request message, wherein the burning number file comprises: the identity identification code matched with the type information;
the edge terminal equipment sends a third request message to the cloud server, wherein the third request message is used for requesting a firmware file corresponding to the firmware downloading address from the cloud server;
and the edge terminal equipment receives the firmware file returned by the cloud server in response to the third request message.
7. The method of claim 6, further comprising:
after the edge terminal equipment successfully downloads the burning task, setting the current state of the burning task to be an inactivated state;
and the edge terminal equipment receives a local activation request and updates the current state of the burning task from the inactivated state to the activated state.
8. The method of claim 7, further comprising:
the edge terminal equipment receives a fourth request message from the control terminal equipment, wherein the fourth request message is used for acquiring the burning task in the activated state from the edge terminal equipment;
and the edge terminal equipment responds to the fourth request message and sends the burning task to the control terminal equipment.
9. The method of claim 8, wherein the issuing, by the edge device, the production burning information to the control end device comprises:
the edge device receives a fifth request message from the control end device, wherein the fifth request message is used for requesting the identity identification code adapted to the type information from the edge device;
the edge terminal equipment responds to the fifth request message and issues a burning number file to the control terminal equipment, wherein the burning number file comprises: the identity identification code matched with the type information;
the edge terminal equipment receives a sixth request message from the control terminal equipment, wherein the sixth request message is used for requesting a firmware file corresponding to the firmware download address from the edge terminal equipment;
and the edge terminal equipment responds to the sixth request message and issues the firmware file to the control terminal equipment.
10. The method of claim 7, further comprising:
the edge terminal equipment receives a first notification message from the control terminal equipment, wherein the first notification message is used for notifying the cloud server of the burning result of the module;
the edge terminal equipment sends the burning result to the cloud server based on the first notification message;
the edge terminal equipment receives a second notification message from the cloud server, wherein the second notification message is used for notifying the edge terminal equipment that the burning result is successfully recorded on the cloud server;
and the edge terminal equipment updates the current state of the burning task from the activated state to a finished state based on the second notification message, wherein the finished state is used for determining that the module finishes burning.
11. A module burning device is applied to a module burning authorization tracking system, and the system comprises: cloud server, edge end equipment and control end equipment, the device includes:
the acquisition module is used for acquiring production burning information from the cloud server, wherein the production burning information comprises: the identity identification code of the module is matched with the identification information of the public cloud platform, and the firmware information is matched with the identification information of the intelligent equipment;
and the processing module is used for issuing the production burning information to the control end equipment so as to instruct the control end equipment to burn the production burning information to the module.
12. The apparatus of claim 11, further comprising:
a first sending module, configured to send a first request message to the cloud server, where the first request message is used to request the cloud server to issue a burning task, where the burning task is created by the cloud server based on the production burning information, and the burning task includes: the method comprises the steps of obtaining type information, quantity information and address information, wherein the type information is the type of a public cloud platform, the quantity information is the quantity of modules to be burned, and the address information is a firmware downloading address of the modules;
and the first receiving module is used for receiving the burning task returned by the cloud server in response to the first request message.
13. The apparatus according to claim 12, wherein the obtaining module is configured to send a second request message to the cloud server by the edge device, where the second request message is used to request the identity identifier adapted to the type information from the cloud server; receiving a burning number file returned by the cloud server in response to the second request message, wherein the burning number file comprises: the identity identification code matched with the type information; sending a third request message to the cloud server, wherein the third request message is used for requesting a firmware file corresponding to the firmware download address from the cloud server; receiving the firmware file returned by the cloud server in response to the third request message.
14. The apparatus of claim 13, further comprising:
the setting module is used for setting the current state of the burning task to be an inactivated state after the burning task is downloaded successfully;
and the updating module is used for receiving a local activation request and updating the current state of the burning task from the inactivated state to the activated state.
15. The apparatus of claim 14, further comprising:
a second receiving module, configured to receive a fourth request message from the control end device, where the fourth request message is used to obtain the burning task in the activated state from the edge end device;
and the second sending module is used for responding to the fourth request message and sending the burning task to the control terminal equipment.
16. The apparatus according to claim 15, wherein the processing module is configured to receive a fifth request message from the control-end device, where the fifth request message is used to request the edge-end device for the id adapted to the type information; responding to the fifth request message, and issuing a burning number file to the control terminal device, wherein the burning number file comprises: the identity identification code matched with the type information; receiving a sixth request message from the control end device, wherein the sixth request message is used for requesting a firmware file corresponding to the firmware download address from the edge end device; responding to the sixth request message, and sending the firmware file to the control end device.
17. The apparatus of claim 14, further comprising:
a fifth receiving module, configured to receive a first notification message from the control-end device, where the first notification message is used to notify the cloud server of a burning result of the module;
a fifth sending module, configured to send the burning result to the cloud server based on the first notification message;
a sixth receiving module, configured to receive a second notification message from the cloud server, where the second notification message is used to notify the edge device that the burning result has been successfully recorded on the cloud server;
the updating module is further configured to update the current state of the burning task from the activated state to a completed state based on the second notification message, where the completed state is used to determine that the module completes burning.
18. A non-volatile storage medium, wherein a computer program is stored in the storage medium, and the computer program is configured to execute the module burning method according to any one of claims 4 to 10 when the computer program runs.
19. A processor, configured to run a program, wherein the program is configured to execute the module burning method according to any one of claims 4 to 10 when running.
20. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the module burning method of any one of claims 4 to 10.
CN202010956376.5A 2020-09-11 2020-09-11 Module burning authorization tracking system, module burning method and device Active CN112052019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010956376.5A CN112052019B (en) 2020-09-11 2020-09-11 Module burning authorization tracking system, module burning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010956376.5A CN112052019B (en) 2020-09-11 2020-09-11 Module burning authorization tracking system, module burning method and device

Publications (2)

Publication Number Publication Date
CN112052019A true CN112052019A (en) 2020-12-08
CN112052019B CN112052019B (en) 2022-10-14

Family

ID=73610153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010956376.5A Active CN112052019B (en) 2020-09-11 2020-09-11 Module burning authorization tracking system, module burning method and device

Country Status (1)

Country Link
CN (1) CN112052019B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553848A (en) * 2021-12-31 2022-05-27 山东有人物联网股份有限公司 Cloud programming system, method, equipment and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201601000A (en) * 2014-04-29 2016-01-01 鴻海精密工業股份有限公司 A system for writing key to electronic device and method thereof
CN109062587A (en) * 2018-08-08 2018-12-21 上海庆科信息技术有限公司 The burning management method and device of programming system and its server
CN109144531A (en) * 2018-08-08 2019-01-04 上海庆科信息技术有限公司 The approaches to IM and device of programming system and its server
CN109189409A (en) * 2018-08-08 2019-01-11 上海庆科信息技术有限公司 Programming system, programming system server and its parallel programming management method and device
CN109189421A (en) * 2018-08-08 2019-01-11 上海庆科信息技术有限公司 Burning management method, device and programming system based on programming system server
CN110321757A (en) * 2018-03-29 2019-10-11 阿里巴巴集团控股有限公司 Across end living creature characteristic recognition system, biological characteristic management system, method and device
CN110750292A (en) * 2019-07-02 2020-02-04 苏州大学 NB-IoT-based remote automatic terminal updating system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201601000A (en) * 2014-04-29 2016-01-01 鴻海精密工業股份有限公司 A system for writing key to electronic device and method thereof
CN110321757A (en) * 2018-03-29 2019-10-11 阿里巴巴集团控股有限公司 Across end living creature characteristic recognition system, biological characteristic management system, method and device
CN109062587A (en) * 2018-08-08 2018-12-21 上海庆科信息技术有限公司 The burning management method and device of programming system and its server
CN109144531A (en) * 2018-08-08 2019-01-04 上海庆科信息技术有限公司 The approaches to IM and device of programming system and its server
CN109189409A (en) * 2018-08-08 2019-01-11 上海庆科信息技术有限公司 Programming system, programming system server and its parallel programming management method and device
CN109189421A (en) * 2018-08-08 2019-01-11 上海庆科信息技术有限公司 Burning management method, device and programming system based on programming system server
CN110750292A (en) * 2019-07-02 2020-02-04 苏州大学 NB-IoT-based remote automatic terminal updating system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553848A (en) * 2021-12-31 2022-05-27 山东有人物联网股份有限公司 Cloud programming system, method, equipment and computer storage medium
CN114553848B (en) * 2021-12-31 2024-03-12 山东有人物联网股份有限公司 Cloud programming system, method, equipment and computer storage medium

Also Published As

Publication number Publication date
CN112052019B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
EP3629610B1 (en) Method and apparatus for managing embedded universal integrated circuit card configuration file
US8463884B2 (en) Synchronization of mobile device with application server
CN104199706A (en) Firmware upgrade method and device for eMMC
JP4906916B2 (en) Method and program executed by device management system for remotely accessing terminal device
CN102281324B (en) Method for remote authorized management on menu items of mobile communication terminal system
CN105308560A (en) Method and apparatus for setting profile
CN112034807B (en) Module burning authorization tracking system, module burning method and device
CN112083936B (en) Module burning authorization tracking system, burning task creating method and device
KR20140077435A (en) Software update service method and apparatus for mobile terminal
CN101313512A (en) Method, terminal and system for terminal to carry out management operations in communication system
CN111787540B (en) Method and device for accessing Internet of things, electronic equipment and readable storage medium
CN102081537A (en) Method for upgrading software
CN111651180B (en) Firmware updating method and device, processor and intelligent gateway equipment
CN111241559A (en) Training model protection method, device, system, equipment and computer storage medium
CN109495874A (en) The method and apparatus of Profile downloading
CN112052019B (en) Module burning authorization tracking system, module burning method and device
CN112034808B (en) Module burning authorization tracking system, module burning information adjusting method and device
WO2018209986A1 (en) Method and device for downloading euicc subscription data
CN112055090B (en) Module burning authorization tracking system, module burning method and device
JP2020024758A (en) Maintenance element capable of being restored to factory state
CN114201184A (en) Method, device, storage medium, equipment and system for burning information
CN112034806B (en) Module burning authorization tracking system, module burning method and device
JP2015530038A (en) Method for establishing authorized communication between a physical object and a communication device
CN111683372A (en) Processing method and device of attribute information, processor and terminal
CN108199877B (en) Electronic equipment and authentication method and firmware upgrading method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant