Processing method and device

By conducting test steps and data analysis on control services accessed to the mobile network, the problem of lack of reliability testing in the existing technology is solved, the impact on the mobile network and service reliability are evaluated, and the network environment layout is optimized. .

CN118778552APending Publication Date: 2024-10-15HUAWEI TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310401576.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing technology lacks a solution for reliability testing of control services connected to mobile networks, resulting in the inability to effectively evaluate the impact of mobile networks on control services, affecting the reliability of services and the layout of the network environment.

Method used

By executing the test steps of control services, relevant business data is obtained, mobile network parameters are determined, and the reliability of control services is calculated based on these parameters, including setting the parameters of the network damage instrument and controlling the motor to perform displacement and rotation tasks to simulate actual environment, obtain test data and analyze influencing factors.

Benefits of technology

It has realized the reliability test of control services connected to mobile networks, ensuring the accuracy of test results, helping enterprises optimize network layout and environment settings, and improving service reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778552A_ABST
    Figure CN118778552A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a processing method and device, and relates to the field of communication, and the method comprises the steps: a test step of executing a control type service; obtaining business data related to the test steps; determining a mobile network parameter of the control type service based on the service data; and determining the reliability of the control type service based on the mobile network parameters. According to the method, the reliability information of executing the control type service each time can be accurately calculated. Therefore, an enterprise can conveniently refer to the obtained reliability information to carry out layout adjustment on the mobile network accessed by the control type service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a processing method and device. Background Art

[0002] Reliability testing is an essential means for system reliability identification, finalization or verification.

[0003] For control services accessing the network, reliability tests can be conducted.

[0004] However, there is currently no solution for conducting reliability tests on control services accessing mobile networks. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a processing method and device. In the method, a reliability test can be performed on a control service accessing a mobile network, and the accuracy of the reliability result of the test is ensured.

[0006] In a possible implementation, the present application provides a processing method. The method includes: executing a test step of a control service; acquiring service data related to the test step; determining a mobile network parameter of the control service based on the service data; and determining the reliability of the control service based on the mobile network parameter.

[0007] The control service may be a single control service or multiple control services.

[0008] Among them, a single-control type service includes only one service, and a multi-control type service may include multiple single-control type services.

[0009] For example, controlling the rotation of a motor is one business, and controlling the rotation of a motor is another business. The two combinations can constitute a multi-control business.

[0010] The control business in this method, whether it is a single control business or multiple control business, can be executed multiple times. Each time the PC controls the execution of the control business, the execution of the control business can be achieved by executing a series of test steps.

[0011] For the sake of convenience, the method is performed by taking a PC as an example, but the method is not limited to being performed by a PC.

[0012] When the PC executes the test steps of the control business, the test bench of the control business can be built in advance, for example Figure 2 The test bench for the steel transfer business is shown in the figure. The following text will use the steel transfer business as an example to illustrate the control business.

[0013] Each time the PC controls and executes a control service, it can obtain the service data related to the test steps of the control service execution, and determine the parameters of the mobile network to which the control service is connected in combination with the service data, thereby determining the reliability of the control service based on the mobile network parameters. On the one hand, it realizes the reliability test of the control service, and on the other hand, it can accurately calculate the reliability information of each execution of the control service. This makes it easier for enterprises to refer to the obtained reliability information to adjust the layout of the mobile network to which the control service is connected.

[0014] In a possible implementation, the test steps for executing control services include: setting or adjusting network parameters of a network damage instrument related to control services; wherein the network parameters are used to simulate the environment in which the control services are located and the degree of impact on the mobile network accessed by the control services; controlling the motors related to the control services to execute displacement tasks and / or rotation tasks; and obtaining test data related to each execution of the control services.

[0015] The network parameters of the network damage meter can be, for example, the wireless delay and wireless packet loss rate shown in Table 7. The specific values ​​can be set according to the actual environment of the control service (such as temperature, humidity, electromagnetic, device wear, etc.). In this way, the network damage meter related to the control service can be set or adjusted (for example Figure 2 The network parameters of the damage instrument 1 and the damage instrument 2 shown are used to simulate the impact of the actual environment of the control service on the network to which the control service is connected.

[0016] For example, taking the control service as service A, the wireless delay and wireless table loss rate set in each scheme in Table 7 can be set or adjusted for each execution of service A. Figure 2 The wireless delay and packet loss rate of the damage instrument 2 shown are used to determine the impact of changes in the wireless delay or wireless packet loss rate of the mobile network accessed by the control service on the reliability of the control service.

[0017] In addition, the PC can also control the motor related to the control-related business to perform displacement tasks and / or rotation tasks to perform the control-related business.

[0018] Among them, the PC can control e.g. Figure 2 The three-axis motor shown in the figure can perform displacement tasks to simulate the displacement in the steel turning business; the PC can also control Figure 2 The servo motor shown is used to perform rotation tasks to simulate angular rotation in the steel turning business.

[0019] The displacement task can be moving to a specified displacement, or moving within a certain period of time, without specifying the displacement size and flexibly controlling the motor to stop the displacement. Here, the displacement task of moving to a specified displacement L is taken as an example for explanation.

[0020] Similarly, the rotation task can be to rotate a specified angle (or a specified number of turns), or the PC can flexibly control the motor to stop rotating according to demand without specifying the rotation angle or number of turns.

[0021] When the PC controls the displacement of the three-axis motor and the rotation of the servo motor, the PC can control the execution of multiple control services to perform displacement tasks and rotation tasks.

[0022] Take the PC controlling the motor related to the control service and performing the displacement task as an example: the PC can execute service A, for example, the PC can send Figure 2 The PLC2 shown sends a control command to control the three-axis motor to move a specified displacement, and the PC can record the motor start time, and the camera shoots the displacement video of the three-axis motor, and the server performs AI recognition on the video. When it is recognized that the three-axis motor has moved the specified displacement, the server can notify the PC, and the PC can use PLC2 to control the three-axis motor to stop moving and record the motor stop time.

[0023] Among them, each time the PC executes a control-related business, it can obtain test data related to the executed control-related business. For example, when the PC executes business A (corresponding to the three-axis motor executing a displacement task), each time business A is executed, the motor start time and motor stop time can be recorded.

[0024] In addition, the PC may also calculate the time delay threshold th1 of the service A based on the given displacement speed and given displacement distance of the three-axis motor that executes the service A. Optionally, the time delay threshold th1 may also be a test data.

[0025] When a motor (such as a servo motor) related to PC control and control services performs a rotation task, the test data here may include but is not limited to: the motor start time and motor stop time of the servo motor rotating a specified angle or number of turns.

[0026] In a possible implementation manner, the control service is executed multiple times.

[0027] In a possible implementation manner, the acquiring of the business data related to the test step includes: based on the test data, acquiring the business data related to the test step during each execution of the control-related business.

[0028] Taking business A as an example, the business data here may include relevant data obtained each time the PC controls the execution of business A. For example, the business data may be at least one item such as the motor start time s_t of the three-axis motor, the above-mentioned motor stop time e_t of the three-axis motor, the given displacement L of the three-axis motor, and the delay threshold th of business A each time the PC controls the three-axis motor related to business A to move a specified displacement L.

[0029] In a possible implementation manner, the mobile network parameter includes at least one of the following: a traffic parameter of the mobile network, and a network performance parameter of the mobile network.

[0030] In a possible implementation manner, the traffic parameter of the mobile network includes at least one of the following: packet size and packet arrival interval.

[0031] In a possible implementation manner, the network performance parameter of the mobile network includes at least one of the following: bandwidth, packet loss rate, and delay.

[0032] By testing the control services and combining the test service data to determine the mobile network parameters of the control services, the factors affecting the services can be found from the mobile network parameters, thereby facilitating the determination of the reliability of the control services.

[0033] In a possible implementation, determining the reliability of the control-type service based on the mobile network parameters includes: determining whether each of multiple control-type services executed is successful based on the mobile network parameters; determining the reliability of the control-type service based on the number of successful executions of the control-type service and the number of failed executions of the control-type service, as well as the mobile network parameters of the control-type service.

[0034] The mobile network parameter delay is used as an example for explanation. For other mobile network parameters, the method for determining the reliability of control services is similar and will not be described in detail here.

[0035] Taking the determination of reliability of a single control service as an example, when the control service is a multi-control service, the reliability of each single control service can be determined separately according to the process of this implementation mode, and then the reliability of the corresponding multi-control service can be determined by combining the reliability of each of the multiple single control services.

[0036] Among them, when the PC determines whether each control service executed in multiple control services is executed successfully based on the mobile network parameters, it can be implemented, for example, by formula 2 in the implementation method, wherein f=0 may indicate that the control service executed this time has failed, wherein f=1 may indicate that the control service executed this time has been successful.

[0037] For example, when the PC determines the reliability of the control-type service based on the number of successful executions of the control-type service and the number of failed executions of the control-type service, as well as the mobile network parameters of the control-type service, it can calculate the reliability R of a single control-type service by using Formula 4 in the implementation method, thereby determining the reliability of the control-type service.

[0038] In a possible implementation, the method further includes: setting or adjusting a video recognition accuracy rate related to the control-type business; and determining whether each of multiple control-type business executions is successful based on the video recognition accuracy rate related to the control-type business.

[0039] When determining whether a service is successfully executed, the PC needs to consider not only the delay, for example, service A completes the corresponding displacement of the motor within the specified delay. The PC may also consider the video recognition accuracy (the change in the parameter value of the video recognition accuracy of service A, as shown in Table 6) and the delay caused by video visual image processing.

[0040] Then, when the PC determines whether each control business is successfully executed, it can combine Formula 2 and Formula 3 in the implementation method to determine the value of H. When H is 0, it means that the control business execution failed. When H is 1, it means that the control business execution was successful.

[0041] In a possible implementation manner, the control-type service includes multiple single control-type services.

[0042] In this embodiment, the reliability of multiple control services is determined from the perspective of the reliability of multiple service coupling.

[0043] In a possible implementation, the present application provides a processing device. The device includes: an execution module for executing a test step of a control service; an acquisition module for acquiring service data related to the test step; a first determination module for determining a mobile network parameter of the control service based on the service data; and a second determination module for determining the reliability of the control service based on the mobile network parameter.

[0044] In a possible implementation, the execution module is specifically used for at least one of the following: setting or adjusting network parameters of a network damage instrument related to control services; wherein the network parameters are used to simulate the environment in which the control services are located and the degree of impact on the mobile network accessed by the control services; controlling motors related to the control services to perform displacement tasks and / or rotation tasks; and obtaining test data related to each execution of the control services.

[0045] In a possible implementation manner, the control service is executed multiple times.

[0046] In a possible implementation manner, the acquisition module is specifically configured to: based on the test data, acquire business data related to the test steps during each execution of the control-related business.

[0047] In a possible implementation manner, the mobile network parameter includes at least one of the following: a traffic parameter of the mobile network, and a network performance parameter of the mobile network.

[0048] In a possible implementation manner, the traffic parameter of the mobile network includes at least one of the following: packet size and packet arrival interval.

[0049] In a possible implementation manner, the network performance parameter of the mobile network includes at least one of the following: bandwidth, packet loss rate, and delay.

[0050] In a possible implementation, the second determination module is specifically used to: determine whether each of the multiple control services executed is successful based on the mobile network parameters; determine the reliability of the control service based on the number of successful executions of the control service and the number of failed executions of the control service, as well as the mobile network parameters of the control service.

[0051] In a possible implementation, the device also includes: a control module, used to set or adjust the video recognition accuracy related to the control-type business; the second determination module is also used to determine whether each of the multiple control-type businesses executed is successful based on the video recognition accuracy related to the control-type business.

[0052] In a possible implementation manner, the control-type service includes multiple single control-type services.

[0053] The effects of the processing devices of the above-mentioned embodiments are similar to the effects of the processing methods of the above-mentioned embodiments, and will not be described in detail here.

[0054] In a possible implementation, the present application provides a processing device. The processing device includes one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory and send the signal to the processor, the signal including a computer instruction stored in the memory; when the processor executes the computer instruction, the processor can implement the method in any of the above implementations.

[0055] The effect of the processing device of this embodiment is similar to the effect of the processing method of the above-mentioned embodiments, and will not be repeated here.

[0056] In a possible implementation, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program runs on a computer or a processor, the computer or the processor executes the method in any one of the above implementations.

[0057] The effect of the computer-readable storage medium of this embodiment is similar to the effect of the processing method of the above-mentioned embodiments, and will not be repeated here.

[0058] In a possible implementation, the present application provides a computer program product. The computer program product includes a software program, and when the software program is executed by a computer or a processor, the method in any one of the above implementations is executed.

[0059] The effects of the computer program product of this embodiment are similar to the effects of the processing methods of the above-mentioned embodiments, and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0061] Figure 1 A schematic diagram of a process of an exemplary processing method;

