CN108874816B - Sequence number burning method and sequence number burning system for multiple burning devices - Google Patents
Sequence number burning method and sequence number burning system for multiple burning devices Download PDFInfo
- Publication number
- CN108874816B CN108874816B CN201710328212.6A CN201710328212A CN108874816B CN 108874816 B CN108874816 B CN 108874816B CN 201710328212 A CN201710328212 A CN 201710328212A CN 108874816 B CN108874816 B CN 108874816B
- Authority
- CN
- China
- Prior art keywords
- burning
- serial number
- last
- recording
- sequence number
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
Abstract
The invention provides a sequence number burning method and a sequence number burning system, which are suitable for a plurality of burning devices, wherein each burning device burns a plurality of sequence numbers into a plurality of devices. The sequence number burning method comprises the following steps: obtaining a last burning serial number from the server by a first burning device in the burning devices; obtaining a first burning serial number of a first burning quantity continuous to the last burning serial number; burning the first burning sequence number into a first device with a first burning quantity by using first burning equipment; and modifying the last burning sequence number into the last burning sequence number plus the first burning number, and storing the modified last burning sequence number into the server.
Description
Technical Field
The present invention relates to a serial number recording method and a serial number recording system for a plurality of recording devices, and more particularly, to a serial number recording method and a serial number recording system capable of solving the problem that a plurality of recording devices can repeatedly record the same serial number.
Background
For the problem of burning serial numbers of hardware with serial numbers, the range of serial numbers to be burned is generally defined first, and the same serial numbers cannot be burned into different hardware. If a plurality of serial numbers are burned into the hardware, the unused serial numbers (also referred to as valid serial numbers, available serial numbers, or burned serial numbers) must be searched before the burning operation. However, as the number of unused sequence numbers is smaller, the range to be searched becomes larger. This results in a lot of time required to search for sequence numbers, and the efficiency of searching for sequence numbers becomes worse as the defined range increases. That is, the more serial numbers that have been used, the longer the time for searching for unused serial numbers.
Disclosure of Invention
In view of the above, the present invention provides a serial number recording method and a serial number recording system, which can efficiently determine unused serial numbers to be recorded by a plurality of sets of recording devices, thereby reducing the search time of the unused serial numbers and increasing the production test efficiency of the device.
The invention provides a sequence number burning method which is suitable for a plurality of burning devices, wherein each burning device burns a plurality of sequence numbers into a plurality of devices. The method for burning the serial number comprises the step of obtaining the last burning serial number from the server by a first burning device in the burning devices. The method further comprises the step of obtaining at least one first burning serial number of the first burning quantity continuous to the last burning serial number. The method for burning the serial numbers further comprises the step of burning the first burning serial numbers into a first device with a first burning quantity by utilizing first burning equipment. The sequence number burning method also comprises the steps of modifying the last burning sequence number into the last burning sequence number plus the first burning number and storing the modified last burning sequence number into the server.
In an embodiment of the invention, in a time interval between the first burning device obtaining the last burning serial number from the server and storing the modified last burning serial number in the server, the burning devices other than the first burning device cannot obtain the last burning serial number from the server.
In an embodiment of the invention, if one of the first burning sequence numbers is invalid, a valid sequence number is selected from the sequence number database and a last burning sequence number is modified to be a valid sequence number, wherein a plurality of second burning sequence numbers after the valid sequence number are valid.
In an embodiment of the invention, the first burning number is smaller than or equal to a maximum burning number that the first burning device can perform the burning operation simultaneously, and the last burning serial number and the first burning serial number are consecutive serial numbers.
In an embodiment of the invention, each of the apparatuses includes a Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM) device, a High-definition Digital Content Protection (HDCP) device, a motherboard device, a display adapter device, and a wireless network card device.
The invention provides a serial number burning system which comprises a server and a plurality of burning devices. The server includes a sequence number database. The burning device is coupled to the server and is used for burning a plurality of serial numbers in the serial number database into a plurality of devices. And the first burning device in the burning devices obtains the last burning serial number from the server. The first burning device obtains at least one first burning serial number of the first burning quantity which is continuous with the last burning serial number. And the first burning equipment burns the first burning serial number into at least one first device with a first burning quantity. And the first burning device modifies the last burning serial number into the last burning serial number plus the first burning number and stores the modified last burning serial number into the server.
In an embodiment of the invention, in a time interval between the first burning device obtaining the last burning serial number from the server and storing the modified last burning serial number in the server, the burning devices other than the first burning device cannot obtain the last burning serial number from the server.
In an embodiment of the invention, if one of the first burning sequence numbers is invalid, a valid sequence number is selected from the sequence number database and the last burning sequence number is modified to be the valid sequence number, wherein a plurality of second burning sequence numbers after the valid sequence number are valid.
In an embodiment of the invention, the first burning number is smaller than or equal to a maximum burning number that the first burning device can perform the burning operation simultaneously, and the last burning serial number and the first burning serial number are consecutive serial numbers.
In an embodiment of the invention, each of the apparatuses includes a Double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM) device, a High-definition Digital Content Protection (HDCP) device, a motherboard device, a display adapter device, and a wireless network card device.
Based on the above, the sequence number burning method and the sequence number burning system of the present invention record a last burning sequence number in the server, obtain the last burning sequence number from the server and burn the sequence number of the first burning number following the last burning sequence number into the device when the burning device is to perform the burning operation of the first burning sequence number of the first burning number, modify the last burning sequence number into the last burning sequence number plus the first burning number, and store the modified last burning sequence number into the server. Therefore, when the next burning device needs to burn the serial numbers, the unused serial numbers can be quickly obtained, and the problem that a plurality of burning devices repeatedly burn the same serial numbers can be solved.
In order to make the aforementioned and other features and advantages of the invention more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
FIG. 1 is a block diagram of a serial number recording system according to an embodiment of the present invention.
FIG. 2 is a diagram of a recording apparatus according to an embodiment of the invention.
FIG. 3 is a flowchart illustrating a method for recording sequence numbers according to an embodiment of the invention.
FIG. 4 is a diagram illustrating a sequence number burning method according to an embodiment of the invention.
FIG. 5 is a flowchart illustrating a sequence number burning method according to another embodiment of the present invention.
Wherein the reference numerals are:
100: serial number burning system
110: server
120-1 to 120-n: burning device
210: device slot
220: flat cable slot
S301, S303, S305, S307: method for burning sequence number
410: finally burn the serial number
S501, S502, S503, S504, S505, S507: method for burning sequence number
Detailed Description
FIG. 1 is a block diagram of a serial number recording system according to an embodiment of the present invention.
Referring to fig. 1, a serial number burning system 100 of the present invention includes a server 110 and a plurality of burning devices 120-1 to 120-n. The server 110 may include a processor (not shown) and a memory (not shown), and a database of sequence numbers may be stored in the memory (e.g., non-volatile memory) of the server 110. Each of the burning apparatuses 120-1 to 120-n may burn a plurality of serial numbers into a plurality of devices.
FIG. 2 is a diagram of a recording apparatus according to an embodiment of the invention.
Referring to FIG. 2, the recording apparatus 120-1 may include a plurality of device slots 210 and a flat cable slot 220. The recording apparatus 120-1 can receive data from the server 110 or transmit data to the server 110 via a flat cable (not shown) coupled to the flat cable slot 220 (e.g. 2 × 25 cable).
FIG. 3 is a flowchart illustrating a method for recording sequence numbers according to an embodiment of the invention. FIG. 4 is a diagram illustrating a sequence number burning method according to an embodiment of the invention.
Referring to fig. 3 and 4, in step S301, a first recording device of the recording devices obtains a last recording sequence number from the server. For example, in fig. 4, the burning apparatus 120-1 can obtain a last burning sequence number 410 from all sequence numbers 1-N in the sequence number database of the server 110, and assume that the value of the last burning sequence number 410 is K at this time. The last recording sequence number 410 represents the previous recording sequence number recorded by any recording device 120-1 to 120-n.
In step S303, at least one first burning sequence number of the first burning number following the last burning sequence number is obtained. For example, in FIG. 4, the first recording number is 8, and the recording apparatus 120-1 obtains 8 serial numbers K +1 to K +8 following the serial number K. Although the first recording number is 8 in the embodiment, in other embodiments, the first recording number may be less than or equal to the maximum recording number that one recording apparatus can perform recording operations simultaneously.
In step S305, a first burning serial number is burned into a first device with a first burning number by using a first burning device. For example, in FIG. 4, the recording apparatus 120-1 records the serial numbers K +1 to K +8 into eight devices coupled to the recording apparatus 120-1. It should be noted that the devices coupled to the same recording apparatus 120-1 are devices of the same type, and each device may be a DDR SDRAM (Double Data Rate Synchronous Dynamic Random Access Memory) device, an HDCP (High-definition Digital Content Protection) device, a motherboard device, a display adapter device, a wireless network card device, or other devices requiring serial number recording.
In step S307, the last burning sequence number is modified to be the last burning sequence number plus the first burning number, and the modified last burning sequence number is stored in the server. For example, in FIG. 4, the burning device 120-1 returns the serial number K +8 to the server 110. When the server 110 receives the sequence number K +8, the value of the last burning sequence number 410 is modified from K to K + 8. By means of the dynamic programming process, the last programming sequence number is transmitted back to the server 110 in a recursive manner every time the programming equipment 120-1 to 120-n completes programming, so that the last result of the previous programming can be used in the next programming, and the efficiency of searching the programming sequence number in the programming process is improved.
It is noted that in the time interval between the recording device 120-1 obtaining the last recording sequence number 410 (with the value K) from the server 110 and storing the modified last recording sequence number 410 (with the value K +8) to the server 110, the recording devices 120-2 to 120-n other than the recording device 120-1 cannot obtain the last recording sequence number 410 from the server 110. Thus, it is ensured that the same serial number is not burned into different devices by different burning apparatuses.
Although the present embodiment is exemplified by simultaneously burning 8 serial numbers at a time, the invention is not limited thereto. In another embodiment, the recording device 120-1 may also record only the serial number K +1 to one of the devices coupled to the recording device 120-1, and transmit the serial number K +1 back to the server 110, so that the server modifies the value of the last recording serial number 410 to be K + 1. Then, the recording device 120-1 obtains the serial number K +2 from the server 110, records the serial number K +2 to another device coupled to the recording device 120-1, and transmits the serial number K +2 back to the server 110, so that the server modifies the value of the last recording serial number 410 to be K + 2. And so on until all devices coupled to the burning apparatus 120-1 complete the burning of the serial numbers.
In another embodiment, multiple burning devices can also cross-burn and cross-transmit the last burning sequence number back to the server 110. For example, when eight devices are coupled to the recording device 120-1 to wait for the recording serial number and two devices are coupled to the recording device 120-2 to wait for the recording serial number, assuming that the last recording serial number before recording is K, the server 110 may first transmit the recording serial numbers K +1 to K +6 to the recording device 120-1, receive the last recording serial number K +6 returned by the recording device 120-1 after the recording device 120-1 records the recording serial numbers K +1 to K +6 to the first to sixth devices coupled to the recording device 120-1, then transmit the recording serial numbers K +7 to K +8 to the recording device 120-2, and receive the last recording serial number K +8 returned by the recording device 120-2 after the recording device 120-2 records the recording serial numbers K +7 to K +8 to the two devices coupled to the recording device 120-2, finally, the recording serial numbers K +9 to K +10 are transmitted to the recording device 120-1, and the recording serial numbers K +9 to K +10 are recorded in the seventh and eighth devices coupled to the recording device 120-1 by the recording device 120-1, and then the recording serial number K +10 returned by the recording device 120-1 is received.
FIG. 5 is a flowchart illustrating a sequence number burning method according to another embodiment of the present invention.
Referring to fig. 5, steps S501, S503, S505, and S507 are the same as steps S301, S303, S305, and S307, respectively, and therefore only steps S502 and S504 will be described herein.
In step S502, it is determined whether there is an invalid sequence number in the first burning sequence number. Specifically, the server 110 or the burning device 120-1 determines whether there is a used sequence number in the first burning sequence number. The invalid sequence number represents a used sequence number, and the valid sequence number represents an unused sequence number.
If one of the first burning sequence numbers is invalid, in step S504, a valid sequence number is selected from the sequence number database and the last burning sequence number is modified to the valid sequence number, wherein a plurality of second burning sequence numbers following the valid sequence number are valid. In short, the server 110 or the recording device 120-1 selects the first sequence number of the sequence number interval from the sequence number interval that has not been used yet and modifies the last recording sequence number to the first sequence number of the sequence number interval, and the size of the sequence number interval (i.e., the number of the second recording sequence numbers) is the number that can be provided for one recording device 120-1 to perform recording for multiple times. If the invalid sequence number does not exist in the first burning sequence numbers, step S505 is performed to burn the first burning sequence numbers into the first devices with the first burning number by using the first burning device.
In summary, the sequence number burning method and the sequence number burning system of the present invention record a last burning sequence number in the server, obtain the last burning sequence number from the server and burn the sequence number of the first burning number subsequent to the last burning sequence number into the device when the burning device is to perform the burning operation of the first burning sequence number of the first burning number, modify the last burning sequence number into the last burning sequence number plus the first burning number, and store the modified last burning sequence number into the server. In addition, when one of the sequence numbers of the first burning quantity is used or burned, the burning device can newly search a sequence number range which is not used yet from the sequence number database and set the first sequence number of the range as the last burning sequence number. Therefore, when the next burning device needs to burn the serial numbers, the unused serial numbers can be quickly obtained, and the problem that a plurality of burning devices repeatedly burn the same serial numbers can be solved.
Although the present invention has been described with reference to the above embodiments, it should be understood that various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention.
Claims (10)
1. A sequence number burning method is suitable for a plurality of burning devices, and each burning device burns a plurality of sequence numbers into a plurality of devices, and is characterized by comprising the following steps:
obtaining a last burning sequence number of the storage record from a server by a first burning device in the burning devices;
obtaining at least one first burning serial number of a first burning quantity following the last burning serial number;
burning the at least one first burning serial number into a plurality of first devices with the first burning quantity by using the first burning equipment; and
and modifying the last burning serial number into the last burning serial number plus the first burning number, and storing the modified last burning serial number into the server.
2. The method of claim 1, wherein in a time interval between the first burning device obtaining the last burning serial number from the server and storing the modified last burning serial number in the server, the burning devices other than the first burning device cannot obtain the last burning serial number from the server.
3. The method as claimed in claim 1, wherein if one of the at least one first burning sequence number is invalid, selecting a valid sequence number from a sequence number database and modifying the last burning sequence number to the valid sequence number, wherein a plurality of second burning sequence numbers following the valid sequence number are valid.
4. The method for serial number recording according to claim 1, wherein the first recording number is less than or equal to a maximum recording number for which the first recording apparatus can perform a recording operation simultaneously, and the last recording serial number and the at least one first recording serial number are consecutive recording serial numbers.
5. The method of claim 1, wherein each of the devices comprises a DDR SDRAM device, an HDAC DVD protection device, a motherboard device, a display adapter device, and a wireless network card device.
6. A serial number burning system is characterized by comprising:
a server including a sequence number database; and
multiple burning devices coupled to the server for burning multiple serial numbers in the serial number database to multiple devices
A first burning device of the burning devices obtains a last burning serial number of the storage record from the server,
the first burning device obtains at least one first burning serial number of a first burning number following the last burning serial number,
the first burning device burns the first burning serial number into the first burning number of at least one first device,
the first burning device modifies the last burning serial number into the last burning serial number plus the first burning number and stores the modified last burning serial number into the server.
7. The system for burning sequence numbers according to claim 6, wherein in a time interval between the first burning device obtaining the last burning sequence number from the server and storing the modified last burning sequence number to the server, the burning devices other than the first burning device cannot obtain the last burning sequence number from the server.
8. The system for serial number recording according to claim 6, wherein if one of the at least one first recording serial number is invalid, selecting a valid serial number from a serial number database and modifying the last recording serial number to the valid serial number, wherein a plurality of second recording serial numbers following the valid serial number are valid.
9. The system for serial number recording according to claim 6, wherein the first recording number is less than or equal to a maximum recording number for which the first recording apparatus can perform a recording operation simultaneously, and the last recording serial number and the at least one first recording serial number are consecutive serial numbers.
10. The system for burning sequence numbers as claimed in claim 6, wherein each of the devices comprises a DDR SDRAM device, an HDMI protected device, a motherboard device, a display adapter device and a wireless network card device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710328212.6A CN108874816B (en) | 2017-05-11 | 2017-05-11 | Sequence number burning method and sequence number burning system for multiple burning devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710328212.6A CN108874816B (en) | 2017-05-11 | 2017-05-11 | Sequence number burning method and sequence number burning system for multiple burning devices |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108874816A CN108874816A (en) | 2018-11-23 |
CN108874816B true CN108874816B (en) | 2021-09-10 |
Family
ID=64319120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710328212.6A Active CN108874816B (en) | 2017-05-11 | 2017-05-11 | Sequence number burning method and sequence number burning system for multiple burning devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108874816B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625248B (en) * | 2020-06-01 | 2023-04-07 | 杭州万高科技股份有限公司 | Programming device and encryption programming method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8166566B2 (en) * | 2002-06-06 | 2012-04-24 | Rovi Solutions Corporations | Controlling the downloading and recording of digital data |
CN102830987A (en) * | 2011-06-14 | 2012-12-19 | 英业达股份有限公司 | Burning method |
CN105448338A (en) * | 2015-11-13 | 2016-03-30 | 惠州市蓝微电子有限公司 | Multi-channel burning device and method of power management IC |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100530146C (en) * | 2004-08-26 | 2009-08-19 | 鸿富锦精密工业(深圳)有限公司 | BIOS on-line rewriting method |
TWI431620B (en) * | 2011-06-08 | 2014-03-21 | Inventec Corp | Burning method |
-
2017
- 2017-05-11 CN CN201710328212.6A patent/CN108874816B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8166566B2 (en) * | 2002-06-06 | 2012-04-24 | Rovi Solutions Corporations | Controlling the downloading and recording of digital data |
CN102830987A (en) * | 2011-06-14 | 2012-12-19 | 英业达股份有限公司 | Burning method |
CN105448338A (en) * | 2015-11-13 | 2016-03-30 | 惠州市蓝微电子有限公司 | Multi-channel burning device and method of power management IC |
Non-Patent Citations (1)
Title |
---|
STM32系列单片机脱机批量烧录器的设计与实现;徐岳清;《长春工程学院学报(自然科学版)》;20150315;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN108874816A (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10606806B2 (en) | Method and apparatus for storing time series data | |
JP6542909B2 (en) | File operation method and apparatus | |
US10649905B2 (en) | Method and apparatus for storing data | |
CN106874281B (en) | Method and device for realizing database read-write separation | |
US20090063527A1 (en) | Processing of database statements with join predicates on range-partitioned tables | |
US11176110B2 (en) | Data updating method and device for a distributed database system | |
CN103970870A (en) | Database query method and server | |
CN109542911B (en) | Metadata organization method, system, equipment and computer readable storage medium | |
CN107463692B (en) | Super large text data is synchronized to the method and system of search engine | |
CN110851474A (en) | Data query method, database middleware, data query device and storage medium | |
CN110968585B (en) | Storage method, device, equipment and computer readable storage medium for alignment | |
CN108874816B (en) | Sequence number burning method and sequence number burning system for multiple burning devices | |
CN108875035B (en) | Data storage method of distributed file system and related equipment | |
CN104503868A (en) | Data synchronizing method, device and system | |
CN108874817B (en) | Sequence number burning method and sequence number burning system | |
TWI640916B (en) | Serial number burning method and serial number burning system for multiple burning apparatuses | |
CN110740138A (en) | Data transmission method and device | |
TWI630549B (en) | Serial number burning method and serial number burning system | |
CN110554905A (en) | Starting method and device of container | |
CN112818021B (en) | Data request processing method, device, computer equipment and storage medium | |
CN110647298B (en) | Data storage control method and device | |
CN112905587A (en) | Database data management method and device and electronic equipment | |
CN115210694A (en) | Data transmission method and device | |
US20160155054A1 (en) | Method of Operating a Solution Searching System and Solution Searching System | |
CN112241393B (en) | File storage method, terminal and computer readable storage medium |
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 | ||
CB02 | Change of applicant information |
Address after: Taiwan Xindian District, New Taipei City Chinese Po Road No. 6 Applicant after: GIGA-BYTE TECHNOLOGY Co.,Ltd. Address before: Chinese Taiwan Taipei City store Bao Jiang Road No. 6 Applicant before: GIGA-BYTE TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |