Fault information reproduction method, device, fault reproduction equipment and storage medium

By obtaining fault information, finding target services and sending fault reproducing instructions, the problem of difficulty in reproducing faults in visual network equipment is solved, rapid repair and improvement of testing efficiency are achieved, and business stability is ensured.

CN114443334BActive Publication Date: 2025-02-18海南乾唐视联信息技术有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111649764.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2025-02-18
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

During the testing and use of visual network devices, how to quickly reproduce and repair equipment failures, improve testing efficiency and business stability.

Method used

By obtaining the fault information to be reproduced, the target service corresponding to the fault information is found from the pre-established reproduction problem database, the fault reproduction instruction is determined and sent to the visual networking device, so that it can reproduce the fault according to the instructions, and generate The results of the business execution are used to judge the success of the reproduction.

Benefits of technology

It realizes rapid reproduction and repair of faults in visual networking equipment, improves testing efficiency, and effectively ensures the stable operation of visual networking services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114443334B_ABST
    Figure CN114443334B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a method, apparatus, fault reproduction device and storage medium for reproducing fault information, including: obtaining fault information to be reproduced; searching for a target business corresponding to the fault information from a pre-established reproduction problem library; determining a fault reproduction instruction corresponding to the target business; sending the fault reproduction instruction to a visual network device, so that the visual network device reproduces the fault according to the fault reproduction instruction. In this way, faults that occur in visual network devices during the testing process or user use can be quickly reproduced and then repaired, and the repaired faults can be quickly verified, thereby improving the testing efficiency and effectively ensuring the stable operation of visual network services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a method and device for reproducing fault information, a fault reproduction device and a storage medium. Background Art

[0002] With the continuous development of communication technology, visual networking has gradually entered people's lives, and visual networking services are needed in more and more scenarios. When visual networking equipment leaves the factory, testers need to test the functions of visual networking equipment in different scenarios to avoid malfunctions of visual networking equipment during customer use, which will affect the normal use of customers.

[0003] Whether it is during the testing process of testers or during the use of customers, some problems may arise under special circumstances. How to reproduce the problems of visual Internet of Things devices and then repair the visual Internet of Things devices to reduce the operating failure rate of visual Internet of Things devices is a problem that needs to be solved at present. Summary of the invention

[0004] In view of the above problems, embodiments of the present invention are proposed to provide a method, apparatus, fault reproduction device and storage medium for reproducing fault information that overcome the above problems or at least partially solve the above problems.

[0005] In a first aspect, an embodiment of the present invention provides a method for reproducing fault information, the method comprising:

[0006] Get the fault information to be reproduced;

[0007] Searching for a target business corresponding to the fault information from a pre-established recurrence problem library;

[0008] Determine a fault reproduction instruction corresponding to the target service;

[0009] The fault reproduction instruction is sent to the visual networking device, so that the visual networking device reproduces the fault according to the fault reproduction instruction.

[0010] Optionally, before obtaining the fault information to be reproduced, the method further includes:

[0011] A recurrence problem library is established in advance, and the recurrence problem library includes a fault information identifier, business data information corresponding to the fault information identifier, and a recurrence probability; the business data information at least includes a business identifier, a business parameter corresponding to the business identifier, and a recurrence method corresponding to the business identifier.

[0012] Optionally, the determining a fault reproduction instruction corresponding to the target service includes:

[0013] Determining, according to the service identifier, a service parameter corresponding to the service identifier;

[0014] According to the reproduction mode corresponding to the service identifier, the service parameters are modified, and a fault reproduction instruction corresponding to the reproduction mode is generated.

[0015] Optionally, the determining a fault reproduction instruction corresponding to the target service includes:

[0016] According to different application scenarios corresponding to the service identifier, a reproduction method corresponding to the application scenario is determined, and according to the reproduction method, a fault reproduction instruction corresponding to the reproduction method is determined.

[0017] Optionally, the method further comprises:

[0018] Receiving a service execution result returned by the visual networking device, wherein the service execution result at least includes the service identifier and an execution result corresponding to the service identifier, and the execution result includes execution success or execution failure;

[0019] A fault reproduction report corresponding to the fault information is generated according to the service execution result, and the fault reproduction report corresponds to the service identifier.

[0020] Optionally, searching for a target business corresponding to the fault information from a pre-established recurrence problem library includes:

[0021] Searching for one or more service identifiers corresponding to the fault information identifier from a pre-established recurrence problem library;

[0022] If the service identifier corresponding to the fault information identifier is one, determining the service identifier as the target service identifier;

[0023] If there are multiple service identifiers corresponding to the fault information identifier, a service identifier is selected from the multiple service identifiers according to a preset rule, and the service identifier is determined as the target service identifier, wherein the preset rule at least includes random determination or sequential determination.

[0024] Optionally, sending the fault reproduction instruction to a visual networking device so that the visual networking device reproduces the fault according to the fault reproduction instruction includes:

[0025] In the case where the recurrence probability is full probability information recurrence, the fault recurrence instruction is sent to the visual networking device, so that the visual networking device executes the fault recurrence instruction and generates a fault recurrence phenomenon;

[0026] and / or

[0027] In the case where the recurrence probability is the recurrence of partial probability information, and the partial probability information includes the total number of recurrences and the number of faults that occur, the fault recurrence instruction is sent to the visual networking device in a loop according to the total number of recurrences, so that the visual networking device executes the fault recurrence instruction and generates a business execution result.

[0028] In a second aspect, an embodiment of the present invention provides a device for reproducing fault information, the device comprising:

[0029] An acquisition module is used to obtain the fault information to be reproduced;

[0030] A search module, used to search for a target business corresponding to the fault information from a pre-established recurrence problem library;

[0031] An encapsulation module, used to determine a fault reproduction instruction corresponding to the target service;

[0032] A reproduction module is used to send the fault reproduction instruction to the visual networking device, so that the visual networking device reproduces the fault according to the fault reproduction instruction.

[0033] Optionally, the device further comprises an establishing module, wherein the establishing module is configured to:

[0034] A recurrence problem library is established in advance, and the recurrence problem library includes a fault information identifier, business data information corresponding to the fault information identifier, and a recurrence probability; the business data information at least includes a business identifier, a business parameter corresponding to the business identifier, and a recurrence method corresponding to the business identifier.

[0035] Optionally, the encapsulation module is used to:

[0036] Determining, according to the service identifier, a service parameter corresponding to the service identifier;

[0037] According to the reproduction mode corresponding to the service identifier, the service parameters are modified, and a fault reproduction instruction corresponding to the reproduction mode is generated.

[0038] Optionally, the encapsulation module is used to:

[0039] According to different application scenarios corresponding to the service identifier, a reproduction method corresponding to the application scenario is determined, and according to the reproduction method, a fault reproduction instruction corresponding to the reproduction method is determined.

[0040] Optionally, the reproduction module is further used to:

[0041] Receiving a service execution result returned by the visual networking device, wherein the service execution result at least includes the service identifier and an execution result corresponding to the service identifier, and the execution result includes execution success or execution failure;

[0042] A fault reproduction report corresponding to the fault information is generated according to the service execution result, and the fault reproduction report corresponds to the service identifier.

[0043] Optionally, the search module is used to:

[0044] Searching for one or more service identifiers corresponding to the fault information identifier from a pre-established recurrence problem library;

[0045] If the service identifier corresponding to the fault information identifier is one, determining the service identifier as the target service identifier;

[0046] If there are multiple service identifiers corresponding to the fault information identifier, a service identifier is selected from the multiple service identifiers according to a preset rule, and the service identifier is determined as the target service identifier, wherein the preset rule at least includes random determination or sequential determination.

[0047] Optionally, the reproduction module is used to:

[0048] In the case where the recurrence probability is full probability information recurrence, the fault recurrence instruction is sent to the visual networking device, so that the visual networking device executes the fault recurrence instruction and generates a fault recurrence phenomenon;

[0049] In the case where the recurrence probability is the recurrence of partial probability information, and the partial probability information includes the total number of recurrences and the number of faults that occur, the fault recurrence instruction is sent to the visual networking device in a loop according to the total number of recurrences, so that the visual networking device executes the fault recurrence instruction and generates a business execution result.

[0050] In a third aspect, an embodiment of the present invention provides a fault reproduction device, comprising: at least one processor and a memory;

[0051] The memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the method for reproducing fault information provided in the first aspect.

[0052] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the method for reproducing fault information provided in the first aspect is implemented.

[0053] The embodiments of the present invention include the following advantages:

[0054] The fault information reproduction method, apparatus, fault reproduction device and storage medium provided in the embodiments of the present invention obtain the fault information to be reproduced; search the target business corresponding to the fault information from a pre-established reproduction problem library; determine the fault reproduction instruction corresponding to the target business; send the fault reproduction instruction to the visual network device, so that the visual network device reproduces the fault according to the fault reproduction instruction, obtain the fault information to be reproduced, search the target business corresponding to the fault information in a pre-established reproduction problem library, and generate a fault reproduction instruction according to the fault information, the visual network device executes the fault reproduction instruction to generate a business processing result, and then determines whether the fault is reproduced according to the business processing result. In this way, the fault of the visual network device during the test process or the user's use process can be quickly reproduced, and then repaired, and the repaired fault can be quickly verified, thereby improving the test efficiency and effectively ensuring the stable operation of the visual network business. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a flowchart of a method for reproducing fault information according to an embodiment of the present invention;

[0056] Figure 2 is a flowchart of another embodiment of a method for reproducing fault information of the present invention;

[0057] Figure 3 is a structural block diagram of an embodiment of a system for reproducing fault information of the present invention;

[0058] Figure 4 is a flowchart of steps of another embodiment of a method for reproducing fault information of the present invention;

[0059] Figure 5 It is a structural block diagram of an embodiment of a device for reproducing fault information of the present invention;

[0060] Figure 6 It is a structural schematic diagram of a fault reproduction device of the present invention. DETAILED DESCRIPTION

[0061] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0062] An embodiment of the present invention provides a method for reproducing fault information, which is used to reproduce a fault. The execution subject of this embodiment is a device for reproducing fault information, which is arranged on a reproduction server.

