Communication execution reliability evaluation method, device, equipment and medium
By evaluating the bit error rate, packet loss rate and jitter of the communication link in the space network, and combining the command response, the problem of inaccurate communication reliability evaluation in the space environment is solved, and the accuracy of the reliability of communication execution is achieved.
Patent Information
- Application Number
- CN202510753048.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2045-06-06
AI Technical Summary
In space network communication, communication reliability evaluation accuracy is insufficient, making it difficult to meet the challenges of high radiation, extreme temperatures and long-distance transmission, resulting in instability in communication.
By evaluating the bit error rate, packet loss rate, link delay and jitter of the communication link, and combining the response status of the service instructions, communication link and instruction execution reliability evaluation is carried out to obtain accurate communication execution reliability data.
It realizes an accurate quantitative evaluation of the reliability of communication execution, can trace the root cause of the problem, provide optimization direction and quantitative basis, and improve communication reliability.
Smart Images

Figure CN120282181B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, apparatus, device and medium for evaluating the reliability of communication execution. Background Art
[0002] In space network communications, highly reliable communications are a crucial foundation for building system functions such as data transmission, distributed computing, satellite interconnection, mega-constellations, and integrated space-ground networks. However, the complex and ever-changing space environment, characterized by high radiation, extreme temperatures, and long-distance transmission, poses significant challenges to communication reliability. The accuracy of communication reliability assessment in related technologies needs to be improved. Therefore, a new communication reliability assessment method is urgently needed. Summary of the Invention
[0003] The present application provides a communication execution reliability evaluation method, device, equipment and medium, which solves the technical problem of inaccurate communication reliability evaluation in related technologies and achieves the technical effect of improving the accuracy of communication reliability evaluation.
[0004] In order to achieve the above objectives, the main technical solutions adopted in this application include:
[0005] In a first aspect, an embodiment of the present application provides a method for evaluating communication execution reliability, the method comprising:
[0006] Determining a bit error rate, packet loss rate, link delay, and link jitter of a communication link when a sending device sends a service instruction to the communication link; wherein the sending device is communicatively connected to a receiving device;
[0007] Performing a link reliability evaluation on the communication link according to the bit error rate, the packet loss rate, the link delay, and the link jitter to obtain communication link reliability data corresponding to the service instruction during transmission;
[0008] When the sending device receives response information from the receiving device to the service instruction, determining an instruction response status of the service instruction based on the type of the service instruction; wherein the instruction response status is used to describe the execution status of the service instruction on the receiving device;
[0009] Performing an execution reliability evaluation based on the instruction response to obtain instruction execution reliability data corresponding to the business instruction during execution;
[0010] Based on the communication link reliability data and the instruction execution reliability data, communication execution reliability data of the business instruction is obtained by summarizing; wherein the communication execution reliability data is used to describe the communication execution status of the business instruction.
[0011] Optionally, the sending device initiates a target application task, the target application task corresponds to a first business instruction set, and the first business instruction set includes a plurality of mutually independent business instructions; the method further includes:
[0012] The communication execution reliability data of each of the service instructions is jointly counted to obtain the communication execution reliability data of the target application task.
[0013] Optionally, the communication execution reliability data of each of the business instructions is represented by fuzzy probability; and the performing joint statistics on the communication execution reliability data of each of the business instructions to obtain the communication execution reliability data of the target application task includes:
[0014] The fuzzy probability of each of the business instructions is multiplied to obtain reliability fuzzy probability evaluation data of the target application task.
[0015] Optionally, the sending device initiates a target application task, the target application task corresponds to a first business instruction set, the first business instruction set includes a plurality of mutually independent business instructions; the business instructions correspond to priorities; before the sending device sends the business instruction to the communication link, the method further includes:
[0016] Obtaining a first attribute set of each of the business instructions in the target application task, and writing the first attribute set into a structured database; wherein the first attribute set includes at least an identifier, a log identifier, a type, a priority, an instruction content, and an execution status of the business instruction;
[0017] Obtain a second attribute set for each of the business instructions in the target application task, and write the second attribute set into a cache database; wherein the second attribute set includes at least the identifier, log identifier, priority, destination terminal identifier, instruction content, and storage duration of the business instruction.
[0018] Optionally, the type of the service instruction corresponds to the priority; and the method further includes:
[0019] When the type of the business instruction corresponds to the first priority, if the instruction response of the business instruction indicates that the business instruction is successfully executed, deleting the corresponding business instruction from the cache database;
[0020] When the type of the service instruction corresponds to the second priority, if the sending device receives an instruction response to the service instruction, the corresponding service instruction is deleted from the cache database; wherein the first priority is higher than the second priority.
[0021] Optionally, the type of the service instruction corresponds to the priority; and determining whether to send the service instruction to the communication link is performed in the following manner:
[0022] Reading a second service instruction set from the cache database, and monitoring response information corresponding to the second service instruction set to obtain a reception status and a parsing result of the response information;
[0023] Filtering the second service instruction set according to the receiving status and the parsing result to obtain a target instruction set;
[0024] The service instructions in the target instruction set are sorted according to the priority, and the service instructions are sent to the communication link according to the sorting result.
[0025] Optionally, the communication execution reliability data of each service instruction is represented by fuzzy probability; and the link reliability evaluation of the communication link based on the bit error rate, the packet loss rate, the link delay, and the link jitter, and the execution reliability evaluation based on the instruction response, includes:
[0026] When the value of the target indicator is less than a first threshold corresponding to the target indicator, determining that the fuzzy probability is equal to a first preset value; wherein the target indicator is any one of a bit error rate, a packet loss rate, a link delay, a link jitter, a command response time, or a command execution success rate;
[0027] When the value of the target indicator is greater than or equal to the first threshold corresponding to the target indicator and less than a second threshold, performing a first type of calculation based on the value of the target indicator, the first threshold, the second threshold, and a second preset value to obtain a corresponding fuzzy probability;
[0028] When the value of the target indicator is greater than or equal to the second threshold corresponding to the target indicator and less than the third threshold, performing a second type of calculation based on the value of the target indicator, the second threshold, and the third threshold to obtain a corresponding fuzzy probability;
[0029] When the value of the target indicator is greater than or equal to the third threshold, it is determined that the fuzzy probability is equal to a third preset value.
[0030] In a second aspect, an embodiment of the present application provides a communication execution reliability evaluation device, the device comprising:
[0031] a link condition determination module, configured to determine a bit error rate, packet loss rate, link delay, and link jitter of a communication link when a sending device issues a service instruction to the communication link; wherein the sending device is communicatively connected to a receiving device;
[0032] a link reliability evaluation module, configured to evaluate the link reliability of the communication link according to the bit error rate, the packet loss rate, the link delay, and the link jitter, and obtain communication link reliability data corresponding to the service instruction during transmission;
[0033] a response status determination module, configured to determine, when the sending device receives response information from the receiving device to the service instruction, an instruction response status of the service instruction based on the type of the service instruction; wherein the instruction response status is used to describe the execution status of the service instruction on the receiving device;
[0034] An execution reliability evaluation module is used to evaluate the execution reliability of the instruction according to the response of the instruction, and obtain the instruction execution reliability data corresponding to the execution of the business instruction;
[0035] A communication reliability determination module is used to summarize the communication link reliability data and the instruction execution reliability data to obtain the communication execution reliability data of the business instruction; wherein the communication execution reliability data is used to describe the communication execution status of the business instruction.
[0036] In a third aspect, an embodiment of the present application provides a computer device, including:
[0037] A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method described in any of the above embodiments by executing the computer instructions.
[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the method described in any of the above embodiments.
[0039] In an embodiment of the present application, first, after a service instruction is issued, the reliability of the communication link is quantitatively assessed by evaluating various performance indicators of the communication link, thereby obtaining accurate communication link reliability data. Next, when the receiving device returns a response message, the response to the service instruction is further determined based on the type of service instruction, and based on this, the reliability of the service instruction execution is evaluated to obtain instruction execution reliability data, which accurately reflects the reliability of the instruction during execution on the receiving device. Finally, by integrating the communication link reliability data and the instruction execution reliability data, accurate service instruction communication execution reliability data is obtained. According to this embodiment, when analyzing the communication execution reliability data of a service instruction, the root cause of the problem can be traced back to determine whether it is caused by insufficient communication link reliability or an instruction execution reliability problem. Once the root cause of low reliability is identified, more specific reliability indicators can be further traced and determined. This process provides a clear direction for the subsequent optimization of service instruction communication and a quantitative basis for the formulation of optimization measures, thereby helping to further improve the reliability of service instruction communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the specific implementation methods or the description of the prior art. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0041] Figure 1a This is a diagram illustrating a scenario of a method for evaluating the reliability of communication execution provided in an embodiment of this specification;
[0042] Figure 1b A flowchart of a communication execution reliability evaluation method provided in an embodiment of this specification;
[0043] Figure 2 A flowchart of a communication execution reliability evaluation method provided in an embodiment of this specification;
[0044] Figure 3 A flowchart of a communication execution reliability evaluation method provided in an embodiment of this specification;
[0045] Figure 4 A flowchart of a communication execution reliability evaluation method provided in an embodiment of this specification;
[0046] Figure 5 A flowchart of a communication execution reliability evaluation method provided in an embodiment of this specification;
[0047] Figure 6A schematic diagram of a communication execution reliability evaluation device provided in an embodiment of this specification;
[0048] Figure 7 A schematic diagram of a computer structure provided in an embodiment of this specification. DETAILED DESCRIPTION
[0049] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of this application.
[0050] As human space exploration continues to deepen, the demand for space network communications is growing. Highly reliable communications are a crucial foundation for building system functions such as data transmission, distributed computing, satellite interconnection, mega-constellations, and integrated space-ground networks. However, the complex and ever-changing space environment, with challenges such as high radiation, extreme temperatures, and long-distance transmission, places extremely high demands on the reliability of network communications. Therefore, accurately evaluating the reliability of network communications is crucial. Based on the evaluation results, relevant factors can be optimized, thereby further improving network communication reliability.
[0051] Based on this, the present application proposes a method for evaluating communication execution reliability. First, after a service instruction is issued, the reliability of the communication link is quantitatively assessed by evaluating various performance indicators of the communication link, obtaining accurate communication link reliability data. Next, when the receiving device returns a response, the response to the service instruction is further determined based on the service instruction type. Based on this, the reliability of the service instruction execution is evaluated, obtaining instruction execution reliability data that accurately reflects the reliability of the instruction during execution on the receiving device. Finally, by combining the communication link reliability data and the instruction execution reliability data, accurate service instruction communication execution reliability data is obtained. According to this embodiment, when analyzing the service instruction communication execution reliability data, the root cause of the problem can be traced back to determine whether it is caused by insufficient communication link reliability or instruction execution reliability issues. Once the root cause of low reliability is determined, more specific reliability indicators can be further traced and determined. This process provides a clear direction for subsequent optimization of service instruction communication and a quantitative basis for formulating optimization measures, thereby helping to further improve the reliability of service instruction communication.
[0052] In related technologies, network communications in space environments are unstable due to problems such as signal attenuation, frame data loss, and increased latency, and it is difficult to meet the needs of actual target application tasks through the underlying communication protocol. Based on this, this application also provides a scenario example of a method for improving and evaluating the reliability of communication execution. This method does not rely on a specific communication protocol, can be deployed and run in a middleware mode, and can achieve plug-and-play. Please refer to Figure 1a :
[0053] S1001. A middleware for improving communication reliability and evaluating communication execution reliability is deployed on the sending device. The communication terminal can initiate a target application task, which can include several business instructions. A business instruction is the smallest unit of the target application task.
[0054] S1002: Input relevant information of the target application task into the middleware, including each business instruction and relevant parameters required for communication execution reliability evaluation of the business instructions;
[0055] S1003. The middleware sets a priority level for the business instruction based on the correspondence between the business instruction and the priority, which may include four priorities: urgent, high, medium, and low.
[0056] S1004. Writing relevant communication data such as the target application task, business instruction, priority level, sending device, and receiving device into a structured database as an initial business instruction communication log;
[0057] S1005. All business instruction data of the target application task is written into a cache database so that the business instructions can be quickly read from the cache database. When the execution of a business instruction meets a preset standard, it will be deleted from the cache database. The preset standard may be that the urgent or high-priority business instruction is successfully executed and the reliability evaluation data has been written into the structured database, and the response information of the medium- and low-priority business instructions is received and the reliability evaluation data has been written into the structured database.
[0058] S1006. When the network communication status is determined to be normal, the service instruction is sent to the receiving terminal in an asynchronous manner. If the network communication status is abnormal when a service instruction is sent, the service instruction needs to wait for processing by the instruction inspection timer. After the service instruction is sent, if it is determined that the sending fails, the service instruction also needs to wait for processing by the instruction inspection timer.
[0059] S1007. After the service instruction is successfully sent, wait for receiving its response information; if the response information is not received within the specified time, the service instruction needs to wait for the instruction inspection timer to process;
[0060] S1008. If a response message to the service instruction is received within the specified time, the response message is parsed and the instruction execution result is obtained from the parsed result to determine whether the service instruction is successfully executed on the receiving terminal. If the execution fails, determine whether the service instruction is urgent or high priority. If so, the service instruction needs to wait for processing by the instruction inspection timer.
[0061] S1009. The command inspection timer obtains a set of undeleted business commands in the cache database within a preset time period (e.g., 120 seconds), and monitors the reception of response information of the business commands and the command execution results obtained through analysis;
[0062] S1010. At the end of the preset time period, the instruction inspection timer removes the successfully executed emergency and high-priority business instructions and the medium- and low-priority business instructions that have received response information from the undeleted business instruction set, and sorts the remaining business instructions from high to low priority.
[0063] S1011. When it is determined that the network communication status is normal, the business instruction that needs to be re-executed is sent in an asynchronous manner;
[0064] S1012. The middleware includes a reliability evaluation model. The relevant parameters and target indicators for communication execution reliability evaluation are input into the model. This model can be used to quantitatively evaluate the communication execution reliability of successfully executed business instructions, as well as unsuccessfully executed medium- and low-priority business instructions. Target indicators include bit error rate, packet loss rate, link delay, link jitter, instruction response time, and instruction execution success rate. These target indicators are input into the reliability evaluation model, and after calculation, communication execution reliability data for the business instructions can be obtained. Based on the communication execution reliability data for all business instructions, communication execution reliability data for the target application task can also be obtained.
[0065] S1013. Update the execution results, status information, reliability evaluation and other data of the business instructions into the structured database;
[0066] S1014. Delete the corresponding service instruction in step S1013 from the cache database.
[0067] The above scenario example can achieve full-process and full-time monitoring and management of business instruction communication execution, and perform hierarchical management of business instructions to ensure that higher-priority business instructions are executed first and successfully, thereby improving the reliability of communication execution under intermittent network instability; at the same time, the communication execution reliability of business instructions or application tasks can be quantitatively evaluated with high accuracy. When analyzing the communication execution reliability data of business instructions, the root cause of the problem can be traced back through the saved business instruction communication logs, providing a clear direction for the subsequent optimization of business instruction communication and a quantitative basis for the formulation of optimization measures, which will help to further improve the reliability of business instruction communication.
[0068] According to an embodiment of the present application, an embodiment of a communication execution reliability evaluation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0069] This embodiment provides a communication execution reliability evaluation method, see Figure 1b , the method comprising:
[0070] S110 : When the sending device sends a service instruction to the communication link, determine the bit error rate, packet loss rate, link delay, and link jitter of the communication link.
[0071] Among them, a business instruction can be an explicit instruction issued by a computer or user to trigger a specific operation or process, and usually contains specific information about the specific operation or process to be triggered, such as the operation type, parameters, target object, etc.
[0072] The sending device is communicatively connected to the receiving device. The sending device can be a device that initiates service commands or other data transmissions within the communication system, such as a computer, mobile phone, or other smart terminal. The receiving device can be a device that receives service commands, processes them, and returns a response, such as a computer, mobile phone, or other smart terminal, or a remote sensing satellite.
[0073] The communication link can be a wireless communication path for transmitting business instructions or other data in space communications. It should be noted that the communication execution reliability evaluation method in this application can also be used in non-space communication scenarios, such as wired communication scenarios, and the communication link can also be an optical fiber, broadband connection, etc.
[0074] The bit error rate can be measured as the ratio of errors in data transmitted over a communication link within a specified timeframe. The packet loss rate can be measured as the ratio of lost packets to the total number of packets sent within a specified timeframe. Link latency can be measured as the time it takes for data to travel from the sender to the receiver. Link jitter can be measured as the variation in latency during data transmission, for example, using the standard deviation of link latency.
[0075] In some implementations, after a sending device sends one or more service instructions to a communication link, and until a receiving device receives a response to the instructions, a network performance testing tool is used to obtain the bit error rate, packet loss rate, link delay, and link jitter of the communication link. For example, the average of these data can be obtained multiple times to provide the final data on the bit error rate, packet loss rate, link delay, and link jitter of the communication link.
[0076] S120 , evaluating the reliability of the communication link according to the bit error rate, packet loss rate, link delay, and link jitter, and obtaining the communication link reliability data corresponding to the service instruction during the transmission process.
[0077] The link reliability evaluation may be a quantitative evaluation of the communication link based on evaluation data of bit error rate, packet loss rate, link delay, and link jitter. The communication link reliability data may be data obtained by quantitatively evaluating the link reliability.
[0078] In some embodiments, there is a correspondence between the bit error rate, packet loss rate, link delay and link jitter and their evaluation data. After obtaining the bit error rate, packet loss rate, link delay and link jitter of the service instruction during transmission, the bit error rate evaluation data is obtained according to the correspondence. , Packet loss rate evaluation data , link delay evaluation data and link jitter evaluation data .
[0079] In some embodiments, the influence of the bit error rate, packet loss rate, link delay and link jitter on the reliability of the communication link can be determined based on the order relationship method. For example, the influence of the bit error rate, packet loss rate, link delay and link jitter are respectively 、 、 、 , .
[0080] In some embodiments, based on the evaluation data of the bit error rate, packet loss rate, link delay and link jitter, and their respective impacts on the reliability of the communication link, the communication link reliability data corresponding to the service instruction during the transmission process is obtained. For example, the communication link reliability data ,in, is the communication link reliability data, is the bit error rate evaluation data, is the packet loss rate evaluation data, Link delay evaluation data, Link jitter evaluation data, 、 、 、 They are the impact of bit error rate, packet loss rate, link delay and link jitter respectively.
[0081] S130: When the sending device receives the response information of the receiving device to the service instruction, determine the instruction response status of the service instruction based on the type of the service instruction.
[0082] The command response status is used to describe the execution status of the business command on the receiving device, which can include the command response time and the command execution success rate. The type of business command can be system class, important module class, common module class, and others.
[0083] In some embodiments, if the business instruction type is system or critical module, and the instruction execution result in the response information is a failure, the business instruction needs to be executed again until it is successful. The instruction response status, namely the instruction response time and instruction execution success rate, is determined based on the response information when the execution is successful. If the business instruction type is general module or other, regardless of whether the instruction execution result in the response information is success or failure, the instruction response time and instruction execution success rate can be determined based on the response information.
[0084] In some embodiments, the instruction response time may be the time from when a service instruction is issued by a sending device to when its response information is received. For example, if the service instruction type is system-class, it is issued from the sending device at time t1, its response information is received at time t2, and after parsing the response information, the execution result is failure. The service instruction is reissued at time t3, and its response information is received at time t4. After parsing the response information, the execution result is success. In this case, the response time Δt for this service instruction is = t4 - t3. For example, if the service instruction type is general module-class, it is issued from the sending device at time t5, its response information is received at time t6, and after parsing the response information, the execution result is failure. In this case, the response time Δt for this service instruction is = t6 - t5.
[0085] In some embodiments, the instruction execution success rate of any business instruction can be calculated by accumulating the current data and historical data of the corresponding receiving terminal using the business instruction. Each business instruction, the receiving terminal identifier, and the execution result can be recorded in a structured database, and the instruction execution success rate can be calculated based on these records. For example, the historical record of business instruction A in the database is: executed 99 times on receiving terminal D, of which 96 were successful and 3 failed. It was currently executed 1 time and was successful. After accumulating this data and the historical data, the execution success rate of the business instruction is obtained to be 0.97. It should be noted that the accumulated data can reflect the execution status of the business instruction on the receiving terminal, can accurately evaluate the success rate of the instruction, and avoid the accidental influence of the single execution result.
[0086] S140: Perform an execution reliability evaluation based on the instruction response situation to obtain instruction execution reliability data corresponding to the business instruction during execution.
[0087] The reliability evaluation of business instructions can be based on the reliability evaluation of instruction response time and instruction execution success rate. Instruction execution reliability data can refer to numerical data reflecting whether there are any anomalies during instruction execution, which can be used to further analyze and optimize the instruction execution process.
[0088] In some embodiments, there is a correspondence between the instruction response time, instruction execution success rate and their evaluation data. After obtaining the instruction response time and instruction execution success rate of the business instruction, the instruction response time evaluation data is obtained according to the correspondence. and instruction execution success rate evaluation data .
[0089] In some implementations, the influence of instruction response time and instruction execution success rate on the reliability of business instruction execution can be determined based on expert experience. For example, the influence of instruction response time and instruction execution success rate are respectively 、 , .
[0090] In some embodiments, the instruction execution reliability data of the business instruction during the execution process is obtained based on the evaluation data of the instruction response time and the instruction execution success rate, as well as the impact of each on the execution reliability. For example, the instruction execution reliability data ,in, is the instruction execution reliability data, Evaluation data for instruction response time, This is the instruction execution success rate evaluation data, 、 They are the influence of instruction response time and instruction execution success rate respectively.
[0091] S150 , performing aggregation based on the communication link reliability data and the instruction execution reliability data to obtain communication execution reliability data of the service instruction.
[0092] The communication execution reliability data is used to describe the communication execution status of the service instructions.
[0093] In some implementations, the influence of the communication link reliability data and the instruction execution reliability data on the communication reliability can be determined based on expert experience. For example, the influence of the communication link reliability data and the instruction execution reliability data are respectively 、 , .
[0094] In some embodiments, the communication execution reliability data of the service instruction is obtained based on the communication link reliability data, the instruction execution reliability data, and the impact of each on the communication reliability. , where P is the communication execution reliability data of the business instruction, is the communication link reliability data, is the instruction execution reliability data, Communication link reliability data, The impact of instruction execution reliability data.
[0095] In the above embodiment, after a service instruction is issued, the reliability of the communication link is quantitatively assessed by evaluating various performance indicators of the communication link, obtaining accurate communication link reliability data. Next, when the receiving device returns a response, the response to the service instruction is further determined based on the type of service instruction. Based on this, the reliability of the service instruction execution is evaluated, obtaining instruction execution reliability data that accurately reflects the reliability of the instruction during execution on the receiving device. Finally, by combining the communication link reliability data and the instruction execution reliability data, accurate service instruction communication execution reliability data is obtained. According to this embodiment, when analyzing the service instruction communication execution reliability data, the root cause of the problem can be traced back to determine whether it is caused by insufficient communication link reliability or instruction execution reliability issues. Once the root cause of low reliability is determined, more specific reliability indicators can be further traced and determined. This process provides a clear direction for subsequent optimization of service instruction communication and a quantitative basis for formulating optimization measures, thereby helping to further improve the reliability of service instruction communication.
[0096] In some embodiments, the sending device initiates a target application task, the target application task corresponds to a first business instruction set, and the first business instruction set includes multiple independent business instructions; the method also includes: jointly performing statistics on the communication execution reliability data of each business instruction to obtain the communication execution reliability data of the target application task.
[0097] The target application task may be a task initiated on a sending device and required to be executed on a receiving device to achieve a specific purpose. The first business instruction set may be a set consisting of all business instructions contained in the target application task. Mutual independence may mean that the success or failure of a business instruction does not affect the execution of other business instructions. Joint statistics may be a process of analyzing and counting the communication execution reliability data of multiple business instructions, aiming to obtain a comprehensive statistical result as the communication execution reliability data of the target application task.
[0098] In some embodiments, there are three modules A, B, and C on the remote sensing satellite, and there is no correlation between the parameters of the three modules. The target application task is to update the parameters for these three modules, and the first business instruction set may include three independent business instructions: update parameters for module A, update parameters for module B, and update parameters for module C. It should be noted that each business instruction is independent of each other. Therefore, the communication reliability evaluation can be performed on each business instruction separately to obtain the respective communication execution reliability data. Since the target application task corresponds to three business instructions, and each business instruction needs to be completed before it can be considered as the target application task completed, the communication execution reliability data of the target application task needs to be jointly counted based on the communication execution reliability data of the three business instructions. For example, the weights of the three business instructions are respectively 、 、 , the communication execution reliability data are P1, P2, and P3 respectively. The communication execution reliability data of the target application task can be:
[0099]
[0100] in, Provides communication execution reliability data for target application tasks.
[0101] In the above embodiment, the first business instruction set corresponding to the target application task contains multiple independent instructions. Based on the joint statistics of the communication execution reliability data of each business instruction, the communication execution reliability data of the target application task is obtained, which can provide a strong quantitative basis for the subsequent optimization and adjustment of the target application task.
[0102] In some embodiments, the communication execution reliability data of each business instruction is represented by fuzzy probability; the communication execution reliability data of each business instruction is jointly counted to obtain the communication execution reliability data of the target application task, including: multiplying the fuzzy probability of each business instruction to obtain the reliability fuzzy probability evaluation data of the target application task.
[0103] The fuzzy probability may be a probability value obtained through a fuzzy logic method, and is used to measure the reliability of the successful execution of each business instruction.
[0104] In some embodiments, the target application task is to take photos of a certain range on the earth through a remote sensing satellite. The first business instruction set may include four independent business instructions: checking the camera status, taking photos, saving the photos in the temporary storage space of the satellite, and transmitting the photos back to the sending device. The communication execution reliability data of each business instruction is expressed in fuzzy probability, which are 0.8, 0.6, 0.7, and 0.8 respectively. The fuzzy probability of each business instruction is multiplied to obtain the reliability fuzzy probability evaluation data of the target application task, that is, the above three data are multiplied, and the result is 0.2688.
[0105] In the above embodiment, the reliability fuzzy probability evaluation data of the target application task is obtained based on the multiplication calculation of the fuzzy probability of each business instruction, which can provide a strong quantitative basis for the subsequent optimization and adjustment of the target application task.
[0106] In some embodiments, see Figure 2 The sending device initiates a target application task, the target application task corresponds to a first business instruction set, the first business instruction set includes multiple independent business instructions; the business instructions correspond to priorities; before the sending device sends the business instruction to the communication link, the method further includes:
[0107] S410: Obtain a first attribute set of each business instruction in the target application task, and write the first attribute set into a structured database.
[0108] The priority level may be the processing priority that should be given to each business instruction during execution. The first attribute set includes at least the business instruction identifier, log identifier, type, priority, instruction content, and execution status. A structured database may be a database that stores data in a structured manner, typically in a tabular format.
[0109] In some implementations, the priorities corresponding to the service instructions include emergency, high, medium, and low priorities.
[0110] Table 1 Example of business instruction priority table
[0111]
[0112] In some implementations, attribute information related to pending business instructions is stored in a structured database, such as an Oracle database, as an initial business instruction communication log. Furthermore, after the business instruction is executed, information related to the reliability evaluation is also updated in the database to facilitate monitoring and management of the communication process. For example, the data table corresponding to each business instruction may store not only the business instruction identifier, log identifier, type, priority, instruction content, and execution status, but also other fields (see Table 2).
[0113] Table 2 Example of business instruction communication structured data
[0114]
[0115] S420: Obtain a second attribute set of each business instruction in the target application task, and write the second attribute set into a cache database.
[0116] The second attribute set includes at least the service instruction identifier, log identifier, priority, destination terminal identifier, instruction content, and storage duration. A cache database is a database that stores and quickly accesses data in memory, and is typically used to increase data access speed.
[0117] In some embodiments, the relevant attribute information of the business instructions to be executed is stored in a cache database. The purpose is to be able to quickly read the business instructions from the cache and improve the response speed in the communication system. The use of the cache database effectively reduces access delays and ensures that business instructions can be processed and executed in a timely manner. For example, the combination of the business instruction identifier, priority, and destination terminal ID is saved as a key value in the cache database. For example, if the business instruction identifier is 20, the priority value is 2, and the destination terminal ID is dev-1234, the key value is "20,2,dev-1234". The data content corresponding to the key value can be in JSON format and can include creation time, storage duration, business instruction communication log identifier, priority, and business instruction communication data.
[0118] In the above embodiment, before the sending device issues a service instruction to the communication link, the first attribute set of each service instruction in the target application task is written to a structured database to record the specific information and reliability evaluation information of each service instruction for subsequent tracing. Simultaneously, the second attribute set of each service instruction is written to a cache database to ensure that the service instruction can be quickly read from the cache during communication, thereby improving the response speed of the communication system.
[0119] See also Figure 3 In some embodiments, the type of the service instruction corresponds to the priority; the method further includes:
[0120] S510: When the type of the service instruction corresponds to the first priority, if the instruction response of the service instruction indicates that the service instruction is executed successfully, delete the corresponding service instruction from the cache database.
[0121] S520: When the type of the service instruction corresponds to the second priority, if the sending device receives an instruction response to the service instruction, the corresponding service instruction is deleted from the cache database.
[0122] Priority 1 takes precedence over priority 2. When processing commands, more important business commands are prioritized. Higher-priority business commands represent greater urgency or impact, and therefore receive more communication resources and processing power to ensure timely completion. The command response status includes the receipt of the response message and the execution result of the business command obtained by parsing the response message.
[0123] In some embodiments, the first business instruction set of a target application task includes several business instructions of the first priority and several business instructions of the second priority. After the first attribute set of each business instruction is written into the structured database and the second attribute set is written into the cache database, the network performance detection tool is used to detect whether the network communication status is normal (for example, to detect network connectivity, and whether the bit error rate, packet loss rate, link delay and link jitter are lower than the preset threshold). If the network status is normal, the business instructions in the first business instruction set are sent to the communication link in an asynchronous manner. Subsequently, the sending status of each business instruction is detected; if the sending is successful, wait for the corresponding response information to be received. When a response message is received, the response information is parsed to obtain whether the business instruction is executed successfully.
[0124] In some embodiments, if the first-priority service instruction is successfully executed, the corresponding service instruction is deleted from the cache database. If the execution fails, the corresponding service instruction is read from the cache database and sent to the communication link for re-execution until the execution succeeds.
[0125] In some implementations, as long as the sending device receives the response information, the corresponding service instruction of the second priority level may be deleted from the cache database regardless of whether the service instruction is successfully executed.
[0126] In some embodiments, before deleting a business instruction, it is necessary to check whether the execution results, status information and reliability evaluation related data of the business instruction (such as evaluation data of bit error rate, packet loss rate, link delay and link jitter, evaluation data of instruction response time and instruction execution success rate, communication link reliability data, instruction execution reliability data and communication execution reliability data) have been written into the structured database to ensure that these data have been recorded for subsequent tracing.
[0127] In some embodiments, the first priority level is further subdivided into emergency and high priority, and the second priority level is further subdivided into medium and low priority. The cache database can also set the retention period of business instructions to further refine the business instruction execution strategy. For example, emergency-level business instructions are permanently retained and can only be deleted after successful execution. High-priority business instructions are retained for 30 minutes. If a first-priority business instruction fails to execute, it must be re-executed. However, if it is still not successfully executed after 30 minutes, it will be automatically deleted. Medium-priority business instructions are retained for 20 minutes. If a second-priority business instruction does not receive a response, it must be re-executed. However, if it is not received after multiple executions within 20 minutes, it will be automatically deleted. Low-priority business instructions are retained for 10 minutes. If it does not receive a response, it must be re-executed. However, if it is not received after multiple executions within 10 minutes, it will be automatically deleted.
[0128] See also Figure 4 In some embodiments, the type of the service instruction corresponds to the priority; and the service instruction is sent to the communication link in the following manner:
[0129] S610: Read a second service instruction set from a cache database, and monitor response information corresponding to the second service instruction set to obtain a reception status and a parsing result of the response information.
[0130] S620: Filter the second service instruction set according to the receiving status and the parsing result to obtain a target instruction set.
[0131] S630: Sort the service instructions in the target instruction set according to the priority, and send the service instructions to the communication link according to the sorting result.
[0132] The second service instruction set may be a set of service instructions that have not been deleted from the cache database of the sending device. These service instructions may belong to one target application task or multiple target application tasks. The target service instruction set may be a set of service instructions that need to be resent.
[0133] In some embodiments, the sending device includes a service instruction patrol timer. During each time period, the timer first reads the second service instruction set from the cache database and monitors the reception status and parsing results of the response information. If a successful execution result of a first-priority service instruction or a response information of a second-priority service instruction is detected, the corresponding service instruction is removed from the second service instruction set, and the remaining service instructions constitute the target instruction set. The service instructions in the target instruction set are then sorted from high to low priority and, if the network communication status is normal, are asynchronously sent to their corresponding communication links.
[0134] In the above embodiment, the target instruction set is obtained by monitoring the response information of the second service instruction set and filtering the instructions based on the reception status and parsing results. The target instruction set is then sorted according to the service instruction priority, and the instructions are sent to the communication link according to the sorting results. This method can improve the reliability of the communication system and ensure that important instructions are processed first among multiple service instructions, thereby optimizing resource utilization and improving the overall reliability of the communication system.
[0135] See also Figure 5 In some embodiments, the communication execution reliability data of each service instruction is represented by fuzzy probability; link reliability evaluation of the communication link is performed based on the bit error rate, packet loss rate, link delay, and link jitter, and execution reliability evaluation is performed based on the instruction response, including:
[0136] S710: When the value of the target indicator is less than a first threshold corresponding to the target indicator, determine that the fuzzy probability is equal to a first preset value.
[0137] S720. When the value of the target indicator is greater than or equal to the first threshold corresponding to the target indicator and less than the second threshold, a first type of calculation is performed based on the value of the target indicator, the first threshold, the second threshold and the second preset value to obtain a corresponding fuzzy probability.
[0138] S730. When the value of the target indicator is greater than or equal to the second threshold corresponding to the target indicator and less than the third threshold, perform a second type of calculation based on the value of the target indicator, the second threshold, and the third threshold to obtain a corresponding fuzzy probability.
[0139] S740: When the value of the target indicator is greater than or equal to a third threshold, determine that the fuzzy probability is equal to a third preset value.
[0140] The target indicator may be any one of a bit error rate, a packet loss rate, a link delay, a link jitter, a command response time, or a command execution success rate. The first threshold may be a critical value at which the reliability of the target indicator reaches 100%. The first preset value may be 1. The second threshold may be a critical value at which the reliability of the target indicator reaches 50%. The second preset value may be 0.5. The third threshold may be a critical value at which the complete reliability of the target indicator reaches 0. The third preset value may be 0.
[0141] In some embodiments, the bit error rate (BER) is evaluated using fuzzy probability. First, the bit error rates of the transmitting device, the receiving device, and the communication link between them are simulated to determine the first threshold value as , the second threshold is , the third threshold is Therefore, when BER is less than When BER is greater than or equal to When , the corresponding fuzzy probability is 0. When BER is greater than or equal to the first threshold and less than the second threshold, the first type calculation formula is used.
[0142]
[0143] Calculate the ambiguity probability, where x = BER = number of error bits / total number of transmitted bits, 、 Indicates a constant. When BER is greater than or equal to the second threshold and less than the third threshold, the second type calculation formula is used.
[0144]
[0145] Calculate the fuzzy probability, where =BER=number of error bits / total number of transmitted bits, 、 In summary, the fuzzy probability evaluation of the bit error rate can use the following piecewise function:
[0146]
[0147] in, =BER=number of error bits / total number of transmitted bits, represents the fuzzy probability of the bit error rate, 、 represents a constant. For example, =-12, =-3, =-1.
[0148] Continue to simulate the packet loss rate, link delay, link jitter, instruction response time or instruction execution success rate of the communication link respectively to obtain their first threshold, second threshold and third threshold, and then obtain their respective fuzzy probability piecewise functions.
[0149] The piecewise function of the fuzzy probability evaluation of packet loss rate (PLR) is:
[0150]
[0151] Where, x=PLR=number of lost packets / total number of sent packets, represents the fuzzy probability of packet loss rate, 、 represents a constant. For example, =-4, =-2, =-1.
[0152] The piecewise function of the fuzzy probability evaluation of link delay (Lat, Latency) is:
[0153]
[0154] in, =Lat=receiving time - sending time, in ms, represents the fuzzy probability of the link delay condition, 、 、 represents a constant. For example, =1, =150, =500.
[0155] The piecewise function for fuzzy probability evaluation of link jitter (Jit, Jitter) is:
[0156]
[0157] in, =Jit=Standard deviation of packet arrival time, in ms, Indicates the fuzzy probability of link jitter, 、 、 represents a constant. For example, =1, =100, =300.
[0158] The piecewise function of the fuzzy probability evaluation of the instruction response time (Res, Response) is:
[0159]
[0160] in, =Res=2Lat+the execution time of the instruction at the receiving end, in ms, represents the fuzzy probability of the instruction response time, 、 、 represents a constant, for example, =150, =500, =1500.
[0161] The piecewise function of the fuzzy probability evaluation of the instruction execution success rate (Exe, execution) is:
[0162]
[0163] Where x=1-Exe (Exe=number of successful instruction execution operations / total number of instruction execution operations), (x) represents the fuzzy probability of the success rate of instruction execution, 、 、 represents a constant. For example, =-3, =-2, =-1.
[0164] In some embodiments, the reliability evaluation model of the service instruction includes a fuzzy probability piecewise function of the target indicator (including bit error rate, packet loss rate, link delay, link jitter, instruction response time or instruction execution success rate), a relationship between the communication link reliability data and the fuzzy probability of the target indicator (for example,
[0165]
[0166] in, is the communication link reliability data, is the bit error rate evaluation data, is the packet loss rate evaluation data, Link delay evaluation data, Link jitter evaluation data, 、 、 、 The influence of bit error rate, packet loss rate, link delay and link jitter respectively), the relationship between communication link reliability data and the fuzzy probability of target indicators (such as
[0167]
[0168] in, is the instruction execution reliability data, Evaluation data for instruction response time, This is the instruction execution success rate evaluation data, 、 are the impact of instruction response time and instruction execution success rate) and the relationship between communication execution reliability data and communication link reliability data (e.g.
[0169]
[0170] Among them, P is the communication execution reliability data of the business instruction, is the communication link reliability data, is the instruction execution reliability data, Communication link reliability data, is the impact of instruction execution reliability data).
[0171] In some embodiments, when the first attribute set of each business instruction in the target application task is written into the structured database, the first threshold value, the second threshold value, the third threshold value of the target indicator, and the impact degree of the target indicator on the reliability of the communication link ( 、 and ), the impact of target indicators on the reliability of business instruction execution ( and ) and the impact of communication link reliability data and instruction execution reliability data on communication reliability ( and ) are written together. This data and the target indicator values can then be input into the reliability evaluation model to obtain business instructions for communication reliability evaluation. See Table 3 for the data fields that need to be included in the structured data table.
[0172] Table 3 Example of business instruction communication structured data
[0173]
[0174] In the above embodiment, different fuzzy probability calculation methods are determined according to the range of the target indicator value, so as to obtain more accurate target indicator fuzzy probability, thereby providing accurate target indicator evaluation data for communication reliability evaluation.
[0175] See also Figure 6 The embodiment of the present application further provides a communication execution reliability evaluation device 800, which includes:
[0176] A link condition determination module 810 is configured to determine a bit error rate, packet loss rate, link delay, and link jitter of a communication link when a sending device issues a service instruction to a communication link; wherein the sending device is communicatively connected to a receiving device;
[0177] Link reliability evaluation module 820, used to evaluate the link reliability of the communication link based on the bit error rate, packet loss rate, link delay and link jitter, and obtain the communication link reliability data corresponding to the service instruction during the transmission process;
[0178] A response status determination module 830 is configured to determine, when the sending device receives the response information of the receiving device to the service instruction, the instruction response status of the service instruction based on the type of the service instruction; wherein the instruction response status is used to describe the execution status of the service instruction on the receiving device;
[0179] An execution reliability evaluation module 840 is used to evaluate the execution reliability of the instruction according to the instruction response status, and obtain the instruction execution reliability data corresponding to the business instruction during the execution process;
[0180] The communication reliability determination module 850 is used to obtain the communication execution reliability data of the service instruction based on the communication link reliability data and the instruction execution reliability data; wherein the communication execution reliability data is used to describe the communication execution status of the service instruction.
[0181] In some implementations, the sending device initiates a target application task, the target application task corresponds to a first business instruction set, and the first business instruction set includes multiple independent business instructions; the communication execution reliability evaluation apparatus 800 further includes:
[0182] The joint statistics module is used to perform joint statistics on the communication execution reliability data of each business instruction to obtain the communication execution reliability data of the target application task.
[0183] In some implementations, the communication execution reliability data of each service instruction is represented by fuzzy probability; the joint statistics module includes:
[0184] The calculation unit is used to perform multiplication calculation on the fuzzy probability of each business instruction to obtain the reliability fuzzy probability evaluation data of the target application task.
[0185] In some implementations, a sending device initiates a target application task, the target application task corresponds to a first business instruction set, the first business instruction set includes multiple independent business instructions; the business instructions correspond to priorities; before the sending device sends the business instruction to the communication link, the communication execution reliability evaluation apparatus 800 further includes:
[0186] A first attribute acquisition module is configured to acquire a first attribute set of each business instruction in the target application task and write the first attribute set into a structured database; wherein the first attribute set includes at least an identifier, a log identifier, a type, a priority, instruction content, and an execution status of the business instruction;
[0187] The second attribute acquisition module is used to obtain the second attribute set of each business instruction in the target application task and write the second attribute set into the cache database; wherein the second attribute set includes at least the business instruction identifier, log identifier, priority, destination terminal identifier, instruction content, and storage duration.
[0188] In some implementations, the type of the service instruction corresponds to the priority; the communication execution reliability evaluation device 800 further includes:
[0189] The business instruction deletion module is used to delete the corresponding business instruction from the cache database when the type of the business instruction corresponds to the first priority and the instruction response of the business instruction indicates that the business instruction is successfully executed; when the type of the business instruction corresponds to the second priority and the sending device receives the instruction response of the business instruction, the corresponding business instruction is deleted from the cache database; wherein the first priority is higher than the second priority.
[0190] In some implementations, the type of the service instruction corresponds to the priority; the communication execution reliability evaluation device 800 further includes:
[0191] An instruction set reading module is used to read the second business instruction set from the cache database and monitor the response information corresponding to the second business instruction set to obtain the reception status and parsing result of the response information;
[0192] An instruction screening module, configured to screen the second service instruction set according to the reception status and the parsing result to obtain a target instruction set;
[0193] The instruction sorting and sending module is used to sort the business instructions in the target instruction set according to the priority, and send the business instructions to the communication link according to the sorting result.
[0194] In some implementations, the communication execution reliability data of each service instruction is represented by fuzzy probability; the communication execution reliability evaluation device 800 further includes:
[0195] a first preset value determination module, configured to determine that the fuzzy probability is equal to a first preset value when the value of the target indicator is less than a first threshold corresponding to the target indicator; wherein the target indicator is any one of a bit error rate, a packet loss rate, a link delay, a link jitter, a command response time, or a command execution success rate;
[0196] A first type calculation module is configured to perform a first type calculation based on the value of the target indicator, the first threshold, the second threshold, and the second preset value to obtain a corresponding fuzzy probability when the value of the target indicator is greater than or equal to the first threshold corresponding to the target indicator and less than the second threshold;
[0197] A second type calculation module is configured to perform a second type calculation based on the value of the target indicator, the second threshold, and the third threshold to obtain a corresponding fuzzy probability when the value of the target indicator is greater than or equal to the second threshold corresponding to the target indicator and less than the third threshold;
[0198] The third preset value determination module is used to determine that the fuzzy probability is equal to the third preset value when the value of the target indicator is greater than or equal to the third threshold.
[0199] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0200] The communication execution reliability evaluation device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0201] See also Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 7 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.
[0202] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.
[0203] The memory 20 stores instructions that can be executed by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0204] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0205] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0206] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0207] The embodiments of the present application also provide a computer-readable storage medium. The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0208] An embodiment of the present application provides a computer program product, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform a method according to any embodiment of the present application.
[0209] Although the embodiments of the present application have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations shall fall within the scope defined by the appended claims.
[0210] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0211] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0212] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0213] This application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate a device for implementing the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram.
[0214] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0215] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0216] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0217] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
[0218] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
[0219] Although the embodiments of the present application have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations shall fall within the scope defined by the appended claims.
Claims
1. A communication execution reliability evaluation method, characterized in that: The method comprises: Determining a bit error rate, packet loss rate, link delay, and link jitter of a communication link when a sending device sends a service instruction to the communication link; wherein the sending device is communicatively connected to a receiving device; Performing a link reliability evaluation on the communication link according to the bit error rate, the packet loss rate, the link delay, and the link jitter to obtain communication link reliability data corresponding to the service instruction during transmission; When the sending device receives response information from the receiving device to the service instruction, determining an instruction response status of the service instruction based on the type of the service instruction; wherein the instruction response status is used to describe the execution status of the service instruction on the receiving device, including the instruction response time and the instruction execution success rate; Performing an execution reliability evaluation based on the instruction response to obtain instruction execution reliability data corresponding to the business instruction during execution; Based on the communication link reliability data and the instruction execution reliability data, the communication execution reliability data of the service instruction is obtained by aggregating; wherein the communication execution reliability data is used to describe the communication execution status of the service instruction; The sending device initiates a target application task, and the target application task corresponds to a first business instruction set, which includes multiple independent business instructions; the business instructions correspond to priorities; before the sending device sends a business instruction to the communication link, the method further includes: obtaining a first attribute set for each business instruction in the target application task, and writing the first attribute set into a structured database; wherein the first attribute set includes at least the identifier, log identifier, type, priority, instruction content, and execution status of the business instruction; obtaining a second attribute set for each business instruction in the target application task, and writing the second attribute set into a cache database; wherein the second attribute set includes at least the identifier, log identifier, priority, destination terminal identifier, instruction content, and storage duration of the business instruction; Wherein, the type of the business instruction corresponds to the priority; the method also includes: when the type of the business instruction corresponds to the first priority, if the instruction response of the business instruction indicates that the business instruction is successfully executed, deleting the corresponding business instruction from the cache database; if the instruction response of the business instruction indicates that the instruction execution result is a failure, the business instruction needs to be executed again until it is successfully executed, and the instruction response time and the instruction execution success rate are determined according to the response information when the execution is successful; when the type of the business instruction corresponds to the second priority, if the sending device receives the instruction response of the business instruction, deleting the corresponding business instruction from the cache database; regardless of whether the instruction response of the business instruction indicates that the instruction execution result is successful or failed, the instruction response time and the instruction execution success rate are determined according to the response information; wherein, the first priority is higher than the second priority.
2. The method according to claim 1, characterized in that The sending device initiates a target application task, the target application task corresponds to a first business instruction set, and the first business instruction set includes a plurality of mutually independent business instructions; the method further includes: The communication execution reliability data of each of the service instructions is jointly counted to obtain the communication execution reliability data of the target application task.
3. The method according to claim 2, characterized in that The communication execution reliability data of each of the business instructions is represented by fuzzy probability; and the communication execution reliability data of each of the business instructions is jointly counted to obtain the communication execution reliability data of the target application task, including: The fuzzy probability of each of the business instructions is multiplied to obtain reliability fuzzy probability evaluation data of the target application task.
4. The method according to claim 1, wherein The type of the service instruction corresponds to the priority; the sending device has a service instruction inspection timer; Determine sending the service instruction to the communication link by: In each time period, reading a second service instruction set from the cache database, and monitoring response information corresponding to the second service instruction set to obtain a reception status and a parsing result of the response information; Filtering the second service instruction set according to the receiving status and the parsing result to obtain a target instruction set; The service instructions in the target instruction set are sorted according to the priority, and the service instructions are sent to the communication link according to the sorting result.
5. The method according to claim 1, characterized in that The communication execution reliability data of each service instruction is represented by fuzzy probability; the link reliability evaluation of the communication link is performed based on the bit error rate, the packet loss rate, the link delay, and the link jitter, and the execution reliability evaluation is performed based on the instruction response, including: When the value of the target indicator is less than a first threshold corresponding to the target indicator, determining that the fuzzy probability is equal to a first preset value; wherein the target indicator is any one of a bit error rate, a packet loss rate, a link delay, a link jitter, a command response time, or a command execution success rate; When the value of the target indicator is greater than or equal to the first threshold corresponding to the target indicator and less than a second threshold, performing a first type of calculation based on the value of the target indicator, the first threshold, the second threshold, and a second preset value to obtain a corresponding fuzzy probability; When the value of the target indicator is greater than or equal to the second threshold corresponding to the target indicator and less than the third threshold, performing a second type of calculation based on the value of the target indicator, the second threshold, and the third threshold to obtain a corresponding fuzzy probability; When the value of the target indicator is greater than or equal to the third threshold, it is determined that the fuzzy probability is equal to a third preset value.
6. A communication execution reliability evaluation device, characterized in that: The device comprises: a link condition determination module, configured to determine a bit error rate, packet loss rate, link delay, and link jitter of a communication link when a sending device issues a service instruction to the communication link; wherein the sending device is communicatively connected to a receiving device; a link reliability evaluation module, configured to evaluate the link reliability of the communication link according to the bit error rate, the packet loss rate, the link delay, and the link jitter, and obtain communication link reliability data corresponding to the service instruction during transmission; a response status determination module, configured to determine, when the sending device receives response information of the receiving device to the service instruction, an instruction response status of the service instruction based on the type of the service instruction; wherein the instruction response status is used to describe the execution status of the service instruction on the receiving device, including the instruction response time and the instruction execution success rate; An execution reliability evaluation module is used to evaluate the execution reliability of the instruction according to the response of the instruction, and obtain the instruction execution reliability data corresponding to the execution of the business instruction; a communication reliability determination module, configured to obtain communication execution reliability data of the service instruction based on the communication link reliability data and the instruction execution reliability data; wherein the communication execution reliability data is used to describe the communication execution status of the service instruction; The sending device initiates a target application task, the target application task corresponds to a first business instruction set, the first business instruction set includes multiple independent business instructions; the business instructions correspond to priorities; the communication execution reliability evaluation device also includes: A first attribute acquisition module is configured to acquire a first attribute set of each business instruction in the target application task and write the first attribute set into a structured database; wherein the first attribute set includes at least an identifier, a log identifier, a type, a priority, instruction content, and an execution status of the business instruction; a second attribute acquisition module, configured to acquire a second attribute set of each business instruction in the target application task and write the second attribute set into a cache database; wherein the second attribute set includes at least the business instruction identifier, log identifier, priority, destination terminal identifier, instruction content, and storage duration; Among them, the type of business instruction corresponds to the priority; the communication execution reliability evaluation device also includes: a business instruction deletion module, which is used to delete the corresponding business instruction from the cache database when the type of business instruction corresponds to the first priority, if the instruction response of the business instruction indicates that the business instruction is successfully executed; if the instruction response of the business instruction indicates that the instruction execution result is a failure, the business instruction needs to be executed again until the execution is successful, and the instruction response time and the instruction execution success rate are determined according to the response information when the execution is successful; when the type of business instruction corresponds to the second priority, if the sending device receives the instruction response of the business instruction, the corresponding business instruction is deleted from the cache database; regardless of whether the instruction response of the business instruction indicates that the instruction execution result is successful or failed, the instruction response time and the instruction execution success rate are determined according to the response information; wherein, the first priority is higher than the second priority.
7. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 5 by executing the computer instructions.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method and device for measuring quality of network link rapidly and precisely
CN107634872A
Intelligent scheduling method for power business, server and storage medium
CN114626742A