Control signal adjusting method for external equipment to be controlled
By obtaining external device configuration files to generate test signals and building a control model, the problems of low software development efficiency and high maintenance costs caused by hardware equipment differences are solved, and the cost reduction of software development is achieved without the need to develop software for each hardware device.
Patent Information
- Application Number
- CN202510865043.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2045-06-25
AI Technical Summary
The prior art requires the development of dedicated driver or configuration parameters for each hardware device, resulting in low development efficiency and high maintenance costs, making it difficult to cope with dynamic changes in hardware devices.
By detecting the external device to be controlled, obtaining its configuration file, generating a test signal and sending it to the device, receiving a response signal to build a control model, and generating a first control signal to adjust the device response.
There is no need to develop software for each hardware device, which reduces development and maintenance costs and improves flexibility and efficiency to adapt to different hardware devices.
Smart Images

Figure CN120353218A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of embedded systems, and particularly to a method for adjusting control signals for external devices to be controlled. Background Art
[0002] Currently, there are differences in the hardware designs of different hardware devices and hardware devices with the same function. For example, different hardware devices can be cooling fans, motors, LED lights, etc. Hardware devices with the same function can be cooling fans from different manufacturers. Due to differences in the designs of different manufacturers, the underlying control logics of different hardware devices and hardware devices with the same function also have differences. For example: differences in signal logic or driving methods.
[0003] The current solution is to correct through software. However, software correction usually requires writing dedicated drivers or configuration parameters for each hardware device, resulting in low development efficiency, high maintenance costs, and difficulty in coping with the dynamic changes of hardware devices.
[0004] Therefore, there is an urgent need for a method for adjusting control signals for external devices to be controlled, which can reduce costs without developing software for each hardware device. Summary of the Invention
[0005] This application provides a method for adjusting control signals for external devices to be controlled, which can reduce costs without developing software for each hardware device.
[0006] This application provides a method for adjusting control signals for external devices to be controlled, and the method includes: If it is detected that there is an external device to be controlled, obtain the configuration file corresponding to the external device to be controlled; Generate a test signal according to the configuration file, and send the test signal to the external device to be controlled; Receive the first response signal sent by the external device to be controlled in response to the test signal, and construct a control model according to the first response signal and the test signal; Generate a first control signal based on the control model, and send the first control signal to the external device to be controlled; the first control signal is used to instruct the external device to be controlled to adjust the first response signal of the test signal.
[0007] This application also provides a device for adjusting control signals for external devices to be controlled, and the device includes: A first acquisition module, configured to obtain the configuration file corresponding to the external device to be controlled if it is detected that there is an external device to be controlled; A first generation module, configured to generate a test signal according to the configuration file and send the test signal to the external device to be controlled; A receiving module, configured to receive a first response signal sent by the external device to be controlled in response to the test signal, and construct a control model according to the first response signal and the test signal; A second generation module, configured to generate a first control signal based on the control model and send the first control signal to the external device to be controlled; the first control signal is used to instruct the external device to be controlled to adjust the first response signal of the test signal.
[0008] The present application further provides a control device, including: a memory, configured to store a computer program; a processor, configured to implement the steps of any of the above control signal adjustment methods for an external device to be controlled when executing the computer program.
[0009] The present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above control signal adjustment methods for an external device to be controlled are implemented.
[0010] The present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of any of the above control signal adjustment methods for an external device to be controlled are implemented.
[0011] Through the present application, when an external device to be controlled is detected, the corresponding configuration file of the external device to be controlled is obtained, and then a test signal is generated according to the configuration file and sent to the external device to be controlled. The first response signal sent by the external device to be controlled in response to the test signal is received, a control model is constructed according to the first response signal and the test signal, a first control signal is generated based on the control model, and the first control signal is sent to the external device to be controlled. By adopting the technical solution, it is not necessary to develop software for each hardware device once, thereby reducing costs. Description of the Drawings
[0012] To more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0013] Figure 1 A schematic diagram of a hardware architecture provided for an embodiment of the present application; Figure 2It is a schematic flow chart of a control signal adjustment method for an external device to be controlled provided by an embodiment of the present application; Figure 3 It is a schematic flow chart of a control signal adjustment method for an external device to be controlled provided by an embodiment of the present application; Figure 4 It is a schematic structural diagram of a control signal adjustment device for an external device to be controlled provided by an embodiment of the present disclosure. Detailed implementation manners
[0014] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0015] It should be noted that in the description of the present application, the terms "include", "comprise" or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. The terms "first", "second", etc. in the present application are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0016] To enable those skilled in the art of the present technology to better understand the solution of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific implementation manners.
[0017] Combined with the specific hardware architecture on which the execution of a control signal adjustment method for an external device to be controlled depends, the specific hardware architecture will be described herein. Specifically, reference can be made to Figure 1 A schematic diagram of a hardware architecture shown. Figure 1 It includes an external device to be controlled and a control device.
[0018] Figure 2 It is a schematic flow chart of a control signal adjustment method for an external device to be controlled provided by an embodiment of the present application, and this method can be executed by a control device. The control device can be exemplarily understood as devices such as mobile phones, tablet computers, laptop computers, desktop computers, smart TVs, etc. As Figure 2 shown, the method provided in this embodiment includes the following steps: S201. If it is detected that there is an external device to be controlled, obtain the configuration file corresponding to the external device to be controlled.
[0019] In one example, the external device to be controlled can be a cooling fan, a motor, an LED lamp, etc. The control device and the external device to be controlled can communicate through a preset protocol. Different external devices to be controlled correspond to different configuration files. The configuration file includes at least one of the following parameters: the device type of the external device to be controlled, the interface type, and the test signal range.
[0020] In one example, the device type of the external device to be controlled can be a cooling fan, a motor, an LED lamp. The interface type can be Pulse Width Modulation (PWM), Inter-Integrated Circuit (I2C), and General Purpose Input / Output (GPIO). The test signal range can be the PWM signal range. Specifically, it can be 0 - 100%; it can also be the voltage value range. Specifically, it can be 0 - 12V. For example, if the device type of the external device to be controlled is a cooling fan, the configuration file is as follows: Device type of the external device to be controlled: device_type = fan; Interface type: frequency_range = 100Hz - 10kHz; duty_cycle_resolution = 0.1%, set the duty cycle adjustment accuracy to ensure control fineness; Test signal range: pwm_range = 0 - 100%; This parameter is used to define the PWM signal duty cycle range to ensure that the cooling fan speed adjustment is within the tolerable range of the external device to be controlled; voltage_range = 0 - 24V; This parameter is used to limit the supply voltage of the cooling fan to prevent overvoltage from damaging the motor winding or the control circuit.
[0021] For example, if the device type of the external device to be controlled is an LED lamp, the configuration file is as follows: Device type of the external device to be controlled: device_type = led; Interface type: address_range = 0x00 - 0xFF; This parameter is for the I2C slave device address range to avoid address conflicts; data_rate = 100kbps - 400kbps; This parameter is used to define the data transfer rate to match the communication speed of different I2C devices; Test signal range: If it is voltage control type: voltage_range = 0 - 12V; This parameter is used to avoid burning out the LED lamp chip due to excessive voltage; If it is current - controlled: current_range = 0 - 50mA; this parameter is used to prevent the LED light from accelerating light decay or being damaged due to excessive current.
[0022] S202. Generate a test signal according to the configuration file and send the test signal to the external device to be controlled.
[0023] In one example, after obtaining the configuration file, a test signal is generated according to the parameters in the configuration file, and then the test signal is sent to the external device to be controlled. For example, the test signal can be a voltage of 2V.
[0024] S203. Receive the first response signal sent by the external device to be controlled in response to the test signal, and construct a control model based on the first response signal and the test signal.
[0025] In one example, after receiving the test signal, the external device to be controlled responds to the test signal, then obtains the first response signal, and the external device to be controlled sends the first response signal to the control device. Then the control device constructs a control model based on the first response signal and the test signal. Among them, the control model corresponds one - to - one with the external device to be controlled. For example, if the external device to be controlled is a cooling fan, the control model can be control model A.
[0026] S204. Generate a first control signal based on the control model and send the first control signal to the external device to be controlled; the first control signal is used to instruct the external device to be controlled to adjust the first response signal of the test signal.
[0027] In one example, the signal type of the first control signal is the same as the signal type of the test signal. For example, the test signal can be the PWM signal of a cooling fan, the first response signal can be the rotation speed of the cooling fan, then the first control signal is also the PWM signal of the cooling fan, but the first control signal is different from the test signal. The first control signal is generated through the control model, and then the first control signal is sent to the external device to be controlled. The external device to be controlled is instructed to adjust the first response signal through the first control signal so that the adjusted response signal meets the requirements.
[0028] A method for adjusting a control signal for an external device to be controlled provided by an embodiment of the present application, when detecting the external device to be controlled, obtains the configuration file corresponding to the external device to be controlled, then generates a test signal according to the configuration file, and sends the test signal to the external device to be controlled. Receives the first response signal sent by the external device to be controlled in response to the test signal, constructs a control model based on the first response signal and the test signal, and generates a first control signal based on the control model, and sends the first control signal to the external device to be controlled. Adopting this technical solution can avoid developing software for each hardware device once, thereby reducing costs.
[0029] Figure 3 This is a schematic flowchart of a method for adjusting a control signal for an external device to be controlled provided by an embodiment of the present application. This method can be executed by a control device, which can be exemplarily understood as devices such as mobile phones, tablet computers, laptop computers, desktop computers, smart TVs, etc. As Figure 3 shown, the method provided by this embodiment includes the following steps: S301. If an external device to be controlled is detected, obtain a configuration file corresponding to the external device to be controlled.
[0030] In one example, before obtaining the configuration file corresponding to the external device to be controlled, the method includes: Obtain identification information corresponding to the external device to be controlled; According to the identification information, determine whether a control model corresponding to the external device to be controlled already exists; If not, call the first interface of the external device to be controlled to obtain the configuration file corresponding to the external device to be controlled.
[0031] In one example, the identification information corresponding to the external device to be controlled can be Field Replace Unit information (abbreviated as FRU information). This identification information is unique. In this embodiment, by searching in the control device based on the identification information, if the control model corresponding to the identification information is not found, then call the first interface of the external device to be controlled, and obtain the configuration file corresponding to the external device to be controlled through this first interface.
[0032] In one example, after determining whether a control model corresponding to the external device to be controlled already exists, the method includes: If so, generate a second control signal based on the control model, and send the second control signal to the external device to be controlled; the second control signal is used to instruct the external device to be controlled to adjust the first response signal.
[0033] In one example, if a control model already exists in the control device, directly generate a second control signal based on the control model, and then send the second control signal to the external device to be controlled, where the second control signal is used to instruct the external device to be controlled to adjust the first response signal.
[0034] S302. According to the configuration file, obtain the test signal range of the external device to be controlled.
[0035] In one example, obtain the test signal range in the configuration file.
[0036] S303. Generate a test signal according to the test signal range, and send the test signal to the external device to be controlled.
[0037] In one example, a test signal is generated according to the test signal range, including: Select a test value within the test signal range and generate a test signal according to the test value.
[0038] In one example, the test value can be an empirical value, and then a test signal is generated according to the empirical value.
[0039] In one example, generating a test signal according to the test value includes: Taking the test value as a reference point, increasing or decreasing the test value according to a preset change amount to obtain a test signal.
[0040] In one example, the preset change amount can be 5% - 10%, then the test value can be increased or decreased by 5% - 10% of the test value to obtain a test signal.
[0041] S304. Receive a first response signal sent by the external device to be controlled in response to the test signal, and construct a control model according to the first response signal and the test signal.
[0042] In one example, constructing a control model according to the first response signal and the test signal includes: Obtain the change trend and / or change direction of the first response signal, and construct a control model according to the change trend and / or change direction of the first response signal and the test signal.
[0043] In one example, the change trend of the first response signal includes increase or decrease. The change direction of the first response signal includes positive correlation or negative correlation. Then, a control model is constructed according to the change trend and / or change direction of the first response signal and the test signal. Specifically, establish a mapping relationship between the test signal and the first response signal, and then determine the mapping relationship as the control model.
[0044] S305. Generate a first control signal based on the control model, send the first control signal to the second interface, and standardize the first control signal based on the second interface to obtain a standard control signal.
[0045] In one example, the standard control signal is used to instruct the external device to be controlled to adjust the first response signal of the test signal.
[0046] In one example, the second interface is used to generate a standard control signal. The advantage of this setting is that since the types of the first control signals generated by different hardware devices are different, in order to control the external device to be controlled more conveniently, the first control signal needs to be standardized.
[0047] S306. Send the standard control signal to the external device to be controlled.
[0048] In one example, the method further includes: Generate a perturbation signal at a preset frequency and send the perturbation signal to the external device to be controlled; the perturbation signal is used to instruct the external device to be controlled to generate a second response signal. Obtain the standard response signal corresponding to the perturbation signal in the preset mapping table, and calibrate the external device to be controlled according to the standard response signal and the second response signal.
[0049] In one example, the preset frequency can be per hour. The perturbation signal can be a ±2% PWM signal perturbation. For example, when the current PWM signal is 50%, send perturbation signals of PWM signals 48% and 52%. Send the perturbation signal to the external device to be controlled, and then the external device to be controlled generates a second response signal according to the perturbation signal. Obtain the standard response signal corresponding to the perturbation signal in the preset mapping table. The standard response signal is the signal that the external device to be controlled theoretically generates according to the perturbation signal, and then calibrate the external device to be controlled according to the standard response signal and the second response signal. The advantage of such a setting is that it can timely detect the aging problem of the external device to be controlled and solve it in time.
[0050] In one example, calibrating the external device to be controlled according to the standard response signal and the second response signal includes: If the difference between the second response signal and the standard response signal is greater than the first threshold, and the number of times the difference is greater than the first threshold is greater than the second threshold, then calibrate the external device to be controlled.
[0051] In one example, the first threshold can be 5%. The second threshold can be three times. In this embodiment, the external device to be controlled is calibrated only when the difference between the second response signal and the standard response signal is greater than the first threshold and the number of times the difference is greater than the first threshold is greater than the second threshold.
[0052] The advantage of such a setting is to avoid the influence of accidental factors and ensure that the recalibration operation is started only when the characteristics of the external device to be controlled actually change significantly, so as to ensure that the control device has a certain degree of fault tolerance and can timely respond to real characteristic changes, maintaining the accuracy and stability of the control of the external device to be controlled.
[0053] In one example, the method further includes: The number of external devices to be controlled is at least one; if the number of external devices to be controlled is multiple, then dynamically adjust the control signal for the external devices to be controlled based on the existing control model.
[0054] In one example, if there are multiple external devices to be controlled, namely the external device A to be controlled, the external device B to be controlled, and the external device C to be controlled. Among them, the external device A to be controlled corresponds to the control model A, the external device B to be controlled corresponds to the control model B, and the external device C to be controlled corresponds to the control model C. If the control model B already exists in the control device, and the control models A and C do not exist, then the control signal of the external device B to be controlled can be preferentially adjusted. The advantage of such a setting is that it can enable dynamic resource allocation.
[0055] A method for adjusting a control signal for an external device to be controlled provided by an embodiment of the present application. According to a configuration file, obtain the test signal range of the external device to be controlled, generate a test signal according to the test signal range, and send the test signal to the external device to be controlled. Receive the first response signal sent by the external device to be controlled in response to the test signal, and construct a control model according to the first response signal and the test signal. Generate a first control signal based on the control model, send the first control signal to a second interface, and standardize the first control signal based on the second interface to obtain a standard control signal. Send the standard control signal to the external device to be controlled. By adopting this technical solution, the problem of software adaptation caused by signal logic and directional differences of the external device to be controlled can be solved.
[0056] Figure 4 It is a schematic structural diagram of a device for adjusting a control signal for an external device to be controlled provided by an embodiment of the present disclosure. The device for adjusting a control signal for an external device to be controlled can be understood as the above control device or a partial functional module in the above control device. As Figure 4 shown, the device 40 for adjusting a control signal for an external device to be controlled includes: A first acquisition module 401, configured to obtain a configuration file corresponding to the external device to be controlled if it detects the external device to be controlled; A first generation module 402, configured to generate a test signal according to the configuration file and send the test signal to the external device to be controlled; A reception module 403, configured to receive the first response signal sent by the external device to be controlled in response to the test signal, and construct a control model according to the first response signal and the test signal; A second generation module 404, configured to generate a first control signal based on the control model and send the first control signal to the external device to be controlled; the first control signal is used to instruct the external device to be controlled to adjust the first response signal of the test signal.
[0057] In one example, before obtaining the configuration file corresponding to the external device to be controlled, the device 40 includes: A second acquisition module 405, configured to obtain the identification information corresponding to the external device to be controlled; A determination module 406, configured to determine whether a control model corresponding to an external device to be controlled already exists according to identification information; An extraction module 407, configured to, if not, extract a first interface of the external device to be controlled to obtain a configuration file corresponding to the external device to be controlled.
[0058] In one example, after determining whether a control model corresponding to an external device to be controlled already exists, the apparatus 40 includes: A third generation module 408, configured to, if so, generate a second control signal based on the control model and send the second control signal to the external device to be controlled; the second control signal is used to instruct the external device to be controlled to adjust a first response signal.
[0059] In one example, the first generation module 402 is specifically configured to: Obtain a test signal range of the external device to be controlled according to the configuration file; Generate a test signal according to the test signal range.
[0060] In one example, the first generation module 402 is specifically configured to: Select a test value within the test signal range and generate a test signal according to the test value.
[0061] In one example, the first generation module 402 is specifically configured to: Using the test value as a reference point, increase or decrease the test value according to a preset change amount to obtain a test signal.
[0062] In one example, the receiving module 403 is specifically configured to: Obtain a change trend and / or a change direction of the first response signal, and construct a control model according to the change trend and / or the change direction of the first response signal and the test signal.
[0063] In one example, the apparatus 40 further includes: A sending module 409, configured to generate a disturbance signal at a preset frequency and send the disturbance signal to the external device to be controlled; the disturbance signal is used to instruct the external device to be controlled to generate a second response signal; A calibration module 410, configured to obtain a standard response signal corresponding to the disturbance signal in a preset mapping table and calibrate the external device to be controlled according to the standard response signal and the second response signal.
[0064] In one example, the calibration module 410 is specifically configured to: If the difference between the second response signal and the standard response signal is greater than a first threshold, and the number of times the difference is greater than the first threshold is greater than a second threshold, then calibrate the external device to be controlled.
[0065] In one example, the second generation module 404 is specifically configured to: Send the first control signal to the second interface, and based on the second interface, standardize the first control signal to obtain a standard control signal; Send the standard control signal to the external device to be controlled.
[0066] In one example, the configuration file includes at least one of the following parameters: The device type, interface type, and test signal range of the external device to be controlled.
[0067] For the description of the features in the corresponding embodiment of a control signal adjustment device for an external device to be controlled, reference can be made to the relevant description in the corresponding embodiment of a control signal adjustment method for an external device to be controlled, which will not be elaborated here one by one.
[0068] An embodiment of the present application further provides a control device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above embodiments of the control signal adjustment method for an external device to be controlled.
[0069] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps in any one of the above embodiments of the control signal adjustment method for an external device to be controlled when running.
[0070] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: USB flash drives, read-only memories (ROM for short), random access memories (RAM for short), mobile hard disks, magnetic disks, or optical disks, and other various media that can store computer programs.
[0071] An embodiment of the present application further provides a computer program product. The above computer program product includes a computer program, and when the computer program is executed by a processor, it implements the steps in any one of the above embodiments of the control signal adjustment method for an external device to be controlled.
[0072] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the steps in any one of the above embodiments of the control signal adjustment method for an external device to be controlled.
[0073] Those skilled in the art may further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered as exceeding the scope of this application.
[0074] The above has introduced in detail a method for adjusting a control signal for an external device to be controlled provided by this application. Specific examples are used herein to elaborate on the principle and implementation manner of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application. It should be noted that for those of ordinary skill in the art in this technical field, without departing from the principle of this application, several improvements and modifications can still be made to this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A control signal adjustment method for an external device to be controlled, characterized in that, The method includes: If it is detected that an external device to be controlled exists, obtain the configuration file corresponding to the external device to be controlled; Generate a test signal according to the configuration file, and send the test signal to the external device to be controlled; Receive a first response signal sent by the external device to be controlled in response to the test signal, and construct a control model according to the first response signal and the test signal; Generate a first control signal based on the control model, and send the first control signal to the external device to be controlled; the first control signal is used to instruct the external device to be controlled to adjust the first response signal of the test signal.
2. The method according to claim 1, characterized in that, Before obtaining the configuration file corresponding to the external device to be controlled, the method includes: Obtain the identification information corresponding to the external device to be controlled; Determine whether the control model corresponding to the external device to be controlled already exists according to the identification information; If not, call the first interface of the external device to be controlled to obtain the configuration file corresponding to the external device to be controlled.
3. The method according to claim 2, wherein After determining whether the control model corresponding to the external device to be controlled already exists, the method includes: If so, generate a second control signal based on the control model, and send the second control signal to the external device to be controlled; the second control signal is used to instruct the external device to be controlled to adjust the first response signal.
4. The method according to claim 1, wherein The generating a test signal according to the configuration file includes: Obtain the test signal range of the external device to be controlled according to the configuration file; Generate the test signal according to the test signal range.
5. The method according to claim 4, wherein The generating the test signal according to the test signal range includes: Select a test value within the test signal range, and generate the test signal according to the test value.
6. The method according to claim 5, characterized in that, The generating the test signal according to the test value includes: Taking the test value as a reference point, increase or decrease the test value by a preset change amount to obtain the test signal.
7. The method according to claim 1, characterized in that, The constructing a control model according to the first response signal and the test signal includes: Obtain the change trend and / or the change direction of the first response signal, and construct a control model according to the change trend and / or the change direction of the first response signal and the test signal.
8. The method according to claim 1, characterized in that, The method further includes: Generate a perturbation signal at a preset frequency, and send the perturbation signal to the external device to be controlled; the perturbation signal is used to instruct the external device to be controlled to generate a second response signal; Obtain the standard response signal corresponding to the perturbation signal in a preset mapping table, and calibrate the external device to be controlled according to the standard response signal and the second response signal.
9. The method according to claim 8, wherein The calibrating the external device to be controlled according to the standard response signal and the second response signal includes: If the difference between the second response signal and the standard response signal is greater than a first threshold, and the number of times the difference is greater than the first threshold is greater than a second threshold, calibrate the external device to be controlled.
10. The method according to claim 1, characterized in that, The sending the first control signal to the external device to be controlled includes: Send the first control signal to the second interface, and standardize the first control signal based on the second interface to obtain a standard control signal; Send the standard control signal to the external device to be controlled.
11. The method according to claim 1, wherein The configuration file includes at least one of the following parameters: The device type, interface type, and test signal range of the external device to be controlled.
12. A control signal adjustment device for an external device to be controlled, characterized in that, The device includes: A first acquisition module, configured to acquire a configuration file corresponding to the external device to be controlled if the external device to be controlled is detected; A first generation module, configured to generate a test signal according to the configuration file and send the test signal to the external device to be controlled; A receiving module, configured to receive a first response signal sent by the external device to be controlled in response to the test signal, and construct a control model according to the first response signal and the test signal; A second generation module, configured to generate a first control signal based on the control model and send the first control signal to the external device to be controlled; the first control signal is used to instruct the external device to be controlled to adjust the first response signal of the test signal.
13. A control device, characterized in that, Includes: A memory for storing a computer program; A processor, configured to implement the steps of the control signal adjustment method for an external device to be controlled according to any one of claims 1 to 11 when executing the computer program.
14. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, wherein the computer program implements the steps of the control signal adjustment method for an external device to be controlled according to any one of claims 1 to 11 when executed by a processor.
15. A computer program product, comprising a computer program, characterized in that, The computer program implements the steps of the control signal adjustment method for an external device to be controlled according to any one of claims 1 to 11 when executed by a processor.
Citation Information
Patent Citations
Automated test method based on access of associated network device
CN109361562A
Test signal generation method and device
CN109521754A
RTDS-based relay protection device automatic restart test system and method
CN113945792A
System design method and system supporting automatic testing of multiple radio frequency parameters
CN119544098A
Test method, device and equipment
CN120065988A