A device configuration method, apparatus and equipment for timing calculation

By acquiring and comparing the configuration timing calculation parameters and action time data of the actuators in the device, the problem of timing calculation errors caused by manual input was solved, and higher device configuration accuracy and timing calculation accuracy were achieved.

CN123048059APending Publication Date: 2026-11-06GUANGDONG LYRIC ROBOT INTELLIGENT AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611540360.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-06

AI Technical Summary

Technical Problem

The timing calculations for the actions of each actuator in the existing equipment are manually entered, which leads to timing calculation errors.

Method used

By acquiring the configuration timing calculation parameters of each actuator in the device and the action time data of the execution operation, timing calculation is performed to obtain the calculation time data, which is then compared with the action time data to determine the time difference. The configuration result is determined based on the time difference, thus avoiding errors in the timing calculation parameter configuration.

Benefits of technology

This improved the accuracy of device configuration, avoided timing calculation errors, ensured that the timing calculation parameters of the devices in the equipment were appropriate, and improved the accuracy of timing calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123048059A_ABST
    Figure CN123048059A_ABST
Patent Text Reader

Abstract

This application relates to the field of device configuration technology, and provides a device configuration method, apparatus, and device for timing calculation. The method includes acquiring configuration timing calculation parameters and action time data for each execution device in the device; performing timing calculations based on the configuration timing calculation parameters to obtain calculation time data; comparing the calculation time data and the action time data to obtain a time difference; and determining the configuration result of the device timing calculation based on the time difference. This method determines the configuration result of the configuration timing calculation parameters by comparing the calculation time data with the action time data, verifies the suitability of the configuration timing calculation parameters for the execution devices through the configuration result, realizes the device configuration of the execution devices in the device for timing calculation, avoids errors in configuring timing calculation parameters leading to timing calculation errors, and improves the accuracy of device configuration for timing calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of device configuration technology, and in particular to a device configuration method, apparatus and device for timing calculation. Background Technology

[0002] Equipment is a general term for industrial products used by industrial buyers in their production and operation processes, mainly including fixed equipment and auxiliary equipment. According to their purpose, they can be divided into general-purpose equipment, special-purpose equipment, and special equipment involving life safety (such as boilers and pressure vessels). Equipment management emphasizes meticulous maintenance and safe production, while modern industry is improving equipment operating efficiency through intelligent upgrades (such as artificial intelligence and the Industrial Internet).

[0003] During equipment design, it's typically necessary to calculate the action times of each component. This timing calculation is used to determine the overall action sequence of the workstation / equipment. However, during these calculations, timing information is often entered by designers based on specific circumstances, leading to frequent errors. This results in significant discrepancies between the entered timing information and the component's fundamental timing, causing overall timing calculation errors. For example, a cylinder might require 0.3 seconds to complete action A, but the entered time might be 0.2 seconds. Summary of the Invention

[0004] This application provides a device configuration method, apparatus, and device for timing calculation, which solves the technical problem that timing calculation errors are caused by manual input of the action time calculation of each actuator in existing devices.

[0005] To achieve the above objectives, this application provides the following technical solution: On the one hand, a device configuration method for timing calculation is provided, including the following steps: Obtain the configuration timing calculation parameters and execution time data of each actuator in the device; Perform timing calculations based on the configured timing calculation parameters to obtain calculation time data; The calculation time data and the action time data are compared to obtain the time difference; the configuration result of the device time calculation is determined based on the time difference.

[0006] Optionally, the device configuration method for timing calculation further includes: configuring parameters according to the configured timing calculation parameters corresponding to the execution device to obtain a configuration interface applied to timing calculation with respect to the configured timing calculation parameters.

[0007] Optionally, the device configuration method for timing calculation further includes: obtaining a display rendering mode, and displaying the configuration result on the configuration interface according to the display rendering mode.

[0008] Optionally, the configured timing calculation parameters include a calculation time algorithm for at least one timing calculation and configuration parameter information corresponding to all the calculation time algorithms; timing calculation is performed according to the configured timing calculation parameters to obtain calculation time data, including: The calculation time data corresponding to the execution device is obtained by using the corresponding calculation time algorithm based on the configuration parameter information of the execution device.

