Program burning method, device and equipment

By establishing a wireless link to receive Release version program in the entire machine device, the inefficiency problem caused by manual connection and disconnection of physical transmission lines is solved, and a more efficient program burning process is achieved.

CN114398042BActive Publication Date: 2025-05-16SPREADTRUM COMM SHENZHEN CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111669030.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2025-05-16
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

It is less efficient to burn the Release version program in the entire machine device, and requires manual connection and disconnection of physical transmission lines.

Method used

By obtaining the startup command, obtaining wireless connection information, establishing a wireless link, and receiving the Release version program sent by the first device through the wireless link, in order to burn the Release version program in the entire device.

Benefits of technology

There is no need to manually connect or disconnect physical transmission lines, which improves the efficiency of burning Release version programs in the entire machine device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114398042B_ABST
    Figure CN114398042B_ABST
Patent Text Reader

Abstract

The present application provides a method, device and equipment for burning a program, the method comprising: obtaining a startup instruction, the startup instruction is used to instruct a whole device to obtain wireless connection information; according to the startup instruction, obtaining the wireless connection information; according to the wireless connection information, establishing a wireless link, the wireless link is used for information transmission between the whole device and a first device; receiving a Release version program sent by the first device through the wireless link, so as to burn the Release version program in the whole device. The method, device and equipment for burning a program provided by the present application can be used to improve the efficiency of burning a Release version program in a whole device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to communication technology, and in particular to a program burning method, device and equipment. Background Art

[0002] In the process of manufacturing a terminal device (such as a mobile phone), after the circuit board is burned and tested, the circuit board is placed inside the housing to form a complete device.

[0003] In the related art, after the whole machine device is formed, it is necessary to manually connect the whole machine device and the burning device corresponding to the Release version program through a physical transmission line, so that the burning device can send the Release version program to the whole machine device through the physical transmission line, so as to burn the Release version program into the whole machine device. After the Release version program is burned, it is necessary to manually disconnect the physical transmission line between the whole machine device and the burning device, so that the whole machine device becomes a terminal device that can be used by the user.

[0004] In the above process, the whole device and the burning device need to be manually connected and disconnected, resulting in low efficiency in burning the Release version program in the whole device. Summary of the invention

[0005] The present application provides a program burning method, device and equipment, which are used to solve the problem of low efficiency in burning Release version programs in a complete device.

[0006] In a first aspect, the present application provides a program burning method, which is applied to a complete device, comprising:

[0007] Get a startup instruction, which is used to instruct the entire device to obtain wireless connection information;

[0008] According to the startup instruction, obtain the wireless connection information;

[0009] Establishing a wireless link according to the wireless connection information, where the wireless link is used for information transmission between the whole device and the first device;

[0010] The Release version program sent by the first device is received through the wireless link, so as to burn the Release version program into the whole device.

[0011] In a possible implementation, obtaining wireless connection information according to the startup instruction includes:

[0012] According to the startup command, control the entire device to enter the Recovery mode;

[0013] After entering the Recovery mode, the wireless connection information is obtained from the preset storage area of ​​the whole device.

[0014] In a possible implementation, after entering the Recovery mode, obtaining wireless connection information from the error data partition of the whole device includes:

[0015] After entering the Recovery mode, the preset boot program corresponding to the wireless communication module in the whole device is controlled to run, so as to load the firmware corresponding to the wireless communication module into the random access memory of the whole device, and control the wireless communication module to start working;

[0016] The wireless communication module is controlled to obtain the wireless connection information from the preset storage area of ​​the whole device through a preset recovery program.

[0017] In a possible implementation, the wireless connection information includes the name and password of the WIFI hotspot;

[0018] Establish a wireless link based on the wireless connection information, including:

[0019] According to the name and password of the WIFI hotspot, the whole device is controlled to establish a wireless link with the transfer device having the name and password of the WIFI hotspot.

[0020] In a possible implementation, receiving a Release version program sent by a first device through a wireless link includes:

[0021] Create a socket client;

[0022] Controlling the socket client to connect to the download application in the first device through a wireless link according to preset address information;

[0023] A Release version program sent by a download application program through a transfer device is received through a wireless link, and a wireless link exists between the transfer device and the first device.

[0024] In a possible implementation, before obtaining the start instruction, the method further includes:

