Program burning method and device of receiving card and program burning system of receiving card

Through the program burning method of the receiving card, the communication between the burning tool and the host computer is used to determine the chip type and obtain the target program, which solves the problem of low efficiency in different chip burning requirements and production environments, and achieves efficient and universal burning. The manufacturing cycle is shortened and the cost is reduced.

CN118567666APending Publication Date: 2024-08-30XIAN NOVASTAR TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410650376.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing technology is difficult to meet the burning needs of different chips, and the traditional burning method is inefficient in the production environment and cannot achieve efficient and universal burning of chip programs.

Method used

Through the program burning method of the receiving card, the communication connection between the burning tool and the host computer is used to determine the chip type, and the target program is obtained from the host computer for chip burning. It supports the burning of multiple chip types at the same time, including online and Trigger conditions and authorization operations in offline state.

Benefits of technology

It achieves universal programming of different chips, improves programming efficiency in the production environment, simplifies the mass production process, reduces costs, and shortens the manufacturing cycle from 9 days to 5 days.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567666A
    Figure CN118567666A
Patent Text Reader

Abstract

The invention is suitable for the technical field of circuit boards, and provides a program burning method and device of a receiving card and a program burning system of the receiving card. The program burning method of the receiving card is applied to a program burning system, and the burning method comprises the steps that the chip type on a first receiving card is determined, and the chip type comprises at least one of a first chip and a second chip; based on the determined chip type, the burning tool obtains a first target program and / or a second target program from the upper computer and stores the first target program and / or the second target program into a memory; burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip; wherein on the basis that the first receiving card is provided with the first chip and the second chip at the same time, the first target program is preferentially acquired and burnt to the first chip, and then the second target program is acquired and burnt to the second chip. According to the embodiment of the invention, the universality of program burning of the receiving card can be improved, and the burning efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of receiving cards, and in particular, relates to a method and device for burning a program of a receiving card, and a system for burning a program of a receiving card. Background Art

[0002] Printed Circuit Board Assembly (PCBA) can be called a printed circuit board, which is obtained by soldering a chip on a blank PCB board. In order for the circuit board to realize business functions, the chip in the PCBA needs to be burned with a program. The current burning method generally involves burning the program on the chip through a burning tool before soldering the chip to the PCBA. After the burning is completed, the chip is soldered to the PCBA to form a product, and then the product can realize the corresponding business functions through the chip. In this case, the burning tool can only burn one chip. Another way is to design a special tool for each product, but this method is also difficult to meet the burning requirements of different chips. Summary of the invention

[0003] The embodiments of the present application provide a method and device for burning a program of a receiving card and a system for burning a program of a receiving card, which can improve the versatility of burning a program of a receiving card and improve the burning efficiency in a production environment.

[0004] According to a first aspect of an embodiment of the present application, there is provided a method for burning a program of a receiving card, which is applied to a program burning system including a burning tool and a host computer, wherein the burning tool is used to connect to a first receiving card to be burned; a first chip and / or a second chip for storing a burned program are electrically connected to the first receiving card; the burning tool is communicatively connected to the host computer, and comprises a memory for storing a first target program and a second target program, wherein the first target program is suitable for being burned into the first chip, and the second target program is suitable for being burned into the second chip; the burning method comprises: determining a chip type on the first receiving card, wherein the chip type comprises at least one of the first chip and the second chip; based on the determined chip type, the burning tool obtains the first target program and / or the second target program from the host computer and stores them in the memory; the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip; wherein, based on the fact that the first receiving card has both the first chip and the second chip, the first target program is preferentially obtained and burned into the first chip, and then the second target program is obtained and burned into the second chip.

[0005] In some embodiments of the first aspect, burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip includes: detecting the communication connection status between the burning tool and the host computer; when the burning tool meets the trigger condition corresponding to the communication connection status, burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip.

[0006] In some embodiments of the first aspect, the burning tool is configured with a trigger component; when the burning tool meets the trigger condition corresponding to the communication connection status, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip, including: if the communication connection status is an offline state, then when the trigger signal of the trigger component is detected, the number of times the burning tool has been burned in the offline state is obtained; if the number of times burned is less than a preset maximum number, it is confirmed that the burning tool meets the trigger condition, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip, and the number of times burned is updated.

[0007] In some implementations of the first aspect, after the number of burned times is updated, the method further includes: if the updated number of burned times is equal to the maximum number, clearing the program stored in the memory.

[0008] In some implementations of the first aspect, after the number of burned times is updated, the method further includes: if it is detected that the communication connection state is switched from the offline state to the online state, the number of burned times is cleared.

[0009] In some embodiments of the first aspect, when the burning tool meets the trigger condition corresponding to the communication connection status, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip, including: if the communication connection status is an online state, then when receiving the burning instruction sent by the host computer, confirming that the burning tool meets the trigger condition, and burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip.