[0063] Reference Figure 1 , shows a flowchart of a method for reproducing fault information according to an embodiment of the present invention, which may specifically include the following steps:

[0064] S101, obtaining fault information to be reproduced;

[0065] Specifically, in the prior art, during the testing process or when the user uses the visual networking device, a fault occurs in the visual networking device, and the tester needs to reproduce the fault in order to facilitate repair. An embodiment of the present invention provides a method for reproducing fault information, which is applied to a reproduction server, and a reproduction tool is installed on the reproduction server. The reproduction tool has an operable interface. The reproduction server can be an X86 server. The reproduction server can perform TCP (Transmission Control Protocol) connection and communication with the visual networking device. The visual networking device includes visual networking terminal devices, core servers, conference management servers and network management servers, etc. The visual networking terminal devices include at least Qiming terminals, Aurora terminals, etc.

[0066] Specifically, the user can click on the label of the fault information to be reproduced through the operable interface of the reproduction tool on the reproduction server, where one or more labels of the fault information to be reproduced can be clicked, and the reproduction server obtains the fault information to be reproduced, which includes one or more fault information identifiers, and multiple means two or more.

[0067] S102, searching for a target business corresponding to the fault information from a pre-established recurrence problem library;

[0068] Specifically, a recurrence problem library is pre-established on the recurrence server, and the recurrence problem library includes the correspondence between the fault information identifier and the service identifier. When the recurrence server obtains the fault information identifier, it searches for the target service corresponding to the fault information in the pre-established recurrence problem library.

[0069] Exemplarily, the recurrence problem library includes fault information identification 1 and fault information identification 2, the service identification corresponding to the fault information identification 1 includes service identification 1, service identification 2 and service identification 3, and the service identification corresponding to the fault information identification 2 includes service identification 1 and service identification 4;

[0070] When the fault information identifier 1 is obtained, three service identifiers corresponding to the fault information identifier 1 can be found, and then a service identifier 2 is randomly selected from the three service identifiers, and the service identifier 2 is used as the target service identifier.

[0071] S103, determining a fault reproduction instruction corresponding to the target service;

[0072] Specifically, after obtaining the service identifier, the reproduction server generates different fault reproduction instructions according to different reproduction modes corresponding to the service identifier. In the embodiment of the present invention, it includes a fault reproduction instruction that does not modify the content of the data packet, and also includes a fault reproduction instruction that modifies the content of the data packet, wherein the fault reproduction instruction that does not modify the content of the data packet, for example, reproduces the fault problem of the data packet sequence, or corresponds to different fault reproduction modes for different scenarios; the fault reproduction instruction that modifies the content of the data packet, for example, lacks a field in the header of the data packet, or does not have a terminator field, etc.

[0073] Exemplarily, if the fault information is "the core server received a business instruction packet without 4 F terminators", the corresponding business identifier a1 is "obtain core server configuration file", and the business parameters of "obtain core server configuration file" obtained are the operation code, file identifier (1-system configuration file; 2-device registration file;...), when the business data packet is packaged, 4 F terminators are not added to the end of the business data packet, and then the fault reproduction instruction is obtained.

[0074] S104. Send a fault reproduction instruction to the visual networking device, so that the visual networking device reproduces the fault according to the fault reproduction instruction.

[0075] Specifically, the reproduction server sends the fault reproduction instruction to the visual networking device, the visual networking device executes the fault reproduction instruction and obtains the business processing result, and the visual networking device sends the business processing result to the reproduction server, and the reproduction server generates a fault reproduction report according to the business processing result. In this way, the user can understand through the reproduction report whether a certain fault of a certain business is successfully reproduced and how to repair the fault. After the fault is repaired, the reproduction can be performed again to verify whether the fault has been repaired.

[0076] The method for reproducing fault information provided by the embodiment of the present invention obtains the fault information to be reproduced; searches for the target business corresponding to the fault information from a pre-established reproduction problem library; determines the fault reproduction instruction corresponding to the target business; and sends the fault reproduction instruction to the visual network device, so that the visual network device reproduces the fault according to the fault reproduction instruction. By obtaining the fault information to be reproduced, the target business corresponding to the fault information is searched in a pre-established reproduction problem library, and a fault reproduction instruction is generated according to the fault information. The visual network device executes the fault reproduction instruction to generate a business processing result, and then determines whether the fault is reproduced according to the business processing result. In this way, the fault of the visual network device during the test process or the user's use process can be quickly reproduced, and then repaired, and the repaired fault can be quickly verified, thereby improving the test efficiency and effectively ensuring the stable operation of the visual network business.

[0077] Another embodiment of the present invention further supplements the method for reproducing fault information provided in the above embodiment.

[0078] like Figure 2 FIG. 1 is a flowchart showing another method for reproducing fault information according to an embodiment of the present invention, wherein the method for reproducing fault information includes:

[0079] S201. Pre-establish a recurrence problem library, wherein the recurrence problem library includes a fault information identifier, business data information corresponding to the fault information identifier, and a recurrence probability; the business data information includes at least a business identifier, a business parameter corresponding to the business identifier, and a recurrence method corresponding to the business identifier.