[0025] A start-up instruction sent by a second device is received through a wired link, and the function of the second device is different from that of the first device.

[0026] In a possible implementation, before obtaining the start instruction, the method further includes:

[0027] The wireless connection information sent by the second device is received through the wired link, and the function of the second device is different from that of the first device.

[0028] In a second aspect, the present application provides a program burning device, which is applied to a complete device, including: a processing module and a wireless communication module;

[0029] A processing module, used to obtain a startup instruction, the startup instruction is used to instruct the whole device to obtain wireless connection information; according to the startup instruction, the wireless connection information is obtained; according to the wireless connection information, a wireless link is established, and the wireless link is used for the whole device and the first device to transmit information;

[0030] The wireless communication module is used to receive the Release version program sent by the first device through a wireless link, so as to burn the Release version program in the whole device.

[0031] In a possible implementation, the processing module is specifically used for:

[0032] According to the startup command, control the entire device to enter the Recovery mode;

[0033] After entering the Recovery mode, the wireless connection information is obtained from the preset storage area of ​​the whole device.

[0034] In a possible implementation, the processing module is specifically used for:

[0035] After entering the Recovery mode, control the running of the preset boot program corresponding to the wireless communication module to load the firmware corresponding to the wireless communication module into the random access memory of the whole device, and control the wireless communication module to start working;

[0036] The wireless communication module is controlled to obtain the wireless connection information from the preset storage area of ​​the whole device through a preset recovery program.

[0037] In a possible implementation, the wireless connection information includes the name and password of the WIFI hotspot; the processing module is specifically used for:

[0038] According to the name and password of the WIFI hotspot, the whole device is controlled to establish a wireless link with the transfer device having the name and password of the WIFI hotspot.

[0039] In a possible implementation, the processing module is specifically used for:

[0040] Create a socket client;

[0041] Controlling the socket client to connect to the download application in the first device through a wireless link according to preset address information;

[0042] A Release version program sent by a download application program through a transfer device is received through a wireless link, and a wireless link exists between the transfer device and the first device.

[0043] In a possible implementation, the wireless communication module 102 is further configured to:

[0044] Before acquiring the startup instruction, a startup instruction sent by a second device is received through a wired link, and the second device has a different function from the first device.

[0045] In a possible implementation, the wireless communication module 102 is further configured to:

[0046] Before acquiring the start-up instruction, wireless connection information sent by a second device is received through a wired link, and the second device has different functions from the first device.

[0047] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0048] Memory stores computer-executable instructions;

[0049] The processor executes the computer-executable instructions stored in the memory to implement any method as described in the first aspect.

[0050] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement any method as in the first aspect.

[0051] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which implements any one of the methods in the first aspect when executed by a processor.

[0052] The present application provides a method, device and equipment for burning a program, the method comprising: obtaining a startup instruction, the startup instruction is used to instruct the whole device to obtain wireless connection information; according to the startup instruction, obtaining the wireless connection information; according to the wireless connection information, establishing a wireless link, the wireless link is used for information transmission between the whole device and the first device; through the wireless link, receiving the Release version program sent by the first device, so as to burn the Release version program in the whole device. In the above method, according to the wireless connection information, a wireless link is established, and through the wireless link, the Release version program sent by the first device is received, so as to burn the Release version program in the whole device, without the need to manually connect the whole device and the burning device, and disconnect the whole device and the burning device, thereby improving the efficiency of burning the Release version program in the whole device. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0054] Figure 1 A schematic diagram of an application scenario of the program burning method provided in this application;

[0055] Figure 2 The process of the program burning method provided for this application Figure 1 ;

[0056] Figure 3 The process of the program burning method provided for this application Figure 2 ;

[0057] Figure 4 A communication architecture diagram provided for this application;

[0058] Figure 5 A schematic diagram of the structure of the program burning device provided by this application;

[0059] Figure 6 A hardware schematic diagram of the electronic device provided for this application.

[0060] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0061] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0062] In the process of manufacturing terminal equipment, the circuit board is subjected to production test version burning, calibration comprehensive test, PCBA (Printed Circuit Board Assembly) test, whole machine coupling test, and whole machine function test to form a complete machine. Before the complete machine equipment becomes a terminal equipment, the Release version program needs to be burned into the complete machine equipment.