[0010] In some embodiments of the first aspect, after burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip, it also includes: detecting the file size of the burned program; comparing the file size of the burned program with the standard file size of the first target program and / or the second target program to obtain a verification result.

[0011] In some embodiments of the first aspect, the burning method also includes: sending a heartbeat command to the host computer at a first preset frequency, the heartbeat command being used to determine the communication connection status; and / or sending burning progress information to the host computer at a second preset frequency, the burning progress information being used to characterize the file size of the first target program and / or the second target program that has been burned.

[0012] In some embodiments of the first aspect, the burning tool is also used to connect to a second receiving card to be burned; after burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip, the burning method also includes: determining the chip type on the second receiving card; if the chip type of the second receiving card includes a chip type that is not included in the first receiving card, then based on the chip type of the second receiving card, the burning tool obtains a third target program from the host computer and stores it in the memory, the third target program being different from the first target program and the second target program; and burning the third target program in the memory into the chip of the second receiving card.

[0013] In some embodiments of the first aspect, before burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip, it also includes: obtaining the identification of the host computer and the mailbox information of a preset mailbox; according to the mailbox information, sending the first license certificate generated based on the identification to the preset mailbox; in response to the input operation of the license certificate, when the input second license certificate is consistent with the first license certificate, completing the authorization operation.

[0014] According to a second aspect of an embodiment of the present application, there is provided a program burning device for a receiving card, which is configured in a program burning system including a burning tool and a host computer, wherein the burning tool is used to connect to a first receiving card to be burned; the first receiving card is electrically connected to a first chip and / or a second chip for storing a program to be burned; the burning tool is communicatively connected to the host computer, and comprises a memory for storing a first target program and a second target program, wherein the first target program is suitable for being burned into the first chip, and the second target program is suitable for being burned into the second chip; the burning device comprises: a determination unit for determining the type of chip on the first receiving card, wherein the chip type comprises The invention relates to a memory device comprising at least one of the first chip and the second chip; a storage unit, which is used for the burning tool to obtain the first target program and / or the second target program from the host computer and store them in the memory based on the determined chip type; a burning unit, which is used to burn the first target program in the memory into the first chip and / or burn the second target program in the memory into the second chip; wherein, based on the first receiving card having both the first chip and the second chip, the first target program is obtained and burned to the first chip first, and then the second target program is obtained and burned to the second chip.

[0015] According to a third aspect of an embodiment of the present application, a program burning system for a receiving card is provided, comprising a host computer and a burning tool connected to the host computer, wherein the burning tool is used to connect to a first receiving card to be burned; a first chip and / or a second chip for storing a burned program are electrically connected to the first receiving card; the burning tool is communicatively connected to the host computer, and comprises a memory for storing a first target program and a second target program, wherein the first target program is suitable for being burned into the first chip, and the second target program is suitable for being burned into the second chip; the burning tool is used to determine the chip type on the first receiving card, and the chip type includes at least one of the first chip and the second chip; based on the determined chip type, the burning tool obtains the first target program and / or the second target program from the host computer and stores them in the memory; the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip; wherein, based on the fact that the first receiving card has both the first chip and the second chip, the first target program is preferentially obtained and burned into the first chip, and then the second target program is obtained and burned into the second chip.

[0016] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the program burning method of the above-mentioned receiving card are implemented.

[0017] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a program burning system of a receiving card, the program burning system of the receiving card executes the steps of the program burning method of the receiving card.

[0018] In an embodiment of the present application, a program burning system of a receiving card determines a chip type on a first receiving card. Based on the determined chip type, a burning tool obtains a first target program and / or a second target program from a host computer and stores the obtained program in a memory, and then burns the first target program in the memory into the first chip and / or burns the second target program in the memory into the second chip. The same burning tool can be used to meet the burning requirements of a receiving card including both a first chip and a second chip, which helps to improve the versatility of the receiving card program burning. When applied to a mass production environment, the burning efficiency in the production environment can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 It is a structural diagram of a program burning system for a receiving card provided in an embodiment of the present application;

[0021] Figure 2 It is a specific structural diagram of a program burning system for a receiving card provided in an embodiment of the present application;

[0022] Figure 3 It is a schematic diagram of the implementation flow of a method for burning a program of a receiving card provided in an embodiment of the present application;

[0023] Figure 4 It is a schematic diagram of the upper computer software interface provided in the embodiment of the present application;

[0024] Figure 5 This is a schematic diagram of a specific implementation process of offline burning provided by an embodiment of the present application;

[0025] Figure 6 It is a schematic diagram of a specific implementation process of online burning provided in an embodiment of the present application;

[0026] Figure 7 This is a schematic diagram of a specific implementation process of the authorization operation provided in the embodiment of the present application;

[0027] Figure 8is a schematic diagram of the authorization operation provided in the embodiment of the present application;

[0028] Fig. 9 It is a schematic diagram of the burning process of the program burning system of the receiving card provided in the embodiment of the present application;

[0029] Fig.10 It is a structural schematic diagram of a program burning device for a receiving card provided in an embodiment of the present application;

[0030] Fig.11 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are protected by the present application.

[0032] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0033] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0034] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0035] In order for the circuit board to realize the business functions, the chip in the PCBA needs to be burned with a program. The current burning method is generally to burn the chip with a burning tool before soldering the chip to the PCBA. After the burning is completed, the chip is soldered to the PCBA to form a product, and then the product can realize the corresponding business functions through the chip. In this case, the burning tool can only burn one chip. Another way is to design a special tool for each product, but this method is also difficult to meet the burning requirements of different chips.

[0036] In view of this, the present application proposes a method for burning a program for a receiving card, which can burn a chip that has been soldered to a circuit board to form a receiving card, and at the same time can meet the burning requirements of different chips on the same product, thereby improving the versatility of program burning.

[0037] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.

[0038] Please refer to Figure 1 , Figure 1 A program burning system 10 for a receiving card provided in an embodiment of the present application is shown. The program burning system 10 for a receiving card can be used to burn a chip of a receiving card.

[0039] The program burning system 10 of the receiving card may include a host computer 101 and a burning tool 102 connected to the host computer 101 .

[0040] The burning tool 102 can be used to connect with the first receiving card to be burned. The first receiving card is electrically connected to a first chip and / or a second chip for storing the burned program. The first chip and the second chip are different types of chips and can be used to implement different receiving card functions. For example, the first chip and the second chip can be a flash chip and a microcontroller unit (MCU) respectively.

[0041] The burning tool 102 is connected to the host computer 101 in communication, and includes a memory for storing a first target program and a second target program, wherein the first target program is suitable for being burned into the first chip, and the second target program is suitable for being burned into the second chip. For example, when the first chip is a flash memory chip, the first target program can be a data reading and writing program. When the second chip is a micro control unit, the second target program can be a control program.

[0042] The host computer 101 may be used to establish a communication connection with the burning tool 102 , and transmit the first target program and / or the second target program to the burning tool 102 through the communication connection.

[0043] It is understandable that after the transmission of the first target program and / or the second target program is completed, the host computer 101 and the burning tool 102 may maintain or disconnect the communication connection.

[0044] The burning tool 102 can be used to determine the chip type on the first receiving card, obtain the first target program and / or the second target program from the host computer 101 and store them in the memory; burn the first target program in the memory into the first chip and / or burn the second target program in the memory into the second chip.

[0045] In this way, on the one hand, the program burning system 10 of the receiving card can burn the program of the chip that has been soldered to the circuit board to form the receiving card. On the other hand, the burning tool 102 can receive the chip type of the card and burn the programs of different chips, so that a single burning tool 102 can meet the burning requirements of different chips, which helps to improve the versatility of program burning. When the program burning system 10 of the receiving card is applied to a mass production environment, compared with the traditional burning before the chip is soldered to the PCBA, it can improve the burning efficiency in the production environment.

[0046] In some embodiments of the present application, the number of the burning tool 102 may be one or more. The number of the first receiving card may also be one or more. When the number of the first receiving card is multiple, such as Figure 2 As shown, multiple first receiving cards can be connected to the same switch, and the switch is connected to the burning tool 102. Therefore, the burning tool 102 can burn multiple first receiving cards at the same time.

[0047] It should be noted that the program burning system 10 of the receiving card may also include Figure 1 Other components other than the burning tool 102 and the host computer 101 shown. For example, the aforementioned first receiving card can be used as a part of the program burning system 10 of the receiving card. For another example, the program burning system 10 of the receiving card can also include a camera for photographing the identification code of the receiving card. This application does not limit this.

[0048] Figure 3 The following is a schematic diagram of the implementation flow of a method for burning a program of a receiving card provided in an embodiment of the present application, which can be applied to a receiving card program burning system 10. Specifically, the method for burning a program of a receiving card can include the following steps S301 to S303.

[0049] Step S301, determining the chip type on the first receiving card.

[0050] The chip type may specifically refer to the chip type of the chip that needs to be burned with the program, and may include at least one of the first chip and the second chip. In some embodiments of the present application, the staff may input the chip type on the first receiving card in the software program of the host computer 101 according to the situation of the first receiving card currently burned. In other embodiments, the chip type may also be obtained by visual recognition or other methods, which is not limited by the present application.

[0051] Step S302: Based on the determined chip type, the burning tool obtains the first target program and / or the second target program from the host computer and stores them into the memory.

