CN110515632B - Method and device for burning product serial code and terminal equipment - Google Patents

Method and device for burning product serial code and terminal equipment Download PDF

Info

Publication number
CN110515632B
CN110515632B CN201910808848.XA CN201910808848A CN110515632B CN 110515632 B CN110515632 B CN 110515632B CN 201910808848 A CN201910808848 A CN 201910808848A CN 110515632 B CN110515632 B CN 110515632B
Authority
CN
China
Prior art keywords
product serial
burning
code
product
serial code
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
Application number
CN201910808848.XA
Other languages
Chinese (zh)
Other versions
CN110515632A (en
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.)
CHONGQING HUIKE JINYANG SCIENCE & TECHNOLOGY CO LTD
Original Assignee
CHONGQING HUIKE JINYANG SCIENCE & 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 CHONGQING HUIKE JINYANG SCIENCE & TECHNOLOGY CO LTD filed Critical CHONGQING HUIKE JINYANG SCIENCE & TECHNOLOGY CO LTD
Priority to CN201910808848.XA priority Critical patent/CN110515632B/en
Publication of CN110515632A publication Critical patent/CN110515632A/en
Application granted granted Critical
Publication of CN110515632B publication Critical patent/CN110515632B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • General Factory Administration (AREA)

Abstract

The application is applicable to the technical field of displays, and provides a method, a device and a terminal device for burning a product serial code, wherein the method comprises the following steps: acquiring a first product sequence code to be burned, and reading the total digits of the first product sequence code; calculating the digits to be deleted according to the total digits of the first product serial codes and the fixed burning digits; deleting the sequence code at the preset position of the first product sequence code according to the number of bits to be deleted to obtain a second product sequence code with the fixed burning number; and after the second product serial code is subjected to digital conversion, burning the second product serial code into a display main board. Through the method and the device, the burning time of differentiated product serial codes is shortened, and the production efficiency is improved.

Description

Method and device for burning product serial code and terminal equipment
Technical Field
The application belongs to the technical field of displays, and particularly relates to a method, a device and a terminal device for burning a product serial code.
Background
In the production process of the display, corresponding serial codes need to be burnt on the produced products, one set of products only correspond to one set of product serial codes, and the product serial codes are identifiers for verifying the legal identities of the products.
With the global development of products, different customers have different requirements on the coding rules of the sequence codes, so that the digit of the sequence codes is larger than or smaller than the conventional coding digit; in the process of reading and burning the sequence codes in a factory, manual modification of adding or deleting the sequence codes of different coding rules is needed; when the product quantity is large, a large amount of processing time needs to be wasted in the process of burning the serial codes of the products, and the production efficiency of a production line is greatly reduced.
Disclosure of Invention
The embodiment of the application provides a method and a device for burning a product serial code and terminal equipment, and can solve the problems that when the product quantity is large, a large amount of processing time needs to be wasted in the process of burning the product serial code, and the production efficiency of a production line is greatly reduced.
In a first aspect, an embodiment of the present application provides a method for burning a product serial code, including:
acquiring a first product sequence code to be burned, and reading the total digits of the first product sequence code;
calculating the digits to be deleted according to the total digits of the first product serial codes and the fixed burning digits;
deleting the sequence code at the preset position of the first product sequence code according to the number of bits to be deleted to obtain a second product sequence code with the fixed burning number;
and after the second product serial code is subjected to digital conversion, burning the second product serial code into a display main board.
Based on the first aspect, when the obtained product serial code has the digits larger than the fixed burning digits, redundant digits corresponding to the preset positions are deleted without influencing other digits by calculating the digits to be deleted and setting the preset positions corresponding to the deletion, and the deleted product serial code is burned into a mainboard of a display, so that burning time of differentiated product serial codes is reduced, and production efficiency is improved.
In a possible implementation manner of the first aspect, before obtaining a first product serial code to be burned and reading a total number of bits of the first product serial code, the method includes:
loading the extended display identification data of the display main board;
and determining a preset position needing to be deleted in the first product sequence code according to the extended display identification data.
Based on a possible implementation manner of the first aspect, the extended display identification data of the display motherboard includes an identity table identifier and a performance parameter of the display; the method comprises the steps that for displays of different models, performance parameters are different, corresponding product sequence codes are different, corresponding preset positions are set according to expanded display identification data of a display main board, when the digit of the product sequence codes is larger than a fixed burning digit, the sequence codes at the preset positions are deleted, the deleted sequence codes do not affect data at other positions, and the reliability of the positions of the deleted redundant sequence codes is guaranteed.
In a possible implementation manner of the first aspect, after obtaining a first product serial code to be burned and reading a total number of bits of the first product serial code, the method includes:
if the total digits of the first product sequence code are smaller than the fixed burning digits, filling first control characters in a character set next to the last digit of the first product sequence code according to the fixed burning digits, and filling second control characters in the character set in the rest vacant positions of the fixed burning digits to obtain a second product sequence code with the fixed burning digits.
In a possible implementation manner based on the first aspect, when the total digits of the first product serial code are smaller than the fixed burning digits, the product serial code with insufficient digits needs to be filled to the fixed burning digits, and control characters are filled in the vacant positions, so as to meet the requirement of the extended display identification data of the display main board on the product serial code, reduce burning time of differentiated product serial codes, and improve production efficiency of a factory.
In a possible implementation manner of the first aspect, calculating the number of bits to be deleted according to the total number of bits of the first product serial code and the fixed burning number of bits includes:
and the total digits of the first product sequence codes are greater than the fixed burning digits, and the difference of the total digits of the first product sequence codes minus the fixed burning digits is used as the digits needing to be deleted.
In a possible implementation manner of the first aspect, if the preset position is empty, it is prompted that the preset position is a non-valid integer value, and a value of the preset position corresponding to the number of bits that need to be deleted is reset.
In a possible implementation manner of the first aspect, if the number of the preset positions is greater than or less than the number of the bits that need to be deleted, the number of the preset positions is prompted to be modified, and the number of the preset positions is set to be equal to the number of the bits that need to be deleted.
In a possible implementation manner of the first aspect, if the bit number value corresponding to the preset position is greater than the total number of bits of the first product sequence code, it is prompted that an error exists in the preset position, and a value of the preset position corresponding to the number of bits that needs to be deleted is modified.
In a possible implementation manner based on the first aspect, when a product serial code with a total digit larger than a fixed burning digit is deleted, the preset position and the calculated digit needing to be deleted are judged and detected, whether the preset position and the calculated digit are consistent or not is detected, if the preset position and the calculated digit do not accord, a prompt is given, and the preset position is reset, so that the preset position and the digit needing to be deleted correspond to each other, redundant digits are deleted more reliably and accurately, and data of other positions of the product serial number are not affected.
Understandably, when the obtained first product serial code is larger than the fixed burning digits, a preset position needing to be deleted is set, redundant digits are deleted, the serial code of the redundant digits is the fixed code of the serial codes of the products of the same type, the sequence of the products is not affected after deletion, and the effectiveness of the serial codes of the products after deletion of the redundant digits is guaranteed.
After the second product serial code is subjected to digital conversion, burning the second product serial code into a display main board, wherein the burning process comprises the following steps:
and converting the data and letters in the second product serial code into ASCII codes, adding the ASCII codes to the product serial code position in the extended display identification data, and burning the extended display identification data into a display mainboard.
Illustratively, the burned first product serial code may be replaced by scanning a two-dimensional code or a bar code.
In a second aspect, an embodiment of the present application provides an apparatus for burning a product serial code, including:
the device comprises an acquisition module, a recording module and a recording module, wherein the acquisition module is used for acquiring a first product serial code to be burned and reading the total digit of the first product serial code;
the calculation module is arranged for calculating the digits to be deleted according to the total digits of the first product serial code and the fixed burning digits;
the processing module is configured to delete the sequence code at the preset position of the first product sequence code according to the number of bits to be deleted to obtain a second product sequence code with the fixed burning number;
and the execution module is used for carrying out digital conversion on the second product serial code and then burning the second product serial code into the display mainboard.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a burning tool, a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method.
In a fifth aspect, an embodiment of the present application provides a computer program product, which when running on a terminal device, causes the terminal device to execute the method for burning the product serial code according to any one of the above first aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Compared with the prior art, the embodiment of the application has the advantages that: according to the embodiment of the application, a first product serial code to be burnt is obtained, and the total digits of the first product serial code are read; calculating the digits to be deleted according to the total digits of the first product serial codes and the fixed burning digits; deleting the sequence code at the preset position of the first product sequence code according to the number of bits required to be deleted to obtain a second product sequence code with a fixed burning number; after the second product serial code is subjected to digital conversion, burning the second product serial code into a display main board; when the digits of the obtained product sequence codes are larger than the fixed burning digits, redundant sequence codes with fixed numerical values at the designated positions can be deleted, and for the product sequence codes with the difference from the fixed burning digits, an operator does not need to manually modify the product sequence codes every time of burning, so that the burning time is reduced, and the production efficiency is improved; has strong usability and practicability.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic system structure diagram of an application scenario of a method for burning a product serial code according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for burning product serial codes according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a standard fixed-burning-bit product serial code according to an embodiment of the present application;
FIG. 4 is a diagram of a non-standard product serial number provided by an embodiment of the present application;
FIG. 5 is a flowchart illustrating a method for burning product serial codes according to another embodiment of the present application;
FIG. 6 is a schematic diagram of a converted format of a modified product serial number according to an embodiment of the present application
FIG. 7 is a schematic interface diagram illustrating a method for burning product serial codes according to an embodiment of the present application;
fig. 8 is a schematic diagram of a prompt interface in a product serial code burning process according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a product serial code burning apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this application and the drawings described above, are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
The product serial codes are identifiers for verifying the legal identity of a set of products and are used for guaranteeing the copyright rights and interests of users, and a set of legal products only correspond to one set of product serial codes and can also be called machine codes, authentication codes or registration application codes. The product serial code burning method can be applied to burning programs of product serial codes in the production process of any product. Different products and different customers have different coding rules for the product sequence codes, the data of each bit in the product sequence codes represent specific meanings, and the bits of the formed product sequence codes have differences, so that the total bits of the product sequence codes are larger than or smaller than the bits of the fixed standard. The fixed standard digit of the product serial code supported by the existing factory burning system is generally set to 13 digits, and due to the difference of the digits of the product serial code, manual modification is required to be carried out every time in the burning process of the product serial code in a factory, so that a large amount of time is wasted, and the efficiency of batch production of products is seriously influenced.
The product serial code burning method can be applied to the burning process of differentiated product serial codes. As shown in fig. 1, a system structure diagram of an application scenario of the method for burning a product serial code according to an embodiment of the present application takes burning a product serial code of a display motherboard as an example, and the method for burning a product serial code according to the embodiment of the present application can be applied to a terminal device such as a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), and the like, and the embodiment of the present application does not limit a specific type of the terminal device. As shown in the figure, the terminal device 10 is connected to the code scanning tool 20, the target barcode or the two-dimensional code is scanned by the code scanning tool to obtain the product serial code, the number of bits of the obtained product serial code is compared with the standard fixed burning number of bits required by the burning tool 102 by the processor 101 of the terminal device 10, if the number of bits of the obtained product serial code is greater than or less than the standard fixed burning number of bits, the product serial code is deleted or filled with the number of bits, the product serial code conforming to the standard fixed burning number of bits is output, and the burning tool 102 burns the product serial code into the display main board 30. The code scanning tool 20 may be a scanning gun, and may scan two-dimensional codes or bar codes at the same time; the terminal device 10 may be a desktop computer, a notebook computer, or a tablet computer; the burning tool 102 may be burning software supporting an android operating system, an iOS operating system, a Windows operating system, or a Unix operating system.
As shown in fig. 2, a flow diagram of a method for burning product serial codes according to an embodiment of the present application is applied to burning product serial codes with different digits, so as to solve the problem that time is wasted due to manual modification in the burning process of product serial codes with different digits.
The method provided by the embodiment comprises the following steps:
step S201, a first product serial code to be burned is obtained, and the total number of digits of the first product serial code is read.
In one embodiment, the first product serial code is an actual product serial code obtained before burning, such as the 13-bit product serial code KA3H018020001 shown in fig. 3, where each bit or multiple bits of the serial code represents a specific meaning. The sequence codes comprise fixed codes, such as KA3 representing the machine type code; h representing a vendor code; the sequence code also comprises a change code, for example, a two-digit number 01 which is positioned behind a manufacturer fixed code and represents a material number, and the material numbers corresponding to different countries are different; number 8 representing 2018 years, wherein the corresponding numbers of different years are different; a two-digit number 02 representing a week after the number representing the year; and a four digit number representing a pipelined code, there being a corresponding actual value that may vary. The product serial code shown in fig. 3 is a 13-bit code meeting the standard of the extended display identification data EDID requirement, and fig. 4 is a 12-bit product serial code VH8182100001, where each bit of the product serial code represents a specific meaning according to different encoding rules. The product sequence code also includes a 15-bit or 17-bit sequence code based on different encoding rules.
The bar code or the two-dimensional code is scanned through a scanning tool to obtain an actual product serial code, the scanned and obtained product serial code is transmitted to a processor of the terminal equipment, and the processor reads the total digits of the product serial code. As shown in the schematic view of the operation interface shown in fig. 7, the SN codes of the product sequence obtained by the scanning tool will be displayed in the SN code area where the scanning is displayed.
Step S202, calculating the digits to be deleted according to the total digits of the first product serial code and the fixed burning digits.
In one embodiment, the fixed burning bit number is a standard bit number of the product serial code meeting the requirement of the burning tool, and is generally 13 bits; the extended display identification data EDID is provided with the positions of the product serial codes and a fixed burning digit of the 13-digit product serial codes; and when the total digits of the obtained first product sequence code are larger than the fixed burning digits, for example, the product sequence code containing 17 digits, calculating the digits to be deleted.
Specifically, the fixed burning digits are subtracted from the actual digits of the obtained product serial code, and the obtained difference is the digits to be deleted.
Step S203, deleting the sequence code at the preset position of the first product sequence code according to the number of bits to be deleted, so as to obtain a second product sequence code with the fixed burning number.
In one embodiment, the preset position is a position code to be deleted, which is set according to parameters in the extended display identification data after the extended display identification data EDID is loaded by the burning tool. For example, if the currently acquired product sequence code is 15 bits, the number of bits to be deleted is 2 bits, and the values of the preset positions are 1 and 2, the data corresponding to the first bit and the second bit can be deleted; if the currently obtained product serial code is 17 bits, the number of bits to be deleted is 4 bits, and the values of the preset positions are 1, 2, 7 and 8, respectively, the data corresponding to the first bit, the second bit, the seventh bit and the eighth bit can be deleted.
In addition, the preset position can be filled by a user to set a corresponding deletion bit after the loading of the extended display identification data is finished, or a value of the preset position to be deleted can be automatically generated according to the loaded extended display identification data and the meaning represented by the fixed bit in the product sequence code.
It should be noted that, when the calculated number of bits to be deleted is consistent with the number of the preset positions, and the value of the preset position is within the total number of bits of the product serial code, the data or letters at the preset position are deleted by the burning tool according to the number of bits to be deleted, so that the number of bits of the second product serial code after deletion is a fixed burning number meeting the requirement.
And step S204, after the second product serial code is subjected to digital conversion, burning the second product serial code into a display main board.
In one embodiment, the second product serial code contains decimal digits and conventional English letters, and in order to facilitate storage and viewing, the data or letters of each digit of the second product serial code are required to be uniformly converted into ASCII code representation, and the position of the 13-digit product serial code written into the EDID is copied.
It should be noted that, at the position of the 13-bit product serial code where the converted 13-bit product serial code is filled in the EDID, the sum check code of the EDID is calculated in combination with the data at other positions of the EDID loaded before, and the sum check code is added to the end bit to ensure the integrity and accuracy of the data to be burned into the display main board, all the data are burned into the main board of the display, and after the burning is successful, prompts of "correct write", "pass verification", and "pass verification" are given.
Through the embodiment, when the actual total digits of the obtained product serial codes are larger than the standard fixed burning digits, the data or letters in redundant positions are required to be deleted according to the quantity to be deleted and the preset positions to be deleted, the product serial codes meeting the burning standards are obtained, the problem that manual modification is required in the burning process at each time is solved, the time for modifying the serial number digits can be reduced when products of the same machine type or different machine types are burned, and the production efficiency is greatly improved.
As shown in fig. 5, a flowchart of a method for burning a product serial code according to another embodiment of the present application is shown, where in one embodiment, the method for burning a product serial code includes the following steps:
step S501, load the extended display identification data of the display motherboard.
In one embodiment, the extended display identification data EDID is display device data transmitted by the display device in data communication, and includes basic parameters of the display device, such as: manufacturer, product name, maximum field frequency, and supportable resolution, etc. For different models of display devices, the extended display identification data EDID corresponding to the model is stored locally in the terminal device, and the extended display identification data EDID of the multiple channels of the target model is loaded, for example, the multiple channel data in the interface schematic diagram shown in fig. 7 are loaded and acquired according to the locally stored extended display identification data EDID.
Step S502, determining a preset position needing to be deleted in the first product sequence code according to the extended display identification data.
In one embodiment, the extended display identification data EDID includes a manufacturer and a product name, and the extended display identification data EDID corresponds to a product serial code and includes one or more fixed and unchangeable numbers representing the manufacturer or the product name; and setting the fixed and unchangeable position of the numerical value as a preset position needing to be deleted so as to ensure that the number of the set deletable position does not influence the meaning represented by the data of other positions after deletion. As shown in the interface diagram of fig. 7, the set value of the preset position is displayed in the preset position setting area.
Step S503, a first product sequence code to be burned is obtained, and the total digits of the first product sequence code are read. Step S503 is the same as step 201, and is not described herein again.
Step S504, if the total number of bits of the first product sequence code is less than the fixed burning number of bits, according to the fixed burning number of bits, filling a first control character in the character set next to the last bit of the first product sequence code, and filling second control characters in the character set in the rest vacant positions of the fixed burning number of bits, so as to obtain a second product sequence code with the fixed burning number of bits.
In one embodiment, due to the differentiation of the product serial codes, the total number of the obtained product serial codes may be less than the fixed burning number of the burning tool, and the fixed burning number is generally set to 13 bits, such as the 12-bit product serial code shown in fig. 2, which is less than the fixed burning number of 13 bits. And when the total digits of the obtained actual product serial codes are smaller than the fixed burning digits, filling the actual product serial codes to the fixed burning digits, namely a second product serial code. As shown in fig. 6 (a) and (b), the product serial code is shown as 123456789 for a total of 9 bits, a control character indicating the end is added to the next bit after the ninth bit, and the remaining three spaces are filled with spaces; since the first 32 (0-31) characters of the control characters or function characters in the ASCII character set are invisible characters but need to occupy actual character positions, only 9-bit numbers are still displayed when the product serial code is displayed, but when the control characters or function characters are displayed in ASCII code after conversion, the control characters or function characters are correspondingly displayed as the sequence in fig. 6 (a), the control characters or function characters corresponding to the end are converted into 0A in hexadecimal, and the control characters or function characters corresponding to the empty lattice are converted into 20 in hexadecimal. As in fig. 6 (b), the 12-bit product sequence code, with the control character indicating end and not visible filled in the next bit of the last bit of the product sequence code, corresponds to 0A in hexadecimal.
Step S505, the total number of bits of the first product sequence code is greater than the fixed burning number of bits, and the difference between the total number of bits of the first product sequence code and the fixed burning number of bits is used as the number of bits to be deleted.
In one embodiment, the fixed burning bit number is a standard bit number of the product serial code meeting the requirement of the burning tool, and is generally 13 bits; setting the position of a product serial code in the extended display identification data EDID, and setting a fixed burning digit of the 13-bit product serial code; and when the total digits of the obtained first product sequence codes are larger than the fixed burning digits, subtracting the fixed burning digits from the actual digits of the obtained product sequence codes to obtain a difference value which is the digits to be deleted.
In one embodiment, when the sequence code at the preset position of the first product sequence code is deleted according to the number of bits to be deleted, there may be a problem that the number of bits to be deleted does not coincide with the preset position. As described in the following steps:
step S506, if the preset position is empty, prompting that the preset position is a non-valid integer value, and resetting the value of the preset position corresponding to the number of bits that need to be deleted.
In an embodiment, if the value of the preset position is a one-time setting performed by the user or the programming tool does not perform the setting of the preset position according to the display identifier data, the value of the preset position may be in an empty state, and when the total digits of the actual product serial code are greater than the fixed number of programming digits, the digits to be deleted are not consistent with the value of the preset position, the data or the letters corresponding to the preset position cannot be deleted, and a corresponding prompt is given, for example, a prompt interface diagram shown in fig. 8 (c), where the prompt "is not a valid integer value" is given, and indicates that the value of the preset position is an invalid value. After a determination instruction input by a user is received, the value of the preset position is set, and the value can be directly set by the user or set by a burning tool according to the information of the display identification data.
Step S507, if the number of the preset positions is greater than or less than the number of the bits to be deleted, prompting to modify the number of the preset positions, and setting the number of the preset positions to be equal to the number of the bits to be deleted.
In an embodiment, to avoid inconsistency between the preset positions and the number of bits to be deleted, the number of the preset positions is compared with the number of bits to be deleted, and if the number of the preset positions is greater than or less than the number of the bits to be deleted, the data or the letters corresponding to the preset positions cannot be deleted, for example, the product sequence code is 123456789ABCDE, the actual total length is 14 bits, and the number of the preset positions to be deleted is 3, a corresponding prompt is given, for example, a prompt interface diagram shown in fig. 8 (b), where the prompt is "Bar code length =14, but remove 3code", and indicates that the number of the preset positions to be deleted is inconsistent with the number of bits to be deleted of the actual total number of bits of the product serial number. And after receiving a confirmation OK instruction input by the user, resetting the value of the preset position, wherein the value of the preset position can be directly set by the user or can be set by a burning tool according to the information of the display identification data.
Step S508, if the number of bits corresponding to the preset position is greater than the total number of bits of the first product serial code, prompting that there is an error in the preset position, and modifying the value of the preset position corresponding to the number of bits that need to be deleted.
In one embodiment, to avoid the inconsistency between the preset position and the number of bits to be deleted, the value of the representative number of bits of the preset position is compared with the actual total number of bits of the product sequence code, and if the value of the preset position is greater than the actual total number of bits of the product sequence code, the data or the letters at the preset position cannot be located, and the deletion cannot be performed, for example, the product sequence code is 123456789ABCDE, the actual total length is 14 bits, and the value of the preset position to be deleted is 15, a corresponding prompt is given, for example, the prompt interface diagram shown in FIG. 8 (a) is a prompt of "Wrong remove code position! ", the value of the preset position needing to be deleted exceeds the actual total digit of the product serial number, and the value of the preset position is set with errors. And after receiving an OK confirmation instruction input by a user, resetting the value of the preset position, wherein the value of the preset position can be directly set by the user or can be set by a burning tool according to the information of the display identification data.
And 509, converting the data and the letters in the second product serial code into ASCII codes, adding the ASCII codes to the product serial code positions in the extended display identification data, and burning the extended display identification data into the display main board.
In one embodiment, the second product serial code contains decimal digits and conventional english letters, and in order to facilitate storage and viewing, the data or letters of each digit of the second product serial code are uniformly converted into hexadecimal ASCII codes, and the converted serial codes are written into the positions of the 13-digit product serial codes of the EDID.
Filling in the sequence code at the position of the 13-bit product sequence code of the EDID, calculating the total check code of the EDID by combining the data of other positions of the EDID loaded before, adding the total check code to the ending position to ensure the integrity and accuracy of the data to be burned into the display main board, burning the product sequence code and all the data at other positions into the main board of the display, and giving out the prompts of writing correctness, verification passing and verification passing after the burning is successful.
According to the embodiment, when the actual total digits of the obtained product serial codes are larger than the standard fixed burning digits, the data or letters in redundant positions are deleted according to the deleted quantity and the deleted preset positions, so that the product serial codes meeting the burning standards are obtained, the problem that manual modification is needed in each burning process is solved, the time for modifying the serial number digits can be reduced when products of the same model or different models are produced in batches aiming at differentiated product serial numbers, the burning efficiency of the serial codes is improved, and the production efficiency is greatly improved; meanwhile, in the process of modifying differentiated product sequence codes, when the actual total digits of the product sequence codes are larger than the fixed burning digits, the fixed and unchangeable sequence codes in the product sequence codes need to be deleted correspondingly, in order to ensure the accuracy of the positions and the quantity of the deleted sequence codes, the value of the preset position is compared with the actual total digits of the product sequence codes, the quantity of the preset position is compared with the digits needing to be deleted, and if the preset position is inconsistent with the digits needing to be deleted, the preset position is reset, so that the reliability of the deleted digits is ensured, and the data or letters at other positions and the overall meaning of the product sequence codes are not influenced.
As shown in fig. 9, a schematic structural diagram of a product serial code burning apparatus according to an embodiment of the present application only shows portions related to the embodiment for convenience of description.
The product serial code burning device comprises:
the acquisition module 91 is configured to acquire a first product serial code to be burned, and read the total number of bits of the first product serial code;
the calculating module 92 is configured to calculate the digits to be deleted according to the total digits of the first product serial code and the fixed burning digits;
the processing module 93 is configured to delete the sequence code at the preset position of the first product sequence code according to the number of bits to be deleted, so as to obtain a second product sequence code with the fixed burning number;
and the execution module 94 is configured to perform digital conversion on the second product serial code and then burn the second product serial code into the display main board.
In one embodiment, the obtaining module may be a Circuit or a device having a function of collecting data, and may be implemented by a general-purpose Integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit).
In one embodiment, the computing module may be a Circuit or a device with data operation Processing function, and may be implemented by a general-purpose Integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit).
In one embodiment, the processing module may be a Circuit or a device with data location deletion function, and may be implemented by a general-purpose Integrated Circuit, for example, by an Application Specific Integrated Circuit (ASIC).
In one embodiment, the execution module may be a Circuit or a device having a data output and filling function, and may be implemented by a general-purpose Integrated Circuit, for example, by an Application Specific Integrated Circuit (ASIC).
Through the embodiment, when the actual total digits of the obtained product serial codes are larger than the standard fixed burning digits, the data or letters in redundant positions are required to be deleted according to the quantity to be deleted and the preset positions to be deleted, the product serial codes meeting the burning standards are obtained, the problem that manual modification is required in the burning process at each time is solved, the time for modifying the serial number digits can be reduced when products of the same machine type or different machine types are burned, and the production efficiency is greatly improved.
As shown in fig. 10, an embodiment of the present application provides a terminal device 100, which includes a processor 1000, a memory 1001, and a computer program 1002 stored in the memory 1001 and operable on the processor 1000, and further includes a burning tool 1003. The processor 1000 implements the steps of the driving method described above when executing the computer program, such as steps S201 to S204 shown in fig. 2.
Illustratively, the computer program 1002 may be partitioned into one or more modules/units, which are stored in the memory 1001 and executed by the processor 1000 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution process of the computer program 1002 in the terminal device 100. For example, the computer program 1002 may be divided into an acquisition module, a calculation module, a processing module, and an execution module, and the specific functions of each module are as follows:
the device comprises an acquisition module, a recording module and a recording module, wherein the acquisition module is used for acquiring a first product serial code to be burned and reading the total digit of the first product serial code;
the calculation module is set to calculate the bits needing to be deleted according to the total bits of the first product serial code and the fixed burning bits;
the processing module is configured to delete the sequence code at the preset position of the first product sequence code according to the number of bits to be deleted to obtain a second product sequence code with the fixed burning number;
and the execution module is used for carrying out digital conversion on the second product serial code and then burning the second product serial code into the display mainboard.
The terminal equipment may include, but is not limited to, a processor 1000 and a memory 1001. Those skilled in the art will appreciate that the illustration in fig. 10 is merely an example of the terminal device 100, and does not constitute a limitation to the terminal device 100, and may include more or less components than those illustrated, or combine some components, or different components, for example, the terminal device 100 may further include an input-output device, a network access device, a bus, etc.
The Processor 1000 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 1001 may be an internal storage unit of the terminal device 100, such as a hard disk or a memory of the terminal device 100. The memory 1001 may also be an external storage device of the terminal device 100, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the terminal device 100. Further, the memory 1001 may also include both an internal storage unit and an external storage device of the terminal device 100. The memory 1001 is used to store the computer program and other programs and data required by the display device. The memory 1001 may also be used to temporarily store data that has been output or is to be output.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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, may be located in one place, or may be 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, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for burning a product serial code is characterized by comprising the following steps:
acquiring a first product serial code to be burned, and reading the total digit of the first product serial code;
calculating the digits to be deleted according to the total digits of the first product serial codes and the fixed burning digits;
deleting the sequence code at the preset position of the first product sequence code according to the number of bits to be deleted to obtain a second product sequence code with the fixed burning number;
and after the second product serial code is subjected to digital conversion, burning the second product serial code into a display main board.
2. The method of claim 1, wherein before obtaining a first product serial code to be burned and reading the total number of bits of the first product serial code, the method comprises:
loading the extended display identification data of the display mainboard;
and determining a preset position to be deleted in the first product sequence code according to the extended display identification data.
3. The method of claim 1, wherein obtaining a first product serial code to be burned and reading the total number of bits of the first product serial code comprises:
if the total digits of the first product serial code are smaller than the fixed burning digits, filling first control characters in a character set next to the last digit of the first product serial code according to the fixed burning digits, and filling second control characters in the character sets in the rest vacant positions of the fixed burning digits to obtain a second product serial code with the fixed burning digits.
4. The method of claim 1, wherein calculating the number of bits to be deleted according to the total number of bits of the first product serial code and the fixed burning number of bits comprises:
and the total digit of the first product serial code is greater than the fixed burning digit, and the difference of the total digit of the first product serial code minus the fixed burning digit is used as the digit needing to be deleted.
5. The method of claim 1, comprising:
and if the preset position is empty, prompting that the preset position is a non-effective integer value, and resetting the value of the preset position corresponding to the number of the bits needing to be deleted.
6. The method of claim 1, comprising:
and if the number of the preset positions is larger than or smaller than the number of the bits needing to be deleted, prompting to modify the number of the preset positions, and setting the number of the preset positions to be equal to the number of the bits needing to be deleted.
7. The method of claim 1, comprising:
and if the bit value corresponding to the preset position is larger than the total number of bits of the first product sequence code, prompting that an error exists in the preset position, and modifying the value of the preset position corresponding to the number of bits needing to be deleted.
8. The method as claimed in claim 2, wherein the step of burning the second product serial code into the display motherboard after performing digital conversion comprises:
and converting the data and letters in the second product serial code into ASCII codes, adding the ASCII codes to the product serial code position in the extended display identification data, and burning the extended display identification data into a display mainboard.
9. A device for burning a product serial code is characterized by comprising:
the device comprises an acquisition module, a recording module and a control module, wherein the acquisition module is used for acquiring a first product serial code to be burned and reading the total digit of the first product serial code;
the calculation module is arranged for calculating the digits to be deleted according to the total digits of the first product serial code and the fixed burning digits;
the processing module is configured to delete the sequence code at the preset position of the first product sequence code according to the number of bits to be deleted to obtain a second product sequence code with the fixed burning number;
and the execution module is used for carrying out digital conversion on the second product serial code and then burning the second product serial code into the display mainboard.
10. A terminal device comprising a burning tool, a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 8 when executing the computer program.
CN201910808848.XA 2019-08-29 2019-08-29 Method and device for burning product serial code and terminal equipment Active CN110515632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910808848.XA CN110515632B (en) 2019-08-29 2019-08-29 Method and device for burning product serial code and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910808848.XA CN110515632B (en) 2019-08-29 2019-08-29 Method and device for burning product serial code and terminal equipment

Publications (2)

Publication Number Publication Date
CN110515632A CN110515632A (en) 2019-11-29
CN110515632B true CN110515632B (en) 2023-03-07

Family

ID=68628155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910808848.XA Active CN110515632B (en) 2019-08-29 2019-08-29 Method and device for burning product serial code and terminal equipment

Country Status (1)

Country Link
CN (1) CN110515632B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009093513A (en) * 2007-10-11 2009-04-30 Oki Semiconductor Co Ltd Method for reducing instruction bit length
CN102073812A (en) * 2010-12-22 2011-05-25 Tcl通力电子(惠州)有限公司 System and method for burning sequence code
US8799537B1 (en) * 2009-09-25 2014-08-05 Analogix Semiconductor, Inc. Transfer of uncompressed multimedia contents and data communications
CN107783773A (en) * 2017-11-22 2018-03-09 广东乐心医疗电子股份有限公司 Firmware burning method and system
CN109189402A (en) * 2018-07-11 2019-01-11 厦门华联电子股份有限公司 The automatic programming system of product software, method and burning server
CN109978565A (en) * 2019-02-19 2019-07-05 摩比科技(深圳)有限公司 Product packaging data managing method, device, terminal device and readable storage medium storing program for executing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200849081A (en) * 2007-06-08 2008-12-16 Tatung Co Ltd Method of integrating barcode information and extended display identification data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009093513A (en) * 2007-10-11 2009-04-30 Oki Semiconductor Co Ltd Method for reducing instruction bit length
US8799537B1 (en) * 2009-09-25 2014-08-05 Analogix Semiconductor, Inc. Transfer of uncompressed multimedia contents and data communications
CN102073812A (en) * 2010-12-22 2011-05-25 Tcl通力电子(惠州)有限公司 System and method for burning sequence code
CN107783773A (en) * 2017-11-22 2018-03-09 广东乐心医疗电子股份有限公司 Firmware burning method and system
CN109189402A (en) * 2018-07-11 2019-01-11 厦门华联电子股份有限公司 The automatic programming system of product software, method and burning server
CN109978565A (en) * 2019-02-19 2019-07-05 摩比科技(深圳)有限公司 Product packaging data managing method, device, terminal device and readable storage medium storing program for executing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Serial Number Based Identification Model for a Computer in a Wireless Local Area Network;Joseph Chebor;《Kabarak University International Research Conference on Computing and Information Systems Kabarak University》;20181014;第118-131页 *
全自动烧录***的研究与开发;徐新悦;《中国优秀硕士学位论文全文数据库 信息科技辑》;20190515;I138-809 *
多接口显示器EDID快速烧录方法;黄玉琴;《福建电脑》;20170430;第157-158、99页 *

