CN113220322A - Test software updating method, electronic device and storage medium - Google Patents

Test software updating method, electronic device and storage medium Download PDF

Info

Publication number
CN113220322A
CN113220322A CN202110432220.1A CN202110432220A CN113220322A CN 113220322 A CN113220322 A CN 113220322A CN 202110432220 A CN202110432220 A CN 202110432220A CN 113220322 A CN113220322 A CN 113220322A
Authority
CN
China
Prior art keywords
test
software
station information
updating
information
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.)
Pending
Application number
CN202110432220.1A
Other languages
Chinese (zh)
Inventor
赵振超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Anshi New Energy Technology Co ltd
Original Assignee
Shenzhen Anshi New Energy 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 Shenzhen Anshi New Energy Technology Co ltd filed Critical Shenzhen Anshi New Energy Technology Co ltd
Priority to CN202110432220.1A priority Critical patent/CN113220322A/en
Publication of CN113220322A publication Critical patent/CN113220322A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application is applicable to the technical field of computers, and provides a test software updating method, electronic equipment and a storage medium, wherein the test software updating method comprises the following steps: determining test station information of the test equipment; the test station information is used for uniquely identifying the station where the test equipment is located in the production line; acquiring software updating data corresponding to the testing station information from a preset database according to the testing station information; the preset database stores software updating data which are respectively set for each station in the production line by a background server; and updating the software of the test equipment according to the software updating data. The embodiment of the application can improve the updating efficiency of the test software in the production line.

Description