[0062] Figure 2 A schematic diagram of the structure of a test bench is shown as an example;

[0063] Figure 3 is a schematic diagram of motor-related components shown as an example;

[0064] Figure 4 is a schematic diagram of motor-related components shown as an example;

[0065] Figure 5 A schematic diagram of the structure of a device provided in an embodiment of the present application;

[0066] Figure 6 A schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0067] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 ordinary technicians in this field without creative work are within the scope of protection of this application.

[0068] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0069] The terms "first" and "second" in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of objects. For example, a first target object and a second target object are used to distinguish different target objects rather than to describe a specific order of target objects.

[0070] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0071] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more than two. For example, multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.

[0072] Reliability testing is an essential means for system reliability identification, finalization or verification. In reliability testing, profile is a crucial link and is the key point that distinguishes it from ordinary system testing. Task profile is a time-series description of the events and environment that a product experiences during the period of completing a specified task.

[0073] Control business: business used to control industrial devices.

[0074] For example, control services may include automated control components and control components for collecting and monitoring real-time data, thereby ensuring automated operation of the service and controlling and monitoring the service execution process.

[0075] Among them, the automation control components may include, for example, the PC described below, the server (for AI recognition), the PLC mentioned below, etc., which are not limited here.

[0076] Among them, the control component for collecting and monitoring real-time data can be the camera mentioned below, which is also not limited here.

[0077] At present, control services are mainly controlled through wired connections of the network. However, the wired connections of various devices in control services may cause the network cables to get tangled when the devices move or rotate, affecting the execution of control services. In addition, the wired connections between devices are not conducive to the migration of devices for realizing services and can only be fixed in a specific space.

[0078] For example, the steel-transfer business is a control-type business, and the execution of this business can rely on devices such as cameras, motors, servers, and computers. When implementing the steel-transfer business, the camera can collect videos of the movement of each device and send the video to the server for AI recognition to determine the current state of each device (such as the displacement and angle of the motor rotation, etc.). The server can send the AI ​​recognition results to the computer (Personal Computer, PC), and the computer can send instructions to the device to control the device (such as controlling the start of the motor). Then, when the devices for implementing the steel-transfer business are connected through a wired network, the PC sends instructions to the device through the wired network to realize the rotation of the motor, which may cause the network cables between the devices to be entangled, which is not conducive to the execution of control-type businesses. In addition, the control end to which the PC belongs is connected to the business end where the motor that executes the business is located through a wired network cable, which is not conducive to the migration and batch setting of the control end and the business end.

[0079] Therefore, the execution of control services can be carried out through mobile networks, so that control services are not restricted by time and space. Moreover, control services can be accessed through mobile networks at any time according to business needs, and the types of mobile networks that can be accessed are more abundant.

[0080] When executing control services through a mobile network, the quality of the mobile network will affect the reliability of the control services. Therefore, it is necessary to provide a method for conducting reliability tests on control services based on mobile networks to evaluate which parameters will have a greater impact on the reliability, so as to help manufacturers of control services to reasonably plan the network environment and service environment of control services.

[0081] Figure 1 The present invention is a schematic diagram showing an exemplary process of a reliability test method (also referred to as a reliability processing method) for a control service carried over a mobile network according to the present invention.

[0082] like Figure 1 As shown, the process can be performed by a PC, and the process may include the following steps:

[0083] S101, executing test steps of control services.

[0084] The test process is closely related to the specific object. When applying stress in the network reliability test, it is necessary not only to consider the environmental parameters during task execution, but also to apply traffic to reflect the use of the network.

[0085] The test steps may include at least one of the following operations performed manually: setting network performance parameter requirements for test equipment, setting implementation requirements for control services carried by mobile networks, building a mobile network for control services, and building a test bench for control services carried by mobile networks.

[0086] The test steps may also include at least one of the following operations performed by the PC: controlling the angular rotation and displacement of the test object (a test device) in the above-mentioned test bench, recording test data related to the test object (such as business data in S102), performing fault judgment and fault handling based on the test data, etc.

[0087] The test steps may also include failure analysis, test supervision and inspection of mobile network and video control services by users, such as supervision and inspection of the rationality of recorded data and operating procedures.

[0088] In order to execute S101, the user may first execute S201 and S2012 to determine the test object of the control service.

[0089] Among them, the user can build a reliability test object according to the infrastructure structure and business logic of the control service carried by the mobile network. The test object may include an infrastructure layer and a business layer.

[0090] Since the object boundaries of control services carried by mobile networks are often not as clear as those in traditional systems, they can be considered from both the infrastructure layer and the service layer.

[0091] The infrastructure layer mainly includes at least one of the following: the topology of the mobile network, the attribute information of nodes and links. The network topology will affect the reliability of network services, especially when the network scale grows from small to large. In addition to increasing the end-to-end path length of the service, the existence of shared links in the network is more likely to affect the reliability of the service.

