CN111258631B - Automatic mass production system and method for terminal equipment parameters - Google Patents

Automatic mass production system and method for terminal equipment parameters Download PDF

Info

Publication number
CN111258631B
CN111258631B CN202010034977.0A CN202010034977A CN111258631B CN 111258631 B CN111258631 B CN 111258631B CN 202010034977 A CN202010034977 A CN 202010034977A CN 111258631 B CN111258631 B CN 111258631B
Authority
CN
China
Prior art keywords
volume production
mass production
automatic
production
terminal equipment
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
CN202010034977.0A
Other languages
Chinese (zh)
Other versions
CN111258631A (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.)
Unicmicro Guangzhou Co ltd
Original Assignee
Unicmicro Guangzhou 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 Unicmicro Guangzhou Co ltd filed Critical Unicmicro Guangzhou Co ltd
Priority to CN202010034977.0A priority Critical patent/CN111258631B/en
Publication of CN111258631A publication Critical patent/CN111258631A/en
Application granted granted Critical
Publication of CN111258631B publication Critical patent/CN111258631B/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/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • 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 invention discloses a system and a method for automatic mass production of parameters of terminal equipment, wherein the system comprises an automatic mass production tool, a mass production clamp platform and a serial port module, and the automatic mass production tool is communicated with the mass production clamp platform through the serial port module; the automatic mass production tool is used for setting key parameters of different terminal equipment differences and carrying out automatic mass production of the terminal equipment parameters; the universal firmware code is burnt in the terminal equipment; and the mass production clamp platform is used for fixing the terminal equipment and receiving a channel switching instruction issued by the automatic mass production tool. According to the invention, the function codes of the terminal equipment are divided into the universal firmware codes and the key parameters, the universal firmware codes are uniformly burnt into the terminal equipment, and the key parameters are solidified into the terminal equipment through an automatic production tool, so that different application scenes are met, and the universal firmware codes are truly realized.

Description

Automatic mass production system and method for terminal equipment parameters
Technical Field
The invention relates to the technical field of product development, in particular to a system and a method for automatically producing terminal equipment parameters in a mass production mode.
Background
In the product development process, products with different functions can be developed by the same hardware platform according to different application requirements, and the different products have partially different functions under the condition that most of functions are the same. For these products with differences, it is often the case that a plurality of versions of firmware codes are developed for mass production to meet different requirements, resulting in the increasing of versions of firmware codes, or a universal software is developed to meet the applications of different functional scenarios in a compromise manner, which cannot really meet different application scenarios, so that currently, for the same hardware platform, it is not possible to really and universally produce terminal devices of the same type and different forms, such as wearable chest cards, wristwatches, IC card stickers, head-mounted devices, waist-mounted devices, and the like.
Disclosure of Invention
The invention aims to provide a system and a method for automatically carrying out mass production on parameters of terminal equipment.
In order to achieve the above object, an embodiment of the present invention provides a system for automatically measuring parameters of a terminal device, where the system includes an automatic measuring tool, a measuring fixture platform, and a serial port module, and the automatic measuring tool communicates with the measuring fixture platform through the serial port module; wherein the content of the first and second substances,
the automatic volume production tool is used for setting key parameters of different terminal equipment differences and carrying out automatic volume production of the terminal equipment parameters, and is also used for identifying the volume production clamp platform, reading the firmware version number of the terminal equipment, writing volume production parameters and reading volume production parameters; the universal firmware code is burnt in the terminal equipment;
the mass production fixture platform is used for fixing the terminal equipment and receiving a channel switching instruction issued by the automatic mass production tool;
wherein, it is right that automatic volume production instrument discerns, reads the volume production anchor clamps platform the firmware version number of terminal equipment, write the volume production parameter, read the volume production parameter, specifically include:
the automatic mass production tool sends a handshake data packet to the mass production clamp platform, monitors serial port data, and initializes the state of each channel after receiving a handshake success mark responded by the mass production clamp platform;
after the handshake is successful, the automatic mass production tool sends a data packet of the firmware version number of the terminal equipment to the mass production clamp platform, monitors serial port data, analyzes the firmware version number from the data packet after successfully receiving the data packet responded, and writes the firmware version number into a log file;
the automatic volume production tool processes the volume production parameters read from the configuration file into data packets writing the volume production parameters, sends the data packets to the volume production clamp platform, and writes the volume production parameters into the log file after receiving a mark that the volume production clamp platform returns the volume production parameters successfully;
the automatic volume production tool sends a data packet for reading volume production parameters to the volume production clamp platform, monitors serial port data, analyzes the response data packet after successfully receiving the response data packet responded by the volume production clamp platform, extracts the volume production parameters, and writes the log file in.
Preferably, the automated production tool is a computer-side interface tool, and an interface of the automated production tool comprises port configuration, file import storage and channel state display; wherein the content of the first and second substances,
the port configuration is used for selecting a correct serial port to connect the mass production fixture platform to a corresponding channel;
the file import storage is used for importing preset configuration files;
and the channel state display is used for displaying the corresponding mass production information of the terminal equipment.
Another embodiment of the present invention provides a method for automatically measuring the quantity of parameters of a terminal device, including the following steps:
dividing a function code of a terminal device into a general firmware code and a key parameter, burning the general firmware code into the terminal device, and storing the key parameter in a configuration file;
transferring the burned terminal equipment to a mass production clamp platform to prepare mass production;
importing the configuration file into an automatic production tool, and selecting a storage path of a log file;
completing port configuration of the automatic production tool, and establishing communication connection between the automatic production tool and the production clamp platform;
starting a mass production function to start a mass production process;
wherein, the mass production process comprises the following steps:
the automatic volume production tool identifies the volume production clamp platform, reads the firmware version number of the terminal equipment, writes volume production parameters and reads volume production parameters;
the automatic volume production tool is right the volume production anchor clamps platform is discerned, is read terminal equipment's firmware version number, writes the volume production parameter, reads the volume production parameter, specifically includes:
the automatic mass production tool sends a handshake data packet to the mass production clamp platform, monitors serial port data, and initializes the state of each channel after receiving a handshake success mark responded by the mass production clamp platform;
after the handshake is successful, the automatic mass production tool sends a data packet of the firmware version number of the terminal equipment to the mass production clamp platform, monitors serial port data, analyzes the firmware version number from the data packet after successfully receiving the data packet responded, and writes the firmware version number into the log file;
the automatic volume production tool processes the volume production parameters read from the configuration file into data packets writing the volume production parameters, sends the data packets to the volume production clamp platform, and writes the volume production parameters into the log file after receiving a mark that the volume production clamp platform returns the volume production parameters successfully;
the automatic volume production tool sends a data packet for reading volume production parameters to the volume production clamp platform, monitors serial port data, analyzes the response data packet after successfully receiving the response data packet responded by the volume production clamp platform, extracts the volume production parameters, and writes the log file in.
Preferably, the mass production process further comprises the steps of:
after the current terminal equipment is subjected to mass production, the automatic mass production tool updates the state of the corresponding current channel;
acquiring the current number of the current channel, adding 1 to the current number to serve as a new number, judging whether the new number is smaller than a preset threshold value, if so, switching to the next terminal device, and continuing to carry out mass production; if not, the mass production is finished.
Preferably, the communication connection between the automatic production tool and the production fixture platform follows a preset communication protocol, and the format of the protocol frame data packet includes a frame header, a command word, a data length, data and a frame tail.
Compared with the prior art, the terminal equipment parameter automatic volume production system and the terminal equipment parameter automatic volume production method provided by the embodiment of the invention have the advantages that the functions of the terminal equipment are divided into the general firmware codes and the key parameters, wherein the general firmware codes are burnt in the terminal equipment in advance, and the key parameters are solidified to the terminal equipment through the automatic volume production tool, so that the software function firmware codes of a plurality of different application scenes are developed into one general firmware code.
Drawings
Fig. 1 is a schematic diagram of a system for automatically measuring the quantity of parameters of a terminal device according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an interface of an automated mass production tool according to one embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for automatically measuring the production quantity of parameters of a terminal device according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a mass production fixture platform identification according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating an exemplary embodiment of an automated mass production tool reading a firmware version number of a terminal device;
FIG. 6 is a flow chart illustrating the writing of production parameters by an automated production tool according to an embodiment of the present invention;
FIG. 7 is a flow chart illustrating the reading of production parameters by an automated production tool according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a frame data packet format of a communication protocol agreed between an automation production tool and a production jig platform according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
The terminal equipment parameter automatic volume production system provided by the embodiment 1 of the invention comprises an automatic volume production tool, a volume production clamp platform and a serial port module, wherein the automatic volume production tool is communicated with the volume production clamp platform through the serial port module; wherein the content of the first and second substances,
the automatic volume production tool is used for setting key parameters of different terminal equipment differences and carrying out automatic volume production of the terminal equipment parameters; the universal firmware code is burnt in the terminal equipment;
and the mass production clamp platform is used for fixing the terminal equipment and receiving a channel switching instruction issued by the automatic mass production tool.
The automatic mass production system for the terminal equipment parameters comprises an automatic mass production tool, a mass production clamp platform and a serial port module, wherein the automatic mass production tool is communicated with the mass production clamp platform through the serial port module; wherein the content of the first and second substances,
the automatic volume production tool is used for setting key parameters of different terminal equipment differences and carrying out automatic volume production of the terminal equipment parameters; the universal firmware code is burnt in the terminal equipment. The key parameters of different terminal equipment can be modified according to different application scenes, so that the automatic mass production of the parameters of the terminal equipment is more flexible, and different actual requirements can be met.
And the mass production clamp platform is used for fixing the terminal equipment and receiving a channel switching instruction issued by the automatic mass production tool. After receiving the channel switching instruction, the mass production clamp platform completes the power-on and power-off operation and serial port switching of a certain channel, and achieves the function of channel switching. A plurality of terminal equipment can be fixed to volume production anchor clamps platform, but this batch of terminal equipment all is same type, accomplishes parameter automation volume postnatally, can change for other types of terminal equipment, only need change the configuration file can.
The embodiment 1 of the invention provides a terminal device parameter automatic volume production system, and the functions of the terminal device are divided into a general firmware code and a key parameter, wherein the general firmware code is burnt in the terminal device in advance, and the key parameter is solidified to the terminal device through an automatic volume production tool, so that the software function firmware codes of a plurality of different application scenes are developed into a general firmware code.
As an improvement of the above scheme, the automated production tool is a computer-side interface tool, and an interface of the automated production tool comprises port configuration, file import storage and channel state display; wherein the content of the first and second substances,
the port configuration is used for selecting a correct serial port to connect the mass production fixture platform to a corresponding channel;
the file import storage is used for importing preset configuration files;
and the channel state display is used for displaying the corresponding mass production information of the terminal equipment.
Referring to fig. 1, which is a schematic diagram of a parameter automatic volume production system of a terminal device according to the embodiment of the present invention, it can be seen from fig. 1 that the automatic volume production tool is a computer-side interface tool, so that the connection between the automatic volume production tool and the volume production fixture platform is the connection between the computer and the volume production fixture platform, and since the output of the computer is a USB protocol, the serial port module needs to have a USB to serial port function, so as to convert the USB protocol into a serial port protocol. The interface of the automated mass production tool includes port configuration, file import storage, and channel status display, and specifically, refer to fig. 2, which is a schematic diagram of the interface of the automated mass production tool provided in the embodiment of the present invention; wherein the content of the first and second substances,
the port configuration is used for selecting a correct serial port to connect the mass production clamp platform to a corresponding channel, namely, a serial port number of a serial port module on the PC computer for connecting the mass production clamp platform to the PC computer. The serial port module is a hardware device, which only has one serial port and can convert a USB protocol into a serial port protocol, and after the device is plugged into the hardware device, a serial port number is allocated in a device manager on a PC computer, and the serial port is selected, for example, "port number" in fig. 2 selects "COM 1", and this "COM 1" is the serial port number allocated by the serial port module on the PC computer. By plugging and unplugging the serial Port module, the user can know which serial Port is correct by observing the change of the Port number in a Port list in an equipment manager in a PC computer, and then the user can select the serial Port through a Port number.
The file import storage is used for importing preset configuration files; the preset configuration file modifies the configuration parameters in the ". config" script file and the UID parameters in the "record.txt" script file according to the application scene, thereby completing the modification of the key parameters. And importing the modified configuration file, and then solidifying the configuration file into the terminal equipment, thereby completing the automatic parameter volume production.
And displaying the channel state, wherein the channel state is used for displaying the mass production information of the corresponding terminal equipment. The interface of the automated mass production tool comprises a plurality of channels, preferably 9 channels, i.e. 9 end devices per mass production. In fig. 2, CH1 to CH9 respectively show mass production information of 9 terminal devices, when mass production of the terminal devices succeeds, the operation lights behind CH1 to CH9 are displayed as green, "Status" is displayed as "Successful", and "UID Num" is displayed as the UID number of the current device; when the mass production fails, the running light is displayed in red, Status is displayed as Fail, and UID Num is not displayed; if the operation lamp is displayed yellow in successful Mass production, "Status" displays "Mass-Produced," and "UID Num" displays the UID number of the current equipment.
Referring to fig. 3, which is a schematic flow chart of a method for automatically measuring the production quantity of the terminal device parameters according to the embodiment of the present invention, the method includes steps S1 to S5:
s1, dividing the function code of the terminal equipment into a general firmware code and a key parameter, burning the general firmware code into the terminal equipment, and storing the key parameter in a configuration file;
s2, transferring the burned terminal equipment to a mass production clamp platform to prepare mass production;
s3, importing the configuration file into an automatic volume production tool, and selecting a storage path of a log file;
s4, completing port configuration of the automatic volume production tool, and establishing communication connection between the automatic volume production tool and the volume production clamp platform;
s5, starting the mass production function to start the mass production process.
Specifically, the function code of the terminal device is divided into a general firmware code and a key parameter, the general firmware code is burned into the terminal device, and the key parameter is stored in a configuration file. Generally, before the parameter automation production, the burning of the universal firmware code into the terminal device is completed in advance to wait for the production.
And transferring the burned terminal equipment to a mass production clamp platform to prepare mass production. After the terminal equipment is sent to the mass production clamp platform, the terminal equipment can be clamped and fixed or bound and fixed to prevent the terminal equipment from splashing when mass production is carried out. Of course, if the terminal device is not likely to move on the mass production jig platform, the terminal device may not be fixed.
And importing the configuration file into an automatic production tool, and selecting a storage path of the log file. The configuration file is pre-configured by the mass production staff according to the requirements of the application scene, and the data in the configuration file can be read by directly importing the configuration file. The log file is used to record process data generated during mass production for inspection.
And completing port configuration of the automatic mass production tool, and establishing communication connection between the automatic mass production tool and the mass production clamp platform. Generally, a plurality of channels are arranged on the automatic volume production tool, a plurality of terminal devices are fixed on the volume production fixture platform, one channel corresponds to one terminal device, and the automatic volume production process of one parameter is sequentially performed by the terminal devices, so that port configuration needs to be selected, and the automatic volume production tool is correctly connected with the volume production fixture platform.
When all the components are ready, the mass production function can be started to start the mass production process. Preferably, at the computer end, the automated production tool is an interface tool named as "UNIC tag auto", and a "Start production" is provided on the interface, and when the "Start production" is pressed, the parameter automated production process can be started.
As an improvement of the above scheme, the mass production process comprises the following steps:
and the automatic volume production tool identifies the volume production clamp platform, reads the firmware version number of the terminal equipment, writes volume production parameters and reads volume production parameters.
Specifically, the automatic mass production tool identifies the mass production fixture platform, reads the firmware version number of the terminal device, writes mass production parameters, and reads mass production parameters. The process is the process of writing the volume production parameters into the terminal equipment from the establishment of communication and identification of the automatic volume production tool and the volume production clamp platform, and each small step is verified mutually and passed, so that the accuracy of volume production is ensured.
As an improvement of the above scheme, the mass production process further includes the steps of:
after the current terminal equipment is subjected to mass production, the automatic mass production tool updates the state of the corresponding current channel;
acquiring the current number of the current channel, adding 1 to the current number to serve as a new number, judging whether the new number is smaller than a preset threshold value, if so, switching to the next terminal device, and continuing to carry out mass production; if not, the mass production is finished.
Specifically, after the mass production of the current terminal device is completed, the automatic mass production tool updates the state of the corresponding current channel. According to the result of Mass production, the operation lamp can be divided into three states of success, failure and Mass production, and the colors of the operation lamp are respectively green, red and yellow, and the states of the operation lamp are respectively Successful, Fail and Mass-Produced. "UID Num" shows the UID number of the current device.
Because the automatic volume production process of a parameter is carried out in turn by terminal equipment, after the volume production of a terminal equipment is finished, whether the terminal equipment is the last terminal equipment is judged, and the method specifically comprises the following steps: and acquiring the current number of the current channel, adding 1 to the current number to serve as a new number, and judging whether the new number is smaller than a preset threshold value. When there are 9 channels, the preset threshold is 10, i.e. the preset threshold is 1 more than the number of theoretical channels.
If yes, the current terminal equipment is not the last terminal equipment, switching to the next terminal equipment, and continuing to carry out mass production; if not, the current terminal equipment is the last terminal equipment, and the mass production is finished.
As an improvement of the above scheme, the automated volume production tool identifies the volume production fixture platform, reads the firmware version number of the terminal device, writes volume production parameters, and reads volume production parameters, and specifically includes:
the automatic mass production tool sends a handshake data packet to the mass production clamp platform, monitors serial port data, and initializes the state of each channel after receiving a handshake success mark responded by the mass production clamp platform;
after the handshake is successful, the automatic mass production tool sends a data packet of the firmware version number of the terminal equipment to the mass production clamp platform, monitors serial port data, analyzes the firmware version number from the data packet after successfully receiving the data packet responded, and writes the firmware version number into the log file;
the automatic volume production tool processes the volume production parameters read from the configuration file into data packets writing the volume production parameters, sends the data packets to the volume production clamp platform, and writes the volume production parameters into the log file after receiving a mark that the volume production clamp platform returns the volume production parameters successfully;
the automatic volume production tool sends a data packet for reading volume production parameters to the volume production clamp platform, monitors serial port data, analyzes the response data packet after successfully receiving the response data packet responded by the volume production clamp platform, extracts the volume production parameters, and writes the log file in.
Specifically, referring to fig. 4, it is a schematic flow diagram of the process for identifying the production volume jig platform according to the embodiment of the present invention, as shown in fig. 4, the automatic production tool vector production jig platform sends a handshake data packet to notify the production volume jig platform that parameter production preparation is ready, where the parameter production preparation includes that the key parameter in the CONFIG file configuration file is set, the UID Num number is set, and the LOG file path of the LOG file is selected. After the handshake data packet is sent, serial port data is monitored, and after a handshake success mark responded by the mass production clamp platform is received, the states of all channels are initialized.
Referring to fig. 5, which is a schematic flow chart illustrating that the automatic mass production tool reads the firmware version number of the terminal device according to the embodiment of the present invention, as shown in fig. 5, after the handshake between the automatic mass production tool and the mass production fixture platform is successful, the automatic mass production tool sends a data packet of the firmware version number of the terminal device to the mass production fixture platform, and simultaneously monitors the serial port data, and when the data packet responded by the mass production fixture platform is successfully received, the firmware version number is parsed from the data packet, and the firmware version number is written into the log file. It is noted that the data packet of the firmware version number of the terminal device refers to a command packet of the firmware version number of the terminal device, unlike the general firmware code.
Referring to fig. 6, which is a schematic diagram illustrating a process of writing mass production parameters by the automatic mass production tool according to the embodiment of the present invention, as shown in fig. 6, the automatic mass production tool processes the mass production parameters read from the configuration file into a data packet writing the mass production parameters, where the mass production parameters include UID number, frequency point, transmission power, channel number, other special application data, and the like, and the process of processing the data packet is to add the mass production parameters to other data frames of the protocol packet to form a data packet writing the mass production parameters. And after the automatic volume production tool obtains the data packet for writing the volume production parameters, the data packet is sent to the volume production clamp platform, and the volume production parameters are written to the terminal equipment by the volume production clamp platform. And after receiving a mark that the mass production parameters are successfully written returned by the mass production clamp platform, writing the mass production parameters into a log file, namely writing the UID number and the success information of the current terminal equipment into the log file, wherein the success information refers to information of the mass production process, such as 'Write parameters' and 'Write parameters success file'.
Referring to fig. 7, it can be seen from fig. 7 that the flow diagram of reading the volume production parameters by the automatic volume production tool according to the embodiment of the present invention is a flow diagram that the automatic volume production tool sends a data packet for reading the volume production parameters to the volume production tool vector production fixture platform, and simultaneously monitors the serial port data, and after successfully receiving a response data packet responded by the volume production fixture platform, the response data packet is analyzed, the protocol header, the packet tail, and the frame length are removed, the volume production parameters are extracted, and the volume production parameters are written into the log file, so that the user can conveniently check the parameters of the terminal device. Meanwhile, key information such as the process and the result in the parameter mass production process is also recorded in the log file. And finally, finishing the parameter volume production of the terminal equipment, and updating the state of the current channel by the interface of the automatic volume production tool. It should be noted that the data packet of the read volume production parameter has different content from the response data packet, and differs from the data in the data field.
As can be seen from fig. 7, after the status of the channel is updated, there is a step, because the target of the first parameter automation mass production implementation is a plurality of terminal devices, it needs to determine whether the terminal device is the last terminal device, if so, the process is ended, otherwise, the mass production of the next terminal device needs to be continued. The method specifically comprises the following steps: and after the current terminal equipment completes the mass production process of the current channel parameters, adding 1 to the channel number, judging whether the channel number is CH 1-CH 9, and if the channel number is less than 10, switching to the next equipment and starting the mass production process of the parameters. The mass production clamp platform can be used for parameter mass production of 9 terminal devices by completing one-time parameter automatic mass production, and the mass production states of the 9 terminal devices are displayed by corresponding CH 1-CH 9 on the interface of the automatic mass production tool. After the automatic parameter production is completed, the production clamp platform needs to be powered off, and the automatic parameter production is continued after the terminal equipment is replaced.
As an improvement of the above scheme, the communication connection between the automated production tool and the production fixture platform follows a preset communication protocol, and the format of the protocol frame data packet includes a frame header, a command word, a data length, data and a frame tail.
Specifically, the communication connection between the automated mass production tool and the mass production fixture platform follows a preset communication protocol, that is, the automated mass production tool identifies the mass production fixture platform, reads the firmware version number of the terminal device, writes mass production parameters, and reads mass production parameters, which all follow the preset communication protocol, the protocol adopts a master-slave mode of receiving and sending, the automated mass production tool is the master, and the mass production fixture platform is the slave.
Referring to fig. 8, which is a schematic diagram of a frame DATA packet format of a communication protocol agreed between an automated mass production tool and a mass production jig platform according to the embodiment of the present invention, as shown in fig. 8, the frame DATA packet format of the protocol includes a header HEAD, a command word CMD, a DATA length LEN, a DATA and a trailer TAIL, where the command word CMD can be divided into four cases: 0xC 0; reading the quantity production parameters: 0xC 1; writing volume production parameters: 0x C2; reading the firmware version number: 0x C4.
To sum up, the terminal device parameter automatic volume production system and method provided by the embodiments of the present invention divide the function code of the terminal device into two parts, the firmware code is made universal and is burned uniformly, the difference key parameter is solidified into the terminal device through the automatic volume production tool, thereby solving the problem that the volume production of products with the same type and different forms is difficult to share one firmware code, enabling products with different forms and capable of burning the same firmware code, and then burning different parameter configuration files by using the automatic volume production tool according to different application scenes, so as to meet different application scenes, and realizing that the software function firmware code of a plurality of different application scenes is developed into one universal firmware code. Meanwhile, the development cost and the development time can be shortened, the controllability of mass production software and the convenience of management are improved, and meanwhile, the universal firmware codes are universal in a real sense.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (5)

1. A terminal equipment parameter automatic volume production system is characterized by comprising an automatic volume production tool, a volume production clamp platform and a serial port module, wherein the automatic volume production tool is communicated with the volume production clamp platform through the serial port module; wherein the content of the first and second substances,
the automatic volume production tool is used for setting key parameters of different terminal equipment differences and carrying out automatic volume production of the terminal equipment parameters, and is also used for identifying the volume production clamp platform, reading the firmware version number of the terminal equipment, writing volume production parameters and reading volume production parameters; the universal firmware code is burnt in the terminal equipment;
the mass production fixture platform is used for fixing the terminal equipment and receiving a channel switching instruction issued by the automatic mass production tool;
wherein, it is right that automatic volume production instrument discerns, reads the volume production anchor clamps platform the firmware version number of terminal equipment, write the volume production parameter, read the volume production parameter, specifically include:
the automatic mass production tool sends a handshake data packet to the mass production clamp platform, monitors serial port data, and initializes the state of each channel after receiving a handshake success mark responded by the mass production clamp platform;
after the handshake is successful, the automatic mass production tool sends a data packet of the firmware version number of the terminal equipment to the mass production clamp platform, monitors serial port data, analyzes the firmware version number from the data packet after successfully receiving the data packet responded, and writes the firmware version number into a log file;
the automatic volume production tool processes the volume production parameters read from the configuration file into data packets writing the volume production parameters, sends the data packets to the volume production clamp platform, and writes the volume production parameters into the log file after receiving a mark that the volume production clamp platform returns the volume production parameters successfully;
the automatic volume production tool sends a data packet for reading volume production parameters to the volume production clamp platform, monitors serial port data, analyzes the response data packet after successfully receiving the response data packet responded by the volume production clamp platform, extracts the volume production parameters, and writes the log file in.
2. The system of claim 1, wherein the automated production tool is a computer-side interface tool, and the interface includes port configuration, file import storage, and channel status display; wherein the content of the first and second substances,
the port configuration is used for selecting a correct serial port to connect the mass production fixture platform to a corresponding channel;
the file import storage is used for importing preset configuration files;
and the channel state display is used for displaying the corresponding mass production information of the terminal equipment.
3. A method for automatically measuring the yield of parameters of terminal equipment is characterized by comprising the following steps:
dividing a function code of a terminal device into a general firmware code and a key parameter, burning the general firmware code into the terminal device, and storing the key parameter in a configuration file;
transferring the burned terminal equipment to a mass production clamp platform to prepare mass production;
importing the configuration file into an automatic production tool, and selecting a storage path of a log file;
completing port configuration of the automatic production tool, and establishing communication connection between the automatic production tool and the production clamp platform;
starting a mass production function to start a mass production process;
wherein, the mass production process comprises the following steps:
the automatic volume production tool identifies the volume production clamp platform, reads the firmware version number of the terminal equipment, writes volume production parameters and reads volume production parameters;
the automatic volume production tool is right the volume production anchor clamps platform is discerned, is read terminal equipment's firmware version number, writes the volume production parameter, reads the volume production parameter, specifically includes:
the automatic mass production tool sends a handshake data packet to the mass production clamp platform, monitors serial port data, and initializes the state of each channel after receiving a handshake success mark responded by the mass production clamp platform;
after the handshake is successful, the automatic mass production tool sends a data packet of the firmware version number of the terminal equipment to the mass production clamp platform, monitors serial port data, analyzes the firmware version number from the data packet after successfully receiving the data packet responded, and writes the firmware version number into the log file;
the automatic volume production tool processes the volume production parameters read from the configuration file into data packets writing the volume production parameters, sends the data packets to the volume production clamp platform, and writes the volume production parameters into the log file after receiving a mark that the volume production clamp platform returns the volume production parameters successfully;
the automatic volume production tool sends a data packet for reading volume production parameters to the volume production clamp platform, monitors serial port data, analyzes the response data packet after successfully receiving the response data packet responded by the volume production clamp platform, extracts the volume production parameters, and writes the log file in.
4. The method for the automated mass production of the parameters of the terminal device according to claim 3, wherein the mass production process further comprises the steps of:
after the current terminal equipment is subjected to mass production, the automatic mass production tool updates the state of the corresponding current channel;
acquiring the current number of the current channel, adding 1 to the current number to serve as a new number, judging whether the new number is smaller than a preset threshold value, if so, switching to the next terminal device, and continuing to carry out mass production; if not, the mass production is finished.
5. The method of claim 3, wherein the communication link between the automated mass production tool and the mass production fixture platform follows a predetermined communication protocol, and the format of the frame data packet comprises a header, a command word, a length, a data length, and a trailer.
CN202010034977.0A 2020-01-13 2020-01-13 Automatic mass production system and method for terminal equipment parameters Active CN111258631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010034977.0A CN111258631B (en) 2020-01-13 2020-01-13 Automatic mass production system and method for terminal equipment parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010034977.0A CN111258631B (en) 2020-01-13 2020-01-13 Automatic mass production system and method for terminal equipment parameters