[0063] In the related art, the whole machine device and the burning device corresponding to the Release version program are manually connected through a physical transmission line, so that the burning device can send the Release version program to the whole machine device through the physical transmission line, so as to burn the Release version program into the whole machine device. After the Release version program is burned, the physical transmission line between the whole machine device and the burning device is manually disconnected, which makes the efficiency of burning the Release version program in the whole machine device low.

[0064] In the present application, in order to improve the efficiency of burning the Release version program in the whole device, the inventor conceives of establishing a wireless link for information transmission between the whole device and the first device through wireless connection information, and receiving the Release version program sent by the first device through the wireless link, so as to burn the Release version program in the whole device, without the need for manual connection and disconnection of the whole device and the burning device, thereby improving the efficiency of burning the Release version program in the whole device.

[0065] Combine the following Figure 1 The application scenarios of the program burning method provided in this application are described.

[0066] Figure 1 This is a schematic diagram of the application scenario of the program burning method provided in this application. Figure 1 As shown, it includes: a first device and multiple complete devices. Figure 1 The following is an exemplary description using a plurality of complete devices including four complete devices as an example.

[0067] There is a wireless link between each complete device and the first device.

[0068] Each complete device can receive the Release version program sent by the first device via a wireless link, so as to burn the Release version program into each complete device, without the need to manually connect the complete device and the burning device, or disconnect the complete device and the burning device, thereby improving the efficiency of burning the Release version program in the complete device.

[0069] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0070] Figure 2 The process of the program burning method provided for this application Figure 1 .like Figure 2 As shown, the method includes:

[0071] S201: Obtain a startup instruction, where the startup instruction is used to instruct the entire device to obtain wireless connection information.

[0072] It should be noted that the program burning method provided in this application is a method executed by the whole device (or program burning device) at the last burning station in the generation process, wherein the start instruction is obtained at a station before the last burning station and adjacent to the last burning station.

[0073] S202: Acquire wireless connection information according to the startup instruction.

[0074] Optionally, the wireless connection information may include: a name and password of a WIFI hotspot, wherein the WIFI hotspot may be a hotspot of a transfer device, such as a router.

[0075] Optionally, the wireless connection information may include: a name and a password of a device hotspot, wherein the device hotspot may be a hotspot of the first device.

[0076] S203: Establish a wireless link according to the wireless connection information, where the wireless link is used for information transmission between the whole device and the first device.

[0077] When the wireless connection information includes the name and password of the WIFI hotspot, the wireless link is an information transmission link between the first device, the transfer device and the whole device.

[0078] When the wireless connection information includes the name and password of the device hotspot, the wireless link is an information transmission link between the first device and the whole device.

[0079] S204: Receive the Release version program sent by the first device through the wireless link to burn the Release version program into the whole device.

[0080] When the wireless link is an information transmission link between the first device, the transfer device and the whole device, the first device sends the Release version program to the whole device through the transfer device, so that the Release version program is burned in the whole device.

[0081] When the wireless link is an information transmission link between the first device and the complete device, the first device directly sends the Release version program to the complete device, so as to burn the Release version program in the complete device.

[0082] It should be noted that after the Release version program is burned into the whole device, the whole device becomes a terminal device that can be used by the user.

[0083] exist Figure 2 In the program burning method provided in the embodiment, a wireless link is established based on the wireless connection information, and the Release version program sent by the first device is received through the wireless link to burn the Release version program in the whole device. There is no need to manually connect the whole device and the burning device, or disconnect the whole device and the burning device, thereby improving the efficiency of burning the Release version program in the whole device.

[0084] This is different from the prior art. In the prior art, when there are a large number of complete devices, for each complete device, it is necessary to manually connect the complete device and the burning device, and disconnect the complete device and the burning device, resulting in low efficiency in burning the Release version program in multiple complete devices. In the present application, when there are a large number of complete devices, for each complete device, the complete device can perform the above Figure 2 The program burning method provided in the embodiment enables the whole device to receive the Release version program sent by the first device through a wireless link, so as to burn the Release version program in multiple whole devices, thereby greatly improving the efficiency of burning the Release version program in multiple whole devices.

[0085] Based on the above embodiments, Figure 3 , taking the wireless connection information including the name and password of the WIFI hotspot as an example, the method provided by this application is further described in detail. For details, please refer to Figure 3 Example.

[0086] Figure 3 The process of the program burning method provided for this application Figure 2 .like Figure 3 As shown, the method includes:

[0087] S301. Receive wireless connection information sent by a second device through a wired link. The second device has different functions from the first device. The wireless connection information includes the name and password of the WIFI hotspot.

[0088] There is a wireless link between the first device and the transfer device. Specifically, there is a wireless link between the wireless communication module in the first device and the transfer device.

[0089] There is no wireless link between the second device and the transit device.

[0090] The first device is a device corresponding to the last burning station, and the second device is a device corresponding to a station before the last burning station and adjacent to the last burning station.

[0091] Optionally, after receiving the wireless connection information, the whole device may store the wireless connection information in a preset storage area.

[0092] Optionally, the preset storage area may be an error data partition (miscdata partition) or other data partition.

[0093] The first device is used to burn the Release version program into the whole device, and the second device is used for whole device function test and station position check.

[0094] S302: Receive a startup instruction sent by a second device through a wired link.

[0095] Optionally, the wired link is a link that communicates via a USB (Universal Serial Bus) or a serial port.

[0096] S303: According to the startup instruction, control the entire device to enter the Recovery mode.

[0097] Recovery mode is a mode that can modify the internal data or system of Android.

[0098] S304: After entering the Recovery mode, obtain wireless connection information from a preset storage area of ​​the whole device.

[0099] In a possible design, S302 specifically includes:

[0100] After entering the Recovery mode, the preset boot program corresponding to the wireless communication module in the whole device is controlled to run, so as to load the firmware corresponding to the wireless communication module into the random access memory of the whole device, and control the wireless communication module to start working;

[0101] The wireless communication module is controlled to obtain the wireless connection information from the preset storage area of ​​the whole device through a preset recovery program.

[0102] Optionally, when the wireless connection information includes the name and password of the WIFI hotspot, the wireless communication module is a WIFI module. Further, when the wireless communication module is a WIFI module, the preset boot program corresponding to the WIFI module is a bootloader, and the firmware corresponding to the wireless communication module is frimware.

[0103] Specifically, during the process of running the preset boot program, the firmware can be loaded into the RAM (Random Access Memory) of the whole device, so that the wireless communication module is powered on and started, so as to realize the control of the wireless communication module startup work.

[0104] Optionally, the preset recovery program is a Recovery program.

[0105] Optionally, when the preset storage area is an error data partition (miscdata partition), the wireless connection information is obtained from the error data partition.

[0106] S305: According to the name and password of the WIFI hotspot included in the wireless connection information, control the whole device to establish a wireless link with the transfer device having the name and password of the WIFI hotspot.

[0107] It should be noted that, since there is also a wireless link between the first device and the transfer device, after the wireless link is established between the whole device and the transfer device, information can be transmitted between the first device and the transfer device.

[0108] S306: Create a socket client.

[0109] Optionally, a socket client may be created via the above-mentioned preset recovery procedure.

[0110] S307: Control the socket client to connect to the download application in the first device through the wireless link according to the preset address information.

[0111] Optionally, the preset address information may be an IP address of the first device, for example, the IP address may be 192.168.1.1.

[0112] Optionally, the download application may be a FactoryDownload tool.

[0113] S308: Receive the Release version program sent by the download application through the transfer device via the wireless link, so as to burn the Release version program into the whole device.

[0114] Optionally, the download application sends a Release version program to the transfer device via a wireless link and in accordance with a preset protocol, and the transfer device sends the Release version program to the whole device via the wireless link.

[0115] Specifically, the preset recovery program in the whole device receives the partition data included in the Release version program in sequence, and writes the partition data into the storage partition corresponding to the partition data, until the complete Release version program is received, and all partition data included in the complete Release version program is written to its corresponding storage partition, thereby completing the writing of the Release version program in the whole device.

[0116] Specifically, the flash memory in the whole device may include multiple storage partitions, and a field corresponding to each storage partition is predefined, and the field indicates an identifier for writing partition data into the storage partition. After the preset recovery program receives the partition data, the partition data can be written into the storage partition according to the field corresponding to each storage partition.

[0117] For example, when the multiple storage partitions include storage partitions 1 and 2, the fields corresponding to storage partition 1 are 1-200, and the fields corresponding to storage partition 2 are 201-400, if the received partition data is located in the fields 201-400, the received partition data is stored in storage partition 2.

[0118] exist Figure 3 In the program burning method provided in the embodiment, at the previous station adjacent to the last burning station, the wireless connection information and the start-up instruction are received in accordance with the original wired link mode, so that at the last burning station, a wireless link is established according to the start-up instruction and the wireless connection information, thereby ensuring that the first device and the whole device transmit information in a wireless manner. Furthermore, the Release version program sent by the first device is received through the wireless link to burn the Release version program in the whole device, which can improve the efficiency of burning the Release version program in the whole device.

[0119] exist Figure 3 Based on this, this application also provides a communication architecture diagram for burning the Release version program. For details, please refer to Figure 4 .

[0120] Figure 4 A communication architecture diagram provided for this application. Figure 4 As shown, it includes: multiple complete devices, a transfer device (such as a router) and a first device.

[0121] For each complete device, a wireless link exists between the wireless communication module in the complete device and the wireless communication module in the first device and the transfer device.

[0122] The download application in the first device can send the Release version program to the preset recovery program in each complete device through a wireless link.

[0123] Figure 5 This is a schematic diagram of the structure of the program burning device provided by this application. Figure 5 As shown, the program burning device 10 includes: a processing module 101 and a wireless communication module 102;

[0124] The processing module 101 is used to obtain a startup instruction, which is used to instruct the whole device to obtain wireless connection information; according to the startup instruction, the wireless connection information is obtained; according to the wireless connection information, a wireless link is established, and the wireless link is used for the whole device and the first device to transmit information;

[0125] The wireless communication module 102 is used to receive the Release version program sent by the first device through a wireless link, so as to burn the Release version program into the whole device.

[0126] The program burning device 10 provided in the present application can execute the above-mentioned program burning method, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0127] In a possible implementation, the processing module 101 is specifically configured to:

[0128] According to the startup command, control the entire device to enter the Recovery mode;

[0129] After entering the Recovery mode, the wireless connection information is obtained from the preset storage area of ​​the whole device.

[0130] In a possible implementation, the processing module 101 is specifically configured to:

[0131] After entering the Recovery mode, the preset boot program corresponding to the wireless communication module 102 is controlled to run, so as to load the firmware corresponding to the wireless communication module 102 into the random access memory of the whole device, and control the wireless communication module to start working;

[0132] The wireless communication module 102 is controlled to obtain the wireless connection information from a preset storage area of ​​the whole device through a preset recovery program.

[0133] In a possible implementation, the wireless connection information includes the name and password of the WIFI hotspot; the processing module 101 is specifically used for:

[0134] According to the name and password of the WIFI hotspot, the whole device is controlled to establish a wireless link with the transfer device having the name and password of the WIFI hotspot.

[0135] In a possible implementation, the processing module 101 is specifically configured to:

[0136] Create a socket client;

[0137] Controlling the socket client to connect to the download application in the first device through a wireless link according to preset address information;

[0138] A Release version program sent by a download application program through a transfer device is received through a wireless link, and a wireless link exists between the transfer device and the first device.

[0139] In a possible implementation, the wireless communication module 102 is further configured to:

[0140] Before acquiring the startup instruction, a startup instruction sent by a second device is received through a wired link, and the second device has a different function from the first device.

[0141] In a possible implementation, the wireless communication module 102 is further configured to:

[0142] Before acquiring the start-up instruction, wireless connection information sent by a second device is received through a wired link, and the second device has different functions from the first device.

[0143] The program burning device 10 provided in the present application can execute the above-mentioned program burning method, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0144] Figure 6 The hardware diagram of the electronic device provided in this application. Figure 6 As shown, the electronic device 20 may include: a transceiver 201 , a memory 202 and a processor 203 .

[0145] The transceiver 201 may include: a transmitter and / or a receiver. The transmitter may also be referred to as a transmitter, a transmitter, a transmission port, a transmission interface, or the like. The receiver may also be referred to as a receiver, a receiver, a reception port, a reception interface, or the like.

[0146] Exemplarily, the transceiver 201, the memory 202, and the processor 203 are interconnected via a bus.

[0147] The memory 202 is used to store computer executable instructions.

[0148] The processor 203 is used to execute the computer execution instructions stored in the memory 202, so that the processor 203 executes the above-mentioned program burning method.