[0092] The service layer objects mainly include at least one of the following: the source and destination nodes of the service, service bandwidth requirements, service routing protection rules, priorities, the number of services in the network, service deployment, system repairability, repair strategies, redundant backup, fault judgment criteria, etc. The source and destination nodes of the service determine the minimum distance of the service path. According to the service availability calculation method, the longer the distance between the source and destination nodes of the service, the smaller the MTBF of the link and the lower the service availability. Therefore, the distance between the source and destination nodes of the service is an important factor affecting the reliability of the service.

[0093] Taking the steel transfer business as an example of the control business, in order to simulate the infrastructure and environment of the steel transfer business, Table 1 shows the equipment and quantity in the infrastructure layer of the steel transfer business of this application. As shown in Table 1, the tested devices may include but are not limited to: three-axis motor (such as a three-axis stepper motor), servo motor, programmable logic controller (PLC), network damage simulator (referred to as network damage simulator), wireless customer premises equipment (CPE), camera, PC, etc., without specific restrictions. For example, the wireless CPE is connected to a 5G network.

[0094] equipment quantity Three-axis motor 1 Servo Motor 1 PLC 2 Wireless CPE 3 Camera 2 PC 1 Network Damage Tester 2

[0095] Table 1

[0096] Among them, the steel transfer business involves the rotation angle and displacement of the motor. Here, a three-axis motor is used to simulate the motor movement of the steel transfer business, and a servo motor is used to simulate the motor rotation of the steel transfer business. A network damage instrument is used to simulate the actual environment of the steel transfer business (such as the natural environment (ambient temperature, humidity) and electromagnetic environment, equipment wear, etc., refer to Table 3 and Table 5 below for details) to simulate the attenuation (such as packet loss rate and delay) of the mobile network to which the steel transfer business is also connected.

[0097] Among them, PLC is used to control the corresponding motor to rotate. The network damage instrument here includes Figure 2 Damage instrument 1 and damage instrument 2 in.

[0098] Table 2 shows the nodes in the infrastructure layer of the steel transfer business of this application (specifically Figure 2 The network parameters of each device (represented by the black circles in the figure).

[0099]

[0100]

[0101] Table 2

[0102] Combined with Table 1 and Table 2, Figure 2 A schematic diagram of a test bench for the steel transfer business carried by a mobile network built in the present application is shown to simulate the steel transfer business.

[0103] like Figure 2 As shown, the test bench includes three networks: network 0, network 1, and network 2.

[0104] Among them, network 0 is the control end of the steel turning business. Network 1 and network 2 are the business ends of the steel turning business respectively, among which network 1 is the network of the business simulating the motor rotation angle of the steel turning business, and network 2 is the network of the business simulating the motor displacement of the steel turning business.

[0105] Network 0, Network 1, and Network 2 each use wired connections to connect nodes. Figure 2 The lines A to G between the nodes shown all represent wired connections between the nodes.

[0106] Network 0, Network 1, and Network 2 access the operator network through their respective wireless CPEs to simulate the steel transfer business carried by the mobile network.

[0107] Among them, the wireless CPE1 of network 0 is connected to the operator network, the wireless CPE1 in network 1 is also connected to the operator network, and the wireless CPE2 in network 2 is also connected to the operator network. Each node in the steel transfer business can communicate through the operator network to realize the steel transfer business.

[0108] In this way, network 0, network 1, and network 2 do not need to be connected by network cables, but can be deployed in any physical environment according to needs. Each network can communicate through the mobile network to realize the steel transfer business.

[0109] For example, network 0 can be deployed in the computer room as a control point. Network 1 and network 2 can be located in different cars respectively, so that the space where network 1 and network 2 are located is movable, and is not limited to being in the same physical space as network 0. This avoids the problem of network cable wear and leakage caused by wired connection between network 0, network 1, and network 2. In addition, the networks of each service end (network 1 and network 2) are movable and not restricted by space.

[0110] like Figure 2 As shown, the damage instrument 2 in the network 2 is used to simulate the actual steel transfer environment of the network 2. The damage instrument parameters of the damage instrument 2 (such as packet loss rate and delay) are set to simulate the actual steel transfer environment of the network 2. For details, please refer to the following Table 5.

[0111] Network 0 is the control network of network 1 and network 2. The damage instrument 1 in network 0 is used to simulate the actual environment of the steel transfer business of the entire network of network 1 and network 2. Then, by combining the actual steel transfer environment of network 1 and network 2, the impact of the two sets of actual steel transfer environments on the network is accumulated, and the damage instrument parameters of damage instrument 1 are set to simulate the actual steel transfer environment of network 1 and network 2. In this way, the network loss simulated for network 1 is automatically the packet loss rate and delay of damage instrument 1, and the difference between the packet loss rate and delay of damage instrument 2.

[0112] in, Figure 2 The main components of the test bench are shown for example only. The type and quantity of the components of the test bench are not limited in this application. Figure 2 Examples are given below.

[0113] about Figure 2 The specific working principle and process will be introduced in detail below.

[0114] In order to execute S101, the user may first execute S202. S202 determines a test profile of a control service.

[0115] Among them, the test profile is a decomposition of the above business layer.

[0116] The reliability test profile is the basis for reliability testing. The rationality of the test profile construction and the degree of matching with user usage directly affect the entire reliability test results and their credibility. In order to construct a reliability test profile that is more suitable for control services carried by mobile networks, this application analyzes the characteristics of mobile network services, sorts out the important factors that affect the reliability of mobile networks and video recognition, and constructs a method for the reliability test profile of control networks that support mobile networks.

[0117] When determining the test profile of the control service, it can be achieved through the following S301 to S305:

[0118] S301, clarify the evaluation requirements of control services carried by the mobile network.

[0119] Among them, the business objects and test purposes of the control services carried by the mobile network can be evaluated, and the services can be defined at the network layer and control layer to clarify the evaluation boundaries.

[0120] S302, dividing the control services carried by the mobile network into sub-services.

[0121] Classification by service type: According to the mobile network control type services, they are divided into multi-service coupling, video acquisition and recognition in the mobile network environment.

[0122] Classification by business purpose: The goal is achieved by controlling the business of mobile bearer, and the test task content is divided into movement and rotation of the actuator.

[0123] S303, clarifying the tasks of the mobile network control services; clarifying the sub-service parameters; and constructing the network test parameters and video recognition control parameters according to the service requirements.

[0124] S304, constructing a comparative business profile.

[0125] According to the characteristics of the control services carried by the mobile network, the environmental profile (such as ambient temperature, humidity, electromagnetic, etc.) and the service profile of the control services are used to construct a comparative service profile. The temperature, humidity, and electromagnetic interference of the environment of the steel transfer service may cause attenuation of the wireless network accessed by the steel transfer service, thereby causing packet loss and delay. The service profile may be at least one of: a single control service profile, a multi-control service profile, and an intelligent control service profile.

[0126] S305, synthetic test profile.

[0127] The controllable variables can be used to synthesize the environment profile of the mobile network and the service profile of the control service carried by the mobile network to obtain the mission profile.

[0128] S301 to S305 are progressive steps that are executed in sequence.

[0129] Continuing to use the steel transfer business as an example, when the user obtains the task profile through S301 to S305, the user can first obtain the network task assumptions of the steel transfer business, where Table 3 shows the assumed content of the task assumptions; then, the assumed steel transfer control task can be decomposed into different sub-businesses, and the plans and real-time situations of the sub-businesses can be clarified, which can be understood in conjunction with Table 3. Next, clarify the tasks of the 5G network steel transfer business; clarify the sub-business parameters; construct the network test parameters and the parameters of the video recognition control and the parameters of the environmental profile. Construct a steel transfer comparison business profile, and determine the business types and environmental profiles within its task stage based on the characteristic components of the steel transfer business. Determine whether the business profile construction is reasonable, and synthesize the task profile.

[0130]

[0131]

[0132] Table 3

[0133] Among them, for the above S302, the sub-business division of the steel-transfer business can be considered from the following aspects: 1. The occupation of the camera uplink network bandwidth and the resource occupation of the simulation network component computing and processing; 2. Under the conditions of the industrial control business profile, the simulation of the delay of the control command in the mobile network industrial control network. In the process of video recognition and processing, steel-transfer mainly involves the control of the motor by the PLC. The business manifestation can be divided into plane movement and plane rotation. When designing the corresponding reliability test bench profile, the business test of the PLC on the plane movement and plane rotation of the motor is mainly considered.

[0134] In addition, the tasks of the control business specified in the above S303 are specifically to specify the tasks of the steel conversion business.

[0135] The tasks of the steel conversion business can be divided into sub-business A and sub-business B.

[0136] Among them, sub-service A: complete the specified displacement Xa cm within the specified time.

[0137] The default speed is set to 0.2 cm / s. Theoretically, it takes 5 seconds to move 1 cm. If the delay threshold is 5 seconds, then completing the specified displacement Xa cm within the specified time indicates that sub-service A succeeds. If it takes more than 5 seconds to move 1 cm, the PC determines that sub-service A fails.

[0138] Sub-service B: Complete the specified rotation angle Xb degrees within the specified time. For example, one circle is 360 degrees, and one and a half circles is 540 degrees.

[0139] The default rotation speed is 45 degrees / s, which means that theoretically, one rotation takes 8 seconds. If the specified rotation Xb is completed within the specified time (e.g., 8 seconds), the sub-service B is successful. If the rotation angle Xb takes more than 8 seconds, the PC determines that the sub-service B has failed.

[0140] Table 4 shows the correspondence between the actual business scenarios of the steel transfer business and the test businesses of the corresponding test benches built.

[0141]

[0142] Table 4

[0143] As shown in Table 4, the steel transfer site services carried by the mobile network can be divided into service 1 and service 2.

[0144] As shown in Table 4, business 1 includes video acquisition and image recognition business, and translation control business of steel transfer.

[0145] For the video acquisition and image recognition business in business 1, its tasks include: video acquisition and display, billet angle and width calculation, etc.

[0146] For the translation control business of steel turning in Business 1, its tasks include: position translation of the steel plate on the roller.

[0147] Then for service 1 in Table 4, the test service of the constructed test bench (hereinafter also referred to as service A) may include video acquisition, bandwidth load simulation and sub-service A.

[0148] Among them, video acquisition can be specifically Figure 2 The camera 1 shown captures the end position of the movement of the three-axis motor.

[0149] The bandwidth load simulation can be specifically set Figure 2 The parameters of the damage instrument 2 shown (such as delay and packet loss rate) are set to simulate the actual environment of the steel transfer business of the network 2. And by setting the parameters of the damage instrument 1 (such as delay and packet loss rate), combined with the parameters of the damage instrument 2, the actual environment of the steel transfer business of the network 1 is simulated.

[0150] Among them, sub-service A: complete the specified displacement Xa cm within the specified time.

[0151] Similarly, for service 2 in Table 4, the test service of the constructed test bench (hereinafter also referred to as service B) may include video acquisition, bandwidth load simulation and sub-service B.

[0152] Among them, sub-service B: complete the specified rotation angle Xb degrees within the specified time.

[0153] For the above-mentioned S304, in the steel transfer business, a comparative business profile for the experiment can be constructed according to the division of the above-mentioned sub-businesses and the construction of business profiles. Different network parameters can be added according to the impact of the actual environment of the steel transfer business (for example, temperature, humidity, electromagnetic interference, etc., which can cause attenuation of the wireless network, resulting in packet loss and delay) on the network to simulate the environment of the steel transfer business.

[0154] For example, Table 5 illustrates an exemplary environmental profile construction table for the steel transfer business carried by a mobile network.

[0155]

[0156] Table 5

[0157] The damage caused by the actual environment of the steel transfer business to the wireless network (i.e., mobile network, such as 5G network) can be simulated by setting the parameters of the network damage instrument.

[0158] Among them, the delay and packet loss rate of the network damage instrument can be set according to the conditions of the parameters in the left two columns of Table 5, so that the packet loss rate and delay of the network environment of the mobile network to which the network damage instrument is connected are consistent with the packet loss rate and delay of the network caused by the actual network environment of the steel transfer business. Among them, the wear of the machine tool or the roller table will affect the delay and packet loss rate of the mobile network of the steel transfer business.

[0159] Table 5 uses network environment parameters (here, delay and packet loss rate as examples) to illustrate the environment profile. In other embodiments, the parameters that affect the reliability of control services may include network traffic parameters (such as packet size, packet arrival interval, etc.) and network performance (such as throughput, packet loss rate, average transmission delay, etc.) as described above, and are not limited to the delay and packet loss rate exemplified here. When the network environment parameters are other network traffic parameters and network performance parameters, the principles are similar and will not be repeated here.

[0160] In this way, the PC can be based on the actual network environment of the steel business and according to the above Table 5 to test the test bench (for example Figure 2 The network damage instrument (e.g. Figure 2 The damage detectors 1 and 2 shown change the delay and packet loss rate to simulate the actual environment of steel transfer.

[0161] In the above S304, it is also possible to construct different levels of video recognition accuracy (such as the 4 video recognition accuracy rates shown in Scheme 1 in Table 6) based on the environmental profile construction table of the steel-transferring business (such as the above Table 5) and combined with the learning ability of the video recognition control model (such as an AI model in a server that has the current state of the video recognition device), and construct a parameter profile construction table for the steel-transferring business carried by the mobile network.

[0162] Table 6 exemplarily shows the parameter profile construction table for the steel conversion business.

[0163]

[0164] Table 6

[0165] As shown in Table 6, in Scheme 1, which is an intelligent control service profile, Scheme 1 controls the wireless delay and wireless packet loss rate of the network environment of the test bench of the steel transfer service to remain unchanged at 0, while changing the accuracy of video recognition of the video shot by the motor (such as the AI ​​recognition accuracy of the server), where the video recognition accuracy is set to 0.8, 0.9, 0.96 and 1. Each time the accuracy is changed, the PC can calculate the reliability of the steel transfer service to determine the degree of influence of the change in video recognition accuracy on the reliability of the steel transfer service.

[0166] Similarly, both Scheme 2 and Scheme 3 are single-control business profiles.

[0167] In solution 2, the video recognition accuracy and wireless packet loss rate remain unchanged, and the wireless delay of the mobile network of the steel transfer service is adjusted by changing the parameters of the network loss meter. The wireless delay here is set to 0, 5, 10 and 15 respectively. In this way, the influence of the change in video recognition accuracy on the reliability of the steel transfer service is determined.

[0168] Similarly, in Solution 3, the video recognition accuracy and wireless delay remain unchanged, and the wireless packet loss rate of the mobile network of the steel transfer service is adjusted by changing the parameters of the network loss meter. The wireless packet loss rates here are set to 0, 0.5, 1, and 3 respectively. This determines the degree of influence of the change in video recognition accuracy on the reliability of the steel transfer service.

[0169] Among them, the values ​​of wireless delay and wireless packet loss rate in Table 6 are the delay and packet loss rate of the network damage instrument set according to the damage degree in the first two columns of Table 5. In other words, the damage instrument delay in Table 5 is the wireless delay in Table 6, and the damage instrument packet loss rate in Table 5 is the wireless packet loss rate in Table 6.

[0170] In this way, the three schemes in Table 6 can be used to determine the impact of changes in any one of the parameters of video recognition accuracy, network delay, and network packet loss rate on the reliability of the steel transfer business.

[0171] In the above S305, the service profile shown in Table 7 may be synthesized.

[0172] According to the purpose of different network reliability tests, the sub-services and parameter profiles are combined and tested to synthesize the steel transfer service profile synthesis table carried by the mobile network as shown in Table 7.

[0173]

[0174] Table 7

[0175] The execution of the three schemes in Table 7 can be used to determine the impact of changes in any of the parameters of video recognition accuracy, network delay, and network packet loss rate on the reliability of the steel transfer business.

[0176] Here we take sub-business A in Table 4 as an example. For sub-business B in Table 4, similarly, a steel conversion business profile synthesis table similar to Table 7 can be synthesized.

[0177] When executing S101, the network nodes and network topology of the business layer of the steel can be converted according to the designed profile and the operation of completing the specific test. The specific test takes into account different environments (temperature, humidity, dust, electromagnetic, etc.), manual proficiency, operation frequency, duration and other factors, and the corresponding packet capture tools are installed to collect the time parameters of each node. The test steps are executed according to the above confirmed test objects and test profiles, profile synthesis (such as the combination order and number of different environmental profiles and use profiles).

[0178] When introducing the execution process of the test steps, take the execution of business A as an example to illustrate the process of simulating the steel transfer business and controlling the motor displacement, where, as mentioned above, business A includes sub-business A shown in Table 4 above, as well as video acquisition and bandwidth load simulation. The specific test steps implemented are as follows:

[0179] S1.Connection Figure 2 The network structure of the test bed is shown, and the IP of each node can be captured through Wi reshark.

[0180] S2. Pass Figure 2 PC login shown Figure 2 The control panel of the damage instrument 1 and / or the damage instrument 2 shown in the figure can be used to set the delay t and packet loss rate q of the corresponding network damage instrument. According to the data requirements of schemes 1 to 3 for wireless delay and wireless packet loss rate in Table 7, Figure 2 The damage analyzer (such as damage analyzer 2) is set with different values ​​and combinations to complete the data.

[0181] For example, when executing service A using solution 2 shown in Table 7, the PC can Figure 2 The packet loss rate of the damage instrument shown (here damage instrument 2) is set to 0, the delay of the damage instrument is set to 0 as shown in Table 7, and the service A is repeatedly executed M times with the video recognition accuracy rate of 1, for example, M is 20, and there is no limit here.

[0182] Similarly, when executing service A using solution 2 shown in Table 7, the PC can Figure 2 The packet loss rate of the damage instrument shown (here damage instrument 2) is set to 0, the delay of the damage instrument is set to 5 as shown in Table 7, and the service A is repeatedly executed M times with the video recognition accuracy rate of 1, for example, M is 20, and there is no limit here.

[0183] Similarly, when executing service A using solution 2 shown in Table 7, the PC can Figure 2 The packet loss rate of the damage instrument shown (here damage instrument 2) is set to 0, the delay of the damage instrument is set to 10 as shown in Table 7, and the service A is repeatedly executed M times with the video recognition accuracy of 1, for example, M is 20, and there is no limit here.

[0184] Similarly, when executing service A using solution 2 shown in Table 7, the PC can Figure 2 The packet loss rate of the damage instrument shown (here damage instrument 2) is set to 0, the delay of the damage instrument is set to 15 as shown in Table 7, and the service A is repeatedly executed M times with the video recognition accuracy of 1, for example, M is 20, and there is no limit here.

[0185] For Scheme 1 or Scheme 3 as sub-service A, when executing service A, the process of PC controlling the video recognition accuracy, wireless delay of the network damage meter, and wireless packet loss rate shown in Table 7 is similar to the above introduction to Scheme 1 and will not be repeated here.

[0186] S3. The PC sets and records the current speed of the three-axis motor of business A as V_a cm / s, which is 0.2 cm / s by default. And the PC records the following information for business A based on the user input: Figure 2 The given displacement L of the three-axis motor and the initial position of the three-axis motor are shown.

[0187] Similarly, service B may include sub-service B as shown in Table 4 above, as well as video acquisition and bandwidth load simulation. Service B is mainly used to Figure 2 The test bench shown is used to simulate the rotation angle of the motor of the steel rolling business (corresponding to the business of network 1). Then in S3, the PC can set and record the rotation speed of the servo motor of business B as V_b degrees / s, and the PC records the given number of rotations R of the servo motor for business B according to the user input, and the initial number of rotations r_0 of the servo motor.

[0188] S4.PC completes the loopback setting of service A (used to indicate Figure 2 The PC controls the three-axis motor to start and stop moving during the entire test process of the test bench) and records the motor start time s_t and motor stop time e_t of the three-axis motor each time business A is executed.

[0189] Specifically, let's take business A as an example:

[0190] Please refer to Figure 2 Network 0 and Network 2 are used to implement sub-service A in solution 2. Figure 2 The packet loss rate of the damage instrument shown is set to 0 as shown in Table 7, and the delay of the damage instrument is set to 0 as shown in Table 7.

[0191] The PC may receive user input (eg, an instruction instructing PCL2 to control the three-axis motor to move Lcm (ie, Xa cm, for example, 1cm)), and the PC may record the time when the user input is received as the motor start time s_t.

[0192] like Figure 2 As shown, the PC can respond to the user input by sending the control instruction of PLC2 to CPE1, and send the control instruction to CPE3 through CPE1, CPE3 sends the control instruction to PLC2, and PLC2 can control the displacement of the three-axis motor according to the control instruction, here the displacement of the three-axis motor is controlled to be 1cm.

[0193] Among them, the control instruction instructs the three-axis motor to move 1 cm.

[0194] During the movement of the three-axis motor, the camera 2 can capture the video of the movement process of the related components of the three-axis motor to capture the displacement video of the three-axis motor.

[0195] Figure 3 An example is shown Figure 2 The three-axis motor shown in Figure 2 The relevant component structure in the test bench is shown to simulate the motor displacement of the steel turning business.

[0196] like Figure 3 As shown, the sliding block associated with the three-axis motor may be initially located at position A, close to switch 1, and the sliding block may move between switch 1 and switch 2 driven by the rotation of the three-axis motor along axis 1, wherein the distance between switch 1 and switch 2 is Lcm. The initial position of the three-axis motor recorded by the above PC is L_0, for example, L_0 is the information recorded for the sliding block at position A. The distance between position A and position B is Lcm (for example, 1cm).

[0197] like Figure 2 The camera 2 shown can collect data after the PC receives the user input. Figure 3 The moving video of the slider in the image is sent to the server. The AI ​​recognition model in the server can perform AI recognition on the video captured by camera 2 to determine the position of the slider. After determining that the slider has moved to a specific position (for example, Figure 3 When the three-axis motor reaches the position B shown in FIG. 1 , it indicates that the three-axis motor has moved the given displacement Lcm. The server can send a stop command to the PC, and the server can send the information of the specific position, such as position B (as the end position L_1 of the three-axis motor) to the PC. Then, after receiving the stop command, the PC can control Figure 2 The PLC2 shown in the figure can control the three-axis motor to stop moving. After the three-axis motor stops moving, the PLC2 can send a notification command to the PC. Then the PC can record the motor stop time e_t after receiving the notification command. Alternatively, the PC can also record the time of sending the control command to PLC2 as the motor stop time e_t after receiving the stop command. Among them, the control command here is used to control the three-axis motor to stop moving.

[0198] In this way, in solution 2 shown in Table 7, with the wireless delay of network 2 being 0, service A is executed once, and the PC can determine the delay dt=e_t-s_t of the currently executed service A through the following S103.

[0199] Among them, on the PC, execute Figure 1 In S104 shown, the delay dt and the delay threshold th of the service A may be combined to determine whether the service A is successfully executed.

[0200] Optionally, when the PC repeatedly executes the service A corresponding to the scheme 2 in Table 7, the PC may control the change as follows: Figure 2 The control order of the x-axis, y-axis, and z-axis of the three-axis motor shown in FIG. 7 (for example, sending control instructions to the x-axis, y-axis, and z-axis in sequence, or changing to sending control instructions to the y-axis, x-axis, and z-axis in sequence) does not change the video recognition accuracy, wireless delay, and wireless packet loss rate in Table 7 to repeatedly execute business A. After each execution of business A, the motor start time s_t and the motor stop time e_t (used to determine the delay dt) of the three-axis motor used to execute business A can be recorded.

[0201] S5, PC is based on Table 7, to change Figure 2 The wireless delay or wireless packet loss rate of the damage meter shown. Based on the changed wireless delay and wireless packet loss rate, the service A is repeatedly executed. Each time the service A is executed, the PC can execute the above S3 and S4 to record the motor start time s_t and the motor stop time e_t for the service A executed this time.

[0202] For example, PC can be implemented in Scheme 2 based on Table 7. Figure 2 The wireless delay of the damage instrument 2 in is adjusted from 0 to 5, and the wireless packet loss rate continues to remain at 0. Then, S4 is repeated M (for example, M=20) times. After each service A is executed, the PC can record the motor start time s_t and motor stop time e_t of the three-axis motor of the current execution of service A (used to determine the delay dt).

[0203] The same is true for Scheme 1 and Scheme 3 in Table 7, which will not be described in detail here.

[0204] It should be understood that the adjustment of the video recognition accuracy in Table 7 can be achieved by changing the values ​​of the parameters related to the video recognition accuracy when executing S104 by using the delay dt obtained after each execution of the corresponding scheme (such as Scheme 1), and it is not necessary to adjust the video recognition accuracy by Figure 2 The wireless delay and wireless packet loss rate in Table 7 are achieved by changing the device or network damage in the test bench shown in the figure. Figure 2 The parameters of the damage instrument in the test are changed to simulate the actual steel-transferring environment of the corresponding network.

[0205] S102, the PC may obtain business data related to the test steps.

[0206] Among them, continuing to take business A as an example, the business data here may include relevant data for each execution of business A, specifically at least one item such as the above-mentioned motor start time s_t, the above-mentioned motor stop time e_t, the given displacement L of the three-axis motor, and the delay threshold th of business A.

[0207] The delay threshold of service A mainly refers to the moving speed set for the three-axis motor. For example, the moving speed V_a of the three-axis motor set for service A is 0.2 cm / s. For example, each time service A is executed, Figure 2 The control command sent by the PC to PLC1 is used to instruct the displacement L (also called L_A) of the three-axis motor to be 1 cm. Theoretically, the delay needs to be 5 seconds, but due to the transmission delay of the network, the network service completion time will exceed 5 seconds. The PC sets the acceptable error of the control delay of service A to erf, for example, erf can be a value among 1%, 2%, and 3%.

[0208] Then the PC can determine the delay threshold th of service A as th shown in formula 1, where

[0209] th=(1±erf)×T l , formula 1

[0210] For example, erf=1%, then in S104, when the PC determines that the delay dt of service A exceeds 5.05s, it determines that the execution of service A has failed. If dt is less than or equal to 5.05s, service A is determined to be successfully executed.

[0211] For the delay threshold of service B, the delay threshold of service B mainly refers to the rotation speed set for the servo motor. For example, the servo motor set for service B (for example Figure 2 The rotation speed V_a of the servo motor shown in FIG. 1 is 45 degrees / s. For example, each time business B is executed, Figure 2 The control command sent by the PC to PLC2 is used to instruct the given rotation angle (also called L_A) of the servo motor to be 90 degrees. Theoretically, the delay needs to be 2s, but due to the transmission delay of the network, the network service completion time will exceed 2s. The PC sets the acceptable error of the control delay of service B to erf, for example, erf can be a value among 1%, 2%, and 3%.

[0212] Then the PC can also use the above formula 1 to determine the delay threshold th of service B. However, when determining the delay threshold th of service B, V_a in formula 1 is the set rotation speed (the unit is how many degrees per second, or how many turns per second, there is no restriction here, and the specific unit depends on the unit of L_A), L_A is each time service B is executed, and the PC instructs the servo motor through PLC1 to a given rotation angle (or a given number of rotations).

[0213] in, Figure 4 An example is shown Figure 2 The servo motor shown in Figure 2 The relevant component structure in the test bench is shown to simulate the motor rotation angle of the steel turning business.

[0214] Combination Figure 2 and Figure 4 When executing the test steps of service B, the PC may receive user input, the PC may record the motor start time s_t, and the PC may respond to the user input to send a control command to PLC1 of network 1 to control the servo motor to rotate along axis 2 by a given angle L_A (also called Xb degrees, for example, 90 degrees). Figure 4 The rotation of the shaft 2 drives the rotation of the device 1. The camera 1 can collect the video of the rotation of the device 1 to perform AI recognition through the server to determine that the device 1 rotates to a specific angle of 90 degrees. Then, the server can notify the PC to control the servo motor to stop rotating. Then, the PC can control Figure 2 The PLC1 shown in the figure can control the servo motor to stop rotating. After the servo motor stops moving, the PLC1 can send a notification instruction to the PC. Then the PC can record the motor stop time e_t of the servo motor after receiving the notification instruction. Alternatively, the PC can also record the time of sending the control instruction for instructing the servo motor to stop rotating to the PLC1 as the motor stop time e_t after receiving the stop instruction.

[0215] In this way, after each execution of business B is completed, the PC can obtain business data related to the test steps of executing business B, which may specifically include: the given rotation angle or the given number of rotations of the servo motor for this execution of business B (expressed as L_A), and the motor start time s_t and motor stop time e_t of the servo motor (used to determine the delay dt of business B), and the delay threshold th of business B.

[0216] The calculation method of the delay threshold th of service B and the delay threshold th of service A is the same, both refer to formula 1, but one refers to the displacement and the other refers to the rotation angle (or number of rotations), so the two delay thresholds th are independent of each other and generally have different values.

[0217] Among them, on the PC, execute Figure 1 In S104 shown, the delay dt of the service B and the delay threshold th of the service B may be combined to determine whether the service B is successfully executed.

[0218] S103: Determine mobile network parameters of the control service based on the service data.

[0219] As described above, combined with Table 7, the business data related to each execution of business A may include relevant data for each execution of business A, specifically the motor start time s_t of the above-mentioned three-axis motor, the motor stop time e_t of the above-mentioned three-axis motor, the given displacement L of the three-axis motor, the delay threshold th of business A, etc.

[0220] As described above, in combination with Table 7, the business data related to each execution of business B may include relevant data for each execution of business B, specifically the motor start time s_t of the servo motor executing business B and the motor stop time e_t of the servo motor (used to determine the delay dt of business B), a given rotation angle or a given number of rotations, the delay threshold th of business B, etc.

[0221] For single control type services, such as service A or service B.

[0222] Taking a single control type service as an example, the PC can record the service data related to each execution of service A during the process of executing the test steps of service A. Taking service A as an example, Table 8 exemplarily shows the service data obtained by the PC through S103 for each execution of service A. In Table 8, service A is executed 4*M times according to Scheme 1, 4*M times according to Scheme 2, and 4*M times according to Scheme 3, so that service A is executed N times in total.

[0223]

[0224] Table 8

[0225] As shown in Table 8, combined with Table 7, the video recognition accuracy in Scheme 1 is set to 0.8, 0.9, 0.96, and 1 respectively. Since the video recognition accuracy does not change Figure 2 The parameters of the test bench shown in the figure only change the parameters in the relevant formulas involved in S104, then Figure 2 The damage instrument 2 in the network 2 is set to have a wireless delay of 0 and a wireless packet loss rate of 0, and is repeated 4*M times, wherein the M groups of business data obtained by executing each M times of task A correspond to a video recognition accuracy rate (for example, one of 0.8, 0.9, 0.96, and 1). In this way, the four video recognition accuracy rates can each correspond to M groups of business data.

[0226] When the PC executes the test step S101 to execute service A, the PC can also obtain 4*M groups of service data. The video recognition accuracy rate corresponding to each group of service data is 1, the wireless packet loss rate is 0, and the wireless delay is 0, 5, 10, and 15 respectively. Figure 2 The wireless delay of the damage instrument 2 in the example is set to 0, 5, 10, and 15 respectively, and the wireless packet loss rate of the damage instrument remains unchanged at 0. Figure 2 The test bench shown obtains 4 M groups of service data each time service A is executed.

[0227] When the PC executes service A according to solution 3 shown in Table 7, the process is the same as the process of executing service A according to solution 2 shown in Table 7, and 4 M groups of service data can also be obtained.

[0228] Then the value of N in the above Table 8 can be 3*4*M.

[0229] For a single control type service (here service A), the PC can determine the mobile network parameters of service A based on Table 8, here the delay dt.

[0230] Then the PC can calculate the difference (e_t-s_t) between the motor stop time e_t and the motor start time s_t for each record in Table 8 to obtain the execution delay dt of the service A corresponding to the record. Table 9 exemplarily shows the data table of the delay information determined by the PC for service A.

[0231]

[0232] Table 9

[0233] For multi-control services, for example, multi-control services include the above-mentioned service A and the above-mentioned service B. Among them, service A is the sub-service A shown in Table 4 above, as well as video acquisition (here, the camera acquires the displacement of the three-axis motor to the specified displacement L), and bandwidth load simulation (here, it means changing at least one of the packet loss rate and delay of the network through the network damage instrument to change the wireless delay and wireless packet loss rate as shown in Table 6). Service B may include the above-mentioned sub-service B shown in Table 4 above, as well as video acquisition and bandwidth load simulation to simulate the control of the steel plate rotation angle in the steel rotation business.

[0234] When the PC determines that the three-axis motor completes the corresponding given displacement within the specified delay threshold under the control command of the PC, the PC regards that the execution of business A is successful.

[0235] When the PC determines that the servo motor completes the rotation of a given angle within the specified delay threshold, it deems that the execution of this business B is successful.

[0236] Combining business A and business B is similar to the process of first moving the steel on a roller and then rotating it to a given angle. For example, in a test, business A can be performed first and then business B.

[0237] In a multi-control business scenario, the PC can, for example, execute business A first and then business B. In this case, a record table of business data for business A can be generated (for example, as shown in Table 10, the principle of which is the same as that of Table 8 and will not be repeated here), as well as a record table of business data for business B (for example, as shown in Table 11).

[0238]

[0239] Table 10

[0240]

[0241] Table 11

[0242] In the scenario of multiple control services, the PC can determine the mobile network parameters of service A based on Table 10, which is the delay dt. And the PC can determine the mobile network parameters of service B based on Table 11, which is the delay dt.

[0243] Then the PC can calculate the difference (e_t-s_t) between the motor stop time e_t and the motor start time s_t for each record in Table 10 to obtain the execution delay dt of the service A corresponding to the record. Table 12 exemplarily shows the data table of the delay information determined by the PC for service A.

[0244] Then the PC can calculate the difference (e_t-s_t) between the motor stop time e_t and the motor start time s_t for each record in Table 11 to obtain the execution delay dt of the service B corresponding to the record. Table 13 exemplarily shows a data table of the delay information determined by the PC for service B.

[0245]

[0246] Table 12

[0247]

[0248] Table 13

[0249] In this embodiment, the mobile network parameter that affects whether the service is successfully executed is the service completion delay dt. In other embodiments, the mobile network parameter of the service determined by the PC can also be at least one of a network traffic parameter and a network performance parameter. Among them, the network traffic parameter can be at least one of a message size and a message arrival interval. The network performance parameter can be the above-mentioned delay, as well as at least one of a throughput (also called bandwidth) and a packet loss rate. There is no limitation here.

[0250] Take the case where the mobile network parameter of the PC combined with the service is bandwidth. The service data of the corresponding service in the execution process obtained by the PC in S102 may include the given number of packets (for example, 1G video to be transmitted), and the start time of sending the given number of data packets (for example, the time sent from the sending end) t1 and the sending arrival time (the time when all data packets arrive at the receiving end) t2, as well as the packet sending delay threshold th. Then, based on the above service data, the PC can obtain the packet sending delay T=t2-t1 for each service execution. For example, when T≥th, the PC can determine that the service execution is successful this time. The specific principle is similar to the process of statistically analyzing the mobile network parameter as delay, and will not be repeated here.

[0251] When the mobile network parameters obtained by the PC are other parameters as mentioned above, the principle is similar to the process of obtaining the delay parameters, and the principle of determining the reliability of the service based on the mobile network parameters (for example, S104) is also similar to the principle of determining the reliability of the service through the delay parameters, which will not be repeated here.

[0252] S104, the PC may determine the reliability of the single control type service and / or the reliability of multiple control type services based on the mobile network parameters.

[0253] First, the reliability of a single control service is determined as an example. The single control service is service A, and the mobile network parameter is delay dt, such as dt1 to dtn shown in Table 9 above.

[0254] Specifically, first, the PC can determine whether each of the N times of service A is successfully executed based on the mobile network parameters of the service (here, the delay dt1 to dtn of service A) and the delay threshold (here, th1).

[0255] For example, as shown in Formula 2, f indicates whether the single-execution service delay has timed out, wherein f=0 indicates that the service delay has timed out, and also indicates that the service has failed to execute this time; when f=1, it indicates that the service delay has not timed out.

[0256]

[0257] Wherein, th in Formula 2 represents the delay threshold corresponding to the service being judged this time. Wherein, the delay threshold of service A is th1, and the delay threshold of service B is th2.

[0258] Among them, dt in formula 2 represents the delay dt of the service determined by the PC after the service is executed once. For example, the service A shown in Table 9 is executed N times, with n delays, respectively represented by dt1 to dtn. Each delay dt needs to be judged by formula 2 to determine whether the delay of each service A has timed out. If a delay of service A times out, it means that the execution of service A has failed. However, if a delay of service A does not time out, it does not mean that the execution of service A has been successful. It needs to be determined in combination with formula 3.

[0259] Optionally, whether the execution of the service is successful may be affected not only by the delay (for example, service A completes the movement of the specified displacement L of the three-axis motor under the specified delay th1), but also by the AI ​​recognition accuracy. Specifically, for service A, the server may perform AI recognition on the video of the movement of the three-axis motor captured by the camera to determine whether the three-axis motor has moved to the specified position, so as to achieve the effect of moving the specified displacement L. Among them, the AI ​​recognition accuracy of the server may affect the accuracy of the judgment result on whether the three-axis motor has moved to the specified position.

[0260] Accordingly, when the PC determines whether the service is successfully executed, it not only needs to consider the delay, for example, service A completes the corresponding displacement of the motor under the specified delay. It also needs to consider the video recognition accuracy (the change of the parameter value of the video recognition accuracy of service A, as shown in Table 6) and the delay caused by video visual image processing.

[0261]

[0262] As shown in Formula 3, H indicates whether the service is successfully executed, where H is 0, indicating that the service fails to execute, and H is 1, indicating that the service is successfully executed. f in Formula 3 is f in Formula 2. As shown in Formula 3, when f is 0, H is 0. Therefore, if the delay of a service execution exceeds the time limit, the service must have failed to execute.

[0263] As shown in Formula 3, when f is 1, random(0,1) represents a random number in the range (0,1], in which random(0,1)>P AI When {random(0,1)> AI ? (0,1)}=0, in which random(0,1)≤P AI When {random(0,1)> AI ? (0,1)}=1.

[0264] P AI Indicates the accuracy of the commands sent by video image visual processing. Taking business A as an example, P AIIt indicates the video recognition accuracy of the solution adopted by the service A in Table 6 when the service A is executed this time.

[0265] As mentioned above, taking business A as an example, when business A is executed according to solution 1, Figure 2 The wireless delay and wireless packet loss rate of the network damage instrument in Network 2 shown in the figure are both set to 0. In this scenario, Figure 2 The test bench controls network 2 to execute service A through network 0, so that the three-axis motor executes the task of displacement Lcm 4*M times according to the instruction. Each execution of service A obtains a delay dt, for example, M=20. For example, when service A is executed from the 1st to the 20th time, PC can determine 20 dt, and each dt can determine the value of f through the judgment of formula 2. In addition, the video recognition accuracy P of the first 20 executions of service A is calculated. AI The value of is determined as the video recognition accuracy of solution 1 in Table 6 is 0.8, then PC can determine the execution of business A from the 1st to the 20th time through formula 3 (here P AI =0.8) Result H, specifically whether the business A is executed successfully each time.

[0266] Similarly, when service A is executed from the 21st to the 40th time, 20 time delays dt will be obtained. The result of f of each service A can be determined by the judgment of formula 2. In addition, PC can set the video recognition accuracy of service A from the 21st to the 40th time to 0.9 in scheme 1 as shown in Table 6. Then, when judging whether the service execution of service A from the 21st to the 40th time is successful, when calculating by formula 3, P AI The value of is 0.9, and the value of f is determined based on the 20th value of f determined by formula 2 with reference to the delay dt when the service is executed from the 21st to the 40th time.

[0267] Similarly, when business A is executed through solution 1, PC can also be P of formula 3 AI are set to 0.96 and 1 respectively, thereby determining P in Formula 3 AI When they are set to 0.96 and 1 respectively, whether the execution of business A is successful in each of the 20 business A.

[0268] Similarly, service A can be executed 4*M times according to solution 2. For each M times of service execution, PC can Figure 2 The wireless delay of the damage detector 2 in the network 2 shown in the figure is changed to 0, 5, 10, and 15 respectively, and when calculating through formula 3, the PC can change P according to scheme 2 in Table 6. AI The value of is set to 1 to determine whether business A is executed successfully each time after business A is executed 4*M times according to solution 2.

[0269] Similarly, service A can be executed 4*M times according to solution 3. For each M times of service execution, PC can Figure 2 The wireless packet loss rate of the damage instrument 2 in the network 2 shown in the figure is changed to 0, 0.5, 1, and 3 respectively. When calculating by formula 3, the PC can change P according to scheme 3 in Table 6. AI The value of is set to 1 to determine whether business A is executed successfully each time after business A is executed 4*M times according to solution 2.

[0270] In this way, business A is executed N times, here 3*4*M times, and the PC can determine the number of times S that business A is successfully executed and the number of times F that business A fails to execute, where S+F=N.

[0271] It should be understood that the values ​​of the video recognition accuracy, wireless delay, and wireless packet loss rate of each scheme in Table 6 can be flexibly set according to the test requirements and are not limited to the examples in Table 6. For example, the video recognition accuracy in Scheme 2 can be any fixed value in [0,1], and is not limited to the value 1 here. Similarly, the video recognition accuracy in Scheme 3 can be any fixed value in [0,1], and is not limited to the value 1 here.

[0272] Then, the PC can calculate the reliability R of service A based on formula 4 according to the number of successful executions S of service A, the number of failed executions F of service A, the delay dt of each execution of service A in the F failed executions of service A, and the delay threshold th1 of service A.

[0273]

[0274] In Formula 4, R represents the reliability of the control service, F represents the number of times the control service fails to execute, S represents the number of times the control service succeeds, and th represents the delay threshold of the control service. It indicates the delay dt of the i-th service failure among the F times of execution failure of the control service.

[0275] In the scenario of multiple control-type services, for example, the multiple control-type services include the above-mentioned service A and the above-mentioned service B, then the PC can calculate the respective reliabilities Ra and Rb for service A and service B according to the above-mentioned method for calculating the reliability for a single control-type service (the specific principle is the same as the method for calculating the reliability of service A as a single control-type service above, and will not be repeated here). Then, the PC can determine the reliability Rab of the multiple control-type services based on the reliability Ra and the reliability Rb, for example, Rab = (Ra+Rb) / 2, where the average of the reliabilities of multiple single control-type services in the multiple control-type services is taken. The specific algorithm is not limited here, and it can also be other algorithms, such as weighted average, etc. The specific algorithm can be flexibly set according to needs.

[0276] For example, when the PC executes S104, it may be implemented according to a quantization model, and no specific limitation is made here.

[0277] For single control services, taking service A as an example, combined with Table 7, in the scheme of performing N tests on service A to calculate reliability, the PC changes the video recognition accuracy through scheme 1, so as to determine the degree of influence of the change in video recognition accuracy on the change in reliability of the single control service. Similarly, the PC changes the wireless delay through scheme 2, so as to determine the degree of influence of the change in wireless delay on the change in reliability of the single control service. Similarly, the PC changes the wireless packet loss rate through scheme 3, so as to determine the degree of influence of the change in wireless packet loss rate on the change in reliability of the single control service.

[0278] For multi-control services, the PC can determine whether the multi-service scenario will affect the reliability of the service and the extent of the impact by comparing the reliability of the multi-control services with the reliability of the single-control services.

[0279] For the steel-transfer control services carried by mobile networks, which have the characteristics of dynamics, multiple control loops and coupling, the PC of this application implements reliability assessment of the services from the perspectives of connectivity and timeliness analysis.

[0280] The PC considers different experimental scenarios of carrying a single service and multiple services, conducts a series of network reliability tests, and statistically analyzes the timely reliability results obtained from the experiments. Optionally, the PC can compare the reliability of single control services and multiple control services with the simulation results to observe whether the error size is within the specified threshold range. The experimental results show that the quantitative model of this application is correct and reasonable.

[0281] The test method (also called processing method) and quantitative model of the present application can more effectively conduct reliability tests on control services carried by mobile networks, provide accurate and reliable test basis for reliability modeling, optimization design analysis, etc. of control services carried by mobile networks, and support reliability assurance of mobile networks when promoted for industry applications.

[0282] The PC of this application takes into account the dynamic, coupled, and control loop business characteristics of control services carried by mobile networks, and proposes a reliability method for control services carried by mobile networks, and then quantifies the calculation method for the reliability of the reliability test of control services carried by mobile networks.

[0283] Reliability test methods and quantitative models can more effectively conduct reliability tests on control services carried by mobile networks, provide accurate and reliable test basis for reliability modeling, optimization design analysis, etc. of control services carried by mobile networks, and support reliability assurance when mobile networks are promoted for industry applications.

[0284] The following describes a device provided by an embodiment of the present application. Figure 5 As shown:

[0285] Figure 5 This is a schematic diagram of the structure of a processing device provided in an embodiment of the present application. Figure 5 As shown, the device 500 may include: a processor 501 , a transceiver 505 , and optionally a memory 502 .

[0286] The transceiver 505 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., and may be used to implement a transceiver function. The transceiver 505 may include a receiver and a transmitter, wherein the receiver may be referred to as a receiver or a receiving circuit, etc., and may be used to implement a receiving function; and the transmitter may be referred to as a transmitter or a transmitting circuit, etc., and may be used to implement a transmitting function.

[0287] The memory 502 may store a computer program or software code or instruction 504, which may also be referred to as firmware. The processor 501 may implement the processing methods provided in the embodiments of the present application by running the computer program or software code or instruction 503 therein, or by calling the computer program or software code or instruction 504 stored in the memory 502. The processor 501 may be a central processing unit (CPU), and the memory 502 may be, for example, a read-only memory (ROM) or a random access memory (RAM).

[0288] The processor 501 and transceiver 505 described in the present application can be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc.

[0289] The above-mentioned device 500 may further include an antenna 506. The modules included in the device 500 are only for illustration and are not limited in this application.

[0290] For example, the structure of the processing device may not be affected by Figure 5 The processing device may be an independent device or may be part of a larger device. For example, the processing device may be implemented in the form of:

[0291] (1) An independent integrated circuit IC, or chip, or chip system or subsystem; (2) A collection of one or more ICs, optionally, the IC collection may also include a storage component for storing data and instructions; (3) A module that can be embedded in other devices; (4) In-vehicle equipment, etc.; (5) Others, etc.

[0292] For the case where the processing device is implemented as a chip or a chip system, see Figure 6 Schematic diagram of the chip structure shown. Figure 6 The chip shown includes a processor 601 and an interface 602 . The number of the processor 601 may be one or more, and the number of the interface 602 may be multiple. Optionally, the chip or chip system may include a memory 603 .

[0293] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0294] Based on the same technical concept, an embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program includes at least one code segment, and the at least one code segment can be executed by a computer to control the computer to implement the above method embodiment.

[0295] Based on the same technical concept, the embodiment of the present application also provides a computer program, which, when executed, is used to implement the above method embodiment.

[0296] The program may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor.

[0297] Based on the same technical concept, the embodiment of the present application further provides a chip, including a processor. The processor can implement the above method embodiment.

[0298] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in a hardware manner, or can be implemented by a processor executing a software instruction. The software instruction can be composed of corresponding software modules, and the software module can be stored in a random access memory (Random Access Memory, RAM), a flash memory, a read-only memory (Read Only Memory, ROM), an erasable programmable read-only memory (Erasable Programmable ROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), a register, a hard disk, a mobile hard disk, a read-only compact disk (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.

[0299] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

[0300] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A processing method, characterized in that: The method comprises: Execute the test steps of control business; Acquiring business data related to the test steps; Determining a mobile network parameter of the control service based on the service data; Based on the mobile network parameters, the reliability of the control service is determined.

2. The method according to claim 1, characterized in that The test steps for executing control services include at least one of the following: Set or adjust network parameters of network damage detectors related to control services; The network parameters are used to simulate the environment in which the control service is located and the degree of influence on the mobile network accessed by the control service; Controlling motors related to the control business to perform displacement tasks and / or rotation tasks; Acquire test data related to each execution of the control business.

3. The method according to claim 1 or 2, characterized in that: The control service is executed multiple times.

4. The method according to claim 2, characterized in that: The obtaining of business data related to the test step includes: Based on the test data, business data related to the test steps in each execution of the control business is obtained.

5. The method according to any one of claims 1 to 4, characterized in that: The mobile network parameter includes at least one of the following: Traffic parameters of mobile networks and network performance parameters of mobile networks.

6. The method according to claim 5, characterized in that The traffic parameter of the mobile network includes at least one of the following: packet size and packet arrival interval.

7. The method according to claim 5 or 6, characterized in that: The network performance parameters of the mobile network include at least one of the following: bandwidth, packet loss rate, and delay.

8. The method according to any one of claims 1 to 7, characterized in that The determining the reliability of the control service based on the mobile network parameter includes: Based on the mobile network parameters, determining whether each of the multiple control services executed is successfully executed; The reliability of the control service is determined based on the number of successful executions of the control service and the number of failed executions of the control service, as well as the mobile network parameters of the control service.

9. The method according to claim 8, characterized in that The method further comprises: Setting or adjusting the video recognition accuracy rate related to the control service; Based on the video recognition accuracy rate related to the control-related business, it is determined whether each of the multiple control-related businesses executed is successfully executed.

10. The method according to any one of claims 1 to 9, characterized in that The control type service includes multiple single control type services.

11. A processing device, characterized in that: The processing device comprises: An execution module is used to execute the test steps of the control business; An acquisition module, used for acquiring business data related to the test steps; A first determination module, configured to determine a mobile network parameter of the control service based on the service data; The second determination module is used to determine the reliability of the control service based on the mobile network parameters.

12. The device according to claim 11, characterized in that The execution module is specifically used for at least one of the following: Set or adjust network parameters of network damage detectors related to control services; The network parameters are used to simulate the environment in which the control service is located and the degree of influence on the mobile network accessed by the control service; Controlling motors related to the control business to perform displacement tasks and / or rotation tasks; Acquire test data related to each execution of the control business.

13. The device according to claim 11 or 12, characterized in that The control service is executed multiple times.

14. The device according to claim 12, characterized in that The acquisition module is specifically used for: Based on the test data, business data related to the test steps in each execution of the control business is obtained.

15. The device according to any one of claims 11 to 14, characterized in that The mobile network parameter includes at least one of the following: Traffic parameters of mobile networks and network performance parameters of mobile networks.

16. The device according to claim 15, characterized in that The traffic parameter of the mobile network includes at least one of the following: packet size and packet arrival interval.

17. The device according to claim 15 or 16, characterized in that The network performance parameters of the mobile network include at least one of the following: bandwidth, packet loss rate, and delay.

18. The device according to any one of claims 11 to 17, characterized in that The second determining module is specifically used to: Based on the mobile network parameters, determining whether each of the multiple control services executed is successfully executed; The reliability of the control service is determined based on the number of successful executions of the control service and the number of failed executions of the control service, as well as the mobile network parameters of the control service.

19. The device according to claim 18, characterized in that The device also includes: A control module, used to set or adjust the video recognition accuracy related to the control service; The second determination module is further used to determine whether each of the multiple control services executed is successful based on the video recognition accuracy rate related to the control service.

20. The device according to any one of claims 11 to 19, characterized in that The control type service includes multiple single control type services.

21. A computer-readable storage medium, characterized in that: The method comprises a computer program, which, when running on a computer or a processor, enables the computer or the processor to execute the method according to any one of claims 1 to 10.

22. A processing device, characterized in that: It comprises one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory and send the signal to the processor, the signal comprising a computer instruction stored in the memory; when the processor executes the computer instruction, the processor is used to execute the method as claimed in any one of claims 1 to 10.

23. A computer program product, characterized in that The computer program product comprises a software program, and when the software program is executed by a computer or a processor, the steps of the method according to any one of claims 1 to 10 are performed.