CN113138876A - Method and device for determining defect influence range of software product - Google Patents
Method and device for determining defect influence range of software product Download PDFInfo
- Publication number
- CN113138876A CN113138876A CN202110562895.8A CN202110562895A CN113138876A CN 113138876 A CN113138876 A CN 113138876A CN 202110562895 A CN202110562895 A CN 202110562895A CN 113138876 A CN113138876 A CN 113138876A
- Authority
- CN
- China
- Prior art keywords
- product
- calling information
- interface calling
- interface
- defective product
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- General Factory Administration (AREA)
Abstract
The invention discloses a method and a device for determining defect influence range of a software product, relating to the technical field of mobile interconnection, wherein the method comprises the following steps: receiving an interface calling information query request of a defective product; and calling an information query request according to an interface of the defective product to feed back a query result, wherein the query result comprises: interface calling information of the defective product; comparing the interface calling information of the defective product with the preset total interface calling information, and determining the interface calling information of the product related to the interface calling information of the defective product, wherein the preset total interface calling information comprises: the interface calling information of the defective product, the interface calling information of the upstream product of the defective product and the interface calling information of the downstream product of the defective product. The whole working process of the invention is automatically executed without depending on manpower, and the invention has the advantages of time saving, labor saving and higher precision of examination and verification.
Description
Technical Field
The invention relates to the technical field of mobile interconnection, in particular to a method and a device for determining defect influence range of a software product.
Background
At present, when a software product is put into production each time, if a certain product has a defect, the upstream and downstream products need to check the affected range and the affected degree of the product one by one. And, after the defect is repaired, the upstream and downstream products need to verify whether the influence on the products is normal or not.
The inventor finds that the prior art has at least the following problems:
in the prior art, the checking and verification work depends on manpower, is limited by the technical capability and familiarity of the members of the product group, is time-consuming and labor-consuming, has great influence on the main appearance and reduces the checking and verification accuracy.
Disclosure of Invention
The embodiment of the invention provides a method for determining the defect influence range of a software product, which is automatically executed in the whole working process, does not need to rely on manpower, saves time and labor and has higher precision of examination and verification, and comprises the following steps:
receiving an interface calling information query request of a defective product;
the method comprises the following steps of calling an information query request according to an interface of a defective product to feed back a query result, wherein the query result comprises the following steps: interface calling information of the defective product;
comparing the interface calling information of the defective product with preset total interface calling information, and determining the interface calling information of the product related to the interface calling information of the defective product, wherein the preset total interface calling information comprises: the interface calling information of the defective product, the interface calling information of the upstream product of the defective product and the interface calling information of the downstream product of the defective product.
Optionally, after comparing the interface calling information of the defective product with the preset total interface calling information and determining the interface calling information of the product related to the interface calling information of the defective product, the method further includes:
and generating a defect diagnosis report according to the interface calling information of the product related to the interface calling information of the defective product.
Optionally, after generating a defect diagnosis report according to the interface calling information of the product related to the interface calling information of the defective product, the method further includes:
and displaying the defect diagnosis report to a user in a visual form.
Optionally, after comparing the interface calling information of the defective product with the preset total interface calling information and determining the interface calling information of the product related to the interface calling information of the defective product, the method further includes:
and determining the interface position of the product related to the interface calling information of the defective product according to the interface calling information of the product related to the interface calling information of the defective product.
The embodiment of the invention also provides a device for determining the defect influence range of a software product, the whole working process is automatically executed, the device does not need to rely on manpower, is time-saving and labor-saving, and has higher precision of checking and verifying, and the device comprises:
the request receiving module is used for receiving an interface calling information query request of a defective product;
the query module is used for calling the information query request to feed back a query result according to the interface of the defective product, and the query result comprises: interface calling information of the defective product;
an information determining module, configured to compare the interface calling information of the defective product with preset total interface calling information, and determine the interface calling information of a product related to the interface calling information of the defective product, where the preset total interface calling information includes: the interface calling information of the defective product, the interface calling information of the upstream product of the defective product and the interface calling information of the downstream product of the defective product.
Optionally, the apparatus further comprises:
and the report generation module is used for generating a defect diagnosis report according to the product interface calling information related to the defect product interface calling information.
Optionally, the apparatus further comprises:
and the display module is used for displaying the defect diagnosis report to a user in a visual mode.
Optionally, the apparatus further comprises:
and the positioning module is used for determining the interface position of the product related to the interface calling information of the defective product according to the product interface calling information related to the interface calling information of the defective product.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program for executing the above method is stored.
In the embodiment of the invention, the interface calling information query request of the defective product is received, the query result is fed back according to the interface calling information query request of the defective product, and the interface calling information of the defective product is compared with the preset total interface calling information, so that the interface calling information of the product related to the interface calling information of the defective product can be determined.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a flowchart of a method for determining a defect impact range of a software product according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for determining a defect influence range of a software product according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a defect influence range determining apparatus of a software product according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a defect influence range determining apparatus of a software product according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a computer apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
It should be noted that the following interfaces are Application Program Interfaces (API), which are predefined interfaces (e.g. functions, HTTP interfaces) or predetermined interfaces for linking different components of the software system. To provide a set of routines that applications and developers can access based on certain software or hardware without accessing source code or understanding the details of the internal workings.
Fig. 1 is a flowchart of a method for determining a defect influence range of a software product according to an embodiment of the present invention, as shown in fig. 1, the method includes:
102, calling an information query request according to an interface of a defective product and feeding back a query result, wherein the query result comprises: and calling information by the interface of the defective product.
In specific implementation, when a defective product appears in the product, the interface calling information of the defective product can be input to the client to perform query work.
103, comparing the interface calling information of the defective product with preset total interface calling information, and determining the interface calling information of the product related to the interface calling information of the defective product, wherein the preset total interface calling information includes: the interface calling information of the defective product, the interface calling information of the upstream product of the defective product and the interface calling information of the downstream product of the defective product.
In an embodiment, for example, when the defective product is a message push platform (the interface of the defective product includes a message sending interface, a message query interface, and the like), the upstream product or the downstream product of the defective product may be a mobile banking machine.
The preset total interface calling information can be pre-entered, specifically, the preset total interface calling information can be entered in a mode of combining automatic entry and manual entry, and can also be automatically entered by reading an interface document and assisted by manual confirmation.
According to the method for determining the defect influence range of the software product, provided by the embodiment of the invention, the interface calling information query request of the defective product is received, the query result is fed back according to the interface calling information query request of the defective product, and the interface calling information of the defective product is compared with the preset total interface calling information, so that the interface calling information of the product related to the interface calling information of the defective product can be determined.
In an embodiment of the present invention, as shown in fig. 2, in order to store and view information, after comparing interface call information of the defective product with preset total interface call information and determining interface call information of a product related to the interface call information of the defective product, the method further includes:
Further, after generating a defect diagnosis report according to the product interface calling information related to the defect product interface calling information, the method further includes:
and displaying the defect diagnosis report to a user in a visual form.
Specifically, the defect diagnosis report may be presented to the user in the form of a chart.
In an embodiment of the present invention, in order to accurately locate an interface position of a product related to interface calling information of a defective product and provide convenience for a developer in a diagnosis work, after comparing the interface calling information of the defective product with preset total interface calling information and determining the interface calling information of the product related to the interface calling information of the defective product, the method further includes:
and determining the interface position of the product related to the interface calling information of the defective product according to the interface calling information of the product related to the interface calling information of the defective product.
It should be noted that, a product has a plurality of functional interfaces, and when a problem occurs in a functional interface in the product, the interfaces of the product that has been called and called with the functional interface need to be found, and specifically, the interfaces may be retrieved in the form of a retrieval code.
Based on the same inventive concept, the embodiment of the present invention further provides a device for determining a defect influence range of a software product, as described in the following embodiments. Because the principle of solving the problem of the defect influence range determining device of the software product is similar to the defect influence range determining method of the software product, the implementation of the defect influence range determining device of the software product can refer to the implementation of the defect influence range determining method of the software product, and repeated parts are not described again. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a schematic structural diagram of an apparatus for determining a defect influence range of a software product according to an embodiment of the present invention, as shown in fig. 3, the apparatus includes:
a request receiving module 301, configured to receive an interface call information query request of a defective product;
the query module 302 is configured to invoke an information query request according to an interface of a defective product and feed back a query result, where the query result includes: interface calling information of the defective product;
an information determining module 303, configured to compare the interface calling information of the defective product with preset total interface calling information, and determine the interface calling information of a product related to the interface calling information of the defective product, where the preset total interface calling information includes: the interface calling information of the defective product, the interface calling information of the upstream product of the defective product and the interface calling information of the downstream product of the defective product.
In the embodiment of the present invention, as shown in fig. 4, the apparatus further includes:
a report generating module 401, configured to generate a defect diagnosis report according to the product interface call information related to the defect product interface call information.
In an embodiment of the present invention, the apparatus further includes:
and the display module is used for displaying the defect diagnosis report to a user in a visual mode.
In an embodiment of the present invention, the apparatus further includes:
and the positioning module is used for determining the interface position of the product related to the interface calling information of the defective product according to the product interface calling information related to the interface calling information of the defective product.
To achieve the above object, according to another aspect of the present application, there is also provided a computer apparatus. As shown in fig. 5, the computer device comprises a memory, a processor, a communication interface and a communication bus, wherein a computer program that can be run on the processor is stored in the memory, and the steps of the method of the above embodiment are realized when the processor executes the computer program.
The processor may be a Central Processing Unit (CPU). The Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or a combination thereof.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and units, such as the corresponding program units in the above-described method embodiments of the present invention. The processor executes various functional applications of the processor and the processing of the work data by executing the non-transitory software programs, instructions and modules stored in the memory, that is, the method in the above method embodiment is realized.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor, and the like. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and such remote memory may be coupled to the processor via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more units are stored in the memory and when executed by the processor perform the method of the above embodiments.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program for executing the above method is stored.
In summary, the interface calling information query request of the defective product is received, the query result is fed back according to the interface calling information query request of the defective product, the interface calling information of the defective product is compared with the preset total interface calling information, the interface calling information of the product related to the interface calling information of the defective product can be determined, the whole working process is automatically executed, manpower is not needed, time and labor are saved, the objective basis of the inspection result is provided, and the inspection and verification accuracy is high. In addition, the method is convenient to use, supports the product division and the function division to form the defect influence analysis report, and can adapt to different scenes.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A method for determining a defect influence range of a software product, comprising:
receiving an interface calling information query request of a defective product;
the method comprises the following steps of calling an information query request according to an interface of a defective product to feed back a query result, wherein the query result comprises the following steps: interface calling information of the defective product;
comparing the interface calling information of the defective product with preset total interface calling information, and determining the interface calling information of the product related to the interface calling information of the defective product, wherein the preset total interface calling information comprises: the interface calling information of the defective product, the interface calling information of the upstream product of the defective product and the interface calling information of the downstream product of the defective product.
2. The method of claim 1, wherein after comparing the interface call information of the defective product with preset total interface call information and determining the interface call information of the product related to the interface call information of the defective product, the method further comprises:
and generating a defect diagnosis report according to the interface calling information of the product related to the interface calling information of the defective product.
3. The method of claim 2, wherein after generating the defect diagnosis report according to the interface call information of the product related to the interface call information of the defective product, the method further comprises:
and displaying the defect diagnosis report to a user in a visual form.
4. The method of claim 1, wherein after comparing the interface call information of the defective product with preset total interface call information and determining the interface call information of the product related to the interface call information of the defective product, the method further comprises:
and determining the interface position of the product related to the interface calling information of the defective product according to the interface calling information of the product related to the interface calling information of the defective product.
5. A defect influence range determination apparatus for a software product, comprising:
the request receiving module is used for receiving an interface calling information query request of a defective product;
the query module is used for calling the information query request to feed back a query result according to the interface of the defective product, and the query result comprises: interface calling information of the defective product;
an information determining module, configured to compare the interface calling information of the defective product with preset total interface calling information, and determine the interface calling information of a product related to the interface calling information of the defective product, where the preset total interface calling information includes: the interface calling information of the defective product, the interface calling information of the upstream product of the defective product and the interface calling information of the downstream product of the defective product.
6. The apparatus of claim 5, wherein the apparatus further comprises:
and the report generation module is used for generating a defect diagnosis report according to the product interface calling information related to the defect product interface calling information.
7. The apparatus of claim 6, wherein the apparatus further comprises:
and the display module is used for displaying the defect diagnosis report to a user in a visual mode.
8. The apparatus of claim 5, wherein the apparatus further comprises:
and the positioning module is used for determining the interface position of the product related to the interface calling information of the defective product according to the product interface calling information related to the interface calling information of the defective product.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110562895.8A CN113138876A (en) | 2021-05-24 | 2021-05-24 | Method and device for determining defect influence range of software product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110562895.8A CN113138876A (en) | 2021-05-24 | 2021-05-24 | Method and device for determining defect influence range of software product |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN113138876A true CN113138876A (en) | 2021-07-20 |
Family
ID=76817487
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110562895.8A Pending CN113138876A (en) | 2021-05-24 | 2021-05-24 | Method and device for determining defect influence range of software product |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113138876A (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102833109A (en) * | 2012-08-30 | 2012-12-19 | 华为技术有限公司 | Positional information processing method and equipment of fault point |
| CN104142881A (en) * | 2013-05-07 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Adaptive defect detecting method and device of application program programming interfaces |
| US20150095887A1 (en) * | 2013-10-01 | 2015-04-02 | Wipro Limited | Systems and methods for fixing software defects in a binary or executable file |
| CN111190817A (en) * | 2019-12-23 | 2020-05-22 | 平安医疗健康管理股份有限公司 | Method and device for processing software defects |
-
2021
- 2021-05-24 CN CN202110562895.8A patent/CN113138876A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102833109A (en) * | 2012-08-30 | 2012-12-19 | 华为技术有限公司 | Positional information processing method and equipment of fault point |
| CN104142881A (en) * | 2013-05-07 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Adaptive defect detecting method and device of application program programming interfaces |
| US20150095887A1 (en) * | 2013-10-01 | 2015-04-02 | Wipro Limited | Systems and methods for fixing software defects in a binary or executable file |
| CN111190817A (en) * | 2019-12-23 | 2020-05-22 | 平安医疗健康管理股份有限公司 | Method and device for processing software defects |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9367427B2 (en) | Embedding and executing trace functions in code to gather trace data | |
| CN111522738A (en) | Test method and device of micro-service system, storage medium and electronic equipment | |
| CN111522728A (en) | Method for generating automatic test case, electronic device and readable storage medium | |
| CN111221727B (en) | Test method, test device, electronic equipment and computer readable medium | |
| CN110941519B (en) | Chip testing method and device of network equipment | |
| CN114048145A (en) | Transaction verification test method and device, electronic equipment, storage medium | |
| CN113282504A (en) | Incremental code coverage rate detection method and service development method and device | |
| CN111737148A (en) | Automatic regression testing method and device, computer equipment and storage medium | |
| CN112416648A (en) | Data verification method and device | |
| CN113495755A (en) | Information multi-dimensional analysis method and device | |
| CN109871368B (en) | Database detection method, database detection device, computer device and storage medium | |
| CN112632174B (en) | A method, device and system for data verification | |
| CN112132544B (en) | Inspection method and device of business system | |
| CN113138876A (en) | Method and device for determining defect influence range of software product | |
| CN113485697A (en) | Model construction operation service method and system under artificial intelligence framework | |
| CN113254350A (en) | Flink operation testing method, device, equipment and storage medium | |
| CN115033179B (en) | Data storage method, device, equipment and medium | |
| CN117033208A (en) | Interface contract checking method and device, electronic equipment and storage medium | |
| CN112115046B (en) | Software fault positioning method, device and terminal | |
| CN110716855B (en) | Processor instruction set testing method and device | |
| CN114090424A (en) | Troubleshooting method, troubleshooting device, troubleshooting equipment and computer storage medium | |
| CN115203178A (en) | Data quality inspection method and device, electronic equipment and storage medium | |
| CN114721943A (en) | Method and device for determining test range | |
| CN114443004A (en) | Branch merging method, computer device and computer storage medium | |
| CN113566869A (en) | Method and system for automatic calibration of outgoing signal of vehicle-mounted instrument |
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 |