CN117194561A - Block chain-based test data processing method and device and computer equipment - Google Patents

Block chain-based test data processing method and device and computer equipment Download PDF

Info

Publication number
CN117194561A
CN117194561A CN202310912311.4A CN202310912311A CN117194561A CN 117194561 A CN117194561 A CN 117194561A CN 202310912311 A CN202310912311 A CN 202310912311A CN 117194561 A CN117194561 A CN 117194561A
Authority
CN
China
Prior art keywords
test data
target
information
adjustment
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310912311.4A
Other languages
Chinese (zh)
Inventor
杨创
袁玥
雷禹
刘倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310912311.4A priority Critical patent/CN117194561A/en
Publication of CN117194561A publication Critical patent/CN117194561A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The application relates to a block chain-based test data processing method, a block chain-based test data processing device and computer equipment. The method relates to the technical field of block chains, and comprises the following steps: responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; invoking a pre-established blockchain network to identify data classification information of target test data, and determining data adjustment authority of a target user account; under the condition that the data adjustment authority is matched with the data attribute information and the data security information, executing a test data adjustment task, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner; and in response to a confirmation operation of the uplink stored test data adjustment result, issuing test data adjustment information for the target test data through the block chain network. By adopting the method, the maintenance and management of the test data based on the block chain can be realized, the safety of the test data is ensured, and the feedback timeliness is improved.

Description

Block chain-based test data processing method and device and computer equipment
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a blockchain-based test data processing method, a blockchain-based test data processing device, a blockchain-based test data processing computer device, a blockchain-based test data processing storage medium, and a blockchain-based test data processing computer program product.
Background
In the software testing process, the test data are very important data assets, and are very important for timely updating, managing and maintaining the test data.
In the traditional technology, because a large number of related staff members of different projects are involved at the same time, the data management is difficult, the error modification condition is easy to occur, the change history of the test data cannot be effectively traced, the related staff members are fed back in a manual notification mode after the manual update of the staff members, the related staff members are inconvenient to timely sense the occurrence of the change of the test data, and the timeliness and the safety are poor.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a blockchain-based test data processing method, apparatus, computer device, storage medium, and computer program product that can improve the timeliness and security of test data processing.
In a first aspect, the present application provides a blockchain-based test data processing method, the method comprising:
Responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
executing the test data adjustment task under the condition that the data adjustment authority is matched with the data attribute information and the data security information, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner;
and responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the blockchain network.
In one embodiment, the invoking the pre-established blockchain network identifies data classification information of the target test data, including:
identifying the data type and the data integrity degree of the target test data to obtain the data attribute information;
Identifying data security parameters and data authority configuration of the target test data to obtain the data security information;
and obtaining the data classification information of the target test data according to the data attribute information and the data security information.
In one embodiment, the determining the data adjustment authority of the target user account includes:
acquiring user configuration information corresponding to the target item; the user configuration information is used for representing data adjustment authorities of different types of user accounts on different test data in the target item;
and determining the data adjustment authority of the target user account from the user configuration information according to the type of the target user account.
In one embodiment, the uplink storing the test data adjustment result corresponding to the test data adjustment task to the blockchain network includes:
integrating the test data adjustment result with the operation information of the target user account to obtain integrated record information of the test data adjustment task;
and storing the integrated record information of the test data adjustment task in the blockchain network.
In one embodiment, the issuing, by the blockchain network, the test data adjustment information for the target test data in response to a validation operation of the test data adjustment result stored in the uplink includes:
Displaying the test data adjustment result stored in the uplink in a preset test data adjustment page;
and responding to the confirmation operation of the target user account on the test data adjustment result, and issuing test data adjustment information aiming at the target test data through the blockchain network.
In one embodiment, the issuing, by the blockchain network, the test data adjustment information for the target test data includes:
broadcasting the test data adjustment information to each node in the blockchain network;
determining a target node from the blockchain network according to the associated configuration information of each node; the target node and the target test data have an adjustment association relation;
and recording test data adjustment information of the target test data in the target node.
In a second aspect, the present application also provides a blockchain-based test data processing device, the device comprising:
the test data adjustment task acquisition module is used for responding to a test data adjustment request of a target user account and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
The test data classification module is used for calling a pre-established blockchain network to identify data classification information of the target test data and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
the adjustment task execution module is used for executing the test data adjustment task and storing a test data adjustment result corresponding to the test data adjustment task to the block chain network in an uplink mode under the condition that the data adjustment authority is matched with the data attribute information and the data security information;
and the test data adjustment information issuing module is used for issuing the test data adjustment information aiming at the target test data through the block chain network in response to the confirmation operation of the test data adjustment result stored in the uplink.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
Invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
executing the test data adjustment task under the condition that the data adjustment authority is matched with the data attribute information and the data security information, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner;
and responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the blockchain network.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
Invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
executing the test data adjustment task under the condition that the data adjustment authority is matched with the data attribute information and the data security information, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner;
and responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the blockchain network.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, performs the steps of:
responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
Invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
executing the test data adjustment task under the condition that the data adjustment authority is matched with the data attribute information and the data security information, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner;
and responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the blockchain network.
According to the block chain-based test data processing method, the device, the computer equipment, the storage medium and the computer program product, the test data adjustment task for the target project is obtained by responding to the test data adjustment request of the target user account, the test data adjustment task is the adjustment task for the target test data in the target project, then the pre-established block chain network is called to identify the data classification information of the target test data, the data classification information comprises the data attribute information and the data security information, the data adjustment authority of the target user account is determined, the test data adjustment task is executed under the condition that the data adjustment authority is matched with the data attribute information and the data security information, the test data adjustment result corresponding to the test data adjustment task is stored in the block chain network in an uplink mode, further the test data adjustment information for the target test data is issued through the block chain network in response to the confirmation operation of the test data adjustment result stored in the uplink, the maintenance and management of the test data based on the block chain network are realized, the test data asset security can be traced effectively, and the test data feedback timeliness is improved.
Drawings
FIG. 1 is a flow diagram of a method of processing blockchain-based test data in an embodiment;
FIG. 2 is a flow chart of a test data classification step in one embodiment;
FIG. 3 is a flow chart of a method of processing blockchain-based test data in another embodiment;
FIG. 4 is a block diagram of a block chain based test data processing device in one embodiment;
fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In one embodiment, as shown in fig. 1, a blockchain-based test data processing method is provided, where the method is applied to a terminal for illustration, it is understood that the method may also be applied to a server, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the steps of:
Step 101, responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target item;
the test data adjustment task may be an adjustment task for adjusting target test data in a target item, for example, the target item may include multiple types of test data, and any type of test data in the target item may be used as target test data to perform adjustment processing on the target test data.
As an example, different test data corresponds to different types, which may include, but are not limited to, automation cases, test scripts, database records, test material documents.
In practical application, a test data management platform can be established based on a blockchain, a request user can initiate a test data adjustment request through the test data management platform, for example, the request user can log in the test data management platform, after the user identity verification is passed, namely, a target user account is logged in the test data management platform, then the test data adjustment request can be sent based on the target user account, and further the test data management platform can respond to the test data adjustment request to acquire a test data adjustment task aiming at a target project.
In an example, the test data adjustment request may carry identification information of the target item, identification information of the target user account, and indication information and adjustment parameter information for the target test data, and further, a test data adjustment task for the target item may be established according to the test data adjustment request.
In yet another example, the block chain based test data management platform may include a data asset management module, a data classification processing module, and by utilizing the non-tamper traceable characteristics of the block chain, the block chain based test data management platform is configured to perform maintenance and management of test data, thereby enabling use of the platform, facilitating review and reuse of later test data assets, and facilitating permanent storage of important data assets; and based on the data asset management module and the data classification processing module based on the block chain, the maintenance and the update of the test data based on the block chain are realized, the management cost of the testers can be reduced, and meanwhile, the common inquiry and the orderly maintenance of the data assets by multiple people are supported.
Step 102, invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
In a specific implementation, the data classification processing module of the test data management platform can identify the data attribute information and the data security information of the target test data by calling the pre-established blockchain network, the data attribute information and the data security information are used as data classification information, and the data adjustment authority of the target user account can be determined according to the logged-in target user account, so that the false identity personnel can be prevented from operating the test data through identity verification.
By way of example, by adopting a form of managing test data assets by a blockchain, the test data assets can be classified, identified and processed to obtain data classification information of target test data to be processed, and by classifying user rights in advance, the corresponding user rights can be determined for a target user account as data adjustment rights of the target user account.
Step 103, executing the test data adjustment task and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner under the condition that the data adjustment authority is matched with the data attribute information and the data security information;
after the data attribute information, the data security information and the data adjustment authority are obtained, as the data attribute information and the data security information can respectively correspond to the preset authority configuration, whether the data adjustment authority is matched with the data attribute information and the data security information can be judged, and then under the condition that the matching is confirmed, if a target user account has the adjustment authority for the target test data, the test data adjustment task can be executed, so that the users using the test data can only operate the corresponding partial functions through grading, and the test data can be prevented from being modified randomly by irrelevant personnel.
In an alternative embodiment, by adopting the form of blockchain management test data, when the change of the test data is detected, related change information (i.e. a test data adjustment result) can be packaged and stored in a blockchain record, for example, the change content, the change type, the change date and the change history record can be integrated for uplink storage, so that the problem that the modification log cannot be traced after the test data asset is modified can be solved.
And step 104, responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the block chain network.
After the test data adjustment result is obtained, the uplink stored test data adjustment result can be confirmed based on the target user account, and then the test data adjustment information aiming at the target test data can be issued through the blockchain network after the adjustment result of the target test data is confirmed.
Specifically, the association relation between each node in the blockchain network and related personnel in the target project can be pre-configured, and then the test data adjustment information can be issued based on the blockchain network, so that the test data can be timely received by the related personnel after being changed, and the better management and utilization of the test data assets are facilitated; and the modification log and the related operation information can be queried according to the condition that the test data is modified by different related personnel, so that the update consistency and the notification timeliness can be ensured after the adjustment of the test data is adjusted, for example, when the version is changed.
Compared with the traditional method, the technical scheme of the embodiment establishes the test data management platform based on the block chain, and after relevant adjustment information of the test data is accessed to the block chain node, the test data change information can be safely and conveniently stored on the chain, so that the management and the use are convenient, the safety of data assets is ensured, the use of users is more convenient, and the timeliness is also ensured.
According to the block chain-based test data processing method, the test data adjustment task for the target project is acquired by responding to the test data adjustment request of the target user account, then the pre-established block chain network is called to identify the data classification information of the target test data, the data adjustment authority of the target user account is determined, the test data adjustment task is executed under the condition that the data adjustment authority is matched with the data attribute information and the data safety information, the test data adjustment result corresponding to the test data adjustment task is uplink-stored to the block chain network, further, the test data adjustment information for the target test data is issued through the block chain network in response to the confirmation operation of the uplink-stored test data adjustment result, maintenance and management of the test data based on the block chain are realized, the adjustment information of the test data can be effectively traced, the safety of the test data asset is ensured, and the feedback timeliness of the test data adjustment is improved.
In one embodiment, as shown in fig. 2, the invoking the pre-established blockchain network to identify the data classification information of the target test data may include the steps of:
step 201, identifying the data type and the data integrity degree of the target test data to obtain the data attribute information;
step 202, identifying data security parameters and data authority configuration of the target test data to obtain the data security information;
and 203, obtaining data classification information of the target test data according to the data attribute information and the data security information.
In an example, the target test data to be processed may be classified, and the difference feature points of the target test data may be identified, for example, the focus part may include, but is not limited to, a data type, a data security, a data authority, a data integrity, etc., that is, the data type and the data integrity of the target test data are identified, the data attribute information is obtained, the data security parameter and the data authority configuration are identified, the data security information is obtained, and the data classification information of the target test data is used.
In this embodiment, the data attribute information is obtained by identifying the data type and the data integrity of the target test data, and the data security parameter and the data authority configuration of the target test data are identified to obtain the data security information, so that the data classification information of the target test data is obtained according to the data attribute information and the data security information, and data support is provided for further authority matching.
In one embodiment, the determining the data adjustment authority of the target user account may include the following steps:
acquiring user configuration information corresponding to the target item; the user configuration information is used for representing data adjustment authorities of different types of user accounts on different test data in the target item; and determining the data adjustment authority of the target user account from the user configuration information according to the type of the target user account.
In practical application, platform management can be adopted, and different authority users can be created based on different identities of related personnel aiming at developers, testers, business personnel, management personnel and the like of different projects, such as the authority of newly-built test data can be configured and the authority of related information of the test data can be modified, so that by distinguishing users with different authority levels, the situation that unrelated tester staff adjust data at will can be avoided.
In an alternative embodiment, the blockchain-based test data management platform may further include a rights management module, and the rights management module may perform user rights configuration, for example, may perform division management according to engineering roles of the platform, so as to control a relevant user in a project to change only a test data asset authorized in the project, and may verify user identity information, and if a false identity or an unauthorized external person is detected, the user cannot use the test data asset; it is also possible to build up that the administrator user authorizes and manages project personnel, i.e. presets user configuration information.
In this embodiment, by acquiring the user configuration information corresponding to the target item, and determining the data adjustment authority of the target user account from the user configuration information according to the type of the target user account, it is possible to facilitate better management and utilization of the test data asset based on distinguishing users with different authority levels.
In one embodiment, the step of storing the test data adjustment result corresponding to the test data adjustment task in the blockchain network may include the following steps:
integrating the test data adjustment result with the operation information of the target user account to obtain integrated record information of the test data adjustment task; and storing the integrated record information of the test data adjustment task in the blockchain network.
In a specific implementation, the test data change information may be integrated and stored in the blockchain, that is, the test data adjustment result and the operation information (such as adjustment parameters, adjustment modes, adjustment ranges, etc. of the user) of the target user account are integrated, so as to obtain integrated record information of the test data adjustment task, record information such as changed log, and store and manage the record information, and support query.
In one example, the data asset management module may store the relevant record information of the test data changes into the blockchain, such as information integration and storage, and then may enter the blockchain system for processing and publishing information after integrating the user change information.
In this embodiment, by integrating the test data adjustment result with the operation information of the target user account, the integrated record information of the test data adjustment task is obtained, and then the integrated record information of the test data adjustment task is stored in the blockchain network, so that the problem that the test data asset cannot be traced back to the modification log after being modified can be solved.
In one embodiment, the issuing, by the blockchain network, the test data adjustment information for the target test data in response to the validation operation of the test data adjustment result stored in the uplink may include the steps of:
displaying the test data adjustment result stored in the uplink in a preset test data adjustment page; and responding to the confirmation operation of the target user account on the test data adjustment result, and issuing test data adjustment information aiming at the target test data through the blockchain network.
In practical application, the test data adjustment result stored in the uplink can be displayed in the test data adjustment page of the test data management platform, so that the target user account can confirm the adjustment result of the target test data, and further after an operator confirms the modification information, namely, in response to the confirmation operation of the target user account on the test data adjustment result, the modification information can be correctly received by other related users.
In this embodiment, the uplink stored test data adjustment result is displayed in the preset test data adjustment page, and then the test data adjustment information for the target test data is issued through the blockchain network in response to the confirmation operation of the target user account on the test data adjustment result, so that the accuracy of the test data adjustment information can be ensured.
In one embodiment, the issuing, through the blockchain network, the test data adjustment information for the target test data may include the steps of:
broadcasting the test data adjustment information to each node in the blockchain network; determining a target node from the blockchain network according to the associated configuration information of each node; the target node and the target test data have an adjustment association relation; and recording test data adjustment information of the target test data in the target node.
The association configuration information may be used to characterize an adjustment association relationship between the corresponding node and the test data, for example, the node may pay attention to an adjustment condition of the test data.
In an example, by adopting the form of blockchain management test data, when the change of the test data is detected, relevant change information (i.e. a test data adjustment result) can be packaged and stored in a blockchain record, for example, the change content, the change type, the change date and the change history record can be integrated for uplink storage, and the test data adjustment information is broadcasted, so that each node of the blockchain network can receive the relevant change information, and when the relevant information focused by the node is changed, the relevant change information can be recorded, i.e. the test data adjustment information of the target test data is recorded in the target node, thereby achieving the effects of effective maintenance and management of the test data and saving project time and labor cost.
In this embodiment, by broadcasting the test data adjustment information to each node in the blockchain network, and then determining the target node from the blockchain network according to the associated configuration information of each node, further recording the test data adjustment information of the target test data in the target node, the timeliness of the test data adjustment feedback can be improved.
In one embodiment, as shown in FIG. 3, a flow diagram of another blockchain-based test data processing method is provided. In this embodiment, the method includes the steps of:
in step 301, a test data adjustment task for a target item is acquired in response to a test data adjustment request of a target user account; the test data adjustment task is an adjustment task for target test data in a target project. In step 302, the data type and the data integrity of the target test data are identified to obtain data attribute information, and the data security parameters and the data authority configuration of the target test data are identified to obtain data security information. In step 303, according to the data attribute information and the data security information, data classification information of the target test data is obtained, and data adjustment authority of the target user account is determined. In step 304, in the case that the data adjustment authority matches the data attribute information and the data security information, a test data adjustment task is performed. In step 305, the test data adjustment result and the operation information of the target user account are integrated to obtain the integrated record information of the test data adjustment task, and the integrated record information of the test data adjustment task is stored in the blockchain network. In step 306, in a preset test data adjustment page, the test data adjustment result stored in the uplink is displayed, and the test data adjustment information is broadcast to each node in the blockchain network in response to the confirmation operation of the target user account on the test data adjustment result. In step 307, a target node is determined from the blockchain network according to the associated configuration information of each node, and test data adjustment information of the target test data is recorded in the target node. It should be noted that, the specific limitation of the above steps may be referred to above for specific limitation of a blockchain-based test data processing method, which is not described herein.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a blockchain-based test data processing device for realizing the blockchain-based test data processing method. The implementation of the solution provided by the apparatus is similar to that described in the above method, so specific limitations in one or more embodiments of the blockchain-based test data processing apparatus provided below may be found in the above limitations of the blockchain-based test data processing method, and will not be repeated here.
In one embodiment, as shown in FIG. 4, there is provided a blockchain-based test data processing device, comprising:
a test data adjustment task obtaining module 401, configured to obtain a test data adjustment task for a target item in response to a test data adjustment request of a target user account; the test data adjustment task is an adjustment task for target test data in the target project;
a test data classification module 402, configured to invoke a pre-established blockchain network to identify data classification information of the target test data, and determine a data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
an adjustment task execution module 403, configured to execute the test data adjustment task when the data adjustment authority is matched with the data attribute information and the data security information, and uplink and store a test data adjustment result corresponding to the test data adjustment task to the blockchain network;
and the test data adjustment information issuing module 404 is configured to issue, through the blockchain network, test data adjustment information for the target test data in response to a confirmation operation of the test data adjustment result stored in the uplink.
In one embodiment, the test data classification module 402 includes:
the data attribute information obtaining sub-module is used for identifying the data type and the data integrity degree of the target test data and obtaining the data attribute information;
the data security information obtaining sub-module is used for identifying data security parameters and data authority configuration of the target test data to obtain the data security information;
and the data classification information obtaining sub-module is used for obtaining the data classification information of the target test data according to the data attribute information and the data security information.
In one embodiment, the test data classification module 402 includes:
the user configuration information acquisition sub-module is used for acquiring user configuration information corresponding to the target item; the user configuration information is used for representing data adjustment authorities of different types of user accounts on different test data in the target item;
and the data adjustment authority determination submodule is used for determining the data adjustment authority of the target user account from the user configuration information according to the type of the target user account.
In one embodiment, the adjustment task execution module 403 includes:
The information integration sub-module is used for integrating the test data adjustment result and the operation information of the target user account to obtain the integrated record information of the test data adjustment task;
and the integrated record storage sub-module is used for storing the integrated record information of the test data adjustment task in the blockchain network.
In one embodiment, the test data adjustment information distribution module 404 includes:
the test data adjustment result display sub-module is used for displaying the test data adjustment result stored in the uplink in a preset test data adjustment page;
and the result confirming sub-module is used for responding to the confirming operation of the target user account on the test data regulating result and issuing test data regulating information aiming at the target test data through the blockchain network.
In one embodiment, the test data adjustment information distribution module 404 includes:
an information broadcasting sub-module for broadcasting the test data adjustment information to each node in the blockchain network;
a target node determining submodule, configured to determine a target node from the blockchain network according to the associated configuration information of each node; the target node and the target test data have an adjustment association relation;
And the test data adjustment information recording sub-module is used for recording the test data adjustment information of the target test data in the target node.
The various modules in the blockchain-based test data processing device described above may be implemented in whole or in part in software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a blockchain-based test data processing method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in FIG. 5 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
executing the test data adjustment task under the condition that the data adjustment authority is matched with the data attribute information and the data security information, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner;
And responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the blockchain network.
In one embodiment, the processor, when executing the computer program, also implements the steps of the blockchain-based test data processing method in other embodiments described above.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
executing the test data adjustment task under the condition that the data adjustment authority is matched with the data attribute information and the data security information, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner;
And responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the blockchain network.
In one embodiment, the computer program when executed by the processor also implements the steps of the blockchain-based test data processing method in the other embodiments described above.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
executing the test data adjustment task under the condition that the data adjustment authority is matched with the data attribute information and the data security information, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner;
And responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the blockchain network.
In one embodiment, the computer program when executed by the processor also implements the steps of the blockchain-based test data processing method in the other embodiments described above.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.

Claims (10)

1. A blockchain-based test data processing method, the method comprising:
responding to a test data adjustment request of a target user account, and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
invoking a pre-established blockchain network to identify data classification information of the target test data, and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
Executing the test data adjustment task under the condition that the data adjustment authority is matched with the data attribute information and the data security information, and storing a test data adjustment result corresponding to the test data adjustment task to the blockchain network in a uplink manner;
and responding to the confirmation operation of the test data adjustment result stored in the uplink, and issuing test data adjustment information aiming at the target test data through the blockchain network.
2. The method of claim 1, wherein the invoking the pre-established blockchain network identifies data classification information of the target test data, comprising:
identifying the data type and the data integrity degree of the target test data to obtain the data attribute information;
identifying data security parameters and data authority configuration of the target test data to obtain the data security information;
and obtaining the data classification information of the target test data according to the data attribute information and the data security information.
3. The method of claim 1, wherein the determining the data adjustment rights for the target user account comprises:
Acquiring user configuration information corresponding to the target item; the user configuration information is used for representing data adjustment authorities of different types of user accounts on different test data in the target item;
and determining the data adjustment authority of the target user account from the user configuration information according to the type of the target user account.
4. The method of claim 1, wherein storing the test data adjustment results corresponding to the test data adjustment tasks in the blockchain network includes:
integrating the test data adjustment result with the operation information of the target user account to obtain integrated record information of the test data adjustment task;
and storing the integrated record information of the test data adjustment task in the blockchain network.
5. The method of claim 1, wherein the issuing, via the blockchain network, test data adjustment information for the target test data in response to a validation operation of the test data adjustment result stored in the uplink comprises:
displaying the test data adjustment result stored in the uplink in a preset test data adjustment page;
And responding to the confirmation operation of the target user account on the test data adjustment result, and issuing test data adjustment information aiming at the target test data through the blockchain network.
6. The method of any of claims 1 to 5, wherein the publishing, via the blockchain network, test data adjustment information for the target test data comprises:
broadcasting the test data adjustment information to each node in the blockchain network;
determining a target node from the blockchain network according to the associated configuration information of each node; the target node and the target test data have an adjustment association relation;
and recording test data adjustment information of the target test data in the target node.
7. A blockchain-based test data processing device, the device comprising:
the test data adjustment task acquisition module is used for responding to a test data adjustment request of a target user account and acquiring a test data adjustment task aiming at a target project; the test data adjustment task is an adjustment task for target test data in the target project;
The test data classification module is used for calling a pre-established blockchain network to identify data classification information of the target test data and determining data adjustment authority of the target user account; the data classification information comprises data attribute information and data security information;
the adjustment task execution module is used for executing the test data adjustment task and storing a test data adjustment result corresponding to the test data adjustment task to the block chain network in an uplink mode under the condition that the data adjustment authority is matched with the data attribute information and the data security information;
and the test data adjustment information issuing module is used for issuing the test data adjustment information aiming at the target test data through the block chain network in response to the confirmation operation of the test data adjustment result stored in the uplink.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202310912311.4A 2023-07-24 2023-07-24 Block chain-based test data processing method and device and computer equipment Pending CN117194561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310912311.4A CN117194561A (en) 2023-07-24 2023-07-24 Block chain-based test data processing method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310912311.4A CN117194561A (en) 2023-07-24 2023-07-24 Block chain-based test data processing method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN117194561A true CN117194561A (en) 2023-12-08

Family

ID=88998638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310912311.4A Pending CN117194561A (en) 2023-07-24 2023-07-24 Block chain-based test data processing method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN117194561A (en)

Similar Documents

Publication Publication Date Title
US11003563B2 (en) Compliance testing through sandbox environments
EP3065077A1 (en) Gap analysis of security requirements against deployed security capabilities
US20140136552A1 (en) Filtering views with predefined query
CN116541372A (en) Data asset management method and system
CN115658794B (en) Data query method, device, computer equipment and storage medium
CN117194561A (en) Block chain-based test data processing method and device and computer equipment
CN115827691A (en) Batch processing result verification method and device, computer equipment and storage medium
CN117194508A (en) Development document processing method and device based on blockchain, and computer equipment
CN113934729A (en) Data management method based on knowledge graph, related equipment and medium
CN115017240A (en) Data providing method and device, processor and electronic equipment
CN114756293A (en) Service processing method, device, computer equipment and storage medium
CN114253518A (en) Intelligent project management method and system
CN111813842B (en) Data processing method, device, system, equipment and storage medium
CN117150449A (en) Source code use permission monitoring method, device, computer equipment and storage medium
CN117033452A (en) Database processing method, device, computer equipment and storage medium
CN117556410A (en) Service data processing method, device, computer equipment and storage medium
CN116860269A (en) Method, apparatus, device, storage medium and program product for managing platform software
CN116756022A (en) Data preparation method, device, computer equipment and storage medium
CN116383138A (en) Document changing method, device, computer equipment and storage medium
CN117150542A (en) Data processing method, device, computer equipment and storage medium
CN116938681A (en) Twin data auditing method and device of network element equipment and computer equipment
CN117557280A (en) Communication product tracing method, device, equipment, medium and program product
CN117076543A (en) Performance measurement method and device, cloud native platform and computer equipment
CN115292182A (en) Method for searching test data conforming to test case in service test scene
CN117151841A (en) Service processing method, device, computer equipment, storage medium and program product

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