Control method, system, electronic device and readable medium for controlled component
By obtaining the delay time between the main control platform and the controlled component and setting the waiting time, the problem of inconsistent execution time of control instructions of the controlled component is solved and the control effect is improved.
Patent Information
- Application Number
- CN202211331998.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-10-28
AI Technical Summary
In controlled component control, due to the delay difference between the main control platform and the controlled component, the execution time of the control instructions is inconsistent, resulting in poor control effect.
By obtaining the delay time between the main control platform and each target controlled component, the waiting time of each target controlled component is determined respectively, and the control instructions and waiting time are issued to it, so that the controlled component performs operations after the waiting time. , ensuring uniformity and synchronization.
It improves the degree of unified operation of controlled components, reduces the deviation between actual execution and expected operation, and improves the control effect.
Smart Images

Figure CN115686630B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of electronic devices, and in particular, to a control method and system for a controlled component, an electronic device, and a readable medium. Background Art
[0002] At present, the scenario of using a main control platform to control the controlled components has been increasingly widely used.
[0003] In the prior art, when controlling a controlled component, the main control platform often directly sends the control command to the controlled component. After receiving the control command, the controlled component will perform the corresponding operation. In this way, due to the different delays between different controlled components and the main control platform, the controlled components may not be able to uniformly perform the executed operations, resulting in a deviation between the actual execution operation and the expected operation, and the control effect is poor. Summary of the invention
[0004] The embodiments of the present invention provide a control method, system, electronic device and readable medium for a controlled component to solve the problem of poor control effect.
[0005] In a first aspect, a control method for a controlled component is provided, which is applied to a main control platform, and the method comprises:
[0006] respectively obtaining the corresponding delay durations between the main control platform and each target controlled component; the target controlled components are at least two controlled components among the multiple controlled components for executing the target control instruction;
[0007] According to the delay time, respectively determine the waiting time corresponding to each of the target controlled components; the waiting time represents the waiting time required for the target controlled component to execute the target control instruction, and is negatively correlated with the delay time;
[0008] The target control instruction and the waiting time are respectively issued to each of the target controlled components, so as to control each of the target controlled components to respond to the target control instruction and execute the operation corresponding to the target control instruction after waiting for the waiting time.
[0009] Optionally, the respectively obtaining corresponding delay durations between the main control platform and each target controlled component includes:
[0010] parsing the target control instruction to be issued this time, and determining the target controlled component from the multiple controlled components;
[0011] For any of the target controlled components, the transmission delay corresponding to each of the target controlled components is found from the transmission delay of the transmission path between the main control platform and each of the controlled components, so as to obtain the delay duration corresponding to each of the main control platform and the target controlled components; the transmission delay is used to represent the delay in information transmission between the main control platform and the controlled components.
[0012] Optionally, determining the waiting time corresponding to each of the target controlled components according to the delay time includes:
[0013] The waiting time of the target controlled component with the largest delay time is set as the first waiting time;
[0014] Respectively determine the difference between the delay duration of each other target controlled component and the delay duration of the target controlled component with the largest delay duration, to obtain the delay difference of the other target controlled components;
[0015] For any of the other target controlled components, the waiting time of the other target controlled component is set to a second waiting time; the second waiting time is the sum of the first waiting time and the delay difference of the other target controlled component.
[0016] Optionally, the transmission path includes a first transmission path and a second transmission path;
[0017] The method further comprises:
[0018] When a failure of the transmission path is detected, the transmission path is switched from the first transmission path to the second transmission path, or from the second transmission path to the first transmission path.
[0019] In a second aspect, a control system is provided, the control system comprising a main control platform and a plurality of controlled components, the main control platform being connected to the plurality of controlled components;
[0020] The main control platform is used to respectively obtain the corresponding delay durations between the main control platform and each target controlled component; the target controlled components belong to at least two controlled components among the multiple controlled components for executing the target control instruction;
[0021] The main control platform is also used to determine the waiting time corresponding to each of the target controlled components according to the delay time; the waiting time indicates the waiting time required for the target controlled component to execute the target control instruction, and is negatively correlated with the delay time;
[0022] The main control platform is also used to send the target control instruction and the waiting time to each target controlled component respectively;
[0023] The target controlled component is used to execute the operation corresponding to the target control instruction in response to the target control instruction after waiting for the waiting time.
[0024] Optionally, the main control platform and each of the controlled components are connected in series based on a first transmission path and a second transmission path.
[0025] Optionally, the controlled component and the main control platform are robots, and the control system is a robot system.
[0026] Optionally, the main control platform is further configured to switch the transmission path from the first transmission path to the second transmission path, or from the second transmission path to the first transmission path, when a failure is detected in the transmission path.
[0027] In a third aspect, an electronic device is provided, including:
[0028] One or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the electronic device to perform the above method.
[0029] In a fourth aspect, one or more machine-readable media are provided, on which instructions are stored, which, when executed by one or more processors, cause the processors to perform the above method.
[0030] In an embodiment of the present invention, the main control platform obtains the delay time between the main control platform and each target controlled component respectively, and the target controlled component belongs to at least two controlled components for executing the target control instruction among multiple controlled components. According to the delay time, the waiting time corresponding to each target controlled component is determined respectively, and the waiting time represents the waiting time required for the target controlled component to execute the target control instruction, which is negatively correlated with the delay time. The target control instruction and the waiting time are respectively issued to each target controlled component to control each target controlled component to execute the operation corresponding to the target control instruction after the waiting time in response to the target control instruction. In this way, by setting the waiting time for the target controlled component according to the delay time of each target controlled component, the target controlled component is controlled to execute the target control instruction after the waiting time, thereby improving the uniformity of the target controlled component's execution operation to a certain extent, reducing the deviation between the actual execution operation and the expected operation, and thus improving the control effect.
[0031] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0033] Figure 1 is a flowchart of a method for controlling a controlled component provided by an embodiment of the present invention;
[0034] Figure 2 is a system block diagram of a control system provided by an embodiment of the present invention;
[0035] Figure 3 is a system block diagram of another control system provided by an embodiment of the present invention;
[0036] Figure 4 is a system block diagram of a robot system provided by an embodiment of the present invention;
[0037] Figure 5 The present invention is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0038] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0039] Figure 1 is a flowchart of a control method for a controlled component provided by an embodiment of the present invention. The method can be applied to a main control platform, such as Figure 1 As shown, the method may include:
[0040] Step 101: respectively obtain the corresponding delay durations between the main control platform and each target controlled component; the target controlled components are at least two controlled components among multiple controlled components for executing target control instructions.
[0041] In an embodiment of the present invention, a main control platform is connected to a plurality of controlled components, the main control platform can be implemented based on a processor chip, and the controlled component can be a controlled module. The target controlled component can be determined according to the control instruction that needs to be issued this time. Among them, the control instruction that needs to be issued this time is the target control instruction. Exemplarily, it is assumed that the controlled components include: controlled component A, controlled component B, controlled component C, controlled component D and controlled component E. The target control instruction needs to be sent to controlled component B and controlled component C. Then, the target controlled components are controlled component B and controlled component C.
[0042] The delay between the master control platform and the target controlled component refers to the transmission delay of the master control platform sending data to the target controlled component. Specifically, the difference between the receiving time of the target controlled component and the sending time of the master control platform can be used as the delay between the master control platform and the target controlled component.
[0043] Step 102: Determine the waiting time corresponding to each of the target controlled components according to the delay time; the waiting time indicates the waiting time required for the target controlled component to execute the target control instruction, and is negatively correlated with the delay time.
[0044] Step 103: Issue the target control instruction and the waiting time to each target controlled component respectively, so as to control each target controlled component to respond to the target control instruction and execute the operation corresponding to the target control instruction after waiting for the waiting time.
[0045] It should be noted that there may be multiple control instructions that need to be issued this time, that is, there may be multiple target control instructions. For example, assume that there are target control instructions X and target control instructions Y. The controlled component that needs to execute target control instruction X is controlled component A, and the controlled component that needs to execute target control instruction Y is controlled component D, then controlled component A and controlled component D can be used as target controlled components. Accordingly, the target control instructions that the target controlled component needs to execute can be issued to each target controlled component respectively. In other words, the target control instructions received by different target controlled components may be different.
[0046] In the embodiment of the present invention, the waiting time can be used to characterize the waiting time required for the target controlled component to wait after receiving the target control instruction. Since the delay time between the main control platform and different target controlled components may be different, if the waiting time is not set, the target controlled component will receive the target control instruction at different times, and then execute the operation corresponding to the target control instruction at different times, resulting in the target controlled component being unable to uniformly execute the executed operation.
[0047] The waiting time can be used as a specified parameter of the target control instruction and be carried in the target control instruction. After receiving the target control instruction, the target controlled component can extract the specified parameter from it to obtain the waiting time, and then set the timer according to the waiting time and start the timer. When the timer ends, that is, after waiting for the waiting time, the operation corresponding to the target control instruction is executed.
[0048] Furthermore, the waiting time is negatively correlated with the delay time, that is, if the delay time is longer, the waiting time can be shorter. If the delay time is shorter, the waiting time can be longer. In this way, even if the target control instruction is received at different times, the target controlled component will execute the operation corresponding to the target control instruction after waiting for its corresponding waiting time, thereby shortening the time interval for each target controlled component to execute the operation to a certain extent, thereby improving the uniformity of the target controlled component to execute the operation to a certain extent.
[0049] In the embodiment of the present invention, the waiting time of different target controlled components may be the same or different. Specifically, the sum of the waiting time and the delay time of each target controlled component may be equal. In this way, it can be ensured that each target controlled component can synchronously execute the operation corresponding to the target control instruction after waiting for the corresponding waiting time, thereby ensuring the uniformity of the target controlled components in executing the operation to the greatest extent.
[0050] In summary, a control method for a controlled component provided by an embodiment of the present invention is that the main control platform obtains the delay time between the main control platform and each target controlled component respectively, and the target controlled component belongs to at least two controlled components used to execute the target control instruction among multiple controlled components. According to the delay time, the waiting time corresponding to each target controlled component is determined respectively, and the waiting time indicates the waiting time required for the target controlled component to execute the target control instruction, and the delay time is negatively correlated. The target control instruction and the waiting time are respectively issued to each target controlled component to control each target controlled component to respond to the target control instruction after the waiting time to execute the operation corresponding to the target control instruction. In this way, by setting the waiting time for the target controlled component according to the delay time of each target controlled component, the target controlled component is controlled to execute the target control instruction after the waiting time, thereby improving the uniformity of the target controlled component's execution operation to a certain extent, reducing the deviation between the actual execution operation and the expected operation, thereby improving the control effect.
[0051] It should be noted that, when the number of controlled components to be controlled this time is 1, that is, when there is only one target controlled component, the target control instruction can be directly issued to the target controlled component to ensure control efficiency.
[0052] Optionally, in the embodiment of the present invention, the main control platform may be connected to each of the controlled components via a transmission path. The following steps may also be performed in the embodiment of the present invention:
[0053] Step A: Detecting the transmission delay of the transmission path between the main control platform and each of the controlled components, and storing the delay.
[0054] Among them, data can be transmitted between the main control platform and the controlled component through a transmission path. The transmission path can also be called a data path, a real-time data transmission path. Specifically, the main control platform and the controlled component can belong to a control system. The control system can also include a data path module, and the main control platform and the controlled component can both include a data path module. Accordingly, the delay duration between each controlled component and the main control platform can be measured based on the data path module. Exemplarily, for any controlled component, the main control platform can send test data to the controlled component, and the test data reaches the controlled component through the transmission path between the main control platform and the controlled component and is received by the controlled component. Afterwards, the data path module in the main control platform can report the sending time of the test data sent by the main control platform, and the data path module in the controlled component can report the receiving time of the test data received by the controlled component. Afterwards, the interval duration between the sending time and the receiving time is calculated based on the preset calculation software to obtain the transmission delay of the transmission path between the main control platform and the controlled component.
[0055] It should be noted that, when the main control platform and the controlled component are connected in series, the transmission path between the main control platform and the controlled component may include other controlled components. Accordingly, in another implementation, after the system is turned on, the main control platform can issue a transmission delay test command. After each controlled component receives the transmission delay test command in turn, it will process the information carried in the transmission delay test command and send it to the next controlled component after processing, and each processing mark will be added during processing. Accordingly, the main control platform can analyze based on the final processed information. Specifically, for any controlled component, the duration between the sending time and the adding time of the processing mark of the controlled component can be used as the transmission delay of the transmission path between the main control platform and the controlled component.
[0056] Furthermore, the main control platform can save the transmission delay corresponding to each controlled component. Specifically, the identification of the controlled component and the transmission delay corresponding to the controlled component can be stored in correspondence. Exemplarily, the obtained delay duration can be synthesized by software to obtain the corresponding relationship between the identification of the controlled component and the transmission delay corresponding to the controlled component, and save it.
[0057] Optionally, the above-mentioned respectively obtaining the delay durations corresponding to each other between the main control platform and each target controlled component may specifically include:
[0058] Step 1011: parse the target control instruction to be issued this time, and determine the target controlled component from the multiple controlled components.
[0059] In an embodiment of the present invention, a pre-imported job instruction program may be stored in the main control platform. Exemplarily, the job instruction program may access the main control platform through a human-computer interaction module in multiple ways such as LTE, Wifi, Bluetooth, etc., wherein different human-computer interaction modules may adopt different ways, which is not limited by the embodiment of the present invention. The target control instruction to be issued this time may be pre-specified in the job instruction program, or the target control instruction to be issued this time may be submitted by the user this time, or generated based on the collected information.
[0060] The controlled component that needs to execute the target control instruction can be determined by a preset control logic. For example, when generating a target control instruction, the controlled component that needs to execute the target control instruction can be set, and the identifier of the controlled component that needs to execute the target control instruction can be set in the instruction parameter of the target control instruction. Accordingly, the target control instruction can be parsed, and the identifier of the controlled component that needs to execute the target control instruction can be obtained from the instruction parameter of the target control instruction, and the controlled component indicated by the obtained identifier can be determined as the target controlled component.
[0061] Alternatively, the identification of the controlled component that needs to execute the target control instruction is set in the job instruction program. Among them, the identification of the controlled component that needs to execute the target control instruction is the identification of the controlled component used to execute the target control instruction. Assume that the preset control logic is: when the specified information is collected, the first sound module and the second sound module are controlled to emit a prompt sound at the same time. Then, when the specified information is collected, the target controlled component corresponding to the generated target control instruction can be the first sound module and the second sound module.
[0062] Step 1012: For any of the target controlled components, respectively search for the transmission delay corresponding to each of the target controlled components from the transmission delay of the transmission path between the main control platform and each of the controlled components to obtain the delay length between the main control platform and the target controlled component; the transmission delay is used to represent the delay in information transmission between the main control platform and the controlled component.
[0063] Exemplarily, based on a preset delay search command, the transmission delay corresponding to the identifier of the target controlled component can be searched from the correspondence between the stored identifier of the controlled component and the transmission delay duration, and the found transmission delay can be used as the delay duration between the main control platform and the target controlled component. It should be noted that the embodiments of the present invention can be specifically applied to the Loongson CPU platform, and of course, can also be applied to other platforms, for example, to the Microsoft CPU platform. The preset delay search command can be a find command, the transmission path between the main control platform and each controlled component can be pre-set, the transmission delay can be pre-stored in a first designated register, and the found delay duration can be stored in a second designated register. Among them, the first designated register and the second designated register belong to the main control platform.
[0064] In the embodiment of the present invention, the transmission delay of the transmission path between the main control platform and each controlled component is measured in advance and stored. When obtaining the delay duration of the target controlled component to be controlled this time, it is only necessary to search from the transmission delay of the transmission path between the main control platform and each controlled component, thereby improving the efficiency of delay duration acquisition to a certain extent, thereby improving the execution efficiency of the target control instruction this time.
[0065] It should be noted that the above step A and the above steps 1011 to 1012 can be executed asynchronously.
[0066] Optionally, the step of determining the waiting time corresponding to each of the target controlled components according to the delay time may specifically include:
[0067] Step 1021: Set the waiting time of the target controlled component with the largest delay time as the first waiting time.
[0068] In an embodiment of the present invention, the first waiting time can be set according to actual needs. For example, the first waiting time can be determined according to the maximum acceptable delay time, and a time less than the maximum delay time can be selected as the first waiting time. Among them, the maximum delay time can be manually pre-defined. Exemplarily, in one implementation, the first waiting time can be 0, that is, the target controlled component with the largest delay time can wait for 0 seconds after receiving the target control instruction, that is, without waiting, and directly execute the operation corresponding to the target control instruction to improve the response efficiency. Among them, the operation corresponding to the target control instruction is the operation indicated by the target control instruction.
[0069] Step 1022: respectively determine the difference between the delay duration of each other target controlled component and the delay duration of the target controlled component with the largest delay duration, and obtain the delay difference of the other target controlled components.
[0070] Step 1023: For any of the other target controlled components, set the waiting time of the other target controlled component to a second waiting time; the second waiting time is the sum of the first waiting time and the delay difference of the other target controlled component.
[0071] In the embodiment of the present invention, after the delay difference is calculated, the delay difference can be stored in the third designated register, and when calculating the second waiting time, the delay difference of the other target controlled component can be read from the third designated register based on a preset read command. Then, based on a preset sum command, the sum of the first waiting time and the read delay difference is calculated, and the calculated sum is used as the second waiting time of the other target controlled component.
[0072] Exemplarily, it is assumed that there are three target controlled components: target controlled component 1, target controlled component 2, and target controlled component 3. Among them, the delay durations of target controlled component 1, target controlled component 2, and target controlled component 3 are 2 seconds, 2.5 seconds, and 4 seconds, respectively. Then the waiting duration of target controlled component 3 with the largest delay duration can be set to the first waiting duration. The delay differences between target controlled component 1, target controlled component 2, and target controlled component 3 are calculated respectively. Specifically, the delay difference between target controlled component 1 and target controlled component 3 is 4 seconds - 2 seconds = 2 seconds, and the delay difference between target controlled component 2 and target controlled component 3 is 4 seconds - 2.5 seconds = 1.5 seconds.
[0073] Further, for any other target controlled component, the waiting time of the other target controlled component can be set to the sum of the delay difference of the other target controlled component and the first waiting time. For example, the waiting time of the target controlled component 1 can be set to the first waiting time + 2 seconds, and the waiting time of the target controlled component 2 can be set to the first waiting time + 1.5 seconds. Taking the first waiting time equal to 0 seconds as an example, the waiting times of the target controlled component 1, the target controlled component 2 and the target controlled component 3 can be: 2 seconds, 1.5 seconds, 0 seconds, respectively. Further, a target control instruction 1 with 2 seconds as the specified parameter, a target control instruction 2 with 1.5 seconds as the specified parameter, and a target control instruction 3 with 0 seconds as the specified parameter can be generated. The target control instruction 1, the target control instruction 2, and the target control instruction 3 are sent to the target controlled component 1, the target controlled component 2, and the target controlled component 3, respectively.
[0074] Accordingly, the target controlled component 1, the target controlled component 2, and the target controlled component 3 can extract the specified parameters from the target control instructions received by each, and then obtain the respective waiting time: 2 seconds, 1.5 seconds, and 0 seconds. The target controlled component 1, the target controlled component 2, and the target controlled component 3 can set 2 seconds, 1.5 seconds, and 0 seconds as the timing time of their respective timers, and after the timer timing ends, that is, after waiting for their respective waiting time, execute the operations corresponding to the target control instructions received by each. Since the delay time of the target controlled component 1, the target controlled component 2, and the target controlled component 3 are respectively: 2 seconds, 2.5 seconds, and 4 seconds, therefore, the target controlled component 1, the target controlled component 2, and the target controlled component 3 execute the operations corresponding to the target control instructions received by each after waiting for 2 seconds, 1.5 seconds, and 0 seconds, respectively, which can ensure that the target controlled component 1, the target controlled component 2, and the target controlled component 3 all synchronously execute the operations corresponding to the target control instructions 4 seconds after the main control platform issues the target control instructions.
[0075] It should be noted that, in an embodiment of the present invention, the system time and the delay duration can also be broadcast to each module in the control system, and the embodiment of the present invention does not limit this. The target control instruction sent by the main control platform can carry timestamp information. After receiving the target control instruction, the target controlled component can extract the timestamp therein, and calculate the time difference between the timestamp and the current system time according to the current system time. When the time difference is equal to the delay duration of the target controlled component, after the waiting time, the operation corresponding to the target control instruction is executed. If the time difference is greater than the delay duration of the target controlled component, that is, the delay duration this time is greater than the delay duration previously measured, then the difference between the time difference and the delay duration of the target controlled component can be subtracted from the waiting time to make the waiting time more accurate.
[0076] In the embodiment of the present invention, by setting the waiting time of the target controlled component with the largest delay time as the first waiting time, and setting the waiting time of other target controlled components as the sum of the first waiting time and the delay difference of the other target controlled components, the waiting time and the sum of the delay time of each target controlled component can be made equal, thereby ensuring the uniformity of the target controlled components in executing operations to the greatest extent and improving the control effect.
[0077] Optionally, the transmission path includes a first transmission path and a second transmission path.
[0078] The above step of detecting the transmission delay of the transmission path between the main control platform and each of the controlled components may specifically include:
[0079] Step A1: Detect the transmission delay of the first transmission path and the transmission delay of the second transmission path between the main control platform and each of the controlled components.
[0080] Specifically, the first transmission path and the second transmission path may be tested respectively to obtain the transmission delay of the first transmission path and the transmission delay of the second transmission path. The first transmission path and the second transmission path may be a forward data path and a backward data path.
[0081] Accordingly, when storing, a corresponding relationship between the identification of the controlled component and the transmission delay of the first transmission path corresponding to the controlled component can be generated for the transmission delay of the first transmission path. And, a corresponding relationship between the identification of the controlled component and the transmission delay of the second transmission path corresponding to the controlled component can be generated for the transmission delay of the second transmission path, so as to facilitate subsequent use. Among them, the method of detecting the transmission delay and the storage method can refer to the above-mentioned related description, which will not be repeated here.
[0082] The above-mentioned step of searching for the transmission delay corresponding to each of the target controlled components from the transmission delay of the transmission path between the main control platform and each of the controlled components may specifically include:
[0083] Step 1012a, searching for the transmission delay corresponding to the target controlled component from the transmission delay of the target transmission path; the target transmission path is the path used by the main control platform, and the target transmission path is the first transmission path or the second transmission path.
[0084] Specifically, when the target transmission path is the first transmission path, that is, the first transmission path used by the master control platform to send the target control instruction to the target controlled component, the transmission delay corresponding to the identifier of the target controlled component can be found from the corresponding relationship between the identifier of the controlled component and the transmission delay of the first transmission path, thereby obtaining the delay duration between the master control platform and the target controlled component. When the target transmission path is the second transmission path, that is, the second transmission path used by the master control platform to send the target control instruction to the target controlled component, the transmission delay corresponding to the identifier of the target controlled component can be found from the corresponding relationship between the identifier of the controlled component and the transmission delay of the second transmission path, thereby obtaining the delay duration between the master control platform and the target controlled component.
[0085] It should be noted that the dual channels set in the embodiment of the present invention: the first transmission path and the second transmission path can be set in a wired connection manner, that is, the first transmission path and the second transmission path are wired transmission paths. For example, the dual channels can use RJ25 cables. Alternatively, wireless communication can be used, that is, the first transmission path and the second transmission path are wireless transmission paths. The data structure used by the first transmission path and the second transmission path is consistent with the data structure of the data to be transmitted. The data to be transmitted is the data collected by the sensor in the controlled component.
[0086] In the embodiment of the present invention, when dual transmission channels are used, the transmission delays of the two transmission paths are detected. When searching, the transmission delay corresponding to the target controlled component is queried according to the transmission delay of the target transmission path used by the main control platform this time. In this way, it can be ensured that the delay length found can meet the actual situation, thereby ensuring the accuracy of the waiting time length determined subsequently.
[0087] Optionally, the embodiment of the present invention may further include the following steps:
[0088] Step B1: When a fault is detected in the transmission path, the transmission path is switched from the first transmission path to the second transmission path, or from the second transmission path to the first transmission path.
[0089] In the case that the target transmission path fails, the target transmission path is replaced with the other path of the first transmission path and the second transmission path, and failure prompt information is output.
[0090] Among them, the failure of the target transmission path may include the disconnection of the target transmission path, the loss of data in the target transmission path, the main control platform not receiving the message of the target transmission path reply, etc. Among them, the target transmission path can be regarded as the main path, and the other transmission path can be regarded as the backup path. In the series mode, since the data will eventually return to the main control platform after being sent down one level at a time, if the main control platform does not receive the reply message, it can be considered that the path is abnormal. Among them, the message replied by the transmission path can be the data that has been sent down, or the reply message generated by the target controlled component. The fault prompt information can be used to prompt the user that the current target transmission path has a fault, and then prompt the user to handle the fault, for example, to repair the current target transmission path. Outputting the fault prompt information can specifically send an alarm message to the alarm module to issue a system alarm through the alarm module. Alternatively, the fault prompt information is sent to the user terminal, and the fault prompt information may include the identification of the controlled component connected to the target transmission path and the identification of the target transmission path to facilitate the user to locate the fault.
[0091] Specifically, when the target transmission path is the first transmission path, the second transmission path can be switched to the target transmission path. This can be based on sending a first disconnection instruction to the controlled component. The disconnection instruction is used to instruct the controlled component to disconnect the first transmission path currently used, and then send a first reconnection instruction to the controlled component. The reconnection instruction is used to instruct the controlled component to enable the second transmission path to connect to the main control platform. When the target transmission path is the second transmission path, the first transmission path can be switched to the target transmission path. This can be based on sending a second disconnection instruction to the controlled component. The second disconnection instruction is used to instruct the controlled component to disconnect the second transmission path currently used, and then send a second reconnection instruction to the controlled component. The second reconnection instruction is used to instruct the controlled component to enable the first transmission path to connect to the main control platform.
[0092] In the embodiment of the present invention, when a target transmission path fails, the target transmission path is replaced with another path of the first transmission path and the second transmission path, and fault prompt information is output. In this way, it can be ensured that data can still be transmitted normally in the event of a channel failure, thereby ensuring that the system can work normally and the control process can proceed normally. In addition, by outputting the fault prompt information, the user can be aware of the existence of the fault in a timely manner, thereby improving the efficiency of fault repair.
[0093] Figure 2 is a system block diagram of a control system provided by an embodiment of the present invention, such as Figure 2 As shown, the control system includes a main control platform 01 and a plurality of controlled components 02, and the main control platform 01 is connected to the plurality of controlled components 02;
[0094] The main control platform 01 is used to respectively obtain the corresponding delay durations between the main control platform and each target controlled component; the target controlled components are at least two controlled components among the multiple controlled components 02 for executing the target control instruction;
[0095] The main control platform 01 is also used to determine the waiting time corresponding to each of the target controlled components according to the delay time; the waiting time indicates the waiting time required for the target controlled component to execute the target control instruction, and is negatively correlated with the delay time;
[0096] The main control platform 01 is also used to send the target control instruction and the waiting time to each target controlled component respectively;
[0097] The target controlled component is used to execute the operation corresponding to the target control instruction in response to the target control instruction after waiting for the waiting time.
[0098] In summary, an embodiment of the present invention provides a control system, in which the main control platform obtains the delay time between the main control platform and each target controlled component respectively, and the target controlled component belongs to at least two controlled components used to execute the target control instruction among multiple controlled components. According to the delay time, the waiting time corresponding to each target controlled component is determined respectively, and the waiting time indicates the waiting time required for the target controlled component to execute the target control instruction, which is negatively correlated with the delay time. The target control instruction and the waiting time are respectively issued to each target controlled component to control each target controlled component to respond to the target control instruction after the waiting time to execute the operation corresponding to the target control instruction. In this way, by setting the waiting time for the target controlled component according to the delay time of each target controlled component, the target controlled component is controlled to execute the target control instruction after the waiting time, thereby improving the uniformity of the target controlled component's execution operation to a certain extent, reducing the deviation between the actual execution operation and the expected operation, thereby improving the control effect.
[0099] Optional, Figure 3 is a system block diagram of another control system provided by an embodiment of the present invention, such as Figure 3 As shown, the main control platform is connected in series with multiple controlled components. Accordingly, when actively sending target control instructions and waiting time to each target controlled component, the target control instructions and waiting time can be sent to all controlled components in the form of broadcast based on the transmission path. Each controlled component can detect whether there is a target control instruction that needs to be executed by itself from the received data. For example, it is detected whether the component identifier carried in the received target control instruction is consistent with its own identifier. If consistent, it is confirmed that the target control instruction needs to be executed by itself. In this way, only broadcasting is required to achieve the sending, which can save processing resources to a certain extent. It should be noted that when the series connection method is adopted, other modules can be included in the transmission path between the module and the main control platform.
[0100] Of course, the main control platform and multiple controlled components can also be connected in parallel. Accordingly, when actively issuing target control instructions to each target controlled component and waiting for a long time, the target control instructions can be sent to the corresponding target controlled component. The embodiment of the present invention does not limit this.
[0101] Furthermore, the main control platform may include a power supply platform, a main control module, and a data path module. Among them, the main control module may adopt a processor chip of a specified type, and the power supply platform may be used to power the main control platform. After the control system is started, the main control module may provide power through the power supply platform. The controlled component may specifically include a controlled module, a data path module, and a power module. Among them, the data path module may be implemented based on the CPU and used for protocol conversion, data acquisition and distribution. The controlled component may extract the timestamp and the corresponding instructions by receiving the data sent by the main control module to complete the corresponding instructions.
[0102] Furthermore, the main control platform and each controlled component can be connected based on the first transmission path and the second transmission path. Specifically, there is a power path and two data paths (i.e., the first transmission path and the second transmission path) between the main control module and the controlled module. The first transmission path and the second transmission path can each include two wires. Accordingly, for each transmission path, each module has two interfaces connected to the two wires in the transmission path. The main control platform is also used to switch the transmission path from the first transmission path to the second transmission path, or from the second transmission path to the first transmission path when a failure in the transmission path is detected. Compared with the use of a single bus connection, that is, a single-channel connection between the bus and the system, the present application adopts a dual-channel mode. All controlled modules have two paths connected to the main control platform. In this way, if one of the transmission paths fails, the other transmission path can be used to ensure that the system can work normally.
[0103] Specifically, in the embodiment of the present invention, the power supply path and the transmission path can use the same bus. For example, based on the preset software bus protocol, a bus with an RJ25 interface can be used. The bus has 6 wires, two of which are power lines, two are used as forward data paths, and two are used as backward data paths. In this way, the line routing in actual use can be reduced, and a bus can bear the function of both the data channel and the power supply function.
[0104] Optionally, in an application scenario, the controlled component and the main control platform are robots, and the control system is a robot system.
[0105] Specifically, the robot system includes a main control platform, a power supply platform, a real-time data transmission channel, a sensing system, a drive system, a human-machine interaction system, a mechanical structure system, etc. The human-machine interaction system can be composed of multiple human-machine interaction modules, and the body of the robot is mainly constructed by the various body modules in the mechanical structure system. The main control platform can control the movement and function of the sensing system, the drive system, and the human-machine interaction system through the real-time data transmission channel according to the robot's operation instruction program. Among them, the sensing system, the drive system, the human-machine interaction system, and the mechanical structure system are all controlled modules relative to the main control module.
[0106] The sensing system can be composed of multiple sensing modules, and different sensing modules can be used to collect different information. For example, it can include sensing modules for collecting light information, collecting heat information, and collecting sound information. The driving system is composed of multiple driving modules. For example, different driving modules can be used to drive different objects. For example, it can include driving modules for driving motors, steering gears, cooling fans, and LEDs. The main control platform can generate target control instructions based on the information collected by a sensing module, and send them to multiple driving modules to control these multiple driving modules.
[0107] Figure 4 is a system block diagram of a robot system provided by an embodiment of the present invention, such as Figure 4 As shown, the robot system may include a main control platform, a power supply platform, a sensing module, a driving module and a human-computer interaction module.
[0108] The main control platform in the robot system can send collection instructions to the sensing module, collect corresponding information through each sensing module, receive the information collected by each sensing module for processing, generate target control instructions based on the processing results, and return them to the drive module that needs to be controlled. Among them, the processing results can represent the operations that the drive module needs to perform, such as grabbing and moving. Correspondingly, the generated target control instructions can be grabbing instructions and moving instructions. At the same time, based on the delay time, each module is synchronously controlled to perform actions.
[0109] For example, suppose that it is necessary to collect sound information and temperature information at the same time. Then the main control platform can generate sound collection instructions and temperature collection instructions as target control instructions. According to the delay time of the sensing module 1 and the sensing module 2, the waiting time of the sensing module 1 and the sensing module 2 is determined, and then the sound collection instruction and the temperature collection instruction are respectively issued to the sensing module 1 and the sensing module 2. After waiting for their respective waiting times, the sensing module 1 and the sensing module 2 respond to the target control instructions they have received and perform the sound collection operation and the temperature collection operation at the same time. Accordingly, after executing the operation, the target controlled module can report the operation result to the preset superior module, such as the main control platform or other modules.
[0110] Exemplarily, it is assumed that when the perception module for collecting sound information collects a preset voice, the left and right arms of the robot are controlled to extend at the same time. Then the main control platform can receive the voice collected by the perception module for collecting sound information, and identify the voice to determine whether it is a preset voice. In the case that the voice is a preset voice, according to the delay time of the driving module 1 and the driving module 2, the waiting time of the driving module 1 and the driving module 2 is determined, and then the extension control instruction is issued to the driving module 1 and the driving module 2, and the driving module 1 and the driving module 2 are sent to the driving module 1 and the driving module 2 after waiting for their respective waiting time, and the driving arm is extended in response to the extension control instruction. Among them, the driving module 1 is used to drive the left arm of the robot, and the driving module 2 is used to drive the right arm of the robot. Assuming that the delay time of the driving module 1 is 1 second and the delay time of the driving module is 1.2 seconds, that is, the driving module 1 receives the extension control instruction 1 second after the main control platform sends the extension control instruction, and the driving module 2 receives the extension control instruction 1.2 seconds after the main control platform sends the extension control instruction. Then the waiting time of the driving module 1 can be determined as 0.2 seconds, and the waiting time of the driving module 2 can be determined as 0 seconds. In this way, the driving module 1 receives the extension control instruction 1.2 seconds after the main control platform sends the extension control instruction, and the driving module 2 receives the extension control instruction 1.2 seconds after the main control platform sends the extension control instruction, thereby realizing synchronous driving of the robot right arm and the robot left arm to extend.
[0111] The following is an explanation of an application scenario involved in an embodiment of the present invention. At present, in order to improve hands-on practical skills, computers are learned while using computers. Robots, makers, Scratch programming, and the Internet of Things have received more and more attention. For robot programming control, the control of the robot system is often non-real-time, and the coordination and unification of the robot's actions cannot be achieved. The robot system provided by the embodiment of the present invention, based on the bus protocol and the real-time synchronization protocol, uses a dual transmission channel to connect multiple modules to the main control platform to achieve real-time operation of each module of the robot, which can make each module real-time identical, avoid the problem of uncoordinated and coherent actions, and thus improve the control effect of the robot teaching system. And the robot can be used on various platforms that require real-time feedback. In addition, through the robot system, the user does not need to directly face the underlying drive, but only needs to understand the logical relationship between the various modules, and can achieve control by designing corresponding control instructions. By simply defining the operation process between various data information, a robot that can coordinate actions in real time can be realized, thereby reducing the difficulty of use and increasing interest in use.
[0112] The embodiment of the present invention further provides a control device for a controlled component, which is applied to a main control platform, wherein the main control platform is connected to a plurality of controlled components, and the device comprises:
[0113] An acquisition module, used to respectively acquire the corresponding delay durations between the main control platform and each target controlled component; the target controlled component belongs to at least two controlled components among the multiple controlled components for executing the target control instruction;
[0114] A determination module, used to determine the waiting time corresponding to each of the target controlled components according to the delay time; the waiting time represents the waiting time required for the target controlled component to execute the target control instruction, and is negatively correlated with the delay time;
[0115] The sending module is used to send the target control instruction and the waiting time to each target controlled component respectively, so as to control each target controlled component to respond to the target control instruction and execute the operation corresponding to the target control instruction after waiting for the waiting time.
[0116] Optionally, the main control platform is connected to each of the controlled components via a transmission path;
[0117] The acquisition module is specifically used for:
[0118] parsing the target control instruction to be issued this time, and determining the target controlled component from the multiple controlled components;
[0119] For any of the target controlled components, the transmission delay corresponding to each of the target controlled components is found from the transmission delay of the transmission path between the main control platform and each of the controlled components, so as to obtain the delay duration corresponding to each of the main control platform and the target controlled components; the transmission delay is used to represent the delay in information transmission between the main control platform and the controlled components.
[0120] Optionally, the determining module is specifically used to:
[0121] The waiting time of the target controlled component with the largest delay time is set as the first waiting time;
[0122] Respectively determine the difference between the delay duration of each other target controlled component and the delay duration of the target controlled component with the largest delay duration, to obtain the delay difference of the other target controlled components;
[0123] For any of the other target controlled components, the waiting time of the other target controlled component is set to a second waiting time; the second waiting time is the sum of the first waiting time and the delay difference of the other target controlled component.
[0124] Optionally, the device further comprises:
[0125] The replacement module is used to switch the transmission path from the first transmission path to the second transmission path, or from the second transmission path to the first transmission path, when a failure of the transmission path is detected.
[0126] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0127] Figure 5 4 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0128] Reference Figure 5 , the electronic device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .
[0129] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0130] The memory 404 is configured to store various types of data to support operations on the device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0131] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.
[0132] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0133] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0134] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0135] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the device 400, the relative positioning of components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0136] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other devices. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 414 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 414 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0137] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0138] An embodiment of the present invention also provides an electronic device, comprising one or more processors; and one or more machine-readable media having instructions stored thereon. When executed by the one or more processors, the electronic device executes the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0139] The embodiment of the present invention also provides one or more machine-readable media, on which instructions are stored, and when executed by one or more processors, the processors implement the various processes of the above method embodiment and can achieve the same technical effect. To avoid repetition, it is not repeated here. The machine-readable medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0140] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0142] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A control method for a controlled component, characterized in that: Applied to the main control platform, the method includes: respectively obtaining the corresponding delay durations between the main control platform and each target controlled component; the target controlled component belongs to at least two controlled components for executing the target control instruction among the multiple controlled components; the delay duration is the transmission delay duration of the main control platform sending the target control instruction to the target controlled component; Taking the sum of the delay time and the waiting time corresponding to each target controlled component being equal to each other as a constraint condition, the waiting time corresponding to each target controlled component is determined respectively according to the delay time; the waiting time represents the waiting time required for the target controlled component to execute the target control instruction, and is negatively correlated with the delay time; The target control instruction and the waiting time are respectively issued to each of the target controlled components, so as to control each of the target controlled components to synchronously execute the operation corresponding to the target control instruction after waiting for the waiting time in response to the target control instruction; The method also includes: the target controlled component extracts the timestamp in the target control instruction, obtains the time difference between the current system time and the timestamp, and if the time difference is greater than the delay duration, uses the waiting time to subtract the difference between the time difference and the delay duration to obtain an updated waiting duration.
2. The method according to claim 1, characterized in that The respectively obtaining corresponding delay durations between the main control platform and each target controlled component includes: parsing the target control instruction to be issued this time, and determining the target controlled component from the multiple controlled components; For any of the target controlled components, the transmission delay corresponding to each of the target controlled components is found from the transmission delay of the transmission path between the main control platform and each of the controlled components, so as to obtain the delay duration corresponding to each of the main control platform and the target controlled components; the transmission delay is used to represent the delay in information transmission between the main control platform and the controlled components.
3. The method according to claim 1, characterized in that Determining the waiting time corresponding to each of the target controlled components according to the delay time includes: The waiting time of the target controlled component with the largest delay time is set as the first waiting time; Respectively determine the difference between the delay duration of each other target controlled component and the delay duration of the target controlled component with the largest delay duration, to obtain the delay difference of the other target controlled components; For any of the other target controlled components, the waiting time of the other target controlled component is set to a second waiting time; the second waiting time is the sum of the first waiting time and the delay difference of the other target controlled component.
4. The method according to claim 2, characterized in that: The transmission path includes a first transmission path and a second transmission path; The method further includes: when a failure of the transmission path is detected, switching the transmission path from the first transmission path to the second transmission path, or switching from the second transmission path to the first transmission path.
5. A control system, characterized in that: The control system includes a main control platform and a plurality of controlled components, wherein the main control platform is connected to the plurality of controlled components; The main control platform is used to respectively obtain the corresponding delay durations between the main control platform and each target controlled component; The target controlled components belong to at least two controlled components among the multiple controlled components for executing the target control instruction; the delay duration is the transmission delay duration of the main control platform sending the target control instruction to the target controlled component; The main control platform is also used to determine the waiting time corresponding to each target controlled component based on the delay time, taking the sum of the delay time and the waiting time corresponding to each target controlled component being equal to each other as a constraint condition; the waiting time represents the waiting time required for the target controlled component to execute the target control instruction, and is negatively correlated with the delay time; The main control platform is also used to send the target control instruction and the waiting time to each target controlled component respectively; The target controlled component is used to respond to the target control instruction and synchronously execute the operation corresponding to the target control instruction after waiting for the waiting time; The target controlled component is also used to extract the timestamp in the target control instruction, obtain the time difference between the current system time and the timestamp, and if the time difference is greater than the delay duration, use the waiting time to subtract the difference between the time difference and the delay duration to obtain an updated waiting duration.
6. The system according to claim 5, characterized in that The main control platform and each of the controlled components are connected in series based on a first transmission path and a second transmission path.
7. The system according to claim 5, characterized in that The controlled component and the main control platform are robots, and the control system is a robot system.
8. The system according to claim 6, characterized in that The main control platform is further configured to switch the transmission path from the first transmission path to the second transmission path, or from the second transmission path to the first transmission path, when a failure is detected in the transmission path.
9. An electronic device, characterized in that: include: one or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1-4.
10. One or more machine-readable media, characterized in that Instructions are stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 4.
