CN112463622B - Modularized testing and data analysis method and device - Google Patents

Modularized testing and data analysis method and device Download PDF

Info

Publication number
CN112463622B
CN112463622B CN202011416885.5A CN202011416885A CN112463622B CN 112463622 B CN112463622 B CN 112463622B CN 202011416885 A CN202011416885 A CN 202011416885A CN 112463622 B CN112463622 B CN 112463622B
Authority
CN
China
Prior art keywords
test
data
cloud server
software
test equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011416885.5A
Other languages
Chinese (zh)
Other versions
CN112463622A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202011416885.5A priority Critical patent/CN112463622B/en
Publication of CN112463622A publication Critical patent/CN112463622A/en
Application granted granted Critical
Publication of CN112463622B publication Critical patent/CN112463622B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a modularized testing and data analysis method and a device, wherein the method comprises the following steps: establishing a network environment and a cloud server between a main service end and an outsourcing end, establishing a cloud database in the cloud server, establishing a corresponding relation between test equipment of a bus to be tested and test software, and encrypting the test equipment after the test equipment is stored in the cloud database; the method comprises the steps that the outsourcing end selects test equipment according to a bus to be tested, installs test software, verifies the legality of the equipment to be tested and the test software through a cloud end database, automatically downloads a configuration file from a cloud server after the legality of the equipment to be tested and the test software passes, and initializes the test equipment; the method comprises the steps that a hardware environment is built at an outsourcing end, test software of test equipment is started to capture waveforms, format conversion and encryption are carried out on waveform data, test data are generated and uploaded to a cloud server; and the cloud server decrypts the test data, obtains waveform data through format conversion and analyzes the data.

Description

