A Method and System for Remotely Controlling Hotel Smart Home by Mini Programs

The hotel smart home system is remotely controlled through mini programs, using edge network and cloud technology, the smart home in each room is coded and connected to the edge network, and the status is transmitted to the cloud in real time. Legal users issue control instructions through mini programs, solving the problems of equipment damage and inconvenience in use, realizing that users control smart homes before moving in, improving user experience and privacy protection.

CN119892902BActive Publication Date: 2025-07-25GUANGZHOU HEDONG TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510361201.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-07-25
Estimated Expiration
2045-03-26

AI Technical Summary

Technical Problem

The existing hotel smart home equipment control methods can easily lead to equipment damage and inconvenience to use by users, and the living environment cannot be arranged in advance, affecting the user experience.

Method used

The hotel's smart home system is remotely controlled through mini programs, using edge network and cloud technology, the smart home in each room is encoded and connected to the edge network, and the status is transmitted to the cloud in real time. Legal users issue control instructions through mini programs, and privacy processing and data storage are carried out before or after check-in.

Benefits of technology

It realizes that users control smart homes in advance before moving in, avoid equipment damage, improve user satisfaction and convenience, protect privacy, and provide a comfortable living environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892902B_ABST
    Figure CN119892902B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for remotely controlling hotel smart home by a small program, which includes: encoding each smart home included in each room respectively, controlling the smart home to dock with the corresponding edge gateway, respectively obtaining the real-time home status corresponding to each smart home and transmitting it to the cloud, respectively compiling the home information of each room and transmitting it to the small program side for display, obtaining the control instructions issued by a legitimate user through the small program side, controlling the smart home corresponding to the corresponding encoding to respond to the control instructions of the legitimate user, and respectively covering the privacy of the real-time working information corresponding to each smart home after the legitimate user enters the room, and only transmitting the information allowed to be made public to the cloud for storage. On the one hand, it can prevent the residents from being unfamiliar with the usage method of the smart home after check-in or causing unnecessary damage. On the other hand, the residents can arrange the environment in the room in advance before entering the room, improving the satisfaction of the residents in using it.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hotel intelligent management, and particularly relates to a method and system for remotely controlling hotel smart home through a mini 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. Moreover, smart homes are also gradually emerging in some hotels, such as smart curtains, smart lighting lamps, etc. Guests can control the switches of smart curtains and smart lighting lamps in a wired or wireless manner through corresponding curtain switches and lighting switches. Compared with traditional mechanical switches, they have a higher degree of intelligence and convenience. Currently, in order to improve service levels, hotels usually carry out intelligent transformation and use smart home devices to improve the living comfort of the occupants. When controlling smart home devices in existing hotel guest rooms, a voice control assistant is usually set up to facilitate the occupants to control the smart home devices through voice commands. Control devices such as smart speakers are usually placed in areas within the room that are easily accessible and observable by the occupants, such as the bedside table, so that the occupants can discover and use them in a timely manner. Although such control devices have a certain degree of intelligence, they are likely to affect the normal use of placement platforms such as bedside tables, and collisions may occur during use, resulting in damage to the control devices and property losses, and thus economic disputes are likely to occur. Moreover, the occupants can only control the home appliances after entering the room and cannot arrange the desired living environment for the occupants in advance.

[0003] Therefore, the present invention provides a method and system for remotely controlling hotel smart home through a mini program. Summary of the Invention

[0004] A method and system for remotely controlling hotel smart home through a mini program according to the present invention can control the smart home in hotel rooms by using a mini program. On the one hand, it can prevent the occupants from being unfamiliar with the usage methods of smart home appliances after check-in or causing unnecessary damage. On the other hand, the occupants can arrange the environment in the room in advance before entering the room, thereby improving the occupants' satisfaction.

[0005] The present invention provides a method for remotely controlling hotel smart home through a mini program, including:

[0006] Step 1: Coding each smart home included in each room respectively, and controlling each of the smart homes to dock with the corresponding edge network in units of rooms;

[0007] Step 2: Obtaining the real-time home appliance status corresponding to each of the smart homes respectively, transmitting the real-time home appliance status to the cloud by using the edge network, and compiling the home appliance information of each room respectively and transmitting it to the mini program end for display;

[0008] Step 3: Obtain the control instructions sent by the legal user through the mini-program terminal, and control the smart home corresponding to the corresponding code to respond to the control instructions of the legal user;

[0009] Step 4: After the legal user enters the room, respectively perform privacy coverage on the real-time working information corresponding to each smart home, generate the publicly available information of the legal user, and transmit it to the cloud for storage.

[0010] In an implementable manner,

[0011] The said step 1 includes:

[0012] Step 11: Identify the home functions and home working scopes of different smart homes in each room, and at the same time encode the smart homes to generate the smart home identification information of each room;

[0013] Step 12: Based on the smart home identification information, establish a smart model corresponding to the room. In the smart model, respectively identify the connectable edge networks corresponding to each smart home, and allocate a corresponding number of smart homes to each connectable edge network to generate the edge network-home code correspondence information;

[0014] Step 13: According to the edge network-home code correspondence information, control each smart home to dock with the corresponding edge network.

[0015] In an implementable manner,

[0016] The said step 12 includes:

[0017] Step 121: Based on the smart home identification information, build a model framework corresponding to the room, set function conditions and scope conditions according to the home functions and home working scopes corresponding to each smart home, and use the function conditions and the scope conditions to correct the framework model to obtain the smart model of the room;

[0018] Step 122: Run the smart model of the room to obtain the network connection method corresponding to each smart home, identify several connectable edge networks in the room that match the network connection method, and count the several connectable homes corresponding to each connectable edge network;

[0019] Step 123: In the smart model, respectively match each connectable edge network with the corresponding connectable home, and adjust the access edge network corresponding to each connectable home according to the number of matches until the dispersion between the access numbers corresponding to all the connectable edge networks is within the specified range, and generate the edge network-home code correspondence information.

[0020] In an implementable manner,

[0021] Step 13 includes:

[0022] Step 131: Determine the smart homes to be accessed for each connectable edge network according to the edge network-home coding, and establish a protocol access network scheme based on the access method corresponding to each smart home to be accessed and the network protocol corresponding to the connectable edge network;

[0023] Step 132: Control the corresponding smart homes to be accessed to access the corresponding edge network based on the access network scheme, 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;

[0024] Step 133: Screen a number of target connectable edge networks corresponding to the target smart homes to be accessed with unqualified network delay values, and replace the access edge network for the target smart homes to be accessed until the network delay value is qualified.

[0025] In an implementable manner,

[0026] It further includes:

[0027] Obtain the access network data corresponding to each smart home in real time. When the smart home drops the network, identify the connectable edge network of the smart home and control the smart home to access the network again.

[0028] In an implementable manner,

[0029] Step 2 includes:

[0030] Step 21: Obtain the real-time home state corresponding to each smart home respectively, combine the real-time home states by room to obtain the restored home information corresponding to the room, construct the real-time room state corresponding to each room, and mark the corresponding room as a dynamic room when the real-time room state is inconsistent with the historical room state corresponding to the previous moment;

[0031] Step 22: Establish a number of dynamic information of the dynamic room according to a number of real-time home states corresponding to each dynamic room in different time periods, respectively encode and count each dynamic information to obtain the real-time home dynamics of each dynamic room, and transmit it to the cloud for storage;

[0032] Step 23: Set program verification conditions according to the employment information of the residents corresponding to each of the dynamic rooms, obtain the login information corresponding to the mini-program login terminal, verify the login information using the program verification conditions to obtain the login legal evaluation result corresponding to the mini-program login terminal, and determine the legal attribute corresponding to the mini-program login terminal according to the login legal evaluation result;

[0033] Step 24: Locate the target real-time home dynamics corresponding to the legal users of the mini-program login terminal, construct several pieces of 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.

[0034] In an implementable manner,

[0035] It further includes:

[0036] Obtain the non-dynamic rooms where the real-time room status is consistent with the historical room status at the previous moment;

[0037] When the non-dynamic room shows a dynamic trend, determine that the non-dynamic room is in the occupied state, and obtain the public information of the occupied residents to construct program verification conditions.

[0038] In an implementable manner,

[0039] The said step 3 includes:

[0040] Step 31: Obtain the control instructions issued by the legal user through the mini-program terminal, identify the smart home controlled corresponding to the control instructions, find several home functions corresponding to the smart home controlled and the function range corresponding to each home function, and determine the effective control range of the legal user;

[0041] Step 32: Identify several control purposes included in the control instructions to determine the control home function corresponding to each control purpose, respectively match each control purpose with the corresponding smart home controlled, find the corresponding control home function within the corresponding effective control range, and regard the successfully found control purpose as a legal purpose, otherwise as an illegal purpose;

[0042] 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 to establish the basic adjustment means for this control work, obtain the environmental presentation information corresponding to the room, and respectively fuse each piece of environmental presentation information with the legal purpose to obtain the interference characteristics and promotion characteristics of the environmental presentation information on the legal purpose;

[0043] Step 34: Modify the basic adjustment means based on the interference features and the promotion features to generate effective adjustment means for controlling the smart home accordingly. For each effective control means for controlling the smart home corresponding to the control instruction, based on the logical relationship between different control key information, combine the effective control means to generate the control response means for the room, and execute the control response means to control each smart home for controlling to respond to the control instruction.

[0044] In an implementable manner,

[0045] Step 4 includes:

[0046] Step 41: After the legal user enters the corresponding room, send privacy covering instructions to each smart home respectively, obtain the control information of each smart home corresponding to the legal user, and construct the real-time working information of each smart home.

[0047] Step 42: Divide the real-time working information into working data of several privacy levels based on the privacy covering instructions, and perform privacy processing on the corresponding working data based on the corresponding privacy level to obtain several encrypted data of the legal user.

[0048] Step 43: Construct the allowed public information of the legal user based on the data value corresponding to each encrypted data, and use the edge network to transmit the allowed public information to the cloud for storage.

[0049] In an implementable manner,

[0050] It further includes:

[0051] Obtain the effective control range corresponding to the illegal purpose, and establish function reminder information for controlling the smart home according to the effective control range;

[0052] Transmit the function reminder information to the corresponding applet end for display.

[0053] The present invention provides a hotel smart home system remotely controlled by an applet, including:

[0054] A network docking module, which is used to encode each smart home included in each room respectively, and control each smart home to dock with the corresponding edge gateway in units of rooms;

[0055] A status acquisition module, which is used to obtain the real-time home status corresponding to each smart home respectively, transmit the real-time home status to the cloud using the edge gateway, and compile the home information of each room respectively and transmit it to the applet end for display;

[0056] An instruction response module, configured to obtain control instructions sent by a legal user through the applet terminal, and control the smart home corresponding to the corresponding code to respond to the control instructions of the legal user.

[0057] An encryption processing module, configured to perform privacy coverage on the real-time working information corresponding to each smart home when the legal user enters the room, and generate allowed public information of the legal user to be transmitted to the cloud for storage.

[0058] The achievable beneficial effects of the above technical solution are as follows: The purpose is to solve the defects of the prior art. The present invention perfectly combines hotel management with the applet, breaks the drawback of the low sense of technology of traditional hotels, improves 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 can also protect the privacy of the previous tenant. Moreover, the user can control the smart home in the room through the applet before entering the room or after leaving the room. Since the smart home is connected to the edge network and the cloud, it can quickly respond to the needs of the tenant and improve the satisfaction of the household.

[0059] To solve the defects of the prior art, during the idle period of the hotel, conduct a coding inventory of the smart home in each room, connect them all to the edge network to ensure that each smart home is in a normal working state, then transmit the real-time home state of the smart home to the cloud for storage for subsequent reference, and at the same time transmit the home information to the applet for legal users to view, and control the corresponding smart home 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 applet in advance before entering the room, arranging the desired living environment in advance for the user. Finally, after the user enters the room, encrypt the data generated by the smart home and only transmit the allowed public information to the cloud for storage. In this way, not only can the diversification of the user's control of the smart home be expanded, improving the user's convenience, but also the room can be arranged in advance for the user, improving the user's satisfaction.

[0060] Other features and advantages of the present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention can be realized and obtained by the structure specifically pointed out in the written specification and the drawings.

[0061] The following will further describe the technical solution of the present invention in detail through the drawings and embodiments. Description of the Drawings

[0062] 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, but do not constitute a limitation to the present invention. In the accompanying drawings:

[0063] Figure 1 It is a schematic diagram of the working process of a method for remotely controlling hotel smart home by a small program in an embodiment of the present invention;

[0064] Figure 2 It is a schematic diagram of the working process of step 2 of a method for remotely controlling hotel smart home by a small program in an embodiment of the present invention;

[0065] Figure 3 It is a schematic diagram of the composition of a system for remotely controlling hotel smart home by a small program in an embodiment of the present invention. Detailed implementation manners

[0066] The following describes the preferred embodiments of the present invention with reference to 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.

[0067] Embodiment 1

[0068] This embodiment provides a method for remotely controlling hotel smart home by a small program. As Figure 1 shown, it includes:

[0069] Step 1: Encode the smart home included in each room respectively, and control each of the smart homes to dock with the corresponding edge network in units of rooms;

[0070] Step 2: Obtain the real-time home status corresponding to each of the smart homes respectively, transmit the real-time home status to the cloud by using the edge network, and compile the home information of each room respectively and transmit it to the small program end for display;

[0071] Step 3: Obtain the control instructions issued by a legal user through the small program end, and control the smart home corresponding to the corresponding code to respond to the control instructions of the legal user;

[0072] Step 4: When the legal user enters the room, respectively perform privacy coverage on the real-time working information corresponding to each of the smart homes, and generate the publicly allowed information of the legal user and transmit it to the cloud for storage.

[0073] In this example, encoding refers to the process of numbering and naming the smart home in the room, and the encoding format is: room number + smart home sequence code;

[0074] In this example, the real-time home status represents the status presented by a smart home at the current moment;

[0075] In this example, a legal user refers to a registered household, and the household is only a legal user for the registered rooms;

[0076] In this example, the purpose of privacy coverage is to avoid the leakage of users' privacy and provide users with a safe and private accommodation space;

[0077] In this example, after each tenant checks out, the smart home is uniformly restored to provide the next tenant with a comfortable and convenient living environment.

[0078] The working principle and beneficial effects of the above technical solution: To solve the defects of the existing technology, during the idle period of the hotel, the smart homes in each room are coded and inventoried, and all of them are connected to the edge network to ensure that each smart home is in a normal working state. Then, the real-time home state of the smart home is transmitted to the cloud for storage, facilitating subsequent access to relevant content. At the same time, the home information is transmitted to the mini-program for legal users to view, and according to the control instructions issued by the users, the corresponding smart homes are controlled to respond. In this way, users can control the smart homes in the room in advance through the mini-program before entering the room, and arrange the desired living environment in advance for the users. Finally, after the users enter the room, the data generated by the smart home is encrypted, and only the information allowed to be public is transmitted to the cloud for storage. In this way, not only can the diversification of users' control over smart homes be expanded, improving the convenience of users, but also the rooms can be arranged in advance for users, improving the satisfaction of users.

[0079] Embodiment 2

[0080] Based on Embodiment 1, for the method of remotely controlling hotel smart homes through a mini-program, Step 1 includes:

[0081] Step 11: Identify the home functions and home working scopes of different smart homes in each room, and at the same time, code the smart homes to generate the smart home identification information for each room;

[0082] Step 12: Based on the smart home identification information, establish a corresponding smart model for the room. In the smart model, identify the connectable edge networks corresponding to each smart home respectively, and allocate the corresponding number of smart homes to each connectable edge network to generate the edge network-home code correspondence information;

[0083] Step 13: According to the edge network-home code correspondence information, control each smart home to dock with the corresponding edge network.

[0084] In this example, the home function refers to the functions that the smart home can achieve;

[0085] In this example, the home working range represents the spatial and temporal ranges within which a smart home can perform a function;

[0086] In this example, the smart home identification information represents the information used to identify a smart home, including: home name, home function, and home code;

[0087] In this example, the smart model represents a model that aggregates all the smart homes in a room;

[0088] In this example, the connectable edge network represents the edge network within the connection range of a smart home;

[0089] In this example, the edge network - home code corresponding information represents the code of the smart home that an edge network needs to connect to.

[0090] The working principle and beneficial effects of the above technical solution: To ensure that each smart home can be connected to the edge network and keep the edge network unobstructed, smart home identification information is constructed based on the home function, home working range, and home code of each smart home, thereby building a smart model for each room. By running the smart model, the connectable edge network for each smart home is determined, and then several smart homes are matched to each connectable edge network. In this way, it can not only ensure that smart homes are connected to the edge network but also ensure that the smart homes connected to the edge network are evenly distributed, ensuring the information transmission efficiency.

[0091] Embodiment 3

[0092] Based on Embodiment 2, for the method for remotely controlling hotel smart homes using a small program, step 12 includes:

[0093] Step 121: Build a model framework corresponding to the room based on the smart home identification information, set function conditions and range conditions according to the home function and home working range corresponding to each smart home, and use the function conditions and the range conditions to correct the framework model to obtain the smart model of the room;

[0094] Step 122: Run the smart model of the room to obtain the network connection method corresponding to each smart home, identify several connectable edge networks in the room that match the network connection method, and count the several connectable homes corresponding to each connectable edge network;

[0095] Step 123: In the intelligent model, match a corresponding connectable home appliance for each of the connectable edge networks, and adjust the access edge network corresponding to each connectable home appliance according to the number of matches until the dispersion among the access numbers corresponding to all the connectable edge networks is within a specified range, and generate the corresponding information of the edge network - home appliance coding.

[0096] In this instance, the functional condition corresponding to the home appliance function represents the condition that needs to be executed when a smart home wants to achieve a home appliance function.

[0097] In this instance, the range condition corresponding to the home appliance working range represents the condition that needs to be executed when a smart home wants to adjust a home appliance function.

[0098] In this instance, a smart home can correspond to several connectable edge networks, and a connectable edge network allows several smart homes to access.

[0099] In this instance, the network connection method represents the network access method supported by a smart home.

[0100] In this instance, the connectable home appliance represents a smart home that can be connected to an edge network.

[0101] In this instance, the number of matches represents the number of several connectable home appliances matched by a connectable edge network.

[0102] In this instance, the specified range is: the dispersion is not higher than 3, that is to say, the difference in the number of matches between any two connectable networks does not exceed 3.

[0103] The working principle and beneficial effects of the above technical solution: In order to further ensure the efficiency of network transmission, build the model framework of the room according to the smart home identification information, then convert the home appliance function and home appliance working range of the smart home into conditions to correct the model framework to obtain the intelligent model of the room, and then use this intelligent model to determine the network connection method of each smart home, so as to match the corresponding connectable edge network for it. By adjusting the number of matches of each connectable edge network, the smart homes are evenly distributed to each connectable edge network, thereby constructing the corresponding information between the edge network and the home appliance coding. According to this information, the smart home can be controlled to access the corresponding edge network, which is convenient for subsequent work.

[0104] Embodiment 4

[0105] On the basis of Embodiment 2, for the method for remotely controlling hotel smart homes by a small program, Step 13 includes:

[0106] Step 131: Determine the smart homes to be connected to each connectable edge network according to the edge network-home coding, and establish a protocol access network scheme based on the access network method corresponding to each smart home to be connected and the network protocol of the corresponding connectable edge network;

[0107] Step 132: Control the corresponding smart homes to be connected to the corresponding edge network based on the access network scheme, respectively control each smart home to be connected to send verification information to the corresponding edge network, and determine the network delay value of the smart home to be connected according to the feedback information of the edge network;

[0108] Step 133: Screen several target connectable edge networks corresponding to the target smart homes to be connected with unqualified network delay values, and replace the access edge network for the target smart homes to be connected until the network delay value is qualified.

[0109] In this example, the smart home to be connected represents the smart home that a connectable edge network needs to dock with;

[0110] In this example, the protocol access network scheme represents the execution scheme for connecting the smart home to the corresponding connectable edge network;

[0111] In this example, the verification information represents the signal used to verify the network delay;

[0112] In this example, when the network delay value is greater than 1MB / S, it is determined that the corresponding target smart home to be connected is unqualified.

[0113] 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 lag, a protocol access network scheme is established according to the access network method of the smart home to be connected and the network protocol of the edge network. Under the guidance of this scheme, the smart home can be connected to the corresponding edge network. The network delay value of the smart home to be connected is determined through simulation verification, and the network of the smart home with too high network delay is replaced. In this way, it can be ensured that each smart home is allocated a smooth edge network to ensure the information transmission efficiency.

[0114] Embodiment 5

[0115] Based on Embodiment 1, the method for remotely controlling hotel smart homes by a small program further includes:

[0116] Obtain the access network data corresponding to each smart home in real time. When the smart home loses its network connection, identify the connectable edge network of the smart home and control the smart home to access the network again.

[0117] Working principle and beneficial effects of the above technical solution: Monitor the network connection status of each smart home in real time. When the network drops, control it to connect to the network in time to reduce the generation of interrupted data.

[0118] Embodiment 6

[0119] Based on Embodiment 1, the method for remotely controlling hotel smart homes by a small program is as Figure 2 shown, and Step 2 includes:

[0120] Step 21: Obtain the real-time home status corresponding to each smart home respectively, combine the real-time home status by room to obtain the restored home information corresponding to the room, construct the real-time room status corresponding to each room, and 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;

[0121] Step 22: Establish several dynamic information of the dynamic room according to several real-time home statuses corresponding to each dynamic room in different time periods, encode and count each dynamic information respectively to obtain the real-time home dynamics of each dynamic room, and transmit them to the cloud for storage;

[0122] Step 23: Set program verification conditions according to the household employment information corresponding to each dynamic room, obtain the login information corresponding to the small program login terminal, verify the login information using the program verification conditions to obtain the login legal evaluation result corresponding to the small program login terminal, and determine the legal attribute corresponding to the small program login terminal according to the login legal evaluation result;

[0123] Step 24: Locate the target real-time home dynamics corresponding to the legal user of the small program login terminal, construct several pieces of 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 small program terminal for display.

[0124] In this example, the restored home information represents the result of restoring the home situation in a room by combining all the real-time home statuses in the room;

[0125] In this example, one moment is 15 minutes;

[0126] In this example, the dynamic information represents the information generated when the smart homes in the room are working;

[0127] In this example, the dynamic room represents a room with registered users;

[0128] In this example, the household employment information represents the information submitted by the user during registration;

[0129] In this example, the program authentication condition represents a condition used to authenticate the user's identity;

[0130] In this example, the login information refers to the information used by the user to log in to the mini program terminal;

[0131] 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.

[0132] In this example, the home environment information refers to the environment information currently presented in the room.

[0133] 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.

[0134] Example 7

[0135] Based on Example 6, the method for remotely controlling a hotel smart home through a mini program further includes:

[0136] Acquire a non-dynamic room whose real-time room state is consistent with the historical room state corresponding to the previous moment;

[0137] 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.

[0138] 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.

[0139] Example 8

[0140] On the basis of Example 1, the method for remotely controlling a hotel smart home through a mini program, step 3, comprises:

[0141] Step 31: Obtain the control instruction sent by the legal user through the mini-program terminal, identify the smart home controlled corresponding to the control instruction, find several home functions corresponding to the controlled smart home and the function range corresponding to each home function, and determine the effective control range of the legal user;

[0142] Step 32: Identify several control purposes included in the control instruction, determine the control home function corresponding to each control purpose, respectively match a corresponding controlled smart home for each control purpose, find the corresponding control home function within the corresponding effective control range, and regard the successfully found control purpose as a legal purpose, otherwise as an illegal purpose;

[0143] 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 to establish the basic adjustment means of this control work, obtain the environmental presentation information of the corresponding room, and respectively integrate each environmental presentation information with the legal purpose to obtain the interference feature and promotion feature of the environmental presentation information on the legal purpose;

[0144] Step 34: Based on the interference feature and the promotion feature, correct the basic adjustment means to generate an effective adjustment means for the corresponding controlled smart home, and for the several control key information corresponding to the effective control means of each controlled smart home corresponding to the control instruction, combine the effective control means based on the logical relationship between different control key information to generate the control response means for the room, and execute the control response means to control each controlled smart home to respond to the control instruction.

[0145] In this example, the effective control range represents the range of states that a legal user can control a smart home to reach;

[0146] In this example, one control purpose corresponds to one control home function and one controlled smart home;

[0147] In this example, a legal purpose means a purpose that can be achieved by controlling a smart home. For example: controlling the air conditioner to adjust the room temperature to 26 degrees;

[0148] In this example, an illegal purpose means a purpose that cannot be achieved by controlling a smart home. For example: controlling the water heater to adjust the water temperature to -5 degrees;

[0149] In this example, the function difference vector represents a vector pointing from the current state of the legally controlled home to the legal purpose;

[0150] In this example, the adjustment direction is from the current state of legally controlling the home appliances to the legal purpose, that is, the direction of the functional difference vector;

[0151] In this example, the adjustment amount is the difference between the current state of legally controlling the home appliances and the legal purpose, that is, the modulus of the functional difference vector;

[0152] In this example, the interference feature represents the negative impact of the environmental presentation information on the legal purpose. For example, when the temperature in the room is 10 degrees, it takes more time to adjust it to 25 degrees;

[0153] In this example, the promotion feature represents the positive impact of the environmental presentation information on the legal purpose. For example, when the light in the room is sufficient, less lighting is required to adjust it to the specified light intensity;

[0154] In this example, the control key information represents the key steps when controlling the smart home for adjustment;

[0155] In this example, the logical relationships include: time logic and space logic, representing the logical describable relationships between any two control key information;

[0156] In this example, the control response means represents the means used to control the smart home to respond to the control instructions issued by the legal user.

[0157] The working principle and beneficial effects of the above technical solution: In order to improve the rationality and intelligence of controlling the smart home, the user can issue control instructions through the applet to adjust the smart home in the room. In order to further ensure the safety of the user and protect the functions of the smart home, before adjustment, it is necessary to analyze whether the control purpose of the user is legal. For the current situation of legally controlling the smart home corresponding to the legal purpose and the legal purpose, as well as the environmental presentation information, effective adjustment means are constructed. Further, the control key information between different effective adjustment means is used for means recombination to generate a control response means. Finally, the control response means is used to control the corresponding smart home to achieve the control purpose. In this way, not only can good accommodation services be provided for the user, but also the steps of manual operation by the user can be reduced, and collisions during use can be avoided, resulting in damage to the control equipment falling and property losses, and thus economic disputes are likely to occur.

[0158] Embodiment 9

[0159] Based on Embodiment 1, in the method for remotely controlling hotel smart home by a small program, step 4 includes:

[0160] Step 41: After the legal user enters the corresponding room, issue a privacy coverage instruction to each of the smart homes, obtain the control information corresponding to each smart home by the legal user, and construct the real-time working information of each smart home.

[0161] Step 42: Based on the privacy coverage instruction, divide the real-time working information into working data of several privacy levels, and perform privacy processing on the corresponding working data based on the corresponding privacy level to obtain several encrypted data of the legal user.

[0162] Step 43: Construct the allowed public information of the legal user based on the data value corresponding to each encrypted data, and transmit the allowed public information to the cloud for storage.

[0163] The working principle and beneficial effects of the above technical solution: To ensure the privacy and security of users, after the user enters the room, the data generated by the user using the smart home in the room is encrypted, and finally several allowed public information are generated and transmitted to the cloud for storage. On the one hand, it can protect the privacy of users, and on the other hand, the police can make reasonable inferences based on the allowed public data when necessary.

[0164] Embodiment 10

[0165] Based on Embodiment 8, the method for remotely controlling hotel smart homes by a small program further includes:

[0166] Obtain the effective control range corresponding to the illegal purpose, and establish the function reminder information for controlling the smart home according to the effective control range;

[0167] Transmit the function reminder information to the corresponding small program end for display.

[0168] The working principle and beneficial effects of the above technical solution: When the user enters an illegal purpose, retrieve the corresponding effective control range to remind the user to re-enter the instruction.

[0169] Embodiment 11

[0170] This embodiment provides a system for remotely controlling hotel smart homes by a small program, as Figure 3 shown, including:

[0171] A network docking module, which is used to encode each smart home included in each room, and control each smart home to dock with the corresponding edge gateway in units of rooms;

[0172] The status collection module is used to obtain the real-time home status corresponding to each smart home respectively, transmit the real-time home status to the cloud using the edge gateway, and compile and transmit the home information of each room to the applet side for display;

[0173] The instruction response module is used to obtain the control instructions issued by the legal user through the applet side, and control the corresponding coded smart home to respond to the control instructions of the legal user;

[0174] The encryption processing module is used to perform privacy coverage on the real-time working information corresponding to each smart home respectively when the legal user enters the room, and generate the publicly allowed information of the legal user to be transmitted to the cloud for storage;

[0175] In this example, coding represents the process of numbering and naming the smart homes in the room, and the coding format is: room number + smart home sequence code;

[0176] In this example, the real-time home status represents the status presented by a smart home at the current moment;

[0177] In this example, a legal user refers to a registered resident, and the resident is only a legal user for the registered room;

[0178] In this example, the purpose of performing privacy coverage is to avoid the leakage of user privacy and provide a safe and private living space for users;

[0179] In this example, after each tenant checks out, the smart home is uniformly restored, providing a comfortable and convenient living environment for the next tenant.

[0180] The working principle and beneficial effects of the above technical solution: To solve the defects of the existing technology, during the idle period of the hotel, the smart homes in each room are coded and inventoried, and all of them are connected to the edge network to ensure that each smart home is in a normal working state. Then, the real-time home status of the smart home is transmitted to the cloud for storage, which is convenient for subsequent access to relevant content. At the same time, the home information is transmitted to the applet for legal users to view, and the corresponding smart home is controlled to respond according to the control instructions issued by the user. In this way, users can control the smart homes in the room through the applet in advance before entering the room, and arrange the desired living environment in advance. Finally, after the user enters the room, the data generated by the smart home is encrypted, and only the publicly allowed information is transmitted to the cloud for storage. In this way, not only can the diversification of user control over smart homes be expanded, the convenience of users be improved, but also the room can be arranged in advance for users, and the satisfaction of users be improved.

[0181] 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 equivalent technologies, the present invention also intends to include these modifications and variations.

Claims

1. A method for remotely controlling hotel smart home by a small program, characterized in that Including: Step 1: Encode each smart home included in each room, and control each of the smart homes to dock with the corresponding edge gateway in units of rooms; Step 2: Obtain the real-time home status corresponding to each smart home respectively, use the edge gateway to transmit the real-time home status to the cloud, and compile the home information of each room respectively and transmit it to the applet side for display; Step 3: Obtain the control instructions issued by legal users through the applet side, and control the smart home corresponding to the corresponding code to respond to the control instructions of the legal users; Step 4: When the legal user enters the room, respectively perform privacy coverage on the real-time working information corresponding to each smart home, generate the allowed public information of the legal user and transmit it to the cloud for storage; The said Step 2 includes: Step 21: Obtain the real-time home status corresponding to each smart home respectively, combine the real-time home status in units of rooms to obtain the restored home information corresponding to the room, construct the real-time room status corresponding to each room, and 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: Establish a number of dynamic information of the dynamic room according to a number of real-time home statuses corresponding to the dynamic room in different time periods, respectively encode and count each dynamic information to obtain the real-time home dynamics of each dynamic room, and transmit it to the cloud for storage; Step 23: Set program verification conditions according to the household employment information corresponding to each dynamic room, obtain the login information corresponding to the applet login side, use the program verification conditions to verify the login information, obtain the login legal evaluation result corresponding to the applet login side, and determine the legal attribute corresponding to the applet login side according to the login legal evaluation result; Step 24: Locate the target real-time home dynamics corresponding to the legal user who is legal on the applet login side, construct a number of home environment information corresponding to the room based on the target real-time home dynamics, and transmit each home environment information to the corresponding applet side for display.

2. The method for remotely controlling hotel smart home by a small program according to claim 1, characterized in that, The said Step 1 includes: Step 11: Identify the home functions and home working scopes of different smart homes in each room, and at the same time encode the smart homes to generate the smart home identification information of each room; Step 12: Establish a smart model corresponding to the room based on the smart home identification information, respectively identify the connectable edge networks corresponding to each smart home in the smart model, and allocate a corresponding number of smart homes to each connectable edge network to generate edge network-home coding corresponding information; Step 13: Control each smart home to dock with the corresponding edge network according to the edge network-home coding corresponding information.

3. The method for remotely controlling hotel smart home by a small program according to claim 2, wherein The said Step 12 includes: 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 model framework 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. The method for remotely controlling hotel smart home by a small program according to 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. The method for remotely controlling hotel smart home by a small program according to 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. The method for remotely controlling hotel smart home by a small program according to claim 1, 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.

7. The method for remotely controlling hotel smart home by a small program according to claim 1, wherein 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 legal control of the smart home, identify the adjustment direction and adjustment amount corresponding to the function difference vector to establish the basic adjustment means for this control operation, obtain the environmental presentation information corresponding to the room, and respectively fuse each piece of environmental presentation information with the legal purpose to obtain the interference characteristics and promotion characteristics of the environmental presentation information on the legal purpose; Step 34: Based on the interference characteristics and the promotion characteristics, correct the basic adjustment means to generate an effective adjustment means for controlling the smart home. For each effective control means for controlling the smart home corresponding to the control instruction, based on the logical relationship between different control key information, combine the effective control means to generate a control response means for the room, and execute the control response means to control each smart home controlled by the control instruction to respond to the control instruction.

8. A method for remotely controlling hotel smart home by a small program as claimed in claim 1, wherein The said step 4 includes: Step 41: After the legal user enters the corresponding room, issue privacy coverage instructions to each smart home respectively, obtain the control information of the legal user corresponding to each smart home, and construct the real-time working information of each smart home. Step 42: Based on the privacy coverage instructions, divide the real-time working information into working data of several privacy levels, and perform privacy processing on the corresponding working data based on the corresponding privacy levels to obtain several encrypted data of the legal user. Step 43: Based on the data values corresponding to each encrypted data, construct the allowed public information of the legal user, and transmit the allowed public information to the cloud for storage.

9. A small program remote control hotel smart home system, characterized in that, It includes: A network docking module, which is used to encode each smart home included in each room respectively, and control each smart home to dock with the corresponding edge gateway in units of rooms; A status acquisition module, which is used to obtain the real-time home status corresponding to each smart home respectively, use the edge gateway to transmit the real-time home status to the cloud, and respectively compile the home information of each room and transmit it to the applet side for display; An instruction response module, which is used to obtain the control instruction issued by the legal user through the applet side, and control the smart home corresponding to the corresponding encoding to respond to the control instruction of the legal user; An encryption processing module, which is used to perform privacy coverage on the real-time working information corresponding to each smart home respectively after the legal user enters the room, generate the allowed public information of the legal user, and transmit it to the cloud for storage; The process that the status acquisition module respectively obtains the real-time home status corresponding to each smart home, uses the edge gateway to transmit the real-time home status to the cloud, and respectively compiles the home information of each room and transmits it to the applet side for display includes: Obtain the real-time home status corresponding to each of the smart homes respectively, combine the real-time home status by room unit to obtain the restored home information corresponding to the room, construct the real-time room status corresponding to each room, and mark the corresponding room as a dynamic room when the real-time room status is inconsistent with the historical room status corresponding to the previous moment; Establish several dynamic information of the dynamic room according to several real-time home statuses corresponding to each dynamic room in different time periods, encode and count each dynamic information respectively to obtain the real-time home dynamics of each dynamic room, and transmit them to the cloud for storage; Set program verification conditions according to the household employment information corresponding to each dynamic room, obtain the login information corresponding to the mini-program login terminal, use the program verification conditions to verify the login information, obtain the login legal evaluation result corresponding to the mini-program login terminal, and determine the legal attribute corresponding to the mini-program login terminal according to the login legal evaluation result; Locate the target real-time home dynamics corresponding to the legal user with a legal mini-program login terminal, construct several pieces of 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.

Citation Information

Patent Citations

  • Hotel intelligent equipment control method based on applet application

    CN112004123A

  • Data processing method and device, electronic equipment and storage medium

    CN112671870A

  • Smart home privacy protection method and device, electronic equipment and storage medium

    CN113742771A