Air conditioner control method and device, server and computer readable storage medium
By storing the location and control parameters of air conditioning equipment in the server, and determining the control parameters of the target air conditioning equipment based on distance calculation weights, the problem of air conditioning being unable to adapt to the control needs of different regions is solved, realizing intelligent control of air conditioning and improving comfort.
Patent Information
- Application Number
- CN202310727728.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-19
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2043-06-19
AI Technical Summary
Existing intelligent air conditioning control solutions are difficult to adapt to the control needs of different regions and cannot guarantee appropriate control parameters, resulting in poor air conditioning comfort.
By storing the location information and control parameters of multiple air conditioning devices in the server, the control parameters of candidate air conditioning devices within a preset distance range are obtained based on the location information of the target air conditioning device. The weight of the control parameters is calculated according to the distance between each candidate air conditioning device and the target air conditioning device, and the appropriate control parameters for the target air conditioning device are determined.
It enables intelligent control of air conditioning equipment, improves air conditioning comfort, and provides users with a suitable indoor environment.
Smart Images

Figure CN116592496B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of air conditioner control, in particular to an air conditioner control method and device, a server and a computer readable storage medium. BACKGROUND
[0002] Air conditioner is an indispensable household appliance in people's daily life, which is used for cooling in summer and heating in winter to improve people's comfort in production and life. At present, air conditioners are developing towards intelligence to provide users with better experience.
[0003] In the prior art, when the intelligent control of air conditioners is performed, the rules are usually pre-set by the manufacturer, and the air conditioner operates according to the pre-set rules, which is difficult to adapt to the control requirements of different regions, and thus cannot guarantee appropriate control parameters, resulting in poor air conditioner comfort. SUMMARY
[0004] The problem solved by the present application is that the existing air conditioner intelligent control scheme is difficult to adapt to the control requirements of different regions, and cannot guarantee appropriate control parameters, resulting in poor air conditioner comfort.
[0005] To solve the above problems, the technical scheme adopted by the present application is as follows:
[0006] In a first aspect, the present application provides an air conditioner control method applied to a server, wherein the server is in communication connection with a plurality of air conditioner devices, and the server stores position information and control parameters of each air conditioner device; the method comprises:
[0007] After receiving an intelligent control instruction for a target air conditioner device, the position information of the target air conditioner device is obtained, and the control parameters of each candidate air conditioner device within a preset distance range are obtained with the position information of the target air conditioner device as the center;
[0008] According to the distance between each candidate air conditioner device and the target air conditioner device, the control parameter weight corresponding to each candidate air conditioner device is determined;
[0009] According to the control parameters of each candidate air conditioner device and the corresponding control parameter weight, the control parameter of the target air conditioner device is determined;
[0010] The control parameter of the target air conditioner device is sent to the target air conditioner device to control the operation of the target air conditioner device.
[0011] In the application, by storing the location information and control parameters of multiple air conditioning devices in the server, the server obtains the control parameters of each candidate air conditioning device within a preset distance range based on the location information of the target air conditioning device, and calculates the control parameter weight between each candidate air conditioning device and the target air conditioning device, which can represent the importance of the control parameters of the candidate air conditioning device. Therefore, according to the control parameters of each candidate air conditioning device and the corresponding control parameter weight, the appropriate control parameters of the target air conditioning device can be determined and delivered to the target air conditioning device, realizing the intelligent control of the target air conditioning device, improving the air conditioning comfort, and providing a suitable indoor environment for the user.
[0012] In an optional embodiment, the control parameters include numerical type control parameters, and the control parameter weight corresponding to each candidate air conditioning device is determined according to the distance between each candidate air conditioning device and the target air conditioning device, including:
[0013] The reciprocal of the distance between each candidate air conditioning device and the target air conditioning device is determined as the numerical type parameter weight corresponding to each candidate air conditioning device.
[0014] The control parameters of the target air conditioning device are determined according to the control parameters of each candidate air conditioning device and the corresponding control parameter weight, including:
[0015] The numerical type control parameters of the target air conditioning device are obtained by weighted average calculation of the numerical type control parameters of each candidate air conditioning device and the numerical type parameter weight corresponding to each candidate air conditioning device.
[0016] In the application, for numerical type control parameters, the reciprocal of the distance between the candidate air conditioning device and the target air conditioning device is used as the numerical type parameter weight corresponding to the candidate air conditioning device, and the numerical type control parameters corresponding to the target air conditioning device are determined by weighted average calculation of the numerical type parameter weight corresponding to each candidate air conditioning device and the numerical type control parameters.
[0017] In an optional embodiment, the numerical type control parameters of the target air conditioning device are obtained by weighted average calculation of the numerical type control parameters of each candidate air conditioning device and the numerical type parameter weight corresponding to each candidate air conditioning device, including:
[0018] The same numerical type control parameters corresponding to each candidate air conditioning device are multiplied by the numerical type parameter weight corresponding to each candidate air conditioning device, and the sum of the products is calculated to obtain the weighted value total sum.
[0019] Summing up the weight of the numerical type parameter corresponding to all candidate air conditioning devices to obtain a weight sum;
[0020] Divide the weighted value sum by the weight sum to obtain the control parameter of the numerical type corresponding to the target air conditioning device.
[0021] In the present application, when the weighted average calculation is performed according to the weight of the numerical type parameter corresponding to each candidate air conditioning device and the control parameter of the numerical type, the control parameter of the same numerical type corresponding to each candidate air conditioning device is multiplied by the corresponding weight of the numerical type parameter, then the sum of all weighted values is summed up, and finally the sum is divided by the sum of all weights of the numerical type parameter. Thus, the weighted average value, i.e. the control parameter of the numerical type corresponding to the target air conditioning device, can be calculated.
[0022] In an optional embodiment, the control parameter includes an enumerated type control parameter, and the weight of the control parameter corresponding to each candidate air conditioning device is determined according to the distance between each candidate air conditioning device and the target air conditioning device, including:
[0023] The weight of the enumerated type parameter corresponding to each candidate air conditioning device is calculated according to the formula wi=1 / (di α ); wherein wi represents the weight of the enumerated type parameter corresponding to each candidate air conditioning device, di represents the distance between each candidate air conditioning device and the target air conditioning device, and α represents a set constant.
[0024] The control parameter of the target air conditioning device is determined according to the control parameter of each candidate air conditioning device and the corresponding control parameter weight, including:
[0025] According to each target control parameter belonging to the same enumerated type in the control parameter of each candidate air conditioning device, the candidate air conditioning device using the target control parameter is determined, and the weight of the enumerated type parameter corresponding to the candidate air conditioning device using the target control parameter is added to obtain the weighted total value corresponding to the target control parameter.
[0026] The target control parameter with the maximum weighted total value in the same enumerated type is determined as the control parameter of the enumerated type corresponding to the target air conditioning device.
[0027] In the present application, for the control parameter of the enumerated type, 1 / (di α) as an enumeration type parameter weight corresponding to the candidate air conditioning equipment, the target control parameter corresponding to the maximum weighted total value is finally selected as the control parameter of the enumeration type corresponding to the target air conditioning equipment by calculating the weighted total value corresponding to each target control parameter belonging to the same enumeration type in the control parameter of each candidate air conditioning equipment.
[0028] In an optional embodiment, the method further comprises:
[0029] receiving the current control parameter reported by each air conditioning equipment at a preset time interval;
[0030] updating the currently stored control parameter according to the current control parameter of the air conditioning equipment.
[0031] In the application, in order to ensure the accuracy of the control parameter of each air conditioning equipment stored in the server, each air conditioning equipment will report the current control parameter at a preset time interval, so that the server updates the control parameter of each air conditioning equipment.
[0032] In an optional embodiment, the method further comprises:
[0033] renewing the control parameter of each candidate air conditioning equipment every preset time;
[0034] redetermining the control parameter of the target air conditioning equipment according to the renewed control parameter of each candidate air conditioning equipment and the corresponding control parameter weight, and issuing the redetermined control parameter of the target air conditioning equipment to the target air conditioning equipment.
[0035] In the application, considering that the control parameter of the candidate air conditioning equipment may change at any time, the server needs to redetermine the control parameter of the target air conditioning equipment according to the control parameter of the candidate air conditioning equipment and the corresponding weight every preset time, so as to realize the dynamic adjustment of the control parameter of the target air conditioning equipment and ensure the indoor comfort.
[0036] In an optional embodiment, the server is further in communication connection with a terminal device, and the intelligent control instruction is generated by the terminal device according to the key operation of the user and sent to the server.
[0037] In the application, in order to facilitate the use of the user, a one-key intelligent control function can be set on the terminal device, the terminal device can send the intelligent control instruction to the server when the user performs the one-key intelligent control operation on the terminal device, and the server issues the corresponding control parameter according to the intelligent control instruction, so as to realize the intelligent control of the target air conditioning.
[0038] In a second aspect, the present application provides an air conditioner control device applied to a server, wherein the server is in communication connection with a plurality of air conditioner devices, the server stores position information and control parameters of each air conditioner device; the device comprises:
[0039] a control parameter acquisition module, configured to acquire the position information of the target air conditioner device after receiving the intelligent control instruction for the target air conditioner device, and acquire the control parameters of each candidate air conditioner device within a preset distance range with the position information of the target air conditioner device as the center;
[0040] a weight determination module, configured to determine the control parameter weight corresponding to each candidate air conditioner device according to the distance between each candidate air conditioner device and the target air conditioner device;
[0041] a control parameter determination module, configured to determine the control parameter of the target air conditioner device according to the control parameters of each candidate air conditioner device and the corresponding control parameter weight;
[0042] a control parameter issuing module, configured to issue the control parameter of the target air conditioner device to the target air conditioner device, so as to control the operation of the target air conditioner device.
[0043] In a third aspect, the present application provides a server comprising a processor and a memory, wherein the memory stores a computer program capable of being executed by the processor, and the computer program is executed by the processor to realize the method according to any one of the preceding embodiments.
[0044] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the method according to any one of the preceding embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 An application environment schematic diagram of the air conditioner control method and device provided by the present application;
[0046] Figure 2 A flowchart of the air conditioner control method provided by the present application;
[0047] Figure 3 Another flowchart of the air conditioner control method provided by the present application;
[0048] Figure 4 Still another flowchart of the air conditioner control method provided by the present application;
[0049] Figure 5 A functional module schematic diagram of the air conditioner control device provided by the present application;
[0050] Figure 6 Another function module schematic diagram of the air conditioner control device provided by the application;
[0051] Figure 7 The structural block diagram of the server provided by the application.
[0052] Explanation of reference signs:
[0053] 100-server; 200-air conditioner; 300-terminal device; 400-air conditioner control device; 110-memory; 120-processor; 130-communication module; 410-control parameter acquisition module; 420-weight determination module; 430-control parameter determination module; 440-control parameter issuing module; 450-parameter updating module. DETAILED DESCRIPTION
[0054] In order to make the above-mentioned purposes, features and advantages of the application more obvious and easy to understand, the specific embodiments of the application will be described in detail below with reference to the drawings.
[0055] Please refer to Figure 1 The application environment schematic diagram of the air conditioner control method and device provided by the application. The server 100 can be in communication connection with multiple air conditioners 200 and terminal devices 300.
[0056] The terminal device 300 can be a smart phone, a tablet computer or the like, and an App (Application) can be installed in the terminal device 300, which can support device remote data query and command issuing control.
[0057] The air conditioner 200 can be built-in with a WIFI communication module and has data communication capability. Through WIFI communication, the user can control, view and upload data of the device, etc., so as to make it an intelligent and remotely controllable air conditioner.
[0058] The server 100 can be an IOT (Internet of Things) cloud server, which provides device connection communication and App connection communication capability. This means that it can serve as a centralized data center to communicate with various smart home devices and transmit their data to the App end for processing and visual display.
[0059] Next, the air conditioner control method and device provided by the application will be described in detail.
[0060] Please refer to Figure 2 One flowchart of the air conditioner control method provided by the application. It should be noted that the air conditioner control method of the application does not necessarily be limited to the order of the steps shown in the flowchart. Figure 2and the specific sequence below is limited. It should be understood that in other embodiments, the sequence of some steps of the air conditioner control method of the present application can be exchanged according to actual needs, or some steps can be omitted or deleted. The air conditioner control method can be applied in the server 100 described above. The specific process shown in the following will be described in detail. Figure 2
[0061] Step S201, after receiving the intelligent control instruction for the target air conditioner device, the position information of the target air conditioner device is obtained, and the control parameters of each candidate air conditioner device within a preset distance range are obtained with the position information of the target air conditioner device as the center.
[0062] In this embodiment, a Redis middleware (which can be understood as a database) is arranged in the server 100, and after each air conditioner device 200 is successfully configured, the latitude and longitude information (i.e. position information) of the device itself is stored in the GEO object of the Redis middleware. During the running process of each air conditioner device 200, the control parameters (running parameters) of the device itself are also reported to the server 100 for storage. That is to say, the position information and control parameters of each air conditioner device 200 can be stored in the server 100.
[0063] In this embodiment, the intelligent control instruction can be generated and sent to the server 100 by the terminal device according to the key operation of the user. That is to say, when the user wants to perform one-key intelligent control on the target air conditioner device, the APP on the terminal device 300 can be opened, and the corresponding air conditioner (target air conditioner device) is selected to start the one-key intelligent control function. The terminal device 300 responds to the key operation of the user and sends the corresponding intelligent control instruction to the server 100, and the intelligent control instruction carries the identification of the target air conditioner device.
[0064] In this embodiment, the preset distance range can be set according to the situation, for example, it can be set to be less than or equal to 50km. After receiving the intelligent control instruction, the server 100 obtains the position information of the target air conditioner device according to the identification of the target air conditioner device in the intelligent control instruction, and uses the georadius function of Redis to find all candidate air conditioner devices within 50km from the center point with the position information of the target air conditioner device as the center, and obtains the control parameters of these candidate air conditioner devices, such as temperature, mode, wind speed, etc.
[0065] Step S202, according to the distance between each candidate air conditioner device and the target air conditioner device, the control parameter weight corresponding to each candidate air conditioner device is determined.
[0066] In this embodiment, the server 100 can calculate the distance between the candidate air conditioning device and the target air conditioning device according to the location information of the candidate air conditioning device and the location information of the target air conditioning device.
[0067] Taking the longitude and latitude as the location information for example, the server 100 can substitute the longitude and latitude information of the candidate air conditioning device and the longitude and latitude information of the target air conditioning device into the formula of the secant, and calculate the distance between the candidate air conditioning device and the target air conditioning device. According to the calculated distance, the control parameter weight corresponding to each candidate air conditioning device is determined, that is, the control parameter weight can represent the importance of the control parameter of the candidate air conditioning device.
[0068] In step S203, the control parameter of the target air conditioning device is determined according to the control parameter of each candidate air conditioning device and the corresponding control parameter weight.
[0069] In this embodiment, since the control parameter weight can represent the importance of the control parameter of each candidate air conditioning device, the control parameter of each candidate air conditioning device is weighted by the control parameter weight corresponding to each candidate air conditioning device, so that the appropriate control parameter of the target air conditioning device can be determined.
[0070] In step S204, the control parameter of the target air conditioning device is sent to the target air conditioning device, so as to control the operation of the target air conditioning device.
[0071] In this embodiment, after the server 100 determines the control parameter of the target air conditioning device, the control parameter is sent to the target air conditioning device, and the target air conditioning device operates according to the received control parameter, so as to realize the intelligent control of the target air conditioning device.
[0072] It can be seen that, in the air conditioning control method provided by the present application, the location information and the control parameter of a plurality of air conditioning devices are stored in the server, the control parameter of each candidate air conditioning device within the preset distance range is obtained by the server based on the location information of the target air conditioning device, and the control parameter weight is calculated according to the distance between each candidate air conditioning device and the target air conditioning device, which can represent the importance of the control parameter of the candidate air conditioning device. Therefore, according to the control parameter of each candidate air conditioning device and the corresponding control parameter weight, the appropriate control parameter of the target air conditioning device can be determined and sent to the target air conditioning device, so as to realize the intelligent control of the target air conditioning device, improve the comfort of the air conditioning, and provide a suitable indoor environment for the user.
[0073] In practical applications, the control parameters of air conditioning equipment can be roughly divided into two categories: numerical type and enumeration type. The control parameters of numerical type can include temperature and the like, and the control parameters of enumeration type can include mode (cooling, heating, dehumidification, air supply, automatic), wind speed (silent, low, medium, high, powerful, automatic), left and right and up and down swing (left and right swing 1, left and right swing 2, left and right swing 3, left and right swing 4, left and right swing 5, up and down swing 1, up and down swing 2, up and down swing 3, up and down swing 4, up and down swing 5), fresh air function (on, off), and the like. For the control parameters of numerical type and enumeration type, different weight calculation methods and control parameter determination methods can be used, which will be described below.
[0074] For the control parameters of numerical type, the step S202 can include determining the reciprocal of the distance between each candidate air conditioning equipment and the target air conditioning equipment as the numerical type parameter weight corresponding to each candidate air conditioning equipment; and the step S203 can include performing weighted average calculation on the control parameters of numerical type of each candidate air conditioning equipment and the numerical type parameter weight corresponding to each candidate air conditioning equipment to obtain the control parameters of numerical type of the target air conditioning equipment.
[0075] That is, for the control parameters of numerical type, the reciprocal of the distance between the candidate air conditioning equipment and the target air conditioning equipment is used as the numerical type parameter weight corresponding to the candidate air conditioning equipment, and then the weighted average calculation is performed on the numerical type parameter weight corresponding to each candidate air conditioning equipment and the control parameters of numerical type to determine the control parameters of numerical type corresponding to the target air conditioning equipment.
[0076] In an embodiment, the server 100 can perform weighted average calculation according to the following manner: multiplying the same control parameters of numerical type corresponding to each candidate air conditioning equipment by the numerical type parameter weight corresponding to each candidate air conditioning equipment, respectively, performing summation calculation on the obtained products to obtain a weighted value total sum; performing summation calculation on the numerical type parameter weights corresponding to all candidate air conditioning equipment to obtain a weight total sum; and dividing the weighted value total sum by the weight total sum to obtain the control parameters of numerical type corresponding to the target air conditioning equipment.
[0077] That is, when performing weighted average calculation on the numerical type parameter weight corresponding to each candidate air conditioning equipment and the control parameters of numerical type, the same control parameters of numerical type corresponding to each candidate air conditioning equipment can be multiplied by the corresponding numerical type parameter weight, respectively, and then the summation of all weighted values is obtained, and finally the total sum is divided by the total sum of all numerical type parameter weights, so that the weighted average value, i.e., the control parameters of numerical type corresponding to the target air conditioning equipment, can be calculated.
[0078] Taking the temperature parameter as an example, each candidate air conditioning device is taken as a sampling point and is marked as Q1, Q2, …, Qn respectively, and the temperature parameter corresponding to each sampling point is V1, V2, …, Vn respectively. The target air conditioning device is marked as P. The distance di between Qi and P can be calculated according to the position information of each candidate air conditioning device Qi and the target air conditioning device P. Then the value type parameter weight wi corresponding to each candidate air conditioning device Qi can be represented as wi=1 / di, and the temperature parameter V corresponding to the target air conditioning device can be represented as V=(w1*V1+w2*V2+…+wn*Vn) / (w1+w2+…+wn).
[0079] For example, 10 kilometers away from the target air conditioning device, there is an air conditioner with an execution temperature of 24, and the value type parameter weight w1=1 / 10; 30 kilometers away from the target air conditioning device, there is an air conditioner with an execution temperature of 28, and the value type parameter weight w2=1 / 30; 20 kilometers away from the target air conditioning device, there is an air conditioner with an execution temperature of 26, and the value type parameter weight w3=1 / 20. The temperature parameter V corresponding to the target air conditioning device is V=(1 / 10*24+1 / 30*28+1 / 20*26) / (1 / 10+1 / 30+1 / 20)≈25.27, and the temperature parameter issued by the server 100 to the target air conditioning device can be 25.5 degrees (step 0.5).
[0080] For the control parameters of the enumeration type, the above step S202 can include: calculating the enumeration type parameter weight corresponding to each candidate air conditioning device according to the formula wi=1 / (di α ); wherein wi represents the enumeration type parameter weight corresponding to each candidate air conditioning device, di represents the distance between each candidate air conditioning device and the target air conditioning device, and a represents a set constant; and the above step S203 can include: determining the candidate air conditioning device using the target control parameter according to each target control parameter belonging to the same enumeration type in the control parameter of each candidate air conditioning device, and adding the enumeration type parameter weight corresponding to the candidate air conditioning device using the target control parameter to obtain the weighted total value corresponding to the target control parameter; and determining the target control parameter with the largest weighted total value in the same enumeration type as the control parameter of the enumeration type corresponding to the target air conditioning device.
[0081] That is, for the control parameters of the enumeration type, 1 / (di α) as an enumeration type parameter weight corresponding to the candidate air conditioning equipment, by calculating the weighted total value corresponding to each target control parameter belonging to the same enumeration type in the control parameters of each candidate air conditioning equipment, finally selecting the target control parameter corresponding to the maximum weighted total value as the control parameter of the enumeration type corresponding to the target air conditioning equipment. Wherein, a can be adjusted according to the actual situation, for example, a can be 1, 2, 3, etc.
[0082] For example, a = 1, 10 kilometers away from the target air conditioning equipment, there is an air conditioner 1 executing mode for refrigeration, and the execution wind speed is high, then the enumeration type parameter weight w1 = 1 / 10; 30 kilometers away from the target air conditioning equipment, there is an air conditioner 2 executing mode for refrigeration, and the execution wind speed is medium, then the enumeration type parameter weight w2 = 1 / 30; 20 kilometers away from the target air conditioning equipment, there is an air conditioner 3 executing mode for air supply, and the execution wind speed is low, then the enumeration type parameter weight w3 = 1 / 20; 25 kilometers away from the target air conditioning equipment, there is an air conditioner 4 executing mode for dehumidification, and the execution wind speed is low, then the enumeration type parameter weight w4 = 1 / 25.
[0083] Among the enumeration type control parameters of the above 4 candidate air conditioning equipment, refrigeration, air supply and dehumidification all belong to the enumeration type of mode parameter, wherein the candidate air conditioning equipment using the target control parameter "refrigeration" in the mode parameter is air conditioner 1 and air conditioner 2, then the enumeration type parameter weights of air conditioner 1 and air conditioner 2 are added to obtain the weighted total value W(Refrigeration) corresponding to the target control parameter "refrigeration" W(Refrigeration) = w1 + w2 = 1 / 10 + 1 / 30; The candidate air conditioning equipment using the target control parameter "air supply" is air conditioner 3, then the weighted total value W(Air supply) corresponding to the target control parameter "air supply" W(Air supply) = w3 = 1 / 20; Similarly, the weighted total value W(Dehumidification) corresponding to the target control parameter "dehumidification" W(Dehumidification) = w4 = 1 / 25.
[0084] The high, medium and low wind speed all belong to the enumeration type of wind speed parameter, wherein the candidate air conditioning equipment using the target control parameter "high wind speed" in the wind speed parameter is air conditioner 1, then the weighted total value W(High wind speed) corresponding to the target control parameter "high wind speed" W(High wind speed) = w1 = 1 / 10; The candidate air conditioning equipment using the target control parameter "medium wind speed" is air conditioner 2, then the weighted total value W(Medium wind speed) corresponding to the target control parameter "medium wind speed" W(Medium wind speed) = w1 = 1 / 30; The candidate air conditioning equipment using the target control parameter "low wind speed" is air conditioner 3 and air conditioner 4, then the enumeration type parameter weights of air conditioner 3 and air conditioner 4 are added to obtain the weighted total value W(Low wind speed) corresponding to the target control parameter "low wind speed" W(Low wind speed) = w3 + w4 = 1 / 20 + 1 / 25.
[0085] Since W(Refrigeration) > W(Air supply) > W(Dehumidification), W(High wind speed) > W(Low wind speed) > W(Medium wind speed), therefore the mode parameter issued by the server 100 to the target air conditioning equipment can be refrigeration, and the wind speed parameter can be high wind speed.
[0086] In actual application, in order to ensure the accuracy of the control parameters of each air conditioning device 200 stored in the server 100, each air conditioning device 200 will report the current control parameters at a preset time interval, so that the server 100 updates the control parameters of each air conditioning device 200. Based on this, please refer to Figure 3 The air conditioning control method provided by the embodiment of the present application can further comprise:
[0087] Step S301, receiving the current control parameters reported by each air conditioning device at a preset time interval.
[0088] Step S302, updating the current stored control parameters according to the current control parameters of the air conditioning device.
[0089] The preset time interval can be set according to actual conditions, for example, it can be set to report once every 15 minutes.
[0090] In this way, by each air conditioning device 200 reporting the current control parameters at a preset time interval, the server 100 updates the control parameters of each air conditioning device 200, effectively ensuring the accuracy of the control parameters of each air conditioning device 200 stored in the server 100.
[0091] Since the control parameters of each air conditioning device 200 can change at any time, the control parameters of the target air conditioning device also need to be adjusted adaptively. Based on this, please refer to Figure 4 The air conditioning control method provided by the embodiment of the present application can further comprise:
[0092] Step S401, reacquiring the control parameters of each candidate air conditioning device every preset time.
[0093] Step S402, re-determining the control parameters of the target air conditioning device according to the reacquired control parameters of each candidate air conditioning device and the corresponding control parameter weight, and issuing the re-determined control parameters of the target air conditioning device to the target air conditioning device.
[0094] That is to say, the server 100 will reacquire the control parameters of each candidate air conditioning device within a preset distance range every preset time, and determine the control parameters of the target air conditioning device according to the reacquired control parameters of each candidate air conditioning device and the corresponding control parameter weight in the manner of the foregoing embodiment, and issue the re-determined control parameters of the target air conditioning device to the target air conditioning device. In this way, the dynamic adjustment of the control parameters of the target air conditioning device can be realized, and the indoor comfort can be ensured.
[0095] In order to perform the corresponding steps in the above-mentioned embodiments and various possible manners, an implementation manner of the air conditioner control device is given below. Please refer to Figure 5 A functional module diagram of an air conditioner control device 400 provided in an embodiment of the present application is shown in the figure. It should be noted that the air conditioner control device 400 provided in the present embodiment has the same basic principle and technical effects as the above-mentioned embodiments. For brief description, the part not mentioned in the present embodiment can be referred to the corresponding content in the above-mentioned embodiments. The air conditioner control device 400 includes a control parameter acquisition module 410, a weight determination module 420, a control parameter determination module 430, and a control parameter issuing module 440.
[0096] The control parameter acquisition module 410 is configured to, after receiving the intelligent control instruction for the target air conditioner device, acquire the position information of the target air conditioner device, and acquire the control parameters of each candidate air conditioner device within a preset distance range with the position information of the target air conditioner device as the center.
[0097] It can be understood that the control parameter acquisition module 410 can perform the above-mentioned step S201.
[0098] The weight determination module 420 is configured to determine the control parameter weight corresponding to each candidate air conditioner device according to the distance between each candidate air conditioner device and the target air conditioner device.
[0099] It can be understood that the weight determination module 420 can perform the above-mentioned step S202.
[0100] The control parameter determination module 430 is configured to determine the control parameter of the target air conditioner device according to the control parameters of each candidate air conditioner device and the corresponding control parameter weight.
[0101] It can be understood that the control parameter determination module 430 can perform the above-mentioned step S203.
[0102] The control parameter issuing module 440 is configured to issue the control parameter of the target air conditioner device to the target air conditioner device, so as to control the target air conditioner device to operate.
[0103] It can be understood that the control parameter issuing module 440 can perform the above-mentioned step S204.
[0104] Optionally, the control parameter includes a numerical type control parameter, the weight determination module 420 can be configured to determine the reciprocal of the distance between each candidate air conditioner device and the target air conditioner device as the numerical type parameter weight corresponding to each candidate air conditioner device; and the control parameter determination module 430 can be configured to perform weighted average calculation according to the numerical type control parameters of each candidate air conditioner device and the numerical type parameter weight corresponding to each candidate air conditioner device, to obtain the numerical type control parameter of the target air conditioner device.
[0105] Optionally, the control parameter determination module 430 is specifically configured to multiply the control parameter of the same numerical type corresponding to each candidate air conditioning device by the numerical type parameter weight corresponding to each candidate air conditioning device, perform summation calculation on the obtained products to obtain a weighted value sum, perform summation calculation on the numerical type parameter weights corresponding to all candidate air conditioning devices to obtain a weight sum, and divide the weighted value sum by the weight sum to obtain the control parameter of the numerical type corresponding to the target air conditioning device.
[0106] Optionally, the control parameter includes an enumeration type control parameter, and the weight determination module 420 can be configured to calculate the enumeration type parameter weight corresponding to each candidate air conditioning device according to a formula wi = 1 / (di α ), where wi represents the enumeration type parameter weight corresponding to each candidate air conditioning device, di represents the distance between each candidate air conditioning device and the target air conditioning device, and a represents a set constant; and the control parameter determination module 430 can be configured to determine, according to each target control parameter belonging to the same enumeration type in the control parameter of each candidate air conditioning device, a candidate air conditioning device using the target control parameter, add the enumeration type parameter weights corresponding to the candidate air conditioning devices using the target control parameter to obtain a weighted total value corresponding to the target control parameter, and determine, as the control parameter of the enumeration type corresponding to the target air conditioning device, the target control parameter with the largest weighted total value in the same enumeration type.
[0107] Optionally, referring to Figure 6 The air conditioner control apparatus 400 can further include a parameter update module 450 configured to receive current control parameters reported by each air conditioning device at a preset time interval, and update the currently stored control parameters according to the current control parameters of the air conditioning device.
[0108] It can be understood that the parameter update module 450 can perform the above steps S301 and S302.
[0109] Optionally, the control parameter acquisition module 410 can be further configured to reacquire the control parameters of each candidate air conditioning device at a preset time interval, the control parameter determination module 430 can be further configured to re-determine the control parameter of the target air conditioning device according to the reacquired control parameters of each candidate air conditioning device and the corresponding control parameter weight, and the control parameter delivery module 440 can be further configured to deliver the re-determined control parameter of the target air conditioning device to the target air conditioning device.
[0110] It can be understood that the control parameter acquisition module 410 can further perform the above step S401, and the control parameter determination module 430 and the control parameter delivery module 440 can further perform the above step S402.
[0111] It can be seen that the air conditioner control device provided by the application comprises a control parameter acquisition module, a weight determination module, a control parameter determination module and a control parameter issuing module. After receiving an intelligent control instruction for a target air conditioner device, the control parameter acquisition module acquires position information of the target air conditioner device, and acquires control parameters of each candidate air conditioner device within a preset distance range with the position information of the target air conditioner device as the center. The weight determination module determines the control parameter weight corresponding to each candidate air conditioner device according to the distance between each candidate air conditioner device and the target air conditioner device. The control parameter determination module determines the control parameter of the target air conditioner device according to the control parameter of each candidate air conditioner device and the corresponding control parameter weight. The control parameter issuing module issues the control parameter of the target air conditioner device to the target air conditioner device, so as to control the operation of the target air conditioner device. By storing the position information and control parameters of a plurality of air conditioner devices in the server, the control parameters of each candidate air conditioner device within a preset distance range are acquired based on the position information of the target air conditioner device, and the control parameter weight is calculated according to the distance between each candidate air conditioner device and the target air conditioner device. The control parameter weight can represent the importance of different control parameters. Therefore, according to the control parameter of each candidate air conditioner device and the corresponding control parameter weight, the appropriate control parameter of the target air conditioner device can be determined and issued to the target air conditioner device, the intelligent control of the target air conditioner device is realized, the air conditioner comfort is improved, and a suitable indoor environment is provided for the user.
[0112] Please refer to Figure 7 The server 100 provided by the embodiments of the application has the structure diagram as shown in the figure. The server 100 can comprise a memory 110, a processor 120 and a communication module 130. The memory 110, the processor 120 and the communication module 130 are directly or indirectly electrically connected with each other to realize the transmission or interaction of data. For example, these elements can be electrically connected with each other through one or more communication buses or signal lines.
[0113] The memory 110 is used for storing programs or data, such as the program instructions / modules corresponding to the air conditioner control method and device provided by the application. The memory 110 can be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (EPROM), an electrically erasable programmable read only memory (EEPROM) and the like.
[0114] The processor 120 is configured to read / write data or programs stored in the memory 110 and perform corresponding functions.
[0115] The communication module 130 is configured to establish a communication connection between the server 100 and other devices (e.g., the air conditioning device 200) and transmit / receive data. Figure 1
[0116] It should be understood that the structure shown is merely illustrative, and the server 100 can further include more or less components than those shown in the figure, or have a different configuration from that shown in the figure. Figure 7 Figure 7 It should be understood that the structure shown is merely illustrative, and the server 100 can further include more or less components than those shown in the figure, or have a different configuration from that shown in the figure. Figure 7 Figure 7 The components shown in the figure can be implemented in hardware, software, or a combination thereof.
[0117] The present application also provides a computer readable storage medium having a computer program stored thereon, which, when executed by the processor 120, implements the air conditioner control method disclosed in the present application.
[0118] The above merely provides preferred embodiments of the present application but is not intended to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An air conditioning control method, characterized in that, The method is applied to a server, which is communicatively connected to multiple air conditioning devices, and stores the location information and control parameters of each air conditioning device; the method includes: After receiving the intelligent control command for the target air conditioning device, the location information of the target air conditioning device is obtained, and the control parameters of each candidate air conditioning device within a preset distance range are obtained with the location information of the target air conditioning device as the center. The control parameter weights corresponding to each candidate air conditioning device are determined based on the distance between each candidate air conditioning device and the target air conditioning device; the control parameter weights corresponding to each candidate air conditioning device are inversely proportional to the distance between each candidate air conditioning device and the target air conditioning device. The control parameters of the target air conditioning device are determined based on the control parameters of each candidate air conditioning device and the corresponding control parameter weights. The control parameters of the target air conditioning equipment are sent to the target air conditioning equipment to control its operation.
2. The air conditioning control method according to claim 1, characterized in that, The control parameters include numerical control parameters. Determining the control parameter weight for each candidate air conditioner based on the distance between each candidate air conditioner and the target air conditioner includes: The reciprocal of the distance between each candidate air conditioner and the target air conditioner is used to determine the weight of the numerical type parameter corresponding to each candidate air conditioner. The step of determining the control parameters of the target air conditioning device based on the control parameters of each candidate air conditioning device and the corresponding control parameter weights includes: The control parameters of the target air conditioning device are obtained by weighted averaging the control parameters of the numerical type of each candidate air conditioning device and the corresponding numerical type parameter weights of each candidate air conditioning device.
3. The air conditioning control method according to claim 2, characterized in that, The step of calculating the control parameters of the target air conditioning device by weighted averaging the control parameters of the numerical type of each candidate air conditioning device and the corresponding weights of the numerical type parameters of each candidate air conditioning device includes: Multiply the control parameters of the same numerical type corresponding to each candidate air conditioning device by the weight of the numerical type parameter corresponding to each candidate air conditioning device, and sum the products to obtain the weighted sum. The weights of the numerical type parameters corresponding to all candidate air conditioning devices are summed to obtain the total weight. Dividing the sum of the weighted values by the sum of the weights yields the control parameters of the numerical type corresponding to the target air conditioning device.
4. The air conditioning control method according to claim 1, characterized in that, The control parameters include enumerated control parameters. The step of determining the control parameter weight for each candidate air conditioner based on the distance between each candidate air conditioner and the target air conditioner includes: According to the formula wi=1 / (di) α Calculate the weight of the enumeration type parameter corresponding to each candidate air conditioner; where wi represents the weight of the enumeration type parameter corresponding to each candidate air conditioner, di represents the distance between each candidate air conditioner and the target air conditioner, and α represents a set constant; The step of determining the control parameters of the target air conditioning device based on the control parameters of each candidate air conditioning device and the corresponding control parameter weights includes: Based on each target control parameter belonging to the same enumeration type among the control parameters of each candidate air conditioning device, the candidate air conditioning device using the target control parameter is determined, and the weights of the enumeration type parameters corresponding to the candidate air conditioning devices using the target control parameter are added together to obtain the weighted total value corresponding to the target control parameter. The target control parameter with the largest weighted total value in the same enumeration type is determined as the control parameter of the enumeration type corresponding to the target air conditioning equipment.
5. The air conditioning control method according to claim 1, characterized in that, The method further includes: Receive current control parameters reported by each of the air conditioning devices at preset time intervals; The currently stored control parameters are updated based on the current control parameters of the air conditioning equipment.
6. The air conditioning control method according to claim 1, characterized in that, The method further includes: The control parameters of each candidate air conditioning device are reacquired at preset intervals. Based on the re-acquired control parameters of each candidate air conditioning device and the corresponding control parameter weights, the control parameters of the target air conditioning device are re-determined, and the re-determined control parameters of the target air conditioning device are sent to the target air conditioning device.
7. The air conditioning control method according to any one of claims 1-6, characterized in that, The server is also connected to the terminal device, and the intelligent control commands are generated by the terminal device based on the user's key presses and sent to the server.
8. An air conditioning control device, characterized in that, The device is applied to a server, which is communicatively connected to multiple air conditioning units, and stores the location information and control parameters of each air conditioning unit; the device includes: The control parameter acquisition module is used to acquire the location information of the target air conditioning device after receiving the intelligent control command for the target air conditioning device, and to acquire the control parameters of each candidate air conditioning device within a preset distance range with the location information of the target air conditioning device as the center. The weight determination module is used to determine the control parameter weight corresponding to each candidate air conditioner based on the distance between each candidate air conditioner and the target air conditioner; the control parameter weight corresponding to each candidate air conditioner is inversely proportional to the distance between each candidate air conditioner and the target air conditioner. The control parameter determination module is used to determine the control parameters of the target air conditioning device based on the control parameters of each candidate air conditioning device and the corresponding control parameter weights. The control parameter sending module is used to send the control parameters of the target air conditioning equipment to the target air conditioning equipment so as to control the operation of the target air conditioning equipment.
9. A server, characterized in that, It includes a processor and a memory, the memory storing a computer program that can be executed by the processor, the computer program implementing the method as described in any one of claims 1-7 when executed by the processor.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Method and device for determining air conditioner outdoor environment parameter as well as computer storage medium
CN109373526A
Positioning system and positioning method for air conditioning equipment
CN116027265A