Modularized testing and data analysis method and device
Technical Field
The invention belongs to the technical field of cloud testing, and particularly relates to a modularized testing and data analyzing method and device.
Background
With the development of cloud computing applications, various fields of society gradually enter the information and digital age. Outsourcing business is a product of an industrial process, and enters the era of digital economy because networks are close to each other in space-time distance, the business form is increasingly prosperous, companies mastering key core technologies can realize strategic focusing through the form and consolidate the competitive advantages of the companies, and enterprises with single business can continuously improve the production efficiency and marginal profit through large-scale production. Strategic focus, size benefit, marginal gain are the logic we need to understand behind outsourcing business.
Any kind of industries have huge industry heads, and have very fine industrial chain division, such as cloud service, live broadcast service and mall service which are specially provided for a basic platform; content teaching and research and video production service are specially provided; specially providing drainage and customer service; there are also many traditional third party services. The rise of these outsourcing enterprises greatly improves the transmission of messages and secrets between enterprises, and increases the demand for information security to a certain extent.
With the increasingly higher refinement degree of the industry, companies mastering core technologies often hand large-scale industrial subchains to outsourcing enterprises for production and manufacturing in order to better realize self strategic deployment. The outsourcing of signal verification in the server is taken as an example for explanation, in the conventional cooperation process, outsourcing manufacturers can test conventional signals based on the requirements of customers, test data and test reports can be returned to the customers after the test is finished, and tools such as mails and network disks are often interacted only by means of manual actions in the whole message transmission process. However, the test method, data and information part of the outsourcing enterprise can not be completely transparent, which means that data false and information transmission error exist between information interaction, and when the number of outsourcing companies is more and more, the companies need to provide more manpower and capital investment for management.
The description is given by taking a PCIE test as an example, the standard PCIE test consists of three parts, and the hardware environment is established; grabbing a waveform by an oscilloscope; the software analyzes the waveform to draw conclusions. The outsourcing company personnel heavily participate in the data capture data analysis of the process, and then the test data and conclusion mails or other communication means are transmitted.
Generally, there are many uncertainties in the overall process. Uncertain factor 1: the oscilloscope operation performed by outsourcing testers cannot be reflected in the test report, which causes the reliability problem of waveform grabbing. Uncertainty factor 2: software used by outsourcing personnel for analyzing waveforms belongs to standard software published by the association, but because the software version is frequently published and belongs to an open source situation, software configuration files can be manually tampered, and data analysis accuracy and safety are reduced. The two uncertain factors are mainly caused by the fact that the whole testing process is completed locally, a company cannot audit an outsourcing company in real time, research and development personnel directly misjudge the quality of a corresponding link of a server, and secondary development of a product is caused to influence the development progress of the product. To improve the situation, some companies may adopt personnel to go to the outsourcing company for resident residence so as to reduce the influence of the problems, but indirectly increase the operation cost of the company.
This is a disadvantage of the prior art, and therefore, it is necessary to provide a modular testing and data analysis method and apparatus for the above-mentioned disadvantages of the prior art.
Disclosure of Invention
Aiming at the defects that the whole testing process in the prior art is completely finished locally, and real-time audit is lacked, which directly leads to the misjudgment of the quality of the corresponding link of the server by research and development personnel, the invention provides a modularized testing and data analyzing method and a modularized testing and data analyzing device, so as to solve the technical problems.
In a first aspect, the present invention provides a modular test and data analysis method, comprising the steps of:
s1, establishing a network environment and a cloud server between a main service end and an outsourcing end, establishing a cloud database in the cloud server, establishing a corresponding relation between test equipment of a bus to be tested and test software, and encrypting the test equipment after the test equipment is stored in the cloud database;
s2, the outsourcing end selects test equipment according to the bus to be tested, installs test software, verifies the legality of the equipment to be tested and the test software through the cloud end database, automatically downloads a configuration file from the cloud server after the legality of the equipment to be tested and the test software passes, and initializes the test equipment;
s3, building a hardware environment at the outsourcing end, starting test software of the test equipment to capture waveforms, performing format conversion and encryption on the waveform data, generating test data, and uploading the test data to a cloud server;
and S4, the cloud server decrypts the test data, obtains waveform data through format conversion, and analyzes the data.
Further, the step S1 specifically includes the following steps:
s11, establishing a public network or private network environment between a main service end and an outsourcing end, and establishing a cloud server;
s12, creating a cloud database;
s13, obtaining test equipment and corresponding test software of the bus to be tested, establishing a relation table of the test equipment and the corresponding test software according to the unique identification of the test equipment, and storing the relation table in a cloud database;
s14, encrypting the cloud database, and setting an administrator interface.
Further, the step S2 specifically includes the following steps:
s21, the outsourcing terminal selects test equipment according to a bus to be tested, installs test software, collects unique marks of the test equipment and the test software, and uploads the unique marks to a cloud server;
s22, the cloud server matches the uploaded test equipment and the unique test software identification with a cloud database, and judges whether the test equipment and the unique test software identification are legal or not;
if yes, go to step S23;
s23, the cloud server performs security check on the test equipment;
s24, the cloud server returns configuration files corresponding to the test equipment and the test software to the outsourcing end;
and S25, automatically downloading the configuration file by the outsourcing end, and initializing the testing equipment.
Further, in step S22, when the uploaded unique identifier of the test device and the test software is not matched with the cloud database, determining whether the unique identifier of the test device on the upper layer is a test device that does not exist in the cloud database;
if yes, prompting a cloud database administrator whether to add the test equipment;
if not, prompting that the test software is not matched and returning the test software to the outsourcing end.
Further, step S24 is preceded by the following steps
S24A, the cloud server judges whether a manual configuration mode is started or not according to the equipment aging degree during testing;
if so, the outsourcing end starts a manual configuration mode and records the manual configuration operation process to the cloud server;
if not, the process proceeds to step S24.
Further, the step S3 specifically includes the following steps:
s31, building a hardware environment by the outsourcing end, and uploading a test environment picture to a cloud server for confirmation after the building is completed;
s32, starting test equipment, carrying out waveform grabbing by test software, and naming waveforms according to a preset rule;
s33, identifying BIN data from the captured waveform data through data identification equipment, and performing format conversion to generate binary data;
s34, encoding and encrypting the binary data to generate test data;
and S35, the outsourcing end calls an API (application programming interface) to upload test data to the cloud server through a manual mode or an automatic mode.
Further, the step S4 specifically includes the following steps:
s41, the cloud server decrypts and decodes the received test data to obtain a binary file;
s42, converting the binary file into waveform data by the cloud server and providing the waveform data to analysis software;
and S43, the cloud server provides analysis software for analyzing the waveform data according to the naming rule of the waveform data, and data backup is carried out.
In a second aspect, the present invention provides a modular test and data analysis implementation apparatus, including:
the cloud database establishing module is used for establishing a network environment and a cloud server between the main service end and the outsourcing end, establishing a cloud database in the cloud server, establishing a corresponding relation between test equipment of a bus to be tested and test software, and storing the corresponding relation into the cloud database for encryption;
the test equipment verification and initialization module is used for setting the outsourcing end to select test equipment according to the bus to be tested, installing test software, verifying the legality of the equipment to be tested and the test software through the cloud end database, automatically downloading a configuration file from the cloud server after the legality verification of the equipment to be tested and the test software is passed, and initializing the test equipment;
the test and data uploading module is used for setting an outsourcing end to build a hardware environment, starting test software of the test equipment to capture waveforms, performing format conversion and encryption on the waveform data, generating test data and uploading the test data to the cloud server;
and the data analysis module is used for setting a cloud server to decrypt the test data, obtaining waveform data through format conversion and analyzing the data.
Further, the cloud database establishment module comprises:
the cloud server establishing unit is used for establishing a public network or private network environment between the main service end and the outsourcing end and establishing a cloud server;
the cloud database creating unit is used for creating a cloud database;
the data storage unit is used for acquiring test equipment and corresponding test software of the bus to be tested, establishing a relation table of the test equipment and the corresponding test software according to the unique identifier of the test equipment, and storing the relation table in the cloud database;
the database encryption unit is used for encrypting the cloud database and setting an administrator interface;
the test equipment verification and initialization module comprises:
the test equipment data acquisition unit is used for setting an outsourcing end to select test equipment according to a bus to be tested, installing test software, acquiring unique marks of the test equipment and the test software, and uploading the unique marks to the cloud server;
the test equipment verification unit is used for setting the cloud server to match the uploaded test equipment and the unique test software identification with the cloud database and judge whether the test equipment and the unique test software identification are legal or not;
the test equipment security detection unit is used for setting the cloud server to carry out security check on the test equipment when the unique identifier of the test equipment and the test software is legally matched with the cloud database;
the configuration file returning unit is used for setting the cloud server to return the configuration file corresponding to the test equipment and the test software to the outsourcing end;
and the test equipment initialization unit is used for setting the automatic downloading configuration file of the outsourcing end and initializing the test equipment.
Further, the test and data upload module comprises:
the test environment establishing unit is used for establishing a hardware environment at the external terminal and transmitting the established test environment picture to the cloud server for confirmation;
the waveform grabbing unit is used for starting the test equipment, carrying out waveform grabbing by test software and naming waveforms according to a preset rule;
the data conversion unit is used for identifying BIN data from the captured waveform data through data identification equipment and then performing format conversion to generate binary data;
the data coding and encrypting unit is used for coding and encrypting the binary data to generate test data;
the test data uploading unit is used for setting the outsourcing end to call the API interface through a manual mode or an automatic mode to upload the test data to the cloud server;
the data analysis module comprises:
the data decryption and decoding unit is used for decrypting and decoding the received test data by the cloud server to obtain a binary file;
the data reconversion unit is used for setting the cloud server to convert the binary file into waveform data and providing the waveform data to the analysis software;
and the data analysis unit is used for setting the cloud server to provide analysis software for analyzing the waveform data according to the naming rule of the waveform data and performing data backup.
The beneficial effect of the invention is that,
the modularized testing and data analyzing method and device provided by the invention are based on the cloud technology, the real-time monitoring of the outsourcing end testing is realized, the testing is cloud-ended, the data processing is completed by placing the data processing on the cloud server, the situation that a user tampers with software and data locally at the outsourcing end can be avoided, and the problem of testing a black box is solved; in addition, the data acquisition and uploading of the local equipment of the external package end are simply completed, data analysis is performed by using cloud software, the whole test efficiency is greatly improved, clear and definite flow is realized, and convenience is provided for later maintenance.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a first schematic flow diagram of the method of the present invention;
FIG. 2 is a second schematic flow chart of the method of the present invention;
FIG. 3 is a schematic diagram of the system of the present invention;
in the figure, 1-a cloud database establishment module; 1.1-cloud server establishing unit; 1.2-cloud database creating unit; 1.3-a data storage unit; 1.4-database encryption unit; 2-test equipment verification and initialization module; 2.1-test equipment data acquisition unit; 2.2-test device verification unit; 2.3-testing the equipment safety detection unit; 2.4-configuration file return unit; 2.5-test equipment initialization unit; 3-a test and data uploading module; 3.1-a test environment building unit; 3.2-waveform grabbing unit; 3.3-a data conversion unit; 3.4-data encoding and encryption unit; 3.5-a test data uploading unit; 4-a data analysis module; 4.1-data decryption and decoding unit; 4.2-data reconversion unit; 4.3-data analysis Unit.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
Example 1:
as shown in FIG. 1, the present invention provides a modular test and data analysis method, comprising the steps of:
s1, establishing a network environment and a cloud server between a main service end and an outsourcing end, establishing a cloud database in the cloud server, establishing a corresponding relation between test equipment of a bus to be tested and test software, and encrypting the test equipment after the test equipment is stored in the cloud database;
s2, the outsourcing terminal selects test equipment according to the bus to be tested, installs test software, verifies the legality of the equipment to be tested and the test software through the cloud terminal database, automatically downloads a configuration file from the cloud server after the legality of the equipment to be tested and the test software passes verification, and initializes the test equipment;
s3, the external wrapping end builds a hardware environment, testing software of the testing equipment is started to capture waveforms, format conversion and encryption are carried out on the waveform data, and then testing data are generated and uploaded to a cloud server;
and S4, the cloud server decrypts the test data, obtains waveform data through format conversion, and analyzes the data.
Example 2:
as shown in FIG. 2, the present invention provides a modular test and data analysis method, comprising the steps of:
s1, establishing a network environment and a cloud server between a main service end and an outsourcing end, establishing a cloud database in the cloud server, establishing a corresponding relation between test equipment of a bus to be tested and test software, and encrypting the test equipment after the test equipment is stored in the cloud database; the method comprises the following specific steps:
s11, establishing a public network or private network environment between a main service end and an outsourcing end, and establishing a cloud server;
s12, creating a cloud database;
s13, obtaining test equipment and corresponding test software of the bus to be tested, establishing a relation table of the test equipment and the corresponding test software according to the unique identification of the test equipment, and storing the relation table in a cloud database; the unique identifier of the test equipment adopts a local MAC, and the test software adopts a software name as the unique identifier; taking PCIE devices as an example, the test device 1, the test software 1, the device 2, the device 3, and the test device 3 at the wrapper end all have test conditions, and are expressed in the following form:
PCIE ═ device 1: software 1, software 4, device 2: software 2, device 3: software 3}
The dictionary and the naming rule are named through a rule based on the dictionary in Python language;
s14, encrypting the cloud database, and setting an administrator interface;
s2, the outsourcing end selects test equipment according to the bus to be tested, installs test software, verifies the legality of the equipment to be tested and the test software through the cloud end database, automatically downloads a configuration file from the cloud server after the legality of the equipment to be tested and the test software passes, and initializes the test equipment; the method comprises the following specific steps:
s21, the outsourcing terminal selects test equipment according to a bus to be tested, installs test software, collects unique marks of the test equipment and the test software, and uploads the unique marks to a cloud server;
s22, the cloud server matches the uploaded test equipment and the unique test software identification with a cloud database, and judges whether the test equipment and the unique test software identification are legal or not;
if yes, go to step S23;
s23, the cloud server performs security check on the test equipment; for example, the cloud server automatically sends a virus detection program to realize the safety check of legal test equipment;
s24, the cloud server returns configuration files corresponding to the test equipment and the test software to the outsourcing end;
s25, the outsourcing end automatically downloads the configuration file and initializes the test equipment;
s3, building a hardware environment at the outsourcing end, starting test software of the test equipment to capture waveforms, performing format conversion and encryption on the waveform data, generating test data, and uploading the test data to a cloud server; the method comprises the following specific steps:
s31, building a hardware environment by the outsourcing end, and uploading a test environment picture to a cloud server for confirmation after the building is completed;
s32, starting test equipment, carrying out waveform grabbing by test software, and naming waveforms according to a preset rule; for example, a PCIE test captures a data waveform and a clock waveform, and names the data waveform and the clock waveform respectively;
s33, identifying BIN data from the captured waveform data through data identification equipment, and performing format conversion to generate binary data;
s34, encoding and encrypting the binary data to generate test data; the encryption strategy can be carried out by carrying out exclusive OR according to bits or other logic operations;
s35, the outsourcing end calls an API (application programming interface) to upload test data to a cloud server through a manual mode or an automatic mode;
s4, the cloud server decrypts the test data, obtains waveform data through format conversion, and analyzes the data; the method comprises the following specific steps:
s41, the cloud server decrypts and decodes the received test data to obtain a binary file; the decryption logic and the encryption logic are in one-to-one correspondence;
s42, converting the binary file into waveform data by the cloud server and providing the waveform data to analysis software;
and S43, the cloud server provides analysis software for analyzing the waveform data according to the naming rule of the waveform data, and data backup is carried out.
In some embodiments, in step S22, when the uploaded unique identifier of the test device and the test software is not matched with the cloud database, it is determined whether the unique identifier of the test device on the upper layer does not exist in the cloud database;
if yes, prompting a cloud database administrator whether to add the test equipment;
if not, the test software is prompted to be unmatched and returned to the outsourcing end.
In some embodiments, step S24 is preceded by the following step
S24A, the cloud server judges whether a manual configuration mode is started or not according to the equipment aging degree during testing;
if so, the outsourcing end starts a manual configuration mode and records the manual configuration operation process to the cloud server; to track the effects of subsequent operations;
if not, the process proceeds to step S24.
Example 3:
as shown in fig. 3, the present invention provides a modular test and data analysis implementation apparatus, including:
the cloud database establishing module 1 is used for establishing a network environment and a cloud server between a main service end and an outsourcing end, establishing a cloud database in the cloud server, establishing a corresponding relation between test equipment of a bus to be tested and test software, and storing the corresponding relation into the cloud database for encryption; the cloud database establishment module 1 includes:
the cloud server establishing unit 1.1 is used for establishing a public network or private network environment between the main service end and the outsourcing end and establishing a cloud server;
the cloud database creating unit 1.2 is used for creating a cloud database;
the data storage unit 1.3 is used for acquiring test equipment and corresponding test software of the bus to be tested, establishing a relation table of the test equipment and the corresponding test software according to the unique identifier of the test equipment, and storing the relation table in a cloud database;
the database encryption unit 1.4 is used for encrypting the cloud database and setting an administrator interface;
the test equipment verification and initialization module 2 is used for setting the outsourcing end to select test equipment according to the bus to be tested, installing test software, verifying the legality of the equipment to be tested and the test software through the cloud end database, automatically downloading a configuration file from the cloud server after the legality verification of the equipment to be tested and the test software is passed, and initializing the test equipment; the test equipment verification and initialization module 2 includes:
the test equipment data acquisition unit 2.1 is used for setting an outsourcing end to select test equipment according to a bus to be tested, installing test software, acquiring unique marks of the test equipment and the test software, and uploading the unique marks to a cloud server;
the test equipment verification unit 2.2 is used for setting the cloud server to match the uploaded test equipment and the unique test software identification with the cloud database and judge whether the test equipment and the unique test software identification are legal or not;
the test equipment security detection unit 2.3 is used for setting the cloud server to carry out security check on the test equipment when the unique identifier of the test equipment and the test software is legally matched with the cloud database;
the configuration file returning unit 2.4 is used for setting the cloud server to return the configuration file corresponding to the test equipment and the test software to the outsourcing end;
the test equipment initialization unit 2.5 is used for setting an automatic download configuration file of the outsourcing end and initializing the test equipment;
the test and data uploading module 3 is used for setting an outsourcing end to build a hardware environment, starting test software of the test equipment to capture waveforms, performing format conversion and encryption on the waveform data, generating test data and uploading the test data to a cloud server; the test and data uploading module 3 comprises:
the test environment construction unit 3.1 is used for constructing a hardware environment by the outsourcing end and transmitting the constructed test environment picture to the cloud server for confirmation;
the waveform grabbing unit 3.2 is used for starting the test equipment, carrying out waveform grabbing by test software and naming the waveforms according to a preset rule;
the data conversion unit 3.3 is used for identifying the BIN data from the captured waveform data through data identification equipment and then performing format conversion to generate binary data;
the data coding and encrypting unit 3.4 is used for coding and encrypting the binary data to generate test data;
the test data uploading unit 3.5 is used for setting the outsourcing end to upload the test data to the cloud server through a manual mode or automatic mode calling API (application programming interface);
the data analysis module 4 is used for setting a cloud server to decrypt the test data, obtaining waveform data through format conversion, and analyzing the data; the data analysis module 4 includes:
the data decryption and decoding unit 4.1 is used for decrypting and decoding the received test data by the cloud server to obtain a binary file;
the data reconversion unit 4.2 is used for setting the cloud server to convert the binary file into waveform data and providing the waveform data to the analysis software;
and the data analysis unit 4.3 is used for setting the cloud server to provide analysis software for analyzing the waveform data according to the naming rule of the waveform data and performing data backup.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (4)

1. A modular test and data analysis method, comprising the steps of:
s1, establishing a network environment and a cloud server between a main service end and an outsourcing end, establishing a cloud database in the cloud server, establishing a corresponding relation between test equipment of a bus to be tested and test software, and encrypting the test equipment after the test equipment is stored in the cloud database; the method comprises the following specific steps:
s11, establishing a public network or private network environment between a main service end and an outsourcing end, and establishing a cloud server;
s12, establishing a cloud database;
s13, obtaining test equipment and corresponding test software of the bus to be tested, establishing a relation table of the test equipment and the corresponding test software according to the unique identification of the test equipment, and storing the relation table in a cloud database;
s14, encrypting the cloud database, and setting an administrator interface;
s2, the outsourcing end selects test equipment according to the bus to be tested, installs test software, verifies the legality of the equipment to be tested and the test software through the cloud end database, automatically downloads a configuration file from the cloud server after the legality of the equipment to be tested and the test software passes, and initializes the test equipment; the method comprises the following specific steps:
s21, the outsourcing terminal selects test equipment according to a bus to be tested, installs test software, collects unique marks of the test equipment and the test software, and uploads the unique marks to a cloud server;
s22, the cloud server matches the uploaded test equipment and the unique test software identification with a cloud database, and judges whether the test equipment and the unique test software identification are legal or not;
if yes, go to step S23;
s23, the cloud server performs security check on the test equipment;
s24, the cloud server returns configuration files corresponding to the test equipment and the test software to the outsourcing end;
s25, the outsourcing end automatically downloads the configuration file and initializes the test equipment; s3, building a hardware environment at the outsourcing end, starting test software of the test equipment to capture waveforms, performing format conversion and encryption on the waveform data, generating test data, and uploading the test data to a cloud server; the method comprises the following specific steps:
s31, building a hardware environment by the outsourcing end, and uploading a test environment picture to a cloud server for confirmation after the building is completed;
s32, starting test equipment, carrying out waveform grabbing by test software, and naming waveforms according to a preset rule;
s33, identifying BIN data from the captured waveform data through data identification equipment, and performing format conversion to generate binary data;
s34, encoding and encrypting the binary data to generate test data;
s35, the outsourcing end calls an API (application programming interface) to upload test data to a cloud server through a manual mode or an automatic mode;
s4, the cloud server decrypts the test data, obtains waveform data through format conversion and analyzes the data; the method comprises the following specific steps:
s41, the cloud server decrypts and decodes the received test data to obtain a binary file;
s42, converting the binary file into waveform data by the cloud server and providing the waveform data to analysis software;
s43, the cloud server provides analysis software for analyzing the waveform data according to the naming rule of the waveform data, and data backup is carried out;
in step S22, when the uploaded test device and the unique test software identifier are not matched with the cloud database, determining whether the unique test device identifier on the upper layer is a test device that does not exist in the cloud database;
if yes, prompting a cloud database administrator whether to add the test equipment;
if not, prompting that the test software is not matched, and returning to the outsourcing end;
step S24 is preceded by the following steps:
S24A, the cloud server judges whether a manual configuration mode is started or not according to the equipment aging degree during testing;
if so, the outsourcing end starts a manual configuration mode and records the manual configuration operation process to the cloud server;
if not, the process proceeds to step S24.
2. A modular test and data analysis implementation apparatus, comprising:
the cloud database establishing module (1) is used for establishing a network environment and a cloud server between the main service end and the outsourcing end, establishing a cloud database in the cloud server, establishing a corresponding relation between test equipment of a bus to be tested and test software, and storing the corresponding relation into the cloud database for encryption; the specific process is as follows:
s11, establishing a public network or private network environment between a main service end and an outsourcing end, and establishing a cloud server;
s12, creating a cloud database;
s13, obtaining test equipment and corresponding test software of the bus to be tested, establishing a relation table of the test equipment and the corresponding test software according to the unique identification of the test equipment, and storing the relation table in a cloud database;
s14, encrypting the cloud database, and setting an administrator interface;
the test equipment verification and initialization module (2) is used for setting the outsourcing end to select test equipment according to the bus to be tested, installing test software, verifying the legality of the equipment to be tested and the test software through the cloud end database, automatically downloading a configuration file from the cloud server after the legality verification of the equipment to be tested and the test software passes, and initializing the test equipment; the specific process is as follows:
s21, the outsourcing terminal selects test equipment according to a bus to be tested, installs test software, collects unique marks of the test equipment and the test software, and uploads the unique marks to a cloud server;
s22, the cloud server matches the uploaded test equipment and the unique test software identification with a cloud database, and judges whether the test equipment and the unique test software identification are legal or not;
if yes, go to step S23;
s23, the cloud server performs security check on the test equipment;
s24, the cloud server returns configuration files corresponding to the test equipment and the test software to the outsourcing end;
s25, the outsourcing end automatically downloads the configuration file and initializes the test equipment;
in step S22, when the uploaded test device and the unique test software identifier are not matched with the cloud database, determining whether the unique test device identifier on the upper layer is a test device that does not exist in the cloud database;
if yes, prompting a cloud database administrator whether to add the test equipment;
if not, prompting that the test software is not matched, and returning to the outsourcing end;
step S24 is preceded by the following steps:
S24A, the cloud server judges whether a manual configuration mode is started or not according to the equipment aging degree during testing;
if so, the outsourcing end starts a manual configuration mode and records the manual configuration operation process to the cloud server;
if not, go to step S24;
the test and data uploading module (3) is used for setting an outsourcing end to build a hardware environment, starting test software of the test equipment to capture waveforms, performing format conversion and encryption on the waveform data, generating test data and uploading the test data to the cloud server; the specific process is as follows:
s31, building a hardware environment by the outsourcing end, and uploading a test environment picture to a cloud server for confirmation after the building is completed;
s32, starting test equipment, carrying out waveform grabbing by test software, and naming waveforms according to a preset rule;
s33, identifying BIN data from the captured waveform data through data identification equipment, and performing format conversion to generate binary data;
s34, encoding and encrypting the binary data to generate test data;
s35, the outsourcing end calls an API (application programming interface) to upload test data to a cloud server through a manual mode or an automatic mode;
the data analysis module (4) is used for setting a cloud server to decrypt the test data, obtaining waveform data through format conversion and analyzing the data; the specific process is as follows:
s41, the cloud server decrypts and decodes the received test data to obtain a binary file;
s42, converting the binary file into waveform data by the cloud server and providing the waveform data to analysis software;
and S43, the cloud server provides analysis software for analyzing the waveform data according to the naming rule of the waveform data, and data backup is carried out.
3. The modular test and data analysis implementation apparatus of claim 2, wherein the cloud database creation module (1) comprises:
the cloud server establishing unit (1.1) is used for establishing a public network or private network environment between the main service end and the outsourcing end and establishing a cloud server;
a cloud database creation unit (1.2) for creating a cloud database;
the data storage unit (1.3) is used for acquiring the test equipment and corresponding test software of the bus to be tested, establishing a relation table of the test equipment and the corresponding test software according to the unique identifier of the test equipment, and storing the relation table in the cloud database;
the database encryption unit (1.4) is used for encrypting the cloud database and setting an administrator interface;
the test equipment verification and initialization module (2) comprises:
the test equipment data acquisition unit (2.1) is used for setting an outsourcing end to select test equipment according to a bus to be tested, installing test software, acquiring unique marks of the test equipment and the test software, and uploading the unique marks to a cloud server;
the test equipment verification unit (2.2) is used for setting the cloud server to match the uploaded test equipment and the unique test software identification with the cloud database and judge whether the test equipment and the unique test software identification are legal or not;
the test equipment security detection unit (2.3) is used for setting the cloud server to carry out security check on the test equipment when the unique identifier of the test equipment and the test software is legally matched with the cloud database;
the configuration file returning unit (2.4) is used for setting the cloud server to return the configuration file corresponding to the test equipment and the test software to the outsourcing end;
and the test equipment initialization unit (2.5) is used for setting the automatic downloading configuration file of the outsourcing end and initializing the test equipment.
4. The modular test and data analysis implementation device according to claim 2, characterized in that the test and data upload module (3) comprises:
the test environment construction unit (3.1) is used for constructing a hardware environment by the outsourcing end and transmitting the constructed test environment picture to the cloud server for confirmation;
the waveform grabbing unit (3.2) is used for starting the test equipment, carrying out waveform grabbing by test software and naming waveforms according to a preset rule;
the data conversion unit (3.3) is used for identifying BIN data from the captured waveform data through data identification equipment and then performing format conversion to generate binary data;
a data encoding and encrypting unit (3.4) for encoding and encrypting the binary data to generate test data;
the test data uploading unit (3.5) is used for setting the outsourcing end to upload the test data to the cloud server through a manual mode or automatic mode calling API (application program interface);
the data analysis module (4) comprises:
the data decryption and decoding unit (4.1) is used for decrypting and decoding the received test data by the cloud server to obtain a binary file;
the data reconversion unit (4.2) is used for setting the cloud server to convert the binary file into waveform data and providing the waveform data to the analysis software;
and the data analysis unit (4.3) is used for setting the cloud server to provide analysis software for analyzing the waveform data according to the naming rule of the waveform data and performing data backup.
CN202011416885.5A 2020-12-07 2020-12-07 Modularized testing and data analysis method and device Active CN112463622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011416885.5A CN112463622B (en) 2020-12-07 2020-12-07 Modularized testing and data analysis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011416885.5A CN112463622B (en) 2020-12-07 2020-12-07 Modularized testing and data analysis method and device

Publications (2)

Publication Number Publication Date
CN112463622A CN112463622A (en) 2021-03-09
CN112463622B true CN112463622B (en) 2022-05-27

Family

ID=74800186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011416885.5A Active CN112463622B (en) 2020-12-07 2020-12-07 Modularized testing and data analysis method and device

Country Status (1)

Country Link
CN (1) CN112463622B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984325A (en) * 2012-11-05 2013-03-20 惠州Tcl移动通信有限公司 System and method for integrating mobile phone test data
CN107704395A (en) * 2017-10-24 2018-02-16 武大吉奥信息技术有限公司 One kind is based on cloud platform automatic test implementation and system under Openstack
CN111240980A (en) * 2020-01-13 2020-06-05 苏州浪潮智能科技有限公司 Automatic regression testing method based on cloud pipe platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984325A (en) * 2012-11-05 2013-03-20 惠州Tcl移动通信有限公司 System and method for integrating mobile phone test data
CN107704395A (en) * 2017-10-24 2018-02-16 武大吉奥信息技术有限公司 One kind is based on cloud platform automatic test implementation and system under Openstack
CN111240980A (en) * 2020-01-13 2020-06-05 苏州浪潮智能科技有限公司 Automatic regression testing method based on cloud pipe platform

Also Published As

Publication number Publication date
CN112463622A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN110601856A (en) Data interaction method and device based on block chain network
CN115439249B (en) Method, device and system for realizing business service of cross-region block chain
CN112508733A (en) Big data intelligence service system in electric wire netting space-time based on big dipper
CN110825776B (en) Air quality detection report processing method and device, computing equipment and storage medium
CN112241345A (en) PCIE test method, system, terminal and storage medium
CN113706091B (en) Intelligent remote auditing method, device, system, computer equipment and storage medium
CN112463622B (en) Modularized testing and data analysis method and device
CN114491670A (en) Water pump remote quality detection technology based on Internet of things electronic evidence chain
AU2017310554A1 (en) A method of generating a secure record of a conversation
CN117201601A (en) Internet of things equipment access method, device, equipment and storage medium
CN110532305A (en) A kind of business datum method for cutting over and system
CN113760730A (en) Automatic testing method and device
CN112506771A (en) Message comparison method and device
CN111427923A (en) Vehicle information query method and device based on block chain and storage medium
CN115296822B (en) Method and system for realizing service processing
CN111161041A (en) Account checking method and device based on block chain
CN114666133B (en) Remote inquiry evidence obtaining system and method based on original handwriting signature
CN111162910A (en) Multi-language encryption transmission scheme for high-concurrency new energy power generation data
CN112148903A (en) Data processing method and device for content auditing
CN108780488A (en) The upload of substance detection information and the determination method, system and device of upload permissions
CN110557363A (en) identity verification method, device and storage medium
CN112132292B (en) Longitudinal federation learning data processing method, device and system based on block chain
CN117635164A (en) Customer complaint event processing method, error reporting information sending method and device
CN117320015A (en) Short message anti-brushing method
CN117521156A (en) Guarantee factory equipment maintaining records Security method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant