Disclosure of Invention
The embodiment of the invention aims to provide a method for generating a sequence code of a memory chip, and aims to solve the problems that the existing method for generating the sequence code is complicated and error-prone, and the sequence code field is easy to waste.
The embodiment of the invention is realized in such a way that a method for generating a sequence code of a memory chip comprises the following steps:
the central server acquires sequence code acquisition signals transmitted by all the test bits and stores all the sequence code acquisition signals in a stack area in sequence;
the central server judges whether the current index value of the sequence code configuration file is occupied or not;
if so, the central server acquires the latest sequence code generated by the sequence code configuration file, and returns the latest sequence code to the test bit corresponding to the first sequence code acquisition signal in the stack area, and meanwhile, the sequence code configuration file records the latest index value of the latest sequence code.
Further, after the step of the central server determining whether the current index value of the serial code configuration file is occupied, the method further includes the following steps:
if not, the step that the central server judges whether the current index value of the sequence code configuration file is occupied is executed in a traversing way.
Further, the method for recording the latest index value of the latest sequence code by the sequence code configuration file comprises the following steps:
and acquiring an index starting value, an index ending value and an index mark of the latest sequence code.
Further, the method for recording the latest index value of the latest sequence code by the sequence code configuration file comprises the following steps:
and after the first test bit successfully writes the latest sequence code into a memory chip, transmitting the latest index value to the central server, and writing the latest index value into the sequence code configuration file by the central server.
Further, after the step of returning the latest serial code to the test bits corresponding to the first serial code acquisition signal in the stack area, the method further includes the steps of:
and deleting the current first sequence code acquisition signal in the stack area to obtain a new first sequence code acquisition signal.
Another embodiment of the present invention further provides a memory chip sequence code generating apparatus, including:
the central server is used for acquiring sequence code acquisition signals transmitted by all test positions, storing all the sequence code acquisition signals in a stack area, judging whether the current index value of a sequence code configuration file is occupied, acquiring the latest sequence code generated by the sequence code configuration file, and transmitting the latest sequence code back to the test position corresponding to the first sequence code acquisition signal in the stack area;
and the sequence code configuration file is used for generating the latest sequence code and recording the latest index value of the latest sequence code.
Still further, the apparatus further comprises:
and the traversal execution module is used for performing the step that the central server judges whether the current index value of the sequence code configuration file is occupied in a traversal mode.
Further, the sequence code configuration file includes:
and the recording module is used for acquiring the index starting value, the index ending value and the index mark of the latest sequence code.
Another embodiment of the present invention further provides an electronic device, including: the memory chip sequence code generation method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the steps in the memory chip sequence code generation method.
Another embodiment of the present invention further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps in the memory chip sequence code generating method according to any one of the above.
The invention has the beneficial effects that: acquiring sequence code acquisition signals transmitted by all test bits through a central server, and storing all the sequence code acquisition signals in a stack area in sequence; then judging whether the current index value of the sequence code configuration file is occupied or not through the central server; if so, the central server acquires the latest sequence code generated by the sequence code configuration file, and returns the latest sequence code to the test bit corresponding to the first sequence code acquisition signal in the stack area, and meanwhile, the sequence code configuration file records the latest index value of the latest sequence code; by the method, in the mass production test process, a plurality of product test positions on the machine table have one sequence code configuration file at the same time, and the sequence code configuration file is updated after the latest sequence code is written into the product, so that the sequence code is increased progressively and is not repeated; the configuration file of the same sequence code can be continuously updated, a plurality of mass production software is not required to be divided, misoperation is reduced, unused fields which can be represented by the sequence code cannot be generated, the sequence code in the same batch is unique, the number of produced samples is more than 42 hundred million, and the requirement of large-batch products can be met.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
According to the invention, the central server is set up, and the sequence code configuration file is placed in the central server, so that in the mass production test process, a plurality of product test positions on a machine table have one sequence code configuration file at the same time, and only one sequence code configuration file can be accessed, and the sequence code configuration file of the central server is updated after the sequence code is written in the product, so that the problem of sequence code repetition is solved; and deleting the current first sequence code acquisition signal in the stack area, so that no repeated sequence code acquisition signal exists in the stack area.
Specific implementations of the present invention are described in detail below with reference to specific examples.
Example one
Referring to fig. 1, a method for generating a serial code of a memory chip according to a first embodiment of the present invention includes steps S01 to S03:
step S01, the central server obtains the sequence code obtaining signals transmitted from all the test bits, and stores all the sequence code obtaining signals in the stack area in sequence.
In the testing process of the memory chip, the automatic testing machine is responsible for controlling the testing of all the memory chips, sending a mass production signal to the testing computer, automatically detecting the signal by mass production software on the testing computer, controlling the testing bits to start firmware burning testing, writing sequence code information into the memory chips in the firmware burning process, and uniformly distributing sequence codes obtained by each testing bit by the central server; the central server communicates with the mass production software on each test computer through a network or a serial port, the firmware burning test is carried out to the sequence code writing process, sequence code acquisition signals are sent to the central server to acquire the sequence codes, then the central server monitors the sequence code acquisition signals sent by each test position and sequentially stores the sequence code acquisition signals into the stack area, and therefore the sequence code acquisition signals are sequentially stored into the stack area. The mass PRODUCTION software, also called a USB DISK mass PRODUCTION TOOL (PDT for short), writes corresponding data into the USB DISK, so that the computer can correctly identify the USB DISK, and the USB DISK has some special functions.
In step S02, the central server determines whether the current index value of the serial code configuration file is occupied.
Step S03, if yes, the central server obtains the latest sequence code generated by the sequence code configuration file, and returns the latest sequence code to the test bit corresponding to the first sequence code obtaining signal in the stack area, and meanwhile, the sequence code configuration file records the latest index value of the latest sequence code.
Specifically, the sequence code acquisition signal is used for inquiring the sequence code configuration file to try to acquire the current index value of the latest sequence code, and the current index value is returned to the test bit corresponding to the first sequence code acquisition signal in the stack area, and the latest index value of the latest sequence code is recorded, so that the situation that the sequence codes are acquired next time and overlapped does not occur is avoided.
In the method for generating the sequence code of the memory chip, the central server acquires the sequence code acquisition signals transmitted from all the test positions and stores all the sequence code acquisition signals in the stack area in sequence; then judging whether the current index value of the sequence code configuration file is occupied or not through the central server; if so, the central server acquires the latest sequence code generated by the sequence code configuration file, and returns the latest sequence code to the test bit corresponding to the first sequence code acquisition signal in the stack area, and meanwhile, the sequence code configuration file records the latest index value of the latest sequence code; by the method, in the mass production test process, a plurality of product test positions on the machine table have one sequence code configuration file at the same time, and the sequence code configuration file is updated after the latest sequence code is written into the product, so that the sequence code is increased progressively and is not repeated; the configuration file of the same sequence code can be continuously updated, a plurality of mass production software is not required to be divided, misoperation is reduced, unused fields which can be represented by the sequence code cannot be generated, the sequence code in the same batch is unique, the number of produced samples is more than 42 hundred million, and the requirement of large-batch products can be met.
Example two
In another embodiment of the present invention, referring to fig. 1, after the step of the central server determining whether the current index value of the sequence code configuration file is occupied, the method further includes the following steps:
if not, the step that the central server judges whether the current index value of the sequence code configuration file is occupied is executed in a traversing way. When the central server judges that the current index value of the sequence code configuration file is not occupied, the central server indicates that the current sequence code configuration file does not generate the sequence code corresponding to the current index value, and the latest sequence code can be directly configured, so that the sequence code is ensured to be increased progressively without being repeated.
EXAMPLE III
In an embodiment of the present invention, referring to fig. 2, the method for recording the latest index value of the latest serial code by the serial code profile includes steps S031:
step S031, obtain the index start value, index end value, and index marker of the latest sequence code.
The method for recording the latest index value of the latest serial code by the serial code configuration file comprises the following steps of S032:
step S032, after the first test bit successfully writes the latest serial code into the memory chip, the latest index value is transmitted to the central server, and the central server writes the latest index value into the serial code configuration file.
Specifically, the sequence code configuration file has two functions, one of which is used for recording a sequence code index range, including an index start value, an index end value and an index mark; the index start value and the index end value determine the boundary which can be set by the sequence code, the minimum is 1, and the maximum is 0xFFFFFFFF (16-system); the index mark is used for automatically setting the format of the sequence code and distinguishing products of different batches with different production dates, for example, the index mark is marked by using system time, a network port IP and serial port numbers so as to distinguish samples of different machines in different time volume production. The other function of the sequence code configuration file is used for synchronizing the current latest index value, and after the test bit successfully writes the latest sequence code into the memory chip, the current latest index value is transmitted to the central server and written into the sequence code configuration file, so that the latest index value is increased backwards according to the latest index value when the next sequence code is obtained; it is understood that in other embodiments of the present invention, two sequence code profiles may be further configured to implement the above two functions respectively.
Example four
In an embodiment of the invention, referring to fig. 1, after the step of returning the latest serial code to the test bit corresponding to the first serial code acquiring signal in the stack area, the method further includes step S04:
step S04, deleting the current first sequence code acquisition signal in the stack area to obtain a new first sequence code acquisition signal. In order to ensure that a test bit corresponding to the first sequence code acquisition signal does not repeatedly acquire the sequence code, the current first sequence code acquisition signal in the stack area may be deleted to acquire a new first sequence code acquisition signal, for example, if the current first sequence code acquisition signal in the stack area is a and the second sequence code acquisition signal is B, after the central server returns the latest sequence code to the test bit corresponding to the first sequence code acquisition signal in the stack area, the signal a in the stack area is deleted, and at this time, the signal B automatically becomes the new first sequence code acquisition signal.
EXAMPLE five
Another embodiment of the present invention provides a memory chip sequence code generating apparatus, please refer to fig. 3, where the apparatus includes:
the central server 10 is configured to acquire sequence code acquisition signals transmitted from all test bits, store all the sequence code acquisition signals in a stack area, determine whether a current index value of a sequence code configuration file is occupied, acquire a latest sequence code generated by the sequence code configuration file, and transmit the latest sequence code back to the test bit corresponding to the first sequence code acquisition signal in the stack area.
And the sequence code configuration file 20 is used for generating the latest sequence code and recording the latest index value of the latest sequence code.
The memory chip sequence code generating device acquires sequence code acquisition signals transmitted by all test positions through a central server and stores all the sequence code acquisition signals in a stack area in sequence; then judging whether the current index value of the sequence code configuration file is occupied or not through the central server; if so, the central server acquires the latest sequence code generated by the sequence code configuration file, and returns the latest sequence code to the test bit corresponding to the first sequence code acquisition signal in the stack area, and meanwhile, the sequence code configuration file records the latest index value of the latest sequence code; by the method, in the mass production test process, a plurality of product test positions on the machine table have one sequence code configuration file at the same time, and the sequence code configuration file is updated after the latest sequence code is written into the product, so that the sequence code is increased progressively and is not repeated; the configuration file of the same sequence code can be continuously updated, a plurality of mass production software is not required to be divided, misoperation is reduced, unused fields which can be represented by the sequence code cannot be generated, the sequence code in the same batch is unique, the number of produced samples is more than 42 hundred million, and the requirement of large-batch products can be met.
EXAMPLE six
In an embodiment of the present invention, referring to fig. 3, the apparatus further includes:
and the traversal execution module 11 is configured to perform traversal to determine whether the current index value of the serial code configuration file is occupied by the central server.
Specifically, in this embodiment, the sequence code configuration file 20 includes:
the recording module 21 is configured to obtain an index start value, an index end value, and an index flag of the latest sequence code.
EXAMPLE seven
In order to solve the foregoing technical problem, an embodiment of the present application further provides an electronic device, configured to perform processing in a memory chip sequence code generation method. Referring to fig. 4, fig. 4 is a block diagram of a basic structure of the electronic device of the present embodiment, as shown in fig. 4.
The electronic device 14 comprises a memory 1401, a processor 1402, a network interface 1403 communicatively connected to each other via a system bus. It is noted that only electronic device 14 having components 1401 and 1403 is shown, but it is understood that not all of the shown components need be implemented, and that more or fewer components can be implemented instead. As will be understood by those skilled in the art, the electronic device is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The electronic device may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing device. The electronic equipment can be in man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch panel or voice control equipment and the like.
The memory 1401 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 1401 may be an internal storage unit of the electronic device 14, such as a hard disk or a memory of the electronic device 14. In other embodiments, the memory 1401 may also be an external storage device of the electronic device 14, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 14. Of course, the memory 1401 may also include both internal and external memory units of the electronic device 14. In this embodiment, the memory 1401 is generally configured to store an operating system installed in the electronic device 14 and various types of application software, such as program codes of a memory chip sequence code generation method. The memory 1401 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 1402 may be, in some embodiments, a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data Processing chip. The processor 1402 is generally configured to control the overall operation of the electronic device 14. In this embodiment, the processor 1402 is configured to run the program code stored in the memory 1401 or process data, for example, the program code of the above-mentioned memory chip sequence code generation method.
The network interface 1403 may include a wireless network interface or a wired network interface, and the network interface 1403 is generally used for establishing a communication connection between the electronic device 14 and other electronic devices.
Example eight
The present application further provides another embodiment, which is to provide a computer-readable storage medium, wherein the computer-readable storage medium stores a memory chip sequence code generation method program, and the memory chip sequence code generation method program can be executed by at least one processor, so that the at least one processor executes the steps of the memory chip sequence code generation method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.