[0009] Optionally, the configured timing calculation parameters include a calculation time algorithm for at least one timing calculation and configuration parameter information corresponding to all the calculation time algorithms; timing calculation is performed according to the configured timing calculation parameters to obtain calculation time data, including: The matching results are obtained by matching the algorithm parameters of each calculation time algorithm with the configuration parameter information; If the matching results are consistent, the configuration parameter information corresponding to the algorithm parameters of each calculation time algorithm will be used as the target parameter. The calculation is performed according to the target parameters using the corresponding calculation time algorithm to obtain the calculation time corresponding to the calculation time algorithm; Wherein, if the configured timing calculation parameters include a calculation time algorithm, the calculation time of the calculation time algorithm is used as the calculation time data; if the configured timing calculation parameters include at least two calculation time algorithms, the calculation time of all the calculation time algorithms is accumulated and used as the calculation time data.

[0010] Optionally, the device configuration method for timing calculation further includes: if the matching results are inconsistent, obtaining the parameters of the algorithm parameters of each calculation timing algorithm from the association information of the corresponding execution device as the target parameters.

[0011] Optionally, the device configuration method for timing calculation further includes: the timing calculation interface uses the end time of the timing calculation performed by the execution device as the start time of the next timing calculation performed by the corresponding execution device.

[0012] Optionally, the device configuration method for timing calculations further includes: Obtain the scan period for timing calculations performed by the execution device; Based on the start time, the scan cycle, and the action time data, the end time of the timing calculation performed by the actuator is determined.

[0013] On the other hand, a device configuration apparatus for timing calculation is provided, including: a data acquisition module, a timing calculation module, and a comparison configuration module; The data acquisition module is used to acquire the configuration timing calculation parameters and the action time data of each execution device in the device. The time calculation module is used to perform time series calculations according to the configured time series calculation parameters to obtain calculation time data; The comparison configuration module is used to compare the calculation time data and the action time data to obtain the time difference; and to determine the configuration result of the device time calculation based on the time difference.

[0014] Optionally, the device configuration device for timing calculation further includes a device addition module, which is used to configure parameters according to the configured timing calculation parameters corresponding to the execution device, and obtain a configuration interface for timing calculation applied to the configured timing calculation parameters.

[0015] Optionally, the configuration timing calculation parameters include a calculation time algorithm for at least one timing calculation and configuration parameter information required corresponding to all the calculation time algorithms; the timing calculation module includes a matching submodule, a target parameter determination submodule, and a calculation submodule; The matching submodule is used to match the algorithm parameters of each calculation time algorithm with the configuration parameter information to obtain a matching result; The target parameter determination submodule is used to, if the matching result is consistent, take the configuration parameter information corresponding to the algorithm parameters of each calculation time algorithm as the target parameter; or, if the matching result is inconsistent, obtain the parameter corresponding to the algorithm parameters of each calculation time algorithm from the association information of the corresponding execution device as the target parameter. The calculation submodule is used to perform calculations based on the target parameters using the corresponding calculation time algorithm to obtain the calculation time corresponding to the calculation time algorithm. Wherein, if the configured timing calculation parameters include a calculation time algorithm, the calculation time of the calculation time algorithm is used as the calculation time data; if the configured timing calculation parameters include at least two calculation time algorithms, the calculation time of all the calculation time algorithms is accumulated and used as the calculation time data.

[0016] On the other hand, a terminal device is provided, including a processor and a memory; The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the device configuration method for timing calculations described above, according to the instructions in the program code.

[0017] The device configuration method, apparatus, and device for timing calculation include: acquiring configuration timing calculation parameters and action time data of each execution device in the device; performing timing calculation based on the configuration timing calculation parameters to obtain calculation time data; comparing the calculation time data and the action time data to obtain a time difference; and determining the configuration result of the device timing calculation based on the time difference.

[0018] As can be seen from the above technical solutions, this application has the following advantages: The device configuration method for timing calculation calculates the calculation time data of each actuator by using the configured timing calculation parameters, compares this data with the action time data of the actuator, determines the configuration result of the timing calculation parameters, verifies the suitability of the configured timing calculation parameters of the actuator through the configuration result, avoids timing information mismatch issues, realizes device configuration for timing calculation of actuators in the device, avoids incorrect configuration of timing calculation parameters leading to timing calculation errors, improves the accuracy of device configuration for timing calculation, and solves the technical problem of timing calculation errors caused by manual input of the action time calculation of each actuator in existing devices.

[0019] The device configuration device for timing calculation determines the configuration timing calculation parameters and execution operation time data of each actuator through a data acquisition module, a timing calculation module, and a comparison configuration module. It calculates the execution time data of the actuator and compares it with the execution time data to determine the configuration result of the timing calculation parameters. The configuration result verifies whether the configuration timing calculation parameters and execution operation time data of the actuator are appropriate, avoiding timing information mismatch issues. This device configuration for timing calculation of actuators in the equipment avoids errors in timing calculation caused by incorrect timing calculation parameter configuration, thus improving the accuracy of device configuration for timing calculation. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a flowchart illustrating the steps of the device configuration method for timing calculation described in the embodiments of this application; Figure 2 This is a schematic diagram of the timing calculation configuration interface in the device configuration method for timing calculation described in the embodiments of this application; Figure 3 This is a schematic diagram of the interface for adding device objects in the device configuration method for timing calculation described in the embodiments of this application; Figure 4 This is a schematic diagram of the action configuration interface for adding device objects in the device configuration method for timing calculation described in the embodiments of this application; Figure 5 This is a schematic diagram of the interface of the parameter configuration module in the device configuration method for timing calculation described in the embodiments of this application; Figure 6 This is a schematic diagram of the workstation timing design in the device configuration method for timing calculation described in the embodiments of this application; Figure 7 This is a schematic diagram of the device configuration apparatus for timing calculation as described in an embodiment of this application; Figure 8 This is a schematic diagram of the terminal device described in an embodiment of this application. Detailed Implementation

[0022] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0023] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0024] In the embodiments of this application, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in the embodiments of this application according to the specific circumstances.

[0025] This application provides a device configuration method, apparatus, and device for timing calculation, which solves the technical problem that timing calculation errors are caused by manual input of the action time calculation of each actuator in existing devices.

[0026] Example 1: Figure 1 This is a flowchart illustrating the steps of the device configuration method for timing calculation described in an embodiment of this application. Figure 2 This is a schematic diagram of the timing calculation configuration interface in the device configuration method for timing calculation described in the embodiments of this application.

[0027] like Figure 1 and Figure 5 As shown in the figure, this application provides a device configuration method for timing calculation, including the following steps: S1. Obtain the configuration timing calculation parameters and execution time data of each actuator in the device.

[0028] It should be noted that configuring timing calculation parameters includes at least one timing calculation algorithm for timing calculation and the configuration parameter information required for all timing calculation algorithms. The configuration parameter information includes parameters that directly or indirectly participate in the calculation. The timing calculation algorithm is a calculation formula used to configure specific timing calculations. The calculation formula can be generated using the configuration parameter information or set according to actual needs to calculate the timing of the current execution device. In the device configuration process for timing calculation, step S1 can obtain the configuration timing calculation parameters and execution operation timing data of each execution device in the corresponding device through the device's manufacturer's manual, or it can obtain the configuration timing calculation parameters and execution operation timing data of each execution device in the corresponding device through the device's database, providing data for the timing calculation and display configuration results required for the execution device to perform timing work in subsequent steps.

[0029] In this embodiment, if the device is an electrical device, its various actuators can be electronic components such as circuit breakers and electronic switches. If the actuator is a circuit breaker, the corresponding configuration parameter information includes circuit breaker opening time, circuit breaker closing time, etc. If the device is a mechanical device, its various actuators can include speed-regulating chains, cylinders, pneumatic fingers, electric grippers, hydraulic cylinders, etc. If the actuator is a speed-regulating chain, the configuration parameter information includes parameters such as motor speed, running speed, running stroke, inertia ratio, acceleration / deceleration time, reduction ratio, angle, lead, load, and calculation time.

[0030] In other embodiments, the device configuration method for timing calculation can set the configuration timing calculation parameters from the actual operating conditions of the device through step S1. The configuration timing calculation parameters and action timing data of each execution device in the device can also be obtained from the device's historical database.

[0031] In this embodiment, the device configuration method for timing calculation can be applied to a workstation timing design platform of a device. A timing calculation configuration interface is configured on the control interface of the workstation timing design platform, and a calculation time area and an action display area are set on the timing calculation interface, such as... Figure 2 As shown.

[0032] It should be noted that the timing data for each actuator can be extracted from the action display area of ​​the timing calculation interface corresponding to the actuator.

[0033] S2. Perform timing calculations based on the configured timing calculation parameters to obtain the calculation time data.

[0034] It should be noted that step S2 involves performing timing calculations based on the configuration timing calculation parameters of the execution device obtained in step S1, using preset rules or defined formulas to obtain calculation time data. This data provides a basis for judging the configuration results of the timing calculations in subsequent steps. In this embodiment, for ease of viewing, the calculation time data is also displayed in the calculation time area.

[0035] In this embodiment of the application, step S2 can be understood as the timing calculation configuration interface containing the execution device line using the configuration parameter information of the configured timing calculation parameters to calculate the calculation time data.

[0036] In other embodiments, step S2 can also be based on the historical timing parameter data of each execution device obtained in step S1, and trained by supervised learning, unsupervised learning or reinforcement learning (such as neural networks, support vector machines, etc.) to obtain an algorithm configuration model that outputs the device configuration mode of each execution device for timing calculation. The configuration timing calculation parameters of the execution device that needs to be configured by the algorithm are collected in real time and input into the corresponding algorithm configuration model to obtain the calculation time data of the execution device.

[0037] S3. Compare the calculation time data and the action time data to obtain the time difference; determine the configuration result of the device time calculation based on the time difference.

[0038] It should be noted that step S3 can compare the calculation time data and action time data obtained in step S2 according to preset rules to obtain the time difference; then, based on the time difference, the configuration result of the device time calculation is determined using preset rules or a formulated strategy. For ease of viewing, the configuration result can also be marked and displayed in the action display area, such as... Figure 2 As shown, the device configuration for timing calculations is implemented. In this embodiment, the configuration results can be displayed in the action display area using different rendering colors.

[0039] In this embodiment of the application, in the process of obtaining the time difference, step S3 can be understood as performing a difference calculation between the action time data and the calculation time data to obtain the time difference.

[0040] In this embodiment of the application, the process of obtaining the configuration result can be understood as follows: if the time difference is greater than the difference threshold, it means that the configuration timing calculation parameters of the execution device and the action time data of the execution operation are correct, and the configuration result is also a positive value, and the configuration result displayed in the action display area is green; if the time difference is less than the difference threshold, it means that the configuration timing calculation parameters of the execution device and the action time data of the execution operation are incorrect, and the configuration result is also a negative value, and the configuration result displayed in the action display area is red.

[0041] It should be noted that the difference threshold can be 0. In other embodiments, the difference threshold can also be set according to requirements.

[0042] Figure 3 This is a schematic diagram of the interface for adding device objects in the device configuration method for timing calculation described in the embodiments of this application. Figure 4 This is a schematic diagram of the action configuration interface for adding device objects in the device configuration method for timing calculation described in the embodiments of this application. Figure 5 This is a schematic diagram of the parameter configuration module in the device configuration method for timing calculation described in the embodiments of this application.

[0043] like Figures 3 to 5 As shown, in one embodiment of this application, the device configuration method for timing calculation further includes: configuring parameters according to the configuration timing calculation parameters corresponding to the execution device to obtain a configuration interface for timing calculation that corresponds to the configuration timing calculation parameters.

[0044] It should be noted that if the timing calculation configuration interface does not include a configuration interface for the timing sequence of the execution device, then a configuration interface for the corresponding execution device will be added to the timing calculation interface (e.g., ...). Figure 2 The device object in the upper right corner is added (the configuration interface is used to configure parameters according to the timing calculation parameters corresponding to the execution device).

[0045] In this embodiment of the application, the device configuration method for timing calculation further includes: obtaining a display rendering mode and displaying the configuration result on the configuration interface according to the display rendering mode.

[0046] It should be noted that the display rendering mode can be set according to requirements. In this embodiment, the display rendering mode can render different colors based on different configuration results.

[0047] In this embodiment of the application, the device configuration method for timing calculation can be customized through the configuration interface to configure the configuration parameters and calculation time algorithm for timing calculation, thereby improving the flexibility of timing calculation.

[0048] In this embodiment, the device configuration method for timing calculation calculates the calculation time data of each execution device by using the configuration timing calculation parameters of each execution device and the action time data of the execution operation. The calculation time data of the execution device is compared with the action time data of the execution device to determine the configuration result of the configuration timing calculation parameters. The configuration result is used to verify whether the configuration timing calculation parameters of the execution device are appropriate, so as to avoid the problem of timing information mismatch. This realizes the device configuration of the execution devices in the device for timing calculation, avoids the timing calculation error caused by the configuration error of the timing calculation parameters, and improves the accuracy of device configuration for timing calculation.

[0049] It should be noted that the device configuration method used for timing calculation displays the configuration results in the action display area of ​​the timing calculation configuration interface for easy viewing.

[0050] This application provides a device configuration method for timing calculation, comprising: acquiring the configuration timing calculation parameters and execution time data of each actuator in the device; performing timing calculations based on the configuration timing calculation parameters to obtain calculation time data; comparing the calculation time data and the execution time data to obtain a time difference; and determining the configuration result of the device timing calculation based on the time difference. This device configuration method for timing calculation calculates the calculation time data of each actuator based on its configuration timing calculation parameters and execution time data, compares the calculated time data with the execution time data to determine the configuration result of the timing calculation parameters, verifies the suitability of the configuration timing calculation parameters for the actuators, avoids timing information mismatch issues, realizes device configuration for timing calculation of actuators in the device, avoids incorrect configuration of timing calculation parameters leading to timing calculation errors, improves the accuracy of device configuration for timing calculation, and solves the technical problem of manual input of the execution time calculation of each actuator in existing devices, which leads to timing calculation errors.

[0051] In one embodiment of this application, the configuration timing calculation parameters include a calculation timing algorithm for at least one timing calculation and configuration parameter information corresponding to all the calculation timing algorithms; performing timing calculations based on the configuration timing calculation parameters of the corresponding execution device to obtain calculation timing data includes: calculating using the corresponding calculation timing algorithm based on the configuration parameter information of the execution device to obtain calculation timing data corresponding to the execution device.

[0052] It should be noted that the configuration parameter information and calculation algorithm for timing calculation of the actuator are obtained from the configuration timing calculation parameters of the actuator. The calculation time data of the actuator is then calculated based on the configuration parameter information and the calculation algorithm. For example: Figure 5 As shown, the configuration parameters include motor speed, travel distance, inertia ratio, and acceleration / deceleration time. The calculation algorithm for the time is defined in the corresponding formula editor. For example, the calculation algorithm is: IF (travel distance < acceleration / deceleration time) Motor speed, acceleration / deceleration time + travel distance / motor speed, (travel distance - acceleration / deceleration time) Motor speed) / Motor speed + acceleration / deceleration time 2). In this embodiment, the device configuration method for timing calculation uses the configuration parameter information of the execution device and the corresponding calculation time algorithm to calculate the calculation time data corresponding to the execution device, thereby realizing the theoretical timing calculation of the execution device.

[0053] In one embodiment of this application, configuring timing calculation parameters includes a timing algorithm for at least one timing calculation and configuration parameter information corresponding to all timing algorithms; timing calculation is performed according to the configured timing calculation parameters to obtain timing data including: The matching results are obtained by matching the algorithm parameters and configuration parameters of each calculation time algorithm. If the matching results are consistent, the configuration parameter information corresponding to the algorithm parameters of each calculation time algorithm will be used as the target parameter. If the matching results are inconsistent, the parameters that correspond to the algorithm parameters of each calculation time algorithm are obtained from the association information of the corresponding execution device as the target parameters. The corresponding computation time algorithm is used to calculate the computation time based on the target parameters, and the computation time corresponding to the computation time algorithm is obtained. If the configured timing calculation parameters include one calculation time algorithm, then the calculation time of the calculation time algorithm is used as the calculation time data; if the configured timing calculation parameters include at least two calculation time algorithms, then the sum of the calculation times of all calculation time algorithms is used as the calculation time data.

[0054] It should be noted that the algorithm parameters are obtained based on the computation time algorithm. The algorithm parameters are then compared and matched one by one with the configuration parameter information to obtain a matching result. Based on the matching result, the target parameters corresponding to each algorithm parameter are determined. Finally, the computation time is calculated using the target parameters and the computation time algorithm to obtain the computation time corresponding to the algorithm. In this embodiment, if the configured timing calculation parameters contain only one computation time algorithm, the computation time calculated using that algorithm is used as the computation time data. If the configured timing calculation parameters contain multiple computation time algorithms, the computation time of the multiple algorithms is summed to obtain the total value, which is used as the computation time data.

[0055] In this embodiment of the application, during the process of determining the target parameter, the parameter name is extracted from the algorithm parameter information of the calculation time algorithm to obtain the first parameter name; the parameter name is extracted from the configuration parameter information to obtain the second parameter name; the first parameter name and the second parameter name are compared according to the rule of whether the names are consistent; if the names are consistent, the parameter value corresponding to the configuration parameter information is taken as the target parameter.

[0056] In one embodiment of this application, the association information can be set according to the data recorded in the manufacturer's manual of the actuator to configure association information for the calculation time data. For example, the calculation time algorithm configured in the algorithm parameter information is: Calculation time = Running stroke / Average speed of electric cylinder + Solenoid valve response time; then, the "running stroke" is compared with each name in the "configuration parameter information". If the matching result is that the names are consistent, the value corresponding to the "configuration parameter information" with the consistent name is used as the target parameter of the running stroke. If the matching result is that the names are inconsistent, the parameter corresponding to the algorithm parameter name (such as the first parameter name) is extracted from the association information as the target parameter. For example, if the "cylinder bore" is set in the configuration parameter information, then adding "cylinder linear velocity" to the calculation time algorithm can obtain the "cylinder linear velocity" based on the "cylinder bore" through the pre-configured cylinder parameter corresponding association information. This device configuration method for timing calculation improves the flexibility of the calculation time algorithm execution by determining the target parameters required for the calculation time algorithm.

[0057] Figure 6 This is a schematic diagram of the workstation timing design in the device configuration method for timing calculation described in the embodiments of this application.

[0058] like Figure 6 As shown, in one embodiment of this application, the device configuration method for timing calculation further includes: using the end time of the timing calculation performed by the execution device as the start time of the next timing calculation performed by the corresponding execution device on the timing calculation interface.

[0059] It should be noted that determining the start time of the next timing calculation can be understood as: obtaining the identifier of the preceding task corresponding to the execution device performing the current timing calculation; from Figure 2 The process involves obtaining the end time corresponding to the identified preceding task; based on the end time, the start time corresponding to the executing device object is determined. The end time can also be calculated by summing the start time, action duration data, and scan cycle. In this embodiment, the scan cycle can be set according to requirements. Figure 2 As shown, the start time is obtained from the start time region; the end time is obtained from the end time region. The preceding task identifier indicates a specific action task that the execution device performs before the current timing calculation; the end time of the execution device performing the current timing calculation is obtained from the end time region of a specific action task performed by the execution device; for example... Figure 6 This illustrates that the end time of the current timing calculation performed by the execution device is determined as the start time of the next action task of the execution device. In this embodiment, the device configuration method for timing calculation improves the relevance and accuracy of the timing calculation by using the end time of the current timing calculation as the start time of the next timing calculation performed by the corresponding execution device.

[0060] In one embodiment of this application, the device configuration method for timing calculation further includes: Obtain the scan cycle for timing calculations performed by the execution device; Based on the start time, scan cycle, and action time data, determine the end time of the timing calculation for the actuator.

[0061] It should be noted that the end time = start time + scan cycle + action time data.

[0062] Example 2: Figure 7 This is a schematic diagram of the device configuration apparatus for timing calculation described in an embodiment of this application.

[0063] like Figure 7 As shown, this application provides a device configuration apparatus for timing calculation, including: a data acquisition module 100, a timing calculation module 200, and a comparison configuration module 300; The data acquisition module 100 is used to acquire the configuration timing calculation parameters and the action time data of each actuator in the device. The timing calculation module 200 is used to perform timing calculations based on the configured timing calculation parameters to obtain the calculation time data. The comparison configuration module 300 is used to compare the calculation time data and the action time data to obtain the time difference; based on the time difference, the configuration result of the device time calculation is determined.

[0064] It should be noted that the content of each module in the device of Embodiment 2 corresponds to the content of each step in the method of Embodiment 1. Therefore, the content of each module of the device configuration device for timing calculation will not be repeated in this embodiment. This device configuration device for timing calculation determines the configuration timing calculation parameters of each execution device and calculates the action time data of the execution operation through a data acquisition module, a timing calculation module, and a comparison configuration module. It then compares the calculation time data of the execution device with the action time data of the execution device to determine the configuration result of the timing calculation parameters. The configuration result verifies whether the configuration timing calculation parameters of the execution device are appropriate, avoiding timing information mismatch problems. This achieves device configuration for timing calculation of the execution devices in the device, avoids incorrect configuration of timing calculation parameters leading to timing calculation errors, and improves the accuracy of device configuration for timing calculation.

[0065] In this embodiment, the configuration timing calculation parameters include a calculation time algorithm for at least one timing calculation and configuration parameter information corresponding to all calculation time algorithms; the timing calculation module 200 includes a matching submodule, a target parameter determination submodule, and a calculation submodule; The matching submodule is used to match the algorithm parameters and configuration parameters of each calculation time algorithm to obtain the matching results; The target parameter determination submodule is used to determine the target parameter if the matching result is consistent, and the configuration parameter information corresponding to the algorithm parameters of each calculation time algorithm is used as the target parameter; or, if the matching result is inconsistent, the parameter corresponding to the algorithm parameters of each calculation time algorithm is obtained from the association information of the corresponding execution device as the target parameter. The calculation submodule is used to perform calculations based on the target parameters using the corresponding calculation time algorithm, and to obtain the calculation time corresponding to the calculation time algorithm. If the configured timing calculation parameters include one calculation time algorithm, then the calculation time of the calculation time algorithm is used as the calculation time data; if the configured timing calculation parameters include at least two calculation time algorithms, then the sum of the calculation times of all calculation time algorithms is used as the calculation time data.

[0066] Example 3: Figure 8 This is a schematic diagram of the terminal device described in an embodiment of this application.

[0067] like Figure 8 As shown, this application provides a terminal device, including a processor and a memory; Memory is used to store program code and transfer the program code to the processor; The processor is used to execute the device configuration method for timing calculations described above according to the instructions in the program code.

[0068] It should be noted that the processor is used to execute the steps in the above-described embodiment of a device configuration method for timing calculation according to the instructions in the program code. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in the above-described system / device embodiments.

[0069] For example, a computer program can be divided into one or more modules / units, one or more of which are stored in memory and executed by a processor to complete this application. One or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in a terminal device.

[0070] Terminal devices can be computing devices such as desktop computers, laptops, handheld computers, and cloud servers. Terminal devices may include, but are not limited to, processors and memory. Those skilled in the art will understand that this does not constitute a limitation on the terminal device, which may include more or fewer components than illustrated, or combinations of certain components, or different components. For example, a terminal device may also include input / output devices, network access devices, buses, etc.

[0071] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0072] Memory can be an internal storage unit of a terminal device, such as a hard drive or RAM. Memory can also be an external storage device, such as a plug-in hard drive, SmartMedia Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, memory can include both internal and external storage units. Memory is used to store computer programs and other programs and data required by the terminal device. Memory can also be used to temporarily store data that has been output or will be output.

[0073] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0074] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0075] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0076] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0077] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0078] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A device configuration method for timing computation, characterized in that, Includes the following steps: Obtain the configuration timing calculation parameters and execution time data of each actuator in the device; Perform timing calculations based on the configured timing calculation parameters to obtain calculation time data; The time difference is obtained by comparing the calculation time data and the action time data. Based on the time difference, the configuration result of the device time calculation is determined.

2. The device configuration method for timing computation according to claim 1, characterized in that, Also includes: Based on the configuration timing calculation parameters corresponding to the execution device, the parameters are configured to obtain a configuration interface that is applied to timing calculations according to the configuration timing calculation parameters.

3. The device configuration method for timing calculation according to claim 2, characterized in that, Also includes: Obtain the display rendering mode, and display the configuration result on the configuration interface according to the display rendering mode.

4. The device configuration method for timing calculation according to any one of claims 1-3, characterized in that, The configuration timing calculation parameters include a calculation time algorithm for at least one timing calculation and the configuration parameter information required for all the calculation time algorithms; Based on the configured timing calculation parameters, timing calculations are performed to obtain the calculation time data, including: The calculation time data corresponding to the execution device is obtained by using the corresponding calculation time algorithm based on the configuration parameter information of the execution device.

5. The device configuration method for timing calculation according to any one of claims 1-3, characterized in that, The configuration timing calculation parameters include a calculation time algorithm for at least one timing calculation and the configuration parameter information required for all the calculation time algorithms; Based on the configured timing calculation parameters, timing calculations are performed to obtain the calculation time data, including: The matching results are obtained by matching the algorithm parameters of each calculation time algorithm with the configuration parameter information; If the matching results are consistent, the configuration parameter information corresponding to the algorithm parameters of each calculation time algorithm will be used as the target parameter. The calculation is performed according to the target parameters using the corresponding calculation time algorithm to obtain the calculation time corresponding to the calculation time algorithm; Wherein, if the configured timing calculation parameters include a calculation time algorithm, the calculation time of the calculation time algorithm is used as the calculation time data; if the configured timing calculation parameters include at least two calculation time algorithms, the calculation time of all the calculation time algorithms is accumulated and used as the calculation time data.

6. The device configuration method for timing computation according to claim 5, characterized in that, Also includes: If the matching results are inconsistent, the parameters corresponding to the algorithm parameters of each calculation time algorithm are obtained from the association information of the corresponding execution device as the target parameters.

7. The device configuration method for timing calculation according to any one of claims 1-3, characterized in that, Also includes: The timing calculation interface uses the end time of the timing calculation performed by the execution device as the start time of the next timing calculation performed by the corresponding execution device.

8. The device configuration method for timing computation according to claim 7, characterized in that, Also includes: Obtain the scan period for timing calculations performed by the execution device; Based on the start time, the scan cycle, and the action time data, the end time of the timing calculation performed by the actuator is determined.

9. A device configuration apparatus for timing computation, characterized in that, include: Data acquisition module, time calculation module, and comparison configuration module; The data acquisition module is used to acquire the configuration timing calculation parameters and the action time data of each execution device in the device. The time calculation module is used to perform time series calculations according to the configured time series calculation parameters to obtain calculation time data; The comparison configuration module is used to compare the calculation time data and the action time data to obtain the time difference; and to determine the configuration result of the device time calculation based on the time difference.

10. A terminal device, characterized in that, Including the processor and memory; The memory is used to store program code and transmit the program code to the processor; The processor is configured to execute the device configuration method for timing calculation as described in any one of claims 1-8 according to the instructions in the program code.