Rental air conditioning control method, equipment, storage medium and device
By introducing a command forwarding device into the rental air-conditioning control system and establishing a communication sub-network with the rental air-conditioning, the problem of loss of connection of the rental air-conditioning equipment is solved, higher control reliability is achieved, the loss of connection problem of the equipment in the existing technology is avoided, and the reliability of the rental air-conditioning control is improved.
Patent Information
- Application Number
- CN202110861818.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-28
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2041-07-28
AI Technical Summary
In existing technologies, when all rental air conditioners in an area are connected to the base station through the NB-IoT cellular network, the communication bandwidth is narrow and cannot meet the communication needs of all rental air conditioners at the same time, resulting in some devices losing connection.
When receiving a rental air conditioner control command, the system searches for and establishes a communication sub-network between the command forwarding device and the rental air conditioner to be controlled, and uses the command forwarding device to forward the control command to the rental air conditioner, thus avoiding all rental air conditioners connecting to the base station through the NB-IoT cellular network.
The reliability of rental air conditioning control is improved, avoiding the problem of equipment loss caused by the narrow communication bandwidth of the NB-IoT cellular network.
Smart Images

Figure CN115682325B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioning, and in particular to a rental air conditioning control method, equipment, storage medium and device. Background Art
[0002] Currently, rental air conditioners typically connect to base stations via Narrowband Internet of Things (NB-IoT), which in turn connects to servers via TCP / IP. However, if all rental air conditioners in a region are connected to base stations via the NB-IoT cellular network, the narrow bandwidth of the NB-IoT cellular network cannot simultaneously meet the communication needs of all the rental air conditioners, resulting in some devices being easily disconnected.
[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of the present invention is to provide a rental air conditioner control method, equipment, storage medium and device, aiming to solve the technical problem in the prior art that when all rental air conditioners in a region are connected to the base station through the NB-IoT cellular network, the communication bandwidth of the NB-IoT cellular network is relatively narrow and cannot meet the communication needs of all rental air conditioners at the same time, resulting in the easy loss of connection of some devices.
[0005] To achieve the above object, the present invention provides a rental air conditioner control method, which includes the following steps:
[0006] Upon receiving a rental air conditioner control instruction, searching for an instruction forwarding device corresponding to the rental air conditioner to be controlled, wherein the instruction forwarding device has previously established a communication sub-network with the rental air conditioner to be controlled; and
[0007] The rental air conditioner control instruction is sent to the instruction forwarding device, so that the instruction forwarding device forwards the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork.
[0008] Optionally, before searching for the instruction forwarding device corresponding to the rental air conditioner to be controlled upon receiving the rental air conditioner control instruction, the method further includes:
[0009] Acquire rental air conditioner information of a target area, and select a target air conditioner from the rental air conditioners in the target area based on the rental air conditioner information;
[0010] Grouping the rental air conditioners based on the target air conditioner to obtain a rental air conditioner group; and
[0011] A communication subnetwork is established with the target air conditioner as the instruction forwarding device of the rental air conditioner group.
[0012] Optionally, acquiring rental air conditioner information of a target area, and selecting a target air conditioner from the rental air conditioners in the target area based on the rental air conditioner information, includes:
[0013] Acquire rental air conditioner information of a target area, and extract air conditioner signal information and air conditioner quantity information from the rental air conditioner information;
[0014] Sorting the rental air conditioners in the target area according to the air conditioner signal information to obtain a sorting result; and
[0015] A target air conditioner is selected from the leased air conditioners according to the air conditioner quantity information and the ranking result.
[0016] Optionally, selecting a target air conditioner from the leased air conditioners according to the air conditioner quantity information and the ranking result includes:
[0017] Obtaining an air conditioning capacity coefficient of the target area, and determining the number of instruction forwarding devices according to the air conditioner quantity information and the air conditioning capacity coefficient; and
[0018] A target air conditioner is selected from the leased air conditioners according to the number of the instruction forwarding devices and the sorting result.
[0019] Optionally, grouping the leased air conditioners based on the target air conditioner to obtain a leased air conditioner group includes:
[0020] Acquire signal strength information of the target air conditioner and distance information between the target air conditioner and the rented air conditioner; and
[0021] The rental air conditioners are grouped according to the signal strength information and the distance information to obtain a rental air conditioner group.
[0022] Optionally, sending the rental air conditioner control instruction to an instruction forwarding device includes:
[0023] Sending a status query instruction to the instruction forwarding device, so that the instruction forwarding device queries the status of the rental air conditioner to be controlled through the communication subnetwork;
[0024] receiving the status of the rental air conditioner to be controlled fed back by the instruction forwarding device; and
[0025] When the state is online, the rental air conditioner control instruction is sent to an instruction forwarding device.
[0026] Optionally, upon receiving the rental air conditioner control instruction, searching for an instruction forwarding device corresponding to the rental air conditioner to be controlled includes:
[0027] Upon receiving a rental air conditioner control instruction, sending the rental air conditioner control instruction to the rental air conditioner to be controlled via a preset communication network; and
[0028] When the sending fails, the command forwarding device corresponding to the rental air conditioner to be controlled is searched.
[0029] In addition, to achieve the above-mentioned purpose, the present invention also proposes a rental air-conditioning control device, which includes a memory, a processor, and a rental air-conditioning control program stored on the memory and runnable on the processor, and the rental air-conditioning control program is configured to implement the rental air-conditioning control method as described above.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a rental air conditioner control program is stored. When the rental air conditioner control program is executed by a processor, the rental air conditioner control method as described above is implemented.
[0031] In addition, to achieve the above-mentioned purpose, the present invention further proposes a rental air conditioning control device, the rental air conditioning control device comprising:
[0032] A device search module is used to search for a command forwarding device corresponding to the rental air conditioner to be controlled upon receiving a control command for the rental air conditioner, wherein the command forwarding device has previously established a communication sub-network with the rental air conditioner to be controlled;
[0033] The instruction sending module is used to send the rental air conditioner control instruction to the instruction forwarding device, so that the instruction forwarding device forwards the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork.
[0034] The present invention searches for the instruction forwarding device corresponding to the rental air conditioner to be controlled when receiving the rental air conditioner control instruction. The instruction forwarding device establishes a communication sub-network with the rental air conditioner to be controlled in advance, and sends the rental air conditioner control instruction to the instruction forwarding device, so that the instruction forwarding device forwards the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication sub-network. In this way, the rental air conditioner control instruction can be forwarded by the instruction forwarding device, and there is no need for all rental air conditioners to be connected to the base station through the NB-IoT cellular network, thereby avoiding the defect of some devices losing connection due to the narrow communication bandwidth of the NB-IoT cellular network, and improving the reliability of the rental air conditioner control. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a structural diagram of a rental air conditioning control device in a hardware operating environment involved in an embodiment of the present invention;
[0036] Figure 2 This is a flow chart of a first embodiment of a rental air conditioner control method according to the present invention;
[0037] Figure 3 A schematic diagram of a rental air conditioner control method according to an embodiment of the present invention;
[0038] Figure 4 This is a flow chart of a second embodiment of a rental air conditioner control method according to the present invention;
[0039] Figure 5 This is a flow chart of a third embodiment of a rental air conditioner control method according to the present invention;
[0040] Figure 6 This is a flow chart of a fourth embodiment of a rental air conditioner control method according to the present invention;
[0041] Figure 7 This is a structural block diagram of the first embodiment of the rental air conditioning control device of the present invention.
[0042] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0043] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0044] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a rental air conditioning control device in the hardware operating environment involved in the embodiment of the present invention.
[0045] like Figure 1As shown, the rental air conditioning control device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), and optionally the user interface 1003 may also include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable memory (NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0046] Those skilled in the art will understand that Figure 1 The structure shown in does not constitute a limitation on the rental air conditioning control equipment, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0047] like Figure 1 As shown, the memory 1005 identified as a computer storage medium may include an operating system, a network communication module, a user interface module, and a rental air conditioning control program.
[0048] exist Figure 1 In the rental air conditioning control device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the user device; the rental air conditioning control device calls the rental air conditioning control program stored in the memory 1005 through the processor 1001, and executes the rental air conditioning control method provided by the embodiment of the present invention.
[0049] Based on the above hardware structure, an embodiment of the rental air conditioning control method of the present invention is proposed.
[0050] Reference Figure 2 , Figure 2 This is a flow chart of the first embodiment of the rental air conditioner control method of the present invention, which provides the first embodiment of the rental air conditioner control method of the present invention.
[0051] Step S10: When receiving the rental air conditioner control instruction, searching for the instruction forwarding device corresponding to the rental air conditioner to be controlled, wherein the instruction forwarding device has previously established a communication sub-network with the rental air conditioner to be controlled.
[0052] It should be understood that the execution subject of the method of this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a server, or other electronic devices capable of performing the same or similar functions, and this embodiment is not limited thereto. In this embodiment and other embodiments, the rental of air conditioning control equipment is used as an example for illustration.
[0053] It should be noted that the user can initiate a rental air conditioner control command through the client corresponding to the rental air conditioner control device. The rental air conditioner control command can be at least one of a rental air conditioner status query command, a rental air conditioner unlock command, and a rental air conditioner remote diagnosis command, which is not limited in this embodiment.
[0054] It is understood that receiving a rental air conditioner control command indicates that the user wishes to control the rental air conditioner. Therefore, it is necessary to first identify the rental air conditioner to be controlled. This identification may include extracting an air conditioner identifier from the rental air conditioner control command and identifying the rental air conditioner to be controlled based on the identifier. The air conditioner identifier represents the identity of the air conditioner.
[0055] It should be understood that the step of determining the command forwarding device may specifically include searching a preset device table for the command forwarding device corresponding to the rental air conditioner to be controlled. The preset device table includes a correspondence between rental air conditioners and command forwarding devices. This correspondence between rental air conditioners and command forwarding devices may be pre-entered by the administrator of the rental air conditioner control device, or may be automatically entered by the rental air conditioner control device when the command forwarding device establishes a communication sub-network with the rental air conditioner. This embodiment is not limited thereto.
[0056] It should be noted that the communication subnetwork may be a short-range wireless communication network. The short-range wireless communication network may be at least one of a Bluetooth communication subnetwork, a Zigbee communication subnetwork, and a WiFi communication subnetwork. In this embodiment and other embodiments, the Bluetooth communication subnetwork is used as the communication subnetwork for illustration.
[0057] It can be understood that after the command forwarding device establishes a communication sub-network with the rental air conditioner to be controlled in advance, the rental air conditioner control command no longer needs to be sent to all rental air conditioners through the Narrow Band Internet of Things (NB-IoT). It only needs to be sent to the command forwarding device through the NB-IoT network, and then the command forwarding device sends it to the rental air conditioner through the Bluetooth communication sub-network, thereby avoiding the defect of some devices losing connection due to the narrow communication bandwidth of the NB-IoT cellular network, and improving the reliability of rental air conditioner control.
[0058] It should be noted that the instruction forwarding device may be a device capable of establishing a short-range wireless communication network.
[0059] Step S20: sending the rental air conditioner control instruction to the instruction forwarding device, so that the instruction forwarding device forwards the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork.
[0060] It should be noted that the rental air conditioning control device and the command forwarding device can communicate through the NB-IoT network to ensure the reliability of communication.
[0061] It should be understood that after receiving the rental air conditioner control instruction, the instruction forwarding device can forward the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork.
[0062] For easier understanding, refer to Figure 3 This is for illustration only, but does not limit this solution. Figure 3 This is a schematic diagram of rental air conditioning control, which includes instruction forwarding devices S1, S2, and rental air conditioners 1, 2, 3, 4, 5, 6, 7, and 8.
[0063] A first Bluetooth communication sub-network is established between the instruction forwarding device S1 and the rental air conditioners 1, 2, 3, and 4, and a second Bluetooth communication sub-network is established between the instruction forwarding device S2 and the rental air conditioners 5, 6, 7, and 8.
[0064] According to the rental air conditioner control instruction, it is determined that the rental air conditioner to be controlled is 3, and the instruction forwarding device corresponding to the rental air conditioner 3 to be controlled is S1. The rental air conditioner control device first sends the rental air conditioner control instruction to the instruction forwarding device S1 through the NB-IoT network, and then the instruction forwarding device S1 forwards the rental air conditioner control instruction to the rental air conditioner 3 to be controlled through the first Bluetooth communication subnetwork.
[0065] In a specific implementation, for example, the rental air conditioner control device sends a status query command to the command forwarding device, which then queries the status of each rental air conditioner one by one. Because internal queries are performed via Bluetooth communication between each rental air conditioner, a reliable transmission channel is established as long as the rental air conditioner is powered on, preventing loss of connection. The command forwarding device obtains the status of each rental air conditioner and then reports it to the rental air conditioner control device.
[0066] Compared with the existing technology in which all rental air conditioners in the area are connected to the base station through the NB-IoT cellular network, this embodiment first sends the rental air conditioner control instructions to the instruction forwarding device through the NB-IoT cellular network, and then the instruction forwarding device forwards the rental air conditioner control instructions to the rental air conditioner to be controlled through the Bluetooth subnet. Therefore, there is no need for all rental air conditioners to connect to the base station through the NB-IoT cellular network, thereby avoiding the defect of some devices losing connection due to the narrow communication bandwidth of the NB-IoT cellular network, and improving the reliability of rental air conditioner control.
[0067] Reference Figure 4 , Figure 4 This is a flow chart of the second embodiment of the rental air conditioning control method of the present invention, based on the above Figure 2 The first embodiment shown here provides a second embodiment of the rental air conditioner control method of the present invention.
[0068] In the second embodiment, before step S10, the method further includes:
[0069] Step S01: obtaining rental air conditioner information of a target area, and selecting a target air conditioner from the rental air conditioners in the target area based on the rental air conditioner information.
[0070] It should be noted that the target area may be an area where rental air conditioners are installed, for example, a school, community, or residential area where rental air conditioners are installed.
[0071] The rental air conditioner information may include air conditioner model information, air conditioner signal information, and air conditioner quantity information.
[0072] It should be understood that some models of rental air conditioners have strong communication capabilities and are suitable for use as command forwarding devices. Therefore, step S01 may specifically include extracting the air conditioner model information from the rental air conditioner information and matching the air conditioner model information with preset model information. If a match is successful, the matching rental air conditioner is selected as the target air conditioner. The preset model information can be pre-set by the administrator of the rental air conditioner control equipment.
[0073] Step S02: Grouping the rental air conditioners based on the target air conditioners to obtain a rental air conditioner group.
[0074] It should be understood that the purpose of grouping the rental air conditioners is to build a communication sub-network based on the rental air conditioner groups. Therefore, when grouping the rental air conditioners, the rental air conditioners with similar locations should be grouped together to ensure the success of the communication sub-network building.
[0075] It is understandable that step S02 may specifically include grouping the rental air conditioners whose distance from the target air conditioner is less than a preset threshold, wherein the preset threshold may be pre-set.
[0076] Step S03: establishing a communication sub-network with the target air conditioner as the instruction forwarding device of the rental air conditioner group.
[0077] It should be understood that in this embodiment, a communication subnetwork is established with the target air conditioner as the instruction forwarding device of the rental air conditioner group, so that there is no need to add additional network construction equipment and a communication subnetwork can be directly established between the rental air conditioners.
[0078] It should be noted that the instruction forwarding device of the rental air conditioner group is used to establish a communication sub-connection with each rental air conditioner in the rental air conditioner group. The communication sub-connection may be a Bluetooth connection.
[0079] The second embodiment directly selects instruction forwarding devices from the rented air conditioners, thereby eliminating the need for additional network construction equipment, reducing costs, and lowering the difficulty of network construction.
[0080] Reference Figure 5 , Figure 5 This is a flow chart of the third embodiment of the rental air conditioning control method of the present invention, based on the above Figure 4 The second embodiment shown provides a third embodiment of the rental air conditioner control method of the present invention.
[0081] In the third embodiment, step S01 includes:
[0082] Step S011: Acquire rental air conditioner information in a target area, and extract air conditioner signal information and air conditioner quantity information from the rental air conditioner information.
[0083] It should be noted that the air conditioner signal information can be used to indicate the ability of the air conditioner to receive and transmit signals. The air conditioner signal information can include reference signal reception quality, signal to interference plus noise ratio, and transmission power.
[0084] It should be understood that step S011 may specifically be: extracting the air conditioner signal information and the air conditioner quantity information from the rental air conditioner information based on the information identifier, wherein the information identifier is used to indicate the information content.
[0085] Step S012: sorting the rental air conditioners in the target area according to the air conditioner signal information to obtain a sorting result.
[0086] It should be understood that air conditioners may experience communication failures during operation. Therefore, relying solely on the air conditioner model to determine the target air conditioner may result in the target air conditioner being unable to communicate. Therefore, when selecting a target air conditioner, it is necessary to consider the signal information of the rental air conditioners to select the target air conditioner with the strongest signal.
[0087] It is understandable that step S012 may specifically include: determining the signal strength of the rental air conditioners in the target area according to the air conditioner signal information, and sorting the rental air conditioners from large to small according to the signal strength to obtain a sorting result.
[0088] Step S013: selecting a target air conditioner from the leased air conditioners according to the air conditioner quantity information and the sorting result.
[0089] It should be understood that if a large number of rental air conditioners are selected as target air conditioners, this may result in a large number of air conditioners connecting to the NB-IoT cellular network, affecting the data transmission rate. Therefore, the number of air conditioners should also be considered when selecting target air conditioners.
[0090] It is understandable that step S013 may specifically be: determining the number of instruction forwarding devices according to the number of air conditioners, and selecting a rental air conditioner with a higher number of instruction forwarding devices from the sorting result as the target air conditioner.
[0091] It should be understood that determining the number of command forwarding devices based on the air conditioner quantity information may be performed by searching a preset quantity table for the number of command forwarding devices corresponding to the air conditioner quantity information. The preset quantity table includes a correspondence between the air conditioner quantity information and the number of command forwarding devices, and the correspondence between the air conditioner quantity information and the number of command forwarding devices may be pre-set.
[0092] Furthermore, in order to make the number of instruction forwarding devices more in line with actual usage requirements, step S013 includes:
[0093] Obtaining an air conditioning capacity coefficient of the target area, and determining the number of instruction forwarding devices according to the air conditioner quantity information and the air conditioning capacity coefficient;
[0094] A target air conditioner is selected from the leased air conditioners according to the number of the instruction forwarding devices and the sorting result.
[0095] It should be noted that the air conditioning capacity coefficient is used to indicate the number of rental air conditioners that the communication subnetwork can accommodate.
[0096] It should be understood that each communication sub-network can accommodate a limited number of rental air conditioners. Therefore, when selecting a target air conditioner, the air conditioner capacity coefficient of the target area also needs to be considered.
[0097] In the specific implementation, for example, A represents the number of air conditioners in the target area, and B represents the air conditioner capacity coefficient in the target area, then the number of instruction forwarding devices
[0098] It is understandable that the target air conditioner may be selected by selecting a rental air conditioner with a higher ranking in terms of the number of rental air conditioners from the sorting results as the target air conditioner.
[0099] The third embodiment considers both the signal strength of the rental air conditioners and the number of rental air conditioners in the target area when selecting the target air conditioners, thereby ensuring that the selected target air conditioners have strong signals and an appropriate number.
[0100] In a specific implementation, for example, rental air conditioner control devices are distributed and managed by cell. First, the signal status curve of the rental air conditioners in a cell is calculated, using the following parameters: rsrq (reference signal reception quality); sinr (signal to interference and noise ratio); and txpwer (transmit power). The air conditioners in the cell are then counted and ranked, yielding a ranked list S. Assuming the number of air conditioners in a cell is A = 3n and the optimal capacity factor B = n, the edge network distribution count is calculated as C = A / B = 3. Based on the network distribution count C, the top air conditioners in the total list S are selected as the root nodes of the distribution subnetwork. These are S1, S2, and S3, respectively. The rental air conditioner control device designates the root node role as a command forwarding device. Each root node establishes a subnetwork via Bluetooth according to the following algorithm: Subnetwork nodes are (Sn, Sn+C*1, Sn+C*2, ... Sn+C*n). For example, subnetwork S1 = (S1, S1+3*1, S1+3*2, ... S1+3*n).
[0101] In the third embodiment, step S02 includes:
[0102] Step S021: Acquire the signal strength information of the target air conditioner and the distance information between the target air conditioner and the rental air conditioner.
[0103] It should be noted that the signal strength information may be the strength information of the signal transmitted by the target air conditioner when a communication sub-network is established with the target air conditioner as the instruction forwarding device.
[0104] It should be understood that if the target air conditioner's signal strength cannot reach the rental air conditioner, forcibly establishing a communication sub-network connection between the target air conditioner and the rental air conditioner may result in signal instability. Therefore, when determining the rental air conditioner group, it is necessary to consider the target air conditioner's signal strength information and the distance information between the target air conditioner and the rental air conditioner to ensure that the target air conditioner and the rental air conditioner whose signal strength can reach the rental air conditioner are grouped into the same rental air conditioner group.
[0105] Step S022: grouping the rental air conditioners according to the signal strength information and the distance information to obtain a rental air conditioner group.
[0106] It should be understood that step S022 may specifically include matching the signal strength information with the distance information, and if the match is successful, assigning the successfully matched rental air conditioner to the rental air conditioner group where the target air conditioner is located. Matching the signal strength information with the distance information may include matching the signal strength coverage range with the distance, and if the match is successful, it indicates that the signal coverage range of the target air conditioner includes the rental air conditioner.
[0107] The third embodiment introduces the signal strength information of the target air conditioner and the distance information between the target air conditioner and the rented air conditioner to group the rented air conditioners, thereby ensuring that each rented air conditioner in the rented air conditioner group is successfully networked with the target air conditioner, thereby improving the network construction reliability of the communication subnet.
[0108] Reference Figure 6 , Figure 6 This is a flow chart of the fourth embodiment of the rental air conditioning control method of the present invention, based on the above Figure 2 The first embodiment shown is a fourth embodiment of the rental air conditioner control method of the present invention.
[0109] In the fourth embodiment, step S10 includes:
[0110] Step S101: upon receiving a rental air conditioner control instruction, the rental air conditioner control instruction is sent to the rental air conditioner to be controlled via a preset communication network.
[0111] It should be noted that the preset communication network may be a narrowband Internet of Things (NB-IoT).
[0112] Step S102: When the sending fails, search for the instruction forwarding device corresponding to the rental air conditioner to be controlled.
[0113] It should be understood that the rental air conditioner control command can be sent to the rental air conditioner to be controlled via the NB-IoT network first. If the transmission fails, it indicates that the NB-IoT network is congested. In this case, the rental air conditioner control command can be sent to the command forwarding device via the NB-IoT network first, and then the command forwarding device will forward it to the rental air conditioner to be controlled via the Bluetooth subnet.
[0114] The fourth embodiment first attempts to send instructions through the NB-IoT network. When the sending fails, the instruction is forwarded through the instruction forwarding device, so that instructions can be sent through multiple channels to ensure the reliability of the rental air conditioner control.
[0115] In the fourth embodiment, step S20 includes:
[0116] Step S201: Sending a status query instruction to the instruction forwarding device, so that the instruction forwarding device queries the status of the rental air conditioner to be controlled through the communication subnetwork.
[0117] It is understandable that the status query instruction can be sent to the instruction forwarding device through the NB-IoT network.
[0118] It should be understood that after receiving the status query instruction, the instruction forwarding device can forward the status query instruction to the rental air conditioner to be controlled. After receiving the status query instruction, the rental air conditioner to be controlled starts self-inspection and feeds back status information to the instruction forwarding device after the inspection is completed.
[0119] Step S202: receiving the status of the rental air conditioner to be controlled fed back by the instruction forwarding device.
[0120] It is understandable that after receiving the status information fed back by the rental air conditioner to be controlled, the instruction forwarding device can determine the status of the rental air conditioner to be controlled and send the status of the rental air conditioner to be controlled to the rental air conditioner control device.
[0121] Step S203: When the state is online, the rental air conditioner control instruction is sent to an instruction forwarding device, so that the instruction forwarding device forwards the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork.
[0122] It should be understood that when the status is online, it means that the rental air conditioner to be controlled is in normal state. At this time, the rental air conditioner control command can be sent to the command forwarding device via the NB-IoT network.
[0123] In the specific implementation, for example, when a dormitory in the community reports that the air conditioning is abnormal, or the air conditioning cannot be used after payment authorization, the rental air conditioning control device will first try to diagnose and unlock the rental air conditioning to be controlled corresponding to the after-sales complaint form through the NB-IoT network. If the connection fails, the command forwarding device corresponding to the rental air conditioning to be controlled is found. The rental air conditioning control device issues an instruction to the command forwarding device to query the status of the rental air conditioning to be controlled. After the command forwarding device queries the online status of the rental air conditioning to be controlled through the Bluetooth channel, the command forwarding device issues an edge management instruction through the Bluetooth channel to diagnose and unlock the rental air conditioning to be controlled.
[0124] In the fourth embodiment, before sending the rental air conditioner control instruction to the instruction forwarding device, the status of the rental air conditioner to be controlled is first checked, and the instruction is sent only when the rental air conditioner to be controlled is online, thereby ensuring that the rental air conditioner to be controlled can receive the rental air conditioner control instruction.
[0125] In addition, an embodiment of the present invention further provides a storage medium on which a rental air conditioner control program is stored. When the rental air conditioner control program is executed by a processor, the rental air conditioner control method described above is implemented.
[0126] In addition, refer to Figure 7 The embodiment of the present invention further provides a rental air conditioning control device, the rental air conditioning control device comprising:
[0127] The device search module 10 is used to search for a command forwarding device corresponding to the rental air conditioner to be controlled when receiving a rental air conditioner control command. The command forwarding device has established a communication sub-network with the rental air conditioner to be controlled in advance.
[0128] It should be noted that the user can initiate a rental air conditioner control command through the client corresponding to the rental air conditioner control device. The rental air conditioner control command can be at least one of a rental air conditioner status query command, a rental air conditioner unlock command, and a rental air conditioner remote diagnosis command, which is not limited in this embodiment.
[0129] It is understood that receiving a rental air conditioner control command indicates that the user wishes to control the rental air conditioner. Therefore, it is necessary to first identify the rental air conditioner to be controlled. This identification may include extracting an air conditioner identifier from the rental air conditioner control command and identifying the rental air conditioner to be controlled based on the identifier. The air conditioner identifier represents the identity of the air conditioner.
[0130] It should be understood that the step of determining the command forwarding device may specifically include searching a preset device table for the command forwarding device corresponding to the rental air conditioner to be controlled. The preset device table includes a correspondence between rental air conditioners and command forwarding devices. This correspondence between rental air conditioners and command forwarding devices may be pre-entered by the administrator of the rental air conditioner control device, or may be automatically entered by the rental air conditioner control device when the command forwarding device establishes a communication sub-network with the rental air conditioner. This embodiment is not limited thereto.
[0131] It should be noted that the communication subnetwork may be a short-range wireless communication network. The short-range wireless communication network may be at least one of a Bluetooth communication subnetwork, a Zigbee communication subnetwork, and a WiFi communication subnetwork. In this embodiment and other embodiments, the Bluetooth communication subnetwork is used as the communication subnetwork for illustration.
[0132] It can be understood that after the command forwarding device establishes a communication sub-network with the rental air conditioner to be controlled in advance, the rental air conditioner control command no longer needs to be sent to all rental air conditioners through the Narrow Band Internet of Things (NB-IoT). It only needs to be sent to the command forwarding device through the NB-IoT network, and then the command forwarding device sends it to the rental air conditioner through the Bluetooth communication sub-network, thereby avoiding the defect of some devices losing connection due to the narrow communication bandwidth of the NB-IoT cellular network, and improving the reliability of rental air conditioner control.
[0133] It should be noted that the instruction forwarding device may be a device capable of establishing a short-range wireless communication network.
[0134] The instruction sending module 20 is used to send the rental air conditioner control instruction to the instruction forwarding device, so that the instruction forwarding device forwards the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork.
[0135] It should be noted that the rental air conditioning control device and the command forwarding device can communicate through the NB-IoT network to ensure the reliability of communication.
[0136] It should be understood that after receiving the rental air conditioner control instruction, the instruction forwarding device can forward the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork.
[0137] For easier understanding, refer to Figure 3 This is for illustration only, but does not limit this solution. Figure 3 This is a schematic diagram of rental air conditioning control, which includes instruction forwarding devices S1, S2, and rental air conditioners 1, 2, 3, 4, 5, 6, 7, and 8.
[0138] A first Bluetooth communication sub-network is established between the instruction forwarding device S1 and the rental air conditioners 1, 2, 3, and 4, and a second Bluetooth communication sub-network is established between the instruction forwarding device S2 and the rental air conditioners 5, 6, 7, and 8.
[0139] According to the rental air conditioner control instruction, it is determined that the rental air conditioner to be controlled is 3, and the instruction forwarding device corresponding to the rental air conditioner 3 to be controlled is S1. The rental air conditioner control device first sends the rental air conditioner control instruction to the instruction forwarding device S1 through the NB-IoT network, and then the instruction forwarding device S1 forwards the rental air conditioner control instruction to the rental air conditioner 3 to be controlled through the first Bluetooth communication subnetwork.
[0140] In a specific implementation, for example, the rental air conditioner control device sends a status query command to the command forwarding device, which then queries the status of each rental air conditioner one by one. Because internal queries are performed via Bluetooth communication between each rental air conditioner, a reliable transmission channel is established as long as the rental air conditioner is powered on, preventing loss of connection. The command forwarding device obtains the status of each rental air conditioner and then reports it to the rental air conditioner control device.
[0141] Compared with the existing technology in which all rental air conditioners in the area are connected to the base station through the NB-IoT cellular network, this embodiment first sends the rental air conditioner control instructions to the instruction forwarding device through the NB-IoT cellular network, and then the instruction forwarding device forwards the rental air conditioner control instructions to the rental air conditioner to be controlled through the Bluetooth subnet. Therefore, there is no need for all rental air conditioners to connect to the base station through the NB-IoT cellular network, thereby avoiding the defect of some devices losing connection due to the narrow communication bandwidth of the NB-IoT cellular network, and improving the reliability of rental air conditioner control.
[0142] Other embodiments or specific implementations of the rental air conditioning control device of the present invention can refer to the above-mentioned method embodiments and will not be repeated here.
[0143] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0144] The serial numbers of the embodiments of the present invention are for descriptive purposes only and do not represent superiority or inferiority of the embodiments. In a unit claim that enumerates several means, several of these means may be embodied by the same item of hardware. The use of the terms first, second, and third, etc., does not denote any order; these terms should be interpreted as designations.
[0145] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, or of course by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0146] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A rental air conditioning control method, characterized in that: The rental air conditioning control method comprises the following steps: Upon receiving a rental air conditioner control instruction, searching for an instruction forwarding device corresponding to the rental air conditioner to be controlled, wherein the instruction forwarding device has previously established a communication sub-network with the rental air conditioner to be controlled; and Sending the rental air conditioner control instruction to the instruction forwarding device, so that the instruction forwarding device forwards the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork; Wherein, when receiving the rental air conditioner control instruction, before searching for the instruction forwarding device corresponding to the rental air conditioner to be controlled, the method further includes: Acquiring rental air conditioner information in a target area, and selecting a target air conditioner from the rental air conditioners in the target area based on the rental air conditioner information, wherein the rental air conditioner information includes air conditioner model information, air conditioner signal information, and air conditioner quantity information, and the air conditioner signal information includes reference signal reception quality, signal to interference plus noise ratio, and transmit power; Grouping the rental air conditioners based on the target air conditioner to obtain a rental air conditioner group; and Establishing a communication subnetwork with the target air conditioner as the instruction forwarding device of the rental air conditioner group; The grouping the leased air conditioners based on the target air conditioner to obtain a leased air conditioner group includes: Acquire signal strength information of the target air conditioner and distance information between the target air conditioner and the rented air conditioner; and The rental air conditioners are grouped according to the signal strength information and the distance information to obtain a rental air conditioner group.
2. The rental air conditioner control method according to claim 1, characterized in that: The acquiring of rental air conditioner information of a target area, and selecting a target air conditioner from the rental air conditioners in the target area based on the rental air conditioner information, includes: Acquire rental air conditioner information of a target area, and extract air conditioner signal information and air conditioner quantity information from the rental air conditioner information; Sorting the rental air conditioners in the target area according to the air conditioner signal information to obtain a sorting result; and A target air conditioner is selected from the leased air conditioners according to the air conditioner quantity information and the ranking result.
3. The rental air conditioner control method according to claim 2, characterized in that: The selecting a target air conditioner from the leased air conditioners according to the air conditioner quantity information and the ranking result includes: Obtaining an air conditioning capacity coefficient of the target area, and determining the number of instruction forwarding devices according to the air conditioner quantity information and the air conditioning capacity coefficient; and A target air conditioner is selected from the leased air conditioners according to the number of the instruction forwarding devices and the sorting result.
4. The rental air conditioner control method according to any one of claims 1 to 3, characterized in that: The step of sending the rental air conditioner control instruction to the instruction forwarding device includes: Sending a status query instruction to the instruction forwarding device, so that the instruction forwarding device queries the status of the rental air conditioner to be controlled through the communication subnetwork; receiving the status of the rental air conditioner to be controlled fed back by the instruction forwarding device; and When the state is online, the rental air conditioner control instruction is sent to an instruction forwarding device.
5. The rental air conditioner control method according to any one of claims 1 to 3, characterized in that: When receiving the rental air conditioner control instruction, searching for the instruction forwarding device corresponding to the rental air conditioner to be controlled includes: Upon receiving a rental air conditioner control instruction, sending the rental air conditioner control instruction to the rental air conditioner to be controlled via a preset communication network; and When the sending fails, the command forwarding device corresponding to the rental air conditioner to be controlled is searched.
6. A rental air conditioning control device, characterized in that: The rental air conditioning control device includes: a memory, a processor, and a rental air conditioning control program stored in the memory and executable on the processor. When the rental air conditioning control program is executed by the processor, the rental air conditioning control method according to any one of claims 1 to 5 is implemented.
7. A storage medium, characterized in that: The storage medium stores a rental air conditioner control program, and when the rental air conditioner control program is executed by the processor, the rental air conditioner control method according to any one of claims 1 to 5 is implemented.
8. A rental air conditioning control device, characterized in that: The rental air conditioning control device includes: A device search module is used to search for a command forwarding device corresponding to the rental air conditioner to be controlled upon receiving a control command for the rental air conditioner, wherein the command forwarding device has previously established a communication sub-network with the rental air conditioner to be controlled; An instruction sending module, configured to send the rental air conditioner control instruction to the instruction forwarding device, so that the instruction forwarding device forwards the rental air conditioner control instruction to the rental air conditioner to be controlled through the communication subnetwork; Wherein, when receiving the rental air conditioner control instruction, before searching for the instruction forwarding device corresponding to the rental air conditioner to be controlled, the method further includes: Acquiring rental air conditioner information in a target area, and selecting a target air conditioner from the rental air conditioners in the target area based on the rental air conditioner information, wherein the rental air conditioner information includes air conditioner model information, air conditioner signal information, and air conditioner quantity information, and the air conditioner signal information includes reference signal reception quality, signal to interference plus noise ratio, and transmit power; grouping the rental air conditioners based on the target air conditioner to obtain a rental air conditioner group; and establishing a communication subnetwork with the target air conditioner as a command forwarding device for the rental air conditioner group; The grouping the leased air conditioners based on the target air conditioner to obtain a leased air conditioner group includes: Acquire signal strength information of the target air conditioner and distance information between the target air conditioner and the rental air conditioner; and group the rental air conditioners according to the signal strength information and the distance information to obtain a rental air conditioner group.
Citation Information
Patent Citations
Air conditioner network control method and device, network interconnection equipment and storage medium
CN111698135A
Leasing equipment control method, system and device, equipment and storage medium
CN112073463A