Test software updating method, electronic device and storage medium
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a test software updating method, an electronic device, and a storage medium.
Background
During the production and manufacturing process of products, testing software in testing equipment is often required to test semi-finished products and finished products obtained by manufacturing. When the product design in the production line is changed or the production line is changed, the test software in the test equipment is also updated correspondingly. However, the whole production line involves a plurality of testing links, that is, there are many testing devices that need to update the testing software, and when the testing software in the production line needs to be updated, technicians are often required to manually install the testing programs in the testing devices one by one and set parameters of the testing programs, so that the updating mode of the testing software is low in efficiency.
Disclosure of Invention
In view of this, embodiments of the present application provide a test software updating method, an electronic device, and a storage medium, so as to solve the problem in the prior art how to improve the updating efficiency of test software in a production line.
A first aspect of an embodiment of the present application provides a method for updating test software, where the method is applied to a test device in a production line, and includes:
determining test station information of the test equipment; the test station information is used for uniquely identifying the station where the test equipment is located in the production line;
acquiring software updating data corresponding to the testing station information from a preset database according to the testing station information; the preset database stores software updating data which are respectively set for each station in the production line by a background server;
and updating the software of the test equipment according to the software updating data.
Optionally, the determining test station information of the test equipment includes:
and scanning the marker of the test equipment to acquire the test station information contained in the marker.
Optionally, the method further comprises:
and if the production item corresponding to the test equipment or the test station where the production item corresponds to the test equipment changes, resetting the identifier of the test equipment, and updating the test station information contained in the identifier.
Optionally, the determining test station information of the test equipment includes:
acquiring physical address information of the test equipment;
and determining the test station information of the test equipment according to the physical address information.
Optionally, the determining test station information of the test equipment includes:
acquiring the position information of the test equipment;
and inquiring a pre-stored station distribution map according to the position information, and determining the test station information of the test equipment.
Optionally, the software update data includes a test program installation package, and correspondingly, the acquiring, according to the test station information, the software update data corresponding to the test station information from a preset database includes:
according to the test station information, searching latest software version information which is stored correspondingly to the test station information from a preset database;
if the test equipment does not currently have a test program or the latest software version information is inconsistent with the version information of the current test program of the test equipment, acquiring a test program installation package corresponding to the latest software version information from the preset database;
correspondingly, the updating the software of the test equipment according to the software updating data includes:
and installing the test program of the test equipment according to the test program installation package.
Optionally, the software update data includes a configuration file, and correspondingly, the acquiring, according to the test station information, the software update data corresponding to the test station information from a preset database includes:
acquiring a configuration file stored corresponding to the test station information from a preset database according to the test station information;
correspondingly, the updating the software of the test equipment according to the software updating data includes:
and updating the configuration parameters of the test program of the test equipment according to the configuration file.
Optionally, after the updating the software of the test device according to the software update data, the method further includes:
and if the software updating data stored in the preset database is detected to be updated, returning to the step of acquiring the software updating data corresponding to the testing station information from the preset database according to the testing station information and the subsequent steps.
A second aspect of an embodiment of the present application provides a test software update apparatus, where the test software update apparatus is applied to a test device in a production line, and the test software update apparatus includes:
the test station information determining unit is used for determining the test station information of the test equipment; the test station information is used for uniquely identifying the station where the test equipment is located in the production line;
the software updating data acquisition unit is used for acquiring software updating data corresponding to the testing station information from a preset database according to the testing station information; the preset database stores software updating data which are respectively set for each station in the production line by a background server;
and the software updating unit is used for updating the software of the test equipment according to the software updating data. A third aspect of embodiments of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, which when executed by the processor, causes the electronic device to implement the steps of the test software updating method as described.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, causes an electronic device to implement the steps of the test software update method as described.
A fifth aspect of embodiments of the present application provides a computer program product, which, when run on an electronic device, causes the electronic device to execute the test software updating method according to any one of the first aspects.
Compared with the prior art, the embodiment of the application has the advantages that: in the embodiment of the application, after the testing equipment determines the testing station information of the testing equipment, namely, the station of the testing equipment in the production line, the software updating data corresponding to the testing station information can be accurately acquired from the preset database according to the testing station information, and the software of the testing equipment can be automatically and accurately updated according to the software updating data. Software updating data which are stored in a preset database and are respectively set for each station in a production line by a background server are only required to be uniformly set by the background server, and the testing equipment can accurately acquire the software updating data suitable for the current testing equipment according to the self testing station information without manually selecting and downloading specific software updating data for the testing equipment by professional technicians; moreover, after the software updating data is accurately acquired, the software can be automatically and accurately updated without the manual installation step of a professional. Namely, the test equipment in the embodiment of the application can accurately acquire software updating data according to the test station information determined by the test equipment without manual operation of professional technicians, completes automatic updating of test software, saves manual operation steps, and improves the updating efficiency of the test software while ensuring the updating accuracy of the test software.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below.
FIG. 1 is a schematic flow chart illustrating an implementation of a method for testing software update according to an embodiment of the present disclosure;
fig. 2 is an application scenario diagram of a test software updating method according to an embodiment of the present application
FIG. 3 is a schematic diagram of a test software update apparatus according to an embodiment of the present application;
fig. 4 is a schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
During the production and manufacturing process of products, testing software in testing equipment is often required to test semi-finished products and finished products obtained by manufacturing. When the product design in the production line is changed or the production line is changed, the test software in the test equipment is also updated correspondingly. However, the whole production line involves multiple testing links, that is, there are many testing devices that need to update the testing software, and when the testing software in the production line needs to be updated, technicians are often required to manually install the testing programs in the testing devices one by one and set parameters of the testing programs to implement the method. On one hand, the manual software updating mode is easy to cause human errors, so that the error of a testing link is caused, and further, the production cost and the risk are increased; on the other hand, the software update is performed manually, which results in a lag in information and a low operation efficiency. Therefore, the existing software updating method in the production line has the problems of low accuracy and efficiency.
In order to solve the technical problem, the application provides a test software updating method, an electronic device and a storage medium, the test software updating method is applied to a test device in a production line, and after the test device determines test station information of the test device, namely, a station of the test device in the production line, the test device can accurately acquire software updating data corresponding to the test station information from a preset database according to the test station information, and automatically and accurately update software of the test device according to the software updating data. Software updating data which are stored in a preset database and are respectively set for each station in a production line by a background server are only required to be uniformly set by the background server, and the testing equipment can accurately acquire the software updating data suitable for the current testing equipment according to the self testing station information without manually selecting and downloading specific software updating data for the testing equipment by professional technicians; moreover, after the software updating data is accurately acquired, the software can be automatically and accurately updated without the manual installation step of a professional. Namely, the test equipment in the embodiment of the application can accurately acquire software updating data according to the test station information determined by the test equipment without manual operation of professional technicians, completes automatic updating of test software, saves manual operation steps, and improves the updating efficiency of the test software while ensuring the updating accuracy of the test software.
The first embodiment is as follows:
fig. 1 shows a schematic flow chart of a test software updating method provided in an embodiment of the present application, where the test method is applied to a test device in a production line, the test device may be a desktop computer, a notebook computer, or other computing devices, and the test software updating method shown in fig. 1 is detailed as follows:
in S101, determining test station information of the test equipment; the test station information is used for uniquely identifying the station where the test equipment is located in the production line currently.
In the embodiment of the application, the test station information is used for uniquely identifying the station where the test equipment is located in the current production line. Specifically, the test station information may include identification information of a station where the test equipment is currently located (referred to as station identification information for short), and may also include identification information of an item that is produced by a production line where the test equipment is currently located (referred to as item identification information for short). Specifically, the item identification information may be represented by an item number, and the workstation identification information may be represented by a workstation name. For example, the test station information of the current test equipment may include: item number: 80001, station name: and a circuit board testing station.
Specifically, in this step, when the test equipment is detected to be started, or every preset time period (for example, one day, one week), the test station information of the test equipment may be automatically determined, and in one embodiment, the test station information pre-stored in advance may be obtained from the storage unit by reading the storage unit of the test equipment. In another embodiment, the test equipment may prompt the operator to enter current test station information for the test equipment, and then determine the information entered by the operator as the test station information for the current test equipment.
In S102, according to the test station information, software updating data corresponding to the test station information is obtained from a preset database; the preset database stores software updating data which are respectively set for each station in the production line by the background server.
In this embodiment, the software update data may include a test program installation package and/or a configuration file, where the configuration file includes various configuration parameters required for the test program to run. The software updating data is specifically stored in a preset database, the preset database stores the software updating data respectively set by the background server for each station in the production line, and specifically, after the background server sets the software updating data of one station, the test station information of the station and the software updating data thereof are uploaded to the preset database to be correspondingly stored. According to the currently acquired test station information of the test equipment, software updating data stored corresponding to the test station information can be inquired from a preset database to serve as the current software updating data of the test equipment. Specifically, the preset database may be a database stored in the local terminal of the testing device, or may be a database stored in other devices. In one embodiment, the preset database is specifically a relational database (SQL Server) in a file Server, and when a product or test requirement changes, a background Server may set up the latest software update data for each station and upload the latest software update data to the preset database of the file Server for storage, so that a plurality of test devices may share the preset database to accurately obtain the respective required software update data.
In S103, the software of the test device is updated according to the software update data.
And after software updating data stored corresponding to the testing station information is acquired, updating the software of the testing equipment according to the software updating data. In particular, the software of the test device may be updated by reinstalling the test program of the test device and/or updating the test configuration file of the test device.
Optionally, the step S101 includes:
and scanning the marker of the test equipment to acquire the test station information contained in the marker.
In the embodiment of the present application, the identifier of the testing device at least includes testing station information (e.g., item number, station name, etc.) of the testing device, and may further include a body number of the testing device and testing accessory (e.g., needle bed box) information corresponding to the testing device. In one embodiment, the identifier may be a two-dimensional code that may be attached to the testing device in the form of a label or displayed on a display screen of the testing device in the form of a picture. In another embodiment, the identifier may be an electronic tag, such as a Radio Frequency Identification (RFID) tag, that may be attached to the testing device. The testing equipment can scan the marker of the testing equipment through a self scanning module (such as a two-dimensional code scanning gun, an electronic tag reader and the like), so that the testing station information contained in the marker is obtained.
In the embodiment of the application, the test station information of the test equipment can be stored through the marker, so that the test station information of the test equipment can be quickly acquired only through simple scanning operation, and the convenience and the efficiency of the test software updating method are improved.
Optionally, the test software updating method further includes:
and if the production item corresponding to the test equipment or the test station where the production item corresponds to the test equipment changes, resetting the identifier of the test equipment, and updating the test station information contained in the identifier.
In the embodiment of the application, when the test equipment is detected to move, or the test equipment acquires a production line change message sent by a background server or a file server, it is determined that a production project corresponding to the current test equipment or a test station where the current test equipment is located changes. At this time, the identifier of the test equipment is reset (for example, the two-dimensional code is regenerated or the information in the electronic tag is rewritten), and the test station information contained in the identifier is updated. For example, if the identifier is an electronic tag attached to the testing device, the identifier of the testing device is reset, specifically: and instructing technicians to modify the test station information of the electronic tag through the tag modification software loaded at the home end of the test equipment or other tag modification equipment according to the project identification information of the production project corresponding to the test equipment and/or the station identification information of the test station. Exemplarily, if the identifier is a two-dimensional code displayed on a display screen of the test equipment in a picture mode, the identifier of the test equipment is reset, specifically: and instructing technicians to input project identification information corresponding to the current production project of the test equipment and/or station identification information of the test station, and regenerating the two-dimensional code of the test equipment according to the project identification information and/or the station identification information. Specifically, if the step of resetting the identifier of the test device is specifically executed before step S101, the steps from step S101 to step S103 are sequentially executed. Specifically, if the step of resetting the identifier of the test equipment is specifically executed in any step after step S101, after the identifier of the test equipment is reset, the step of scanning the identifier of the test equipment, acquiring the test station information included in the identifier and subsequent steps are returned to, and the test software is updated accurately in time.
In the embodiment of the application, when the production project of the test equipment or the test station where the test equipment is located changes, the marker of the test equipment is reset, and the test station information contained in the marker is updated in time, so that the marker of the test equipment is scanned subsequently to obtain the current accurate test station information of the test equipment, and the accuracy of updating the test software can be ensured.
Optionally, the step S101 includes:
acquiring physical address information of the test equipment;
and determining the test station information of the test equipment according to the physical address information.
In the embodiment of the present application, in a production line, each station is provided with a fixed network interface, and each network interface has a fixed Physical Address (Physical Address), which is also called a Media Access Control Address (MAC Address). That is, there is a corresponding fixed physical address for each workstation. Therefore, in the embodiment of the present application, the corresponding relationship between each piece of physical address information and the test station information thereof may be pre-stored in a database of the local terminal of the test equipment or another terminal.
Specifically, the testing device located at any one station in the production line needs to access the network interface of the station, and the physical address corresponding to the network interface is used as a communication address, so that communication with other devices is realized in the production line. Therefore, when the test equipment needs to determine the test station information of the test equipment, the current physical address information of the test equipment is acquired firstly. And then, according to the physical address information, inquiring the corresponding relation between the physical address information and the test station information prestored in the local terminal or other terminals, and determining that the test station information matched with the current physical address information is the test station information of the current test equipment.
In the embodiment of the application, the test equipment can determine the corresponding test station information according to the physical address information of the test equipment, so that the test station information of the current test equipment can be automatically, conveniently and accurately determined without manual input, and the accuracy of acquiring the software updating data according to the test station information can be ensured, thereby ensuring the accuracy of updating the test software.
Optionally, the step S101 includes:
acquiring the position information of the test equipment;
and inquiring a pre-stored station distribution map according to the position information, and determining the test station information of the test equipment.
In the embodiment of the application, the testing device can acquire the position information of the testing device when detecting that the testing device is started, or every preset time, or after detecting that the testing device has position change. In one embodiment, at least one electronic tag is fixedly arranged at each station position in the production line and used for identifying position information in the production line; the test equipment can scan the information of the electronic tag near the current position of the test equipment through the electronic tag reading module of the test equipment, so that the position information of the test equipment is determined. In another embodiment, the test equipment carries a displacement sensor, and the current passing displacement information of the test equipment can be acquired through the displacement sensor, and the current position information of the test equipment is determined according to the displacement information and the initial position information. In other embodiments, the testing device may also determine its own location information via bluetooth location or Ultra Wide Band (UWB) location techniques. Specifically, at least three bluetooth base stations or UWB base stations located at fixed positions may be preset in the production line, and correspondingly, the testing device carries a bluetooth tag or an Ultra Wide Band (UWB) tag, so that the location information of the testing device may be calculated and determined through the signal intensity of the bluetooth tag detected by the bluetooth base station or the signal intensity of the UWB tag detected by the UWB base station.
In the embodiment of the application, a pre-stored station distribution map exists at the local terminal of the testing equipment or other equipment which establishes communication connection with the testing equipment, and the station distribution map stores the testing station information of each testing station and the corresponding position information thereof. After the position information of the testing equipment is obtained, a pre-stored station distribution map can be inquired, and the testing station information corresponding to the current testing equipment is determined through the station distribution map.
In the embodiment of the application, the test equipment can automatically and accurately determine the test station information of the test equipment according to the position information of the test equipment and the pre-stored station distribution map, so that the updating efficiency and accuracy of the test software can be improved.
Optionally, the software update data includes a test program installation package, and correspondingly, the step S102 includes:
according to the test station information, searching latest software version information which is stored correspondingly to the test station information from a preset database;
if the test equipment does not currently have a test program or the latest software version information is inconsistent with the version information of the current test program of the test equipment, acquiring a test program installation package corresponding to the latest software version information from the preset database;
correspondingly, the step S103 includes:
and installing the test program of the test equipment according to the test program installation package.
In the embodiment of the application, the preset database specifically stores the corresponding relation among the test station information, the software updating data and the software version information. After the test station information is obtained, the latest software version information stored in the preset database corresponding to the test station information may be specifically queried to determine to which version the software update data maintained in the current preset database has been updated currently.
When the test device does not currently have the test program (i.e. the test device is in an initial state without the test program), it indicates that the current test device needs to install the test program; when the test device has the test program but the version information of the current test program of the test device is inconsistent with the currently acquired latest software version information, it is indicated that the test program needs to be reinstalled currently. And when any one of the two conditions exists, acquiring the test program installation package corresponding to the latest software version information from a preset database. Illustratively, the test program installation package contains code implementation of basic functions and test logic of the test, such as implementation of code for instrument control, data upload, test item execution, and the like.
After the test installation package is obtained, the test equipment automatically completes the installation or re-installation of the test program according to the test program installation package, so that the test software is updated.
In the embodiment of the application, the latest version information can be inquired according to the test station information, and when no test program exists in the test equipment or the version information of the current test program of the test equipment is inconsistent with the latest version information, the test program installation package corresponding to the latest version information is acquired to install the test program, so that the test software can be prevented from being repeatedly acquired and repeatedly installed when the test equipment installs the test program with the latest version information, and the accuracy of updating the test software can be improved.
Optionally, the software update data includes a configuration file, and correspondingly, the step S102 includes:
acquiring a configuration file stored corresponding to the test station information from a preset database according to the test station information;
correspondingly, the step S103 includes:
and updating the configuration parameters of the test program of the test equipment according to the configuration file.
In this embodiment of the present application, the software update data includes a configuration file, where the configuration file specifically stores configuration parameters of the test program, and the configuration parameters may include information such as specification parameters of the test items and execution sequence of the test items. Specifically, in this step, when it is determined that the latest test program is installed on the current test device, the configuration file stored in correspondence with the test station information may be obtained from the preset database according to the test station information. In one embodiment, the preset database specifically stores the corresponding relationship between the test station information, the configuration file and the unique identification information of the configuration file, and the unique identification information of the configuration file can be obtained by performing cyclic redundancy check (a cyclic redundancy check32, CRC32) calculation on the version number of the configuration file; after the test station information is obtained, it may be specifically queried whether unique identification information of a configuration file locally stored in the test device is consistent with unique identification information of a latest configuration file stored in a current preset database, if not, it is indicated that the current device to be tested needs to update configuration parameters, and at this time, a configuration file stored corresponding to the test station information of the current test device is obtained.
And after the configuration file is obtained, updating the configuration parameters of the test program according to the configuration file, thereby realizing the updating of the test software of the test equipment.
In the embodiment of the application, the configuration file can be accurately obtained through the test station information, and the configuration parameters of the test program of the test equipment are updated according to the configuration file, so that the test software can be efficiently and accurately updated.
Optionally, after the step S103, the method further includes:
and if the software updating data stored in the preset database is detected to be updated, returning to the step of acquiring the software updating data corresponding to the testing station information from the preset database according to the testing station information and the subsequent steps.
In this embodiment of the application, after the test device is started and finishes the current software update, in the process of performing a test task by the test device, if it is detected that the software update data stored in the preset database is updated (specifically, the version number of the test program installation package or the unique identification information of the configuration file is updated), the process returns to the step S102, the latest software update data corresponding to the current test station information is continuously obtained, and the software update of the test device is performed again. In one embodiment, the testing device may monitor, in real time or periodically, whether the software update data stored in the preset database is updated while performing the testing task; in another embodiment, when the software update data of the preset database has an update, a notification message is transmitted to the testing device to enable the testing device to determine that the software update data stored in the current database has an update, and the step S102-step S103 are executed in return.
In the embodiment of the application, after the current test software is updated, the test equipment can continuously detect whether the software updating data stored in the preset database is updated, and continuously acquires the software updating data again to update the software when the software updating data is updated, so that the timeliness of the test software updating can be ensured.
Exemplarily, fig. 2 shows an application scenario diagram corresponding to the test software updating method provided in the embodiment of the present application, and includes a background server 21, a file server 22, and a test device 23. The background server 21 is used for software release, software check and software upload; the file server 22 is used for correspondingly storing the test station information and the software updating data thereof; the test device 23 is used to execute the test software update method described above. Specifically, the process of testing software update in the application scenario is as follows:
(1) determining a project number of a current production line and a station name of a test device, determining test station information according to the project number and the station name, and generating a two-dimensional code containing the test station information; and then, attaching the two-dimensional code to test equipment in the form of an electronic tag. Specifically, the two-dimensional code may include a test equipment number, test accessory information, and the like, in addition to two test station information, i.e., a project number and a station name. The station names can include a programming station, a checking station, a circuit board testing station, a semi-finished product testing station, a finished product testing station, an information writing station, an information verifying station and the like. For example, the production line may be a battery pack production line, and the station where the current testing equipment is located may be a circuit board testing station.
(2) When a product or a test requirement changes, technicians upload test station information corresponding to each station, a latest test program installation package and version information thereof, and a test configuration file and version information thereof to the background server 21, the background server 21 issues software for test software corresponding to each station respectively, checks the issued test software, uploads the software to the cloud management platform after the check is passed, the cloud management platform takes the test program installation package and the test configuration file corresponding to the test software as software update data, and uploads the software update data and the test station information corresponding to the software update data together to a preset database of the file server 22 for storage. Specifically, the preset database is specifically a relational database (SQL Server) and is used for correspondingly storing the stored test station information and the software update data.
(3) After the test equipment 23 is started, the test platform can be logged in through the test platform client, the electronic tag or the two-dimensional code attached to the test platform can be scanned, and test station information corresponding to the test equipment can be read. The preset database of the file server 22 is queried according to the test station information, and software update data corresponding to the test station information is obtained therefrom. And when the operator determines that the version of the software updating data is correct, automatically updating the software of the testing equipment according to the software updating data.
(4) After the test equipment is started and updates the software, the test equipment tests products produced by a production line and simultaneously monitors whether the software updating data stored in a preset database is updated or not; when the product design changes the demand, the technician renews the latest software release, check and upload in the background server, and the software update data stored in the preset database is updated, at this time, the test equipment automatically acquires the latest software update data, and the software update is performed again accurately in time.
(5) When the testing equipment needs to be switched from one production item to another production item, or one testing station is switched to another testing station, a technician can reset the two-dimensional code on the electronic tag attached to the testing equipment through the electronic tag modification equipment according to the latest item number of the production item and/or the station name of the testing station after the testing equipment is switched, and update the testing station information contained in the two-dimensional code. And (4) returning to the step (3), rescanning the two-dimensional code of the electronic tag, acquiring the test station information currently corresponding to the test equipment, acquiring corresponding software updating data from the preset database again, and updating the software according to the software updating data.
In the embodiment of the application, the test station information of the test equipment is automatically acquired, and the software updating data corresponding to the test station information is accurately acquired according to the test station information, so that the test equipment can accurately update the software of the test equipment according to the software updating data. Because the software updating data corresponding to the testing equipment can be automatically and accurately acquired according to the testing station information, the automatic updating of the testing software can be accurately carried out without the participation of professional technicians, and the updating efficiency of the testing software is improved while the updating accuracy of the testing software is ensured.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example two:
fig. 3 shows a schematic structural diagram of a test software updating apparatus provided in an embodiment of the present application, and for convenience of description, only parts related to the embodiment of the present application are shown:
the test software updating device comprises: a test station information determining unit 31, a software updating data acquiring unit 32, and a software updating unit 33. Wherein:
a test station information determining unit 31, configured to determine test station information of the test equipment; the test station information is used for uniquely identifying the station where the test equipment is located in the production line currently.
A software update data obtaining unit 32, configured to obtain, according to the test station information, software update data corresponding to the test station information from a preset database; the preset database stores software updating data which are respectively set for each station in the production line by the background server.
A software updating unit 33, configured to update the software of the testing device according to the software updating data.
Optionally, the test station information determining unit 31 is specifically configured to scan a marker of the test equipment, and acquire test station information included in the marker.
Optionally, the test software updating apparatus further includes:
and the marker resetting unit is used for resetting the marker of the testing equipment and updating the testing station information contained in the marker if the production item corresponding to the testing equipment or the testing station where the production item corresponds to changes.
Optionally, the test station information determining unit 31 is specifically configured to obtain physical address information of the test equipment; and determining the test station information of the test equipment according to the physical address information.
Optionally, the test station information determining unit 31 is specifically configured to obtain position information of the test equipment; and inquiring a pre-stored station distribution map according to the position information, and determining the test station information of the test equipment.
Optionally, the software update data includes a test program installation package, and correspondingly, the software update data obtaining unit 32 is specifically configured to query, according to the test station information, latest software version information stored in correspondence with the test station information from a preset database; if the test equipment does not currently have a test program or the latest software version information is inconsistent with the version information of the current test program of the test equipment, acquiring a test program installation package corresponding to the latest software version information from the preset database;
correspondingly, the software updating unit 33 is specifically configured to install the test program of the test device according to the test program installation package.
Optionally, the software update data includes a configuration file, and correspondingly, the software update data obtaining unit 32 is specifically configured to obtain, according to the test station information, the configuration file stored in correspondence with the test station information from a preset database;
correspondingly, the software updating unit 33 is specifically configured to update the configuration parameters of the test program of the test equipment according to the configuration file.
Optionally, the test software updating apparatus further includes:
and the update detection unit is used for returning to execute the step of acquiring the software update data corresponding to the test station information from the preset database according to the test station information and the subsequent steps if the update of the software update data stored in the preset database is detected.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned 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. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Example three:
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, the electronic apparatus 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42, such as a test software update program, stored in said memory 41 and operable on said processor 40. The processor 40, when executing the computer program 42, implements the steps in each of the above-described test software update method embodiments, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 40 executes the computer program 42 to realize the functions of the modules/units in the device embodiments, such as the functions of the test station information determination unit 31 to the software update unit 33 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the electronic device 4.
The electronic device 4 may be a desktop computer, a notebook, a palm computer, or other computing devices. The electronic device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of an electronic device 4 and does not constitute a limitation of the electronic device 4 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the electronic device may also include input-output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field 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 memory 41 may be an internal storage unit of the electronic device 4, such as a hard disk or a memory of the electronic device 4. The memory 41 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 41 is used for storing the computer program and other programs and data required by the electronic device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned 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. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain 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 implementation. 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/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments 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, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. 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 test software updating method is applied to test equipment in a production line, and comprises the following steps:
determining test station information of the test equipment; the test station information is used for uniquely identifying the station where the test equipment is located in the production line;
acquiring software updating data corresponding to the testing station information from a preset database according to the testing station information; the preset database stores software updating data which are respectively set for each station in the production line by a background server;
and updating the software of the test equipment according to the software updating data.
2. The test software updating method of claim 1, wherein said determining test station information for said test equipment comprises:
and scanning the marker of the test equipment to acquire the test station information contained in the marker.
3. The method for testing software updates of claim 2, further comprising:
and if the production item corresponding to the test equipment or the test station where the production item corresponds to the test equipment changes, resetting the identifier of the test equipment, and updating the test station information contained in the identifier.
4. The test software updating method of claim 1, wherein said determining test station information for said test equipment comprises:
acquiring physical address information of the test equipment;
and determining the test station information of the test equipment according to the physical address information.
5. The test software updating method of claim 1, wherein said determining test station information for said test equipment comprises:
acquiring the position information of the test equipment;
and inquiring a pre-stored station distribution map according to the position information, and determining the test station information of the test equipment.
6. The method for updating test software according to claim 1, wherein the software update data includes a test program installation package, and correspondingly, the acquiring the software update data corresponding to the test station information from a preset database according to the test station information includes:
according to the test station information, searching latest software version information which is stored correspondingly to the test station information from a preset database;
if the test equipment does not currently have a test program or the latest software version information is inconsistent with the version information of the current test program of the test equipment, acquiring a test program installation package corresponding to the latest software version information from the preset database;
correspondingly, the updating the software of the test equipment according to the software updating data includes:
and installing the test program of the test equipment according to the test program installation package.
7. The method for updating test software according to claim 1, wherein the software update data includes a configuration file, and correspondingly, the acquiring the software update data corresponding to the test station information from a preset database according to the test station information includes:
acquiring a configuration file stored corresponding to the test station information from a preset database according to the test station information;
correspondingly, the updating the software of the test equipment according to the software updating data includes:
and updating the configuration parameters of the test program of the test equipment according to the configuration file.
8. The test software updating method according to any one of claims 1 to 7, further comprising, after said updating the software of the test device according to the software update data:
and if the software updating data stored in the preset database is detected to be updated, returning to the step of acquiring the software updating data corresponding to the testing station information from the preset database according to the testing station information and the subsequent steps.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the computer program, when executed by the processor, causes the electronic device to carry out the steps of the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, causes an electronic device to carry out the steps of the method according to any one of claims 1 to 8.
CN202110432220.1A 2021-04-21 2021-04-21 Test software updating method, electronic device and storage medium Pending CN113220322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110432220.1A CN113220322A (en) 2021-04-21 2021-04-21 Test software updating method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110432220.1A CN113220322A (en) 2021-04-21 2021-04-21 Test software updating method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN113220322A true CN113220322A (en) 2021-08-06

