Information acquisition method and device, server, equipment, storage medium and chip
By receiving the trigger information of the fault injection server, the offset status information of the device is automatically obtained, which solves the problem of low timeliness of the failure explosion radius in traditional technology, and achieves more efficient information acquisition and fault evaluation.
Patent Information
- Application Number
- CN202311246898.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-25
- Publication Date
- 2025-03-25
AI Technical Summary
In traditional technology, the failure to determine the explosion radius of the IP bearer network is low, mainly due to the insufficient timeliness of manually obtaining equipment status information.
By receiving the trigger information sent by the fault injection server, the offset status information collection server can automatically obtain the offset status information of the device, and then quickly determine the explosion radius of the fault on the bearer network.
The timeliness of determining the explosion radius of the bearing network is improved, the time to obtain offset state information is saved, and the information acquisition efficiency is improved.
Smart Images

Figure CN119697056A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to an information acquisition method, apparatus, server, device, storage medium and chip. Background Art
[0002] As the Internet Protocol (IP) bearer network evolves towards the goal of cloud-network converged infrastructure, the logic of the IP bearer network is becoming more and more complex. Any random failure may have a chain reaction on the IP bearer network. Therefore, chaos engineering can be used to inject various types of failures into the IP bearer network to discover hidden risks and conduct reliability assessments. However, before using chaos engineering to inject failures, it is necessary to predefine the size of the explosion radius corresponding to the failure so that the impact range of the failure can be controlled manually. The explosion radius is used to characterize the impact range of the failure on the bearer network.
[0003] In the conventional technology, the status information of the device into which the fault is injected is mainly obtained manually, and then the explosion radius is determined according to the status information of the device. However, there is a problem in that the timeliness of determining the explosion radius is low in the conventional technology. Summary of the invention
[0004] The embodiments of the present application provide an information acquisition method, apparatus, server, device, storage medium and chip, which can improve the timeliness of determining the explosion radius of a fault on a bearer network.
[0005] In a first aspect, an information acquisition method is provided, which is applied to an offset state information collection server, and the method includes:
[0006] Receiving trigger information sent by a fault injection server; the trigger information is determined according to fault generation information sent by a device in the bearer network;
[0007] The offset state information of the device is acquired according to the trigger information; the offset state information is generated by the device based on state indicator information of adjacent time nodes.
[0008] In one of the embodiments, the trigger information includes a fault group identifier injected into the device and time information when the device generates a fault based on the fault group identifier.
[0009] In one embodiment, acquiring the offset state information of the device according to the trigger information includes:
[0010] When the trigger information is received, a request information is sent to the device; the request information is used to instruct the device to collect and send the offset status information;
[0011] receiving the offset status information sent by the device based on the request information.
[0012] In one of the embodiments, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
[0013] In one embodiment, the method further comprises:
[0014] A blast radius of the bearer network is determined based on the offset state information.
[0015] In a second aspect, an information acquisition method is provided, which is applied to a fault injection server, and the method includes:
[0016] Send trigger information to the offset status information collection server; the trigger information is determined based on the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of adjacent time nodes.
[0017] In one of the embodiments, the trigger information includes a fault group identifier injected into the device and time information when the device generates a fault based on the fault group identifier.
[0018] In one embodiment, the method further comprises:
[0019] A fault mapping table is sent to the device; the fault mapping table includes at least one of the following: a fault group identifier, fault description information, a fault generation configuration command, and current time information.
[0020] In one of the embodiments, sending the fault mapping table to the device includes:
[0021] The fault mapping table is sent to the device based on the identification number of the device.
[0022] In one embodiment, the method further comprises:
[0023] receiving fault generation information sent by the device;
[0024] The trigger information is determined according to the fault generation information.
[0025] In a third aspect, a method for obtaining information is also provided, which is applied to a device in a bearer network, and the method includes:
[0026] Receiving request information sent by the offset status information collection server; the request information is determined by the offset status information collection server according to trigger information sent by the received fault injection server, and the trigger information is determined according to the fault generation information sent by the device;
[0027] According to the request information, generating the offset state information of the device based on the state indicator information of the adjacent time nodes;
[0028] The offset state information is sent to the offset state information collection server.
[0029] In one of the embodiments, the trigger information includes a fault group identifier pre-injected into the device and time information when the device generates a fault based on the fault group identifier.
[0030] In one of the embodiments, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
[0031] In one of the embodiments, before receiving the request information sent by the offset status information collection server, the method further includes:
[0032] Receiving the fault mapping table sent by the fault injection server;
[0033] Determine fault generation information according to the fault mapping table;
[0034] The fault generation information is sent to the fault injection server.
[0035] In one of the embodiments, the fault mapping table includes at least one of the following items: a fault group identifier corresponding to the device, a fault generation configuration command, fault description information, and current time information.
[0036] In one embodiment, generating the offset state information of the device based on the request information and the state indicator information of the adjacent time nodes includes:
[0037] Determine the status indicator set, the time interval and the time interval according to the request information;
[0038] Determine first status indicator information of an indicator in the status indicator set at a first time node;
[0039] Determine a second time node adjacent to the first time node according to the time interval and the time interval, and obtain second state indicator information of the indicator at the second time node;
[0040] The offset state information is determined according to the first state indicator information and the second state indicator information.
[0041] In a fourth aspect, an information acquisition device is provided, which is applied to an offset state information collection server, and the device includes:
[0042] A first receiving module, configured to receive trigger information sent by a fault injection server; the trigger information is determined based on fault generation information sent by a device in the bearer network;
[0043] An acquisition module is used to acquire the offset state information of the device according to the trigger information; the offset state information is generated by the device based on the state indicator information of adjacent time nodes.
[0044] In a fifth aspect, an information acquisition device is provided, which is applied to a fault injection server, and the device includes:
[0045] The first sending module is used to send trigger information to the offset status information collection server; the trigger information is determined based on the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of adjacent time nodes.
[0046] In a sixth aspect, an information acquisition device is provided, which is applied to a device in a bearer network, and the device includes:
[0047] A third receiving module is used to receive request information sent by the offset state information collection server; the request information is determined by the offset state information collection server according to trigger information sent by the received fault injection server, and the trigger information is determined according to the fault generation information sent by the device;
[0048] A generating module, configured to generate offset status information of the device based on status indicator information of adjacent time nodes according to the request information;
[0049] The third sending module is used to send the offset state information to the offset state information collection server.
[0050] In a seventh aspect, a server for collecting offset state information is provided, comprising: a receiver and a processor;
[0051] The receiver is used to receive trigger information sent by the fault injection server; the trigger information is determined according to the fault generation information sent by the device in the bearer network;
[0052] The processor is used to obtain the offset state information of the device according to the trigger information; the offset state information is generated by the device based on the state indicator information of adjacent time nodes.
[0053] In an eighth aspect, a fault injection server is provided, comprising: a transmitter;
[0054] The transmitter is used to send trigger information to the offset status information collection server; the trigger information is determined based on the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of adjacent time nodes.
[0055] In a ninth aspect, a device in a bearer network is provided, comprising: a receiver, a processor, and a transmitter;
[0056] The receiver is used to receive request information sent by the offset state information collection server; the request information is determined by the offset state information collection server according to trigger information sent by the received fault injection server, and the trigger information is determined according to the fault generation information sent by the device;
[0057] The processor is configured to generate offset state information of the device based on the state indicator information of adjacent time nodes according to the request information;
[0058] The transmitter is used to send the offset state information to the offset state information collection server.
[0059] In a tenth aspect, an information acquisition system is provided, comprising the offset state information collection server of the seventh aspect, the fault injection server of the eighth aspect, and the device in the bearer network of the ninth aspect;
[0060] The offset status information collection server is used to execute the steps of the method described in the first aspect above;
[0061] The fault injection server is used to execute the steps of the method described in the second aspect above;
[0062] The device in the bearer network is used to execute the steps of the method described in the third aspect above.
[0063] In the eleventh aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first, second and third aspects above is implemented.
[0064] In a twelfth aspect, a chip is provided, wherein the chip includes a programmable logic circuit and / or program instructions, and when the chip is running, the methods described in the first, second and third aspects are implemented.
[0065] In the thirteenth aspect, a computer program product is provided, comprising a computer program, characterized in that when the computer program is executed by a processor, the methods described in the first, second and third aspects are implemented.
[0066] In the above-mentioned information acquisition method, apparatus, server, device, storage medium and chip, the offset status information collection server receives the trigger information sent by the fault injection server. Since the trigger information is determined based on the fault generation information sent by the device in the bearer network, the offset status information collection server can obtain the offset status information generated by the device based on the status indicator information of adjacent time nodes according to the trigger information. Compared with the traditional technology, there is no need to manually control the offset status information collection server to obtain the offset status information when the fault generation is determined. It can trigger the operation of obtaining the offset status information generated by the device according to the trigger information, thereby saving the time for obtaining the offset status information, improving the efficiency of obtaining the offset status information, and further improving the timeliness of determining the explosion radius of the fault on the bearer network according to the obtained offset status information. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 An application environment diagram of an information acquisition method in an embodiment;
[0068] Figure 2 is a flow chart of an information acquisition method in one embodiment;
[0069] Figure 3 is a flow chart of an information acquisition method in another embodiment;
[0070] Figure 4 is a flow chart of an information acquisition method in another embodiment;
[0071] Figure 5 is a flow chart of an information acquisition method in another embodiment;
[0072] Figure 6 is a flow chart of an information acquisition method in another embodiment;
[0073] Figure 7 is a flow chart of an information acquisition method in another embodiment;
[0074] Figure 8 is a schematic diagram of an information acquisition method in an embodiment;
[0075] Fig. 9is a structural block diagram of an information acquisition device in an embodiment;
[0076] Fig.10 is a structural block diagram of an information acquisition device in another embodiment;
[0077] Fig.11 is a structural block diagram of an information acquisition device in another embodiment;
[0078] Fig.12 is a structural block diagram of an information acquisition device in another embodiment;
[0079] Fig.13 is a structural block diagram of an information acquisition device in another embodiment;
[0080] Fig.14 is a structural block diagram of an information acquisition device in another embodiment;
[0081] Fig.15 An internal structure diagram of an offset status information collection server in one embodiment;
[0082] Fig.16 It is an internal structure diagram of a fault injection server in another embodiment;
[0083] Fig.17 FIG. 4 is an internal structure diagram of a device in a bearer network in another embodiment. DETAILED DESCRIPTION
[0084] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0085] Figure 1 A schematic diagram of an application scenario for information acquisition provided in an embodiment of the present application. Figure 1 As shown, the scenario includes an offset state information collection server 100, a fault injection server 200, and a device 300 in the bearer network. The offset state information collection server 100 transmits data with the fault injection server 200 and the device 300 in the bearer network respectively through the network, and the fault injection server 200 and the device 300 in the bearer network transmit data through the network. The fault injection server 200 is used to inject a fault into the device 300 in the bearer network, and determine trigger information according to the fault generation information sent by the device 300 in the bearer network, and send the trigger information to the offset state information collection server 100. The offset state information collection server 100 is used to generate request information according to the trigger information, and send the request information to the device 300 in the bearer network to receive the offset state information sent by the device 300 in the bearer network.
[0086] Currently, as the IP bearer network evolves towards the ultimate goal of cloud-network converged infrastructure, for example, the interconnection of virtual and real devices and resource sharing, the intercommunication of new and old network architectures and routing solutions, the management of different cloud networks, the expansion and contraction of cloud networks and open source, the IP bearer network has become more and more complex, and any random failure may have a chain reaction on the IP bearer network. Therefore, it is extremely important to pre-discover risks and evaluate the reliability of the evolving IP bearer network. Chaos engineering can be used to randomly inject various types of faults into the IP bearer network to discover and resolve potential risks, which can effectively solve such problems. Before injecting faults in chaos engineering, it is necessary to pre-define the explosion radius that characterizes the impact range of the fault on the bearer network, so that the impact range of the fault can be considered controlled.
[0087] In traditional technology, the size of the explosion radius is usually judged based on theoretical knowledge and historical experience of experts. However, the granularity of the explosion radius determined by this method is large and the accuracy is low. Alternatively, by injecting faults into devices in the IP bearer network, such as routers, and manually logging into each device and typing in fault generation commands, after the fault is generated, the artificially controlled information collection server obtains the operating status of each device, thereby determining the impact range of the injected fault on the bearer network based on the operating status of each device. However, for large-scale networks, this method requires artificial injection of fault generation commands and manually controls the collection of device operating status, which has the problem of low efficiency in collecting device operating status, resulting in low efficiency in determining the explosion radius. Based on this, there is a problem of low timeliness in determining the explosion radius of the fault on the bearer network in traditional technology.
[0088] Based on the above-mentioned traditional technology, an embodiment of the present application provides an information acquisition method, which receives trigger information sent by a fault injection server. Since the trigger information is determined based on the fault generation information sent by the device in the bearer network, the offset status information collection server can obtain the offset status information generated by the device based on the status indicator information of adjacent time nodes according to the trigger information. Compared with the traditional technology, there is no need to manually control the offset status information collection server to obtain the offset status information when the fault generation is determined. It can trigger the operation of obtaining the offset status information generated by the device according to the trigger information, thereby saving the time for obtaining the offset status information and improving the efficiency of obtaining the offset status information, thereby improving the timeliness of determining the explosion radius of the fault on the bearer network according to the obtained offset status information.
[0089] It should be noted that the beneficial effects brought about by the embodiments of the present application or the technical problems solved are not limited to this one, but may also include other implicit or related problems. For details, please refer to the description of the following embodiments.
[0090] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0091] In one embodiment, Figure 2 As shown, a method for obtaining information is provided, which is applied to Figure 1 The offset status information collection server in the example is used as an example to illustrate, including the following steps:
[0092] S201, receiving trigger information sent by a fault injection server; the trigger information is determined according to fault generation information sent by a device in the bearer network.
[0093] Among them, the fault injection server randomly injects various preset faults into the devices in the bearer network in a human-controlled manner, thereby causing damage to the devices in the bearer network to test the operating status of the devices under the preset fault conditions. Optionally, the fault injection server can be a server, or the fault injection server can also be a terminal, etc. In this embodiment, after the preset fault is injected into the device in the bearer network by the fault injection server, the device in the bearer network will send fault generation information after the fault is generated. The above trigger information can be generated according to the fault generation information after the fault injection server receives the fault generation information sent by the device in the bearer network. Optionally, the devices in the bearer network can include routers, storage devices, switches, servers, etc. As an optional implementation method, the bearer network can include one device or multiple devices. This embodiment does not limit this. Therefore, the fault injection server can inject different faults into different devices according to actual needs, so that the fault injection server can generate trigger information for different devices according to the different fault generation information received.
[0094] As an optional implementation, the trigger information may include the fault group identifier of the injected device and the time information when the device generates the fault based on the fault group identifier. The fault group identifier is identification information used to distinguish the fault type. It can be understood that different numbers can be used as identifiers of different faults, and the faults can be divided into different fault groups in advance according to the types of each fault. Faults corresponding to different fault group identifiers can be injected into different devices according to actual needs. Optionally, one fault group can include one fault, or one fault group can also include multiple faults. Optionally, the fault injection server can inject a group of fault groups into a device, or the fault injection server can also inject multiple groups of fault groups into a device.
[0095] It can be understood that when a device generates a certain fault, the device can record the identifier of the generated fault and the generation time of the fault, and determine the identifier of the generated fault, the fault group identifier corresponding to the fault, and the generation time of the fault as the fault generation information, and send the fault generation information to the fault injection server, so that the offset status information collection server can receive the trigger information generated by the fault injection server based on the fault generation information.
[0096] In this embodiment, when the fault injection server receives the fault generation information sent by the device, it can compare the corresponding fault in the received fault generation information with the fault of the injected device, and determine whether the faults of all injected devices are generated based on the comparison result; if the faults of all injected devices are generated, the trigger information is determined based on the fault generation information, and the determined trigger information may include the fault group identifier of the injected device and the time information when the device generates the fault based on the fault group identifier.
[0097] S202, acquiring the offset state information of the device according to the trigger information; the offset state information is generated by the device based on the state indicator information of adjacent time nodes.
[0098] Among them, the offset state information refers to the difference information of the state indicator information corresponding to the device at different time nodes. According to the offset state information, the change of the operating state of the device injected with the fault can be determined. In this embodiment, the offset state information can be obtained according to the preset state indicator The corresponding state indicator information of the device at adjacent time nodes is compared, and the two sets of state indicator information are determined according to the comparison result. It can be understood that different faults may correspond to different state indicator information. Injecting different types of faults into the device may also affect different state information. Optionally, the state indicator information may include the throughput, storage capacity, utilization rate of the device, and the delay, jitter, packet loss and other information of the device's data transmission.
[0099] In this embodiment, when the offset status information collection server receives the trigger information, it can respond to the trigger information, thereby triggering the operation of obtaining the offset status information. Optionally, the offset status information collection server can send an acquisition message of the offset status information to the device in the bearer network through the network. When the device in the bearer network receives the acquisition message sent by the offset status information collection server, it can obtain the status indicator information corresponding to the device at adjacent time nodes according to the operating status of the device, obtain the offset status information according to the status indicator information of the adjacent time nodes, and send it to the offset status information collection server through the network, so that the offset status information collection server can obtain the offset status information of the device.
[0100] In the above information acquisition method, the offset status information collection server receives the trigger information sent by the fault injection server. Since the trigger information is determined based on the fault generation information sent by the device in the bearer network, the offset status information collection server can obtain the offset status information generated by the device based on the status indicator information of adjacent time nodes according to the trigger information. Compared with the traditional technology, there is no need to manually control the offset status information collection server to obtain the offset status information when the fault generation is determined. It can trigger the operation of obtaining the offset status information generated by the device according to the trigger information, thereby saving the time for obtaining the offset status information and improving the efficiency of obtaining the offset status information, thereby improving the timeliness of determining the explosion radius of the fault on the bearer network according to the obtained offset status information.
[0101] In the above scenario of obtaining the offset state information of the device according to the trigger information, the offset state information collection server can send a request message to the device upon receiving the trigger information, so as to obtain the offset state information sent by the device. Figure 3 As shown, the above S202 includes:
[0102] S301, when trigger information is received, a request message is sent to the device; the request message is used to instruct the device to collect and send offset status information.
[0103] Among them, the request information refers to the request information that the offset status information collection server sends to the device to obtain the offset status information, so that the device can collect the operating status of the corresponding device according to the request message after receiving the request information, obtain the offset status information according to the operating status of the device and send it to the offset status information collection server.
[0104] As an optional implementation, the request information may include at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
[0105] It should be noted that the operating status of the equipment affected by different faults may be different. Therefore, for different faults, it is necessary to collect status indicator information corresponding to different faults. In this embodiment, the corresponding indicator set identifier can be determined in advance according to the fault type of the injected device, so that the corresponding status indicator set identifier and the status indicator set corresponding to the device are sent to the device through the request message sent. Exemplarily, if the bearer network includes multiple devices, the status indicator set identifier corresponding to each device can be determined in advance according to the fault group injected into each device, so that the determined status indicator set identifier and the status indicator set corresponding to the status indicator set identifier are sent to the corresponding device through the request message.
[0106] It should be noted that in order to ensure the timeliness and effectiveness of the obtained offset status information, the time for the device to collect the offset status information can be limited. Therefore, the time interval for obtaining the offset status information and the time interval for obtaining it can be included in the request message. It can be understood that different status indicator sets may correspond to different time intervals and time intervals. Therefore, the corresponding preset time interval and preset time interval can be determined according to the status indicator set corresponding to each device. For example, if it is necessary to collect the offset status information of the injected fault device at night, the preset time interval can be set to 20:00-21:00, and the preset time interval can be set to 5s, so that the preset time interval and time interval can be sent to the corresponding device through the request message.
[0107] In this embodiment, the offset status information collection server can respond to the trigger information when it receives the trigger information, thereby generating a request message based on the device's status indicator set identifier, the status indicator set corresponding to the status indicator set identifier, the preset time interval corresponding to the status indicator set, and the preset time interval corresponding to the status indicator set under the triggering of the trigger information, and sending the request message to the device through the network, thereby receiving the offset status information collected and sent by the device based on the request message. It should be noted that when the offset status information collection server receives the trigger information, it can generate a request message in real time based on the trigger information.
[0108] S302: receiving offset status information sent by the device based on the request information.
[0109] In this embodiment, the offset state information collection server can receive the offset state information sent by the device in the bearer network under the instruction of the request information, and collect the offset state information generated during the operation of the device. Exemplarily, if the state indicator set included in the request message includes the throughput of the device and the delay of data transmission, the preset time interval is 20:00-21:00, and the preset time interval is 5s, then the device can obtain the throughput and data transmission delay information of the device every 5s from 20:00 to 21:00 based on the request message, and calculate the difference between the throughput and data transmission delay information corresponding to two adjacent time nodes, and use the difference as the initial offset state information, so as to send all the initial offset state information from 20:00 to 21:00 as offset state information to the offset state information collection server.
[0110] In this embodiment, when the offset status information collection server receives trigger information, it can trigger the offset status information collection server to send request information to the device, so that the device can collect and send the offset status information according to the instructions of the request information. Since the offset status information collection server can trigger the sending of a request message for the offset status information to the device according to the trigger information, it avoids artificial control of the offset status information collection server sending a request message to increase the time for obtaining information, thereby saving the time for the receiving device to send the offset status information based on the request information, and improving the efficiency of obtaining the offset status information of the device.
[0111] Based on the above acquisition of the device offset status information, in order to further ensure the impact of the device failure in the bearer network, the blast radius of the failure on the bearer network can also be determined based on the offset status information. In one embodiment, the above method also includes: determining the blast radius of the bearer network based on the offset status information.
[0112] Among them, the explosion radius of the bearer network refers to the range of the impact on the bearer network caused by the equipment in the bearer network when a fault occurs. In this embodiment, the offset state information collection server can send the offset state information to the offset state information analysis module for analysis after receiving the offset state information, so as to obtain the range of the impact of the fault injected into the device on the bearer network according to the offset state information, that is, determine the explosion radius of the bearer network. It can be understood that if the offset state information indicates that the deviation of the operating state of the device after the fault is generated is larger, it means that the explosion radius is larger; if the offset state information indicates that the deviation of the operating state of the device after the fault is generated is smaller, it means that the explosion radius is smaller.
[0113] In this embodiment, the explosion radius of the bearer network is determined based on the offset status information. Since the offset status information is obtained after the offset status information collection server sends request information to the device according to the trigger information, compared with the traditional technology, the offset status information can be obtained more quickly, and the efficiency of obtaining the offset status information is improved, thereby improving the timeliness of determining the explosion radius of the bearer network based on the offset status information.
[0114] In one embodiment, a method for obtaining information is also provided. Figure 1 Taking the fault injection server in as an example, the method includes: sending trigger information to the offset status information collection server; the trigger information is determined according to the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of adjacent time nodes.
[0115] Among them, the offset status information collection server is a device for collecting offset status information corresponding to the equipment of the bearer network. Optionally, the offset status information collection server can be a server, or the offset status information collection server can also be a terminal. In this embodiment, the trigger information can be that the fault injection server injects a preset fault into the equipment in the bearer network, thereby receiving the fault generation information sent by the equipment in the bearer network after the fault is generated, and is generated according to the fault generation information. Optionally, the equipment of the bearer network may include routers, storage devices, switches, servers, etc. The bearer network may include one device or multiple devices. This embodiment does not limit this. Therefore, the fault injection server can inject different faults into different devices according to actual needs, thereby determining the trigger information according to different fault generation information.
[0116] As an optional implementation, the trigger information may include the fault group identifier of the injected device and the time information when the device generates the fault based on the fault group identifier. The fault group identifier is identification information used to distinguish the fault type. It can be understood that different numbers can be used as identifiers of different faults, and the faults can be divided into different fault groups in advance according to the type of each fault. Faults corresponding to different fault group identifiers can be injected into different devices according to actual needs. Optionally, a fault group can include one fault, or a group leader group can also include multiple faults. Optionally, the fault injection server can inject a group of fault groups into a device, or the fault injection server can also inject multiple groups of fault groups into a device.
[0117] It can be understood that when a fault is generated in the device, the device can record the identification of the generated fault and the generation time of the fault, and determine the identification of the generated fault, the fault group identification corresponding to the fault and the generation time of the fault as the fault generation information, and send the fault generation information to the fault injection server. The fault injection server can determine the trigger information based on the received fault generation information, and send the trigger information to the offset status information collection server.
[0118] In this embodiment, the fault injection server can, when receiving the fault generation information sent by the device, compare the corresponding fault in the received fault generation information with the fault of the injected device, and determine whether the faults of all injected devices are generated based on the comparison result; if the faults of all injected devices are generated, determine the trigger information based on the fault generation information, and send the trigger information to the offset status information collection server, which can instruct the offset status information collection server to obtain the offset status information generated by the device based on the status indicator information of adjacent time nodes.
[0119] In the above-mentioned information acquisition method, the fault injection server can instruct the offset status information collection server to obtain the offset status information generated by the device based on the status indicator information of adjacent time nodes by sending trigger information determined according to the fault generation information sent by the device in the bearer network to the offset status information collection server. Since the offset status information collection server can be triggered to obtain the offset status information according to the trigger information, compared with traditional technologies, there is no need for manual control of the offset status information collection server to obtain the offset status information, which can save time for obtaining the offset status information, thereby improving the timeliness of the explosion radius determined according to the offset status information.
[0120] In the scenario where the fault injection server determines the trigger information based on the fault generation information sent by the device in the bearer network, the fault injection server can inject the fault into the device by sending a fault mapping table to the device. In one embodiment, the method further includes: sending a fault mapping table to the device; the fault mapping table includes at least one of the following: a fault group identifier, fault description information, a fault generation configuration command, and current time information.
[0121] Among them, the fault mapping table can be used to represent the corresponding relationship between the fault group and the device. Optionally, the fault group and the device can be a one-to-one relationship, or a many-to-one relationship. The corresponding relationship between the fault group and the device can be set according to actual needs. In this embodiment, the fault mapping table may include a fault group identifier, fault description information, a fault generation configuration command, and current time information. Among them, the fault group identifier can be used to distinguish different types of faults. The fault description information may include the specific phenomenon, severity, and affected business scope corresponding to each fault. The fault generation configuration command refers to the generation program corresponding to each fault. The corresponding fault can be generated by running the generation program. The current time information refers to the time when the fault injection server injects the fault into the device.
[0122] As an optional implementation, the fault injection server may send the fault mapping table to the device based on the identification number of the device.
[0123] In this embodiment, the corresponding relationship between the device identification and the fault mapping table corresponding to the device may be pre-stored in the fault injection server, so that the corresponding fault mapping table may be sent to the device according to the device identification number.
[0124] In this embodiment, by sending a fault mapping table to the device, the fault group identifier, fault description information, fault generation configuration command and previous time information can be sent to the device, so that the device can generate a corresponding fault according to the fault generation configuration command, and then collect the corresponding fault generation information after the fault is generated and send it to the fault injection server.
[0125] In the above scenario of sending trigger information to the offset state information collection server, the fault injection server can determine the trigger information by receiving the fault generation information sent by the device, and then send the trigger information to the offset state information collection server. Figure 4 As shown, the above method also includes:
[0126] S401, receiving fault generation information sent by a device.
[0127] The fault generation information is determined based on the faults that have been generated and the generation time of the generated faults after the device generates the fault information according to the fault generation configuration command. According to the fault generation information, it can be determined whether all the faults injected into the device are generated and the generation time.
[0128] In this embodiment, the fault injection server may receive the fault generation information sent by the device when the device determines the fault generation information as the fault generation information according to the generation time corresponding to a certain generation fault, the identifier of the generation fault, and the fault group identifier corresponding to the generation fault.
[0129] S402: Determine trigger information according to the fault generation information.
[0130] In this embodiment, the fault injection server may determine trigger information according to the received fault generation information. Optionally, the determined trigger information may include the fault group identifier of the device injected by the fault injection server and the time information when the device generates the fault based on the fault group identifier.
[0131] As an optional implementation, the fault injection server can, when receiving the fault generation information sent by the device, compare the corresponding fault in the received fault generation information with the fault of the injected device, and determine whether the faults of all injected devices are generated based on the comparison result; if the faults of all injected devices are generated, determine the trigger information based on the fault generation information.
[0132] In this embodiment, the fault injection server can determine the trigger information based on the fault generation information by receiving the fault generation information sent by the device. Since the fault generation information includes the generated fault and the shopping time, the fault injection server can accurately determine the trigger information based on the fault generation information, thereby improving the accuracy of the determined trigger information, and further improving the accuracy of the offset status information collection server triggered by the trigger information to collect the offset status information.
[0133] In one embodiment, Figure 5 As shown, a method for obtaining information is also provided, which is applied to Figure 1 The following steps are used as an example to illustrate the device in the bearer network:
[0134] S501, receiving request information sent by a deviation status information collection server; the request information is determined by the deviation status information collection server according to trigger information sent by a received fault injection server, and the trigger information is determined according to fault generation information sent by a device.
[0135] The request information refers to the request information that the offset status information collection server sends to the device to obtain the offset status information. It should be noted that the operating status of the device affected by different faults may be different. Therefore, for different faults, it is necessary to collect the status indicator information corresponding to different faults. The offset status information collection server can generate different request information based on different status indicator information and send the corresponding request information to the device. For example, if the bearer network includes multiple devices, the offset status information collection server needs to determine different status indicator information based on the fault group identifier in each device, generate different request information, and then send the corresponding request information to each device.
[0136] Among them, the trigger information can be determined by the fault injection server according to the fault generation information sent by the device. Optionally, the trigger information may include the fault group identifier pre-injected into the device and the time information when the device generates the fault based on the fault group identifier. The fault group identifier is identification information used to distinguish the fault type, and the time information of generating the fault refers to the time when the fault in the device is generated.
[0137] It can be understood that when the device receives a fault injected by a fault injection server, it can determine the generated fault identifier, the fault group identifier corresponding to the generated fault, and the generation time of the fault as fault generation information and send it to the fault injection server when the fault is generated. When the fault injection server determines that all injected faults are generated, it can determine the trigger information based on the fault generation information and send the trigger information to the offset status information collection server, so that the offset status information collection server can be triggered and generate request information, so that the device can receive the request information sent by the offset status information collection server.
[0138] In this embodiment, the device may receive the request information sent by the deviation status information collection server when the deviation status information collection server receives the trigger information and responds to the trigger information and generates the request information according to the trigger information.
[0139] S502: Generate offset status information of the device based on the status indicator information of adjacent time nodes according to the request information.
[0140] Optionally, the request information may include at least one of the following items: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set. It can be understood that if any information in the request information is different, the offset status information generated by the device will also be different.
[0141] In this embodiment, the device can collect the status indicator information corresponding to adjacent time nodes after a time interval based on the status indicator set identifier and the status indicator set in the request information, and calculate the difference between the status indicator information corresponding to the adjacent time nodes, and use the difference as the offset status information.
[0142] As an optional implementation, the difference between the status indicator information corresponding to any two adjacent time nodes within the time interval can be used as the initial offset status information, thereby generating the offset status information of the device from multiple initial offset status information within the preset time interval. Exemplarily, if the status indicator set included in the request message includes the throughput of the device and the delay of data transmission, the preset time interval is 20:00-21:00, and the preset time interval is 5s, then the device can obtain the throughput and data transmission delay information of the device every 5s from 20:00 to 21:00 based on the request message, and calculate the difference between the throughput and data transmission delay information corresponding to two adjacent time nodes, and use the difference as the initial offset status information, thereby using all the initial offset status information from 20:00 to 21:00 as the offset status information.
[0143] S503: Send the offset status information to the offset status information collection server.
[0144] In this embodiment, when the device generates the offset status information, it may send the generated offset status information to the offset status information collection server through the network.
[0145] In the above-mentioned information acquisition method, the device in the bearer network receives the request information sent by the offset status information collection server. Since the request information is determined by the offset status information collection server based on the trigger information sent by the received fault injection server, and the trigger information can quickly trigger the offset status information collection server to generate the request information, the time for the device to receive the request information is saved, so that the device can quickly generate the offset status information of the device based on the status indicator information of the adjacent time nodes, and send the offset status information to the offset status information collection server, thereby improving the efficiency of the offset status information collection server in obtaining the offset status information; in addition, since the trigger information is determined based on the fault generation information sent by the device, the determined trigger information can fully characterize the generation of faults in the device.
[0146] In the above scenario of receiving the request information sent by the offset status information collection server, the device needs to send the fault generation information to the fault injection server. The detailed process of the device sending the fault generation information to the fault injection server is described below. Figure 6 As shown, before the above S501, the above method further includes:
[0147] S601: Receive a fault mapping table sent by a fault injection server.
[0148] Among them, the fault mapping table can be used to represent the correspondence between fault groups and devices. Optionally, the fault groups and devices can be a one-to-one relationship, or a many-to-one relationship. The correspondence between fault groups and devices can be set according to actual needs.
[0149] Optionally, the fault mapping table includes at least one of the following items: a fault group identifier corresponding to the device, a fault generation configuration command, fault description information, and current time information. Among them, the fault group identifier can be used to distinguish different types of faults, the fault description information can include the specific phenomenon, severity, and affected business scope corresponding to each fault, the fault generation configuration command refers to the generation program corresponding to each fault, and the corresponding fault can be generated by running the generation program, and the current time information refers to the time when the fault injection server injects the fault into the device.
[0150] In this embodiment, the device can receive a fault mapping table sent by a fault injection server according to the identification number of the device. Optionally, the fault mapping table received by the device may include a fault group identifier and a fault generation configuration command, fault description information, and current time information corresponding to the fault group identifier, indicating that the fault injection server injects a group of faults into the device; or, the fault mapping table received by the device may also include multiple fault group identifiers and a fault generation configuration command, fault description information, and current time information corresponding to each fault group identifier, indicating that the fault injection server injects multiple groups of faults into the device.
[0151] S602: Determine fault generation information according to the fault mapping table.
[0152] In this embodiment, the device can determine the injected fault according to the corresponding fault group identifier in the received fault mapping table, and generate the corresponding fault by running the fault generation configuration command, so that when a fault is generated, the fault generation information is determined according to the generation time of the generated fault, the identifier of the generated fault, and the identifier of the fault group to which the generated fault belongs.
[0153] S603: Send the fault generation information to the fault injection server.
[0154] In this embodiment, the device can send the determined fault generation information to the fault injection server through the network. Optionally, the device can send the fault generation information corresponding to each generated fault to the fault injection server when the fault is generated. Alternatively, the device can also send the fault generation information corresponding to all generated faults to the fault injection server when each fault in the corresponding fault group identifier is generated.
[0155] In this embodiment, the device in the bearer network can determine the fault generation information according to the fault mapping table by receiving the fault mapping table sent by the fault injection server, and thus can send the fault generation information to the fault injection server. Since the fault generation information is generated according to the injected fault mapping table, there is no need to manually log in to the device to write a program to generate the fault, thereby improving the efficiency of generating faults.
[0156] The specific process of the device determining the offset state information according to the request information is described in detail below. Figure 7 As shown, the above S502 includes:
[0157] S701, determining a state indicator set, a time interval, and a time interval according to request information.
[0158] Among them, the status indicator set in the request information refers to the set of indicators corresponding to the fault group injected by each device. For example, when a fault is generated in the device, the throughput, utilization, storage capacity of the device during operation when the fault is generated, and the delay, jitter, packet loss and other status information of the device transmitting data can be collected, and the collected status information is used as the information corresponding to the status indicator. The time interval and time interval in the request information can be set according to actual needs. For example, the time interval can be 0:00-06:00, and the time interval can be 5s.
[0159] In this embodiment, the device can parse the received request information to obtain the status indicator set, time interval and time interval carried in the request information. It can be understood that if the bearer network includes multiple devices and the fault type injected into each device is different, the status indicator set included in the request information sent by the offset status information collection server to each device is also different.
[0160] S702: Determine first status indicator information of an indicator in a status indicator set at a first time node.
[0161] Among them, the first time node refers to the moment when the device obtains the operating status of the device for the first time, and the first status indicator information refers to the operating status of the device obtained according to the status indicator set at the first time node. Optionally, if the status indicator set includes 1 indicator, the first status indicator information includes status indicator information corresponding to the indicator; if the status indicator set includes 3 indicators, the first status indicator information includes status indicator information corresponding to each of the 3 indicators.
[0162] In this embodiment, the device can determine the operating state that meets the indicators in the status indicator set from the operating state of the device corresponding to the first time node based on the indicators in the status indicator set, thereby determining the operating state that meets the indicators in the status indicator set as the first status indicator information.
[0163] S703: Determine a second time node adjacent to the first time node according to the time interval and the time interval, and obtain second state indicator information of the indicator at the second time node.
[0164] Among them, the second time node refers to the moment when the device re-acquires the new operating status of the device after a time interval after acquiring the first status indicator information. The second status indicator information refers to the operating status of the device obtained according to the status indicator set at the second time node. It can be understood that the quantity and type of the second status indicator information are the same as those of the first status indicator information.
[0165] In this embodiment, after obtaining the first status indicator information, the device can, after a time interval, re-obtain the operating status of the device corresponding to the second time node, and determine therefrom the operating status that meets the indicators in the status indicator set, thereby determining the operating status that meets the indicators in the status indicator set as the second status indicator information.
[0166] It is understandable that, within a time interval, multiple time nodes can be determined according to the time interval, and the device can also use the above second time node as a new first time node, and determine a new second time node according to the time interval, and obtain the new second state indicator information of the indicator at the new second time node, thereby determining all indicator information within the time interval. For example, if the time interval is 08:00-09:00 and the time interval is 10s, it can be determined that the time interval includes 10 time nodes, so that 10 indicator information can be obtained.
[0167] S704: Determine offset state information according to the first state indicator information and the second state indicator information.
[0168] In this embodiment, the first state indicator information and the second state indicator information can be compared, and the comparison result can be determined as the offset state information. For example, if the indicator in the state indicator set is the utilization rate of the device, the first state indicator information obtained is 60%, and the second state indicator information is 55%, then the offset state information can be determined to be the utilization rate of the device is 5%.
[0169] Optionally, initial offset state information may be determined based on indicator information corresponding to every two adjacent time nodes, thereby determining the mean of each initial offset state information as the offset state information; or, the sum of each initial offset state information may be determined as the offset state information.
[0170] In this embodiment, the device determines the status indicator set, time interval and time interval according to the request information, and can determine the first status indicator information of the indicator in the status indicator set at the first time node, and determine the second time node adjacent to the first time node according to the time interval and time interval, and obtain the second status indicator information of the indicator at the second time node. Since the device can accurately determine the status indicator information corresponding to each time node according to the time interval, it can accurately determine the offset status information according to the first status indicator information and the second status indicator information, and further can accurately determine the explosion radius of the fault on the bearer network according to the offset status information, thereby improving the precision and accuracy of the determined explosion radius.
[0171] In order to facilitate the understanding of those skilled in the art, the following Figure 8 The information acquisition method provided by this application is described in detail. Figure 8 The method includes a fault injection server, an offset state information collection server, devices in multiple bearer networks, and an offset state information analysis module. The method may include:
[0172] S1, the fault injection server sends a fault mapping table to each device in the bearer network based on the device identification number, and the fault mapping table includes at least one of the following items: fault group identification, fault description information, fault generation configuration command, and current time information.
[0173] S2, each device receives the fault mapping table sent by the fault injection server.
[0174] S3, each device determines the fault generation information according to the fault mapping table.
[0175] S4, each device sends the fault generation information to the fault injection server.
[0176] S5, the fault injection server determines trigger information according to the fault generation information sent by each device in the bearer network.
[0177] S6: The fault injection server sends trigger information to the offset status information collection server.
[0178] S7, when receiving the trigger information, the trigger offset status information collection server sends a request information to each device, and the request information includes at least one of the following: the status indicator set identifier of the device, the status indicator set corresponding to the status indicator set identifier, the preset time interval corresponding to the status indicator set, and the preset time interval corresponding to the status indicator set.
[0179] S8, each device determines a state indicator set, a time interval, and a time interval according to the request information sent by the offset state information collection server.
[0180] S9, each device determines first status indicator information of an indicator in the status indicator set at a first time node.
[0181] S10, each device determines a second time node adjacent to the first time node according to the time interval and the time interval, and obtains second state indicator information of the indicator at the second time node.
[0182] S11, each device determines offset state information according to the first state indicator information and the second state indicator information.
[0183] S12, each device sends the offset status information to the offset status information collection server.
[0184] S13, the offset state information collection server sends the received offset state information corresponding to each device to the offset state information analysis module.
[0185] S14, the offset state information analysis module determines the explosion radius of the bearer network based on the offset state information.
[0186] It should be noted that for the descriptions in the above S1-S15, reference may be made to the relevant descriptions in the above embodiments, and the effects are similar, so this embodiment will not be repeated here.
[0187] It should be understood that although Figure 2-7 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-7 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0188] In one embodiment, Fig. 9 As shown, an information acquisition device is provided, which is applied to an offset state information collection server, comprising: a first receiving module 10, and an acquisition module 11, wherein:
[0189] The first receiving module 10 is used to receive trigger information sent by the fault injection server; the trigger information is determined according to the fault generation information sent by the device in the bearer network.
[0190] Optionally, the trigger information includes a fault group identifier of the injected device and time information at which the device generates a fault based on the fault group identifier.
[0191] The acquisition module 11 is used to acquire the offset state information of the device according to the trigger information; the offset state information is generated by the device based on the state indicator information of adjacent time nodes.
[0192] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0193] In one embodiment, Fig.10 As shown, the acquisition module 11 includes: a first sending unit 111 and a receiving unit 112, wherein:
[0194] The first sending unit 111 is used to send request information to the device when trigger information is received; the request information is used to instruct the device to collect and send offset status information.
[0195] Optionally, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
[0196] The receiving unit 112 is configured to receive the offset state information sent by the device based on the request information.
[0197] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0198] In one embodiment, please continue to refer to Fig.10 The above device further includes: a first determining module 12, wherein:
[0199] The first determining module 12 is used to determine the explosion radius of the bearer network based on the offset state information.
[0200] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0201] In one embodiment, Fig.11 As shown, an information acquisition device is provided, which is applied to a fault injection server, including: a first sending module 13, wherein:
[0202] The first sending module 13 is used to send trigger information to the offset status information collection server; the trigger information is determined based on the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of adjacent time nodes.
[0203] Optionally, the trigger information includes a fault group identifier of the injected device and time information at which the device generates a fault based on the fault group identifier.
[0204] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0205] In one embodiment, Fig.12 As shown, the above device also includes: a second sending module 14, wherein:
[0206] The second sending module 14 is used to send a fault mapping table to the device; the fault mapping table includes at least one of the following items: a fault group identifier, a fault description information, a fault generation configuration command, and current time information.
[0207] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0208] In one embodiment, please continue to refer to Fig.12 The second sending module 14 comprises: a second sending unit 141, wherein:
[0209] The second sending unit 141 is configured to send the fault mapping table to the device based on the identification number of the device.
[0210] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0211] In one embodiment, please continue to refer to Fig.12 The above device further includes: a second receiving module 15 and a second determining module 16, wherein:
[0212] The second receiving module 15 is used to receive the fault generation information sent by the device;
[0213] The second determining module 16 is configured to determine trigger information according to the fault generation information.
[0214] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0215] In one embodiment, Fig.13 As shown, an information acquisition device is provided, and the device applied to the bearer network includes: a third receiving module 17, a generating module 18 and a third sending module 19, wherein:
[0216] The third receiving module 17 is used to receive request information sent by the offset status information collection server; the request information is determined by the offset status information collection server according to the trigger information sent by the fault injection server, and the trigger information is determined according to the fault generation information sent by the device.
[0217] Optionally, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
[0218] Optionally, the trigger information includes a fault group identifier pre-injected into the device and time information at which the device generates a fault based on the fault group identifier.
[0219] The generating module 18 is used to generate the offset state information of the device based on the state indicator information of the adjacent time nodes according to the request information.
[0220] The third sending module 19 is used to send the offset state information to the offset state information collection server.
[0221] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0222] In one embodiment, Fig.14 As shown, before receiving the request information sent by the offset state information collection server, the above device further includes a fourth receiving module 20, a third determining module 21 and a fourth sending module 22, wherein:
[0223] The fourth receiving module 20 is configured to receive a fault mapping table sent by the fault injection server.
[0224] Optionally, the fault mapping table includes at least one of the following items: a fault group identifier corresponding to the device, a fault generation configuration command, fault description information, and current time information.
[0225] The third determining module 21 is used to determine the fault generation information according to the fault mapping table.
[0226] The fourth sending module 22 is used to send the fault generation information to the fault injection server.
[0227] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0228] In one embodiment, please continue to refer to Fig.14 The above-mentioned generating module 18 comprises: a first determining unit 181, a second determining unit 182, a third determining unit 183 and a fourth determining unit 184, wherein:
[0229] The first determining unit 181 is configured to determine a state indicator set, a time interval, and a time interval according to the request information.
[0230] The second determining unit 182 is configured to determine first state indicator information of an indicator in the state indicator set at a first time node.
[0231] The third determining unit 183 is used to determine a second time node adjacent to the first time node according to the time interval and the time interval, and obtain second state indicator information of the indicator at the second time node.
[0232] The fourth determining unit 184 is configured to determine the offset state information according to the first state indicator information and the second state indicator information.
[0233] The information acquisition device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0234] For the specific definition of the information acquisition device, please refer to the definition of the information acquisition method above, which will not be repeated here. Each module in the above-mentioned information acquisition device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0235] In one embodiment, a server for collecting offset status information is provided. Fig.15 . Fig.15 The terminal device 700 shown includes: at least one processor 701, a memory 702, at least one network interface 704 and a user interface 703. The various components in the terminal device 700 are coupled together via a bus system 705. It is understood that the bus system 705 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 705 is not shown in FIG. Fig.15Various buses are labeled as bus system 705. In addition, the embodiment of the present invention also includes a transceiver 706, which can be multiple components, that is, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium.
[0236] The user interface 703 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0237] It can be understood that the memory 702 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM). The memory 702 of the system and method described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0238] In some implementations, the memory 702 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: an operating system 7021 and an application 7022 .
[0239] The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 7022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 7022.
[0240] In an embodiment of the present invention, by calling the program or instructions stored in the memory 702, specifically, it can be the program or instructions stored in the application 7022, wherein the receiver is used to receive the trigger information sent by the fault injection server; the trigger information is determined according to the fault generation information sent by the device in the bearer network; optionally, the trigger information includes the fault group identifier of the injected device and the time information when the device generates the fault based on the fault group identifier; the processor is used to obtain the offset status information of the device according to the trigger information; the offset status information is generated by the device based on the status indicator information of adjacent time nodes.
[0241] Part or all of the methods disclosed in the above embodiments of the present invention may also be applied to the processor 701, or implemented by the processor 701, or implemented by the processor 701 in cooperation with other components (such as a transceiver). The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or by instructions in the form of software. The above processor 701 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the above method in combination with its hardware.
[0242] It is to be understood that the embodiments described in the embodiments of the present invention can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions of the present application or a combination thereof.
[0243] For software implementation, the technology of the embodiments of the present invention can be implemented by a module (such as a process, function, etc.) that performs the functions of the embodiments of the present invention. The software code can be stored in a memory and executed by the processor 701. The memory can be implemented in the processor 701 or outside the processor 701.
[0244] In one embodiment, a transmitter is used to send a request message to a device when trigger information is received; the request information is used to instruct the device to collect and send offset status information; a receiver is used to receive the offset status information sent by the device based on the request information; optionally, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
[0245] In one embodiment, the processor is further configured to determine a blast radius of the bearer network based on the offset state information.
[0246] In one embodiment, a fault injection server is provided. Fig.16 . Fig.16 The terminal device 800 shown includes: at least one processor 801, a memory 802, at least one network interface 804 and a user interface 803. The various components in the terminal device 800 are coupled together via a bus system 805. It is understood that the bus system 805 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 805 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 805 is not shown in FIG. Fig.16 Various buses are labeled as bus system 805. In addition, the embodiment of the present invention also includes a transceiver 806, which can be multiple components, that is, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium.
[0247] The user interface 803 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0248] It can be understood that the memory 802 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 802 of the system and method described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0249] In some implementations, the memory 802 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: an operating system 8021 and an application program 8022 .
[0250] The operating system 8021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program 8022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application program 8022.
[0251] In an embodiment of the present invention, by calling a program or instruction stored in the memory 802, specifically, it can be a program or instruction stored in the application 8022, wherein a transmitter is used to send trigger information to an offset status information collection server; the trigger information is determined based on the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of adjacent time nodes; optionally, the trigger information includes a fault group identifier of the injected device and time information when the device generates a fault based on the fault group identifier.
[0252] Part or all of the methods disclosed in the above embodiments of the present invention may also be applied to the processor 801, or implemented by the processor 801, or implemented by the processor 801 in cooperation with other components (such as a transceiver). The processor 801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 801 or by instructions in the form of software. The above processor 801 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802 and completes the steps of the above method in combination with its hardware.
[0253] It is to be understood that the embodiments described in the embodiments of the present invention can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions of the present application or a combination thereof.
[0254] For software implementation, the technology of the embodiments of the present invention can be implemented by a module (such as a process, function, etc.) that performs the functions of the embodiments of the present invention. The software code can be stored in a memory and executed by the processor 801. The memory can be implemented in the processor 801 or outside the processor 801.
[0255] In one embodiment, the transmitter is further used to send a fault mapping table to the device; the fault mapping table includes at least one of the following: a fault group identifier, fault description information, a fault generation configuration command, and current time information.
[0256] In one embodiment, the transmitter is further configured to send the fault mapping table to the device based on the identification number of the device.
[0257] In one embodiment, the receiver is used to receive fault generation information sent by the device; the processor is used to determine trigger information according to the fault generation information.
[0258] In one embodiment, a fault injection server is provided. Fig.17 . Fig.17 The terminal device 900 shown includes: at least one processor 901, a memory 902, at least one network interface 904 and a user interface 903. The various components in the terminal device 900 are coupled together via a bus system 905. It can be understood that the bus system 905 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 905 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 905 is not shown in FIG. Fig.17 Various buses are labeled as bus system 905. In addition, the embodiment of the present invention also includes a transceiver 906, which can be multiple components, that is, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium.
[0259] The user interface 903 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0260] It can be understood that the memory 902 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM). The memory 902 of the system and method described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0261] In some embodiments, the memory 902 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof: an operating system 9021 and an application program 9022 .
[0262] The operating system 9021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 9022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 9022.
[0263] In an embodiment of the present invention, by calling a program or instruction stored in the memory 902, specifically, it can be a program or instruction stored in the application 9022, wherein a receiver is used to receive request information sent by an offset status information collection server; the request information is determined by the offset status information collection server based on trigger information sent by the received fault injection server, and the trigger information is determined based on the fault generation information sent by the device; optionally, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set; optionally, the trigger information includes a fault group identifier pre-injected into the device and time information of the device generating a fault based on the fault group identifier; a processor is used to generate the offset status information of the device based on the status indicator information of adjacent time nodes according to the request information; a transmitter is used to send the offset status information to the offset status information collection server.
[0264] Part or all of the methods disclosed in the above embodiments of the present invention may also be applied to the processor 901, or implemented by the processor 901, or implemented by the processor 901 in cooperation with other components (such as a transceiver). The processor 901 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 901 or by instructions in the form of software. The above processor 901 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902 and completes the steps of the above method in combination with its hardware.
[0265] It is to be understood that the embodiments described in the embodiments of the present invention can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions of the present application or a combination thereof.
[0266] For software implementation, the technology of the embodiments of the present invention can be implemented by a module (such as a process, function, etc.) that performs the functions of the embodiments of the present invention. The software code can be stored in a memory and executed by the processor 901. The memory can be implemented in the processor 901 or outside the processor 901.
[0267] In one embodiment, a receiver is used to receive a fault mapping table sent by a fault injection server; optionally, the fault mapping table includes at least one of the following: a fault group identifier corresponding to the device, a fault generation configuration command, fault description information, and current time information; a processor is used to determine the fault generation information according to the fault mapping table; and a transmitter is used to send the fault generation information to the fault injection server.
[0268] In one embodiment, a processor is used to determine a status indicator set, a time interval and a time interval based on request information; the processor is also used to determine the first status indicator information of an indicator in the status indicator set at a first time node; the processor is also used to determine a second time node adjacent to the first time node according to the time interval and the time interval, and obtain the second status indicator information of the indicator at the second time node; the processor is also used to determine the offset status information based on the first status indicator information and the second status indicator information.
[0269] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0270] Receiving trigger information sent by the fault injection server; the trigger information is determined according to the fault generation information sent by the device in the bearer network;
[0271] Optionally, the trigger information includes a fault group identifier of the injected device and time information of the device generating the fault based on the fault group identifier;
[0272] The offset state information of the device is obtained according to the trigger information; the offset state information is generated by the device based on the state indicator information of adjacent time nodes.
[0273] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0274] When the trigger information is received, a request information is sent to the device; the request information is used to instruct the device to collect and send the offset status information;
[0275] receiving offset status information sent by the device based on the request information;
[0276] Optionally, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
[0277] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0278] The explosion radius of the bearer network is determined based on the offset status information.
[0279] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0280] Sending trigger information to the offset status information collection server; the trigger information is determined according to the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of the adjacent time nodes;
[0281] Optionally, the trigger information includes a fault group identifier of the injected device and time information at which the device generates a fault based on the fault group identifier.
[0282] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0283] Send a fault mapping table to the device; the fault mapping table includes at least one of the following: a fault group identifier, a fault description information, a fault generation configuration command, and current time information.
[0284] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0285] A fault mapping table is sent to the device based on the identification number of the device.
[0286] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0287] receiving fault generation information sent by the device;
[0288] The trigger information is determined according to the fault generation information.
[0289] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0290] Receiving request information sent by the offset status information collection server; the request information is determined by the offset status information collection server according to trigger information sent by the received fault injection server, and the trigger information is determined according to the fault generation information sent by the device;
[0291] Optionally, the trigger information includes a fault group identifier pre-injected into the device and time information of the device generating a fault based on the fault group identifier;
[0292] Optionally, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set;
[0293] Generate the offset status information of the device based on the status indicator information of the adjacent time nodes according to the request information;
[0294] The offset status information is sent to the offset status information collection server.
[0295] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0296] Receiving the fault mapping table sent by the fault injection server;
[0297] Optionally, the fault mapping table includes at least one of the following: a fault group identifier corresponding to the device, a fault generation configuration command, fault description information, and current time information;
[0298] Determine fault generation information according to the fault mapping table;
[0299] Send fault generation information to the fault injection server.
[0300] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0301] Determine a status indicator set, a time interval, and a time interval according to the request information;
[0302] Determine first status indicator information of an indicator in the status indicator set at a first time node;
[0303] Determine a second time node adjacent to the first time node according to the time interval and the time interval, and obtain second state indicator information of the indicator at the second time node;
[0304] The offset state information is determined according to the first state indicator information and the second state indicator information.
[0305] The present application also provides a computer program product including instructions, which, when executed on a computer, causes the computer to perform the following steps:
[0306] Receiving trigger information sent by the fault injection server; the trigger information is determined according to the fault generation information sent by the device in the bearer network;
[0307] Optionally, the trigger information includes a fault group identifier of the injected device and time information of the device generating the fault based on the fault group identifier;
[0308] The offset state information of the device is obtained according to the trigger information; the offset state information is generated by the device based on the state indicator information of adjacent time nodes.
[0309] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0310] When the trigger information is received, a request information is sent to the device; the request information is used to instruct the device to collect and send the offset status information;
[0311] receiving offset status information sent by the device based on the request information;
[0312] Optionally, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
[0313] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0314] The explosion radius of the bearer network is determined based on the offset status information.
[0315] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0316] Sending trigger information to the offset status information collection server; the trigger information is determined according to the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of the adjacent time nodes;
[0317] Optionally, the trigger information includes a fault group identifier of the injected device and time information at which the device generates a fault based on the fault group identifier.
[0318] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0319] Send a fault mapping table to the device; the fault mapping table includes at least one of the following: a fault group identifier, a fault description information, a fault generation configuration command, and current time information.
[0320] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0321] A fault mapping table is sent to the device based on the identification number of the device.
[0322] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0323] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0324] receiving fault generation information sent by the device;
[0325] The trigger information is determined according to the fault generation information.
[0326] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0327] Receiving request information sent by the offset status information collection server; the request information is determined by the offset status information collection server according to trigger information sent by the received fault injection server, and the trigger information is determined according to the fault generation information sent by the device;
[0328] Optionally, the trigger information includes a fault group identifier pre-injected into the device and time information of the device generating a fault based on the fault group identifier;
[0329] Optionally, the request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set;
[0330] Generate the offset status information of the device based on the status indicator information of the adjacent time nodes according to the request information;
[0331] The offset status information is sent to the offset status information collection server.
[0332] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0333] Receiving the fault mapping table sent by the fault injection server;
[0334] Optionally, the fault mapping table includes at least one of the following: a fault group identifier corresponding to the device, a fault generation configuration command, fault description information, and current time information;
[0335] Determine fault generation information according to the fault mapping table;
[0336] Send fault generation information to the fault injection server.
[0337] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0338] Determine a status indicator set, a time interval, and a time interval according to the request information;
[0339] Determine first status indicator information of an indicator in the status indicator set at a first time node;
[0340] Determine a second time node adjacent to the first time node according to the time interval and the time interval, and obtain second state indicator information of the indicator at the second time node;
[0341] The offset state information is determined according to the first state indicator information and the second state indicator information.
[0342] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0343] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0344] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for obtaining information, characterized in that: Applied to a deviation status information collection server, the method comprises: Receiving trigger information sent by a fault injection server; the trigger information is determined according to fault generation information sent by a device in the bearer network; The offset state information of the device is acquired according to the trigger information; the offset state information is generated by the device based on state indicator information of adjacent time nodes.
2. The method according to claim 1, characterized in that The trigger information includes a fault group identifier injected into the device and time information when the device generates a fault based on the fault group identifier.
3. The method according to claim 2, characterized in that The acquiring the offset state information of the device according to the trigger information includes: When the trigger information is received, a request information is sent to the device; the request information is used to instruct the device to collect and send the offset status information; receiving the offset status information sent by the device based on the request information.
4. The method according to claim 3, characterized in that The request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: A blast radius of the bearer network is determined based on the offset state information.
6. A method for obtaining information, characterized in that: Applied to a fault injection server, the method comprises: Send trigger information to the offset status information collection server; the trigger information is determined based on the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of adjacent time nodes.
7. The method according to claim 6, characterized in that The trigger information includes a fault group identifier injected into the device and time information when the device generates a fault based on the fault group identifier.
8. The method according to claim 6, characterized in that The method further comprises: A fault mapping table is sent to the device; the fault mapping table includes at least one of the following: a fault group identifier, fault description information, a fault generation configuration command, and current time information.
9. The method according to claim 8, characterized in that The sending the fault mapping table to the device includes: The fault mapping table is sent to the device based on the identification number of the device.
10. The method according to any one of claims 6 to 9, characterized in that: The method further comprises: receiving fault generation information sent by the device; The trigger information is determined according to the fault generation information.
11. A method for obtaining information, characterized in that: Applied to a device in a bearer network, the method comprises: Receiving request information sent by the offset status information collection server; the request information is determined by the offset status information collection server according to trigger information sent by the received fault injection server, and the trigger information is determined according to the fault generation information sent by the device; According to the request information, generating the offset state information of the device based on the state indicator information of the adjacent time nodes; The offset state information is sent to the offset state information collection server.
12. The method according to claim 11, characterized in that The trigger information includes a fault group identifier pre-injected into the device and time information when the device generates a fault based on the fault group identifier.
13. The method according to claim 11, characterized in that The request information includes at least one of the following: a status indicator set identifier of the device, a status indicator set corresponding to the status indicator set identifier, a preset time interval corresponding to the status indicator set, and a preset time interval corresponding to the status indicator set.
14. The method according to claim 11, characterized in that Before receiving the request information sent by the offset status information collection server, the method further includes: Receive the fault mapping table sent by the fault injection server; Determine fault generation information according to the fault mapping table; The fault generation information is sent to the fault injection server.
15. The method according to claim 14, characterized in that The fault mapping table includes at least one of the following items: a fault group identifier corresponding to the device, a fault generation configuration command, fault description information, and current time information.
16. The method according to claim 13, characterized in that The step of generating the offset state information of the device based on the state indicator information of the adjacent time nodes according to the request information includes: Determine the status indicator set, the time interval and the time interval according to the request information; Determine first status indicator information of an indicator in the status indicator set at a first time node; Determine a second time node adjacent to the first time node according to the time interval and the time interval, and obtain second state indicator information of the indicator at the second time node; The offset state information is determined according to the first state indicator information and the second state indicator information.
17. An information acquisition device, characterized in that: Applied to a server for collecting offset status information, the device comprises: A first receiving module, configured to receive trigger information sent by a fault injection server; the trigger information is determined based on fault generation information sent by a device in the bearer network; An acquisition module is used to acquire the offset state information of the device according to the trigger information; the offset state information is generated by the device based on the state indicator information of adjacent time nodes.
18. An information acquisition device, characterized in that: Applied to a fault injection server, the device comprises: The first sending module is used to send trigger information to the offset status information collection server; the trigger information is determined based on the fault generation information sent by the device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain the offset status information of the device, and the offset status information is generated by the device based on the status indicator information of adjacent time nodes.
19. An information acquisition device, characterized in that: A device applied to a bearer network, the device comprising: A third receiving module is used to receive request information sent by the offset state information collection server; the request information is determined by the offset state information collection server according to trigger information sent by the received fault injection server, and the trigger information is determined according to the fault generation information sent by the device; A generating module, configured to generate offset status information of the device based on status indicator information of adjacent time nodes according to the request information; The third sending module is used to send the offset state information to the offset state information collection server.
20. A server for collecting offset status information, characterized in that: include: Receiver and processor; The receiver is used to receive trigger information sent by the fault injection server; The trigger information is determined according to the fault generation information sent by the equipment in the bearer network; The processor is used to obtain the offset state information of the device according to the trigger information; the offset state information is generated by the device based on the state indicator information of adjacent time nodes.
21. A fault injection server, characterized in that: include: Transmitter; The transmitter is used to send trigger information to the offset status information collection server; The trigger information is determined based on fault generation information sent by a device in the bearer network, and the trigger information is used to instruct the offset status information collection server to obtain offset status information of the device, where the offset status information is generated by the device based on status indicator information of adjacent time nodes.
22. A device in a bearer network, characterized in that: include: Receivers, processors, and transmitters; The receiver is used to receive the request information sent by the offset status information collection server; The request information is determined by the offset status information collection server according to trigger information sent by the fault injection server, and the trigger information is determined according to the fault generation information sent by the device; The processor is configured to generate offset state information of the device based on the state indicator information of adjacent time nodes according to the request information; The transmitter is used to send the offset state information to the offset state information collection server.
23. An information acquisition system, characterized in that: The device comprises the offset status information collection server of claim 20, the fault injection server of claim 21 and the device in the bearer network of claim 22; The offset status information collection server is used to perform the steps of claims 1-5; The fault injection server is used to perform the steps of claims 6-10; The device in the bearer network is used to execute the steps of claims 11-16.
24. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 16 are implemented.
25. A chip, characterized in that: The chip comprises a programmable logic circuit and / or program instructions, and the steps of the method according to any one of claims 1 to 16 are implemented when the chip is executed.
26. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 16 are implemented.