[0080] Specifically, a reproduction tool is established on the reproduction server, and a reproduction problem library is added to the reproduction tool to record the business where each fault occurs and the probability of occurrence, etc. Furthermore, the reproduction problem library also includes a visual network business library, which includes business parameters corresponding to each business. In other words, the business corresponding to each fault constitutes a business database, which includes a business identifier, business parameters corresponding to the business identifier, and a reproduction method corresponding to the business identifier.

[0081] S202, obtaining fault information to be reproduced;

[0082] S203, searching for one or more service identifiers corresponding to the fault information identifier from a pre-established recurrence problem library;

[0083] Since steps S202 to S203 are Figure 1 Steps S101 and S102 in the illustrated embodiment are identical. Figure 1 Steps S101 to S102 have been described in detail in the specification, so steps S202 to S203 will not be described in detail here.

[0084] S204: If the service identifier corresponding to the fault information identifier is one, determine the service identifier as the target service identifier;

[0085] S205: If there are multiple service identifiers corresponding to the fault information identifier, select a service identifier from the multiple service identifiers according to a preset rule, and determine the service identifier as a target service identifier, wherein the preset rule at least includes random determination or sequential determination.

[0086] Specifically, when the reproduction server determines that there are multiple business identifiers corresponding to the fault information identifier, that is, the fault information will appear in multiple businesses, a business identifier is selected from these multiple business identifiers according to preset rules as the target business identifier. For example, one can be randomly selected from multiple business identifiers. Exemplarily, any one of the three business identifiers can be selected, or they can be selected in sequence according to the order stored in the business database. Exemplarily, business identifier 1, business identifier 2, etc. can be selected in sequence as the target business identifier.

[0087] Specifically, there are multiple services that cause fault 1, such as starting a video conference and starting a telephone conference. One service identifier is selected from the multiple service identifiers according to a preset rule as a target service identifier.

[0088] S206, determining a fault reproduction instruction corresponding to the target service;

[0089] Specifically, as an optional implementation mode, according to the service identifier, a service parameter corresponding to the service identifier is determined;

[0090] According to the reproduction method corresponding to the service identifier, the service parameters are modified, and a fault reproduction instruction corresponding to the reproduction method is generated.

[0091] As another optional implementation, according to different application scenarios corresponding to the service identifier, a reproduction method corresponding to the application scenario is determined, and the fault reproduction instruction corresponding to the reproduction method is determined according to the reproduction method.

[0092] S207. Send the fault reproduction instruction to the visual networking device, so that the visual networking device reproduces the fault according to the fault reproduction instruction.

[0093] Specifically, when each type of fault occurs in a business, it may occur every time, or it may occur according to a probability value. The fault that occurs every time is called the full probability, and the fault that does not occur every time when a certain number of businesses are executed is called the partial probability. For example, if 100 businesses are executed and the number of faults occurs 5 times, the partial probability is 5%.

[0094] As an optional implementation method, when the probability of recurrence is full probability information recurrence, a fault recurrence instruction is sent to the visual networking device, so that the visual networking device executes the fault recurrence instruction and generates a fault recurrence phenomenon;

[0095] As another optional implementation method, when the recurrence probability is the recurrence of partial probability information, and the partial probability information includes the total number of recurrences and the number of faults that occur, the fault reproduction instruction is sent to the visual network device in a loop according to the total number of recurrences, so that the visual network device executes the fault reproduction instruction and generates a business execution result.

[0096] Specifically, if a certain fault occurs with a partial probability, then when reproducing it, the reproduction server needs to send fault reproduction instructions to the visual network device 100 times in a loop. The visual network device executes 100 business operations and obtains 100 business execution results. The business processing result can be a successful execution or a failed execution. Then the visual network terminal returns the business execution result to the reproduction server.

[0097] S208, receiving the service execution result returned by the visual networking device, wherein the service execution result at least includes the service identifier and the execution result corresponding to the service identifier, and the execution result includes execution success or execution failure;

[0098] S209: Generate a fault reproduction report corresponding to the fault information according to the service execution result, and the fault reproduction report corresponds to the service identifier.

[0099] Figure 3 FIG. 1 is a structural block diagram of an embodiment of a system for reproducing fault information of the present invention. Figure 3 As shown, the fault information reproduction system includes a reproduction server 301 and a visual network device 302. A reproduction tool is installed on the reproduction server 301, and the reproduction tool is an application software with an operable interface. Specifically, the reproduction server is connected to the visual network device through a TCP socket; the user enters the problem to be reproduced on the interface of the reproduction tool, and the reproduction tool encapsulates the business reproduction package according to the reproduction problem (fault information) selected by the user, and sends the encapsulated business reproduction package, i.e., the fault reproduction instruction, to the visual network device; the visual network device processes the received business reproduction package and returns the business processing result; the reproduction tool determines the problem reproduction result according to the response package of the returned business processing result, i.e., generates a fault reproduction report.

[0100] Figure 4 FIG. 1 is a flowchart of another embodiment of a method for reproducing fault information of the present invention. Figure 4 As shown, the method for reproducing the fault information includes:

[0101] 1) Create a problem library in the reproduction tool. Each problem corresponds to a unique identifier, and the reproduction method, probability of occurrence, and business involved of each problem are indicated, as shown in Table 1:

[0102] Table 1

[0103]

[0104]

[0105] 2) Create the business involved in the reproducing problem in the reproducing tool. Each business corresponds to a unique identifier. The business parameters need to be configured by the user according to the current environment (later environment sends changes and the parameters can be modified). The subsequent reproducing tool encapsulates the business instructions of the response according to the parameters. The main information of the business database is shown in Table 2:

[0106] Table 2

[0107]

[0108] 3) The reproduction tool connects to the product that needs to reproduce the problem (the core server is used as an example in this case) through TCP socket, and logs in to the core server using the username and password registered on the core service;

[0109] 4) Select the problem to be reproduced, i.e., the fault information, from the pre-established reproducible problem library. For example, if the reproducible problem is identified as 1 (modify the content of the service instruction packet header protocol), find the service involved in the problem. If the problem exists in all functions (all functions), the reproducible tool will randomly obtain a service from the service database. For example, the service that reproduces the problem this time is "obtain the core server configuration file".

[0110] 5) The reproduction tool obtains the business parameters configured for "obtaining the core server configuration file" and encapsulates the "obtaining the core server configuration file" business instruction package according to the visual networking protocol;

[0111] 6) When the current recurrence problem identification is determined to be 1 (modify the service instruction packet header protocol content), the visual network protocol header content in the "Get Core Server Configuration File" packet is modified and sent to the core server. The service parameters include at least: operation code (get core server configuration file), file identification, etc.;

[0112] 7) After receiving the modified business instruction package, i.e., the fault reproduction instruction, the core server performs business processing. If the reproduction tool is disconnected from the core server at this time, and the probability of the problem is certain to occur, that is, a full probability fault situation, then it means that the problem has been successfully reproduced;

[0113] 8) After the core server has fixed the problem, use the same operation to reproduce the problem. If the reproduction tool is not disconnected from the core server, it means that the core server has been modified successfully.

[0114] Recurrence probability problem:

[0115] 9) If the probability of the recurring problem is "low probability", that is, partial probability, for example, the current recurring problem identifier is 2 (the business instruction package does not end with four "F" terminators), the business involved in the search for the problem is "full function", and the recurrence tool randomly obtains a business from the business library. For example, the business that reproduces the problem this time is "obtaining the core server configuration file";

[0116] 10) The reproduction tool obtains the business parameters of "obtaining the core server configuration file" and encapsulates the "obtaining the core server configuration file" business instruction package according to the visual network protocol.

[0117] 11) When encapsulating the package, if the current recurrence problem identifier is 2 (the service instruction package does not have four "F" terminators at the end), then four "F" terminators are not added to the encapsulated service package and sent to the core server. The service parameters of "obtain core server configuration file" include: operation code (obtain core server configuration file), file identifier, etc.;

[0118] 12) The reproduction tool obtains the probability of occurrence of the problem. If it is not necessary to occur, the service package is stored locally and sent again later;

[0119] 13) After receiving the service packet without the four "F" terminators, the core server processes the service and returns a response packet of the processing result. The response packet of the service execution result mainly includes: operation code, processing result (0 means success, other means failure)

[0120] 14) The reproduction tool determines the business execution result returned by the core server. If the result is successful and the reproduction tool obtains a low probability of occurrence of the problem (1 / 100, i.e., 1 time out of 100 times), the reproduction tool obtains the last stored reproduction package and automatically sends it to the core server. If the response result returned by the core server is not 0 within 100 times, it means that the problem has been successfully reproduced.

[0121] After the core server has fixed the problem, use the same operation to reproduce it. If the business is successful after the reproduction tool is executed 100 times, it means that the core server has been modified successfully.

[0122] If the problem you are experiencing requires other equipment to work with:

[0123] 15) If the problem identification is 3 (notifying the terminal to delay returning the response result after receiving the command to switch the speaker), the reproduction tool obtains the service corresponding to the problem (switching the speaker) and obtains the "switch speaker" service parameter "list of viewing terminals". Before starting the service, notify the terminals in the "list of viewing terminals" to delay returning the response package of switching the speaker:

[0124] 16) The recurrence tool encapsulates the "notify the terminal to delay the return of the response packet to switch the speaker" and sends it to the main control device of the core server. The command packet follows the visual network protocol rules. The service parameters of "switch speaker" include: operation code (notify the terminal to delay the return of the response packet to switch the speaker), the list of terminal device numbers receiving the command (that is, the viewing terminal list configured in the service parameters), delayed return time (seconds), etc.;

[0125] 17) After receiving the instruction, the core server notifies the terminal device under the core server that needs to delay returning the response packet. After receiving the instruction, the terminal device records and takes effect;

[0126] 18) The recurrence tool encapsulates the relevant business instruction package corresponding to the problem (conference switching speaker). To switch the speaker, you need to create and start a conference first. Therefore, the recurrence tool first encapsulates the "create and start conference" instruction and sends it to the core server, allowing the core server to create and start the conference first;

[0127] 19) After the reproduction tool receives the message from the core server that the conference creation has started successfully, it encapsulates the "switch speaker" command, i.e., the fault reproduction command, and sends it to the core server. The fault reproduction command follows the rules of the visual network protocol. The "switch speaker" service parameters include: operation code (conference switch speaker), conference ID, viewer device number, host device global number, etc.;

[0128] 20) At the same time, the reproduction tool encapsulates the "end meeting" command and sends it to the core server. The command package follows the visual network protocol rules. The business parameters of "end meeting" include: operation code (end meeting), meeting identifier, etc.

[0129] 21) After the core service receives the "switch speaker" command, i.e., the fault reproduction command, it notifies the terminal device to watch the host's device screen, and at the same time receives the "end meeting" command and ends the meeting; after receiving the fault reproduction command, the terminal device makes a judgment. If it is a "switch speaker command", the previously set "delayed return of speaker switching response package" mechanism is triggered, and after waiting for the set delay time, the speaker switching response result is returned to the core server (at this time, the meeting has ended, and the core server crashes when receiving the response result package);

[0130] 22) The reproduction tool is disconnected from the core server (the core server has crashed), indicating that the problem has been reproduced; after the core server has fixed the problem, the same operation is used to reproduce the problem. The reproduction tool is not disconnected from the core server and can still operate normally, indicating that the core server has been successfully modified.

[0131] The embodiment of the present invention not only supports the reproduction of a single problem, but also allows the selection of multiple problems to be reproduced at the same time. After all the selected reproduction problems are executed, the reproduction tool generates a reproduction result report, which includes the main information: description of the reproduction problem name, reproduction business (i.e., on which business it is reproduced), reproduction probability (such as 100 / 100 means it must appear; 5 / 100 means it will appear for the 5th time), reproduction time, etc. The embodiment of the present invention can quickly reproduce the problems that occur during the testing process or use of the visual network equipment, and quickly verify the repaired problems, thereby improving the testing efficiency and effectively ensuring the stable operation of the visual network business.

[0132] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0133] The method for reproducing fault information provided by the embodiment of the present invention obtains the fault information to be reproduced; searches for the target business corresponding to the fault information from a pre-established reproduction problem library; determines the fault reproduction instruction corresponding to the target business; and sends the fault reproduction instruction to the visual network device, so that the visual network device reproduces the fault according to the fault reproduction instruction. By obtaining the fault information to be reproduced, the target business corresponding to the fault information is searched in a pre-established reproduction problem library, and a fault reproduction instruction is generated according to the fault information. The visual network device executes the fault reproduction instruction to generate a business processing result, and then determines whether the fault is reproduced according to the business processing result. In this way, the fault of the visual network device during the test process or the user's use process can be quickly reproduced, and then repaired, and the repaired fault can be quickly verified, thereby improving the test efficiency and effectively ensuring the stable operation of the visual network business.

[0134] Another embodiment of the present invention provides a fault information reproduction device, which is used to execute the fault information reproduction method provided in the above embodiment.

[0135] Reference Figure 5 , shows a structural block diagram of an embodiment of a device for reproducing fault information of the present invention, which can be applied to visual networking and can specifically include the following modules: an acquisition module 501, a search module 502, a packaging module 503 and a reproduction module 504, wherein:

[0136] The acquisition module 501 is used to obtain the fault information to be reproduced;

[0137] The search module 502 is used to search for a target business corresponding to the fault information from a pre-established recurrence problem library;

[0138] The encapsulation module 503 is used to determine the fault reproduction instruction corresponding to the target service;

[0139] The reproduction module 504 is used to send a fault reproduction instruction to the visual networking device, so that the visual networking device reproduces the fault according to the fault reproduction instruction.

[0140] The apparatus for reproducing fault information provided by the embodiment of the present invention obtains the fault information to be reproduced; searches for the target business corresponding to the fault information from a pre-established reproduction question library; determines the fault reproduction instruction corresponding to the target business; and sends the fault reproduction instruction to the visual network device, so that the visual network device reproduces the fault according to the fault reproduction instruction. By obtaining the fault information to be reproduced, the target business corresponding to the fault information is searched in a pre-established reproduction question library, and a fault reproduction instruction is generated according to the fault information. The visual network device executes the fault reproduction instruction to generate a business processing result, and then determines whether the fault is reproduced according to the business processing result. In this way, the fault of the visual network device during the test process or the user's use process can be quickly reproduced, and then repaired, and the repaired fault can be quickly verified, thereby improving the test efficiency and effectively ensuring the stable operation of the visual network business.

[0141] Another embodiment of the present invention further supplements the fault information reproduction device provided in the above embodiment.

[0142] The device also includes a building module, the building module is used to:

[0143] A recurrence problem library is established in advance, and the recurrence problem library includes a fault information identifier, business data information corresponding to the fault information identifier, and a recurrence probability; the business data information at least includes a business identifier, a business parameter corresponding to the business identifier, and a recurrence method corresponding to the business identifier.

[0144] Optionally, the encapsulation module is used to:

[0145] Determining, according to the service identifier, a service parameter corresponding to the service identifier;

[0146] According to the reproduction mode corresponding to the service identifier, the service parameters are modified, and a fault reproduction instruction corresponding to the reproduction mode is generated.

[0147] Optionally, the encapsulation module is used to:

[0148] According to different application scenarios corresponding to the service identifier, a reproduction method corresponding to the application scenario is determined, and according to the reproduction method, a fault reproduction instruction corresponding to the reproduction method is determined.

[0149] Optionally, the reproduction module is further used to:

[0150] Receiving a service execution result returned by the visual networking device, wherein the service execution result at least includes the service identifier and an execution result corresponding to the service identifier, and the execution result includes execution success or execution failure;

[0151] A fault reproduction report corresponding to the fault information is generated according to the service execution result, and the fault reproduction report corresponds to the service identifier.

[0152] Optionally, the search module is used to:

[0153] Searching for one or more service identifiers corresponding to the fault information identifier from a pre-established recurrence problem library;

[0154] If the service identifier corresponding to the fault information identifier is one, determining the service identifier as the target service identifier;

[0155] If there are multiple service identifiers corresponding to the fault information identifier, a service identifier is selected from the multiple service identifiers according to a preset rule, and the service identifier is determined as the target service identifier, wherein the preset rule at least includes random determination or sequential determination.

[0156] Optionally, the reproduction module is used to:

[0157] In the case where the recurrence probability is full probability information recurrence, the fault recurrence instruction is sent to the visual networking device, so that the visual networking device executes the fault recurrence instruction and generates a fault recurrence phenomenon;

[0158] In the case where the recurrence probability is the recurrence of partial probability information, and the partial probability information includes the total number of recurrences and the number of faults that occur, the fault recurrence instruction is sent to the visual networking device in a loop according to the total number of recurrences, so that the visual networking device executes the fault recurrence instruction and generates a business execution result.

[0159] It should be noted that each implementable method in this embodiment may be implemented separately, or may be implemented in combination in any combination without conflict, and this application is not limited thereto.

[0160] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0161] The apparatus for reproducing fault information provided by the embodiment of the present invention obtains the fault information to be reproduced; searches for the target business corresponding to the fault information from a pre-established reproduction question library; determines the fault reproduction instruction corresponding to the target business; and sends the fault reproduction instruction to the visual network device, so that the visual network device reproduces the fault according to the fault reproduction instruction. By obtaining the fault information to be reproduced, the target business corresponding to the fault information is searched in a pre-established reproduction question library, and a fault reproduction instruction is generated according to the fault information. The visual network device executes the fault reproduction instruction to generate a business processing result, and then determines whether the fault is reproduced according to the business processing result. In this way, the fault of the visual network device during the test process or the user's use process can be quickly reproduced, and then repaired, and the repaired fault can be quickly verified, thereby improving the test efficiency and effectively ensuring the stable operation of the visual network business.

[0162] Still another embodiment of the present invention provides a fault reproduction device, which is used to execute the fault information reproduction method provided in the above embodiment.

[0163] Figure 6 Schematic diagram of a fault reproducing device of the present invention. Figure 6 As shown, the reproducing fault includes: at least one processor 601 and a memory 602;

[0164] The memory stores a computer program; and at least one processor executes the computer program stored in the memory to implement the method for reproducing fault information provided in the above embodiment.

[0165] The fault reproduction device provided in the present embodiment obtains the fault information to be reproduced; searches for the target business corresponding to the fault information from a pre-established reproduction problem library; determines the fault reproduction instruction corresponding to the target business; and sends the fault reproduction instruction to the visual network device, so that the visual network device reproduces the fault according to the fault reproduction instruction. By obtaining the fault information to be reproduced, the target business corresponding to the fault information is searched in a pre-established reproduction problem library, and a fault reproduction instruction is generated according to the fault information. The visual network device executes the fault reproduction instruction to generate a business processing result, and then determines whether the fault is reproduced according to the business processing result. In this way, the fault of the visual network device during the test process or the user's use process can be quickly reproduced and then repaired, and the repaired fault can be quickly verified, thereby improving the test efficiency and effectively ensuring the stable operation of the visual network business.

[0166] Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed, the method for reproducing fault information provided in any of the above embodiments is implemented.

[0167] According to the computer-readable storage medium of the present embodiment, by obtaining the fault information to be reproduced; searching the target business corresponding to the fault information from a pre-established reproduction problem library; determining the fault reproduction instruction corresponding to the target business; sending the fault reproduction instruction to the visual network device, so that the visual network device reproduces the fault according to the fault reproduction instruction, by obtaining the fault information to be reproduced, searching the target business corresponding to the fault information in a pre-established reproduction problem library, and generating a fault reproduction instruction according to the fault information, the visual network device executes the fault reproduction instruction to generate a business processing result, and then determines whether the fault is reproduced according to the business processing result. In this way, the fault of the visual network device during the test process or the user's use process can be quickly reproduced, and then repaired, and the repaired fault can be quickly verified, thereby improving the test efficiency and effectively ensuring the stable operation of the visual network business.

[0168] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0169] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0170] The embodiments of the present invention are described with reference to flowcharts and / or block diagrams of methods, electronic devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data packet processing electronic device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data packet processing electronic device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0171] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data packet processing electronic device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0172] These computer program instructions may also be loaded onto a computer or other programmable data packet processing electronic device so that a series of operating steps are executed on the computer or other programmable electronic device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable electronic device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0173] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0174] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or electronic device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or electronic device. In the absence of further restrictions, the elements defined by the sentence "comprises one..." do not exclude the presence of other identical elements in the process, method, article or electronic device including the elements.

[0175] The above is a detailed introduction to a method for reproducing fault information and a device for reproducing fault information provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for reproducing fault information, characterized in that: The method comprises: Get the fault information to be reproduced; Searching for a target business corresponding to the fault information from a pre-established recurrence problem library; Determine a fault reproduction instruction corresponding to the target service, wherein different target service identifiers correspond to different reproduction modes, and different fault reproduction instructions are generated according to different reproduction modes, and the fault reproduction instructions include: a fault reproduction instruction that does not modify the content of the data packet and a fault reproduction instruction that modifies the content of the data packet; Sending the fault reproduction instruction to the visual networking device, so that the visual networking device reproduces the fault according to the fault reproduction instruction; Before obtaining the fault information to be reproduced, the method further includes: A recurrence problem library is established in advance, wherein the recurrence problem library includes a fault information identifier, service data information corresponding to the fault information identifier, and a recurrence probability; the service data information includes at least a service identifier, a service parameter corresponding to the service identifier, and a recurrence method corresponding to the service identifier; The searching for a target business corresponding to the fault information from a pre-established recurrence problem library includes: Searching for one or more service identifiers corresponding to the fault information identifier from a pre-established recurrence problem library; If the service identifier corresponding to the fault information identifier is one, determining the service identifier as the target service identifier; If there are multiple service identifiers corresponding to the fault information identifier, a service identifier is selected from the multiple service identifiers according to a preset rule, and the service identifier is determined as the target service identifier, wherein the preset rule at least includes random determination or sequential determination.

2. The method for reproducing fault information according to claim 1, characterized in that: The determining of the fault reproduction instruction corresponding to the target service includes: Determining, according to the service identifier, a service parameter corresponding to the service identifier; According to the reproduction mode corresponding to the service identifier, the service parameters are modified to generate a fault reproduction instruction corresponding to the reproduction mode.

3. The method for reproducing fault information according to claim 1, characterized in that: The determining of the fault reproduction instruction corresponding to the target service includes: According to different application scenarios corresponding to the service identifier, a reproduction method corresponding to the application scenario is determined, and according to the reproduction method, a fault reproduction instruction corresponding to the reproduction method is determined.

4. The method for reproducing fault information according to claim 1, characterized in that: The method further comprises: Receiving a service execution result returned by the visual networking device, wherein the service execution result at least includes the service identifier and an execution result corresponding to the service identifier, and the execution result includes execution success or execution failure; A fault reproduction report corresponding to the fault information is generated according to the service execution result, and the fault reproduction report corresponds to the service identifier.

5. The method for reproducing fault information according to claim 1, characterized in that: The step of sending the fault reproduction instruction to the visual networking device so that the visual networking device reproduces the fault according to the fault reproduction instruction includes: In the case where the recurrence probability is full probability information recurrence, the fault recurrence instruction is sent to the visual networking device, so that the visual networking device executes the fault recurrence instruction and generates a fault recurrence phenomenon; and / or In the case where the recurrence probability is the recurrence of partial probability information, and the partial probability information includes the total number of recurrences and the number of faults that occur, the fault recurrence instruction is sent to the visual networking device in a loop according to the total number of recurrences, so that the visual networking device executes the fault recurrence instruction and generates a business execution result.

6. A device for reproducing fault information, characterized in that: The device comprises: An acquisition module is used to obtain the fault information to be reproduced; A search module, used to search for a target business corresponding to the fault information from a pre-established recurrence problem library; An encapsulation module is used to determine a fault reproduction instruction corresponding to the target service, wherein different target service identifiers correspond to different reproduction modes, and different fault reproduction instructions are generated according to different reproduction modes. The fault reproduction instructions include: a fault reproduction instruction that does not modify the content of a data packet and a fault reproduction instruction that modifies the content of a data packet; A reproduction module, used for sending the fault reproduction instruction to the visual networking device, so that the visual networking device reproduces the fault according to the fault reproduction instruction; The device also includes a building module, the building module is used to: A recurrence problem library is established in advance, wherein the recurrence problem library includes a fault information identifier, service data information corresponding to the fault information identifier, and a recurrence probability; the service data information includes at least a service identifier, a service parameter corresponding to the service identifier, and a recurrence method corresponding to the service identifier; The search module is used to: Searching for one or more service identifiers corresponding to the fault information identifier from a pre-established recurrence problem library; If the service identifier corresponding to the fault information identifier is one, determining the service identifier as the target service identifier; If there are multiple service identifiers corresponding to the fault information identifier, a service identifier is selected from the multiple service identifiers according to a preset rule, and the service identifier is determined as the target service identifier, wherein the preset rule at least includes random determination or sequential determination.

7. A device for reproducing a fault, characterized in that: include: at least one processor and memory; The memory stores a computer program; The at least one processor executes the computer program stored in the memory to implement the method for reproducing fault information according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method for reproducing fault information according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method and device for reproducing faults

    CN110941554A