Family

ID=77088323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110432220.1A Pending CN113220322A (en) 2021-04-21 2021-04-21 Test software updating method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113220322A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115271767A (en) * 2022-09-28 2022-11-01 深圳市安仕新能源科技有限公司 Production data tracing method, device and system based on station routing
CN116028100A (en) * 2022-07-29 2023-04-28 荣耀终端有限公司 Software version upgrading method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677410A (en) * 2016-01-05 2016-06-15 太仓市同维电子有限公司 Method for downloading test program through server
CN109189458A (en) * 2018-11-09 2019-01-11 四川科道芯国智能技术股份有限公司 Data-updating method and device
WO2019029457A1 (en) * 2017-08-07 2019-02-14 阿里巴巴集团控股有限公司 Method and apparatus for updating application program on client, and electronic device
CN110851153A (en) * 2018-08-21 2020-02-28 深圳迈瑞生物医疗电子股份有限公司 Method and system for upgrading pipeline equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677410A (en) * 2016-01-05 2016-06-15 太仓市同维电子有限公司 Method for downloading test program through server
WO2019029457A1 (en) * 2017-08-07 2019-02-14 阿里巴巴集团控股有限公司 Method and apparatus for updating application program on client, and electronic device
CN110851153A (en) * 2018-08-21 2020-02-28 深圳迈瑞生物医疗电子股份有限公司 Method and system for upgrading pipeline equipment
CN109189458A (en) * 2018-11-09 2019-01-11 四川科道芯国智能技术股份有限公司 Data-updating method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028100A (en) * 2022-07-29 2023-04-28 荣耀终端有限公司 Software version upgrading method and electronic equipment
CN116028100B (en) * 2022-07-29 2024-04-05 荣耀终端有限公司 Software version upgrading method and electronic equipment
CN115271767A (en) * 2022-09-28 2022-11-01 深圳市安仕新能源科技有限公司 Production data tracing method, device and system based on station routing
CN115271767B (en) * 2022-09-28 2023-08-01 深圳市安仕新能源科技有限公司 Production data tracing method, device and system based on station routing

Similar Documents

Publication Publication Date Title
CN111371638B (en) Intelligent equipment testing method and device, server and storage medium
CN107766236B (en) Test task automatic management method, device, equipment and storage medium
CN110806894B (en) Automobile part software version management method, equipment, storage medium and device
US20160238659A1 (en) Trace data recording system, trace data recording server, trace data recording method, and information storage medium
CN113220322A (en) Test software updating method, electronic device and storage medium
CN109656633B (en) Instrument calibration method, device, system, terminal equipment and readable storage medium
CN108958772A (en) A kind of batch upgrading method and system of more board equipment
CN111598410B (en) Product spot inspection method and device, computer readable medium and terminal equipment
CN113050601A (en) Vehicle offline diagnosis method and device, diagnosis equipment and storage medium
CN112649717A (en) Test method, test device, terminal equipment and storage medium
CN118170413A (en) Program update system, program update server, and vehicle
CN113094087A (en) Software configuration method, electronic device and storage medium
CN112783756A (en) Automatic test method, terminal, system and storage medium
CN111221727A (en) Test method, test device, electronic equipment and computer readable medium
CN110865828A (en) Data upgrading method, device, equipment and computer readable storage medium
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN115022223A (en) Method and system for carrying out automatic test on TBOX through UDS
CN113835729A (en) Upgrading method and device, terminal equipment and computer readable storage medium
CN112306041A (en) Vehicle configuration information writing method and device and electronic equipment
CN111220899A (en) CEC circuit testing method and device of HDMI interface and terminal
CN112306040A (en) Vehicle detection method, device, equipment and server
CN107277271A (en) Upgrade method and device based on customization software version in mobile terminal
CN115437910A (en) Vehicle offline detection method and device, vehicle, management equipment and storage medium
KR100636404B1 (en) Method and System for Testing by Using Automatic Control Program
CN112327800A (en) Vehicle detection method and device and diagnosis equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210806

RJ01 Rejection of invention patent application after publication