Unlock instant, AI-driven research and patent intelligence for your innovation.

Abnormal event simulation method and device and computer equipment

A technology of abnormal event and simulation method, which is applied in the field of communication, can solve problems such as low efficiency and low coverage of abnormal events, and achieve the effect of low efficiency and low coverage of abnormal events

Pending Publication Date: 2019-05-21
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention provide a method and device for simulating abnormal events, as well as computer equipment, to at least solve the technical problems of low efficiency and low coverage of abnormal events in the related art.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Abnormal event simulation method and device and computer equipment
  • Abnormal event simulation method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to better understand the technical solutions of the present invention, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0027] It should be clear that the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0028] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. As used in the embodiments of the present invention and the appended claims, the singular forms "a", "said" and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.

[0029] It should be understood that the term "an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides an abnormal event simulation method and device and computer equipment. The method includes: acquiring the interface addresses of two interfaces with a callingrelation respectively; Determining a specified to-be-simulated abnormal event; Intercepting and acquiring target data sent by an interface for sending data in the two interfaces; Executing exception processing on the target data according to the specified to-be-simulated exception event; And sending the target data subjected to the exception processing to an interface for receiving the data in thetwo interfaces. The technical problems that in the prior art, an abnormal event testing method is low in efficiency and an abnormal event coverage rate is low are solved, and then the technical effect of improving the abnormal event testing efficiency and the abnormal event coverage rate is achieved.

Description

【Technical field】 [0001] The invention relates to the technical field of communication, in particular to a method and device for simulating abnormal events, and computer equipment. 【Background technique】 [0002] During the software development phase, extensive testing of the program is required, including testing for abnormal conditions. For the front-end test, you can use some simple filters (Filter), or plug-ins for test coverage in the integrated development environment (Eclipse), etc. to conduct abnormal tests. But for the back-end test, programmers need to write unit (Junit) test code, each test needs to define some exceptions, and need to write logic assembly, or more complicated, use the mock (Mock) framework to execute the test, but the Mock framework only It can cover exceptions in a small range, but cannot cover a large area for some complex exceptions. In addition, there are Eclipse analysis plug-ins for testing code coverage such as coverage (Coverage) testing ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 刘继武
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN