CN110633198A - Block chain-based software test data storage method and system - Google Patents
Block chain-based software test data storage method and system Download PDFInfo
- Publication number
- CN110633198A CN110633198A CN201810653770.4A CN201810653770A CN110633198A CN 110633198 A CN110633198 A CN 110633198A CN 201810653770 A CN201810653770 A CN 201810653770A CN 110633198 A CN110633198 A CN 110633198A
- Authority
- CN
- China
- Prior art keywords
- information
- identification value
- storage
- software test
- data information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a method, a system, computer equipment and a computer readable storage medium for storing software test data based on a block chain, wherein the method comprises the following steps: acquiring first data information of a software test; generating a first storage identification value according to the first data information; the first storage identification value is stored to the blockchain. The storage method of the software test data based on the block chain generates a first storage identification value from received first data information of the software test through an encryption algorithm; thereafter, the first storage identification value is stored in the blockchain. By the method, timeliness of the first data information tested by software is solved, authenticity of the first data information can be traced, and safety of the first data information can be guaranteed.
Description
Technical Field
The invention relates to the field of software testing, in particular to a method and a system for storing software testing data based on a block chain, computer equipment and a computer readable storage medium.
Background
With the development of the internet, software is generated, the scale of the software is small and the complexity is low in the early software development process, the IT industry is developed greatly later, the software tends to be large-scale and highly complex, the quality of the software is more and more important, and the technology of software testing is generated. Software testing describes a process used to facilitate the verification of the correctness, integrity, security, and quality of software, colloquially, a process of auditing or comparing between actual and expected outputs. The classical definition of software testing is: the process of operating a program under specified conditions to discover errors in the program, to measure software quality, and to evaluate whether it meets design requirements.
The software testing system mainly comprises 6 interrelated and interactive processes: test planning (e.g., test plan), test design (e.g., test plan, test case), test implementation (e.g., test report), configuration management, resource management, test management. The output of these 6 previous processes is the input of the next process. Configuration management and resource management are supporting processes of the processes, and test management monitors, tests and manages other test processes. The parts are all absent, and form a software testing system together, so that the quality of software is ensured.
In software testing practice, the cooperation test is a common test mode, and the mode is generally used for the cooperation test between more than or equal to two companies or entities (or departments) with interest conflict. In order to avoid objection of two parties to whether the test document is falsified, the two parties in cooperation generally upload the file to a git/svn management platform and the like, the two parties can download the original file by themselves, and when the objection exists, whether the original file is the original file can be determined by tracing the uploading time and version. However, these management platforms have two limitations, one is that the management platform is relatively convenient for code management and relatively inconvenient for other file management (the test files in the test system have various file formats such as pdf/xmind/mp/word); secondly, the management platform is generally used in a company, and when two external companies cooperate, related safety hidden dangers exist, and other important files of the company can be stolen. In addition, the test document is sent to the other party through a chat tool or a mailbox, the method is convenient to send, and the receiving is real-time. However, the third-party platforms have certain timeliness for storing files, and after the timeliness period, the third parties can automatically delete the files and only can store the files and data within a certain time. In this way, the reliability of the test file cannot be guaranteed when the divergence occurs. The above methods all make it difficult to verify the authenticity of the test document.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect of difficult verification of the authenticity of the test document in the prior art.
Therefore, the invention provides the following technical scheme:
in a first aspect of the present invention, a method for storing software test data based on a block chain is provided, which includes the following steps: acquiring first data information of a software test; generating a first storage identification value according to the first data information; storing the first storage identification value to a blockchain.
Optionally, after storing the first storage identification value to the blockchain, the method further includes: acquiring ID information according to the first storage identification value and storage time; and sending the ID information to a terminal.
Optionally, the method further comprises: acquiring second data information and the ID information of the software test; generating a second storage identification value according to the second data information; comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result; and sending the comparison result to the terminal.
In a second aspect of the present invention, a method for storing software test data based on a block chain is provided, which includes the following steps: acquiring first data information of a software test; uploading the first data information to a block chain; and generating a first storage identification value according to the first data information by the block chain, and storing the first storage identification value.
Optionally, after the uploading the first data information to the block chain, the method further includes: receiving ID information; and obtaining the ID information by the block chain according to the first storage identification value and the storage time.
Optionally, the method further comprises: sending second data information of the software test and the ID information to the block chain; generating a second storage identification value by the block chain according to the second data information, and comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result; and receiving the comparison result.
In a third aspect of the present invention, a storage system for software test data based on a block chain is provided, including: the first acquisition module is used for acquiring first data information of the software test; the first processing module is used for generating a first storage identification value according to the first data information; and the second processing module is used for storing the first storage identification value to the block chain.
Optionally, the method further comprises: the third processing module is used for acquiring ID information according to the first storage identification value and the storage time; and the first sending module is used for sending the ID information to a terminal.
Optionally, the system further comprises: the second acquisition module is used for acquiring second data information and the ID information of the software test; the fourth processing module is used for generating a second storage identification value according to the second data information; the fifth processing module is used for comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result; and the second sending module is used for sending the comparison result to the terminal.
In a fourth aspect of the present invention, a storage system for software test data based on a block chain is provided, including: the third acquisition module is used for acquiring first data information of the software test; a sixth processing module, configured to upload the first data information to a block chain; and generating a first storage identification value according to the first data information by the block chain, and storing the first storage identification value.
Optionally, the method further comprises: the first receiving module is used for receiving the ID information; and obtaining the ID information by the block chain according to the first storage identification value and the storage time.
Optionally, the system further comprises: the seventh processing module is used for sending second data information of the software test and the ID information to the block chain; generating a second storage identification value by the block chain according to the second data information, and comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result; and the second receiving module is used for receiving the comparison result.
In a fifth aspect of the present invention, there is provided a computer apparatus comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform a method of storing blockchain based software test data according to any one of the first aspects of the invention or a method of storing blockchain based software test data according to any one of the second aspects of the invention.
In a sixth aspect of the present invention, there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement the method for storing blockchain-based software test data according to any one of the first aspect of the present invention or the method for storing blockchain-based software test data according to any one of the second aspect of the present invention.
The technical scheme of the invention has the following advantages:
1. the invention provides a storage method of software test data based on a block chain, which comprises the following steps: acquiring first data information of a software test; generating a first storage identification value according to the first data information; the first storage identification value is stored to the blockchain. The storage method of the software test data based on the block chain generates a first storage identification value from received first data information of the software test through an encryption algorithm; thereafter, the first storage identification value is stored in the blockchain. By the method, timeliness of the first data information tested by software is solved, authenticity of the first data information can be traced, and safety of the first data information can be guaranteed.
2. The method for storing software test data based on a block chain, provided by the invention, further comprises the following steps of, after storing the first storage identification value into the block chain: acquiring ID information according to the first storage identification value and storage time; and sending the ID information to a terminal. According to the method, the ID information is sent to the terminal after the first storage identification value and the storage time generate the ID information, the terminal can trace the first data information tested by the software according to the ID information returned from the block chain, and the reliability and the openness of the first data information storage are improved.
3. The invention provides a block chain-based software test data storage method, which further comprises the following steps: acquiring second data information and the ID information of the software test; generating a second storage identification value according to the second data information; comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result; and sending the comparison result to the terminal. The method generates a second storage identification value from the received second data information of the software test, compares the second storage identification value with the first storage identification value obtained according to the ID information to obtain a comparison result, then sends the comparison result to the terminal, and can know whether the second data information of the software test is consistent with the first data information according to the comparison result, thereby solving the objection of consistency of software test data among different terminals.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a specific example of a block chain-based software test data storage method according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram of a specific example of an application scenario of the method for storing software test data based on a block chain in embodiment 1 of the present invention;
fig. 3 is a schematic diagram of another specific example of an application scenario of the method for storing software test data based on a block chain according to embodiment 1 of the present invention;
fig. 4 is a flowchart of another specific example of a block chain-based software test data storage method according to embodiment 1 of the present invention;
fig. 5 is a flowchart of a specific example of a block chain-based software test data storage method according to embodiment 2 of the present invention;
fig. 6 is a flowchart of another specific example of a block chain-based software test data storage method according to embodiment 2 of the present invention;
fig. 7 is a block diagram of a specific example of a storage system for software test data based on a block chain according to embodiment 3 of the present invention;
fig. 8 is a block diagram of a specific example of a storage system for software test data based on a block chain according to embodiment 4 of the present invention;
fig. 9 is a schematic structural diagram of a computer device in embodiment 5 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
Example 1
The embodiment provides a method for storing software test data based on a block chain, which is applied to the block chain to store the software test data, and as shown in fig. 1, the method includes the following steps:
s11: in this embodiment, the first data information is all data information related to the software test, and may include a test case, a test script, a test step flow, a test result, or an intermediate test result generated by each intermediate test step, and the like, and the type of the data information may include a test code, a document, voice, text, video, and the like, and may be set reasonably as needed.
The document format of the first data information can be various file formats such as a test program code, a pdf, an xmind, an mpp, a word or a txt, and can be reasonably set according to needs.
The source of the first data message is described in detail below with a software test specific process. As shown in fig. 2, which is a schematic view of an application scenario of the embodiment of the present invention, a federation chain is constructed by a demand user node 1, a management user node 2, a test user node 3, and a research and development user node 4 through a block chain 5, and data information processing related to software testing among users is performed in the federation chain. The number of the user nodes in the federation chain is not limited, and is schematically represented in fig. 2 of this embodiment by only the demand user node 1, the management user node 2, the test user node 3, and the research and development user node 4, and the user nodes in the federation chain may be individual users, companies, organizations, or the like. In addition to the several nodes shown in fig. 2, other nodes, such as a security user node, an audit user node, a quality user node, etc., may be introduced into the federation chain to further improve the processing function of the software test data of the blockchain and improve the security and reliability of the software test data.
In this embodiment, as shown in fig. 3, when the demand user node 1 uploads the test demand to the block chain, the first data information includes the test demand. Then, the management user node 2 may download the test requirement from the blockchain, perform test management on the test requirement, generate a test task list, and upload the test task list to the blockchain, where the first data information includes the test task list. The test user node 3 and the research and development user node 4 can check and download the test task list in the block chain, and perform corresponding test preparation according to the test task list. The test user node 3 analyzes the test requirement according to the test task list, if the requirement analysis needs to be modified for multiple times, the modification record and the final test requirement analysis can be uploaded to the block chain, the first data information includes part or all of the requirement analysis modification record and the final test requirement analysis, after the requirement analysis, the test user node 3 also needs to write the test plan, write the test scheme and write the test case according to the test requirement analysis, the written test plan, test scheme and test case can be uploaded to the block chain, and the first data information includes part or all of the test plan, test scheme and test case, and is reasonably set according to needs. The research and development user node 4 may also search the test task list on the block chain, perform corresponding research and development work according to the test task list to generate a development version, and store the development version in the block chain, where the first data information includes the development version. The test user node 3 creates a test version according to the development version uploaded by the research and development user node 4, and stores the test version into the block chain, so that the first data information comprises the test version; then the testing user node 3 performs tests of specific software testing items, such as functional tests, performance tests, compatibility tests, and the like, and intermediate results, final test results, or all test data, results, and the like related to the tests, generated in specific testing steps of the testing items can be stored in the block chain as required, and the data can be used as part or all of the first data information; after the software test is executed, a Bug test is required to be carried out to generate a Bug table, the Bug table can be uploaded to a block chain, and the first data information comprises the Bug table; after the Bug test is completed, the writing of a test report, the writing of a user manual and the generation of a formal version can be carried out, and the data can be used as part or all of the first data information.
S12: and generating a first storage identification value according to the first data information. The block chain stores the first data information, so that the data security can be effectively guaranteed, the first data information is generated into a first storage identification value through an encryption algorithm, and then the generated first storage identification is stored in the block chain. A Hash algorithm in an encryption algorithm maps a binary value of arbitrary length to a smaller binary value of fixed length, referred to as a Hash value (i.e., Hash value). The hash value is a group of binary values obtained by carrying out encryption operation on the file content, is a unique and extremely compact numerical representation form of a section of data, and can ensure the data security and save the storage space. If a piece of plaintext is hashed and even if only one letter of the piece is altered, the subsequent hash will produce a different value, and therefore, the hash value can be used as a data uniqueness judgment. In this embodiment, the first storage identification value generated according to the first data information is a 64-bit first hash value; of course, in other embodiments, other encryption algorithms may also be used to encrypt the first data information, for example, if the MD5 encryption algorithm is used to encrypt the first data information, the generated first storage identification value is an MD5 value, and it is only necessary to set the value reasonably according to specific needs.
S13: the first storage identification value is stored in the block chain, the first storage identification value is verified and added to the block chain, traceability and tamper resistance of software test data are improved, the test data can be permanently stored in the block chain, and storage timeliness is greatly improved compared with a third-party platform with storage time limitation.
According to the storage method of the software test data based on the block chain, the received first data information of the software test is generated into the first hash value through the hash algorithm, and the size of the first hash value generated by a file is fixed no matter how large the file is, so that the memory required by storage is greatly reduced; the first hash value is then stored in the blockchain. By the method, the timeliness of the software test data is solved, the authenticity of the software test data can be traced, and the safety of the software test data can be ensured.
Preferably, in order to facilitate disclosure and transparency of information between different terminals, as shown in fig. 4, steps S14 and S15 are further included after step S13:
s14: and acquiring the ID information according to the first storage identification value and the storage time. After the first data information is uploaded to the block chain, the block chain returns ID information of stored data according to the uploaded files and time.
S15: and sending the ID information to the terminal. Different terminals can search the related information uploaded by the first data information through the ID information.
Preferably, when the different terminals perform the software test according to the first data information, in order to check whether the different terminals perform the test according to the software test data strictly, and to solve the disagreement of the consistency of the software test data among the different terminals, as shown in fig. 4, steps S16-S19 are further included after step S15:
s16: and acquiring second data information and ID information of the software test. The second data information is sent to the block chain through the terminal, and in this embodiment, the second data information is test data used when the software testing company actually tests the software. The file format of the second data information can be various file formats such as a test program code, a pdf, an xmind, an mpp, a word or a txt, and can be reasonably set according to needs.
S17: and generating a second storage identification value according to the second data information. Because the first data information is subjected to hash encryption to generate a first hash value, the second data information is also subjected to hash encryption algorithm for comparison with the first data information. The hash values generated by the data in different formats are different, and the second data information and the first data information have the same format for facilitating the comparison of the two. When the format of the second data information is different from that of the first data information, format conversion is needed to be carried out on the second data information, the second data information is converted into the same format, and then Hash operation is carried out to generate a second Hash value; and when the second data information is in the same format as the first data information, directly carrying out hash operation on the second data information to generate a second hash value, and taking the second hash value as a second storage identification value.
S18: and comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result. When the second storage identification value is matched with the first storage identification value, the second data information adopted by the software testing company is consistent with the first data information provided by the software development company, and the test is strictly carried out according to the test data provided by the software development company; when the second hash value is not matched with the first hash value, the second data information adopted by the software testing company is not consistent with the first data information provided by the software development company, and the software testing company does not strictly test according to the test data provided by the software development company.
S19: and sending the comparison result to the terminal. In this embodiment, the terminal includes each user node located in the block chain, so that the user node can refer to the test result conveniently.
Example 2
The embodiment provides a method for storing software test data based on a block chain, which is applied to a terminal, and as shown in fig. 5, the method includes the following steps:
s51: first data information of a software test is acquired. The first data information includes all data related to the software test. In this embodiment, the first data information is described in detail in embodiment 1, and is not described herein again.
S52: uploading the first data information to a block chain; and generating a first storage identification value according to the first data information by the block chain, and storing the first storage identification value.
The storage method of the software test data based on the block chain is applied to a terminal side and generates first data information according to software test requirements; and then, uploading the first data information to the block chain and storing the first data information in the block chain. By the method, the timeliness of the software test data is solved, the authenticity of the software test data can be traced, and the safety of the software test data can be ensured.
Preferably, in order to facilitate the terminal to view the stored first data information on the blockchain, as shown in fig. 6, a step S53 is further included after the step S52:
s53: receiving ID information; wherein, the ID information is obtained by the block chain according to the first storage identification value and the storage time. After receiving the ID information, the terminal may view the first data information uploaded to the block chain according to the ID information.
Preferably, when the different terminals perform the software test according to the first data information, in order to check whether the different terminals perform the test according to the software test data strictly, the objection of the authenticity of the first data information between the different terminals is solved, as shown in fig. 6, and steps S54-S55 are further included after step S53:
s54: sending second data information and ID information of the software test to a block chain; and generating a second storage identification value by the block chain according to the second data information, and comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result. In this embodiment, the software testing company sends the second data information actually used by the software test to the block chain, and the block chain generates a second hash value from the second data information through a hash algorithm; comparing the second hash value with the first hash value, when the second hash value is consistent with the first hash value, indicating that the second data information adopted by the software testing company is consistent with the first data information provided by the software development company, and strictly testing according to the testing data provided by the software development company; when the second hash value is not matched with the first hash value, the second data information adopted by the software testing company is not consistent with the first data information provided by the software development company, and the software testing company does not strictly test according to the test data provided by the software development company.
S55: and receiving a comparison result. The terminal can know whether the second data information is consistent with the first data information according to the received comparison result.
Example 3
The embodiment provides a storage system for software test data based on a block chain, which is applied to the block chain, as shown in fig. 7, and includes:
a first obtaining module 71, configured to obtain first data information of a software test;
a first processing module 72, configured to generate a first storage identification value according to the first data information;
a second processing module 73, configured to store the first storage identification value to the blockchain;
a third processing module 74, configured to obtain ID information according to the first storage identification value and the storage time;
a first transmission module 75 for transmitting the ID information to the terminal;
a second obtaining module 76, configured to obtain second data information and ID information of the software test;
a fourth processing module 77, configured to generate a second storage identification value according to the second data information;
a fifth processing module 78, configured to compare the second storage identification value with the first storage identification value stored in the ID information, so as to obtain a comparison result;
and a second sending module 79, configured to send the comparison result to the terminal.
Further description of the functions of the modules is the same as that of embodiment 1, and is not repeated herein. The storage system of the software test data based on the block chain solves the problem of timeliness of the software test data, can trace the authenticity of the software test data, and can ensure the safety of the software test data.
Example 4
The embodiment provides a storage system of software test data based on a block chain, which is applied to a terminal, as shown in fig. 8, and includes:
a third obtaining module 81, configured to obtain first data information of the software test;
a sixth processing module 82, configured to upload the first data information to the block chain; generating a first storage identification value according to the first data information by the block chain, and storing the first storage identification value;
a first receiving module 83, configured to receive ID information; the ID information is obtained by the block chain according to the first storage identification value and the storage time;
a seventh processing module 84, configured to send the second data information and the ID information of the software test to the block chain; generating a second storage identification value by the block chain according to the second data information, and comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result;
and a second receiving module 85, configured to receive the comparison result.
Further description of the functions of the modules is the same as that of embodiment 2, and is not repeated here. The storage system of the software test data based on the block chain solves the problem of timeliness of the software test data, can trace the authenticity of the software test data, and can ensure the safety of the software test data.
Example 5
The present embodiment also provides a computer device, as shown in fig. 9, including: at least one processor 901, such as a CPU (Central Processing Unit), at least one communication interface 903, memory 904, at least one communication bus 902. Wherein a communication bus 902 is used to enable connective communication between these components. The communication interface 903 may include a Display (Display) and a Keyboard (Keyboard), and the optional communication interface 903 may also include a standard wired interface and a standard wireless interface. The Memory 904 may be a RAM (random Access Memory) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 904 may optionally be at least one storage device located remotely from the processor 901. Wherein the processor 901 may be in connection with the storage system for blockchain-based software test data described in fig. 7 or in connection with the storage system for blockchain-based software test data described in fig. 8, a set of program codes is stored in the memory 904, and the processor 901 calls the program codes stored in the memory 904 for executing a method for storing blockchain-based software test data, i.e., for executing the method for storing blockchain-based software test data of fig. 1 and 4 in embodiment 1 or for executing the method for storing blockchain-based software test data of fig. 5 and 6 in embodiment 2.
The communication bus 902 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 902 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
The memory 904 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviation: HDD), or a solid-state drive (english: SSD); the memory 904 may also comprise a combination of the above-described types of memory.
The processor 901 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 901 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The aforementioned PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 904 is also used to store program instructions. The processor 901 may call a program instruction to implement the method for storing the software test data based on the blockchain as shown in fig. 1 and 4 in embodiment 1 of the present application or implement the method for storing the software test data based on the blockchain as shown in fig. 5 and 6 in embodiment 2 of the present application.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer-executable instruction is stored on the computer-readable storage medium, and the computer-executable instruction may execute the method for storing software test data based on a block chain in any of the above method embodiments. The storage medium may be a magnetic Disk, an optical Disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a flash Memory (FlashMemory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the spirit or scope of the invention.
Claims (14)
1. A storage method of software test data based on a block chain is characterized by comprising the following steps:
acquiring first data information of a software test;
generating a first storage identification value according to the first data information;
storing the first storage identification value to a blockchain.
2. The method for storing software test data based on blockchain according to claim 1, further comprising, after storing the first storage identification value to the blockchain:
acquiring ID information according to the first storage identification value and storage time;
and sending the ID information to a terminal.
3. The method of claim 2, wherein the method further comprises:
acquiring second data information and the ID information of the software test;
generating a second storage identification value according to the second data information;
comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result;
and sending the comparison result to the terminal.
4. A storage method of software test data based on a block chain is characterized by comprising the following steps:
acquiring first data information of a software test;
uploading the first data information to a block chain; and generating a first storage identification value according to the first data information by the block chain, and storing the first storage identification value.
5. The method for storing software test data based on block chains according to claim 4, wherein after uploading the first data information to a block chain, the method further comprises:
receiving ID information; and obtaining the ID information by the block chain according to the first storage identification value and the storage time.
6. The method of claim 5, further comprising:
sending second data information of the software test and the ID information to the block chain; generating a second storage identification value by the block chain according to the second data information, and comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result;
and receiving the comparison result.
7. A system for storing software test data based on a blockchain, comprising:
the first acquisition module is used for acquiring first data information of the software test;
the first processing module is used for generating a first storage identification value according to the first data information;
and the second processing module is used for storing the first storage identification value to the block chain.
8. The blockchain-based storage system for software test data according to claim 7, further comprising:
the third processing module is used for acquiring ID information according to the first storage identification value and the storage time;
and the first sending module is used for sending the ID information to a terminal.
9. The blockchain-based storage system for software test data according to claim 8, wherein the system further comprises:
the second acquisition module is used for acquiring second data information and the ID information of the software test;
the fourth processing module is used for generating a second storage identification value according to the second data information;
the fifth processing module is used for comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result;
and the second sending module is used for sending the comparison result to the terminal.
10. A system for storing software test data based on a blockchain, comprising:
the third acquisition module is used for acquiring first data information of the software test;
a sixth processing module, configured to upload the first data information to a block chain; and generating a first storage identification value according to the first data information by the block chain, and storing the first storage identification value.
11. The blockchain-based storage system for software test data according to claim 10, further comprising:
the first receiving module is used for receiving the ID information; and obtaining the ID information by the block chain according to the first storage identification value and the storage time.
12. The blockchain-based storage system for software test data according to claim 11, further comprising:
the seventh processing module is used for sending second data information of the software test and the ID information to the block chain; generating a second storage identification value by the block chain according to the second data information, and comparing the second storage identification value with the first storage identification value stored in the ID information to obtain a comparison result;
and the second receiving module is used for receiving the comparison result.
13. A computer device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of blockchain based storage of software test data according to any one of claims 1 to 3 or to perform the method of blockchain based storage of software test data according to any one of claims 4 to 6.
14. A computer-readable storage medium, characterized in that it stores computer instructions which, when executed by a processor, implement the method of storage of blockchain-based software test data according to any one of claims 1 to 3, or the method of storage of blockchain-based software test data according to any one of claims 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810653770.4A CN110633198A (en) | 2018-06-22 | 2018-06-22 | Block chain-based software test data storage method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810653770.4A CN110633198A (en) | 2018-06-22 | 2018-06-22 | Block chain-based software test data storage method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110633198A true CN110633198A (en) | 2019-12-31 |
Family
ID=68967927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810653770.4A Withdrawn CN110633198A (en) | 2018-06-22 | 2018-06-22 | Block chain-based software test data storage method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110633198A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111310240A (en) * | 2020-05-06 | 2020-06-19 | 国网电子商务有限公司 | A financial data traceability method and device based on blockchain and identification technology |
CN111310228A (en) * | 2020-01-20 | 2020-06-19 | 山东爱城市网信息技术有限公司 | Block chain-based software production accident archiving method, device and medium |
CN111723152A (en) * | 2020-06-18 | 2020-09-29 | 中国银行股份有限公司 | Data processing method and system based on block chain |
CN111865594A (en) * | 2020-07-16 | 2020-10-30 | 杭州溪塔科技有限公司 | Block chain based product testing method and system, electronic equipment and storage medium |
CN111930581A (en) * | 2020-08-14 | 2020-11-13 | 山东云海国创云计算装备产业创新中心有限公司 | Memory interface testing method, device, equipment and readable storage medium |
CN113010426A (en) * | 2021-03-19 | 2021-06-22 | 汇链通供应链科技(上海)有限公司 | Product performance analysis method and device based on data backtracking |
CN113361937A (en) * | 2021-06-10 | 2021-09-07 | 北京新国信软件评测技术有限公司 | Integrated quality evaluation method for electronic government system |
CN114338228A (en) * | 2022-01-26 | 2022-04-12 | 北京信安世纪科技股份有限公司 | Mirror image security processing method and device and storage medium |
CN116185878A (en) * | 2023-04-23 | 2023-05-30 | 深圳市一航网络信息技术有限公司 | Software authentication test technology platform based on block chain technology |
US11726773B2 (en) | 2021-05-19 | 2023-08-15 | Micro Focus Llc | Software supply chain quality control evaluation using blockchain |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106682457A (en) * | 2016-12-16 | 2017-05-17 | 北京握奇智能科技有限公司 | Picture copyright protection method and picture copyright protection system based on blockchain technology |
CN106789047A (en) * | 2017-03-03 | 2017-05-31 | 钱德君 | A kind of block chain identification system |
CN107391298A (en) * | 2017-07-06 | 2017-11-24 | 上海策链信息科技有限公司 | State data memory detection method, device and computer-readable recording medium |
US20180157583A1 (en) * | 2016-12-07 | 2018-06-07 | International Business Machines Corporation | Application testing on a blockchain |
CN108170590A (en) * | 2017-12-12 | 2018-06-15 | 北京大学深圳研究生院 | A kind of test system and method for block catenary system |
-
2018
- 2018-06-22 CN CN201810653770.4A patent/CN110633198A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180157583A1 (en) * | 2016-12-07 | 2018-06-07 | International Business Machines Corporation | Application testing on a blockchain |
CN106682457A (en) * | 2016-12-16 | 2017-05-17 | 北京握奇智能科技有限公司 | Picture copyright protection method and picture copyright protection system based on blockchain technology |
CN106789047A (en) * | 2017-03-03 | 2017-05-31 | 钱德君 | A kind of block chain identification system |
CN107391298A (en) * | 2017-07-06 | 2017-11-24 | 上海策链信息科技有限公司 | State data memory detection method, device and computer-readable recording medium |
CN108170590A (en) * | 2017-12-12 | 2018-06-15 | 北京大学深圳研究生院 | A kind of test system and method for block catenary system |
Non-Patent Citations (1)
Title |
---|
凌明胜;朱云飞;唐芸;: "软件测试过程中信息安全防护方法与应用", 指挥信息系统与技术, no. 06 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111310228A (en) * | 2020-01-20 | 2020-06-19 | 山东爱城市网信息技术有限公司 | Block chain-based software production accident archiving method, device and medium |
CN111310240A (en) * | 2020-05-06 | 2020-06-19 | 国网电子商务有限公司 | A financial data traceability method and device based on blockchain and identification technology |
CN111723152A (en) * | 2020-06-18 | 2020-09-29 | 中国银行股份有限公司 | Data processing method and system based on block chain |
CN111865594A (en) * | 2020-07-16 | 2020-10-30 | 杭州溪塔科技有限公司 | Block chain based product testing method and system, electronic equipment and storage medium |
CN111930581A (en) * | 2020-08-14 | 2020-11-13 | 山东云海国创云计算装备产业创新中心有限公司 | Memory interface testing method, device, equipment and readable storage medium |
CN113010426A (en) * | 2021-03-19 | 2021-06-22 | 汇链通供应链科技(上海)有限公司 | Product performance analysis method and device based on data backtracking |
US11726773B2 (en) | 2021-05-19 | 2023-08-15 | Micro Focus Llc | Software supply chain quality control evaluation using blockchain |
US12056486B2 (en) | 2021-05-19 | 2024-08-06 | Micro Focus Llc | Software supply chain quality control evaluation using blockchain |
CN113361937A (en) * | 2021-06-10 | 2021-09-07 | 北京新国信软件评测技术有限公司 | Integrated quality evaluation method for electronic government system |
CN114338228A (en) * | 2022-01-26 | 2022-04-12 | 北京信安世纪科技股份有限公司 | Mirror image security processing method and device and storage medium |
CN114338228B (en) * | 2022-01-26 | 2022-07-29 | 北京信安世纪科技股份有限公司 | Mirror image security processing method and device and storage medium |
CN116185878A (en) * | 2023-04-23 | 2023-05-30 | 深圳市一航网络信息技术有限公司 | Software authentication test technology platform based on block chain technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110633198A (en) | Block chain-based software test data storage method and system | |
CN107992409B (en) | Test case generation method and device, computer equipment and storage medium | |
CN109474578B (en) | Message checking method, device, computer equipment and storage medium | |
CN109933535B (en) | Test case generation method and device and server | |
CN112039900B (en) | Network security risk detection method, system, computer device and storage medium | |
US20170060713A1 (en) | Systems and methods for device compatibility testing and reporting | |
CN110221948B (en) | Test script generation method, test script generation device, computer device and storage medium | |
CN113268336B (en) | Service acquisition method, device, equipment and readable medium | |
CN108241576B (en) | Interface testing method and system | |
CN110019067B (en) | Log analysis method and system | |
CN117390696A (en) | Integrity detection system, method, equipment and medium for electronic file | |
CN105787364A (en) | Automated testing method, device and system for task | |
CN112948233A (en) | Interface testing method, device, terminal equipment and medium | |
CN114491555A (en) | Equipment safety detection method and device, computer equipment and storage medium | |
CN107632909B (en) | Method and system for automatically testing device functions | |
CN116820845A (en) | API (application program interface) input verification test method, test device and electronic equipment | |
CN111338869A (en) | Configuration parameter management method, device, device and storage medium | |
CN114487842A (en) | Data path end-to-end test method, device, computer equipment and storage medium | |
CN111858236B (en) | Knowledge graph monitoring method and device, computer equipment and storage medium | |
CN114328231A (en) | Test method, device, electronic equipment and storage medium | |
CN113407446A (en) | Test case generation method and electronic equipment | |
CN112882948A (en) | Stability testing method, device and system for application and storage medium | |
CN114866447B (en) | Automatic test method and device for message receiving and sending of vehicle controller | |
CN111190824A (en) | Monitoring method, monitoring device, terminal equipment and storage medium | |
CN114564336B (en) | Data consistency verification method, device, equipment and storage medium |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210121 Address after: 215163 No. 9 Xuesen Road, Science and Technology City, Suzhou High-tech Zone, Jiangsu Province Applicant after: Suzhou Lang run innovation intellectual property operation Co.,Ltd. Address before: 100034 4008, 4 floor, 9 building, 56 half moon street, Xicheng District, Beijing. Applicant before: SINOCHAIN TECHNOLOGY Co.,Ltd. |
|
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20191231 |