CN111338654A - Chip batch burning method and system and computer readable storage medium - Google Patents

Chip batch burning method and system and computer readable storage medium Download PDF

Info

Publication number
CN111338654A
CN111338654A CN202010111507.XA CN202010111507A CN111338654A CN 111338654 A CN111338654 A CN 111338654A CN 202010111507 A CN202010111507 A CN 202010111507A CN 111338654 A CN111338654 A CN 111338654A
Authority
CN
China
Prior art keywords
burning
target
detection
tasks
batch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010111507.XA
Other languages
Chinese (zh)
Inventor
周露露
李立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan Prewell Technology Co ltd
Original Assignee
Foshan Prewell Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Foshan Prewell Technology Co ltd filed Critical Foshan Prewell Technology Co ltd
Priority to CN202010111507.XA priority Critical patent/CN111338654A/en
Publication of CN111338654A publication Critical patent/CN111338654A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a chip batch burning method, a system and a computer readable storage medium, wherein the method comprises the following steps: receiving a batch order of a client to the chips, wherein the batch order comprises a program version and order quantity; detecting the current task quantities of all the burning devices, sequencing the current task quantities of all the burning devices in sequence, and taking the burning devices with preset positions after being screened out as target burning devices; according to the order quantity of the batch orders, corresponding burning tasks are formulated and distributed to each target burning device, wherein the burning tasks comprise burning quantity and a burning program; receiving the corresponding burning tasks by each target burning device and caching the burning tasks in a cache queue for waiting until the burning tasks are sequentially updated to the front row of the cache queue; and enabling each target burning device to perform burning operation on the chips on each PCB according to the burning program until the corresponding burning quantity is finished. The invention can realize the efficient and accurate batch burning of the chips.

Description

Chip batch burning method and system and computer readable storage medium
Technical Field
The invention relates to the technical field of chip burning, in particular to a chip batch burning method and system and a computer readable storage medium.
Background
Most electronic products in the market at present need to be controlled by using a chip, so that programs need to be burned on the chip.
In the production field of control equipment such as an automobile ECU module and an air conditioner control module, relevant control logic programs need to be burnt into a chip after circuits are assembled. When the chip is burned, the chip or the related circuit board needs to be fixed on instruments such as a clamp and the like and is connected with a burner installed on the clamp, then the upper computer is operated to control the burner to burn the chip, and the chip or the circuit board is detached from the clamp after burning is finished, so that the burning work of one chip is completed.
The hardware structures of the control devices in the same batch are completely the same, and the control logic programs to be burned into the chips are also completely the same, so that the burning of the chips is a mechanical repeated tedious work when the control devices are produced in batches. Traditionally, this has been done manually. Firstly, an operator needs to correspond the software serial number of the chip and the position number of the chip on the circuit board one by one when burning the chip, the operation is complicated, only one chip can be burned each time, the working efficiency is low, and the requirement of mass production cannot be met; secondly, an operator easily makes errors corresponding to the software serial number and the required number of the chips in the burning process, on one hand, if the number of the finally produced chip products is not enough, burning needs to be supplemented again, and extra workload and construction period are increased certainly; on the other hand, if the number of the finally produced chip products exceeds the required number of the chips, the waste of chip resources is caused, and the production cost of manufacturers is increased.
Disclosure of Invention
In order to solve at least one technical problem, the invention provides a chip batch burning method, a chip batch burning system and a computer readable storage medium.
In order to achieve the above object, a first aspect of the present invention provides a method for burning chips in batch, where the method includes:
receiving a batch order of a client to the chip, wherein the batch order at least comprises a program version and an order quantity;
detecting the current task quantities of all the burning devices, sequencing the current task quantities of all the burning devices in sequence, and taking the burning devices with preset positions after being screened out as target burning devices;
according to the order quantity of the batch orders, corresponding burning tasks are formulated and distributed to each target burning device, wherein the burning tasks at least comprise burning quantity and burning programs;
receiving the corresponding burning tasks by each target burning device and caching the burning tasks in a cache queue for waiting until the burning tasks are sequentially updated to the front row of the cache queue;
and enabling each target burning device to perform burning operation on a plurality of chips on each PCB according to the burning program until the corresponding burning quantity is finished.
In this scheme, after the selected recording device with the preset bit is taken as the target recording device, the method further includes:
determining a target detection device corresponding to each target burning device according to the target burning devices, wherein the target detection device is used for carrying out program detection on the chips which are burnt;
and formulating and distributing corresponding burning tasks for each target burning device according to the order quantity of the batch orders, and formulating and distributing corresponding detection tasks for each target detection device, wherein the detection tasks at least comprise detection programs and detection quantity, the detection programs are consistent with the burning programs, and the detection quantity is consistent with the burning quantity.
In this scheme, after the corresponding detection tasks are formulated and allocated to each target detection device, the method further includes:
electrifying each chip on the PCB by the target detection device;
respectively inputting detection instructions to each chip, wherein the detection instructions can output corresponding target detection results by the operation of the detection program;
the burned programs of all chips are operated based on the detection instruction;
acquiring actual detection results output by each chip, and judging whether the actual detection results are the same as the target detection results; if the program detection of the target chip is qualified, and if the program detection of the target chip is not qualified, the program detection of the target chip is unqualified.
In the scheme, when the corresponding target burning device finishes burning a certain batch of chips, the preset time period is interrupted and then the next batch of chip burning is executed, and the preset time period is more than or equal to the time from the burning end to the detection start of the chip.
In this scheme, after the selected recording device with the preset bit is taken as the target recording device, the method further includes:
making corresponding burning tasks for each target burning device according to the order quantity of the batch orders;
encrypting the burning task by adopting a shared key to obtain a ciphertext, and carrying out private key signature on the ciphertext to obtain signature information;
receiving the signature information by the corresponding target burning device, and checking the signature through a public key;
and after the signature verification is successful, decrypting the ciphertext by using the shared secret key to obtain the burning task.
In the scheme, the order number and the burning number are integral multiples of the number of chips carried by a single PCB.
In this scheme, the formulating and distributing of the corresponding burning tasks to each target burning device according to the order number of the batch orders specifically includes:
according to the order quantity of the batch orders and a corresponding distribution algorithm, corresponding burning tasks are formulated and distributed to the target burning devices, and the distribution quantity of each target burning device is as follows: (c-a)1),(c-a2),…,(c-an);
Wherein n is the number of target recording devices, a1,a2,…,anThe current task quantity of the n target burning devices is obtained; c is the average value estimated by each target recording device after distribution, and
Figure BDA0002390174710000041
Figure BDA0002390174710000042
the total amount of the burning tasks to be distributed.
The second aspect of the present invention further provides a system for burning chips in batches, wherein the system comprises: the server is in communication connection with the plurality of burning devices;
the server is used for receiving a batch order of a client to the chip, wherein the batch order at least comprises a program version and an order quantity; the device is also used for detecting the current task quantities of all the burning devices, sequencing the current task quantities of all the burning devices in sequence, and selecting the burning devices with preset positions as target burning devices; then, according to the order quantity of the batch orders, corresponding burning tasks are formulated and distributed to each target burning device, wherein the burning tasks at least comprise burning quantity and burning programs;
the target burning device is used for receiving the corresponding burning tasks and caching the burning tasks in a cache queue for waiting until the burning tasks are updated to the front row of the cache queue in sequence, and then burning operation is carried out on a plurality of chips on each PCB according to the burning program until the corresponding burning quantity is finished.
In the scheme, the system also comprises a plurality of detection devices,
the server determines a corresponding target detection device from the plurality of detection devices according to each target burning device; and formulating and distributing corresponding detection tasks to each target detection device according to the order quantity of the batch orders, wherein the detection tasks at least comprise detection programs and detection quantity, the detection programs are consistent with the burning programs, and the detection quantity is consistent with the burning quantity.
The target detection device is used for carrying out program detection on the burned chip.
The third aspect of the present invention also provides a computer-readable storage medium, which includes instructions, when the instructions are executed on a computer, causing the computer to execute the steps of the chip batch burning method as described above.
According to the chip batch burning method, the chip batch burning system and the computer readable storage medium, the plurality of burning devices and the plurality of detection devices are coordinated comprehensively through the server, task allocation among the burning devices and the detection devices can be balanced, and efficient burning operation of chips is met. Meanwhile, the invention outputs the chip products with the corresponding quantity based on the actual order demands of the customers, thereby avoiding the waste of resources caused by the surplus of the chip products or the situation that the chip products are too few to meet the demands of the customers.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a flow chart of a method for burning chips in batch according to the present invention;
FIG. 2 shows a schematic view of a PCB board of the present invention;
FIG. 3 is a schematic diagram of a burning apparatus of the present invention;
FIG. 4 is a block diagram of a system for batch burning chips according to the present invention;
reference numerals:
1PCB board, 11 chips, 111 burning points, 112 metal terminals, 2 burning devices and 21 burning pins.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
FIG. 1 shows a flowchart of a method for burning chips in batch according to the present invention.
As shown in fig. 1, a first aspect of the present invention provides a method for burning chips in batch, where the method includes:
s102, receiving a batch order of a client to the chip, wherein the batch order at least comprises a program version and an order quantity;
s104, detecting the current task quantities of all the burning devices, sequencing the current task quantities of all the burning devices in sequence, and selecting the burning devices with preset positions as target burning devices;
s106, according to the order quantity of the batch orders, corresponding burning tasks are formulated and distributed to each target burning device, wherein the burning tasks at least comprise burning quantity and burning programs;
s108, each target burning device receives the corresponding burning task and caches the burning task in a cache queue for waiting until the burning tasks are sequentially updated to the top of the cache queue;
and S110, enabling each target burning device to perform burning operation on a plurality of chips on each PCB according to the burning program until the corresponding burning quantity is completed.
As shown in fig. 2, a plurality of independent chips 11 are arranged on the PCB 1, each chip 11 is provided with a burning point 111 and a metal terminal 112, the burning point 111 is mainly used for burning programs, and the metal terminal 112 is mainly used for electrically connecting with a terminal device, so that the terminal device performs data interaction with the chip through the metal terminal. The terminal equipment can be a mobile phone, a computer, a PAD and the like. But is not limited thereto.
As shown in fig. 3, the burning apparatus 2 includes a burner (not shown), a controller (not shown), a floating mechanism (not shown), and a plurality of burning pins 21. The burner can be electrically connected with the plurality of burning needles 21, the corresponding burning needles 21 are contacted with the burning points of the chip, and the burner burns programs to the chip by means of the corresponding burning needles. The controller is used for controlling the floating mechanism, and the floating mechanism acts on the plurality of burning needles. It can be understood that the number of the burning needles is larger than that of the burning points on the PCB, when the PCB moves to the burning device, only part of the burning needles can be aligned to the burning points on the PCB, and other burning needles are not aligned to the burning points on the PCB and are idle. The controller controls the floating mechanism to descend the burning needle at the burning point, and the burning needle is accurately contacted with the corresponding burning point. Compared with the traditional manual operation mode, the automatic chip burning method has the advantages that the full-automatic chip burning process is realized, the accuracy of butt joint of the burning needle and the burning point is improved, and the yield of chip burning is further improved.
It can be understood that, for a chip manufacturer, in order to improve the productivity of the chip, a server is used to coordinate a plurality of burning devices to complete the program burning operation of the chip, the server includes a program library, a plurality of programs are stored in the program library, and each burning device is in communication connection with the server and is used to receive the burning task distributed by the server and to realize the batch burning operation of the chip according to the burning task.
The invention also detects the current task quantity of all the burning devices through the server and comprehensively considers the current task quantity of each burning device to formulate the burning tasks, namely the burning tasks can be distributed to the burning devices with less current task quantity so as to balance the tasks among all the burning devices. Meanwhile, the limited and proper target burning devices are screened out, and the burning tasks of the same batch are intensively distributed to the target burning devices, so that the burning tasks of the same batch are not distributed to all the burning devices, and the collection, packaging and other operations of finished products of the chips of the same batch at the later stage are facilitated.
It should be noted that the server of the present invention can be communicatively connected to the customer order system, and can formulate and distribute the burning task based on the batch orders of the customers, so that the number of chips finally burned accurately matches the customer demand, and the problems of prolonged construction period, increased cost, waste of redundant chip resources, etc. caused by the mismatch between the number of chips burned and the customer demand are avoided.
According to an embodiment of the present invention, after the selected recording device with the last preset bit is taken as the target recording device, the method further includes:
determining a target detection device corresponding to each target burning device according to the target burning devices, wherein the target detection device is used for carrying out program detection on the chips which are burnt;
and formulating and distributing corresponding burning tasks for each target burning device according to the order quantity of the batch orders, and formulating and distributing corresponding detection tasks for each target detection device, wherein the detection tasks at least comprise detection programs and detection quantity, the detection programs are consistent with the burning programs, and the detection quantity is consistent with the burning quantity.
It should be noted that, the recording devices and the detecting devices are grouped in pairs, that is, one detecting device is corresponding to the back of each recording device, when a task is formulated and allocated, a recording task is allocated to a target recording device, and a detecting task is also allocated to a target detecting device behind the target recording device, after the target detecting device receives the allocated detecting task, the detecting task is placed in a buffer queue, until the sequence of the detecting task is updated to the forefront of the buffer queue, the program detecting work of the chip recording of the batch is executed.
Furthermore, when the target burning device completes the burning task of the chip of the batch and changes to burning the chip of the next batch, the target detection device corresponding to the target burning device is reminded, so that the synchronization of burning and detection is realized, and the problem of detection failure caused by asynchronization is avoided.
According to an embodiment of the present invention, after the corresponding detection task is formulated and allocated to each target detection device, the method further includes:
electrifying each chip on the PCB by the target detection device;
respectively inputting detection instructions to each chip, wherein the detection instructions can output corresponding target detection results by the operation of the detection program;
the burned programs of all chips are operated based on the detection instruction;
acquiring actual detection results output by each chip, and judging whether the actual detection results are the same as the target detection results; if the program detection of the target chip is qualified, and if the program detection of the target chip is not qualified, the program detection of the target chip is unqualified.
According to the embodiment of the invention, when the corresponding target burning device finishes the burning of the chips in a certain batch, the preset time period is interrupted and the burning of the chips in the next batch is executed, and the preset time period is more than or equal to the time from the burning end to the detection start of the chips.
It should be noted that the detection can be performed only after the chip burning is completed. When the target burning device finishes the chip burning of the last PCB of a certain batch, the chip of the last PCB cannot be timely transmitted to the subsequent target detection device under the limitation of transmission delay, at the moment, if the previous target burning device starts to execute the chip burning of the next batch without interruption, the chip burning of the next batch may be confused with the chip of the previous batch, and the target detection device fails to detect the chip of the next batch because the chip detection program of the previous batch is different from the chip detection program of the next batch, and the chip of the two batches is confused after the chip of the two batches is confused.
According to an embodiment of the present invention, after the selected recording device with the last preset bit is taken as the target recording device, the method further includes:
making corresponding burning tasks for each target burning device according to the order quantity of the batch orders;
encrypting the burning task by adopting a shared key to obtain a ciphertext, and carrying out private key signature on the ciphertext to obtain signature information;
receiving the signature information by the corresponding target burning device, and checking the signature through a public key;
and after the signature verification is successful, decrypting the ciphertext by using the shared secret key to obtain the burning task.
It should be noted that, since the burning device needs to complete batch burning of chips according to the burning task, once the burning task has an error or is tampered by a third party, the problem that the burning of the large batch of chips is not qualified is caused. After the server works out the burning task, the burning task can be encrypted by adopting a shared key between the server and the burning device, so that the burning task is transmitted by a ciphertext, and other people are prevented from stealing the burning task. Meanwhile, the server also adopts the private key of the server to sign the ciphertext, and after the burning device receives the signature information, the signature verification can be carried out on the signature information through the public key of the server, so that the phenomenon that other people illegally falsify the burning task by the server is effectively prevented, and the confidentiality and the safety of data transmission between the server and the burning device are further enhanced.
Further, after the screened recording device with the preset bit is taken as a target recording device, the method further comprises:
formulating corresponding detection tasks for each target detection device according to the number of orders of the batch orders;
encrypting the detection task by adopting a shared key to obtain a ciphertext, and carrying out private key signature on the ciphertext to obtain signature information;
receiving the signature information by a corresponding target detection device, and checking the signature through a public key;
and after the signature verification is successful, decrypting the ciphertext by using the shared secret key to obtain the detection task.
It can be understood that the invention effectively enhances the confidentiality and the security of data transmission between the server and the detection device by adding security mechanisms such as encryption, decryption, signature and the like between the server and the detection device.
According to the embodiment of the invention, the order number and the burning number are integral multiples of the number of chips carried by a single PCB.
Furthermore, the detection number is also an integral multiple of the number of chips carried by a single PCB.
It can be understood that because the burning device uniformly burns all the chips on the one-to-one whole PCB at the same time, in order to avoid the waste of the residual chips caused by the fact that the last batch of chips of the burning task does not meet the chip quantity of the whole PCB, the invention carries out the specified requirement on the order quantity of the customer when receiving the order of the customer, and leads the order quantity to be the integral multiple of the chip quantity carried by a single PCB, thereby being convenient for burning and detecting the chips of the whole PCB in the follow-up process.
According to the embodiment of the invention, the method for formulating and distributing the corresponding burning tasks to each target burning device according to the order quantity of the batch orders specifically comprises the following steps:
according to the order quantity of the batch orders and a corresponding distribution algorithm, corresponding burning tasks are formulated and distributed to the target burning devices, and the distribution quantity of each target burning device is as follows: (c-a)1),(c-a2),…,(c-an);
Wherein n is the number of target recording devices, a1,a2,…,anThe current task quantity of the n target burning devices is obtained; c is the average value estimated by each target recording device after distribution, and
Figure BDA0002390174710000111
Figure BDA0002390174710000112
the total amount of the burning tasks to be distributed.
According to another embodiment of the invention, the method further comprises:
receiving the opinions fed back by a client in the use process of the chip;
evaluating whether a corresponding program needs to be upgraded or not based on the weights of different opinions and the feedback times of the same opinion, and if the evaluation result is required, lifting an upgrading processing flow of the program;
and after the program is upgraded, replacing the original program, and burning or detecting the subsequent chip by adopting the upgraded program.
It should be noted that, the program library in the server of the present invention stores a plurality of programs, the server can be connected to the client opinion feedback system in a communication manner, and receives feedback opinions of different clients on the use condition of the chip, and then evaluates whether some programs need to be upgraded based on the feedback opinions, if so, submits the upgrading process flow of the programs, and after the upgrading process is completed, replaces the upgraded programs with the corresponding programs originally stored in the program library, so as to realize the upgrading process of the programs, and further improve the experience of the subsequent clients on the upgraded chips.
FIG. 4 is a block diagram of a system for burning chips in batch according to the present invention.
As shown in fig. 4, a second aspect of the present invention further provides a system for burning chips in batches, where the system includes: the server is in communication connection with the plurality of burning devices;
the server is used for receiving a batch order of a client to the chip, wherein the batch order at least comprises a program version and an order quantity; the device is also used for detecting the current task quantities of all the burning devices, sequencing the current task quantities of all the burning devices in sequence, and selecting the burning devices with preset positions as target burning devices; then, according to the order quantity of the batch orders, corresponding burning tasks are formulated and distributed to each target burning device, wherein the burning tasks at least comprise burning quantity and burning programs;
the target burning device is used for receiving the corresponding burning tasks and caching the burning tasks in a cache queue for waiting until the burning tasks are updated to the front row of the cache queue in sequence, and then burning operation is carried out on a plurality of chips on each PCB according to the burning program until the corresponding burning quantity is finished.
According to an embodiment of the invention, the system further comprises a plurality of detection means,
the server determines a corresponding target detection device from the plurality of detection devices according to each target burning device; and formulating and distributing corresponding detection tasks to each target detection device according to the order quantity of the batch orders, wherein the detection tasks at least comprise detection programs and detection quantity, the detection programs are consistent with the burning programs, and the detection quantity is consistent with the burning quantity.
The target detection device is used for carrying out program detection on the burned chip.
It can be understood that, for a chip manufacturer, in order to improve the productivity of the chip, a server is used to coordinate a plurality of burning devices to complete the program burning operation of the chip, the server includes a program library, a plurality of programs are stored in the program library, and each burning device is in communication connection with the server and is used to receive the burning task distributed by the server and to realize the batch burning operation of the chip according to the burning task.
The invention also detects the current task quantity of all the burning devices through the server and comprehensively considers the current task quantity of each burning device to formulate the burning tasks, namely the burning tasks can be distributed to the burning devices with less current task quantity so as to balance the tasks among all the burning devices. Meanwhile, the limited and proper target burning devices are screened out, and the burning tasks of the same batch are intensively distributed to the target burning devices, so that the burning tasks of the same batch are not distributed to all the burning devices, and the collection, packaging and other operations of finished products of the chips of the same batch at the later stage are facilitated.
It should be noted that the server of the present invention can be communicatively connected to the customer order system, and can formulate and distribute the burning task based on the batch orders of the customers, so that the number of chips finally burned accurately matches the customer demand, and the problems of prolonged construction period, increased cost, waste of redundant chip resources, etc. caused by the mismatch between the number of chips burned and the customer demand are avoided.
It should be noted that, the recording devices and the detecting devices are grouped in pairs, that is, one detecting device is corresponding to the back of each recording device, when a task is formulated and allocated, a recording task is allocated to a target recording device, and a detecting task is also allocated to a target detecting device behind the target recording device, after the target detecting device receives the allocated detecting task, the detecting task is placed in a buffer queue, until the sequence of the detecting task is updated to the forefront of the buffer queue, the program detecting work of the chip recording of the batch is executed.
Furthermore, when the target burning device completes the burning task of the chip of the batch and changes to burning the chip of the next batch, the target detection device corresponding to the target burning device is reminded, so that the synchronization of burning and detection is realized, and the problem of detection failure caused by asynchronization is avoided.
When the program of the chip is detected, the target detection device powers on each chip on the PCB; respectively inputting detection instructions to each chip, wherein the detection instructions can output corresponding target detection results by the operation of the detection program; the burned programs of all chips are operated based on the detection instruction; acquiring actual detection results output by each chip, and judging whether the actual detection results are the same as the target detection results; if the program detection of the target chip is qualified, and if the program detection of the target chip is not qualified, the program detection of the target chip is unqualified.
According to the embodiment of the invention, when the corresponding target burning device finishes the burning of the chips in a certain batch, the preset time period is interrupted and the burning of the chips in the next batch is executed, and the preset time period is more than or equal to the time from the burning end to the detection start of the chips.
It should be noted that the detection can be performed only after the chip burning is completed. When the target burning device finishes the chip burning of the last PCB of a certain batch, the chip of the last PCB cannot be timely transmitted to the subsequent target detection device under the limitation of transmission delay, at the moment, if the previous target burning device starts to execute the chip burning of the next batch without interruption, the chip burning of the next batch may be confused with the chip of the previous batch, and the target detection device fails to detect the chip of the next batch because the chip detection program of the previous batch is different from the chip detection program of the next batch, and the chip of the two batches is confused after the chip of the two batches is confused.
According to the embodiment of the invention, safety modules are arranged in the server and the target burning device, and the safety communication between the server and the target burning device is realized through the safety modules, specifically, the server makes corresponding burning tasks for each target burning device according to the order number of the batch orders; then encrypting the burning task by adopting a shared key to obtain a ciphertext, carrying out private key signature on the ciphertext, generating signature information and sending the signature information to a corresponding target burning device; receiving the signature information by the corresponding target burning device and checking the signature through a public key; and after the signature verification is successful, decrypting the ciphertext by using the shared secret key to obtain the burning task.
It should be noted that, since the burning device needs to complete batch burning of chips according to the burning task, once the burning task has an error or is tampered by a third party, the problem that the burning of the large batch of chips is not qualified is caused. After the server works out the burning task, the burning task can be encrypted by adopting a shared key between the server and the burning device, so that the burning task is transmitted by a ciphertext, and other people are prevented from stealing the burning task. Meanwhile, the server also adopts the private key of the server to sign the ciphertext, and after the burning device receives the signature information, the signature verification can be carried out on the signature information through the public key of the server, so that the phenomenon that other people illegally falsify the burning task by the server is effectively prevented, and the confidentiality and the safety of data transmission between the server and the burning device are further enhanced.
Further, the target detection device is also internally provided with a safety module, and the safety module is used for realizing the safety communication with the server, and particularly, the server formulates corresponding detection tasks for each target detection device according to the order quantity of the batch orders; encrypting the detection task by adopting a shared key to obtain a ciphertext, and carrying out private key signature on the ciphertext to generate signature information; receiving the signature information by a corresponding target detection device and verifying the signature through a public key; and after the signature verification is successful, decrypting the ciphertext by using the shared secret key to obtain the detection task.
It can be understood that the invention effectively enhances the confidentiality and the security of data transmission between the server and the detection device by adding security mechanisms such as encryption, decryption, signature and the like between the server and the detection device.
According to the embodiment of the invention, the order number and the burning number are integral multiples of the number of chips carried by a single PCB.
Furthermore, the detection number is also an integral multiple of the number of chips carried by a single PCB.
It can be understood that because the burning device uniformly burns all the chips on the one-to-one whole PCB at the same time, in order to avoid the waste of the residual chips caused by the fact that the last batch of chips of the burning task does not meet the chip quantity of the whole PCB, the invention carries out the specified requirement on the order quantity of the customer when receiving the order of the customer, and leads the order quantity to be the integral multiple of the chip quantity carried by a single PCB, thereby being convenient for burning and detecting the chips of the whole PCB in the follow-up process.
According to the embodiment of the invention, the server can make and distribute the corresponding burning tasks to each target burning device according to the order quantity of the batch orders and the corresponding distribution algorithm, and the distribution quantity of each target burning device is respectively as follows: (c-a)1),(c-a2),…,(c-an);
Wherein n is the number of target recording devices, a1,a2,…,anThe current task quantity of the n target burning devices is obtained; c is the average value estimated by each target recording device after distribution, and
Figure BDA0002390174710000161
Figure BDA0002390174710000162
the total amount of the burning tasks to be distributed.
According to another embodiment of the invention, the server is further used for receiving the opinions fed back by the client in the chip using process; evaluating whether a corresponding program needs to be upgraded or not based on the weights of different opinions and the feedback times of the same opinion, and if the evaluation result is required, lifting an upgrading processing flow of the program; and after the program is upgraded, replacing the original program, and burning or detecting the subsequent chip by adopting the upgraded program.
It should be noted that, the program library in the server of the present invention stores a plurality of programs, the server can be connected to the client opinion feedback system in a communication manner, and receives feedback opinions of different clients on the use condition of the chip, and then evaluates whether some programs need to be upgraded based on the feedback opinions, if so, submits the upgrading process flow of the programs, and after the upgrading process is completed, replaces the upgraded programs with the corresponding programs originally stored in the program library, so as to realize the upgrading process of the programs, and further improve the experience of the subsequent clients on the upgraded chips.
The third aspect of the present invention also provides a computer-readable storage medium, which includes instructions, when the instructions are executed on a computer, causing the computer to execute the steps of the chip batch burning method as described above.
The invention provides a chip batch burning method, a chip batch burning system and a computer readable storage medium. Meanwhile, the invention outputs the chip products with the corresponding quantity based on the actual order demands of the customers, thereby avoiding the waste of resources caused by the surplus of the chip products or the situation that the chip products are too few to meet the demands of the customers.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for burning chips in batches is characterized by comprising the following steps:
receiving a batch order of a client to the chip, wherein the batch order at least comprises a program version and an order quantity;
detecting the current task quantities of all the burning devices, sequencing the current task quantities of all the burning devices in sequence, and taking the burning devices with preset positions after being screened out as target burning devices;
according to the order quantity of the batch orders, corresponding burning tasks are formulated and distributed to each target burning device, wherein the burning tasks at least comprise burning quantity and burning programs;
receiving the corresponding burning tasks by each target burning device and caching the burning tasks in a cache queue for waiting until the burning tasks are sequentially updated to the front row of the cache queue;
and enabling each target burning device to perform burning operation on a plurality of chips on each PCB according to the burning program until the corresponding burning quantity is finished.
2. The method of claim 1, wherein after the selected preset burning device is used as the target burning device, the method further comprises:
determining a target detection device corresponding to each target burning device according to the target burning devices, wherein the target detection device is used for carrying out program detection on the chips which are burnt;
and formulating and distributing corresponding burning tasks for each target burning device according to the order quantity of the batch orders, and formulating and distributing corresponding detection tasks for each target detection device, wherein the detection tasks at least comprise detection programs and detection quantity, the detection programs are consistent with the burning programs, and the detection quantity is consistent with the burning quantity.
3. The method for burning the chips in batches as set forth in claim 2, wherein after the corresponding detection tasks are formulated and distributed to the target detection devices, the method further comprises:
electrifying each chip on the PCB by the target detection device;
respectively inputting detection instructions to each chip, wherein the detection instructions can output corresponding target detection results by the operation of the detection program;
the burned programs of all chips are operated based on the detection instruction;
acquiring actual detection results output by each chip, and judging whether the actual detection results are the same as the target detection results; if the program detection of the target chip is qualified, and if the program detection of the target chip is not qualified, the program detection of the target chip is unqualified.
4. The method as claimed in claim 2, wherein when the target device completes the chip burning of a certain batch, the predetermined time period is interrupted and the chip burning of the next batch is executed, and the predetermined time period is greater than or equal to the time taken by the chip from the burning end to the detection start.
5. The method of claim 1, wherein after the selected preset burning device is used as the target burning device, the method further comprises:
making corresponding burning tasks for each target burning device according to the order quantity of the batch orders;
encrypting the burning task by adopting a shared key to obtain a ciphertext, and carrying out private key signature on the ciphertext to obtain signature information;
receiving the signature information by the corresponding target burning device, and checking the signature through a public key;
and after the signature verification is successful, decrypting the ciphertext by using the shared secret key to obtain the burning task.
6. The method as claimed in claim 1, wherein the order number and the burning number are integer multiples of the number of chips carried on a single PCB.
7. The method for batch burning of chips according to claim 1, wherein the step of formulating and distributing corresponding burning tasks to each target burning device according to the number of orders of the batch orders comprises:
according to the order quantity of the batch orders and a corresponding distribution algorithm, corresponding burning tasks are formulated and distributed to the target burning devices, and the distribution quantity of each target burning device is as follows: (c-a)1),(c-a2),…,(c-an);
Wherein n is the number of target recording devices, a1,a2,…,anThe current task quantity of the n target burning devices is obtained; c is the average value estimated by each target recording device after distribution, and
Figure FDA0002390174700000031
and b is the total amount of the burning tasks to be distributed.
8. A system for burning chips in batches is characterized by comprising: the server is in communication connection with the plurality of burning devices;
the server is used for receiving a batch order of a client to the chip, wherein the batch order at least comprises a program version and an order quantity; the device is also used for detecting the current task quantities of all the burning devices, sequencing the current task quantities of all the burning devices in sequence, and selecting the burning devices with preset positions as target burning devices; then, according to the order quantity of the batch orders, corresponding burning tasks are formulated and distributed to each target burning device, wherein the burning tasks at least comprise burning quantity and burning programs;
the target burning device is used for receiving the corresponding burning tasks and caching the burning tasks in a cache queue for waiting until the burning tasks are updated to the front row of the cache queue in sequence, and then burning operation is carried out on a plurality of chips on each PCB according to the burning program until the corresponding burning quantity is finished.
9. The system for burning batch of chips of claim 8, further comprising a plurality of detecting devices,
the server determines a corresponding target detection device from the plurality of detection devices according to each target burning device; and formulating and distributing corresponding detection tasks to each target detection device according to the order quantity of the batch orders, wherein the detection tasks at least comprise detection programs and detection quantity, the detection programs are consistent with the burning programs, and the detection quantity is consistent with the burning quantity.
The target detection device is used for carrying out program detection on the burned chip.
10. A computer-readable storage medium, comprising instructions which, when executed on a computer, cause the computer to perform the steps of a method for batch burning chips as claimed in any one of claims 1 to 7.
CN202010111507.XA 2020-02-24 2020-02-24 Chip batch burning method and system and computer readable storage medium Withdrawn CN111338654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010111507.XA CN111338654A (en) 2020-02-24 2020-02-24 Chip batch burning method and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010111507.XA CN111338654A (en) 2020-02-24 2020-02-24 Chip batch burning method and system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111338654A true CN111338654A (en) 2020-06-26

