Test data storage method and system and storage medium
Through the multi-store area and classification management methods, the massive data storage and traceability problems in the manufacturing industry are solved, timely uploading and processing of data is realized, the stability and security of the system are ensured, and abnormal situations are discovered in a timely manner, which improves production efficiency.
Patent Information
- Application Number
- CN202410947715.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-26
AI Technical Summary
In the manufacturing industry, due to the large and scattered data records, it is difficult to store and trace query data, and it is difficult to realize systematic back-check and accurate traceability of data in the existing stand-alone mode.
By storing the target data to multiple storage areas at the same time, and periodically parsing, extracting and uploading it to the receiving platform, combining backup storage and classification management, we ensure data integrity and reliability, and at the same time solve the data loss problem caused by network or server factors. .
Realize timely uploading and processing of data, enhance the controllability and stability of the system, improve data security and reliability, promptly delete uploaded data and optimize storage space, reduce unnecessary consumption, promptly detect abnormal situations and trigger Early warning to improve production efficiency.
Smart Images

Figure CN119025581A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data storage, and in particular to a test data storage method, system and storage medium. Background Art
[0002] During the manufacturing process, data records need to be traced, and even when products are shipped to customers, complete data is required to arrive at the customer. Customers need to conduct manufacturing and production under the current circumstances based on the upstream manufacturing data of the product. This fully reflects the importance of completeness, accuracy and traceability of process data records.
[0003] Often, there are a lot of data records in the manufacturing process, especially for the many items of performance testing of electronic products, the corresponding test data is huge, and the accumulated data can be described as massive. This means that the storage and traceability query of massive data becomes particularly important.
[0004] At present, the manufacturing industry generally uses a stand-alone mode of storage for data records. For example, the client's test data is stored on a single device. There is no aggregation and interconnection function, and the data is distributed scattered, making it difficult to systematically conduct accurate data back-checking and tracing of products after shipment. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a test data storage method, system and storage medium.
[0006] Specifically, the present application provides a test data storage method, comprising the following steps: S100: Acquire target data, and store the target data in a first storage area and a second storage area simultaneously.
[0007] S200: performing a first analysis and extraction on the target data in the first storage area at first preset time intervals to obtain first test data, and uploading the first test data to a first receiving platform.
[0008] S300: Perform a second analysis and extraction on the first test data to obtain second test data in a preset format, and upload the second test data to a second receiving platform.
[0009] S400: Based on the second storage area and with a second preset time as a period, determine whether there is target data in the first storage area in the previous period that has not been uploaded to the second receiving platform. If so, extract the corresponding target data in the second storage area that has not been uploaded to the second receiving platform, perform a first analysis and extraction, and return to step S100; otherwise, obtain real-time test data as target data and return to step S100.
[0010] In the above technical solution, the test data is stored in the relevant receiving platform based on the preset format, which can solve the problem of data information loss caused by direct data upload due to network factors or server factors; at the same time, the test data is aggregated and integrated into a unified storage, which provides data support for background data analysis; in addition, the data upload status is periodically checked to ensure that all data can be uploaded and processed in time, thereby enhancing the controllability and stability of the system.
[0011] Furthermore, the step S100 also includes: storing the target data in a third storage area at the same time to perform backup storage on the target data.
[0012] In the above technical solution, the third storage area plays the role of backup data. This redundant storage solution improves the security and reliability of data and can still ensure the integrity and accessibility of data even if a storage area fails.
[0013] Furthermore, the step S200 further includes: It is determined whether the first test data is successfully uploaded to the first receiving platform. If the upload is successful, the first test data is deleted; otherwise, the first test data continues to be retained in the first storage area.
[0014] In the above technical solution, by judging whether the upload is successful or not, the first test data that has been successfully uploaded is deleted in time, thereby reducing data redundancy in the first storage area and optimizing the utilization of storage space; regularly cleaning up the uploaded data can reduce the system load, improve the efficiency of data processing and uploading, and reduce unnecessary storage consumption; timely deletion of uploaded data helps to protect the confidentiality and security of the data and avoid the risk of unauthorized access or leakage.
[0015] Furthermore, while executing step S300, the following steps are also included: Perform a third analysis and extraction on the first test data to obtain third test data, and store the third test data in the test data table.
[0016] Furthermore, the step S300 further includes: The category of the third test data is determined.
[0017] If the third test data is of the first category, the third test data is stored in a first folder, and a second analysis and extraction is performed on the third test data in the first folder at a third preset time period to obtain final test data and upload it to the second receiving platform.
[0018] If the third test data is of the second category, the third test data is stored in a second folder, and a second analysis and extraction is performed on the third test data in the second folder at a fourth preset time period to obtain final test data and upload it to the second receiving platform.
[0019] In the above technical solution, according to the category of the third test data, the data is stored in the first folder and the second folder respectively, and parsed and extracted according to different cycles to achieve refined management of data of different categories; processing data of different categories separately can optimize scheduling tasks, reduce concurrent conflicts in data processing, and improve overall processing efficiency.
[0020] Furthermore, the step S300 further includes: Perform early warning analysis on the second test data in the test data table with the fifth preset time as a period to obtain the defective rate of the target production line, target product, target equipment and / or target channel, so that when the defective rate is greater than a preset value, generate early warning information based on the second test data and send it to the user end.
[0021] In the above technical solution, by regularly conducting early warning analysis on the second test data, the system can monitor the performance status of the target production line, product, equipment or channel in real time and detect abnormal situations in time; the early warning analysis can calculate the defect rate in time and trigger an early warning when the defect rate exceeds the preset value, which helps the company to respond quickly, control product quality, and prevent defective products from entering the market; through timely early warning and feedback, the production line can be adjusted quickly to reduce unnecessary waste and downtime, thereby improving overall production efficiency.
[0022] Based on the same concept, the present application also provides a test data storage system, including: The initial storage module is used to obtain target data and store the target data in the first storage area and the second storage area at the same time.
[0023] The uploading module is used to perform a first analysis and extraction on the target data in the first storage area at a first preset time interval to obtain first test data, and upload the first test data to the first receiving platform.
[0024] The target storage module is used to perform a second analysis and extraction on the first test data to obtain second test data in a preset format, and upload the second test data to a second receiving platform.
[0025] The checking module is used to judge whether there is target data in the first storage area in the previous cycle that has not been uploaded to the second receiving platform based on the second storage area and with a second preset time as a period. If so, the corresponding target data in the second storage area that has not been uploaded to the second receiving platform is extracted, and a first parsing extraction is performed and returned to the initial storage module; otherwise, real-time test data is obtained as target data and returned to the initial storage module.
[0026] In the above technical solution, the test data is stored in the relevant receiving platform based on the preset format, which effectively solves the risk of direct upload data loss due to network or server problems; at the same time, the test data is stored in a unified location, providing necessary data support for background data analysis; in addition, the data upload status is checked regularly to ensure that all data can be uploaded and processed in time, thereby improving the controllability and stability of the system.
[0027] Furthermore, the initial storage module is also used to store the target data in a third storage area at the same time to perform backup storage on the target data.
[0028] The uploading module is further used to determine whether the first test data is successfully uploaded to the first receiving platform. If the upload is successful, the first test data is deleted; otherwise, the first test data continues to be retained in the first storage area.
[0029] The target storage module is further used to simultaneously perform a third analysis and extraction on the first test data to obtain third test data, and store the third test data in the test data table.
[0030] In the above technical solution, storing the target data in the third storage area at the same time provides additional data backup, further prevents the risks caused by data loss or damage, and improves data security; by judging whether the first test data is successfully uploaded to the first receiving platform and deleting the data after the upload is successful, it is ensured that unnecessary data will not accumulate in the system, thereby optimizing the use of storage space; if the data upload fails, the system will continue to retain the first test data in the first storage area to avoid data loss due to upload problems, thereby ensuring data integrity.
[0031] Furthermore, the system also includes: An early warning module is used to perform early warning analysis on the second test data in the test data table with a fifth preset time as a period to obtain the defective rate of the target production line, target product, target equipment and / or target channel, so as to generate early warning information based on the second test data when the defective rate is greater than a preset value, and send it to the user end.
[0032] In the above technical solution, by regularly conducting early warning analysis on the second test data, the system can monitor the performance status of the target production line, product, equipment or channel in real time and detect abnormal situations in time; the early warning analysis accurately calculates the defective rate and triggers an early warning when the defective rate exceeds the preset value, helping enterprises to respond quickly, control product quality, and avoid defective products from entering the market; timely early warning and feedback enable the production line to be adjusted quickly, reducing waste and downtime, thereby effectively improving overall production efficiency and product quality management level.
[0033] Based on the same concept, the present application also provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the test data storage method when running.
[0034] Compared with the prior art, the beneficial effects of this application are: The present application first stores the acquired target data in a first storage area and a second storage area at the same time; then performs a first analysis and extraction on the target data in the first storage area at a first preset time interval to obtain first test data, and uploads it to a first receiving platform; further performs a second analysis and extraction on the first test data to obtain second test data in a preset format, and uploads it to a second receiving platform; in addition, it also includes when it is detected that there is unuploaded data in the first storage area, extracting it from the second storage area and re-uploading it to the second receiving platform according to the previous steps; otherwise, obtaining real-time test data for storage.
[0035] This application stores test data in a preset format to a related receiving platform, which can solve the problem of data information loss caused by direct data upload due to network factors or server and client factors; at the same time, test data is aggregated and integrated into a unified storage, providing data support for background data analysis; in addition, data upload status is periodically checked to ensure that all data can be uploaded and processed in a timely manner, thereby enhancing the controllability and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a flow chart of the test data storage method described in this application.
[0037] Figure 2 To adopt Figure 1 System framework diagram of the test data storage method. DETAILED DESCRIPTION
[0038] A test data storage method, system and storage medium of the present application are further described in detail below in conjunction with specific embodiments and drawings. Embodiment 1:
[0039] See also Figure 1The present application provides a test data storage method, comprising the following steps: S100: Acquire target data, and store the target data in a first storage area and a second storage area simultaneously.
[0040] Furthermore, the step S100 also includes: storing the target data in a third storage area at the same time to perform backup storage on the target data.
[0041] In this embodiment, taking the data records generated by the product manufacturing process as an example, the client local path is divided into two levels, one is the direct path storage area (i.e. the first storage area, which can be a temporary Json storage area), and the other is the path storage area named according to the date name under the specified path (i.e. the third storage area, which usually plays the role of direct backup data).
[0042] While giving priority to local storage, the current target data (such as product test data) will also be independently uploaded to a temporary data table (i.e., the second storage area) in the database (such as the packaging code scanning database); since the packaging code scanning database is used for the shipping station to intercept and identify whether the product has a manufacturing process, the data in the temporary data table can be used as the standard data source for product shipments.
[0043] In the above technical solution, the third storage area plays the role of backup data. This redundant storage solution improves the security and reliability of data and can still ensure the integrity and accessibility of data even if a storage area fails.
[0044] S200: performing a first analysis and extraction on the target data in the first storage area at first preset time intervals to obtain first test data, and uploading the first test data to a first receiving platform.
[0045] Furthermore, the step S200 further includes: It is determined whether the first test data is successfully uploaded to the first receiving platform. If the upload is successful, the first test data is deleted; otherwise, the first test data continues to be retained in the first storage area.
[0046] In this embodiment, after the target data is stored locally, the client software background periodically drives the retrieval of the number of files under the temporary Json storage area path, starts the data traversal in the background thread and performs parsing and extraction of the JSON data format (i.e., the first parsing and extraction), obtains the first test data according to the HTTP POST method of the WEBAPI protocol, and uploads it to the "test data receiving platform" interface of the service layer (i.e., the first receiving platform). If the upload is successful, the currently uploaded parsed and extracted file is deleted; if it is unsuccessful, the current file is retained.
[0047] In the above technical solution, by judging whether the upload is successful or not, the first test data that has been successfully uploaded is deleted in time, thereby reducing data redundancy in the first storage area and optimizing the utilization of storage space; regularly cleaning up the uploaded data can reduce the system load, improve the efficiency of data processing and uploading, and reduce unnecessary storage consumption; timely deletion of uploaded data helps to protect the confidentiality and security of the data and avoid the risk of unauthorized access or leakage.
[0048] S300: Perform a second analysis and extraction on the first test data to obtain second test data in a preset format, and upload the second test data to a second receiving platform.
[0049] Furthermore, while executing step S300, the following steps are also included: Perform a third analysis and extraction on the first test data to obtain third test data, and store the third test data in the test data table.
[0050] Furthermore, the step S300 further includes: The category of the third test data is determined.
[0051] If the third test data is of the first category, the third test data is stored in a first folder, and a second analysis and extraction is performed on the third test data in the first folder at a third preset time period to obtain final test data and upload it to the second receiving platform.
[0052] If the third test data is of the second category, the third test data is stored in a second folder, and a second analysis and extraction is performed on the third test data in the second folder at a fourth preset time period to obtain final test data and upload it to the second receiving platform.
[0053] In this embodiment, after the data information carrier is uploaded to the service layer and received by the "test data receiving platform" interface, the data information carrier is deserialized, parsed and extracted in JSON format (third parsing and extraction) to obtain the third test data and store it in the data table of the test database built by itself (i.e., the test data table), and the data information carrier is parsed and extracted (i.e., second parsing and extraction) to obtain the second test data, and the files in JSON format are generated and stored in different paths according to the JSON serialization technology.
[0054] For example, product data information carriers that require chip "UID reading" are stored in the itjsonUID folder (i.e. the first folder), and product data information carriers that do not require "UID reading" are stored in the itjson folder (i.e. the second folder). The main purpose is to allow subsequent data information to be uploaded to the customer service interface (i.e. the second receiving platform) in accordance with the WEBAPI protocol.
[0055] Among them, products that do not require "UID reading" will start the console program in the background to perform a loop traversal search under the itjson folder path, extract relevant information based on the deserialization analysis of the JSON format, and upload this information carrier twice to the customer service interface at a time interval of 7 minutes (i.e. the fourth preset time); products that require chip "UID reading" will start the console program in the background to perform a loop traversal search under the itjsonUID folder path, extract relevant information based on the deserialization analysis of the JSON format, and upload this information carrier twice to the customer service interface at a time interval of 8 hours (i.e. the third preset time).
[0056] It should be noted that the preset time mentioned above can be adjusted according to actual application requirements and is not limited thereto.
[0057] In the above technical solution, according to the category of the third test data, the data is stored in the first folder and the second folder respectively, and parsed and extracted according to different cycles to achieve refined management of data of different categories; processing data of different categories separately can optimize scheduling tasks, reduce concurrent conflicts in data processing, and improve overall processing efficiency.
[0058] In addition, the folders are classified and backed up in the specified path folder of the server in the format of generated json files, so as to prepare for secondary network transmission to the service interface of downstream enterprise customers.
[0059] Furthermore, the step S300 further includes: Perform early warning analysis on the second test data in the test data table with the fifth preset time as a period to obtain the defective rate of the target production line, target product, target equipment and / or target channel, so that when the defective rate is greater than a preset value, generate early warning information based on the second test data and send it to the user end.
[0060] In this embodiment, the server backend collects test data of mass-produced products at a time interval of 1 hour (i.e., the fifth preset time), and then performs data analysis to screen out test failure warnings for a certain production line, a certain product, a certain device, and a certain channel. If the channel failure rate exceeds 25%, a warning WeChat message is pushed to the personal mobile terminal.
[0061] In addition, the second test data is obtained mainly using SQL server related technologies, fast storage, index positioning query comparison, to achieve data correlation analysis, push warning prevention, etc.
[0062] In the above technical solution, by regularly conducting early warning analysis on the second test data, the system can monitor the performance status of the target production line, product, equipment or channel in real time and detect abnormal situations in time; the early warning analysis can calculate the defect rate in time and trigger an early warning when the defect rate exceeds the preset value, which helps the company to respond quickly, control product quality, and prevent defective products from entering the market; through timely early warning and feedback, the production line can be adjusted quickly to reduce unnecessary waste and downtime, thereby improving overall production efficiency.
[0063] S400: Based on the second storage area and with a second preset time as a period, determine whether there is target data in the first storage area in the previous period that has not been uploaded to the second receiving platform. If so, extract the corresponding target data in the second storage area that has not been uploaded to the second receiving platform, perform a first analysis and extraction, and return to step S100; otherwise, obtain real-time test data as target data and return to step S100.
[0064] In this embodiment, the "package code scanning database is used as the standard data source for product shipments", and a "data automatic completion APP" is developed and compiled to review the test data of all shipped products manufactured yesterday on a daily basis (i.e., the second preset time). Based on the upload flag bit in the data table being false, it is detected whether there is any test data that is missed from uploading to the IT service layer (customer service interface). If so, the driver automatically parses and extracts the JSON text carrier content bundled with the current data record, and generates a corresponding json file under the local path of the server. Referring to the above-mentioned client device software background driver parsing and uploading to the service layer interface of the "test data receiving platform", it is finally transferred and uploaded to the IT service layer (customer service interface) to form the integrity of the test data output of the shipped products, forming a closed loop. That is, when it is detected that there is unuploaded data in the first storage area, the corresponding unuploaded target data are directly extracted from the second storage area, and the first parsing and extraction are performed on the unuploaded target data, so that the target data after the first parsing and extraction at this time continues to execute steps S100-S300 according to the above technical solution to complete the data and prevent data generation overflow and loss caused by massive data generation, too much test project information, or low computer configuration and poor performance. Embodiment 2:
[0065] See also Figure 2 , the present application also provides a test data storage system, comprising: The initial storage module is used to obtain target data and store the target data in the first storage area and the second storage area at the same time.
[0066] The uploading module is used to perform a first analysis and extraction on the target data in the first storage area at a first preset time interval to obtain first test data, and upload the first test data to the first receiving platform.
[0067] The target storage module is used to perform a second analysis and extraction on the first test data to obtain second test data in a preset format, and upload the second test data to a second receiving platform.
[0068] The checking module is used to judge whether there is target data in the first storage area in the previous cycle that has not been uploaded to the second receiving platform based on the second storage area and with a second preset time as a period. If so, the corresponding target data in the second storage area that has not been uploaded to the second receiving platform is extracted, and a first parsing extraction is performed and returned to the initial storage module; otherwise, real-time test data is obtained as target data and returned to the initial storage module.
[0069] In the above technical solution, the test data is stored in the relevant receiving platform based on the preset format, which effectively solves the risk of direct upload data loss due to network or server problems; at the same time, the test data is stored in a unified location, providing necessary data support for background data analysis; in addition, the data upload status is checked regularly to ensure that all data can be uploaded and processed in time, thereby improving the controllability and stability of the system.
[0070] Furthermore, the initial storage module is also used to store the target data in a third storage area at the same time to perform backup storage on the target data.
[0071] The uploading module is further used to determine whether the first test data is successfully uploaded to the first receiving platform. If the upload is successful, the first test data is deleted; otherwise, the first test data continues to be retained in the first storage area.
[0072] The target storage module is further used to simultaneously perform a third analysis and extraction on the first test data to obtain third test data, and store the third test data in the test data table.
[0073] In the above technical solution, storing the target data in the third storage area at the same time provides additional data backup, further prevents the risks caused by data loss or damage, and improves data security; by judging whether the first test data is successfully uploaded to the first receiving platform and deleting the data after the upload is successful, it is ensured that unnecessary data will not accumulate in the system, thereby optimizing the use of storage space; if the data upload fails, the system will continue to retain the first test data in the first storage area to avoid data loss due to upload problems, thereby ensuring data integrity.
[0074] Furthermore, the system also includes: An early warning module is used to perform early warning analysis on the second test data in the test data table with a fifth preset time as a period to obtain the defective rate of the target production line, target product, target equipment and / or target channel, so as to generate early warning information based on the second test data when the defective rate is greater than a preset value, and send it to the user end.
[0075] In the above technical solution, by regularly conducting early warning analysis on the second test data, the system can monitor the performance status of the target production line, product, equipment or channel in real time and detect abnormal situations in time; the early warning analysis accurately calculates the defective rate and triggers an early warning when the defective rate exceeds the preset value, helping enterprises to respond quickly, control product quality, and avoid defective products from entering the market; timely early warning and feedback enable the production line to be adjusted quickly, reducing waste and downtime, thereby effectively improving overall production efficiency and product quality management level. Embodiment three:
[0076] The present application also provides a storage medium, in which a computer program is stored, wherein the computer program is configured to execute the test data storage method when running.
[0077] In summary, the present application provides a test data storage method, system and storage medium; first, the acquired target data is stored in a first storage area and a second storage area at the same time; then, the first test data is acquired based on the target data in the first storage area, and uploaded to the first receiving platform; then, the second test data in a preset format is acquired based on the first test data, and uploaded to the second receiving platform; in addition, when it is detected that there is unuploaded data in the first storage area, it is extracted from the second storage area and re-uploaded to the second receiving platform according to the previous steps; otherwise, real-time test data is acquired for storage. The present application can solve the problem of data information loss caused by direct connection of data upload due to network factors or server and client factors; at the same time, the test data is aggregated and integrated into a unified storage, which provides data support for background data analysis; in addition, the data upload status is periodically checked to ensure that all data can be uploaded and processed in time.
[0078] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present application to this. Those of ordinary skill in the art may make various changes and modifications therein without departing from the scope and spirit of the present application. All these changes and modifications are intended to be included within the scope of the present application as required by the appended claims.
[0079] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0080] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0081] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some modules according to the embodiments of the present application. The application can also be implemented as a device program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0082] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0083] Although the description of the present application is carried out in conjunction with the above specific embodiments, it is obvious that those skilled in the art can make many substitutions, modifications and changes based on the above content. Therefore, all such substitutions, improvements and changes are included in the spirit and scope of the appended claims.
Claims
1. A test data storage method, characterized in that: The following steps are involved: S100: Acquire target data, and store the target data in a first storage area and a second storage area at the same time; S200: performing a first analysis and extraction on the target data in the first storage area at a first preset time interval to obtain first test data, and uploading the first test data to a first receiving platform; S300: performing a second analysis and extraction on the first test data to obtain second test data in a preset format, and uploading the second test data to a second receiving platform; S400: Based on the second storage area and with a second preset time as a period, determine whether there is target data in the first storage area in the previous period that has not been uploaded to the second receiving platform. If so, extract the corresponding target data in the second storage area that has not been uploaded to the second receiving platform, perform a first analysis and extraction, and return to step S100; otherwise, obtain real-time test data as target data and return to step S100.
2. The test data storage method according to claim 1, characterized in that: The step S100 further includes: storing the target data in a third storage area at the same time to perform backup storage on the target data.
3. The test data storage method according to claim 1, characterized in that: The step S200 further includes: It is determined whether the first test data is successfully uploaded to the first receiving platform. If the upload is successful, the first test data is deleted; otherwise, the first test data continues to be retained in the first storage area.
4. The test data storage method according to claim 1, characterized in that: While executing step S300, the following steps are also included: Perform a third analysis and extraction on the first test data to obtain third test data, and store the third test data in the test data table.
5. The test data storage method according to claim 1, characterized in that: The step S300 further includes: Determining the category of the third test data; If the third test data is of the first category, the third test data is stored in the first folder, and the third test data in the first folder is subjected to a second analysis and extraction at a third preset time period to obtain final test data and upload it to the second receiving platform; If the third test data is of the second category, the third test data is stored in a second folder, and a second analysis and extraction is performed on the third test data in the second folder at a fourth preset time period to obtain final test data and upload it to the second receiving platform.
6. The test data storage method according to claim 1, characterized in that: The step S300 further includes: Perform early warning analysis on the second test data in the test data table with the fifth preset time as a period to obtain the defective rate of the target production line, target product, target equipment and / or target channel, so that when the defective rate is greater than a preset value, generate early warning information based on the second test data and send it to the user end.
7. A system using the test data storage method according to any one of claims 1 to 6, characterized in that: include: An initial storage module, used for acquiring target data and storing the target data in a first storage area and a second storage area at the same time; An uploading module, used for performing a first analysis and extraction on the target data in the first storage area at a first preset time interval to obtain first test data, and uploading the first test data to a first receiving platform; A target storage module, used for performing a second analysis and extraction on the first test data to obtain second test data in a preset format, and uploading the second test data to a second receiving platform; A checking module is used to determine whether there is target data in the first storage area in the previous period that has not been uploaded to the second receiving platform based on the second storage area and with a second preset time as a period, and if so, extract the corresponding target data in the second storage area that has not been uploaded to the second receiving platform, perform a first analysis and extraction, and return it to the initial storage module; Otherwise, the real-time test data is acquired as the target data and returned to the initial storage module.
8. The system according to claim 7, characterized in that The initial storage module is further used to store the target data in a third storage area at the same time, so as to perform backup storage on the target data; The uploading module is further used to determine whether the first test data is successfully uploaded to the first receiving platform, and if the upload is successful, delete the first test data; otherwise, keep the first test data in the first storage area; The target storage module is further used to simultaneously perform a third analysis and extraction on the first test data to obtain third test data, and store the third test data in the test data table.
9. The system according to claim 7, characterized in that The system further comprises: An early warning module is used to perform early warning analysis on the second test data in the test data table with a fifth preset time as a period to obtain the defective rate of the target production line, target product, target equipment and / or target channel, so as to generate early warning information based on the second test data when the defective rate is greater than a preset value, and send it to the user end.
10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the test data storage method according to any one of claims 1 to 6 when running.