Publications (2)

Publication Number Publication Date
CN111258631A CN111258631A (en) 2020-06-09
CN111258631B true CN111258631B (en) 2020-11-03

Family

ID=70946965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010034977.0A Active CN111258631B (en) 2020-01-13 2020-01-13 Automatic mass production system and method for terminal equipment parameters

Country Status (1)

Country Link
CN (1) CN111258631B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966593B (en) * 2020-08-12 2021-12-17 南京宏泰半导体科技有限公司 Method for realizing prenatal automatic compensation of chip test quantity
CN113934439B (en) * 2021-11-16 2023-09-15 思澈科技(重庆)有限公司 Multichannel automatic identification burning system and method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100501707C (en) * 2006-08-15 2009-06-17 中兴通讯股份有限公司 Device and method for initiating code chip on-board burning for processor system
CN204116889U (en) * 2014-10-31 2015-01-21 惠州市德赛西威汽车电子有限公司 A kind of automatic burning recording system
CN104391727B (en) * 2014-12-15 2017-11-21 福州瑞芯微电子股份有限公司 Data programming method, system, burn writing equipment and target device
JP2019503547A (en) * 2015-11-03 2019-02-07 ザ ステンレス スチール モニュメント カンパニー ピーティーワイ リミテッド Design system and method
US9854654B2 (en) * 2016-02-03 2017-12-26 Pqj Corp System and method of control of a programmable lighting fixture with embedded memory
CN208759214U (en) * 2018-04-24 2019-04-19 东莞市锐博智能科技有限公司 The edge polisher of stacked polaroid mobile fixture processing platform and the application platform
CN109822344A (en) * 2019-04-01 2019-05-31 吉林大学 A kind of automobile instrument Automated assembly detection production line and method

Also Published As

Publication number Publication date
CN111258631A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN111258631B (en) Automatic mass production system and method for terminal equipment parameters
CN210431439U (en) Bluetooth test equipment
CN110347539B (en) Test method, device, system, computing device and medium applied to server
CN107844305A (en) The method for upgrading software and embedded device of embedded device
CN113704104A (en) Program debugging method, device, system, electronic device and storage medium
CN112363736A (en) Method, device and storage medium for burning product serial number
CN111756858A (en) Remote development processing system, method and device of embedded equipment
US8775709B2 (en) Method for recognizing a card reader with multiple card holders and method for communicating between a host and the card reader and system thereof
CN101719212B (en) Identification method and device of serial-port card reader
CN113259205B (en) Method and system for testing internal interconnection interface of multi-board system
CN108259895B (en) Set top box testing method and system and terminal equipment
CN112114845B (en) Gray message processing method and device, storage medium and computer equipment
CN115421749A (en) Hard disk firmware refreshing method, system, device and medium based on Linux system
CN111147400B (en) Method and device for command line configuration synchronization and electronic equipment
CN116400188A (en) Chip testing method, system and readable storage medium
CN113900875A (en) Startup test method and device, computer equipment and storage medium
CN108075910B (en) Configuration method of communication equipment and communication equipment
CN102111446B (en) Device connection handling method, combination equipment and host equipment
CN111736858A (en) Terminal equipment upgrading method, storage medium and terminal equipment
CN107006061B (en) Method and device for acquiring identification code of terminal
CN116723538A (en) Bluetooth device testing method, device and system, electronic device and storage medium
CN115361327B (en) Method, device, terminal and medium for automatically testing NCSI command of network card
CN116955195A (en) Power module debugging method and device, upper computer and storage medium
CN110475240B (en) SIM card type identification method and device of cloud SIM application terminal and terminal
CN115576585A (en) Firmware upgrading method and device based on GPU Box

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: An automatic mass production system and method for terminal equipment parameters

Effective date of registration: 20220307

Granted publication date: 20201103

Pledgee: Shanghai Pudong Development Bank Limited by Share Ltd. Guangzhou branch

Pledgor: UNICMICRO (GUANGZHOU) Co.,Ltd.

Registration number: Y2022440000039

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230309

Granted publication date: 20201103

Pledgee: Shanghai Pudong Development Bank Limited by Share Ltd. Guangzhou branch

Pledgor: UNICMICRO (GUANGZHOU) Co.,Ltd.

Registration number: Y2022440000039

PC01 Cancellation of the registration of the contract for pledge of patent right