[0052] Specifically, when the chip type of the chip on the first receiving card that needs to burn the program is the first chip, the burning tool 102 can obtain the first target program from the host computer 101 and store it in the memory. When the chip type of the chip on the first receiving card that needs to burn the program is the second chip, the burning tool 102 can obtain the second target program from the host computer 101 and store it in the memory. When the chip type of the chip on the first receiving card that needs to burn the program is the first chip and the second chip, the burning tool 102 can obtain the first target program and the second target program from the host computer 101 and store them in the memory.

[0053] Step S303, burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip.

[0054] In the implementation of the present application, if the first target program is stored in the memory, the burning tool 102 can burn the first target program in the memory into the first chip on the first receiving card. If the second target program is stored in the memory, the burning tool 102 can burn the second target program in the memory into the second chip on the first receiving card.

[0055] In the implementation manner of the present application, based on the fact that the first receiving card has both the first chip and the second chip, the first target program is acquired and burned to the first chip first, and then the second target program is acquired and burned to the second chip.

[0056] In an embodiment of the present application, a program burning system of a receiving card determines a chip type on a first receiving card. Based on the determined chip type, a burning tool obtains a first target program and / or a second target program from a host computer and stores the obtained program in a memory, and then burns the first target program in the memory into the first chip and / or burns the second target program in the memory into the second chip. The same burning tool can be used to meet the burning requirements of a receiving card including both a first chip and a second chip, which helps to improve the versatility of program burning. When applied to a mass production environment, it can improve the burning efficiency in a production environment.

[0057] In some embodiments of the present application, the burning tool 102 can detect the communication connection status between the burning tool 102 and the host computer 101, and when the burning tool 102 meets the trigger condition corresponding to the communication connection status, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip.

[0058] In the implementation manner of the present application, after completing the transmission of the first target program and / or the second target program, the host computer 101 and the burning fixture 102 can maintain a communication connection or disconnect the communication connection. If the host computer 101 maintains a communication connection with the burning fixture 102, the communication connection state is a connection state, and if the host computer 101 disconnects the communication connection with the burning fixture 102, the communication connection state is an offline state. Different trigger conditions can be set for the connection state and the offline state. When the burning fixture 102 meets the trigger condition corresponding to the communication connection state, the burning fixture 102 can burn the first target program in the memory into the first chip and / or burn the second target program in the memory into the second chip.

[0059] In some implementations of the present application, the burning tool 102 may send a heartbeat command to the host computer 101 at a first preset frequency.

[0060] The heartbeat command can be used to determine the communication connection status. The first preset frequency can be set according to actual needs. For example, the burning tool 102 can send an online heartbeat command to the host computer 101 every 3 seconds.

[0061] If the host computer 101 receives the heartbeat command, it can be confirmed that the communication connection state is online, and the current communication connection state is fed back to the burning tool 102. If the host computer 101 does not receive the heartbeat command, it can be confirmed that the communication connection state is offline. The burning tool 102 does not receive the communication connection state fed back by the host computer 101, and can be confirmed to be offline.

[0062] In some embodiments of the present application, after receiving the heartbeat command, the host computer 101 can also display the communication connection status of the burning tool 102 in real time. Figure 4 As shown, the host computer 101 can display the device identification (device ID) and device IP of all connected burning tools in the software interface, and display information on whether the corresponding device is online based on whether a heartbeat command is received.

[0063] In some embodiments of the present application, the burning tool 102 may be configured with a trigger component, which may be a button, a joystick or other physical component, or a touch component in the display screen of the burning tool 102, which is not limited in the present application.

[0064] Correspondingly, such as Figure 5 As shown, when the burning tool meets the trigger condition corresponding to the communication connection state, burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip may include: step S501 to step S502.

[0065] Step S501, if the communication connection state is an offline state, then when a trigger signal of a trigger component is detected, the number of times the burning tool has been burned in the offline state is obtained.

[0066] In some embodiments of the present application, if the communication connection status is offline, it means that the user cannot control the burning tool 102 to start burning through the host computer 101. At this time, the user needs to control the burning tool 102 to start burning through the trigger component. Thus, the burning tool 102 can detect the trigger signal of the trigger component. When the trigger signal of the trigger component is detected, it means that the first receiving card needs to be burned. At this time, the burning tool 102 can obtain the number of times the burning tool has been burned in the offline state.

[0067] Step S502, if the number of times of burning is less than the preset maximum number, it is confirmed that the burning tooling meets the triggering condition, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip, and the number of times of burning is updated.

[0068] Specifically, in the offline state, when the burning tool 102 detects a trigger signal once, if the number of burned times is less than the preset maximum number of times, it can perform a burning, update the number of burned times (for example, add one), and record it.

[0069] In step S501, when the burning tool 102 detects the trigger signal of the trigger component, the recorded number of times burned can be obtained. If the number of times burned is less than the preset maximum number of times, it means that the burning tool 102 is currently allowed to burn the program, then it can be confirmed that the burning tool 102 meets the trigger condition, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip, and the number of times burned is updated. If the number of times burned is greater than or equal to the preset maximum number of times, it means that the burning tool 102 is currently not allowed to burn the program, then it can be confirmed that the burning tool 102 does not meet the trigger condition.

[0070] In some embodiments of the present application, the burning tool 102 can remind the user whether the burning tool 102 meets the trigger condition by lighting an indicator light, outputting a text prompt message, etc. For example, the burning tool 102 can light a red light when it does not meet the trigger condition, and can light a green light when it meets the trigger condition. In some embodiments of the present application, the burning tool 102 can also send the result of whether the trigger condition is met to the host computer 101.

[0071] In some implementations of the present application, if the updated number of burned times is equal to the maximum number, the program stored in the memory can be cleared to avoid the next burning and release the memory at the same time.

[0072] In some implementations of the present application, if it is detected that the communication connection state is switched from an offline state to an online state, the number of times burned can be cleared and the number of times burned can be recorded again from 0.

[0073] In the implementation manner of the present application, by triggering the component and setting the maximum number of times, the first receiving card can be burned when the burning tool 102 is in an offline state, meeting the scenario where the burning tool 102 and the host computer 101 need to be separated during burning, thereby improving the convenience of burning.

[0074] like Figure 6 As shown, when the burning tool meets the trigger condition corresponding to the communication connection state, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip, which may also include: step S601.

[0075] Step S601, if the communication connection state is online, upon receiving the burning instruction sent by the host computer, confirm that the burning tooling meets the triggering condition, and burn the first target program in the memory into the first chip and / or burn the second target program in the memory into the second chip.

[0076] That is to say, if the communication connection status is online, it means that the user can control the burning tool 102 through the host computer 101. When the burning tool 102 receives the burning instruction sent by the host computer 101, it can confirm that the burning tool 102 meets the trigger condition and burn the first target program in the memory into the first chip and / or burn the second target program in the memory into the second chip.

[0077] Among them, the host computer 101 can send a burning instruction to the burning tool 102 in various situations, and this application does not limit this. For example, the host computer 101 can send a burning instruction to the burning tool 102 after receiving a user's click operation on the burning trigger control in the software interface. For another example, the host computer 101 sends a burning instruction to the burning tool 102 according to a pre-set burning time.

[0078] In the implementation manner of the present application, the first receiving card can be burned through the host computer 101 when the burning tool 102 is in an online state. The host computer 101 can be a user's handheld terminal or an industrial computer in a production environment, which can improve the convenience of burning under batch burning conditions.

[0079] In some embodiments of the present application, the burning tool 102 may send burning progress information to the host computer 101 at a second preset frequency. The burning progress information may be used to indicate the size of the burned file of the first target program and / or the second target program.

[0080] Taking burning the first target program as an example, when the standard file size of the first target program is 1024 bytes and 768 bytes have been burned currently, the burning progress information may be that the burning ratio is 75%.

[0081] In some embodiments of the present application, Figure 4 As shown, the host computer 101 can display the burning progress information in real time so that the user can understand the burning progress.

[0082] In some embodiments of the present application, after burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip, it may also include: detecting the file size of the burned program, comparing the file size of the burned program with the standard file size of the first target program and / or the second target program to obtain a verification result.

[0083] Specifically, if the file size of the burned program is different from the standard file size of the first target program and / or the second target program, the verification result is a verification failure. If the file size of the burned program is the same as the standard file size of the first target program and / or the second target program, the verification result is a verification success. When the verification fails, the burning tool 102 can re-burn the first receiving card. When the verification is successful, it can be confirmed that the burning is completed.

[0084] Similarly, if Figure 4 As shown, in some implementation modes of the present application, the burning tool 102 can send the verification result to the host computer 101, which is displayed in real time by the host computer 101.

[0085] In some implementations of the present application, before burning the first target program and / or the second target program, the host computer 101 may perform an authorization operation to ensure that the current operating user has the authority to burn.

[0086] In some embodiments of the present application, Figure 7 As shown, the authorization operation may include steps S701 to S703.

[0087] Step S701, obtaining the identifier of the host computer and the mailbox information of the preset mailbox.

[0088] Among them, the preset mailbox can be an mailbox held by the user, and the mailbox information can refer to the mailbox address, mailbox name, etc.

[0089] Step S702: Send the first permission certificate generated based on the identifier to a preset mailbox according to the mailbox information.

[0090] In some implementations of the present application, the first permission certificate may be generated based on the identifier and a preset algorithm. According to the mailbox information, the host computer 101 may send the first permission certificate to a preset mailbox through a built-in mailbox.

[0091] Step S703: In response to the input operation of the license credential, when the input second license credential is consistent with the first license credential, the authorization operation is completed.

[0092] In some embodiments of the present application, the user may display an input box in the software interface of the host computer 101 to receive the user's input operation on the license credential, and the license credential input by the user is the second license credential. If the second license credential input is consistent with the first license credential, the authorization operation is completed. If the second license credential input is inconsistent with the first license credential, a prompt message is output, indicating that the authorization is invalid.

[0093] For example, see Figure 8 When a user applies for a license certificate, he can send the email information of the email A (preset email address) that receives the license certificate to the email address C through the email address B he uses. The host computer 101 obtains the email information of the email A through the email address C, generates a first license certificate, and sends the first license certificate to the email address A through the email address C. After the user receives the email carrying the first license certificate in the email address A, he can enter the license certificate in the software interface. If the second license certificate entered is consistent with the first license certificate, the authorization operation is completed. In this way, it helps to improve the security of burning.

[0094] In some embodiments of the present application, the burning tool 102 can also be used to connect with a second receiving card to be burned. The second receiving card is different from the first receiving card.

[0095] After burning the first target program and / or the second target program, the burning method may further include: determining the chip type on the second receiving card.

[0096] If the chip type of the second receiving card includes a chip type not included in the first receiving card, then based on the chip type of the second receiving card, the burning tool 102 obtains the third target program from the host computer 101 and stores it in the memory, and burns the third target program in the memory into the chip of the second receiving card. The third target program is different from the first target program and the second target program.

[0097] That is to say, after the program burning of the first receiving card is completed, if the second receiving card needs to be burned, the chip types between the first receiving card and the second receiving card can be compared. If the chip types of the second receiving card include chip types not included in the first receiving card, the third target program needs to be re-acquired. The third target program is a program corresponding to the chip type not included in the first receiving card.

[0098] Correspondingly, if the chip type of the second receiving card is the same as the chip type of the first receiving card, the burning tool 102 can be controlled to burn the second receiving card based on the first target program and / or the second target program. In this way, the program update process can be omitted and the burning efficiency can be improved.

[0099] For ease of understanding, Fig. 9 The work flow of the program burning system 10 of the receiving card is shown. First, the host computer 101 can load the first target program and the second target program, and broadcast the first target program and / or the second target program to the burning tool 102. The burning tool 102 can be connected to the first receiving card. If the burning tool 102 is in an offline state, it is necessary to obtain the number of times the burning tool 102 has been burned in the offline state when the trigger signal of the trigger component is detected. If the number of times the burning is greater than or equal to the preset maximum number of times, the red indicator light is turned on. If the number of times the burning is less than the preset maximum number of times, the first target program and / or the second target program are burned to the first receiving card. After the burning is completed, the file size is checked. If the check fails, the red indicator light is turned on, otherwise the green indicator light is turned on, and the result of successful burning is sent to the host computer 101. If the burning tool 102 is in an online state, when the burning instruction sent by the host computer 101 is received, the first target program and / or the second target program are burned to the first receiving card. After the burning is completed, the file size is checked. If the check fails, the red indicator light is on, otherwise the green indicator light is on, and the result of successful burning is sent to the upper computer 101.

[0100] After testing, compared with the traditional burning before soldering the chip to the PCBA, the burning method provided by this application can improve the burning efficiency in the production environment, and can shorten the manufacturing cycle from 9 days to 5 days in the receiving card manufacturing scenario. In addition, since the burning method provided by this application can burn different chips through a single burning tool 102, when combined with automated equipment, the cost can be effectively reduced.

[0101] It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders.

[0102] like Fig.10 FIG. 1 is a schematic structural diagram of a program burning device 1000 for a receiving card provided in an embodiment of the present application. The program burning device 1000 for a receiving card is configured in a program burning system 10 for a receiving card.

[0103] Specifically, the program burning device 1000 of the receiving card may include:

[0104] A determining unit 1001 is configured to determine a chip type on the first receiving card, where the chip type includes at least one of the first chip and the second chip;

[0105] The storage unit 1002 is used for obtaining the first target program and / or the second target program from the host computer and storing them in the memory based on the determined chip type;

[0106] A burning unit 1003, used for burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip;

[0107] Wherein, based on the fact that the first receiving card has both the first chip and the second chip, the first target program is acquired and burned to the first chip first, and then the second target program is acquired and burned to the second chip.

[0108] In some embodiments of the present application, the burning unit 1003 can be used to: detect the communication connection status between the burning tool and the host computer; when the burning tool meets the trigger condition corresponding to the communication connection status, burn the first target program in the memory into the first chip and / or burn the second target program in the memory into the second chip.

[0109] In some embodiments of the present application, the burning tool may be configured with a trigger component; the burning unit 1003 may be used for: if the communication connection state is an offline state, then when a trigger signal of the trigger component is detected, obtaining the number of times the burning tool has been burned in the offline state; if the number of times burned is less than a preset maximum number, confirming that the burning tool meets the trigger condition, burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip, and updating the number of times burned.

[0110] In some implementations of the present application, the burning unit 1003 may be configured to: if the updated number of burned times is equal to the maximum number, clear the program stored in the memory.

[0111] In some implementations of the present application, the burning unit 1003 may be configured to: if it is detected that the communication connection state is switched from the offline state to the online state, clear the number of burned times.

[0112] In some embodiments of the present application, the burning unit 1003 can be used for: if the communication connection status is online, then when receiving the burning instruction sent by the host computer, confirming that the burning tool meets the trigger condition, and burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip.

[0113] In some embodiments of the present application, the burning unit 1003 can be used to: detect the file size of the burned program; compare the file size of the burned program with the standard file size of the first target program and / or the second target program to obtain a verification result.

[0114] In some embodiments of the present application, the program burning device 1000 of the receiving card may include an upload unit, which is used to: send a heartbeat command to the host computer at a first preset frequency, and the heartbeat command is used to determine the communication connection status; and / or send burning progress information to the host computer at a second preset frequency, and the burning progress information is used to characterize the file size of the first target program and / or the second target program that has been burned.

[0115] In some embodiments of the present application, the burning unit 1003 can be used to: determine the chip type on the second receiving card; if the chip type of the second receiving card includes a chip type that is not included in the first receiving card, then based on the chip type of the second receiving card, the burning tool obtains a third target program from the host computer and stores it in the memory, and the third target program is different from the first target program and the second target program; and burns the third target program in the memory into the chip of the second receiving card.

[0116] In some embodiments of the present application, the program burning device 1000 of the receiving card may include an authorization unit, which is used to: obtain the identification of the host computer and the mailbox information of a preset mailbox; according to the mailbox information, send the first license certificate generated based on the identification to the preset mailbox; in response to the input operation of the license certificate, when the input second license certificate is consistent with the first license certificate, complete the authorization operation.

[0117] It should be noted that, for the convenience and simplicity of description, the specific working process of the program burning device 1000 of the receiving card can be referred to Figures 2 to 9 The corresponding process of the method will not be repeated here.

[0118] like Fig.11 As shown, it is a schematic diagram of an electronic device provided in an embodiment of the present application. Specifically, the electronic device 11 may refer to a burning tool 102 or a host computer 101. The electronic device 11 may include: a processor 110, a memory 111, and a computer program 112 stored in the memory 111 and executable on the processor 110, such as a program burning program for a receiving card. When the processor 110 executes the computer program 112, the steps in the above-mentioned program burning method embodiments of each receiving card are implemented. Alternatively, when the processor 110 executes the computer program 112, the functions of each module / unit in the above-mentioned device embodiments are implemented.

[0119] The computer program may be divided into one or more modules / units, which are stored in the memory 111 and executed by the processor 110 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the electronic device.

[0120] The electronic device may include, but is not limited to, a processor 110 and a memory 111. Those skilled in the art will appreciate that Fig.11These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0121] The processor 110 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0122] The memory 111 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device. The memory 111 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 111 may also include both an internal storage unit of the electronic device and an external storage device. The memory 111 is used to store the computer program and other programs and data required by the electronic device. The memory 111 may also be used to temporarily store data that has been output or is to be output.

[0123] It should be noted that, for the convenience and brevity of description, the structure of the above electronic device can also refer to the specific description of the structure in the method embodiment, which will not be repeated here.

[0124] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0125] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0126] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0127] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0130] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0131] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for burning a program into a receiving card, characterized in that: The invention is applied to a program burning system including a burning tool and a host computer, wherein the burning tool is used to connect with a first receiving card to be burned; the first receiving card is electrically connected with a first chip and / or a second chip for storing the burned program; the burning tool is communicatively connected with the host computer, and includes a memory for storing a first target program and a second target program, wherein the first target program is suitable for being burned into the first chip, and the second target program is suitable for being burned into the second chip; the burning method includes: Determine the chip type on the first receiving card, the chip type including at least one of the first chip and the second chip; based on the determined chip type, the burning tool obtains the first target program and / or the second target program from the host computer and stores them in the memory; burn the first target program in the memory into the first chip and / or burn the second target program in the memory into the second chip; Wherein, based on the fact that the first receiving card has both the first chip and the second chip, the first target program is acquired and burned to the first chip first, and then the second target program is acquired and burned to the second chip.

2. The program burning method of the receiving card as claimed in claim 1, characterized in that: The step of burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip comprises: Detecting the communication connection status between the burning tool and the host computer; When the burning tool meets the trigger condition corresponding to the communication connection state, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip.

3. The program burning method of the receiving card as claimed in claim 2, characterized in that: The burning tool is equipped with a trigger component; When the burning tool satisfies the trigger condition corresponding to the communication connection state, burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip includes: If the communication connection state is an offline state, then when a trigger signal of the trigger component is detected, the number of times the burning tool has been burned in the offline state is obtained; If the number of times burned is less than the preset maximum number, it is confirmed that the burning tool meets the trigger condition, the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip, and the number of times burned is updated.

4. The program burning method of the receiving card as claimed in claim 3, characterized in that: After the number of times the burning is updated, the method further includes: If the updated number of burned times is equal to the maximum number, the program stored in the memory is cleared.

5. The program burning method of the receiving card as claimed in claim 3, characterized in that: After the number of times the burning is updated, the method further includes: If it is detected that the communication connection state is switched from the offline state to the online state, the number of times the burning has been completed is cleared.

6. The program burning method of the receiving card as claimed in claim 2, characterized in that: When the burning tool satisfies a trigger condition corresponding to the communication connection state, burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip includes: If the communication connection status is online, upon receiving the burning instruction sent by the host computer, it is confirmed that the burning tool meets the trigger condition, and the first target program in the memory is burned into the first chip and / or the second target program in the memory is burned into the second chip.

7. The method for burning a program into a receiving card according to any one of claims 1 to 6, characterized in that: After burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip, the method further includes: Detect the file size of the burned program; The file size of the burned program is compared with the standard file size of the first target program and / or the second target program to obtain a verification result.

8. The method for burning a program into a receiving card according to any one of claims 1 to 6, characterized in that: The burning method also includes: Sending a heartbeat command to the host computer according to a first preset frequency, wherein the heartbeat command is used to determine the communication connection state; And / or, sending burning progress information to the host computer at a second preset frequency, wherein the burning progress information is used to indicate the size of the burned file of the first target program and / or the second target program.

9. The method for burning a program into a receiving card according to any one of claims 1 to 6, characterized in that: The burning tool is also used to connect to the second receiving card to be burned; after burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip, the burning method further includes: Determining the chip type on the second receiving card; If the chip types of the second receiving card include a chip type that is not included in the first receiving card, then based on the chip type of the second receiving card, the burning tool obtains a third target program from the host computer and stores it in the memory, and the third target program is different from the first target program and the second target program; Burn the third target program in the memory into the chip of the second receiving card.

10. The method for burning a program into a receiving card according to any one of claims 1 to 6, characterized in that: Before burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip, the method further includes: Obtaining the identifier of the host computer and the mailbox information of the preset mailbox; According to the mailbox information, sending the first license certificate generated based on the identifier to the preset mailbox; In response to an input operation of the license credential, when the input second license credential is consistent with the first license credential, the authorization operation is completed.

11. A program burning device for a receiving card, characterized in that: The program burning system is configured to include a burning tool and a host computer, wherein the burning tool is used to connect to a first receiving card to be burned; the first receiving card is electrically connected to a first chip and / or a second chip for storing a burned program; the burning tool is communicatively connected to the host computer, and includes a memory for storing a first target program and a second target program, wherein the first target program is suitable for being burned into the first chip, and the second target program is suitable for being burned into the second chip; the burning device includes: a determining unit, configured to determine a chip type on the first receiving card, wherein the chip type includes at least one of the first chip and the second chip; A storage unit, configured to cause the burning tool to obtain the first target program and / or the second target program from the host computer and store the program in the memory based on the determined chip type; A burning unit, used for burning the first target program in the memory into the first chip and / or burning the second target program in the memory into the second chip; Wherein, based on the fact that the first receiving card has both the first chip and the second chip, the first target program is acquired and burned to the first chip first, and then the second target program is acquired and burned to the second chip.

12. A receiving card program burning system, characterized in that: The invention comprises a host computer and a burning tool connected to the host computer, wherein the burning tool is used to connect to a first receiving card to be burned; the first receiving card is electrically connected to a first chip and / or a second chip for storing a burned program; the burning tool is communicatively connected to the host computer, and comprises a memory for storing a first target program and a second target program, wherein the first target program is suitable for being burned into the first chip, and the second target program is suitable for being burned into the second chip; The burning tool is used to determine the chip type on the first receiving card, and the chip type includes at least one of the first chip and the second chip; based on the determined chip type, the burning tool obtains the first target program and / or the second target program from the host computer and stores them in the memory; burns the first target program in the memory into the first chip and / or burns the second target program in the memory into the second chip; wherein, based on the fact that the first receiving card has both the first chip and the second chip, the first target program is obtained and burned to the first chip first, and then the second target program is obtained and burned to the second chip.