[0149] Optionally, the program burning method provided by the present application can be executed by the following devices: a chip, a chip module, or the above-mentioned program burning device in the whole device. The program burning device (virtual device) can be, for example: a chip, a chip module, program software, etc.

[0150] Regarding the various modules / units included in the various devices and products described in the above embodiments, they can be software modules / units, or hardware modules / units, or they can be partially software modules / units and partially hardware modules / units. For example, for various devices and products applied to or integrated in a chip, the various modules / units included therein can all be implemented in the form of hardware such as circuits, or at least some of the modules / units can be implemented in the form of software programs, which run on a processor integrated inside the chip, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in a chip module, the various modules / units included therein can all be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (such as a chip, circuit module, etc.) or different components of the chip module, or at least some of the modules / units can be implemented in the form of hardware such as circuits. The element can be implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the terminal, the various modules / units contained therein can be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits.

[0151] The present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the above-mentioned program burning method is implemented.

[0152] The present application also provides a computer program product, including a computer program, which can implement the above-mentioned program burning method when executed by a processor.

[0153] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The above-mentioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the above-mentioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.

[0154] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0155] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0156] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0157] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0158] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

[0159] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0160] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A program burning method, characterized in that: include: Obtaining a startup instruction, wherein the startup instruction is used to instruct the entire device to obtain wireless connection information; According to the startup instruction, control the entire device to enter the Recovery mode; After entering the recovery mode, controlling the running of a preset boot program corresponding to the wireless communication module in the whole device, so as to load the firmware corresponding to the wireless communication module into the random access memory of the whole device, and controlling the wireless communication module to start working; Controlling the wireless communication module to obtain wireless connection information from a preset storage area of ​​the whole device through a preset recovery program; the wireless connection information is received at a previous station adjacent to the last burning station and stored in the preset storage area; According to the wireless connection information, a wireless link is established, where the wireless link is used for information transmission between the whole device and the first device; the first device is the device corresponding to the last burning station; The Release version program sent by the first device is received through the wireless link, so as to burn the Release version program into the whole device.

2. The method according to claim 1, characterized in that The wireless connection information includes the name and password of the WIFI hotspot; The step of establishing a wireless link according to the wireless connection information includes: According to the name and password of the WIFI hotspot, the whole device is controlled to establish the wireless link with the transfer device having the name and password of the WIFI hotspot.

3. The method according to claim 1, characterized in that The receiving, through the wireless link, a Release version program sent by the first device, comprises: Create a socket client; Controlling the socket client to connect to the download application in the first device through the wireless link according to the preset address information; The Release version program sent by the download application program through a transfer device is received through the wireless link, and a wireless link exists between the transfer device and the first device.

4. The method according to claim 1, characterized in that: Before obtaining the start instruction, the method further includes: The start instruction sent by a second device is received through a wired link, and the function of the second device is different from that of the first device.

5. The method according to claim 1, characterized in that Before obtaining the start instruction, the method further includes: The wireless connection information sent by a second device is received through a wired link, and the second device has a different function from the first device.

6. A program burning device, characterized in that: include: a processing module and a wireless communication module; The processing module is used to obtain a startup instruction, which is used to instruct the whole device to obtain wireless connection information; according to the startup instruction, the whole device is controlled to enter the Recovery mode; after entering the Recovery mode, the preset boot program corresponding to the wireless communication module in the whole device is controlled to run, so as to load the firmware corresponding to the wireless communication module into the random access memory of the whole device, and control the startup of the wireless communication module; the wireless communication module is controlled to obtain the wireless connection information from the preset storage area of ​​the whole device through the preset recovery program; the wireless connection information is received at the previous station adjacent to the last burning station and stored in the preset storage area; according to the wireless connection information, a wireless link is established, and the wireless link is used for information transmission between the whole device and the first device; the first device is the device corresponding to the last burning station; The wireless communication module is used to receive the Release version program sent by the first device through the wireless link, so as to burn the Release version program into the whole device.

7. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.

9. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 5 when being executed by a processor.

Citation Information

Patent Citations

  • Application installation file obtaining method, system and user equipment

    CN103873514A

  • Burning device and system

    CN110515633A

  • Method and system for obtaining factory setting restoration result of electronic equipment

    CN113190383A