Movatterモバイル変換


[0]ホーム

URL:


CN112527652B - Test information updating method, device, computer equipment and storage medium - Google Patents

Test information updating method, device, computer equipment and storage medium
Download PDF

Info

Publication number
CN112527652B
CN112527652BCN202011486013.6ACN202011486013ACN112527652BCN 112527652 BCN112527652 BCN 112527652BCN 202011486013 ACN202011486013 ACN 202011486013ACN 112527652 BCN112527652 BCN 112527652B
Authority
CN
China
Prior art keywords
test
file
update
tool
updating
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
CN202011486013.6A
Other languages
Chinese (zh)
Other versions
CN112527652A (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless IncfiledCriticalFibocom Wireless Inc
Priority to CN202011486013.6ApriorityCriticalpatent/CN112527652B/en
Publication of CN112527652ApublicationCriticalpatent/CN112527652A/en
Application grantedgrantedCritical
Publication of CN112527652BpublicationCriticalpatent/CN112527652B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application relates to a test information updating method, a test information updating device, computer equipment and a storage medium. The method comprises the following steps: responding to a test information updating instruction, acquiring a corresponding updating configuration address, and sending a test information acquisition request to a factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to a test tool; receiving a test update file returned by the factory configuration server, wherein the test update file is acquired by the server according to the test information storage path in response to the test information acquisition request; updating the original test file stored locally in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file. By adopting the method, the test information updating efficiency can be improved.

Description

Test information updating method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of detection technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for updating test information.
Background
With the development of the detection technology, product detection is required in many cases, for example, antenna detection is required, and when the product is detected, test software can determine the detection result of the product by using the test standard stored in the test file. Therefore, the factory personnel needs to acquire updated test files so that the acquired test files are up-to-date each time a test is performed.
However, in the current test file updating method, because the maintenance of the test file is required to be manually performed or the maintenance of an operator is guided, the problem of low test information updating efficiency exists.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a test information updating method, apparatus, computer device, and storage medium capable of improving test information updating efficiency.
A method of updating test information, the method comprising: responding to a test information updating instruction, acquiring a corresponding updating configuration address, and sending a test information acquisition request to a factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to a test tool; receiving a test update file returned by the factory configuration server, wherein the test update file is acquired by the server according to the test information storage path in response to the test information acquisition request; updating the original test file stored locally in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file.
In one embodiment, the obtaining the corresponding update configuration address includes: acquiring a test object corresponding to the test tool and test station information; and acquiring a corresponding updating configuration address according to the test object and the test station information.
In one embodiment, the plurality of test update files, and updating the original test file stored locally in the test tool according to the test update files includes: replacing an original test file in the test tool by using the test update file, and returning to the step of replacing the original test file in the test tool by using the test update file when the replacement failure is determined, until the replacement is successful or the preset times are reached; when the preset times are reached, if a first test update file with failed replacement and a second test update file with successful replacement exist, the second test update file is replaced by the original test file, so that the test tool is enabled to restore the original state.
In one embodiment, the method further comprises: receiving a test information acquisition request; the test information acquisition request is sent by an update tool in response to a test information update instruction, and the test information acquisition request carries a test information storage path corresponding to the test tool according to the update configuration address; responding to the test information acquisition request, and acquiring a test update file according to the test information storage path; and sending the test update file to the update tool, so that the update tool updates the original test file locally stored in the test tool according to the test update file, and the test tool tests the factory test object according to the test update file.
In one embodiment, a folder creation request corresponding to a test station is obtained, a file storage folder corresponding to the test station is created according to the folder creation request, and a path of the file storage folder is used as a test information storage path corresponding to the test station; when a file updating request corresponding to the test station is received, storing a test updating file in the file updating request according to a test information storage path.
In one embodiment, the method further comprises: determining a main test terminal corresponding to each test station, and acquiring a test update file from the main test terminal when the update of the test file in the main test terminal is detected; and acquiring a test information storage path corresponding to the test station, and storing the test update file according to the test information storage path.
A test information updating apparatus, the apparatus comprising:
The test information acquisition request sending module is used for responding to a test information updating instruction, acquiring a corresponding updating configuration address, and sending a test information acquisition request to a factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to a test tool; the test update file receiving module is used for receiving a test update file returned by the factory configuration server, wherein the test update file is acquired by the server according to the test information storage path in response to the test information acquisition request; and the original test file updating module is used for updating the original test file locally stored in the test tool according to the test update file so that the test tool tests the factory test object according to the test update file.
In one embodiment, the test information acquisition request sending module includes a test object and a test station information acquisition unit, which is used for acquiring the test object and the test station information corresponding to the test tool; and the updating configuration address acquisition unit is used for acquiring the corresponding updating configuration address according to the test object and the test station information.
In one embodiment, the original test file update module is further configured to: replacing the original test file in the test tool by using the test update file, and returning to the step of replacing the original test file in the test tool by using the test update file when the replacement failure is determined, until the replacement is successful or the preset times are reached; when the preset times are reached, if the first test update file with failed replacement and the second test update file with successful replacement exist, the second test update file is replaced by the original test file, so that the test tool is restored to the original state.
In one embodiment, there is provided a test information updating apparatus including: the system comprises a test information acquisition request receiving module, a test update file acquisition module and a test update file sending module, wherein: the test information acquisition request receiving module is used for receiving a test information acquisition request; the test information acquisition request is sent by an update tool in response to a test information update instruction, and the test information acquisition request carries a test information storage path corresponding to the test tool according to the update configuration address; the test update file acquisition module is used for responding to the test information acquisition request and acquiring a test update file according to the test information storage path; the test update file sending module is used for sending the test update file to the update tool so that the update tool updates the original test file locally stored in the test tool according to the test update file, and the test tool tests the factory test object according to the test update file.
In one embodiment, the test information updating device is further configured to obtain a folder creation request corresponding to the test station, create a file storage folder corresponding to the test station according to the folder creation request, and use a path of the file storage folder as a test information storage path corresponding to the test station; when a file updating request corresponding to the test station is received, the test updating file in the file updating request is stored according to the test information storage path.
In one embodiment, the test information updating device is further configured to determine a main test terminal corresponding to each test station, and when it is detected that a test file in the main test terminal is updated, obtain a test update file from the main test terminal; and acquiring a test information storage path corresponding to the test station, and storing a test update file according to the test information storage path.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of: responding to a test information updating instruction, acquiring a corresponding updating configuration address, and sending a test information acquisition request to a factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to a test tool; receiving a test update file returned by the factory configuration server, wherein the test update file is acquired by the server according to the test information storage path in response to the test information acquisition request; updating the original test file stored locally in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of: responding to a test information updating instruction, acquiring a corresponding updating configuration address, and sending a test information acquisition request to a factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to a test tool; receiving a test update file returned by the factory configuration server, wherein the test update file is acquired by the server according to the test information storage path in response to the test information acquisition request; updating the original test file stored locally in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file.
According to the test information updating method, the device, the computer equipment and the storage medium, the updating tool acquires the corresponding updating configuration address by responding to the test information updating instruction, and sends a test information acquisition request to the factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to the testing tool; after receiving the test information acquisition request, the factory configuration server returns a test update file according to the received test information, and updates the original test file locally stored in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file. The test update file does not need to be updated manually, and the test information update efficiency is improved.
Drawings
FIG. 1 is an application environment diagram of a test information update method in one embodiment;
FIG. 2 is a flow chart of a test information update method according to an embodiment;
FIG. 3 is a flowchart illustrating a step of acquiring a corresponding update configuration address according to one embodiment;
FIG. 4 is a flow chart of a method for updating an original test file stored locally in the test tool according to the test update file in one embodiment;
FIG. 5 is a flowchart of a test information update method according to another embodiment;
FIG. 6 is a flowchart of a test information update method according to another embodiment;
FIG. 7 is a flowchart of a test information update method according to another embodiment;
FIG. 8 is a flowchart of a test information update method according to another embodiment;
FIG. 9 is a block diagram showing a structure of a test information updating apparatus in one embodiment;
fig. 10 is an internal structural view of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The test information updating method provided by the application can be applied to an application environment shown in figure 1. Wherein the test terminal 102 is installed with an update tool, the test terminal 102 communicates with the factory configuration server 104 via a network. The test terminal 102 responds to the test information update instruction to obtain a corresponding update configuration address, and sends a test information acquisition request to a factory configuration server corresponding to the update configuration address, wherein the test information acquisition request carries a test information storage path corresponding to the test tool. The factory configuration server 104 receives the above-mentioned test information acquisition request, and in response to the test information acquisition request, acquires a test update file according to the test information storage path, and sends the test update file to the test terminal 102, and after receiving the test update file returned by the factory configuration server 104, the test terminal 102 updates the original test file locally stored in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file. Wherein the test terminal 102 may be a device independent of the factory configuration server 104, including but not limited to various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices; or may be a device integrated with the factory configuration server 104. The factory configuration server 104 may be implemented as a stand-alone server or as a cluster of servers.
In one embodiment, as shown in fig. 2, a method for updating test information is provided, and the method is applied to the test terminal in fig. 1 for illustration, and includes the following steps:
step 202, responding to the test information update instruction, obtaining a corresponding update configuration address, and sending a test information obtaining request to a factory configuration server corresponding to the update configuration address, wherein the test information obtaining request carries a test information storage path corresponding to a test tool.
Wherein the test information refers to information related to the test. For example, module information to be tested. The update configuration address refers to an address having a binding relationship with the update tool. The update configuration address may be IP (Internet Protocol) addresses of the factory configuration server, which may be pre-stored on the test terminal.
Specifically, when a factory personnel needs to perform a test of a product or a module in the product, a test file required for the test needs to be obtained from a factory configuration server through an update tool.
In one embodiment, a user may manually start an update tool, where the update tool binds a factory configuration server that needs to be matched with the update tool through a setting item of the local end, and at this time, start a test information acquisition request in the update tool, where the test information acquisition request carries a test information storage path corresponding to the test tool.
In one embodiment, the factory configuration server may be MES (Manufacturing Execution System) servers, the update tool may connect to different MES servers through different interfaces, the interfaces of the MES servers corresponding to the update tool may support file downloading and uploading functions, each factory may create a special authority folder to store test update files that each factory depends on.
In one embodiment, the test information update instruction may be triggered by opening an add-in or a button with an instruction sending function on the update tool, and after the configuration address of the factory configuration server is obtained, a test information obtaining request is sent to the factory configuration server of the corresponding configuration address, where the test information obtaining request carries a test information storage path corresponding to the test tool. Thus, the test update file in the storage path on the factory configuration server can be obtained through the test information update instruction.
And step 204, receiving a test update file returned by the factory configuration server.
The test update file is a file provided by the factory configuration server and capable of executing a test, and is obtained by the server according to a test information storage path in response to a test information obtaining request.
Specifically, after the update tool sends the test information acquisition request to the factory configuration server, the factory configuration server determines a corresponding test update file according to a test information storage path corresponding to the test tool carried in the test information acquisition request, and then sends the test update file to the update tool, and accordingly, the update tool receives the test update file.
And step 206, updating the original test file stored locally in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file.
The original test file refers to a file for testing stored locally in the update tool. Factory test objects refer to objects for which in the factory tests are directed. For example, if the object to which the test is performed in the factory is a wireless module, the factory test object is a wireless module.
Specifically, since the locally stored original test file may be an old version test file, in order to obtain the latest test file in real time to test the factory test object, after the update tool receives the test update file returned by the server, the locally stored original test file in the test tool is updated, so that the test tool tests the factory test object according to the test update file.
According to the test information updating method, the device, the computer equipment and the storage medium, the updating tool acquires the corresponding updating configuration address by responding to the test information updating instruction, and sends a test information acquisition request to the factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to the testing tool; after receiving the test information acquisition request, the factory configuration server returns a test update file according to the received test information, and updates the original test file locally stored in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file. The test update file does not need to be updated manually, and the test information update efficiency is improved.
In one embodiment, as shown in fig. 3, the step of obtaining the corresponding update configuration address includes:
step 302, obtaining a test object corresponding to the test tool and test station information.
Wherein the stations are the most basic production units of the production process, and the factory divides the stations according to at least one of the manufacturing flow or the product. For example, the station 001 is a station for testing a radio frequency module, and the station 002 is a station for testing a bluetooth module, etc.
Specifically, after receiving the test information update instruction, the test terminal presets the corresponding test object identifier and the test station information in the test tool, and the test terminal can acquire the test object and the test station information corresponding to the test tool with the corresponding relation with the update tool.
In some embodiments, the test tool may obtain identification information of a test object currently being tested to determine a test object corresponding to the test tool based on the identification information. For example, the test tool may obtain text on the test object currently being tested, and determine the identity of the test object based on the text. By acquiring the identification information of the currently tested test object, the update of the test file in the test tool can be enabled to be changed according to the currently tested test object, so that the flexibility of the update of the test information is improved.
And step 304, acquiring a corresponding updating configuration address according to the test object and the test station information.
Specifically, the test terminal may obtain the corresponding update configuration address according to the difference of the test objects and the test station information corresponding to the test objects. Each test object may correspond to a plurality of different test station information, and each test station information may correspond to a plurality of different test objects.
In one embodiment, in practical application, due to the increase of workload of each test station, one test station may correspond to a plurality of test objects, a corresponding update configuration address may be obtained for different test objects at each test station, and the update configuration address may be obtained through the test objects and the test station information stored on the test terminal.
In one embodiment, in practical application, there are often multiple test station information corresponding to one test object, but versions of the test objects tested by each station are different, so that test files need to be selected from servers with different configuration addresses to test the test objects.
In this embodiment, the purpose of accurately acquiring the update configuration address can be achieved by acquiring the test object and the test station information corresponding to the test tool and acquiring the corresponding update configuration address according to the test object and the test station information.
In one embodiment, as shown in fig. 4, the updating of the original test file stored locally in the test tool according to the test update file includes:
And step 402, replacing the original test file in the test tool by using the test update file, and returning to the step of replacing the original test file in the test tool by using the test update file until the replacement is successful or the preset times are reached when the replacement failure is determined.
The preset times are preset times for carrying out replacement operation.
Specifically, when the original test file in the test tool is replaced with the test update file, a replacement failure occurs. When the replacement failure is determined, the test terminal can replace the original test file again until the replacement is successful. Or after the original test file is replaced again by the test terminal, if the preset times are reached or the replacement cannot be successfully performed, the original test file is stopped being replaced.
In one embodiment, when the number of test update files is multiple, the original test files in the test tool are replaced by the test update files, and when at least one of the multiple files fails to be replaced, the replacement is performed again until the replacement is successful or the preset number of times is reached. For example, the preset number of times is set to 3 times, and when all of the 3 times of replacement fail, the replacement is stopped.
And step 404, when the preset times are reached, if the first test update file with failed replacement and the second test update file with successful replacement exist, replacing the second test update file with the original test file so as to enable the test tool to restore the original state.
The original state of the test tool refers to the running environment state of the test tool based on the original test file.
Specifically, when the original test file includes at least one file, and when the original test file in the test tool is replaced by the test update file for a preset number of times, the original test file is not replaced successfully, and the test terminal can replace the file replaced by the test update file in the original test file again by using the original test file, so that the test tool is restored to the original state, and the consistency of all test file versions in the test tool is maintained.
In this embodiment, the original test file stored locally in the test tool is updated by the test update file, so that the accuracy of updating the test update file can be improved.
In one embodiment, as shown in fig. 5, a test information updating method is provided, and the method is applied to the factory configuration server in fig. 1 for illustration, and includes the following steps:
step 502, a test information acquisition request is received.
The test information acquisition request refers to an acquisition request of the test terminal for the test information.
Specifically, after the test terminal sends the test information acquisition request, a corresponding request receiving module with a request receiving function in the factory configuration server receives the test information acquisition request.
In one embodiment, the test information obtaining request carries a test information storage path corresponding to the test tool, and the test tool and the test information storage path have a corresponding relationship. For example, the test tool is a test tool for testing the 5G communication module, and the test tool carries test information such as a test station for testing the 5G communication module or a module identifier corresponding to the 5G communication module, and the test information acquisition request is that the update tool responds to the test information update instruction to acquire a corresponding update configuration address, and according to the update configuration address, the factory configuration server can be connected with the update tool through a network connection or a serial connection mode, and after the update tool performs corresponding configuration connection, the corresponding factory configuration server receives the test information acquisition request when the update tool sends the test information acquisition request.
Step 504, in response to the test information obtaining request, obtaining a test update file according to the test information storage path.
Specifically, the test information acquisition request carries a test information storage path corresponding to the test tool, and after the factory configuration server responds to the test information acquisition request, a test update file can be acquired according to the test information acquisition request. For example, the factory configuration server receives a test information acquisition request with a path D\xx\ABC\DE\test update file, and can acquire the test update file under the folder.
In one embodiment, after the factory configuration server receives the test information acquisition request, processes and responds to the corresponding test information acquisition request, the test update file on the test terminal can be synchronously backed up to the factory configuration server according to a file synchronous backup mechanism between the factory configuration server and the test terminal.
And step 506, the test update file is sent to the update tool, so that the update tool updates the original test file locally stored in the test tool according to the test update file, and the test tool tests the factory test object according to the test update file.
Specifically, after the factory configuration server acquires the test information storage path in the test information acquisition request, the factory configuration server finds a test update file stored under the path according to the path, sends the test update file to the update tool, and after the update tool receives the test update file, tests the factory test object by using the test update file.
In one embodiment, when the test update file is updated in the factory configuration server, the test update file may be sent to the update tool at a timing such that the update tool updates the original test file stored locally in the test tool according to the test update file. When testing, the factory test object can be tested by using the test update file in the update tool.
In one embodiment, the factory configuration server may send the test update file to the update tool in response to an update tool's acquisition request for the test update file, and the factory configuration server may not send the test update file to the update tool when the update tool does not send the test update file acquisition request to the factory configuration server.
In this embodiment, a factory configuration server receives a test information acquisition request, acquires a test update file according to a test information storage path carried by the test information acquisition request, and sends the test update file to an update tool. The method can achieve the aim that the update tool updates the test update file obtained from the factory configuration server in real time so as to facilitate the update of the test update file on the update tool.
In one embodiment, as shown in fig. 6, the test information updating method further includes:
step 602, a folder creation request corresponding to a test station is obtained, a file storage folder corresponding to the test station is created according to the folder creation request, and a path of the file storage folder is used as a test information storage path corresponding to the test station.
Specifically, when a test file corresponding to an object tested by a certain test station is updated, a folder creation request corresponding to the test station is sent to a factory configuration server, and when the factory configuration server receives the folder creation request, a folder corresponding to the test station is built on the factory configuration server. For example, when the factory configuration server receives a folder creation request corresponding to a test station of 001, a folder D: \test station 001 corresponding to the test station of 001 is created, and then the test information storage path corresponding to the test station can be considered as D: \test station 001.
Step 604, when a file update request corresponding to the test station is received, storing the test update file in the file update request according to the test information storage path.
Specifically, after the factory configuration server has created a test information storage path corresponding to the test station, when a file update request corresponding to the test station is received, a test update file in the file update request is stored according to the storage path. For example, the test information storage path corresponding to the test station is D/test station 001, when the corresponding test update file of the test station needs to be updated, a file update request is sent to the factory configuration server, and when the factory configuration server receives the file update request, the test update file under the D/test station 001 folder is updated.
In one embodiment, when a test update file used by a certain test station is recompiled to form a new version of the test update file, the new version of the test update file needs to be timely uploaded to a factory configuration server at this time, and the factory configuration server correspondingly stores the new version of the test update file in a storage position on the factory configuration server corresponding to the corresponding test station.
In one embodiment, since there is a case that a plurality of test stations correspond to one test object, there may be a case that test update files corresponding to a plurality of test stations on the factory configuration server are the same, so that in order to save a storage space of the factory configuration server, the plurality of test stations may be bound, so that the plurality of test stations may share a folder corresponding to a corresponding test update file on the factory configuration server. For example, if the test objects of the test stations 001, 002 and 003 are identical, the storage address D of the factory configuration server may be shared \the test station 001. When a new version of the test update file appears in any test station corresponding to the same test object, the new version of the test update file is uploaded to the folder D \under the test station 001.
In this embodiment, by receiving a file update request corresponding to a test station, and by requesting to establish a storage path corresponding to a corresponding test station, the purpose of timely updating a test update file corresponding to a corresponding test station on a factory configuration server can be achieved.
In one embodiment, as shown in fig. 7, the step method further comprises:
Step 702, determining a main test terminal corresponding to each test station, and acquiring a test update file from the main test terminal when the update of the test file in the main test terminal is detected.
The main test terminal is a terminal which has a direct connection relation with the test station and the test tool used on the test station and can store the test file required by the test object corresponding to the test station.
Specifically, each test station is provided with a test terminal corresponding to the test station, the test terminal can store test files required by personnel on the test station when testing a test object, and if the main test terminal is provided with a test file update, the factory configuration server can acquire updated test update files from the main test terminal.
Step 704, a test information storage path corresponding to the test station is obtained, and a test update file is stored according to the test information storage path.
Specifically, the factory configuration server updates the updated test update file of the main test terminal through the acquired test information storage path corresponding to the test station.
In one embodiment, the factory configuration server can enter a test information storage path corresponding to the corresponding test station by accessing the IP address of the main test terminal, and can copy the test update file on the main test terminal to the local place in the form of a copy file.
In this embodiment, after the main test terminal updates the test update file, the factory configuration server can achieve the purpose that the factory configuration server accurately obtains the test update file through the test station corresponding to the test update file.
In one embodiment, as shown in fig. 8, the automatic update tool is opened first, the network state where the automatic update tool is located is detected, the network state can be detected by using a ping instruction, whether the automatic update tool can be connected with a configuration website is detected, if the automatic update tool and the MES server can be ping-enabled, the network state is proved to be good, and if the automatic update tool and the MES server cannot be ping-enabled, the network state is proved to be unable to be normally used. Wherein the configuration web address is a web address set by the MES server of each factory. If the automatic updating tool can be connected with the corresponding MES server, copying the test file under the configuration path to replace the old test file in the current tool pack in the automatic updating tool, and if the replacement is successful, calling the test tool by the automatic updating tool to test the test object by using the new test file, wherein the test file is updated successfully in the test tool. If the automatic updating tool cannot be connected with the configuration website or the test file under the configuration path in the MES server fails to replace the old test file, the test file is restored to be the original test file in the state before updating, and the test file in the test tool fails to be updated.
It should be understood that, although the steps in the flowcharts of fig. 1-8 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in FIGS. 1-8 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
In one embodiment, as shown in fig. 9, there is provided a test information updating apparatus 900, including: a test information acquisition request sending module 902, a test update file receiving module 904, and an original test file updating module 906, wherein: a test information acquisition request sending module 902, configured to respond to a test information update instruction, obtain a corresponding update configuration address, and send a test information acquisition request to a factory configuration server corresponding to the update configuration address, where the test information acquisition request carries a test information storage path corresponding to a test tool; the test update file receiving module 904 is configured to receive a test update file returned by the factory configuration server, where the test update file is obtained by the server in response to the test information obtaining request according to the test information storage path; the original test file updating module 906 is configured to update an original test file stored locally in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file.
In one embodiment, the test information acquisition request sending module 902 includes a test object, a test station information acquisition unit, and an update configuration address acquisition unit, where: the test object and test station information acquisition unit is used for acquiring the test object and the test station information corresponding to the test tool; the updating configuration address acquisition unit is used for acquiring the corresponding updating configuration address according to the test object and the test station information.
In one embodiment, the original test file update module 906 is further configured to: replacing the original test file in the test tool by using the test update file, and returning to the step of replacing the original test file in the test tool by using the test update file when the replacement failure is determined, until the replacement is successful or the preset times are reached; when the preset times are reached, if the first test update file with failed replacement and the second test update file with successful replacement exist, the second test update file is replaced by the original test file, so that the test tool is restored to the original state.
In one embodiment, there is provided a test information updating apparatus including: the system comprises a test information acquisition request receiving module, a test update file acquisition module and a test update file sending module, wherein: the test information acquisition request receiving module is used for receiving a test information acquisition request; the test information acquisition request is that an update tool responds to a test information update instruction to acquire a corresponding update configuration address, and the test information acquisition request carries a test information storage path corresponding to the test tool according to the update configuration address; the test update file acquisition module is used for responding to the test information acquisition request and acquiring a test update file according to the test information storage path; the test update file sending module is used for sending the test update file to the update tool so that the update tool updates the original test file locally stored in the test tool according to the test update file, and the test tool tests the factory test object according to the test update file.
In one embodiment, the test information updating device is further configured to obtain a folder creation request corresponding to the test station, create a file storage folder corresponding to the test station according to the folder creation request, and use a path of the file storage folder as a test information storage path corresponding to the test station; when a file updating request corresponding to the test station is received, the test updating file in the file updating request is stored according to the test information storage path.
In one embodiment, the test information updating device is further configured to determine a main test terminal corresponding to each test station, and when it is detected that there is an update in the test file in the main test terminal, obtain a test update file from the main test terminal; and acquiring a test information storage path corresponding to the test station, and storing a test update file according to the test information storage path.
For specific limitations of the test information updating apparatus, reference may be made to the above limitations of the test information updating method, and no further description is given here. The respective modules in the above-described test information updating apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 10. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing test information update data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a test information updating method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 10 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: responding to the test information updating instruction, acquiring a corresponding updating configuration address, and sending a test information acquisition request to a factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to a test tool; receiving a test update file returned by the factory configuration server, wherein the test update file is acquired by the server according to a test information storage path in response to a test information acquisition request; and updating the original test file locally stored in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a test object corresponding to a test tool and test station information; and acquiring a corresponding updating configuration address according to the test object and the test station information.
In one embodiment, the processor when executing the computer program further performs the steps of: replacing the original test file in the test tool by using the test update file, and returning to the step of replacing the original test file in the test tool by using the test update file when the replacement failure is determined, until the replacement is successful or the preset times are reached; when the preset times are reached, if the first test update file with failed replacement and the second test update file with successful replacement exist, the second test update file is replaced by the original test file, so that the test tool is restored to the original state.
In one embodiment, the processor when executing the computer program further performs the steps of: receiving a test information acquisition request; the test information acquisition request is that an update tool responds to a test information update instruction to acquire a corresponding update configuration address, and the test information acquisition request carries a test information storage path corresponding to the test tool according to the update configuration address; responding to a test information acquisition request, and acquiring a test update file according to a test information storage path; and sending the test update file to the update tool so that the update tool updates the original test file locally stored in the test tool according to the test update file, and the test tool tests the factory test object according to the test update file.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring a folder creation request corresponding to a test station, creating a file storage folder corresponding to the test station according to the folder creation request, and taking a path of the file storage folder as a test information storage path corresponding to the test station; when a file updating request corresponding to the test station is received, the test updating file in the file updating request is stored according to the test information storage path.
In one embodiment, the processor when executing the computer program further performs the steps of: determining a main test terminal corresponding to each test station, and acquiring a test update file from the main test terminal when the update of the test file in the main test terminal is detected; and acquiring a test information storage path corresponding to the test station, and storing a test update file according to the test information storage path.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: responding to the test information updating instruction, acquiring a corresponding updating configuration address, and sending a test information acquisition request to a factory configuration server corresponding to the updating configuration address, wherein the test information acquisition request carries a test information storage path corresponding to a test tool; receiving a test update file returned by the factory configuration server, wherein the test update file is acquired by the server according to a test information storage path in response to a test information acquisition request; and updating the original test file locally stored in the test tool according to the test update file, so that the test tool tests the factory test object according to the test update file.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a test object corresponding to a test tool and test station information; and acquiring a corresponding updating configuration address according to the test object and the test station information.
In one embodiment, the computer program when executed by the processor further performs the steps of: replacing the original test file in the test tool by using the test update file, and returning to the step of replacing the original test file in the test tool by using the test update file when the replacement failure is determined, until the replacement is successful or the preset times are reached; when the preset times are reached, if the first test update file with failed replacement and the second test update file with successful replacement exist, the second test update file is replaced by the original test file, so that the test tool is restored to the original state.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving a test information acquisition request; the test information acquisition request is that an update tool responds to a test information update instruction to acquire a corresponding update configuration address, and the test information acquisition request carries a test information storage path corresponding to the test tool according to the update configuration address; responding to a test information acquisition request, and acquiring a test update file according to a test information storage path; and sending the test update file to an update tool, so that the update tool updates the original test file stored locally in the test tool according to the test update file, and the test tool tests the factory test object according to the test update file.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a folder creation request corresponding to a test station, creating a file storage folder corresponding to the test station according to the folder creation request, and taking a path of the file storage folder as a test information storage path corresponding to the test station; when a file updating request corresponding to the test station is received, the test updating file in the file updating request is stored according to the test information storage path.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a main test terminal corresponding to each test station, and acquiring a test update file from the main test terminal when the update of the test file in the main test terminal is detected; and acquiring a test information storage path corresponding to the test station, and storing a test update file according to the test information storage path.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

The test information acquisition request sending module is used for responding to a test information updating instruction and determining a test object which is currently tested by a test tool corresponding to the updating tool and test station information corresponding to the test tool; acquiring a corresponding update configuration address according to the currently tested test object and the test station information, and sending a test information acquisition request to a factory configuration server corresponding to the update configuration address, wherein the test information acquisition request carries a test information storage path corresponding to the test tool; one test station information corresponds to a plurality of different test objects; the test information storage path in the factory configuration server is shared by a plurality of test stations corresponding to the test object currently being tested;
CN202011486013.6A2020-12-162020-12-16Test information updating method, device, computer equipment and storage mediumActiveCN112527652B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011486013.6ACN112527652B (en)2020-12-162020-12-16Test information updating method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011486013.6ACN112527652B (en)2020-12-162020-12-16Test information updating method, device, computer equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN112527652A CN112527652A (en)2021-03-19
CN112527652Btrue CN112527652B (en)2024-07-19

Family

ID=75000686

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011486013.6AActiveCN112527652B (en)2020-12-162020-12-16Test information updating method, device, computer equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN112527652B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114398067A (en)*2022-02-242022-04-26树根互联股份有限公司Streaming data processing method and device and main control computer

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110347414A (en)*2019-07-152019-10-18西安易朴通讯技术有限公司Firmware update, device, equipment and computer readable storage medium
WO2022233686A1 (en)*2021-05-062022-11-10LAW-NDT Mess- und Prüfsysteme GmbHTesting system for a plurality of separable test objects, and testing unit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN204208819U (en)*2014-10-082015-03-18杭州远方光电信息股份有限公司A kind of COB Auto-Test System
CN204241652U (en)*2014-12-022015-04-01上海电机系统节能工程技术研究中心有限公司Multi-station full-automatic motor stator comprehensive test device
CN109327546A (en)*2018-11-212019-02-12Oppo(重庆)智能科技有限公司A kind of method, client, MES and electronic equipment accessing ftp server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110347414A (en)*2019-07-152019-10-18西安易朴通讯技术有限公司Firmware update, device, equipment and computer readable storage medium
WO2022233686A1 (en)*2021-05-062022-11-10LAW-NDT Mess- und Prüfsysteme GmbHTesting system for a plurality of separable test objects, and testing unit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Making Test Data Management (TDM) Easier With Data Simulation;Parasoft;https://www.parasoft.com/blog/making-test-data-management-tdm-easier-with-data-simulation/;20210808;全文*

Also Published As

Publication numberPublication date
CN112527652A (en)2021-03-19

Similar Documents

PublicationPublication DateTitle
CN111666080B (en)Micro service cluster deployment method and device, computer equipment and storage medium
CN109032824B (en)Database verification method, database verification device, computer equipment and storage medium
CN110569035B (en)Code compiling method, device, equipment and storage medium of software development project
US9146839B2 (en)Method for pre-testing software compatibility and system thereof
CN108959385B (en)Database deployment method, device, computer equipment and storage medium
CN108804618B (en)Database configuration method, device, computer equipment and storage medium
US10140118B2 (en)Application data synchronization method and apparatus
CN101571809B (en)Implementation method of plug-in registration and device thereof
CN112783866B (en)Data reading method, device, computer equipment and storage medium
CN108628705B (en)Database recovery method and device, computer equipment and storage medium
CN108900572B (en)Main database domain name switching control method, computer equipment and storage medium
CN110555041A (en)Data processing method, data processing device, computer equipment and storage medium
CN109460252B (en)Configuration file processing method and device based on git and computer equipment
CN111506358B (en)Method and device for updating container configuration
CN112445874A (en)Node information checking method, device, equipment and storage medium
CN112463304A (en)Rollback method and apparatus for container mirror image, computer device, and storage medium
CN117573163A (en)Software exception rollback method, device, equipment and storage medium
CN114003250A (en)Software deployment method and device
CN112527652B (en)Test information updating method, device, computer equipment and storage medium
CN111353772A (en)Method and device for generating single number, storage medium and electronic device
CN111367885A (en)Database management system, database management method, storage medium, and electronic device
CN113608831B (en)Plug-in instance management method, system, storage medium and equipment
CN109766235A (en)Configuration file detection method, system, equipment and medium based on software supervision
CN111338848B (en)Failure application copy processing method and device, computer equipment and storage medium
GB2532076A (en)Backup method, pre-testing method for environment updating and system thereof

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp