Method and system for remotely controlling hotel smart home through applet
Through the mini program remotely controlling the hotel smart home system, the problem of easy damage to the control of smart home equipment and the inability to arrange the environment in advance is solved, and the equipment security, privacy protection and household satisfaction are improved.
Patent Information
- Application Number
- CN202510361201.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-03-26
AI Technical Summary
The smart home equipment control method in the existing hotel rooms is likely to lead to equipment damage and economic disputes, and residents cannot decorate their living environment in advance.
The hotel's smart home method and system can be remotely controlled through mini programs, and the smart home is encoded and connected with the edge network to transmit the home status to the cloud in real time. Legal users can control the smart home in advance and encrypt and process data after checking in.
It avoids equipment damage and economic disputes, improves residents' satisfaction and convenience, ensures privacy and security, and provides a comfortable and convenient living environment for the next tenant.
Smart Images

Figure CN119892902A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hotel intelligent management, and in particular to a method and system for remotely controlling a hotel intelligent home using a small program. Background Art
[0002] At present, people's lives are becoming more and more intelligent, and smart homes are gradually entering people's daily lives. In addition, smart homes are gradually appearing in some hotels, such as smart curtains, smart lighting, etc. Guests control the switches of smart curtains and smart lighting in a wired or wireless manner through the corresponding curtain switches and lighting switches. Compared with traditional mechanical switches, they have a higher degree of intelligence and convenience. In order to improve the service level, hotels usually carry out intelligent transformation and use smart home devices to improve the living comfort of the guests. When controlling smart home devices in existing hotel rooms, voice control assistants are usually provided to facilitate the guests to control the smart home devices through voice commands. Control devices such as smart speakers are usually placed in areas in the room that are easily touched and observed by the guests, such as bedside tables, so that the guests can find and use them in time. Although such control devices have certain intelligence, they are easy to affect the normal use of the bedside tables and other placement platforms. Collisions occur during use, resulting in the fall and damage of the control devices, causing property losses, and thus easily causing economic disputes. In addition, residents can only control the home after entering the room, and it is impossible to arrange the desired living environment for the residents in advance.
[0003] Therefore, the present invention provides a method and system for remotely controlling a hotel smart home using a mini program. Summary of the invention
[0004] The present invention provides a method and system for remotely controlling a hotel smart home by using a small program. By using the small program to control the smart home in the hotel room, it can prevent residents from being unfamiliar with the use of the smart home after checking in or causing unnecessary damage. Secondly, the residents can arrange the environment in the room in advance before entering the room, thereby improving the residents' satisfaction with the use.
[0005] The present invention provides a method for remotely controlling a hotel smart home using a small program, comprising: Step 1: Encode the smart home contained in each room respectively, and control each smart home to connect with the corresponding edge network in units of rooms; Step 2: respectively obtain the real-time home status corresponding to each of the smart homes, transmit the real-time home status to the cloud using the edge network, and respectively compile the home information of each room and transmit it to the mini program end for display; Step 3: Obtain the control instruction issued by the legitimate user through the mini program end, and control the corresponding coded control smart home to respond to the control instruction of the legitimate user; Step 4: When the legitimate user enters the room, the real-time working information corresponding to each smart home is privacy-covered, and the permitted public information of the legitimate user is generated and transmitted to the cloud for storage.
[0006] In one practicable manner, The step 1 comprises: Step 11: Identify the home functions and home working ranges of different smart homes in each room, and encode the smart homes to generate smart home identification information for each room; Step 12: Establishing a smart model corresponding to the room based on the smart home identification information, identifying the connectable edge network corresponding to each smart home in the smart model, assigning a corresponding number of smart homes to each connectable edge network, and generating edge network-home code corresponding information; Step 13: Control each smart home to connect with the corresponding edge network according to the edge network-home coding correspondence information.
[0007] In one practicable manner, The step 12 comprises: Step 121: building a model framework corresponding to the room based on the smart home identification information, setting function conditions and range conditions according to the home functions and home working ranges corresponding to each smart home, and modifying the framework model using the function conditions and the range conditions to obtain a smart model of the room; Step 122: Run the smart model of the room to obtain a network connection mode corresponding to each smart home, identify a number of connectable edge networks in the room that match the network connection mode, and count a number of connectable homes corresponding to each connectable edge network; Step 123: In the intelligent model, a corresponding connectable home is matched for each connectable edge network, and the access edge network corresponding to each connectable home is adjusted according to the matched quantity until the discreteness between the access quantities corresponding to all the connectable edge networks is within a specified range, thereby generating edge network-home coding correspondence information.
[0008] In one practicable manner, The step 13 comprises: Step 131: Determine each smart home that needs to be connected to the edge network according to the edge network-home code, and establish a protocol access plan based on the network access method corresponding to each smart home that needs to be connected and the network protocol corresponding to the edge network that can be connected; Step 132: Based on the network access plan, control the corresponding smart home to be accessed to access the corresponding edge network, respectively control each smart home to be accessed to send verification information to the corresponding edge network, and determine the network delay value of the smart home to be accessed according to the feedback information of the edge network; Step 133: Filter several target-connectable edge networks corresponding to the target that needs to access the smart home for which the network delay value is unqualified, and replace the access edge network for the target that needs to access the smart home until the network delay value is qualified.
[0009] In one practicable manner, Also includes: The network access data corresponding to each smart home is obtained in real time. When the smart home is disconnected from the network, the connectable edge network of the smart home is identified and the smart home is controlled to access the network again.
[0010] In one practicable manner, The step 2 comprises: Step 21: respectively obtain the real-time home status corresponding to each of the smart homes, combine the real-time home status in units of rooms to obtain restored home information corresponding to the rooms, and construct the real-time room status corresponding to each of the rooms. When the real-time room status is inconsistent with the historical room status corresponding to the previous moment, mark the corresponding room as a dynamic room; Step 22: establishing a plurality of dynamic information of the dynamic room according to a plurality of real-time home states corresponding to each of the dynamic rooms in different time periods, encoding and counting each of the dynamic information to obtain the real-time home dynamics of each of the dynamic rooms, and transmitting the encoded information to the cloud for storage; Step 23: Setting a program verification condition according to the resident recruitment information corresponding to each of the dynamic rooms, obtaining the login information corresponding to the mini-program login terminal, verifying the login information using the program verification condition, obtaining a login legality evaluation result corresponding to the mini-program login terminal, and determining the legality attribute corresponding to the mini-program login terminal according to the login legality evaluation result; Step 24: Locate the target real-time home dynamics corresponding to the legitimate user of the mini-program login terminal, construct several home environment information corresponding to the room based on the target real-time home dynamics, and transmit each piece of home environment information to the corresponding mini-program terminal for display.
[0011] In one practicable manner, Also includes: Acquire a non-dynamic room whose real-time room state is consistent with the historical room state corresponding to the previous moment; When the non-dynamic room presents a dynamic trend, it is determined that the non-dynamic room is in an occupied state, and public information of the occupied resident is obtained to construct a program verification condition.
[0012] In one practicable manner, The step 3 comprises: Step 31: Obtain the control instruction issued by the legal user through the mini program end, identify the smart home control corresponding to the control instruction, find several home functions corresponding to the smart home control and the functional range corresponding to each home function, and determine the effective control range of the legal user; Step 32: Identify several control purposes contained in the control instruction and determine the control home function corresponding to each control purpose, match the corresponding control smart home for each control purpose, search for the corresponding control home function within the corresponding effective control range, and regard the successfully found control purpose as a legal purpose, otherwise it is regarded as an illegal purpose; Step 33: construct a function difference vector between the legal purpose and the corresponding legally controlled smart home, identify the adjustment direction and adjustment amount corresponding to the function difference vector, establish the basic adjustment means of this control work, obtain the environment presentation information corresponding to the room, and fuse each of the environment presentation information with the legal purpose to obtain the interference characteristics and promotion characteristics of the environment presentation information on the legal purpose; Step 34: Based on the interference characteristics and the promotion characteristics, the basic adjustment means are modified to generate effective adjustment means corresponding to the control of the smart home, and several key control information corresponding to each effective control means for controlling the smart home corresponding to the control instruction are combined based on the logical relationship between different key control information to generate the control response means for the room, and the control response means are executed to control each of the controlled smart homes to respond to the control instruction.
[0013] In one practicable manner, The step 4 comprises: Step 41: When the legal user enters the corresponding room, a privacy coverage instruction is issued to each smart home, control information corresponding to each smart home by the legal user is obtained, and real-time working information of each smart home is constructed; Step 42: dividing the real-time work information into work data of several privacy levels based on the privacy coverage instruction, performing privacy processing on the corresponding work data based on the corresponding privacy level, and obtaining several encrypted data of the legal user; Step 43: construct the permitted public information of the legal user based on the data value corresponding to each encrypted data, and transmit the permitted public information to the cloud for storage using the edge network.
[0014] In one practicable manner, Also includes: Obtaining an effective control range corresponding to the illegal purpose, and establishing corresponding function reminder information for controlling the smart home according to the effective control range; The function reminder information is transmitted to the corresponding mini program end for display.
[0015] The present invention provides a small program to remotely control a hotel smart home system, comprising: A network connection module is used to encode the smart home contained in each room respectively, and control each smart home to connect with the corresponding edge gateway in units of rooms; A status acquisition module is used to obtain the real-time home status corresponding to each of the smart homes, transmit the real-time home status to the cloud using the edge gateway, and compile the home information of each room and transmit it to the mini program end for display; An instruction response module, used to obtain the control instruction issued by the legal user through the mini program end, and control the corresponding coded control smart home to respond to the control instruction of the legal user; The encryption processing module is used to perform privacy coverage on the real-time working information corresponding to each smart home when the legitimate user enters the room, and generate the permitted public information of the legitimate user to be transmitted to the cloud for storage.
[0016] The achievable beneficial effects of the above technical solution are: the purpose is to solve the defects of the prior art. The present invention perfectly combines hotel management with mini-programs, breaking the disadvantage of low technological sense of traditional hotels, improving the user experience before, during and after check-in, and can uniformly restore the smart home after each tenant checks out, providing a comfortable and convenient living environment for the next tenant, and protecting the privacy of the previous tenant. In addition, users can also control the smart home in the room through the mini-program before entering the room or after leaving the room. Since the smart home is involved in the edge network and connected to the cloud, it can quickly respond to the needs of tenants and improve the satisfaction of residents.
[0017] In order to solve the defects of the existing technology, the smart home in each room is coded and counted during the hotel's idle time period, and they are all connected to the edge network to ensure that each smart home is in normal working condition. The real-time home status of the smart home is then transmitted to the cloud for storage to facilitate subsequent review of related content. At the same time, the home information is transmitted to the mini program for legitimate users to view, and the corresponding smart home is controlled to respond according to the control instructions issued by the user. In this way, the user can control the smart home in the room through the mini program in advance before entering the room, and arrange the desired living environment for the user in advance. Finally, after the user enters the room, the data generated by the smart home is encrypted, and only the information allowed to be disclosed is transmitted to the cloud for storage. This not only expands the user's control over the smart home and improves the user's convenience, but also arranges the room for the user in advance and improves the user's satisfaction.
[0018] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0019] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings: Figure 1 A schematic diagram of the workflow of a method for remotely controlling a hotel smart home using a mini program in an embodiment of the present invention; Figure 2 This is a schematic diagram of the workflow of step 2 of a method for remotely controlling a hotel smart home through a small program in an embodiment of the present invention; Figure 3 The present invention is a schematic diagram of the composition of a mini program remotely controlling a hotel smart home system in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0022] Example 1 This embodiment provides a method for remotely controlling a hotel smart home through a small program. Figure 1 As shown, including: Step 1: Encode the smart home contained in each room respectively, and control each smart home to connect with the corresponding edge network in units of rooms; Step 2: respectively obtain the real-time home status corresponding to each of the smart homes, transmit the real-time home status to the cloud using the edge network, and respectively compile the home information of each room and transmit it to the mini program end for display; Step 3: Obtain the control instruction issued by the legitimate user through the mini program end, and control the corresponding coded control smart home to respond to the control instruction of the legitimate user; Step 4: When the legitimate user enters the room, the real-time working information corresponding to each smart home is privacy-covered, and the permitted public information of the legitimate user is generated and transmitted to the cloud for storage.
[0023] In this example, the encoding represents the process of numbering and naming the smart home appliances in the room, and the encoding format is: room number + smart home appliance sequence code; In this example, the real-time home status represents the status of a smart home at the current moment; In this example, a legal user refers to a registered resident, and a resident is a legal user only for a registered room; In this example, the purpose of privacy coverage is to: avoid user privacy leakage. Provide users with a safe and private accommodation space; In this example, the smart home is uniformly restored after each tenant checks out, providing a comfortable and convenient living environment for the next tenant.
[0024] The working principle and beneficial effects of the above technical solution: In order to solve the defects of the existing technology, the smart home in each room is coded and counted during the idle time period of the hotel, and they are all connected to the edge network to ensure that each smart home is in normal working condition. The real-time home status of the smart home is then transmitted to the cloud for storage to facilitate subsequent review of related content. At the same time, the home information is transmitted to the mini program for legitimate users to view, and the corresponding smart home is controlled to respond according to the control instructions issued by the user. In this way, the user can control the smart home in the room through the mini program in advance before entering the room, and arrange the desired living environment for the user in advance. Finally, after the user enters the room, the data generated by the smart home is encrypted, and only the information allowed to be disclosed is transmitted to the cloud for storage. This not only expands the user's control over the smart home and improves the user's convenience, but also arranges the room for the user in advance and improves the user's satisfaction.
[0025] Example 2 On the basis of Example 1, the method for remotely controlling a hotel smart home through a mini program, step 1, comprises: Step 11: Identify the home functions and home working ranges of different smart homes in each room, and encode the smart homes to generate smart home identification information for each room; Step 12: Establishing a smart model corresponding to the room based on the smart home identification information, identifying the connectable edge network corresponding to each smart home in the smart model, assigning a corresponding number of smart homes to each connectable edge network, and generating edge network-home code corresponding information; Step 13: Control each smart home to connect with the corresponding edge network according to the edge network-home coding correspondence information.
[0026] In this example, home functions refer to functions that can be achieved by smart homes; In this example, the home working range indicates the spatial range and time range within which a smart home can implement a function; In this example, the smart home identification information refers to information used to identify the smart home, including: home name, home function, and home code; In this example, the smart model represents a model that aggregates all smart homes in a room; In this example, the connectable edge network means an edge network within a connection range of a smart home; In this example, the edge network-home code correspondence information indicates the code of a smart home to which an edge network needs to connect.
[0027] The working principle and beneficial effects of the above technical solution: In order to ensure that each smart home can access the edge network and keep the edge network unobstructed, the smart home identification information is constructed according to the home function, home working range and home coding of each smart home, so as to build a smart model for each room. By running the smart model, the connectable edge network of each smart home is determined, and then a number of smart homes are matched for each connectable edge network. In this way, it can not only ensure that the smart home can access the edge network, but also ensure that the smart homes accessed by the edge network are evenly distributed, thereby ensuring the efficiency of information transmission.
[0028] Example 3 On the basis of Example 2, the method for remotely controlling a hotel smart home through a mini program, step 12, comprises: Step 121: building a model framework corresponding to the room based on the smart home identification information, setting function conditions and range conditions according to the home functions and home working ranges corresponding to each smart home, and modifying the framework model using the function conditions and the range conditions to obtain a smart model of the room; Step 122: Run the smart model of the room to obtain a network connection mode corresponding to each smart home, identify a number of connectable edge networks in the room that match the network connection mode, and count a number of connectable homes corresponding to each connectable edge network; Step 123: In the intelligent model, a corresponding connectable home is matched for each connectable edge network, and the access edge network corresponding to each connectable home is adjusted according to the matched quantity until the discreteness between the access quantities corresponding to all the connectable edge networks is within a specified range, thereby generating edge network-home coding correspondence information.
[0029] In this example, the functional condition corresponds to the home function and represents the condition that needs to be executed when a smart home wants to achieve a home function; In this example, the scope condition corresponds to the home working scope and represents the conditions that need to be executed when a smart home wants to adjust a home function; In this example, one smart home may correspond to several connectable edge networks, and one connectable edge network allows several smart homes to access; In this example, the network connection mode indicates the network access mode supported by a smart home; In this example, the connected home refers to a smart home that can be connected to an edge network; In this example, the matched number indicates the number of connectable homes matched by a connectable edge network; In this example, the specified range is: the discreteness is not higher than 3, that is, the difference in the number of matches between any two connectable networks does not exceed 3; The working principle and beneficial effects of the above technical solution: In order to further ensure the efficiency of network transmission, a model framework of the room is built according to the smart home identification information, and then the home functions and home working range of the smart home are converted into conditions to correct the model framework to obtain the smart model of the room, and then the smart model is used to determine the network connection method of each smart home, so as to match it with the corresponding connectible edge network. By adjusting the matched number of each connectible edge network, the smart home is evenly distributed to each connectible edge network, thereby constructing the corresponding information between the edge network and the home code. According to this information, the smart home can be controlled to access the corresponding edge network, which is convenient for subsequent work.
[0030] Example 4 On the basis of Example 2, the method for remotely controlling a hotel smart home through a mini program, step 13, comprises: Step 131: Determine each smart home that needs to be connected to the edge network according to the edge network-home code, and establish a protocol access plan based on the network access method corresponding to each smart home that needs to be connected and the network protocol corresponding to the edge network that can be connected; Step 132: Based on the network access plan, control the corresponding smart home to be accessed to access the corresponding edge network, respectively control each smart home to be accessed to send verification information to the corresponding edge network, and determine the network delay value of the smart home to be accessed according to the feedback information of the edge network; Step 133: Filter several target-connectable edge networks corresponding to the target that needs to access the smart home for which the network delay value is unqualified, and replace the access edge network for the target that needs to access the smart home until the network delay value is qualified.
[0031] In this example, the smart home that needs to be connected represents a smart home that needs to be connected to the edge network; In this example, the protocol access scheme represents an execution scheme for connecting the smart home to the corresponding connectable edge network; In this example, the verification information represents a signal used to verify the network delay; In this example, when the network delay value is greater than 1MB / S, it is determined that the corresponding target needs to be connected to the smart home and is unqualified.
[0032] The working principle and beneficial effects of the above technical solution: In order to further ensure the speed of information transmission and avoid data disorder caused by network jams, a protocol access plan is established based on the network access method of the smart home that needs to be connected and the network protocol of the edge network. Under the guidance of this plan, the smart home can be connected to the corresponding edge network, and the network delay value of the smart home that needs to be connected is determined through simulation verification, and the network is replaced for the smart home with excessively high network delay. In this way, each smart home can be assigned to a smooth edge network to ensure information transmission efficiency.
[0033] Example 5 Based on Example 1, the method for remotely controlling a hotel smart home through a mini program further includes: The network access data corresponding to each smart home is obtained in real time. When the smart home is disconnected from the network, the connectable edge network of the smart home is identified and the smart home is controlled to access the network again.
[0034] The working principle and beneficial effects of the above technical solution are: real-time monitoring of the networking status of each smart home, and when the network is disconnected, controlling it to connect to the network in time to reduce the generation of interrupted data.
[0035] Example 6 Based on Example 1, the method for remotely controlling a hotel smart home through a mini program is as follows: Figure 2 As shown, the step 2 includes: Step 21: respectively obtain the real-time home status corresponding to each of the smart homes, combine the real-time home status in units of rooms to obtain restored home information corresponding to the rooms, and construct the real-time room status corresponding to each of the rooms. When the real-time room status is inconsistent with the historical room status corresponding to the previous moment, mark the corresponding room as a dynamic room; Step 22: establishing a plurality of dynamic information of the dynamic room according to a plurality of real-time home states corresponding to each of the dynamic rooms in different time periods, encoding and counting each of the dynamic information to obtain the real-time home dynamics of each of the dynamic rooms, and transmitting the encoded information to the cloud for storage; Step 23: Setting a program verification condition according to the resident recruitment information corresponding to each of the dynamic rooms, obtaining the login information corresponding to the mini-program login terminal, verifying the login information using the program verification condition, obtaining a login legality evaluation result corresponding to the mini-program login terminal, and determining the legality attribute corresponding to the mini-program login terminal according to the login legality evaluation result; Step 24: Locate the target real-time home dynamics corresponding to the legitimate user of the mini-program login terminal, construct several home environment information corresponding to the room based on the target real-time home dynamics, and transmit each piece of home environment information to the corresponding mini-program terminal for display.
[0036] In this example, restoring home information means restoring the home situation in a room by combining all real-time home statuses in the room; In this example, a moment is 15 minutes; In this example, dynamic information refers to information generated when the smart home in the room is working; In this example, a dynamic room means a room that already has registered users; In this example, the resident recruitment information refers to the information submitted by the user when registering; In this example, the program authentication condition represents a condition used to authenticate the user's identity; In this example, the login information refers to the information used by the user to log in to the mini program terminal; In this example, the legal attribute indicates whether the user is a legal user, including positive attributes and negative attributes. The positive attribute indicates that the current logged-in user is a legal user, and the negative attribute indicates that the current logged-in user is an illegal user. In this example, the home environment information refers to the environment information currently presented in the room.
[0037] The working principle and beneficial effects of the above technical solution: In order to facilitate users to understand the situation in the room at any time outside the room, the home information of the room is restored according to the real-time home status of each smart home, so as to construct the real-time room status of each room, and further determine the dynamic rooms that have been rented out according to the dynamic characteristics of the real-time room status, and then encode and count the dynamic information of the dynamic room, construct the real-time home dynamics of the dynamic room and transmit it to the cloud for storage, and then use the user's admission information when checking in to set the program verification conditions, and then evaluate the login information of the mini program side to determine whether the currently logged-in user is a legal user, prohibit illegal users from logging in, and finally present the home environment information in the room on the mini program side according to the needs of legal users. In this way, users can understand the situation in the room remotely, which provides convenience for users and improves the hotel's sense of technology and practicality.
[0038] Example 7 Based on Example 6, the method for remotely controlling a hotel smart home through a mini program further includes: Acquire a non-dynamic room whose real-time room state is consistent with the historical room state corresponding to the previous moment; When the non-dynamic room presents a dynamic trend, it is determined that the non-dynamic room is in an occupied state, and public information of the occupied resident is obtained to construct a program verification condition.
[0039] The working principle and beneficial effects of the above technical solution: When dynamic information is presented in a non-dynamic room, it is determined that it is in an occupied state, thereby constructing the presentation verification conditions for the corresponding user, which facilitates the subsequent verification of the legitimacy of the logged-in user on the mini program side.
[0040] Example 8 On the basis of Example 1, the method for remotely controlling a hotel smart home through a mini program, step 3, comprises: Step 31: Obtain the control instruction issued by the legal user through the mini program end, identify the smart home control corresponding to the control instruction, find several home functions corresponding to the smart home control and the functional range corresponding to each home function, and determine the effective control range of the legal user; Step 32: Identify several control purposes contained in the control instruction and determine the control home function corresponding to each control purpose, match the corresponding control smart home for each control purpose, search for the corresponding control home function within the corresponding effective control range, and regard the successfully found control purpose as a legal purpose, otherwise it is regarded as an illegal purpose; Step 33: construct a function difference vector between the legal purpose and the corresponding legally controlled smart home, identify the adjustment direction and adjustment amount corresponding to the function difference vector, establish the basic adjustment means of this control work, obtain the environment presentation information corresponding to the room, and fuse each of the environment presentation information with the legal purpose to obtain the interference characteristics and promotion characteristics of the environment presentation information on the legal purpose; Step 34: Based on the interference characteristics and the promotion characteristics, the basic adjustment means are modified to generate effective adjustment means corresponding to the control of the smart home, and several key control information corresponding to each effective control means for controlling the smart home corresponding to the control instruction are combined based on the logical relationship between different key control information to generate the control response means for the room, and the control response means are executed to control each of the controlled smart homes to respond to the control instruction.
[0041] In this example, the effective control range represents the range of states that a legal user can control a smart home to achieve; In this example, one control purpose corresponds to one control home function, and corresponds to one control smart home; In this example, the legitimate purpose refers to the purpose that can be accomplished by controlling the smart home, for example: controlling the air conditioner to adjust the room temperature to 26 degrees; In this example, the illegal purpose refers to a purpose that cannot be accomplished by controlling the smart home, for example: controlling the water heater to adjust the water temperature to -5 degrees; In this example, the functional difference vector represents a vector pointing from the current state of the legally controlled home to the legal purpose; In this example, the adjustment direction is from the current state of the legally controlled home to the legal purpose, that is, the direction of the functional difference vector; In this example, the adjustment amount is the difference between the current state of the home controlled by the legal control and the legal purpose, that is, the modulus length of the functional difference vector; In this example, the interference feature indicates the negative impact of the information presented by the environment on the legitimate purpose. For example, if the temperature in the room is 10 degrees, it takes more time to adjust it to 25 degrees. In this example, the facilitating feature indicates the positive impact of the information presented in the environment on the legitimate purpose, for example: the room is well lit, and less lighting is required to adjust to the specified light intensity; In this example, the key control information represents the key steps when controlling the smart home to make adjustments; In this example, the logical relationship includes: time logic and space logic, which represent the logically describable relationship between any two control key information; In this example, the control response means refers to a means for controlling the smart home to respond to a control instruction issued by a legitimate user.
[0042] The working principle and beneficial effects of the above technical solution: In order to improve the rationality and intelligence of smart home control, users can issue control instructions through the mini program to adjust the smart home in the room. In order to further ensure the safety of users and protect the functions of smart homes, before making adjustments, analyze whether the user's control purpose is legal, and construct effective adjustment means based on the current situation and legal purpose of legally controlling the smart home corresponding to the legal purpose, as well as the environmental presentation information. Further use the control key information between different effective adjustment means to reorganize the means, generate a control response means, and finally use the control response means to control the responding smart home to achieve the control purpose. In this way, it can not only provide users with good accommodation services, but also reduce the steps of manual operation of users, avoid collisions during use, cause the control equipment to fall and be damaged, cause property loss, and easily cause economic disputes.
[0043] Example 9 On the basis of Example 1, the method for remotely controlling a hotel smart home through a mini program, step 4, comprises: Step 41: When the legal user enters the corresponding room, a privacy coverage instruction is issued to each smart home, control information corresponding to each smart home by the legal user is obtained, and real-time working information of each smart home is constructed; Step 42: dividing the real-time work information into work data of several privacy levels based on the privacy coverage instruction, performing privacy processing on the corresponding work data based on the corresponding privacy level, and obtaining several encrypted data of the legal user; Step 43: construct the permitted public information of the legal user based on the data value corresponding to each encrypted data, and transmit the permitted public information to the cloud for storage.
[0044] The working principle and beneficial effects of the above technical solution: In order to protect the privacy and security of the user, when the user enters the room, the data generated by the user using the smart home in the room is encrypted, and finally a number of publicly accessible information is generated and transmitted to the cloud for storage. On the one hand, it can protect the privacy of the user, and on the other hand, the police can make reasonable inferences based on the publicly accessible data when necessary.
[0045] Example 10 Based on Example 8, the method for remotely controlling a hotel smart home through a mini program further includes: Obtaining an effective control range corresponding to the illegal purpose, and establishing corresponding function reminder information for controlling the smart home according to the effective control range; The function reminder information is transmitted to the corresponding mini program end for display.
[0046] The working principle and beneficial effects of the above technical solution are as follows: when the user enters an illegal purpose, the corresponding effective control range is called to remind the user to re-enter the instruction.
[0047] Embodiment 11 This embodiment provides a small program to remotely control the hotel smart home system, such as Figure 3 As shown, including: A network connection module is used to encode the smart home contained in each room respectively, and control each smart home to connect with the corresponding edge gateway in units of rooms; A status acquisition module is used to obtain the real-time home status corresponding to each of the smart homes, transmit the real-time home status to the cloud using the edge gateway, and compile the home information of each room and transmit it to the mini program end for display; An instruction response module, used to obtain the control instruction issued by the legal user through the mini program end, and control the corresponding coded control smart home to respond to the control instruction of the legal user; An encryption processing module, used for performing privacy coverage on the real-time working information corresponding to each smart home when the legal user enters the room, generating the permitted public information of the legal user and transmitting it to the cloud for storage; In this example, the encoding represents the process of numbering and naming the smart home appliances in the room, and the encoding format is: room number + smart home appliance sequence code; In this example, the real-time home status represents the status of a smart home at the current moment; In this example, a legal user refers to a registered resident, and a resident is a legal user only for a registered room; In this example, the purpose of privacy coverage is to: avoid user privacy leakage. Provide users with a safe and private accommodation space; In this example, the smart home is uniformly restored after each tenant checks out, providing a comfortable and convenient living environment for the next tenant.
[0048] The working principle and beneficial effects of the above technical solution: In order to solve the defects of the existing technology, the smart home in each room is coded and counted during the idle time period of the hotel, and they are all connected to the edge network to ensure that each smart home is in normal working condition. The real-time home status of the smart home is then transmitted to the cloud for storage to facilitate subsequent review of related content. At the same time, the home information is transmitted to the mini program for legitimate users to view, and the corresponding smart home is controlled to respond according to the control instructions issued by the user. In this way, the user can control the smart home in the room through the mini program in advance before entering the room, and arrange the desired living environment for the user in advance. Finally, after the user enters the room, the data generated by the smart home is encrypted, and only the information allowed to be disclosed is transmitted to the cloud for storage. This not only expands the user's control over the smart home and improves the user's convenience, but also arranges the room for the user in advance and improves the user's satisfaction.
[0049] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for remotely controlling a hotel smart home using a small program, characterized in that: include: Step 1: Encode the smart home contained in each room respectively, and control each smart home to connect with the corresponding edge gateway in units of rooms; Step 2: respectively obtain the real-time home status corresponding to each of the smart homes, transmit the real-time home status to the cloud using the edge gateway, and respectively compile the home information of each room and transmit it to the mini program end for display; Step 3: Obtain the control instruction issued by the legitimate user through the mini program end, and control the corresponding coded control smart home to respond to the control instruction of the legitimate user; Step 4: When the legitimate user enters the room, the real-time working information corresponding to each smart home is privacy-covered, and the permitted public information of the legitimate user is generated and transmitted to the cloud for storage.
2. A method for remotely controlling a hotel smart home using a mini program as claimed in claim 1, characterized in that: The step 1 comprises: Step 11: Identify the home functions and home working ranges of different smart homes in each room, and encode the smart homes to generate smart home identification information for each room; Step 12: Establishing a smart model corresponding to the room based on the smart home identification information, identifying the connectable edge network corresponding to each smart home in the smart model, assigning a corresponding number of smart homes to each connectable edge network, and generating edge network-home code corresponding information; Step 13: Control each smart home to connect with the corresponding edge network according to the edge network-home coding correspondence information.
3. A method for remotely controlling a hotel smart home using a small program as claimed in claim 2, characterized in that: The step 12 comprises: Step 121: building a model framework corresponding to the room based on the smart home identification information, setting function conditions and range conditions according to the home functions and home working ranges corresponding to each smart home, and modifying the framework model using the function conditions and the range conditions to obtain a smart model of the room; Step 122: Run the smart model of the room to obtain a network connection mode corresponding to each smart home, identify a number of connectable edge networks in the room that match the network connection mode, and count a number of connectable homes corresponding to each connectable edge network; Step 123: In the intelligent model, a corresponding connectable home is matched for each connectable edge network, and the access edge network corresponding to each connectable home is adjusted according to the matched quantity until the discreteness between the access quantities corresponding to all the connectable edge networks is within a specified range, thereby generating edge network-home coding correspondence information.
4. A method for remotely controlling a hotel smart home using a mini program as claimed in claim 2, characterized in that: The step 13 comprises: Step 131: Determine each smart home that needs to be connected to the edge network according to the edge network-home code, and establish a protocol access plan based on the network access method corresponding to each smart home that needs to be connected and the network protocol corresponding to the edge network that can be connected; Step 132: Based on the network access plan, control the corresponding smart home to be accessed to access the corresponding edge network, respectively control each smart home to be accessed to send verification information to the corresponding edge network, and determine the network delay value of the smart home to be accessed according to the feedback information of the edge network; Step 133: Filter several target-connectable edge networks corresponding to the target that needs to access the smart home for which the network delay value is unqualified, and replace the access edge network for the target that needs to access the smart home until the network delay value is qualified.
5. A method for remotely controlling a hotel smart home using a mini program as claimed in claim 1, characterized in that: Also includes: The network access data corresponding to each smart home is obtained in real time. When the smart home is disconnected from the network, the connectable edge network of the smart home is identified and the smart home is controlled to access the network again.
6. A method for remotely controlling a hotel smart home using a mini program as claimed in claim 1, characterized in that: The step 2 comprises: Step 21: respectively obtain the real-time home status corresponding to each of the smart homes, combine the real-time home status in units of rooms to obtain restored home information corresponding to the rooms, and construct the real-time room status corresponding to each of the rooms. When the real-time room status is inconsistent with the historical room status corresponding to the previous moment, mark the corresponding room as a dynamic room; Step 22: establishing a plurality of dynamic information of the dynamic room according to a plurality of real-time home states corresponding to each of the dynamic rooms in different time periods, encoding and counting each of the dynamic information to obtain the real-time home dynamics of each of the dynamic rooms, and transmitting the encoded information to the cloud for storage; Step 23: Setting a program verification condition according to the resident recruitment information corresponding to each of the dynamic rooms, obtaining the login information corresponding to the mini-program login terminal, verifying the login information using the program verification condition, obtaining a login legality evaluation result corresponding to the mini-program login terminal, and determining the legality attribute corresponding to the mini-program login terminal according to the login legality evaluation result; Step 24: Locate the target real-time home dynamics corresponding to the legitimate user of the mini-program login terminal, construct several home environment information corresponding to the room based on the target real-time home dynamics, and transmit each piece of home environment information to the corresponding mini-program terminal for display.
7. A method for remotely controlling a hotel smart home using a small program as claimed in claim 6, characterized in that: Also includes: Acquire a non-dynamic room whose real-time room state is consistent with the historical room state corresponding to the previous moment; When the non-dynamic room presents a dynamic trend, it is determined that the non-dynamic room is in an occupied state, and public information of the occupied resident is obtained to construct a program verification condition.
8. A method for remotely controlling a hotel smart home using a mini program as claimed in claim 1, characterized in that: The step 3 comprises: Step 31: Obtain the control instruction issued by the legal user through the mini program end, identify the smart home control corresponding to the control instruction, find several home functions corresponding to the smart home control and the functional range corresponding to each home function, and determine the effective control range of the legal user; Step 32: Identify several control purposes contained in the control instruction and determine the control home function corresponding to each control purpose, match the corresponding control smart home for each control purpose, search for the corresponding control home function within the corresponding effective control range, and regard the successfully found control purpose as a legal purpose, otherwise it is regarded as an illegal purpose; Step 33: construct a function difference vector between the legal purpose and the corresponding legally controlled smart home, identify the adjustment direction and adjustment amount corresponding to the function difference vector, establish the basic adjustment means of this control work, obtain the environment presentation information corresponding to the room, and fuse each of the environment presentation information with the legal purpose to obtain the interference characteristics and promotion characteristics of the environment presentation information on the legal purpose; Step 34: Based on the interference characteristics and the promotion characteristics, the basic adjustment means are modified to generate effective adjustment means corresponding to the control of the smart home, and several key control information corresponding to each effective control means for controlling the smart home corresponding to the control instruction are combined based on the logical relationship between different key control information to generate the control response means for the room, and the control response means are executed to control each of the controlled smart homes to respond to the control instruction.
9. A method for remotely controlling a hotel smart home using a mini program as claimed in claim 1, characterized in that: The step 4 comprises: Step 41: When the legal user enters the corresponding room, a privacy coverage instruction is issued to each smart home, control information corresponding to each smart home by the legal user is obtained, and real-time working information of each smart home is constructed; Step 42: dividing the real-time work information into work data of several privacy levels based on the privacy coverage instruction, performing privacy processing on the corresponding work data based on the corresponding privacy level, and obtaining several encrypted data of the legal user; Step 43: construct the permitted public information of the legal user based on the data value corresponding to each encrypted data, and transmit the permitted public information to the cloud for storage.
10. A small program remotely controls the hotel smart home system, characterized in that: include: A network connection module is used to encode the smart home contained in each room respectively, and control each smart home to connect with the corresponding edge gateway in units of rooms; A status acquisition module is used to obtain the real-time home status corresponding to each smart home, transmit the real-time home status to the cloud using the edge gateway, and compile the home information of each room and transmit it to the mini program end for display; An instruction response module, used to obtain the control instruction issued by the legal user through the mini program end, and control the corresponding coded control smart home to respond to the control instruction of the legal user; The encryption processing module is used to perform privacy coverage on the real-time working information corresponding to each smart home when the legitimate user enters the room, and generate the permitted public information of the legitimate user and transmit it to the cloud for storage.
Citation Information
Patent Citations
Home design system and home design method
CN104866691A
Instant messaging method, device and intelligent home system for intelligent home equipment
CN108156059A
Hotel intelligent equipment control method based on applet application
CN112004123A
Data processing method and device, electronic equipment and storage medium
CN112671870A
Network distribution method and network distribution system
CN112929941A