Temperature controller control method and device, equipment and storage medium
By responding to the user's operation interface to generate temperature control requests in the medical temperature controller and generating target control instructions based on the current operating status information, the problem of insufficient accuracy and inefficiency of the temperature controller is solved, and the treatment effect and user experience are improved.
Patent Information
- Application Number
- CN202410897827.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-11-15
AI Technical Summary
There are problems of insufficient accuracy and low efficiency in the control process of existing medical temperature control instruments, which leads to the failure of the temperature control information entered by the user and affects the treatment effect.
By generating a temperature control request in response to the user's operation interface, the information in the current operating state of the temperature controller is determined, and the target control command is generated based on the information input by the user and the operating state information, and the target control command is generated to ensure the target of the temperature controller to ensure the temperature control operation. The temperature control information is accurately executed.
It improves the control accuracy of the temperature controller, reduces the possibility of user input information failure, and improves user experience.
Smart Images

Figure CN118963461A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of medical equipment, and in particular to a control method and device, equipment and storage medium of a temperature controller. Background Art
[0002] P1 medical temperature controller (hereinafter referred to as temperature controller) has the functions of cooling or heating the patient's body temperature and maintaining a constant temperature. It is a product that achieves physical temperature control of the patient to achieve the purpose of treatment. Its hypothermia therapy is a physical method to reduce the patient's body temperature to the expected level to achieve the purpose of treating the disease. The medical temperature control system mainly has the functions of cooling / heating the patient's body temperature and maintaining a constant temperature.
[0003] The P1 medical temperature controller provides a human-computer interaction interface with the ability to set temperature control information, and users can set the temperature control information. However, since the control of the temperature controller will be affected by the control parameters of its current operating state, even if the user has set the desired temperature control information, after choosing to start temperature control, it will still be affected by the control parameters of the current operating state, and even the data expected by the user will become invalid, that is, the temperature controller will continue to be controlled according to the control parameters of the current operating state, resulting in the treatment process not being able to proceed as scheduled. Therefore, not only is the user experience poor, but the current temperature controller control still has problems of insufficient accuracy and low efficiency. Summary of the invention
[0004] The main purpose of the present invention is to provide a control method and device, equipment and storage medium for a temperature controller, which can solve the problems of insufficient accuracy and low efficiency in the control of the temperature controller in the prior art.
[0005] To achieve the above object, the present invention provides a control method for a temperature controller in a first aspect, the method comprising:
[0006] In response to a temperature control operation performed by a user based on a user operation interface, a temperature control request is generated, wherein the temperature control request at least includes first temperature control information input by the user into the temperature controller;
[0007] Determine second temperature control information under the current operating state of the temperature controller;
[0008] Determining target temperature control information according to the first temperature control information and the second temperature control information;
[0009] A target control instruction is generated according to the target temperature control information, and the target control instruction is executed.
[0010] To achieve the above object, the second aspect of the present invention provides a control device for a temperature controller, the device comprising:
[0011] An operation response module, configured to generate a temperature control request in response to a temperature control operation performed by a user based on a user operation interface, wherein the temperature control request at least includes first temperature control information input by the user into the temperature controller;
[0012] An information determination module, used to determine second temperature control information under the current operating state of the temperature controller;
[0013] an information comparison module, configured to determine target temperature control information according to the first temperature control information and the second temperature control information;
[0014] The instruction determination module is used to generate a target control instruction according to the target temperature control information and execute the target control instruction.
[0015] To achieve the above-mentioned purpose, the third aspect of the present invention provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor executes the steps of the control method shown in the first aspect.
[0016] To achieve the above-mentioned purpose, the fourth aspect of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the control method shown in the first aspect.
[0017] The embodiments of the present invention have the following beneficial effects:
[0018] The present invention provides a control method for a temperature controller, the method comprising: generating a temperature control request in response to a temperature control operation performed by a user based on a user operation interface, the temperature control request at least including first temperature control information input by the user into the temperature controller; determining second temperature control information under the current operating state of the temperature controller; determining target temperature control information according to the first temperature control information and the second temperature control information; generating a target control instruction according to the target temperature control information, and executing the target control instruction. Through the above manner, the first temperature control information input by the user and the second temperature control information under the current operating state can be combined for comparison to determine the target temperature control information of the temperature controller, and then obtain the target control instruction of the temperature controller, instead of only referring to the temperature control information under the operating state, thereby improving the control accuracy of the temperature controller, reducing the possibility of failure of the first temperature control information input by the user, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] in:
[0021] Figure 1 This is a flow chart of a control method of a temperature controller in an embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of a human-computer interaction interface in an embodiment of the present invention;
[0023] Figure 3 is another schematic diagram of a human-computer interaction interface in an embodiment of the present invention;
[0024] Figure 4 Another flow chart of a control method of a temperature controller according to an embodiment of the present invention;
[0025] Figure 5 It is a structural block diagram of a control method device of a temperature controller in an embodiment of the present invention;
[0026] Figure 6 4 is a structural block diagram of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] See also Figure 1 , Figure 1 Flow chart of a control method of a temperature controller according to an embodiment of the present invention. Figure 1 The method shown can be applied to both a terminal and a server. The terminal can be a desktop terminal or a mobile terminal. The mobile terminal can be at least one of a mobile phone, a tablet computer, a laptop computer, etc. The server can be implemented by an independent server or a server cluster composed of multiple servers. This embodiment is described by applying to a terminal as an example. Figure 1 The method shown comprises the following steps:
[0029] 101. In response to a temperature control operation performed by a user based on a user operation interface, generate a temperature control request, wherein the temperature control request at least includes first temperature control information input by the user into the temperature controller;
[0030] It is understandable that the temperature controller includes but is not limited to the P1 medical temperature controller and other devices that can control the temperature of the body surface. The terminal can be a temperature controller or an electronic device that has a communication connection with the temperature controller, and can interact with the temperature controller. This embodiment uses the terminal as an example of a temperature controller. Among them, the user can perform temperature control operations on the temperature controller, such as adjusting physical buttons or performing human-computer interaction operations on the human-computer interaction interface of the temperature controller with a display screen or performing remote human-computer interaction operations on a preset client that has a communication connection with the temperature controller, etc. to achieve temperature control operations. This is not limited here. This application uses the user performing human-computer interaction on the human-computer interaction interface such as the user operation interface of the temperature controller as an example.
[0031] Among them, see Figure 2 and Figure 3 , Figure 2 is a schematic diagram of a human-computer interaction interface in an embodiment of the present invention, Figure 3 is another schematic diagram of a human-computer interaction interface in an embodiment of the present invention, Figure 2 The human-computer interaction interface shown can be regarded as the main interface of the temperature controller. Figure 3 The human-computer interaction interface shown can be regarded as the custom setting interface of the temperature controller, where: Figure 2 and Figure 3 The interface layout shown in the interface is only an example and is not specifically limited. Figure 2 and Figure 3 For example, each layout element in the interface layout can be editable, that is, the user can change the value on the interface if he has the editing permission, such as Figure 2 For example, Figure 2 The middle interface element 201 can be regarded as the current temperature of the temperature controller. Figure 2 The current temperature of the temperature controller is 28.3°C. Interface element 202 can be regarded as the target water temperature of the temperature controller. Figure 2 The target water temperature of the temperature controller shown is 30°C. The interface element 203 can be regarded as the treatment time, which can be a countdown. Figure 2 The treatment time of the temperature controller shown is 72 hours, and the interface element 204 can be regarded as the temperature threshold. Figure 2 The temperature threshold of the temperature controller shown is 30.2 to 37.0°C, and the interface element 205 can be regarded as the current temperature collected by the temperature controller, for example Figure 2 The middle interface element 205 represents the current temperature of the temperature controller, which is the current temperature of the object A. Figure 2 The current temperature collected by the temperature controller shown is 37.2°C.
[0032] Among them, Custom 1 to Custom 50 in the custom interface represent different temperature adjustment plans, which include treatment time, target water temperature, and temperature alarm lower limit. Users can fill in data as needed to obtain the first temperature control information, which includes at least one or more of the treatment time, target water temperature, and temperature alarm lower limit. In addition, when the temperature controller adjusts the temperature for a certain temperature adjustment object, a custom can be regarded as a temperature adjustment plan, a temperature adjustment plan can correspond to one temperature adjustment object or multiple temperature adjustment objects, and a temperature adjustment object can also correspond to multiple temperature adjustment plans, which are not limited here and can be selected according to actual needs.
[0033] Furthermore, editing capabilities can be implemented as needed, such as in Figure 3 Set the treatment time, target water temperature and body temperature alarm low limit in the custom interface shown, or Figure 2 The main interface shown changes or the relevant parameters of the current temperature regulation object A or the current temperature regulation object B, which are not limited to this example. Among them, the temperature control operation includes but is not limited to the operation of clicking, inputting, etc. for setting or executing relevant parameters, and then the temperature controller can respond to the temperature control operation performed by the user on the temperature controller, and generate a temperature control request, which at least includes the first temperature control information input by the user into the temperature controller, such as the temperature control information including but not limited to the interface identifier and the temperature control data of at least one data type; the interface identifier is used to distinguish each human-computer interaction interface, and can uniquely identify the human-computer interaction interface, so that the user's temperature control operation can be determined by the interface identifier whether it is performed on the main interface, or on the custom interface or other human-computer interaction interface. The temperature control data includes but is not limited to the treatment time, target water temperature, and temperature threshold and other data types related to temperature control, and the temperature threshold can be the lower limit of the temperature alarm. Among them, the user can input one or more of the above temperature control data according to actual needs to realize the temperature control of the temperature controller.
[0034] 102. Determine second temperature control information under the current operating state of the temperature controller;
[0035] 103. Determine target temperature control information according to the first temperature control information and the second temperature control information;
[0036] 104. Generate a target control instruction according to the target temperature control information, and execute the target control instruction.
[0037] Furthermore, when the user performs temperature control operations on the temperature controller, the temperature controller may be in different operating states, including but not limited to the operating state, the paused state, and the stopped state, etc. Different operating states may have different default temperature control information, such as the default treatment time of 72 hours in the stopped state, etc.
[0038] Furthermore, the current operating state may be in operation, paused or stopped, etc. Taking the current operating state as the stopped state as an example, the second temperature control information is the default treatment time of 72 hours. In the past, if the user set the first temperature control information, for example, the first temperature control information included a treatment time of 2 hours, then because the current operating state is the stopped state, the actual treatment time for the temperature controller will become 72 hours, that is, the 2 hours set by the user will become invalid, resulting in the control of the temperature controller not meeting user expectations.
[0039] Because, in order to reduce the situation where the first temperature control information fails, after receiving the first temperature control information, it is also necessary to determine the second temperature control information under the current operating state of the temperature controller, and determine the target temperature control information of the temperature controller by comparing the first temperature control information and the second temperature control information. For example, if the comparison results are different, a decision can be made according to the second temperature control information and the first temperature control information set by the user, or the first temperature control information set by the user can be directly used to obtain the target temperature control information, so that the final target temperature control information can better meet the user's temperature control needs and reduce the possibility of failure of the first temperature control information.
[0040] Finally, the target control instruction of the temperature controller can be obtained based on the target temperature control information obtained by comparison, and the target control instruction can be executed to achieve temperature control of the temperature controller. The target control instruction can be a temperature adjustment instruction obtained according to various temperature control data in the target temperature control information, so that the temperature controller can work according to various temperature control data in the target temperature control information.
[0041] In a feasible implementation, the target temperature control information includes but is not limited to a temperature threshold, and the temperature threshold may include a lower limit of a body temperature alarm or an upper limit of a body temperature alarm. Furthermore, a risk prompt may be made for the body temperature condition, and the method further includes: obtaining the current temperature collected by the temperature controller; if the current temperature is lower than the temperature threshold, outputting a low temperature risk prompt to a preset client; if the current temperature is higher than the temperature threshold, outputting a high temperature risk prompt to a preset client. Among them, the current temperature collected by the temperature controller is used to reflect the current body temperature of the current body temperature adjustment object of the temperature controller. For example, a high temperature risk prompt may be "Patient A has a high temperature" as shown on the main interface, etc., which is not limited here.
[0042] The present invention provides a control method for a temperature controller, the method comprising: generating a temperature control request in response to a temperature control operation performed by a user based on a user operation interface, the temperature control request at least including first temperature control information input by the user into the temperature controller; determining second temperature control information under the current operating state of the temperature controller; determining target temperature control information according to the first temperature control information and the second temperature control information; generating a target control instruction according to the target temperature control information, and executing the target control instruction. Through the above manner, the first temperature control information input by the user and the second temperature control information under the current operating state can be combined for comparison to determine the target temperature control information of the temperature controller, and then obtain the target control instruction of the temperature controller, instead of only referring to the temperature control information under the operating state, thereby improving the control accuracy of the temperature controller, reducing the possibility of failure of the first temperature control information input by the user, and improving the user experience.
[0043] See also Figure 4 , Figure 4 Another flow chart of a control method of a temperature controller according to an embodiment of the present invention is shown in FIG. Figure 4 The method shown comprises the following steps:
[0044] 401. In response to a temperature control operation performed by a user based on a user operation interface, generate a temperature control request, where the temperature control request at least includes first temperature control information input by the user into the temperature controller;
[0045] 402. Determine second temperature control information under the current operating state of the temperature controller;
[0046] It should be noted that the contents of step 401 and step 402 are the same as Figure 1 The contents of steps 101 and 102 are similar, and are not described here to avoid repetition. For details, please refer to the aforementioned Figure 1 The contents of steps 101 and 102 are shown.
[0047] 403. Compare a data type in the first temperature control data with a data type in the second temperature control data;
[0048] 404. If the data type in the first temperature control data is exactly the same as the data type in the second temperature control data, determine the first temperature control information as target temperature control information;
[0049] 405. If the data type in the first temperature control data is not completely the same as the data type in the second temperature control data, supplement the first temperature control information by using the second temperature control information to obtain processed first temperature control information, and determine the processed first temperature control information as target temperature control information;
[0050] Since the temperature control information includes temperature control data of at least one data type, specifically, the first temperature control information includes first temperature control data, the second temperature control information includes second temperature control data, and the first temperature control data and the second temperature control data both include temperature control data of at least one data type, the first temperature control information input by the user can be one or more data types according to user needs, and the second temperature control information may also have one or more data types according to different operating states.
[0051] In order to obtain more accurate target temperature control information that better meets user needs, a data type comparison of the temperature control data between the temperature control information is first performed. After the comparison, if the data type of the temperature control data included in the first temperature control information is exactly the same as the data type of the temperature control data included in the second temperature control information, that is, the data type and quantity of the temperature control data included in the first temperature control information are consistent with the second temperature control information. For example, the first temperature control information includes a treatment time of 2 hours, a target water temperature of 36 degrees Celsius, and a body temperature threshold of 35 to 37 degrees Celsius, and the second temperature control information includes a treatment time of 5 hours, a target water temperature of 37 degrees Celsius, and a body temperature threshold of 35 to 38 degrees Celsius. At this time, the first temperature control information can completely cover and replace the data type of the second temperature control information and will not be affected by the second temperature control information, then execute step 403 to determine that the target temperature control information is the first temperature control information.
[0052] Furthermore, if after comparing the data types, it is found that the data types of the temperature control data included in the first temperature control information are not exactly the same as the data types of the temperature control data included in the second temperature control information, that is, there is inconsistency between the data type of the temperature control data included in the first temperature control information and the data type of the second temperature control information, for example, the first temperature control information includes more data types than the second temperature control information, or the second temperature control information includes more data types than the first temperature control information. For example, the first temperature control information includes a treatment time of 2 hours and a target water temperature of 36 degrees Celsius, while the second temperature control information may include a treatment time of 5 hours, a target water temperature of 37 degrees Celsius, and a body temperature threshold of 35 to 38 degrees Celsius; or, the first temperature control information includes a treatment time of 2 hours, a target water temperature of 36 degrees Celsius, and a body temperature threshold of 35 to 37 degrees Celsius, and the second temperature control information includes a treatment time of 5 hours, and so on. Therefore, when there is a discrepancy between the data type of the temperature control data included in the first temperature control information and the data type of the second temperature control information, in order to avoid the data type of the first temperature control information not meeting the data type requirement under the current operating state, it is necessary to supplement the missing data type in time. Therefore, step 405 is executed to use the second temperature control information to supplement the target temperature control data category missing in the first temperature control information to obtain the processed first temperature control information, and at this time the target temperature control information includes the processed first temperature control information.
[0053] Specifically, in step 405, supplementing the first temperature control information with the second temperature control information to obtain the processed first temperature control information may include steps A01 to A03:
[0054] A01, traversing the first data type of the temperature control data included in the second temperature control information, and searching for the second data type of the temperature control data included in the first temperature control information for the traversed target first data type, to determine whether there is a target second data type that is the same as the target first data type;
[0055] A02: If the target second data type does not exist, determining that the first temperature control information lacks target temperature control data corresponding to the target first data type;
[0056] A03. Add the target temperature control data corresponding to the target first data type in the second temperature control information to the first temperature control information to obtain processed first temperature control information.
[0057] It should be noted that different operating states have different data type requirements for temperature data. For example, the current operating state is the running state, in which the actual temperature control information is required to include temperature control data of all data types. In this case, the target temperature control information must include temperature control data of all data types. For example, the full data type includes three data types: treatment time, target water temperature, and body temperature threshold. In this case, it is necessary to ensure that the first temperature control information has all data types.
[0058] Or for example, the current operating state is the stop state, in which the actual temperature control information is required to include at least temperature control data of the treatment time data type. Then, the target temperature control information must include at least temperature control data of the treatment time data type. Therefore, it is necessary to ensure that the first temperature control information satisfies the requirement of including at least temperature control data of the treatment time data type.
[0059] Furthermore, in order to meet user expectations and adapt to the needs of different current operating states at the same time, if the first temperature control information and the second temperature control information are not exactly the same, after obtaining the second temperature control information under the current operating state, it is necessary to determine whether the first temperature control information lacks the data type of the temperature control data required under the current operating state, and then traverse the first data type of the temperature control data included in the second temperature control information through step A01. For the traversed target first data type, such as the target first data type is water temperature, duration or threshold, the second data type of the temperature control data included in the first temperature control information is searched to determine whether there is a target second data type that is the same as the target first data type. For example, if the target first data type is the target water temperature, then the target second data type is also the target water temperature, and the target first data type is the treatment duration. Then the target second data type is also the treatment duration, and so on. If the first temperature control information does not contain the same target second data type as the target first data type, it means that the first temperature control information does not have temperature control data of this data type, for example, the user has not set or changed the temperature control data of this data type, and then it is necessary to determine through step A02 that the target temperature control data corresponding to the target first data type is missing in the first temperature control information, so as to continue to use the target temperature control data corresponding to the target first data type in the current operating state; and through step A03, the target temperature control data corresponding to the target first data type in the second temperature control information is added to the first temperature control information to obtain the processed first temperature control information, so that the processed first temperature control information can meet the data type requirements of the temperature control data in the current operating state and meet user expectations.
[0060] For example, the first temperature control information includes a treatment time of 2 hours and a target water temperature of 36 degrees Celsius, while the second temperature control information may include a treatment time of 5 hours, a target water temperature of 37 degrees Celsius, and a body temperature threshold of 35 to 38 degrees Celsius. At this time, the first data type includes the treatment time, the target water temperature, and the body temperature threshold, and the target first data type traversed each time is the treatment time, the target water temperature, or the body temperature threshold, the second data type is the treatment time and the target water temperature, and the target second data type that is the same as the target first data type is the treatment time or the target water temperature. At this time, the target first data type is missing in the first temperature control information, and the target temperature control data is a body temperature threshold of 35 to 38 degrees Celsius; the processed first temperature control information includes: a treatment time of 2 hours, a target water temperature of 36 degrees Celsius, and a body temperature threshold of 35 to 38 degrees Celsius, and the final target temperature control information includes the above-mentioned processed first temperature control information.
[0061] 406. Generate a target control instruction according to the target temperature control information, and execute the target control instruction.
[0062] It should be noted that the content shown in step 406 is the same as Figure 1The contents of step 104 are similar and will not be described here to avoid repetition. Figure 1 The content of step 104 is shown.
[0063] In a feasible implementation, the user can perform temperature control operations such as inputting temperature control data in any human-computer interaction interface, and each human-computer interaction interface can display the same or different temperature control data according to the focus of the interaction content. After determining the target temperature control information according to the first temperature control information and the second temperature control information, the above method further includes the following steps B01 and B02, so as to timely synchronize the temperature control data to each interface that should be displayed and timely update the interface information:
[0064] B01. Based on a third data type of the temperature control data included in the target temperature control information, searching for a candidate interface set including the third data type from preset interface design parameters;
[0065] B02. Synchronize the temperature control data included in the target temperature control information to each candidate interface included in the candidate interface set.
[0066] After obtaining the target temperature control information, the interface display content can be updated according to the actual target temperature control information. Specifically, it is possible to find out in which interfaces the various types of temperature control data in the target temperature control information are displayed. Based on the third data type of the temperature control data included in the target temperature control information, a set of candidate interfaces including the third data type is found from the preset interface design parameters, and then the temperature control data is synchronized to each candidate interface included in the candidate interface set.
[0067] Among them, because the user may perform temperature control operations through the human-computer interaction interface, such as changing temperature control data, etc., the data for changing the human-computer interaction interface has been manually changed by the user at this time. This interface can be excluded during data synchronization to reduce the pressure of data synchronization. For example, the interface includes a main interface and a custom interface. If the user performs temperature control operations on the main interface, the data only needs to be synchronized to the custom interface. If the user performs temperature control operations on the custom interface, the data only needs to be synchronized to the main interface.
[0068] Specifically, if the user performs a temperature control operation on an interface, the temperature control request also carries a target interface identifier, which is used to uniquely identify a human-computer interaction interface. The target interface identifier can be used to identify the interface on which the user performs the temperature control operation. The candidate interface set includes multiple candidate interfaces and a first interface identifier of the candidate interface. Step B02 may include C01 to C03:
[0069] C01. Finding a target first interface identifier that is identical to the target interface identifier from among the first interface identifiers;
[0070] C02. Deleting the candidate interface corresponding to the target first interface identifier from the interface set to obtain an updated interface set;
[0071] C03. Synchronize the temperature control data included in the target temperature control information to each candidate interface included in the updated interface set.
[0072] The target interface identifier can be used to locate the target first interface identifier from the candidate interface set, so as to determine the human-computer interaction interface on which the user performs temperature control operations, and then delete the candidate interface corresponding to the target first interface identifier from the interface set, thereby reducing the number of interfaces to be synchronized with data, and obtaining an updated interface set. Finally, the temperature control data included in the target temperature control information is synchronized to each candidate interface included in the updated interface set.
[0073] Exemplarily, when the temperature controller is regulating the body temperature, a feasible interactive process can be: 1) before starting the treatment, first enter the custom setting interface, set the treatment time, target water temperature and body temperature alarm lower limit as needed. You can also set various types of temperature control data, which are not exhaustive here; 2) return to the main interface and start the treatment. Then the temperature controller can start the treatment according to the set treatment time, target water temperature and body temperature alarm lower limit. During the treatment process, you can also change the treatment time, target water temperature and body temperature alarm lower limit at will, which will not be affected by the treatment state, that is, it will not be affected by the current running state; 3) Pause the treatment on the main interface, set a new treatment time, press the start treatment button, and choose to create a new disease file. The new disease file here is also a new body temperature adjustment plan, and then start the treatment according to the new treatment time, return to the custom interface to view the current custom item as the latest set value, that is, when a custom item is selected, the treatment time, target water temperature, and body temperature alarm lower limit are changed in the main interface. It will be synchronized to the custom, and the changes in the custom will also be synchronized to the main interface. 4) The next round of new treatment is similar. You can set the treatment time, target temperature, and body temperature alarm lower limit and start the treatment. The treatment time, target water temperature, and body temperature alarm lower limit can be changed at any time, regardless of whether the new treatment is started or not.
[0074] The present invention provides a control method for a temperature controller, the method comprising: generating a temperature control request in response to a temperature control operation performed by a user on the temperature controller, the temperature control request at least including first temperature control information input by the user into the temperature controller; determining second temperature control information under the current operating state of the temperature controller; comparing the data type in the first temperature control data with the data type in the second temperature control data; if the data type in the first temperature control data is exactly the same as the data type in the second temperature control data, determining the first temperature control information as target temperature control information; if the data type in the first temperature control data is not exactly the same as the data type in the second temperature control data, supplementing the first temperature control information with the second temperature control information to obtain processed first temperature control information; determining the processed first temperature control information as target temperature control information; generating a target control instruction according to the target temperature control information, and executing the target control instruction. Through the above method, the first temperature control information input by the user and the second temperature control information under the current operating state can be compared to determine the target temperature control information of the temperature controller, and then obtain the target control instructions of the temperature controller, instead of only referring to the temperature control information under the operating state. This improves the control accuracy of the temperature controller, reduces the possibility of failure of the first temperature control information input by the user, and improves the user experience.
[0075] See also Figure 5 , Figure 5 FIG. 1 is a structural block diagram of a control method device for a temperature controller according to an embodiment of the present invention. Figure 5 The device shown comprises:
[0076] An operation response module 501, configured to generate a temperature control request in response to a temperature control operation performed by a user based on a user operation interface, wherein the temperature control request at least includes first temperature control information input by the user into the temperature controller;
[0077] An information determination module 502 is used to determine second temperature control information under the current operating state of the temperature controller;
[0078] An information comparison module 503, configured to determine target temperature control information according to the first temperature control information and the second temperature control information;
[0079] The instruction determination module 504 is used to generate a target control instruction according to the target temperature control information and execute the target control instruction.
[0080] It should be noted that Figure 5 The contents of each module in the device shown are Figure 1 The contents of each step in each method shown are similar, so they are not described here to avoid repetition. For details, please refer to Figure 1 The contents of each step in each method are shown.
[0081] The present invention provides a control device for a temperature controller, the device comprising: an operation response module, for generating a temperature control request in response to a temperature control operation performed by a user based on a user operation interface, the temperature control request at least comprising the first temperature control information input by the user into the temperature controller; an information determination module, for determining the second temperature control information under the current operating state of the temperature controller; an information comparison module, for determining the target temperature control information according to the first temperature control information and the second temperature control information; an instruction determination module, for generating a target control instruction according to the target temperature control information, and executing the target control instruction. Through the above device, the first temperature control information input by the user and the second temperature control information under the current operating state can be combined for comparison to determine the target temperature control information of the temperature controller, and then obtain the target control instruction of the temperature controller, instead of only referring to the temperature control information under the operating state, thereby improving the control accuracy of the temperature controller, reducing the possibility of failure of the first temperature control information input by the user, and improving the user experience.
[0082] In a feasible implementation, the device further includes:
[0083] A data synchronization module is used to search for a set of candidate interfaces including a third data type from preset interface design parameters based on the third data type of the temperature control data included in the target temperature control information; and synchronize the temperature control data included in the target temperature control information to each candidate interface included in the candidate interface set.
[0084] The risk warning module is used to obtain the current temperature collected by the temperature controller; if the current temperature is lower than the temperature threshold, a low temperature risk warning is output to a preset client; if the current temperature is higher than the temperature threshold, a high temperature risk warning is output to a preset client.
[0085] It should be noted that the data synchronization module and risk warning module are Figure 4 or Figure 1 The contents of the steps shown are similar, so they are not described here to avoid repetition. For details, please refer to Figure 4 or Figure 1 The content of the steps shown is similar.
[0086] Figure 6 FIG. 1 shows an internal structure diagram of a computer device in an embodiment. The computer device may be a terminal or a server. Figure 6As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the above method. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement the above method. Those skilled in the art can understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0087] In one embodiment, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps: Figure 1 or Figure 4 Steps of the method shown.
[0088] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor performs the following steps: Figure 1 or Figure 4 Steps of the method shown.
[0089] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0090] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0091] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A control method for a temperature controller, It is characterized in that The method comprises: In response to a temperature control operation performed by a user based on a user operation interface, a temperature control request is generated, wherein the temperature control request at least includes first temperature control information input by the user into the temperature controller; Determine second temperature control information under the current operating state of the temperature controller; Determining target temperature control information according to the first temperature control information and the second temperature control information; A target control instruction is generated according to the target temperature control information, and the target control instruction is executed.
2. The method according to claim 1, It is characterized in that The first temperature control information includes first temperature control data, the second temperature control information includes second temperature control data, and the first temperature control data and the second temperature control data both include temperature control data of at least one data type; The determining target temperature control information of the temperature controller according to the first temperature control information and the second temperature control information includes: comparing the data type in the first temperature control data with the data type in the second temperature control data; If the data type in the first temperature control data is exactly the same as the data type in the second temperature control data, determining the first temperature control information as the target temperature control information; If the data type in the first temperature control data is not completely the same as the data type in the second temperature control data, supplementing the first temperature control information with the second temperature control information to obtain processed first temperature control information; The processed first temperature control information is determined as the target temperature control information.
3. The method according to claim 2, It is characterized in that The supplementing the first temperature control information with the second temperature control information to obtain the processed first temperature control information includes: Traversing the first data type of the temperature control data included in the second temperature control information, and searching, for the traversed target first data type, the second data type of the temperature control data included in the first temperature control information to determine whether there is a target second data type that is the same as the target first data type; If the target second data type does not exist, determining that the first temperature control information lacks target temperature control data corresponding to the target first data type; The target temperature control data corresponding to the target first data type in the second temperature control information is added to the first temperature control information to obtain the processed first temperature control information.
4. The method according to claim 1, It is characterized in that After determining target temperature control information according to the first temperature control information and the second temperature control information, the method further includes: Based on a third data type of the temperature control data included in the target temperature control information, searching for a candidate interface set including the third data type from preset interface design parameters; The temperature control data included in the target temperature control information is synchronized to each candidate interface included in the candidate interface set.
5. The method according to claim 4, It is characterized in that The temperature control request also carries a target interface identifier, the candidate interface set includes multiple candidate interfaces and a first interface identifier of the candidate interface, and the interface identifier is used to uniquely identify an interface for human-computer interaction. Then, synchronizing the temperature control data included in the target temperature control information to each candidate interface included in the candidate interface set includes: Finding a target first interface identifier that is identical to the target interface identifier from among the first interface identifiers; Deleting the candidate interface corresponding to the target first interface identifier from the interface set to obtain an updated interface set; The temperature control data included in the target temperature control information is synchronized to each candidate interface included in the updated interface set.
6. The method according to claim 1, It is characterized in that The target temperature control information at least includes a temperature threshold, and the method further includes: Get the current temperature collected; If the current temperature is lower than the temperature threshold, a low temperature risk prompt is output to a preset client; If the current temperature is higher than the temperature threshold, a high temperature risk prompt is output to a preset client.
7. A control device for a temperature controller, It is characterized in that The device comprises: An operation response module, configured to generate a temperature control request in response to a temperature control operation performed by a user based on a user operation interface, wherein the temperature control request at least includes first temperature control information input by the user into the temperature controller; An information determination module, used to determine second temperature control information under the current operating state of the temperature controller; an information comparison module, configured to determine target temperature control information according to the first temperature control information and the second temperature control information; The instruction determination module is used to generate a target control instruction according to the target temperature control information and execute the target control instruction.
8. The control device according to claim 7, It is characterized in that The device also includes: A data synchronization module is used to search for a set of candidate interfaces including a third data type from preset interface design parameters based on the third data type of the temperature control data included in the target temperature control information; and synchronize the temperature control data included in the target temperature control information to each candidate interface included in the candidate interface set.
9. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.
10. A computer device comprising a memory and a processor, It is characterized in that The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 6.