Family

ID=71183583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010111507.XA Withdrawn CN111338654A (en) 2020-02-24 2020-02-24 Chip batch burning method and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111338654A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220313A (en) * 2021-05-26 2021-08-06 深圳市沃特沃德信息有限公司 Program burning method, device, equipment and medium for WIFI module
CN113326219A (en) * 2021-06-06 2021-08-31 深圳市昂科技术有限公司 Communication method based on burning system, burning method and computer storage medium
CN115408976A (en) * 2022-10-31 2022-11-29 浙江创芯集成电路有限公司 Virtual integrated circuit platform and control method and system thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220313A (en) * 2021-05-26 2021-08-06 深圳市沃特沃德信息有限公司 Program burning method, device, equipment and medium for WIFI module
CN113326219A (en) * 2021-06-06 2021-08-31 深圳市昂科技术有限公司 Communication method based on burning system, burning method and computer storage medium
CN115408976A (en) * 2022-10-31 2022-11-29 浙江创芯集成电路有限公司 Virtual integrated circuit platform and control method and system thereof

Similar Documents

Publication Publication Date Title
CN111338654A (en) Chip batch burning method and system and computer readable storage medium
US10289409B2 (en) Systems, methods, and apparatus for migrating code to a target environment
CN109901851B (en) Firmware burning system and method
CN111478967B (en) Request processing method and device
CN109474578A (en) Message method of calibration, device, computer equipment and storage medium
CN109714303A (en) BIOS starts method and data processing method
CN105871915A (en) Software network authentication binding method and system
CN110224833A (en) Bill data processing method and system
CN111859359A (en) Intelligent equipment authorization system, method, device, equipment and medium
CN108271150A (en) Support while more mobile phones carried out the method and system of brush machine or data dump
CN110928556A (en) Automatic program burning method and device for railway vehicle, and testing method and system
CN104484620A (en) Method for avoiding false declaration of sales volume and inventory in fast-selling sales management cloud system
CN110458184A (en) Optical character identification householder method, device, computer equipment and storage medium
CN116088906A (en) Encryption and decryption-based chip upgrading system
CN114760466A (en) Display device testing method and device and storage medium
CN115130857A (en) Product control method, system, computer device and storage medium
CN110515924A (en) Database manipulation logic verify method, apparatus, equipment and readable storage medium storing program for executing
CN110069277A (en) Using loading method, using online equipment, storage medium and device
CN106569907A (en) System start-up file verifying and compiling method
CN111078527B (en) Auxiliary system and method for pressure testing of server
CN112015715A (en) Industrial Internet data management service testing method and system
CN114757747B (en) Automatic processing method and device for electronic purchase data
CN113723071B (en) Electronic archive verification method, system, storage medium and equipment
CN115587371A (en) Method and device for generating secret key in test process, computer equipment and storage medium
CN109271765A (en) A kind of student's private data guard method based on artificial intelligence

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200626