Multi-machine cooperative control method
By receiving client requests and judging the collaborative control logic, multiple clients can achieve collaborative control of the same thermostat, solving the problems of waste of thermostat resources and low efficiency, and improving detection efficiency and safety.
Patent Information
- Application Number
- CN202110995864.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-27
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-08-27
AI Technical Summary
The thermostat only allows one client to communicate during battery testing, resulting in a waste of test resources and low efficiency, and it is impossible to achieve coordinated control of the same terminal by multiple clients.
By receiving terminal control requests from clients, obtaining parameter information, judging collaborative control logic, and sending collaborative control instructions when specific conditions are met, multiple clients can achieve collaborative control and parameter monitoring of the same thermostat.
On the premise of ensuring safety and reliability, the resource utilization and detection efficiency of the thermostat are improved, allowing multiple clients to control multiple channels in the thermostat at the same time.
Smart Images

Figure CN113703308B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of battery detection, and in particular to a multi-machine collaborative control method. Background Art
[0002] The incubator is a commonly used device in battery testing. When conducting battery testing, due to the logic of test safety and control, the incubator often only reserves one external communication interface. Therefore, different controllers cannot communicate with the same incubator at the same time, resulting in a waste of test resources and reducing the test efficiency of the incubator. Summary of the invention
[0003] The main purpose of the present invention is to provide a multi-machine collaborative control method, aiming to solve the technical problem that multiple client control devices cannot effectively and simultaneously perform collaborative control on terminals.
[0004] To achieve the above object, the present invention provides a multi-machine collaborative control method, the multi-machine collaborative control method comprising:
[0005] Receive a terminal control request from a client, and obtain parameter information of a corresponding terminal according to the request;
[0006] Determine whether there is a collaborative control request and determine the corresponding collaborative control logic;
[0007] The terminal is controlled accordingly according to the collaborative control logic.
[0008] Optionally, after the step of acquiring parameter information of the corresponding terminal according to the request, the method further includes:
[0009] Determining whether to perform device protection on the terminal according to the request and parameter information;
[0010] If the judgment fails, the command invalid information is returned.
[0011] Optionally, the step of determining whether there is a collaborative control request includes:
[0012] After receiving the control request, the waiting time is a preset time. If no new control request is received within the waiting time, the current control request is executed;
[0013] If a new control request is received, the information of the related control request is obtained.
[0014] Optionally, the step of determining the corresponding collaborative control logic includes:
[0015] Compare the information in multiple instructions and determine whether the coordinated control conditions are met based on the comparison results;
[0016] If it is determined that collaborative control is to be performed, a collaborative control instruction is sent to the terminal;
[0017] If it is determined that collaborative control is not to be performed, the corresponding prompt information will be returned to the client and the received control request.
[0018] Optionally, the step of comparing the information in the multiple instructions and determining whether the collaborative control condition is met according to the comparison result includes:
[0019] The preset key information in the information is compared. If the key information is the same, it is determined that the collaborative control condition is met, otherwise it is determined that it is not met.
[0020] The multi-machine collaborative control method of the present invention can realize collaborative control and parameter monitoring of the incubator of the same terminal by multiple client control devices, and enables multiple channels in the incubator to be controlled and utilized by multiple clients, thereby improving the overall detection efficiency while ensuring safety and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a flowchart of the first embodiment of the method for implementing multi-machine cooperative control of the present invention;
[0022] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0023] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0024] The first embodiment of the multi-machine cooperative control method of the present invention refers to Figure 1 , the multi-machine collaborative control method comprises:
[0025] Receive a terminal control request from a client, and obtain parameter information of a corresponding terminal according to the request;
[0026] Specifically, the terminal control request is a request instruction sent by the client to the collaborative control system when the client needs to control the terminal. After receiving the request, the collaborative control system obtains the parameter information of the corresponding terminal according to the information in the request, so as to facilitate the subsequent collaborative control related steps.
[0027] Determine whether there is a collaborative control request and determine the corresponding collaborative control logic;
[0028] Specifically, after receiving a control request, the collaborative control system needs to go through a judgment process to determine whether there is a collaborative request for controlling the same terminal, and determine whether to perform collaborative control and the control logic of collaborative control according to the instructions of the collaborative request.
[0029] The terminal is controlled accordingly according to the collaborative control logic.
[0030] Specifically, the collaborative control system controls the terminal accordingly according to the derived collaborative control logic, and provides information feedback to the client.
[0031] The incubator is a commonly used battery testing equipment. Since the incubator needs to accurately control the test parameters such as temperature and humidity in the incubator, in order to avoid conflicts in the incubator settings caused by multiple clients, which may lead to damage to the products in the incubator and other unexpected situations, an incubator often has only one communication interface, that is, only one client is allowed to control it at the same time. There are multiple test channels in an incubator, so there is a situation where multiple batteries can be tested. Under certain conditions, simultaneous testing can improve the utilization rate of the incubator, thereby improving the overall efficiency of battery testing.
[0032] The multi-machine cooperative control method of the present invention can realize the cooperative control of the thermostat under certain conditions. In order to realize the cooperative control of the same thermostat by multiple clients, certain conditions must be met. The thermostat is a device for testing batteries, which can test parameters such as temperature and humidity. The environment in which the battery is located may cause accidents to the battery. For example, excessive temperature may cause the battery to catch fire. Generally speaking, the cooperative control system connected to the thermostat is used as a cooperative control system. After receiving the control request of the client, the cooperative control system (usually set in the intermediate machine) first obtains the data of the terminal according to the relevant information in the request instruction, and then obtains the stored terminal related parameters according to the terminal data. Through the relevant parameters of the terminal obtained and the request instruction, the client will determine whether to perform device protection on the terminal and whether the current control instruction is legal. After the judgment of device protection, it is determined whether there is a cooperative control instruction within a preset time period. If there is no request for cooperative control, the current control instruction is directly executed. If there is a cooperative control instruction, it is determined whether to perform cooperative control according to the content of the cooperative control instruction. The conditions for judging cooperation include the setting conditions of the instruction, whether the duration is consistent, etc. When all conditions are met, the cooperative control instruction is executed, otherwise the prompt information of cooperative control failure is returned to the client.
[0033] The multi-machine collaborative control method of the present invention enables the incubator and other related terminal devices to realize collaborative control of multiple clients under the premise of providing only one communication interface and ensuring the safety performance of the equipment. It enables collaborative control system devices such as collaborative control systems to synchronously monitor all channels in the incubator and synchronously read data, thereby improving the resource utilization of the incubator and the test efficiency.
[0034] Furthermore, after the step of receiving a terminal control request from a client and acquiring parameter information of a corresponding terminal according to the request, the following steps are included:
[0035] Determining whether to perform device protection on the terminal according to the request and parameter information;
[0036] If the judgment fails, the command invalid information is returned.
[0037] Specifically, by requesting instructions and parameter information, it is determined whether the control values, types, and equipment of the temperature box are normal. If there are values of different types or abnormal values, it is judged as a failure, and the collaborative control system returns the information that the instruction is invalid to the client.
[0038] In order to avoid danger to the temperature box during the test, the collaborative control system needs to determine whether the control request command will cause abnormal operation of the terminal, and whether the requested command is valid by comparing whether the temperature, humidity and other parameters exceed the setting range of the terminal device, or checking whether the device has abnormal conditions such as failure. If the judgment fails, the current control command will not continue to be executed, and the invalid command information will be returned to the client as a prompt.
[0039] Furthermore, the step of determining whether there is a collaborative control request includes:
[0040] After receiving the control request, the waiting time is a preset time. If no new control request is received within the waiting time, the current control request is executed;
[0041] If a new control request is received, the information of the related control request is obtained.
[0042] Specifically, after the collaborative control system receives a control request and passes the judgment, it will wait. If it receives other control requests for the same terminal within a preset time, it will perform subsequent collaborative control judgment steps, otherwise it will directly execute the control request related steps.
[0043] First, it is necessary to determine whether there is a collaborative control request. When the collaborative control system receives a control request and completes the judgment and protection of the information, it will wait within a preset time period, which can be adjusted. If the remaining control requests are received within the preset time period, that is, there is a need for collaborative control, the collaborative control system will continue to obtain relevant information of the collaborative control request for related judgment and comparison of collaborative control to determine whether to make a collaborative control request. If the corresponding information in the collaborative request is consistent, the collaborative control system executes the control instruction of the collaborative control request. In addition, if a battery in a channel in the incubator is in an abnormal state, such as a fault, the collaborative control system also waits for a preset time period. After receiving the collaborative control instruction corresponding to the battery in the channel within the preset time period, it performs the subsequent collaborative control judgment steps, otherwise it executes the current test step or the step of the collaborative control instruction that has been determined.
[0044] Furthermore, the step of determining the corresponding collaborative control logic includes:
[0045] Compare multiple request information and determine whether to perform collaborative control based on the comparison results;
[0046] If it is determined that collaborative control is to be performed, a collaborative control instruction is sent to the terminal;
[0047] If it is determined that cooperative control is not to be performed, the corresponding prompt information will be returned to the client.
[0048] Specifically, when a collaborative control system receives collaborative control requests from multiple clients for the same terminal, it will compare the relevant information in the control instructions to see if they meet the collaborative control rules. If so, the collaborative control instructions will be sent to the terminal for execution; otherwise, the control request of the first client received will be executed, and a prompt message indicating the failure of collaborative control will be returned to the remaining clients.
[0049] The judgment of collaborative control requests requires comparing the information of control requests, such as the temperature, humidity and other related settings of the incubator. For key parameters, they must be set the same to meet the conditions of collaborative control, otherwise the incubator may have accidents. If collaborative control fails, the collaborative control system executes the control command according to the first control request received, and outputs the prompt information of collaborative control failure to other corresponding clients for prompting. When collaborative control fails, the collaborative control system can also not execute the command and return the control failure information.
[0050] Further, by comparing preset key information in the information, if the key information is the same, it is determined that the collaborative control condition is met, otherwise it is determined that the collaborative control condition is not met.
[0051] Specifically, the control request contains multiple related information, such as the set temperature, humidity, test duration, etc. of the incubator. This information is related to the reliability and safety performance of the battery test. Therefore, the relevant settings must be the same to enable collaborative control, otherwise collaborative control cannot be performed.
[0052] For parameters related to key data such as battery testing safety and reliability, when deciding to conduct collaborative control, the parameters must be consistent to ensure the safety, reliability and other related performance of the test. As for the remaining parameters, whether they are required to be consistent or not, the collaborative control system can set and adjust them flexibly according to specific needs, such as the heat dissipation time after the test.
[0053] The multi-machine collaborative control method of the present invention can realize collaborative control and parameter monitoring of the incubator of the same terminal by multiple client control devices, and enables multiple channels in the incubator to be controlled and utilized by multiple clients, thereby improving the overall detection efficiency while ensuring safety and reliability.
[0054] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A multi-machine cooperative control method, characterized in that: The multi-machine collaborative control method includes: receiving a terminal control request from a client, and obtaining parameter information of a corresponding terminal according to the request; a terminal control request is a request instruction sent by a client to a collaborative control system when the client needs to control the terminal; after receiving the request, the collaborative control system obtains parameter information of the corresponding terminal according to the information in the request, so as to facilitate the subsequent related steps of collaborative control; judging whether there is a collaborative control request, and determining the corresponding collaborative control logic; the step of judging whether there is a collaborative control request includes: waiting after receiving the control request, the waiting time is a preset time length, and if no new control request is received within the waiting time, executing the current control request; if a new control request is received, obtaining information of related control requests; when the collaborative control system receives a control request, And after completing the judgment and protection of the information, it will wait within a preset time period. The preset time period can be adjusted and set. If other control requests are received within the preset time period, that is, there is a need for collaborative control, the collaborative control system will continue to obtain relevant information of the collaborative control request for related judgment and comparison of collaborative control to determine whether to make a collaborative control request. When the corresponding information in the collaborative request is consistent, the collaborative control system executes the control instruction of the collaborative control request. In addition, if a battery in a channel in the incubator is in an abnormal state, the collaborative control system also waits for a preset time period. After receiving the collaborative control instruction corresponding to the battery in the channel within the preset time period, it performs subsequent collaborative control judgment steps, otherwise it executes the current test step or the step of the already determined collaborative control instruction.
2. The multi-machine cooperative control method according to claim 1, characterized in that: After the step of obtaining the parameter information of the corresponding terminal according to the request, the method includes: judging whether to perform device protection on the terminal according to the request and the parameter information; if the judgment fails, returning the instruction invalid information.
3. The multi-machine cooperative control method according to claim 1, characterized in that: The steps of determining the corresponding collaborative control logic include: comparing the information in multiple instructions, and determining whether the collaborative control conditions are met based on the comparison results; if it is determined that collaborative control is to be performed, sending the collaborative control instruction to the terminal; if it is determined that collaborative control is not to be performed, returning the corresponding prompt information to the client.
4. The multi-machine cooperative control method according to claim 3, characterized in that: The step of comparing the information in multiple instructions and determining whether the collaborative control conditions are met based on the comparison results includes: comparing preset key information in the information, and if the key information is the same, determining that the collaborative control conditions are met, otherwise determining that the collaborative control conditions are not met.