Also Published As

Publication number Publication date
CN110515632A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
CN107766900B (en) Method, system and computing device for printing bar code
US8762350B2 (en) Methods and systems for providing data objects on a token
CN110597511B (en) Page automatic generation method, system, terminal equipment and storage medium
KR880000232B1 (en) Terminal connecting system
CN110888881B (en) Picture association method and device, computer equipment and storage medium
CN108596764B (en) Transaction method, system and terminal device based on block chain
CN110515632B (en) Method and device for burning product serial code and terminal equipment
CN112686307A (en) Method, device and storage medium for obtaining invoice based on artificial intelligence
CN115017485A (en) Data authority management and control method and system
CN107800816B (en) IP address database establishing method and terminal equipment
CN110008446A (en) The method and electronic equipment that a kind of language based on programming converts form document
CN109359878B (en) Archive data processing method, computer device and computer readable storage medium
CN112465519A (en) Server component fool-proof management and control method, system, terminal and storage medium
CN110111188B (en) Business handling method and equipment
CN109324963B (en) Method for automatically testing profit result and terminal equipment
CN113407924A (en) Barrier-free service-based application lock opening method, terminal device and storage medium
CN114662097A (en) CSV file injection attack detection method and device, electronic equipment and storage medium
CN115729568A (en) Program burning protection method and device, burner and board card
CN108665020B (en) Marking method and device for substrate
CN111726604A (en) Setting method and device of working mode data, terminal and readable storage medium
CN113127408A (en) Data conversion method and device
CN112131065A (en) Method, device and system for verifying DAC (digital-to-analog converter) interface
CN112214415A (en) Trusted management method for executable files of airborne embedded system
CN111400699A (en) Terminal verification method, device and system and storage medium
CN106709321A (en) Verification method and verification device for combined key

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
TA01 Transfer of patent application right

Effective date of registration: 20191217

Address after: No. 2388, Dongcheng Avenue, Jieshi Town, Banan District, Chongqing

Applicant after: CHONGQING HUIKE JINYANG SCIENCE & TECHNOLOGY Co.,Ltd.

Address before: The New District of Hefei City, Anhui province 230012 nine Top Road and intersection of the northeast corner of Kui he Lu

Applicant before: HEFEI HUIKE JINYANG TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant