CN117234910A - Information processing method, device, equipment and storage medium - Google Patents

Information processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN117234910A
CN117234910A CN202311165119.XA CN202311165119A CN117234910A CN 117234910 A CN117234910 A CN 117234910A CN 202311165119 A CN202311165119 A CN 202311165119A CN 117234910 A CN117234910 A CN 117234910A
Authority
CN
China
Prior art keywords
test
information
target
requirement
sub
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
CN202311165119.XA
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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202311165119.XA priority Critical patent/CN117234910A/en
Publication of CN117234910A publication Critical patent/CN117234910A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure provides an information processing method, apparatus, device, and storage medium, which can be applied to the fields of computer technology and financial science and technology. The method comprises the following steps: responding to the received demand information corresponding to the change data, and carrying out format conversion on the demand information based on a preset mapping table to obtain test information; analyzing the test information by utilizing an analysis rule corresponding to the demand information to obtain target information, wherein the analysis rule is obtained by classifying a test sample in a sample database, and test contents and test modes corresponding to the test sample; testing the test information by utilizing a target test mode in the target information to obtain a test result; and outputting a change instruction to upload change data based on the change instruction when the test result indicates that the test passes.

Description

Information processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technology and financial science and technology, and in particular, to an information processing method, apparatus, device, and storage medium.
Background
As project requirements increase, so does the iteration frequency of the versions. The versions usually need to be subjected to nonfunctional testing before being on-line, and various indexes are tested by generating a testing scheme so as to ensure the safety of the on-line versions.
In the process of implementing the disclosed concept, the inventor finds that at least the following problems exist in the related art: in the non-functional test process, because the data volume to be tested is larger, the system resource consumption is higher and the test efficiency is lower by analyzing and testing each index one by one.
Disclosure of Invention
In view of the above, the present disclosure provides information processing methods, apparatuses, devices, media, and program products.
According to a first aspect of the present disclosure, there is provided an information processing method including: responding to the received demand information corresponding to the change data, and carrying out format conversion on the demand information based on a preset mapping table to obtain test information; analyzing the test information by utilizing an analysis rule corresponding to the demand information to obtain target information, wherein the analysis rule is obtained by classifying a test sample in a sample database, and test contents and test modes corresponding to the test sample; testing the test information by utilizing a target test mode in the target information to obtain a test result; and outputting a change instruction to upload the change data based on the change instruction when the test result indicates that the test is passed.
According to an embodiment of the present disclosure, the performing format conversion on the requirement information based on a preset mapping table to obtain test information includes: determining N requirement items in the requirement information, wherein N is more than 2; matching the N requirement items in the preset mapping table to obtain test items corresponding to each requirement item, wherein the preset mapping table comprises mapping relations between the requirement items and the test items; generating test sub-information based on the requirement information and test items corresponding to the requirement items for each requirement item, wherein the test sub-information is in a target format; and combining the N pieces of test sub-information to obtain the test information.
According to an embodiment of the disclosure, the analysis rule includes a requirement analysis rule corresponding to each requirement item, and the analyzing the test information by using the analysis rule corresponding to the requirement information to obtain target information includes: determining a test class of each test sub-information in the test information, wherein the test class is a class of a test object in the test sub-information; for each piece of test sub-information, determining target test contents corresponding to the test category and a target test mode corresponding to the target test contents in the test sub-information by utilizing a target analysis rule, wherein the target analysis rule is a requirement analysis rule corresponding to a requirement item corresponding to the test sub-information; the target information is composed based on the target test content and the target test mode of each piece of the test sub-information.
According to an embodiment of the present disclosure, the above method further includes: determining a requirement analysis rule corresponding to each requirement item in the requirement information from a preset rule base; wherein, each requirement analysis rule in the preset rule base is obtained by the following steps: classifying a plurality of test cases of the sample database by using a first preset rule to obtain a plurality of object information sets, wherein the first preset rule is used for classifying based on nonfunctional performance information of a test object in each test case; classifying a plurality of test cases of the object information sets by using a second preset rule aiming at each object information set to obtain a plurality of content information sets, wherein the second preset rule is used for classifying non-functional processing information based on test content in each test case; determining a test mode of each test content in the content information set according to each content information set; and for each test mode, correlating the test mode, the test content corresponding to the test mode in the content information set and the test object corresponding to the test content in the object information set to obtain the requirement analysis rule.
According to an embodiment of the present disclosure, the testing information is tested by using a target testing manner in the target information, and the method further includes: based on the test operation in the target test mode, a test environment is built; executing the test operation in the test environment to obtain test data; and comparing the test data with preset standard data to obtain the test result.
According to an embodiment of the present disclosure, the above method further includes: and storing the test result and the mapping relation between the change data and the test result into a storage unit.
According to an embodiment of the present disclosure, the above method further includes: and outputting a termination change instruction to prompt that the change data is abnormal under the condition that the test result indicates that the test fails.
A second aspect of the present disclosure provides an information processing apparatus including: the format conversion module is used for responding to the received demand information corresponding to the change data, and carrying out format conversion on the demand information based on a preset mapping table to obtain test information; the information analysis module is used for analyzing the test information by utilizing an analysis rule corresponding to the requirement information to obtain target information, wherein the analysis rule is obtained by classifying a test sample in a sample database, and test contents and test modes corresponding to the test sample; the information testing module is used for testing the testing information by utilizing a target testing mode in the target information to obtain a testing result; and the instruction output module is used for outputting a change instruction to upload the change data based on the change instruction when the test result indicates that the test passes.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described method.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above method.
According to the information processing method, the information processing device, the information processing equipment, the information processing medium and the program product, the format conversion is carried out on the requirement information based on the preset mapping table, so that the requirement information can be conveniently tested. And analyzing the test information by utilizing an analysis rule corresponding to the demand information to obtain target information. The analysis rules unify the test content and the test mode, so that the analysis process is more efficient, and the test efficiency is effectively improved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of an information processing method, apparatus, device, medium, and program product according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of an information processing method according to an embodiment of the present disclosure;
fig. 3 schematically illustrates a flowchart of an information processing method according to another embodiment of the present disclosure.
Fig. 4 schematically shows a block diagram of a structure of an information processing apparatus according to an embodiment of the present disclosure; and
fig. 5 schematically shows a block diagram of an electronic device adapted to implement an information processing method according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the invention, the related user information (including but not limited to user personal information, user image information, user equipment information, such as position information and the like) and data (including but not limited to data for analysis, stored data, displayed data and the like) are information and data authorized by a user or fully authorized by all parties, and the processing of the related data such as collection, storage, use, processing, transmission, provision, disclosure, application and the like are all conducted according to the related laws and regulations and standards of related countries and regions, necessary security measures are adopted, no prejudice to the public welfare is provided, and corresponding operation inlets are provided for the user to select authorization or rejection.
The embodiment of the disclosure provides an information processing method, which responds to received demand information corresponding to change data, and performs format conversion on the demand information based on a preset mapping table to obtain test information; analyzing the test information by utilizing an analysis rule corresponding to the demand information to obtain target information, wherein the analysis rule is obtained by classifying a test sample in a sample database, and test contents and test modes corresponding to the test sample; testing the test information by utilizing a target test mode in the target information to obtain a test result; and outputting a change instruction to upload change data based on the change instruction when the test result indicates that the test passes.
Fig. 1 schematically illustrates an application scenario diagram of an information processing method, apparatus, device, medium, and program product according to an embodiment of the present disclosure.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium used to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 through the network 104 using at least one of the first terminal device 101, the second terminal device 102, the third terminal device 103, to receive or send messages, etc. Various communication client applications, such as a shopping class application, a web browser application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only) may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
The first terminal device 101, the second terminal device 102, the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the information processing method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the information processing apparatus provided by the embodiments of the present disclosure may be generally provided in the server 105. The information processing method provided by the embodiment of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105. Accordingly, the information processing apparatus provided by the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The information processing method of the disclosed embodiment will be described in detail below with reference to fig. 2 and 3 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flowchart of an information processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the information processing method of this embodiment includes operations S210 to S240.
In operation S210, in response to the received requirement information corresponding to the change data, format conversion is performed on the requirement information based on the preset mapping table, so as to obtain test information.
In operation S220, the test information is analyzed by using an analysis rule corresponding to the requirement information to obtain the target information, wherein the analysis rule is obtained by classifying the test sample in the sample database and the test content and the test mode corresponding to the test sample.
In operation S230, the test information is tested by using the target test mode in the target information, so as to obtain a test result.
In operation S240, in the case where the test result indicates that the test passes, a change instruction is output to upload change data based on the change instruction.
According to the embodiment of the disclosure, the change data is submitted during version updating, the demand information corresponding to the change data is received, and whether the current change data meets the operation standard or not is determined based on the demand information, so that the version is updated smoothly based on the change data. The requirement information may include a non-functional requirement determined based on the change data, and may further include a non-functional requirement inherent to the operation. Specifically, testing for non-functional requirements includes performance testing, usability testing, maintainability testing, and the like. The demand information may be a textual description of the service, belonging to a business language.
According to the embodiment of the disclosure, format conversion is performed on the demand information based on the preset mapping table, so as to obtain test information. The preset mapping table is obtained from a database and is obtained by analyzing and summarizing a large amount of historical demand information. After the format conversion is carried out on the requirement information, test item information is obtained, wherein the test information can be technical description of service and belongs to technical language. For example: assuming that the requirement information is that 100 teller are currently doing business, the requirement information is converted into test information, wherein the test information is 100 concurrent users.
According to the embodiment of the disclosure, the analysis rules corresponding to the requirement information are determined, and the analysis rules corresponding to different requirement information are different. The analysis rule is used for analyzing the test information, classifying the information in the test information, and obtaining standard target information so as to be convenient for testing, wherein the target information can be in the form of key value pairs. The analysis rule is obtained by classifying the test sample in the sample database, the test content corresponding to the test sample and the test mode.
According to the embodiment of the disclosure, a target test mode in target information is determined, and the test information is tested by using the target test mode to obtain a test result. And under the condition that the test result characterizes that the test is passed, the change data accords with the operation standard, and the version can be updated normally. And outputting a change instruction to upload change data based on the change instruction and update the version.
According to the embodiment of the disclosure, the format conversion is performed on the demand information based on the preset mapping table, so that the demand information can be conveniently tested. And analyzing the test information by utilizing an analysis rule corresponding to the demand information to obtain target information. The analysis rules unify the test content and the test mode, so that the analysis process is more efficient, and the test efficiency is effectively improved.
According to an embodiment of the present disclosure, format conversion is performed on the requirement information based on a preset mapping table, so as to obtain test information, which may include the following operations:
determining N demand items in the demand information, wherein N is more than 2; matching the N demand items in a preset mapping table to obtain test items corresponding to each demand item, wherein the preset mapping table comprises mapping relations between the demand items and the test items; generating test sub-information based on the requirement information and test items corresponding to the requirement items aiming at each requirement item, wherein the test sub-information is in a target format; and combining the N pieces of test sub-information to obtain test information.
According to an embodiment of the present disclosure, N demand items in demand information are determined, wherein the demand item may be one sub-demand in the demand information. For example: the requirement information comprises the number of teller doing business and the time of the teller doing business centralization, and then the requirement information is determined to comprise two requirement items. And matching each demand item serving as an index in a preset mapping table, and determining a test item corresponding to the demand item in the preset mapping table by calculating the similarity. In particular, the test item may be the number of concurrent users and the runtime.
According to an embodiment of the present disclosure, for each demand item, information related to the demand item is determined from the demand information. For example: the demand item is the number of teller doing business, and the information related to the demand item is determined as the number 100 from the demand information. And combining the information related to the requirement item and the test item to generate test sub-information. For example: and combining the quantity 100 with the number of the concurrent users of the test items to obtain the test sub-information which is the number of the concurrent users 100.
According to the embodiment of the disclosure, the format conversion is performed on the demand information, so that the business language of the demand information is converted into the technical language of the test information, the test on the demand information is facilitated, and meanwhile, the conversion from business to technology is realized.
According to an embodiment of the present disclosure, the analysis rule includes a requirement analysis rule corresponding to each requirement item, and the analysis of the test information to obtain the target information by using the analysis rule corresponding to the requirement information may include the following operations:
determining a test class of each piece of test sub-information in the test information, wherein the test class is a class of a test object in the test sub-information; for each piece of test sub-information, determining target test contents corresponding to the test category and a target test mode corresponding to the target test contents in the test sub-information by utilizing a target analysis rule, wherein the target analysis rule is a requirement analysis rule corresponding to a requirement item corresponding to the test sub-information; and forming target information based on the target test content and the target test mode of each piece of test sub-information.
According to embodiments of the present disclosure, a class of the test object in each test sub-information is determined, and specifically, the class may include a class of performance, high availability, maintainability, and the like. And determining a requirement item corresponding to the test item of the test sub-information, and further determining a requirement analysis rule corresponding to the requirement item. And determining target test contents corresponding to the test categories and target test modes corresponding to the target test contents in the test sub-information by utilizing the requirement analysis rules.
According to embodiments of the present disclosure, the target test content may include a plurality of test patterns and corresponding test patterns include test schemes and test cases. The test scheme comprises the contents of test purposes, test indexes, test objects, test time schedule and the like. The test cases comprise the contents of a specific test mode, a test expected result, a test monitoring point and the like. The test cases focus on the test implementation steps, and the test schemes focus on the test purposes, test indexes and test scenes.
According to the embodiment of the disclosure, the target test content and the target test mode of each piece of test sub-information are combined to obtain target test information. And analyzing the test sub-information by determining the test category and the target analysis rule, so that the obtained target test content and the target test mode are more accurate. And the analysis process is more efficient through the setting of the target analysis rules.
According to an embodiment of the present disclosure, the information processing method may further include the operations of:
and determining a requirement analysis rule corresponding to each requirement item in the requirement information from a preset rule base.
Classifying a plurality of test cases of a sample database by using a first preset rule to obtain a plurality of object information sets, wherein the first preset rule is used for classifying based on nonfunctional performance information of a test object in each test case; classifying a plurality of test cases of the object information sets by using a second preset rule aiming at each object information set to obtain a plurality of content information sets, wherein the second preset rule classifies the non-functional processing information based on the test content in each test case; determining a test mode of each test content in the content information set according to each content information set; and for each test mode, correlating the test mode, the test content corresponding to the test mode in the content information set and the test object corresponding to the test content in the object information set to obtain a requirement analysis rule.
According to the embodiment of the disclosure, the requirement analysis rule corresponding to each requirement item in the requirement information is determined from the preset rule base, specifically, the rule with the highest similarity is determined to be the requirement analysis rule based on searching the requirement item in the preset rule base. Wherein, can obtain the rule base of preseting from the database, the rule base of preseting can modify and adjust based on the change of the business.
According to an embodiment of the present disclosure, when determining each requirement analysis rule in a preset rule base, it is necessary to classify a plurality of test cases of a sample database by using a first preset rule, so as to obtain a plurality of object information sets. The test cases are marked with test indexes such as test purposes, test objects, test contents and the like. The first preset rule is to classify based on non-functional performance information of the test object in each test case. Classification is based on non-functional performance information, and the resulting categories include performance, high availability, maintainability, and the like. Each set of object information includes a plurality of test cases.
According to the embodiment of the disclosure, for each object information set, classifying a plurality of test cases of the object information set by using a second preset rule to obtain a plurality of content information sets, wherein the second preset rule classifies non-functional processing information based on test content in each test case. Classification is based on non-functional process information, and the resulting categories include online transaction performance, batch performance, online transaction stability, and the like. Each set of content information includes a plurality of test cases.
According to the embodiment of the disclosure, for each content information set, a test mode of each test content in the content information set is determined, and different test modes in the same test content are distinguished. And for each test mode, correlating the test mode, the test content corresponding to the test mode in the content information set and the test object corresponding to the test content in the object information set to obtain a requirement analysis rule. In particular, demand analysis rules may be named based on demand.
According to the embodiment of the disclosure, by accumulating nonfunctional test cases, all test objects, test contents and test methods can be effectively distinguished, so that corresponding analysis rules can be summarized. The whole nonfunctional testing process is arranged into a coherent process taking the analysis rule as the center, so that the testing consistency is improved, the testing standardization is enhanced, the understanding difficulty of testers is effectively reduced, and the testing efficiency is effectively improved.
According to an embodiment of the present disclosure, testing test information by using a target test manner in target information may further include the following operations:
based on the test operation in the target test mode, building a test environment; executing test operation in a test environment to obtain test data; and comparing the test data with preset standard data to obtain a test result.
According to the embodiment of the disclosure, the test environment is built based on the test operation in the target test mode, and meanwhile, the practical resource limitation is considered in the building process. And executing test operation in a test environment, and testing target test contents to obtain test data. And comparing the test data with preset standard data to obtain a test result.
According to an embodiment of the present disclosure, the preset standard data may be a specific value previously assigned to each type of test content, and a result expected after the test is performed. And under the condition that the test data and the preset standard data are inconsistent after being compared, determining that the test result is that the test fails. And under the condition that the test data and the standard data are consistent after being compared, determining that the test result is that the test passes. And verifying the test data to further determine whether the change data can be uploaded.
According to an embodiment of the present disclosure, the information processing method may further include the operations of:
and storing the test result and the mapping relation between the change data and the test result into a storage unit.
According to the embodiment of the disclosure, the test result and the mapping relation between the change data and the test result are stored in the storage unit, so that the archiving of the test result is completed, and the follow-up checking of related personnel is facilitated. And the analysis of the test information, the test process and the archiving of the test result are connected, so that the continuity between the test information and the archiving of the test result is effectively enhanced.
According to an embodiment of the present disclosure, the information processing method may further include the operations of:
and outputting a termination change instruction to prompt that the change data is abnormal under the condition that the test result indicates that the test fails.
According to the embodiment of the disclosure, when the test result indicates that the test fails, the test data is inconsistent with the preset standard data, and the requirement information of the changed data does not accord with the operation standard. Therefore, it is not possible to continue uploading the change data and updating the version. The output terminates the change in order to suggest that there is an exception in the change data. The change data is required to be modified and tested again before the version is online, and the change data can be continuously uploaded until the test is passed, so that the version is updated, and the version updating safety is improved.
Fig. 3 schematically illustrates a flowchart of an information processing method according to another embodiment of the present disclosure.
As shown in fig. 3, the information processing method of this embodiment includes operations S310 to S340.
In operation S310, a preset rule base is created.
In operation S320, in response to the received requirement information corresponding to the change data, format conversion is performed on the requirement information based on the preset mapping table, so as to obtain test information.
In operation S330, the test information is analyzed by using the analysis rule corresponding to the requirement information in the preset rule base, so as to obtain the target information.
In operation S340, a test environment is built based on the test operation in the target test mode in the target information.
In operation S350, the test information is tested by using the target test mode in the target information, so as to obtain a test result.
In operation S360, the test result and the mapping relationship between the change data and the test result are stored in the storage unit.
According to the embodiment of the disclosure, the whole nonfunctional testing process is arranged into a coherent process taking the analysis rule as the center, so that the testing consistency is improved, the testing standardization is enhanced, the understanding difficulty of testing personnel is effectively reduced, and the testing efficiency is effectively improved.
Based on the information processing method, the disclosure also provides an information processing device. The device will be described in detail below in connection with fig. 4.
Fig. 4 schematically shows a block diagram of the information processing apparatus according to the embodiment of the present disclosure.
As shown in fig. 4, the information processing apparatus 400 of this embodiment includes a format conversion module 410, an information analysis module 420, an information test module 430, and an instruction output module 440.
The format conversion module 410 is configured to perform format conversion on the requirement information based on a preset mapping table in response to the received requirement information corresponding to the change data, so as to obtain test information. In an embodiment, the format conversion module 410 may be used to perform the operation S210 described above, which is not described herein.
The information analysis module 420 is configured to analyze the test information to obtain target information by using an analysis rule corresponding to the requirement information, where the analysis rule is obtained by classifying a test sample in the sample database and a test content and a test mode corresponding to the test sample. In an embodiment, the information analysis module 420 may be configured to perform the operation S220 described above, which is not described herein.
The information testing module 430 is configured to test the test information by using a target testing manner in the target information, so as to obtain a test result. In an embodiment, the information testing module 430 may be used to perform the operation S230 described above, which is not described herein.
The instruction output module 440 is configured to output a change instruction to upload change data based on the change instruction if the test result indicates that the test passes. In an embodiment, the instruction output module 440 may be configured to perform the operation S240 described above, which is not described herein.
According to the embodiment of the disclosure, the format conversion is performed on the demand information based on the preset mapping table, so that the demand information can be conveniently tested. And analyzing the test information by utilizing an analysis rule corresponding to the demand information to obtain target information. The analysis rules unify the test content and the test mode, so that the analysis process is more efficient, and the test efficiency is effectively improved.
In accordance with an embodiment of the present disclosure, format conversion module 410 includes a requirement determination sub-module, a requirement matching sub-module, an information generation sub-module, and an information combination sub-module.
The demand determination submodule is used for determining N demand items in the demand information, wherein N is greater than 2.
The demand matching sub-module is used for matching the N demand items in a preset mapping table to obtain test items corresponding to each demand item, wherein the preset mapping table comprises mapping relations between the demand items and the test items.
The information generation sub-module is used for generating test sub-information based on the requirement information and the test items corresponding to the requirement items aiming at each requirement item, wherein the test sub-information is in a target format.
And the information combination sub-module is used for combining the N pieces of test sub-information to obtain test information.
According to an embodiment of the present disclosure, the information analysis module 420 includes a category determination sub-module, a manner determination sub-module, and an information composition sub-module.
The class determination sub-module is used for determining the test class of each test sub-information in the test information, wherein the test class is the class of the test object in the test sub-information.
The mode determining sub-module is used for determining target test contents corresponding to the test categories and target test modes corresponding to the target test contents in the test sub-information by utilizing target analysis rules for each piece of test sub-information, wherein the target analysis rules are requirement analysis rules corresponding to requirement items corresponding to the test sub-information.
The information composing sub-module is used for composing the target information based on the target test content and the target test mode of each piece of test sub-information.
According to an embodiment of the present disclosure, the information analysis module 420 further includes a rule determination sub-module.
The rule determining submodule is used for determining a requirement analysis rule corresponding to each requirement item in the requirement information from a preset rule base.
According to an embodiment of the present disclosure, the information processing apparatus 400 further includes a first case classification module, a second case classification module, a manner determination module, and an object association module.
The first case classification module is used for classifying a plurality of test cases of the sample database by using a first preset rule to obtain a plurality of object information sets, wherein the first preset rule is used for classifying based on nonfunctional performance information of the test object in each test case.
And the second case classification module is used for classifying a plurality of test cases of the object information set by utilizing a second preset rule aiming at each object information set to obtain a plurality of content information sets, wherein the second preset rule classifies the non-functional processing information based on the test content in each test case.
And the mode determining module is used for determining the testing mode of each testing content in the content information set aiming at each content information set.
The object association module is used for associating the test modes, the content information sets and the test objects corresponding to the test modes with each test mode, and the object information sets and the test objects corresponding to the test content to obtain the requirement analysis rule.
According to an embodiment of the present disclosure, the information testing module 430 includes an environment building sub-module, a test execution sub-module, and a data comparison sub-module.
The environment building sub-module is used for building a test environment based on the test operation in the target test mode.
And the test execution sub-module is used for executing test operation in a test environment to obtain test data.
And the data comparison sub-module is used for comparing the test data with preset standard data to obtain a test result.
According to an embodiment of the present disclosure, the information processing apparatus 400 further includes a result storage module.
And the result storage module is used for storing the test result and the mapping relation between the change data and the test result into the storage unit.
According to an embodiment of the present disclosure, the information processing apparatus 400 further includes an instruction output module.
The instruction output module is used for outputting a termination change instruction to prompt that the change data is abnormal under the condition that the test result indicates that the test fails.
Any of the format conversion module 410, the information analysis module 420, the information test module 430, and the instruction output module 440 may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules according to an embodiment of the present disclosure. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. At least one of format conversion module 410, information analysis module 420, information test module 430, and instruction output module 440 may be implemented, at least in part, as hardware circuitry, such as a Field Programmable Gate Array (FPGA), programmable Logic Array (PLA), system-on-chip, system-on-substrate, system-on-package, application Specific Integrated Circuit (ASIC), or by hardware or firmware, such as any other reasonable means of integrating or packaging circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware, in accordance with embodiments of the present disclosure. Alternatively, at least one of the format conversion module 410, the information analysis module 420, the information testing module 430, and the instruction output module 440 may be at least partially implemented as a computer program module that, when executed, performs the corresponding functions.
Fig. 5 schematically shows a block diagram of an electronic device adapted to implement an information processing method according to an embodiment of the disclosure.
As shown in fig. 5, an electronic device 500 according to an embodiment of the present disclosure includes a processor 501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. The processor 501 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 501 may also include on-board memory for caching purposes. The processor 501 may comprise a single processing unit or a plurality of processing units for performing different actions of the method flows according to embodiments of the disclosure.
In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 are stored. The processor 501, ROM 502, and RAM 503 are connected to each other by a bus 504. The processor 501 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 502 and/or the RAM 503. Note that the program may be stored in one or more memories other than the ROM 502 and the RAM 503. The processor 501 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 500 may also include an input/output (I/O) interface 505, the input/output (I/O) interface 505 also being connected to the bus 504. The electronic device 500 may also include one or more of the following components connected to an input/output (I/O) interface 505: an input section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The drive 510 is also connected to an input/output (I/O) interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 502 and/or RAM 503 and/or one or more memories other than ROM 502 and RAM 503 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code means for causing a computer system to carry out the information processing method provided by the embodiments of the present disclosure when the computer program product is run on the computer system.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 501. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed, and downloaded and installed in the form of a signal on a network medium, and/or installed from a removable medium 511 via the communication portion 509. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 501. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (11)

1. An information processing method, comprising:
responding to the received demand information corresponding to the change data, and carrying out format conversion on the demand information based on a preset mapping table to obtain test information;
Analyzing the test information by utilizing an analysis rule corresponding to the demand information to obtain target information, wherein the analysis rule is obtained by classifying a test sample in a sample database, and test contents and test modes corresponding to the test sample;
testing the test information by utilizing a target test mode in the target information to obtain a test result;
and outputting a change instruction to upload the change data based on the change instruction under the condition that the test result indicates that the test passes.
2. The method of claim 1, wherein the converting the format of the requirement information based on the preset mapping table to obtain test information includes:
determining N demand items in the demand information, wherein N is more than 2;
matching the N requirement items in the preset mapping table to obtain test items corresponding to each requirement item, wherein the preset mapping table comprises mapping relations between the requirement items and the test items;
generating test sub-information based on the requirement information and test items corresponding to the requirement items aiming at each requirement item, wherein the test sub-information is in a target format;
And combining the N pieces of test sub-information to obtain the test information.
3. The method of claim 2, wherein the analysis rules include a requirement analysis rule corresponding to each requirement item, and the analyzing the test information by using the analysis rule corresponding to the requirement information to obtain target information includes:
determining a test class of each test sub-information in the test information, wherein the test class is a class of a test object in the test sub-information;
determining target test contents corresponding to the test categories and target test modes corresponding to the target test contents in the test sub-information by utilizing target analysis rules aiming at each piece of test sub-information, wherein the target analysis rules are requirement analysis rules corresponding to requirement items corresponding to the test sub-information;
and forming the target information based on the target test content and the target test mode of each piece of test sub-information.
4. A method according to claim 3, further comprising:
determining a requirement analysis rule corresponding to each requirement item in the requirement information from a preset rule base;
Wherein, each requirement analysis rule in the preset rule base is obtained by the following steps:
classifying a plurality of test cases of the sample database by using a first preset rule to obtain a plurality of object information sets, wherein the first preset rule is used for classifying the non-functional performance information of the test objects in each test case;
classifying a plurality of test cases of the object information set by using a second preset rule aiming at each object information set to obtain a plurality of content information sets, wherein the second preset rule classifies the non-functional processing information based on the test content in each test case;
determining a test mode of each test content in the content information set according to each content information set;
and for each test mode, correlating the test mode, the test content corresponding to the test mode in the content information set and the test object corresponding to the test content in the object information set to obtain the requirement analysis rule.
5. The method of claim 1, wherein the testing the test information using the target test mode in the target information further comprises:
Based on the test operation in the target test mode, a test environment is built;
executing the test operation in the test environment to obtain test data;
and comparing the test data with preset standard data to obtain the test result.
6. The method of claim 1, further comprising:
and storing the test result and the mapping relation between the change data and the test result into a storage unit.
7. The method of claim 1, further comprising:
and outputting a termination change instruction to prompt that the change data is abnormal under the condition that the test result indicates that the test fails.
8. An information processing apparatus comprising:
the format conversion module is used for responding to the received demand information corresponding to the change data, and carrying out format conversion on the demand information based on a preset mapping table to obtain test information;
the information analysis module is used for analyzing the test information by utilizing an analysis rule corresponding to the requirement information to obtain target information, wherein the analysis rule is obtained by classifying a test sample in a sample database, and test contents and test modes corresponding to the test sample;
The information testing module is used for testing the testing information by utilizing a target testing mode in the target information to obtain a testing result;
and the instruction output module is used for outputting a change instruction to upload the change data based on the change instruction under the condition that the test result represents that the test is passed.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1-7.
11. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.
CN202311165119.XA 2023-09-11 2023-09-11 Information processing method, device, equipment and storage medium Pending CN117234910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311165119.XA CN117234910A (en) 2023-09-11 2023-09-11 Information processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311165119.XA CN117234910A (en) 2023-09-11 2023-09-11 Information processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117234910A true CN117234910A (en) 2023-12-15

Family

ID=89081836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311165119.XA Pending CN117234910A (en) 2023-09-11 2023-09-11 Information processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117234910A (en)

Similar Documents

Publication Publication Date Title
US20220036244A1 (en) Systems and methods for predictive coding
US11915195B2 (en) Systems and methods for intelligent field matching and anomaly detection
CN111191677B (en) User characteristic data generation method and device and electronic equipment
CN113297287B (en) Automatic user policy deployment method and device and electronic equipment
CN111582649B (en) Risk assessment method and device based on user APP single-heat coding and electronic equipment
CN117216393A (en) Information recommendation method, training method and device of information recommendation model and equipment
CN116702752A (en) File data processing method, device, equipment and storage medium
CN115795345A (en) Information processing method, device, equipment and storage medium
CN117234910A (en) Information processing method, device, equipment and storage medium
CN113052509A (en) Model evaluation method, model evaluation apparatus, electronic device, and storage medium
CN113609018A (en) Test method, training method, device, apparatus, medium, and program product
CN113391988A (en) Method and device for losing user retention, electronic equipment and storage medium
KR20210084641A (en) Method and apparatus for transmitting information
CN117149651A (en) Test method, test device, test equipment and storage medium
CN117435472A (en) Page test method, device, equipment and medium
CN116894004A (en) Information display method and device, electronic equipment and computer readable storage medium
CN116955324A (en) Information processing method, service processing method and device and electronic equipment
CN117421311A (en) Data verification method, device, equipment and storage medium based on artificial intelligence
CN112785197A (en) Information recommendation method, device, computing equipment, medium and program product
CN114266547A (en) Method, device, equipment, medium and program product for identifying business processing strategy
CN115629983A (en) Test case set generation method, device, equipment and medium
CN117093494A (en) Test processing method, device, equipment and storage medium
CN116049508A (en) Test element information generation method, device, equipment and storage medium
CN116467214A (en) Code quality detection method, device, equipment and storage medium
CN115689263A (en) Information generation 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