An initialization method and device of a smart home device, an electronic device, and a storage medium
By receiving and saving the debugging instructions and trigger time intervals of smart home devices and obtaining authorization information, the problem of complex initialization in existing technologies is solved, improving user experience and device initialization efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2026-03-24
AI Technical Summary
Existing smart home systems have a complex initialization process before residents move in, resulting in a poor user experience. In particular, the interconnection and initialization of multiple devices requires authorization information, which complicates the operation.
By receiving and saving debugging commands and trigger time intervals from multiple smart home devices, obtaining authorization information, and initializing them in a certain order, the initialization process is simplified.
It improves the user's initialization experience, simplifies the initialization process of multiple smart home devices, and is suitable for smart home systems in fully furnished apartments.
Smart Images

Figure CN116300482B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of smart home, in particular to a smart home device initialization method and device, electronic equipment and storage medium. BACKGROUND
[0002] The smart home system is a system that combines each sub-system related to home life, such as security, light control, curtain control, gas valve control, information home appliance, scene linkage, floor heating, health care, health and epidemic prevention, security and safety, etc., in accordance with the ergonomic principle, by using advanced computer technology, network communication technology, intelligent cloud control, comprehensive wiring technology and medical electronic technology, and fusing individual needs, and realizes the new home life experience of "people-oriented" through networked comprehensive intelligent control and management.
[0003] The smart home, also known as smart residence, is installed by the developer before the delivery of the apartment or residence. The smart home is composed of multiple smart home devices, and each smart home device is interconnected. In order to normally use the smart home after moving in, it is necessary to initialize each smart home device in the smart home system before moving in. The existing smart home is initialized by the resident himself, but the activation requires authorization information, and the initialization process is very complex, and the experience of the resident is not good. SUMMARY
[0004] The purpose of the embodiments of the present application is to provide a smart home device initialization method and device, electronic equipment and storage medium, which can enable the staff to initialize the smart home devices of multiple residences and improve the user experience.
[0005] In a first aspect, the embodiments of the present application provide a smart home device initialization method, comprising:
[0006] Receiving and saving the debugging instructions of multiple smart home devices and the trigger time intervals between the debugging instructions of the multiple smart home devices;
[0007] Obtaining the authorization information of multiple current smart home devices;
[0008] Initializing the multiple current smart home devices according to the authorization information of the current smart home devices, the debugging instructions of the multiple smart home devices and the trigger time intervals between the debugging instructions of the multiple smart home devices.
[0009] In the implementation process, the debugging instructions of the plurality of smart home devices input by the user are acquired and saved. Since the plurality of smart home devices in the smart home system are interconnected, the initialization of the plurality of smart home devices needs to be performed in a certain order, and the initialization will fail. Therefore, the triggering time intervals between the plurality of debugging instructions are also received. Considering that the smart home systems in the finished houses are consistent, the debugging instructions of the plurality of smart home devices can be used to initialize the smart home systems of the plurality of finished houses. Specifically, the authorization information of the plurality of smart home devices is acquired, and each finished house is initialized according to the appliance authorization information, the debugging instructions of the plurality of appliances, and the triggering time intervals between the debugging instructions of the plurality of appliances, thereby improving the user experience.
[0010] In a second aspect, an embodiment of the present application provides an initialization device of a smart home device, and the device comprises:
[0011] A receiving module is configured to receive and save the debugging instructions of the plurality of smart home devices and the triggering time intervals between the debugging instructions of the plurality of smart home devices.
[0012] An acquiring module is configured to acquire the authorization information of the plurality of current smart home devices.
[0013] An initialization module is configured to initialize the plurality of current smart home devices according to the authorization information of the current smart home devices, the debugging instructions of the plurality of smart home devices, and the triggering time intervals between the debugging instructions of the plurality of smart home devices.
[0014] In the implementation process, the receiving module acquires and saves the debugging instructions of the plurality of smart home devices input by the user. Since the plurality of smart home devices in the smart home system are interconnected, the initialization of the plurality of smart home devices needs to be performed in a certain order, and the initialization will fail. Therefore, the triggering time intervals between the plurality of debugging instructions are also received. Considering that the smart home systems in the finished houses are consistent, the debugging instructions of the plurality of smart home devices can be used to initialize the smart home systems of the plurality of finished houses. Specifically, the acquiring module acquires the authorization information of the plurality of smart home devices, and the initialization module initializes each finished house according to the appliance authorization information, the debugging instructions of the plurality of appliances, and the triggering time intervals between the debugging instructions of the plurality of appliances.
[0015] In a third aspect, an embodiment of the present application provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, the steps of the method according to any one of the first aspect are implemented.
[0016] In a fourth aspect, a computer readable storage medium is provided. The computer readable storage medium stores instructions thereon. When the instructions are run on a computer, the computer is caused to perform the method according to any one of the first aspect.
[0017] Other features and advantages of the present application will be illustrated in the following description, or can be learned from the description, or can be clearly understood without any doubt by implementing the above-mentioned technology disclosed in the present application.
[0018] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the following preferred embodiments are specifically described in detail below, and the accompanying drawings are described as follows. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation to the scope. For those skilled in the art, other related drawings can also be obtained without any creative labor on the basis of these drawings.
[0020] Figure 1 A flowchart of an application method of a scene control scheme provided by the embodiments of the present application is shown in the figure;
[0021] Figure 2 A structural diagram of a scene control device provided by the embodiments of the present application is shown in the figure;
[0022] Figure 3 A flowchart of an application method of a scene control scheme provided by the embodiments of the present application is shown in the figure;
[0023] Figure 4 A flowchart of an application method of a scene control scheme provided by the embodiments of the present application is shown in the figure;
[0024] Figure 5 A flowchart of an application method of a scene control scheme provided by the embodiments of the present application is shown in the figure;
[0025] Figure 6 A structural diagram of a scene control device provided by the embodiments of the present application is shown in the figure;
[0026] Figure 7 A structural diagram of a scene control device provided by the embodiments of the present application is shown in the figure;
[0027] Figure 8 A flowchart of an initialization method of a smart home device provided by the embodiments of the present application is shown in the figure;
[0028] Figure 9 Another flowchart of an initialization method of a smart home device provided in an embodiment of the present application is shown in FIG. 6.
[0029] Figure 10 A structure diagram of an initialization device of a smart home device provided in an embodiment of the present application is shown in FIG. 7. DETAILED DESCRIPTION
[0030] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
[0031] It should be noted that similar reference numerals and letters refer to like items in the following drawings, and thus, once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings. Meanwhile, in the description of the present application, the terms "first", "second", and the like are merely used to distinguish description, and cannot be understood as indicating or implying relative importance.
[0032] In order to make the solutions of the embodiments of the present application easier to understand, the embodiments of the present application provide a method for obtaining a scenario-based control scheme and a method for applying the scenario-based control scheme.
[0033] Embodiment 1
[0034] Please refer to Figure 1 , Figure 1 A flowchart of a method for applying a scenario-based control scheme provided in an embodiment of the present application is shown in FIG. 8. The method for applying the scenario-based control scheme is applied to a scenario-based control device, and specifically, the method is a method for automatically generating a scenario-based control scheme, which includes the following steps.
[0035] S101, when detecting an operation instruction of at least one smart home device, start recording a plurality of operation instructions in a detection time window.
[0036] In the embodiment, a local area network can include many smart home devices. The local area network can be a home local area network, and can also be an outdoor local area network.
[0037] In the embodiment, when a user operates at least one smart home device, the user can send an operation instruction through a control device, at which time the scenario-based control device can capture the operation instruction sent by the control device and record the operation instruction.
[0038] In the embodiment, the control device that sends the operation instruction can be a user's mobile phone, a controller of a smart home device (such as a remote controller of a smart air conditioner, a remote controller of a smart television).
[0039] In the embodiment, the signal type of the operation instruction is not limited.
[0040] In the embodiment, the scene control device has multiple communication functions, such as wifi communication function, bluetooth communication function, infrared communication function, etc.
[0041] In the embodiment, the scene control device captures all the operation instructions that can be captured in real time, which are the operation instructions when the user normally operates the smart home device. Therefore, the scene control device can capture and record the operation instructions without interfering with the normal use of the smart home device.
[0042] In the embodiment, when the user turns on the smart home device group associated with the TV and the sound box, the user may turn on the TV and set the signal source of the TV through the TV remote control, and then the user may send a signal to turn on the sound box through the mobile phone. In this scenario, the scene control device can capture the operation instruction sent by the remote control and the operation instruction sent by the mobile phone. As can be seen, the scene control device can capture all the instructions in the process of normal use of the user and record them.
[0043] In the embodiment, using the scene control device can effectively obtain all the operation instructions, so that the subsequent step can be based on all the operation instructions to customize the scene and effectively generate the scene control scheme.
[0044] In the embodiment, the operation instruction includes on-off instruction, volume adjustment instruction, signal source adjustment instruction, etc. Among them, the operation instruction for different smart home devices may be different, and for these different operation instructions, the scene control device can capture and record all of them, and mark or number them according to different smart home devices. For example, an operation instruction is sent to a refrigerator with model XXX, which is used to control the refrigerator to execute YYY operation instruction. The operation instruction can be recorded as "XXX: YYY" when it is recorded in the database.
[0045] In the embodiment, the operation instruction can also be a voice instruction, and the scene control device has voice recognition function and voice conversion function.
[0046] In the embodiment, the detection time window is a preset detection time.
[0047] In the embodiment, when the method detects the operation instruction of the user controlling the smart home, it is considered that the user starts to control the smart home, and the moment is taken as the starting time of the detection time window, and all the operation instructions of the user in the detection time window are recorded.
[0048] In this embodiment, the length of the detection time window can be △T, the moment of receiving the first operation instruction can be t1, and the moment of ending the detection can be calculated as t2=t1+△T. It can be seen that the operation instructions in the time period of t1-t2 will be recorded.
[0049] In this embodiment, the detection time window is preset, and the general operation duration will not be greater than the detection time window. Therefore, if multiple operation instructions corresponding to the operation duration exceeding the detection time window are received, there is a high probability that many invalid operation instructions are included.
[0050] In this embodiment, the method can detect the validity of the operation instructions in real time. If 80% of the operation instructions are valid, the detection time window is dynamically adjusted so that the operation instructions can be recorded completely, and the situation of incomplete recording of the operation instructions due to the short detection time window is avoided.
[0051] In this embodiment, the multiple operation instructions can include repeated operation instructions. The scene-based control device receives all the operation instructions, and the analysis and processing process is performed in subsequent steps.
[0052] S102, determine the operation sequence of the multiple operation instructions.
[0053] In this embodiment, the multiple operation instructions are not basically sent at the same time because the multiple operation instructions have the operation sequence.
[0054] In this embodiment, the method can first perform a validity check on the multiple operation instructions, and then determine the operation sequence of all valid instructions after invalid instructions are proposed.
[0055] In this embodiment, the operation sequence refers to the sequence of each instruction in the multiple operation instructions. For example, the method can number all the operation instructions, and the number of the received operation instruction is small, and the number of the received operation instruction is gradually increased.
[0056] S103, determine whether the operation sequence is not contrary to the preset logical operation sequence. If yes, steps S104-S105 are performed. If no, the process is ended.
[0057] In this embodiment, after the operation sequence is determined, the method can determine whether the operation sequence conforms to the normal logical operation sequence according to the specific operation content of the operation instruction.
[0058] In this embodiment, the normal logical operation sequence is the preset logical operation sequence, and the method encapsulates the normal logical operation sequence into the scene-based control device.
[0059] For example, a user usually turns on a TV and then performs subsequent operations. This operation sequence conforms to normal logic, and thus is a normal logical operation sequence. However, if a user turns off a TV and then performs subsequent operations, this operation sequence is considered to be not in conformity with normal logic, and thus is not a normal logical operation sequence.
[0060] In this embodiment, according to the above example, the logical operation sequence stored in the scenario control device conforms to the behavior cognition of a normal user. When it is detected that the operation sequence of multiple users conforms to the logical operation sequence, it means that the user operations are normal and in order; otherwise, the user operations are considered to be invalid, and the process of generating the scenario control scheme is ended.
[0061] S104, determining multiple operation time intervals between the multiple operation instructions.
[0062] In this embodiment, the operation time interval includes multiple levels of meanings. Essentially, it refers to the operation time interval between each operation instruction, because normally the operation time interval between each operation instruction is neither too small nor too large.
[0063] In this embodiment, the first level of the above multiple levels of meanings is used to indicate that the user operations are normal, and an operation instruction is sent every few seconds. The second level of the above multiple levels of meanings is used to indicate that the operations are based on actual operation objects, such as turning on a TV. The TV takes 5 seconds to turn on, and thus the operation time interval is 5 seconds. However, the operation time interval for normal operations such as channel switching and volume adjustment is 1 second. Therefore, the method can determine the validity of the operations through the multiple operation time intervals, and perform subsequent steps only if the operations are valid.
[0064] S105, determining whether the multiple operation time intervals are all greater than a preset time interval threshold value. If yes, steps S106-S107 are performed; if no, the process is ended.
[0065] In this embodiment, step S105 focuses on the validity determination of the time interval between operation instructions of the above first level of meanings. The effect of implementing this embodiment is to avoid continuous random pressing, and to prohibit the generation of a scenario control scheme when the operation instructions are considered to be continuous random pressing.
[0066] In this embodiment, the time interval threshold value can be 200 ms or 500 ms, and the threshold value can be determined according to actual conditions.
[0067] S106, statistically determining a first occurrence frequency of the multiple operation instructions in a preset instruction record database. The instruction database includes all recorded operation instructions.
[0068] In this embodiment, all operation instructions are included in the instruction database, wherein the operation instructions correspond to a plurality of smart home devices, and the operation instructions are specifically operation instructions for the controlled smart home devices. It can be understood that the user has performed a plurality of operations on the smart home device, and the scenario control device has recorded a plurality of operation instructions that meet the detection time window.
[0069] In this embodiment, the first occurrence frequency represents a ratio between the number of occurrences of the plurality of operation instructions captured this time and the number of all operation instructions. In other words, the first occurrence frequency is used to represent that a set of operation instructions used to control the same television set has a high frequency of occurrence. Specifically, the user has operated 50 times, and 20 times have used this set of operation instructions, and then 20 / 50=40% is calculated as the first occurrence probability.
[0070] S107, determining whether the first occurrence frequency is greater than a preset first frequency threshold, if yes, executing steps S108-S109; if no, ending the process.
[0071] In this embodiment, the preset first frequency threshold is used to determine whether the plurality of operation instructions corresponding to the first occurrence frequency are a set of frequently used operation instructions.
[0072] For example, the method has determined that the first occurrence probability is 40%, and the first frequency threshold is 25% at this time, so it is indicated that the set of operation instructions is frequently used, and the subsequent process is executed.
[0073] As an optional implementation, the method further includes:
[0074] When the first occurrence frequency is not greater than the first frequency threshold, extracting continuous association instructions from the plurality of operation instructions;
[0075] Statistically determining a second occurrence frequency of the continuous association instructions in the instruction record database;
[0076] When the second occurrence frequency is greater than a preset second frequency threshold, generating a scenario control scheme according to the continuous association instructions.
[0077] In this embodiment, when it is determined that the plurality of operation instructions are not a set of frequently used operation instructions, the method can extract continuous association instructions with strong correlation from the plurality of operation instructions, and determine whether the continuous association instructions frequently occur.
[0078] In this embodiment, the continuous association instructions are determined by instruction correlation.
[0079] In the embodiment, the continuous association instruction also includes a plurality of operation instructions, but the number of operation instructions in the continuous association instruction is less than the number of the original plurality of operation instructions.
[0080] In the embodiment, the method can further determine whether the plurality of operation instructions can generate a scenario control scheme by using a smaller number of instructions.
[0081] In the embodiment, the second frequency threshold is generally greater than the first frequency threshold.
[0082] S108, counting a third occurrence frequency of the plurality of operation instructions in the specified time in the instruction record database.
[0083] In the embodiment, when the plurality of operation instructions constitute a group of operation instructions, the method can further determine whether the group of operation instructions has occurred multiple times in a fixed time period.
[0084] For example, when the group of operation instructions is a plurality of operation instructions for controlling the air conditioner to turn on, adjust the temperature, adjust the air supply, and adjust the air direction, it is determined whether the group of operation instructions is often input at 8 p.m. The ratio of the number of times the group of operation instructions is input at 8 p.m. to the number of detection days is the third occurrence frequency.
[0085] S109, determining whether the third occurrence frequency is greater than a preset third frequency threshold, if yes, performing step S110, and if no, performing steps S111-S113.
[0086] In the embodiment, the third occurrence frequency being greater than the third frequency threshold means that the group of operation instructions indeed occurs frequently at the same time.
[0087] S110, generating a scenario control scheme according to the plurality of operation instructions.
[0088] In the embodiment, the scenario control scheme is a scenario control scheme that is often used by the user at the specified time every day.
[0089] As an optional implementation, the step of generating a scenario control scheme according to the plurality of operation instructions includes:
[0090] Generating an appliance control scenario based on the plurality of operation instructions.
[0091] In the embodiment, the plurality of operation instructions includes a corresponding appliance combination relationship between each operation instruction and a time interval relationship between each operation instruction.
[0092] As a further optional implementation, the step of determining that the operation number of the plurality of operation instructions matches the preset operation number, and generating the home appliance control scene based on the plurality of operation instructions includes:
[0093] determining that the home appliance combination relationship corresponding to the plurality of operation instructions and the time interval relationship between the operation instructions match the preset scene, and generating the home appliance control scene based on the plurality of operation instructions;
[0094] The plurality of operation instructions are input by two or more input devices.
[0095] In this embodiment, the input devices include keys of a home appliance control panel, an application program, a remote controller, and a sound box.
[0096] S111, extracting continuous association instructions from the plurality of operation instructions.
[0097] In this embodiment, the continuous association instructions are a plurality of operation instructions, and the number of the plurality of operation instructions is less than that of the original plurality of operation instructions.
[0098] S112, counting a fourth frequency of the continuous association instructions in the instruction record database.
[0099] In this embodiment, the fourth frequency is the frequency of the continuous association instructions in the database.
[0100] S113, generating a scene control scheme according to the continuous association instructions when the fourth frequency is greater than a preset fourth frequency threshold.
[0101] In this embodiment, if the fourth frequency is greater than the fourth frequency threshold, it means that the continuous association instructions are a set of instructions that the user will use every day.
[0102] In this embodiment, generating the scene control scheme according to the continuous association instructions can greatly improve the effectiveness and control accuracy of the scene control scheme.
[0103] In this embodiment, the execution subject of the method is a scene control device, which can be a computer device or other smart devices such as a smart phone or a tablet computer with multiple communication functions, and the embodiment does not make any limitation.
[0104] In this embodiment, the scene control device can be one of at least one smart home device, that is, one of the at least one smart home device is the scene control device.
[0105] It can be seen that the application method of the scene control scheme described in the embodiment can record all operation instructions within a preset time period when the user operates the smart home device through the scene control device, and can determine in real time whether the automatically recorded operation instructions can generate a scene control scheme, and automatically generate a scene control scheme when the operation instructions meet the conditions, so that the smart home device can directly call the scene control scheme in future use.
[0106] Embodiment 2
[0107] Please refer to Figure 2 , Figure 2 A structural diagram of a scene control device provided by the embodiment of the application. Specifically, the scene control device is specifically used for automatically generating a scene control scheme, as shown in Figure 3 The scene control device comprises:
[0108] The recording unit 210 is configured to start recording a plurality of operation instructions within a detection time window when detecting an operation instruction of the user to at least one smart home device.
[0109] The first determining unit 220 is configured to determine whether the plurality of operation instructions meet a preset scene generation condition.
[0110] The first generating unit 230 is configured to generate a scene control scheme according to the plurality of operation instructions when the plurality of operation instructions meet the scene generation condition.
[0111] As an optional implementation, the first determining unit 220 comprises:
[0112] The determining subunit 221 is configured to determine an operation sequence between the plurality of operation instructions.
[0113] The first determining subunit 222 is configured to determine whether the operation sequence is not contrary to a preset logical operation sequence.
[0114] The determining subunit 221 is configured to determine that the plurality of operation instructions meet the scene generation condition when the operation sequence is not contrary to the logical operation sequence.
[0115] As an optional implementation, the first determining unit 220 comprises:
[0116] The determining subunit 221 is configured to determine a plurality of operation time intervals between the plurality of operation instructions.
[0117] The first determining subunit 222 is configured to determine whether the plurality of operation time intervals are all greater than a preset time interval threshold.
[0118] The determining sub-unit 221 is configured to determine that the multiple operation instructions meet the scenario generation condition when the multiple operation time intervals are all greater than the time interval threshold.
[0119] As an optional implementation, the first generating unit 230 includes:
[0120] The statistical sub-unit 231 is configured to count a first occurrence frequency of the multiple operation instructions in a preset instruction record database when the multiple operation instructions meet the scenario generation condition; and the instruction database includes all recorded operation instructions.
[0121] The second judging sub-unit 232 is configured to judge whether the first occurrence frequency is greater than a preset first frequency threshold.
[0122] The generating sub-unit 233 is configured to generate a scenario control scheme according to the multiple operation instructions when the first occurrence frequency is greater than the first frequency threshold.
[0123] As an optional implementation, the first generating unit 230 further includes:
[0124] The first extracting sub-unit 234 is configured to extract continuous associated instructions from the multiple operation instructions when the first occurrence frequency is not greater than the first frequency threshold.
[0125] The statistical sub-unit 231 is configured to count a second occurrence frequency of the continuous associated instructions in the instruction record database.
[0126] The generating sub-unit 233 is configured to generate a scenario control scheme according to the continuous associated instructions when the second occurrence frequency is greater than a preset second frequency threshold.
[0127] As an optional implementation, the generating sub-unit 233 includes:
[0128] The statistical module is configured to count a third occurrence frequency of the multiple operation instructions in the instruction record database when the first occurrence frequency is greater than the first frequency threshold.
[0129] The judging module is configured to judge whether the third occurrence frequency is greater than a preset third frequency threshold.
[0130] The generating module is configured to generate a scenario control scheme according to the multiple operation instructions when the third occurrence frequency is greater than the third frequency threshold.
[0131] As an optional implementation, the generating sub-unit 233 further includes:
[0132] The extracting module is configured to extract continuous associated instructions from the multiple operation instructions when the third occurrence frequency is not greater than the third frequency threshold.
[0133] a statistical module configured to count a fourth frequency of continuous association instructions in the instruction record database;
[0134] a generation module configured to generate a scenario control scheme according to the continuous association instructions when the fourth frequency is greater than a preset fourth frequency threshold.
[0135] As an optional implementation, the first generation unit 230 includes:
[0136] a first extraction sub-unit 234 configured to extract a plurality of valid instructions from the plurality of operation instructions;
[0137] a construction sub-unit 235 configured to construct the plurality of valid instructions into an instruction sequence;
[0138] a first acquisition sub-unit 236 configured to acquire scenario information matched with the instruction sequence;
[0139] a generation sub-unit 233 configured to generate the scenario control scheme according to the instruction sequence and the scenario information.
[0140] As an optional implementation, the first extraction sub-unit 234 is specifically configured to extract the plurality of valid instructions according to operation sequences and operation correlations between the plurality of operation instructions.
[0141] In the embodiments, the scenario control device can be interpreted and described according to the description in Embodiment 1, and no further description is given herein.
[0142] It can be seen that, by implementing the scenario control device described in the embodiments, the scenario control device can exist as a separate auxiliary device, and the scenario control device can capture and record user operation instructions through the infrared communication function, the wifi communication function and other various communication functions. When the scenario control device records the user operation instructions, the scenario control device can automatically determine whether a scenario control scheme can be generated, and automatically generate the scenario control scheme. It can be seen that the scenario control device can automatically generate the scenario control scheme, and can automatically apply the scenario control scheme to the smart home device through various communication functions, thereby facilitating the intelligentization of the smart home scenario control.
[0143] Embodiment 3
[0144] Referring to Figure 3 The embodiments of the present application provide an application method of a scenario control scheme, and specifically, the method is a method for automatically generating a scenario control scheme, including:
[0145] S301: receiving operation information input by a user, wherein the operation information comprises a plurality of home appliance operation instructions and a trigger time interval between the plurality of home appliance operation instructions; the plurality of home appliance operation instructions correspond to at least two smart home devices;
[0146] In the above embodiment, the trigger time interval between the plurality of home appliance operation instructions can be obtained according to the time of the plurality of home appliance operation instructions input by the user.
[0147] S302: storing the operation information to send the operation information to the at least two smart home devices.
[0148] In S302, storing the operation information means that the operation information is stored in a local or a scene-based control device. It can be understood that the operation information is not necessarily stored in the local mobile terminal, and the mobile terminal can send the operation information to the scene-based control device for storage.
[0149] The operation information input by the user comprises the plurality of home appliance operation instructions and the trigger time interval between the plurality of home appliance operation instructions. After the operation information is stored, the operation information can be used to realize personalized setting of the plurality of smart home devices in the smart home system multiple times. This avoids the user from sending multiple instructions each time the user performs personalized setting on the smart home system, and improves the convenience of user operation.
[0150] It can be understood that, based on the above embodiment, in another possible embodiment, the operation information input by the user comprises a start execution time of the plurality of home appliance instructions, and the execution time is used to make the mobile terminal, the scene-based control device, or the smart home device operate and control according to the operation information at a certain time.
[0151] For example, the execution time input by the user is eight o'clock every night, and the mobile terminal sends the operation information to the plurality of smart home devices at eight o'clock every night.
[0152] Based on the above embodiment, the method of the embodiment of the present application is applied to the customized control scene of the smart home. The user first records the operation information, and the operation information comprises an execution time. Based on the operation information, the plurality of smart home devices in the smart home system can be made to execute one or more operations in a preset order within a preset time period.
[0153] In a possible embodiment, S13 is implemented by: in response to the recording of the scene instruction, generating a device plug-in page; displaying the device plug-in page; and receiving operation information input by the user according to the device plug-in page.
[0154] Referring to Figure 5A device plug-in page is provided in the embodiments of the present application. The device plug-in page has smart home devices that can be selected by a user. After the user selects a smart home device, the mobile terminal jumps to a control page of the smart home device. The user can input operation information according to the operation page of the smart home device. For example, first, the air conditioner is turned on, and then the temperature of the air conditioner is adjusted to 26.5°. Figure 7
[0155] Due to the rapid development of artificial intelligence technology, S301 can be completed through the following sub-steps: receiving voice information input by the user; identifying operation information according to the voice information; or receiving text information input by the user; and identifying operation information according to the text information.
[0156] For example, the user inputs voice information "turn on the smart speaker, turn off the smart speaker after 45 minutes, turn on the air conditioner, adjust the air conditioner to 26.5°, and turn off the air conditioner after 3 hours" in the mobile terminal. The mobile terminal identifies the home appliance operation instructions for the two devices, respectively, which are turning on the smart speaker, turning off the smart speaker, turning on the air conditioner, adjusting the air conditioner to 26.5°, and turning off the air conditioner. The trigger time interval between turning on the smart speaker and turning off the smart speaker is 45 minutes, and the time interval between turning on the air conditioner and adjusting the air conditioner to 26.5° is 3 hours.
[0157] The step of receiving operation information input by the user includes:
[0158] The operation information is input by two or more input devices, wherein the input devices correspond to the user.
[0159] For example, the user's operation instruction can be a combination of the above-mentioned input methods. For example, first, the voice instruction for controlling the temperature of the air conditioner is input through the smart speaker; then, the instruction for controlling the brightness and color temperature of the light is input through the 86 switch on the wall; and then, the instruction for closing the window curtain is input through the electric window curtain remote control, and the instruction for turning on the projector to watch the movie channel is input through the control page of the mobile phone App. At least part of the above-mentioned devices is bound to the same user account or home account, thereby corresponding to the user, and the above-mentioned operation instructions are identified as the operation of the same user, so as to form a home appliance control scene.
[0160] For example, the user first clicks the icon corresponding to the instruction of turning on the air conditioner on the device plug-in page, and then clicks the icon corresponding to the operation of 3 up and down air flow after 3 seconds. Therefore, according to the time when the user clicks the two icons, the trigger time interval between the two home appliance operation instructions can be calculated.
[0161] It should be noted that in the above embodiments, the trigger time interval between the multiple appliance operation instructions is obtained from the time of inputting the instructions by the user. In a possible implementation, the user can directly input the trigger time interval between two instructions. For example, the user triggers an instruction to turn on the air conditioner and an instruction to set the air conditioner to 26.5°, and inputs a trigger time interval of 3 seconds between the two instructions. In this way, the trigger time interval between the two appliance operation instructions is obtained as 3 seconds.
[0162] It can be understood that when the user inputs multiple instructions, the trigger time interval between the multiple appliance operation instructions does not necessarily include the trigger time interval between each pair of appliance operation instructions, but at least includes the trigger time interval between two pairs of appliance operation instructions. For example, the two pairs of appliance operation instructions “turn on the bedroom light - turn on the living room light” can not require a trigger time interval.
[0163] Therefore, in a possible implementation, before S11, the method further includes: presetting a trigger time sensitive set, the trigger time sensitive set including pairs of trigger time sensitive appliance operation instructions, and S11 includes the following sub-steps:
[0164] receiving multiple appliance operation instructions input by the user, and a trigger time interval between pairs of trigger time sensitive instructions in the trigger time sensitive set.
[0165] For example, there is no time interval requirement between the two pairs of appliance operation instructions “turn on the LED light in the living room - turn on the LED light in the kitchen”. The two instructions are not included in the trigger time sensitive set, and thus the trigger time interval between the two appliance operation instructions is not included in the operation information.
[0166] In a possible implementation, before S11, the method further includes: presetting a sequence sensitive set, the sequence sensitive set including pairs of sequence sensitive appliance operation instructions. S11 includes the following sub-steps: obtaining the multiple appliance operation instructions and the trigger times of the multiple appliance operation instructions; and obtaining the trigger time interval between the multiple operation instructions according to the trigger times of one or more appliance operation instructions in the multiple appliance operation instructions that are not in the sequence sensitive set.
[0167] Exemplarily, there are paired home appliance operation instructions "turn on air conditioner-adjust air conditioner temperature" in the sequence-sensitive set. When the user records the scene, the user triggers the turning on of the sound box and the corresponding trigger time, the turning on of the light and the corresponding trigger time, the turning on of the air conditioner and the corresponding trigger time, and the adjustment of the air conditioner to 26.5° and the corresponding trigger time are obtained respectively. Then, when the trigger time intervals between the multiple home appliance operation instructions are generated, the trigger time interval between the turning on of the light and the turning on of the smart sound box can not be calculated, and only the trigger time between the turning on of the air conditioner and the adjustment of the air conditioner to 26.5° needs to be calculated. In addition, the sequence-sensitive set can also be "turn on the light in the corridor-turn on the washing machine", "turn on the light in the bathroom-turn on the water heater", and the like.
[0168] Referring to Figure 4 The embodiment of the present application provides an application method of a scene-based control scheme, which comprises the following steps:
[0169] S303: presetting a sequence-sensitive set, which comprises paired home appliance operation instructions whose execution sequences are sensitive to the execution sequences;
[0170] S304: receiving the trigger times of the multiple home appliance operation instructions input by the user;
[0171] S305: obtaining the execution sequences of the multiple home appliance operation instructions according to the trigger times of the multiple home appliance operation instructions;
[0172] S306: judging whether the execution sequences of the paired home appliance operation instructions whose execution sequences are sensitive to the execution sequences in the sequence-sensitive set are the same as the execution sequences of the home appliance operation instructions whose execution sequences are sensitive to the execution sequences in the multiple home appliance operation instructions; if yes, performing S307; if no, performing S308;
[0173] S307: issuing an alarm information.
[0174] S308: obtaining the trigger time intervals between the multiple home appliance operation instructions according to the trigger times of the multiple home appliance operation instructions;
[0175] S309: storing operation information, so as to send the operation information to at least two smart home devices, wherein the operation information comprises the multiple home appliance operation instructions and the trigger time intervals between the multiple home appliance operation instructions. Exemplarily, the sequence-sensitive set comprises the paired home appliance operation instructions "turn on the range hood-turn on the induction cooker", and the mobile terminal obtains the execution times corresponding to the two instructions during the recording of the scene. According to the execution implementation, it is obtained that the execution sequence of the two home appliance operation instructions input by the user is "turn on the induction cooker-turn on the range hood". It is judged that the sequence is different from the sequence of the home appliance operation instructions in the sequence-sensitive set, and thus the alarm information is issued, so that the user knows that this operation may cause the problem of too much oil fume at the moment when the induction cooker is turned on.
[0176] In the above embodiment, it is considered that in the process of recording the scene, the user may need to record the operation of multiple smart home devices at one time, and may not remember the related operation instructions of the smart home devices that have been recorded. If the smart home devices are controlled in this order subsequently, it may be dangerous. Based on the above embodiment, the safety of the user can be ensured.
[0177] In a possible implementation, S302 includes the following sub-steps: according to the multiple home appliance operation instructions and the trigger time intervals between the multiple home appliance operation instructions, sending each instruction in the multiple home appliance operation instructions to the corresponding smart home device.
[0178] It should be noted that the multiple home appliance operation instructions correspond to at least two smart home devices, and each smart home device does not necessarily correspond to only one home appliance operation instruction. For example, the air conditioner corresponds to two home appliance operation instructions, i.e., turning on the air conditioner and setting the temperature of the air conditioner to 26.5°.
[0179] In a possible implementation, S302 includes the following sub-steps: generating an operation instruction sequence according to the operation information; and sending the operation instruction sequence to the at least two smart home devices.
[0180] It is considered that the smart home devices in the existing smart home system all have their own common decoding method, and the operation instruction sequence can be generated according to the operation information. The operation instruction sequence includes multiple recorded home appliance operation instructions and operation intervals between the multiple home appliance operation instructions. The operation instruction sequence is sent to the at least two smart home devices, and each smart home device can parse the corresponding home appliance operation instruction and the trigger time interval between the home appliance operation instructions in the operation instruction sequence.
[0181] In a possible implementation, S302 includes the following sub-steps: sending the operation information to the scene control device, so that the scene control device sends each instruction in the multiple home appliance operation instructions to the corresponding smart home device according to the multiple home appliance operation instructions and the trigger time intervals between the multiple home appliance operation instructions.
[0182] In the above embodiment, according to the trigger time intervals between the multiple home appliance operation instructions, the multiple home appliance operation instructions and the trigger time intervals between the multiple home appliance operation instructions are sent to the scene control device, and the scene control device further sends the multiple home appliance operation instructions to the corresponding smart home devices.
[0183] Exemplarily, the plurality of home appliance operation instructions are: "turn on the range hood - turn on the induction cooker", both the range hood and the induction cooker are controlled by infrared, and the interval of the triggering time of the two is 5 seconds, so the instruction of turning on the range hood is first sent to the infrared scene control device, and the instruction of turning on the induction cooker is sent to the infrared scene control device after an interval of 5 seconds.
[0184] In a possible implementation, the step of sending the operation instruction sequence to the smart home device includes: sending the operation instruction sequence to the scene control device, so that the scene control device sends the operation instruction sequence to the at least two smart home devices.
[0185] In the above embodiment, the operation instruction sequence is sent to the scene control device, and the scene control device sends the instruction sequence to each smart home device.
[0186] In a possible implementation, before S302, the method further includes: obtaining identification information of the scene control device; the identification information is used to identify a network scene control device, an infrared scene control device, and a radio frequency scene control device; and S302 includes: according to the identification information, sending the operation information to the scene control device, to the network scene control device, the infrared scene control device, or the radio frequency scene control device.
[0187] In view of the fact that each smart home device has its own signal transmission mode in the recording of an application scene, in a possible implementation, before S302, the method further includes: obtaining a communication mode corresponding to each smart home device in the plurality of home appliance operation instructions; and S302 includes: according to the communication mode corresponding to each smart home device, sending the plurality of home appliance operation instructions to the at least two devices.
[0188] In the above embodiment, it is considered that there are various smart home devices in the application scene of a smart home, and the actual terrain of the application scene of the smart home has diversified characteristics. Different communication modes can be used for different home devices and different actual terrains of the application scene, and the scene control device sends the plurality of home appliance operation instructions to the plurality of smart home devices.
[0189] In summary, according to the characteristics of the existing smart home application scene, the present application provides a plurality of schemes in the aspects of instruction recording and sending home appliance operation instructions to a smart home device. The plurality of possible implementations provided in the above embodiments can be combined for implementation.
[0190] It can be understood that the above various embodiments only illustrate how to send multiple home appliance operation instructions to various smart home devices, and do not illustrate how to start the sending step. In the smart home application scenario, the user also needs to input an execution time, so as to subsequently send multiple home appliance operation instructions to multiple smart home devices at a fixed time.
[0191] Embodiment 4
[0192] Referring to Figure 5 The embodiment of the present application provides an application method of a scenario control scheme, which is applied to a scenario control device. Specifically, the method is a manual generation method of the scenario control scheme, and the method comprises the following steps:
[0193] S401: receiving operation information sent by a mobile terminal, the operation information comprising multiple home appliance operation instructions and trigger time intervals between the multiple home appliance operation instructions;
[0194] S402: storing the operation information, so as to send the operation information to at least two smart home devices.
[0195] In the above implementation process, the user records multiple home appliance operation instructions and trigger time intervals between the multiple smart home device operation instructions on the mobile terminal, and sends the multiple smart home device operation instructions and the trigger time intervals between the multiple smart home device operation instructions to the scenario control device. After the scenario control device stores the operation information, the operation information can be used to realize multiple personalized settings of multiple smart home devices in the smart home system. The user needs to send multiple instructions every time the user performs personalized settings on the smart home system, thereby improving the convenience of user operation.
[0196] In a possible implementation, S402 comprises: sending each home appliance instruction in the multiple home appliance operation instructions to a corresponding smart home device according to the trigger time intervals between the multiple home appliance operation instructions.
[0197] In a possible implementation, the operation information is encapsulated by the mobile terminal as an operation instruction sequence; S401 comprises: receiving the operation instruction sequence sent by the mobile terminal; and S402 comprises: sending the operation instruction sequence to the smart home device.
[0198] In a possible implementation, S402 comprises: generating an instruction sequence according to the operation information; and sending the instruction sequence to the smart home device.
[0199] Embodiment 5
[0200] Referring to Figure 6The embodiment of the application provides a control device of an intelligent home device, specifically, the device is used for manually generating a scene control scheme, and the device comprises the following.
[0201] The first receiving module 510 is used for receiving operation information input by a user, wherein the operation information comprises a plurality of home appliance operation instructions and a plurality of trigger time intervals between the home appliance operation instructions; the plurality of home appliance operation instructions correspond to at least two intelligent home devices.
[0202] The first storage module 520 is used for storing the operation information, so as to send the operation information to the at least two intelligent home devices.
[0203] In a possible implementation, the first receiving module 510 is further used for generating a device plug-in page in response to a recording scene instruction; displaying the device plug-in page; and receiving operation information input by the user according to the device plug-in page.
[0204] In a possible implementation, the first receiving module 510 is further used for receiving voice information input by the user; and identifying the operation information according to the voice information.
[0205] In a possible implementation, the first receiving module 510 is further used for receiving text information input by the user; and identifying the operation information according to the text information.
[0206] In a possible implementation, the first storage module 520 is further used for sending each instruction in the plurality of home appliance operation instructions to the corresponding intelligent home device according to the plurality of home appliance operation instructions and the plurality of trigger time intervals between the home appliance operation instructions.
[0207] In a possible implementation, the first storage module 520 is further used for generating an operation instruction sequence according to the operation information; and sending the operation instruction sequence to the at least two intelligent home devices.
[0208] In a possible implementation, the first storage module 520 is further used for sending the operation information to a scene control device, so that the scene control device sends each instruction in the plurality of home appliance operation instructions to the corresponding intelligent home device according to the plurality of home appliance operation instructions and the plurality of trigger time intervals between the home appliance operation instructions.
[0209] In a possible implementation, the operation instruction sequence is sent to the scene control device, so that the scene control device sends the operation instruction sequence to the at least two intelligent home devices.
[0210] In a possible implementation, the apparatus further includes an identification information obtaining module configured to obtain identification information of the scene control device; and the first receiving module 510 is further configured to send the operation information to the scene control device according to the identification information, wherein the scene control device is a network scene control device, an infrared scene control device, or a radio frequency scene control device.
[0211] In a possible implementation, the first receiving module 510 is further configured to send the operation instruction sequence to the scene control device according to the identification information, wherein the scene control device is a network scene control device, an infrared scene control device, or a radio frequency scene control device.
[0212] In the above embodiment, the operation information input by the user includes a plurality of home appliance operation instructions and a plurality of trigger time intervals between the home appliance operation instructions, and after the operation information is stored, the operation information can be used to implement personalized setting of a plurality of smart home devices in the smart home system multiple times. This avoids the need for the user to send multiple instructions each time the user performs personalized setting on the smart home system, and improves the convenience of user operation.
[0213] Embodiment 6
[0214] Referring to Figure 7 The embodiments of the present application provide a control apparatus of a smart home device, which is applied to a scene control device, and a method for manually generating a scene control scheme. The apparatus includes:
[0215] The second receiving module 610 is configured to receive operation information sent by the mobile terminal, wherein the operation information includes a plurality of home appliance operation instructions and a plurality of trigger time intervals between the home appliance operation instructions.
[0216] The second storage module 620 is configured to send the operation information to the smart home device.
[0217] In a possible implementation, the second storage module is further configured to send each home appliance instruction in the plurality of home appliance operation instructions to a corresponding smart home device according to the plurality of trigger time intervals between the home appliance operation instructions.
[0218] In a possible implementation, the operation information is encapsulated as an operation instruction sequence by the mobile terminal; and the second storage module 620 is further configured to send the operation instruction sequence to the smart home device.
[0219] In a possible implementation, the second receiving module 610 is further configured to receive an operation instruction sequence sent by the mobile terminal; and the second storage module 620 is further configured to send the operation instruction sequence to the smart home device.
[0220] In the above embodiment, the scenario control device receives operation information sent by the user, the operation information includes a plurality of home appliance operation instructions and a plurality of trigger time intervals between the plurality of home appliance operation instructions, and the plurality of home appliance operation instructions correspond to at least two smart home devices. The scenario control device stores the operation information, and through the operation information, the personalized setting of the plurality of smart home devices in the smart home system can be implemented multiple times. The user needs to send multiple instructions each time the smart home system is personalized, which improves the convenience of user operation.
[0221] Embodiment 7
[0222] Referring to Figure 8 The embodiment of the present application provides an application method of a scenario control scheme. Specifically, the method is an application method of a scenario control scheme, and the method comprises the following steps:
[0223] S1301, receiving and saving a plurality of smart home device debugging instructions and a plurality of trigger time intervals between the plurality of smart home device debugging instructions;
[0224] S1302, obtaining authorization information of a plurality of current smart home devices;
[0225] S1303, initializing the plurality of current smart home devices according to the authorization information of the current smart home devices, the plurality of smart home device debugging instructions, and the plurality of trigger time intervals between the plurality of smart home device debugging instructions.
[0226] The above method is suitable for a plurality of precision houses with the same smart home system. The smart home devices of the plurality of smart home systems are the same, so the instructions can be recorded first, and the initialization of the smart home system in each precision house can be completed according to the recorded instructions. Considering that the authorization information of the smart home devices of each house needs to be obtained before initialization, the authorization information of the current smart home device is obtained first, and the initialization of the smart home system in the current precision house can be completed according to the authorization information.
[0227] It can be understood that in the above embodiment, the plurality of current smart home devices are a plurality of smart home devices in the smart home system that needs to be initialized currently.
[0228] In the above embodiment, the input of the user is obtained and saved, including the commissioning instructions of the plurality of smart home devices. Since the plurality of smart home devices in the smart home system are interconnected, the application of the plurality of smart scene control schemes needs to be performed in a certain order, and the initialization responsible for the initialization will fail. Therefore, the trigger time interval between the plurality of commissioning instructions is also received. Considering that the smart home system in the finished house is consistent, the commissioning instructions of the plurality of smart home devices can be used to initialize the smart home system of the plurality of finished houses. Specifically, the authorization information of the plurality of smart home devices is obtained, and the authorization information of the plurality of household appliances, the commissioning instructions of the plurality of household appliances, and the trigger time interval between the plurality of household appliance commissioning instructions are used to complete the initialization of each finished house.
[0229] It can be understood that since the authorization information of the smart home devices in each finished house is obtained during the installation of each finished house, the authorization information of the smart home devices in each finished house can be stored during the installation. Therefore, the time for completing the initialization depends on the time for the household appliances to execute themselves, and based on the above embodiment, the working time of the staff can be quickly saved.
[0230] Referring to Figure 9 The application provides an application method of a scene control scheme, comprising:
[0231] S1304, receiving and saving the commissioning instructions of the plurality of smart home devices and the trigger time interval between the commissioning instructions of the plurality of smart home devices;
[0232] S1306, obtaining the execution order of the commissioning instructions of the plurality of smart home devices according to the trigger time interval of the commissioning instructions of the plurality of smart home devices;
[0233] S1307, judging whether the execution order of the commissioning instructions of the plurality of smart home devices conforms to the commissioning order; if not, performing S1308, and if yes, performing S1309;
[0234] S1308, issuing an alarm information.
[0235] S1309, obtaining the authorization information of the plurality of current smart home devices;
[0236] S1310, initializing the plurality of current smart home devices according to the authorization information of the current smart home devices, the commissioning instructions of the plurality of smart home devices, and the trigger time interval between the commissioning instructions of the plurality of smart home devices.
[0237] In the implementation process, the plurality of smart home devices have a dependency relationship, and the initialization sequence of the plurality of smart home devices has a certain influence on the initialization time of the entire smart home system. For example, if a repeater exists in the smart home system, the smart home device connected to the repeater needs to be initialized after the repeater is initialized, and therefore, after receiving the trigger time interval of the plurality of smart home devices, the trigger sequence of the plurality of smart home device debugging instructions is obtained according to the trigger time interval of the plurality of smart home devices, and it is determined whether the trigger sequence meets the requirements. Specifically, a preset condition can be determined, and it is determined whether the execution sequence of the debugging instructions of the plurality of smart home devices meets the preset condition. For example, the debugging instruction of the repeater needs to be executed first.
[0238] In a possible implementation, the debugging instructions of the plurality of smart home devices include a plurality of activation instructions and a plurality of initialization instructions; S1303 includes the following sub-steps:
[0239] The appliance authorization information of the plurality of current smart home devices is replaced with the authorization information in the plurality of activation instructions to obtain a plurality of replaced activation instructions;
[0240] The plurality of current smart home devices are initialized according to the trigger time interval between the plurality of replaced activation instructions, the plurality of initialization instructions, and the debugging instructions of the plurality of smart home devices.
[0241] In the implementation process, the activation instruction includes the authorization information of the appliance, and therefore, the authorization information of the plurality of current smart home devices is replaced with the originally recorded appliance authorization information of the plurality of smart home devices, and the plurality of replaced activation instructions can be obtained. The plurality of replaced activation instructions can activate the current smart home device.
[0242] In a possible implementation, the step of initializing the plurality of current smart home devices according to the trigger time interval between the plurality of replaced activation instructions, the plurality of initialization instructions, and the debugging instructions of the plurality of smart home devices includes:
[0243] According to the trigger time interval between the debugging instructions of the plurality of smart home devices, the plurality of replaced activation instructions and the plurality of initialization instructions are sent to the plurality of smart home devices, or
[0244] According to the trigger time interval between the debugging instructions of the plurality of smart home devices, the plurality of replaced activation instructions and the plurality of initialization instructions are sent to the scene control device, so that the scene control device sends the plurality of replaced activation instructions and the plurality of initialization instructions to the plurality of current smart home devices.
[0245] In the above embodiment, according to the trigger time interval between the commissioning instructions of the plurality of smart home devices, the plurality of replaced opportunity instructions and the plurality of initialization instructions are sent to the corresponding smart home devices. This is applicable to the case where the number of floors and the number of buildings in a community are not large, and the staff enters each residential house to activate the smart home system of each residential house through a terminal.
[0246] In view of the fact that the existing community is large and has many floors, in order to further reduce the workload of the staff, according to the trigger time interval between the commissioning instructions of the plurality of smart home devices, the plurality of replaced activation instructions and the plurality of initialization instructions are sent to the scene control device, so that the scene control device sends the plurality of replaced activation instructions and the plurality of initialization instructions to the plurality of current smart home devices.
[0247] In the above embodiment, the entire community is divided into a plurality of sub-areas, and each sub-area has a scene control device. The scene control device is used to receive the commissioning instructions of the plurality of smart home devices and send the commissioning instructions of the plurality of smart home devices to the plurality of smart home devices.
[0248] In a possible implementation, based on the structure of the community and the efficiency of delivery, the entire process of delivering the commissioning instructions between the plurality of smart home devices to the plurality of smart home devices is through a plurality of scene control devices.
[0249] It can be understood that, based on the above embodiment, each smart home device commissioning instruction includes address information of the device, and before sending the plurality of smart home device commissioning instructions to the smart home device in each house, the address in the recorded operation instruction of the smart home device is replaced by the communication address of the smart home device in each house.
[0250] In a possible implementation, based on the operation of the above scene control device, the embodiment of the present application provides a method for user-initiated initialization. The method adds a step before the method provided in the above embodiment, and responds to the initialization request instruction sent by the user terminal.
[0251] In this embodiment, the staff does not need to turn on the home device of each house in advance, but the user actively opens the device and actively requests initialization. The workload of the staff is further reduced.
[0252] In a possible implementation, after the step of sending the plurality of replaced activation instructions and the plurality of initialization instructions to the scene control device or sending the plurality of replaced activation instructions and the plurality of initialization instructions to the scene control device, the method further includes:
[0253] receiving home appliance feedback information sent by the plurality of current smart home devices;
[0254] determining whether the feedback information comprises activation failure information;
[0255] If yes, re-sending the first appliance operation instruction corresponding to the activation failure information to the current smart home device corresponding to the activation failure information.
[0256] In the above implementation process, considering that there is a certain error in signal transmission, the initialization process takes a long time, and there may be signal transmission errors, processing errors, and thus initialization failures; therefore, after sending the multiple replaced activation instructions and the multiple initialization instructions to the scene control device, the feedback information sent by the multiple appliances is waited for, and the feedback information has information about whether the smart home device initialization is successful. If the feedback information comprises activation failure information, the first appliance operation instruction corresponding to the activation failure information is re-sent to the current smart home device corresponding to the activation failure information. Based on the above embodiment, all appliances can be successfully initialized.
[0257] The step of re-sending the first appliance operation instruction corresponding to the activation failure information to the current smart home device corresponding to the feedback information comprises:
[0258] determining whether there is a prerequisite appliance operation instruction of the first appliance operation instruction in the commissioning instructions of the multiple smart home devices;
[0259] If yes, obtaining a trigger time interval of the prerequisite appliance operation instruction and the first appliance operation instruction;
[0260] According to the trigger time interval of the prerequisite appliance operation instruction and the first appliance operation instruction, the first appliance operation instruction and the prerequisite appliance operation instruction are sent to the smart home device corresponding to the feedback information.
[0261] In the above implementation process, considering that the initialization of one smart home device needs to depend on another smart home device, therefore, when re-initializing the smart home device, the prerequisite appliance operation instruction of the appliance commissioning instruction needs to be obtained. For example, a set-top box is needed in the activation process of a television, and therefore, the prerequisite appliance operation instruction is the smart home device operation instruction corresponding to the set-top box.
[0262] In a possible implementation, S1303 comprises the following sub-steps: generating a commissioning sequence according to the authorization information of the current smart home device, the commissioning instructions of the multiple smart home devices, and the trigger time interval between the commissioning instructions of the multiple smart home devices; and sending the commissioning sequence to the multiple current smart home devices.
[0263] Considering that the multiple smart home devices have their own decoding methods, therefore, a sequence is first generated, and then the sequence is sent to the multiple smart home devices.
[0264] Embodiment 8
[0265] Referring to Figure 10 The embodiment of the present application provides an application device of a scene control scheme, the scene control device is used for initializing smart home devices, the device comprises:
[0266] The receiving module 1410 is configured to receive and save the debugging instructions of the plurality of smart home devices and the trigger time intervals between the debugging instructions of the plurality of smart home devices.
[0267] The obtaining module 1420 is configured to obtain the authorization information of the plurality of current smart home devices.
[0268] The initializing module 1430 is configured to initialize the plurality of current smart home devices according to the authorization information of the current smart home devices, the debugging instructions of the plurality of smart home devices and the trigger time intervals between the debugging instructions of the plurality of smart home devices.
[0269] In a possible implementation, the device further comprises an execution sequence detection module configured to obtain the execution sequence of the debugging instructions of the plurality of smart home devices according to the trigger time intervals of the debugging instructions of the plurality of smart home devices; and determine whether the execution sequence of the debugging instructions of the plurality of smart home devices conforms to the debugging sequence; and if not, issue an alarm information.
[0270] In a possible implementation, the debugging instructions of the plurality of smart home devices comprise a plurality of activation instructions and a plurality of initialization instructions; and the initializing module 1430 is further configured to replace the authorization information in the plurality of activation instructions with the authorization information of the current plurality of smart home devices to obtain a plurality of replaced activation instructions; and initialize the plurality of current smart home devices according to the plurality of replaced activation instructions, the plurality of initialization instructions and the trigger time intervals between the debugging instructions of the plurality of smart home devices.
[0271] In a possible implementation, the initializing module 1430 is further configured to send the plurality of replaced activation instructions and the plurality of initialization instructions to the plurality of smart home devices according to the trigger time intervals between the debugging instructions of the plurality of smart home devices, or
[0272] According to the trigger time intervals between the debugging instructions of the plurality of smart home devices, the plurality of replaced activation instructions and the plurality of initialization instructions are sent to the scene control device, so that the scene control device sends the plurality of replaced activation instructions and the plurality of initialization instructions to the plurality of current smart home devices.
[0273] In a possible implementation, the feedback module is configured to receive the appliance feedback information sent by the plurality of current smart home devices; determine whether the feedback information comprises activation failure information; if yes, resend the first appliance operation instruction corresponding to the activation failure information to the current smart home device corresponding to the activation failure information.
[0274] In a possible implementation, the feedback module is further configured to determine whether there is a prerequisite appliance operation instruction of the first appliance operation instruction in the debugging instructions of the plurality of smart home devices; if yes, acquire a trigger time interval of the prerequisite appliance operation instruction and the first appliance operation instruction; and send the first appliance operation instruction and the prerequisite appliance operation instruction to the smart home device corresponding to the feedback information according to the trigger time interval of the prerequisite appliance operation instruction and the first appliance operation instruction.
[0275] In a possible implementation, the initialization module 1430 is further configured to generate a debugging sequence according to the authorization information of the current smart home device, the debugging instructions of the plurality of smart home devices, and the trigger time intervals between the debugging instructions of the plurality of smart home devices; and send the debugging sequence to the plurality of current smart home devices.
[0276] The embodiment of the present application provides an electronic device, including a memory and a processor, the memory is used for storing a computer program, the processor runs the computer program to make the electronic device execute the application method of the scene control scheme in the embodiment 1 of the present application.
[0277] The embodiment of the present application provides a computer readable storage medium, which stores computer program instructions, when the computer program instructions are read and run by a processor, the application method of the scene control scheme in the embodiment 1 of the present application is executed.
[0278] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can also be implemented by other manners. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the drawings show the possible implementation architecture, function and operation of the apparatus, method and computer program product according to the embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment or a part of code, which contains one or more executable instructions for implementing the specified logic function. It should also be noted that in some alternative implementation manners, the functions noted in the blocks can also occur in different order from that noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can also be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system which executes the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0279] In addition, each functional module in the embodiments of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0280] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product in essence or the part of the technical solutions that make contributions to the prior art, or part of the technical solutions. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the embodiments of the method of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0281] The above is only an embodiment of the present application and does not limit the protection scope of the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0282] The above description is merely exemplary of the application, but not intended to limit the scope of the application. Any modifications, equivalents and / or improvements made within the spirit and principle of the application shall fall within the scope of the application. The scope of the application should be determined by the appended claims.
[0283] It should be noted that the terms "first" and "second" and the like are used merely to distinguish one element from another, and do not require or imply a physical or logical relationship or order of such elements. Also, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
Claims
1. A method for initializing a smart home device, characterized in that, include: Receive and save debugging commands from multiple smart home devices and the trigger time interval between the debugging commands from the multiple smart home devices; The debugging instructions for the multiple smart home devices include multiple activation instructions and multiple initialization instructions; Obtain authorization information for multiple current smart home devices; Replace the authorization information in the multiple activation instructions with the appliance authorization information of the multiple smart home devices to obtain multiple replaced activation instructions; The plurality of current smart home devices are initialized according to the trigger time interval between the plurality of replaced activation instructions, the plurality of initialization instructions, and the plurality of smart home device debugging instructions.
2. The initialization method for smart home devices according to claim 1, characterized in that, After the steps of receiving and saving the debugging commands of multiple smart home devices and the trigger time interval between the debugging commands of the multiple smart home devices, the method further includes: The execution order of the debugging commands of the multiple smart home devices is obtained based on the trigger time interval of the debugging commands of the multiple smart home devices; Determine whether the execution order of the debugging instructions for the multiple smart home devices conforms to the debugging order; If not, issue an alarm message.
3. The initialization method for a smart home device according to claim 1, characterized in that, The step of initializing the plurality of current smart home devices according to the trigger time interval between the plurality of replaced activation instructions, the plurality of initialization instructions, and the plurality of smart home device debugging instructions includes: Based on the trigger time interval between the debugging instructions of the multiple smart home devices, the multiple replaced activation instructions and the multiple initialization instructions are sent to the multiple smart home devices, or Based on the trigger time interval between the debugging instructions of the plurality of smart home devices, the plurality of replaced activation instructions and the plurality of initialization instructions are sent to the scene control device, so that the scene control device sends the plurality of replaced activation instructions and the plurality of initialization instructions to the plurality of current smart home devices.
4. The initialization method for a smart home device according to claim 3, characterized in that, After the step of sending the plurality of replaced activation instructions and the plurality of initialization instructions to the scene control device, or the step of sending the plurality of replaced activation instructions and the plurality of initialization instructions to the scene control device, the method further includes: Receive appliance feedback information sent by the multiple currently connected smart home devices; Determine whether the feedback information includes activation failure information; If so, the first appliance operation command corresponding to the activation failure information is resent to the current smart home device corresponding to the activation failure information.
5. The initialization method for a smart home device according to claim 4, characterized in that, The step of resending the first appliance operation command corresponding to the activation failure information to the current smart home device corresponding to the feedback information includes: Determine whether there is a prerequisite appliance operation instruction for the first appliance operation instruction among the debugging instructions of the plurality of smart home devices; If so, obtain the trigger time interval between the prerequisite home appliance operation command and the first home appliance operation command; Based on the triggering time interval between the prerequisite appliance operation command and the first appliance operation command, the first appliance operation command and the prerequisite appliance operation command are sent to the smart home device corresponding to the feedback information.
6. The initialization method for a smart home device according to claim 1, characterized in that, The initialization of the multiple smart home devices based on the authorization information of the current smart home devices, the debugging instructions of the multiple smart home devices, and the trigger time interval between the debugging instructions of the multiple smart home devices includes: A debugging sequence is generated based on the authorization information of the current smart home devices, the debugging instructions of the multiple smart home devices, and the trigger time interval between the debugging instructions of the multiple smart home devices; The debug sequence is sent to the plurality of current smart home devices.
7. An initialization device for a smart home device, characterized in that, The device includes: A receiving module is used to receive and store debugging instructions from multiple smart home devices and the trigger time interval between the debugging instructions from the multiple smart home devices; the debugging instructions from the multiple smart home devices include multiple activation instructions and multiple initialization instructions. The acquisition module is used to obtain authorization information for multiple current smart home devices; An initialization module is used to initialize the multiple current smart home devices based on the authorization information of the current smart home devices, the debugging instructions of the multiple smart home devices, and the triggering time interval between the debugging instructions of the multiple smart home devices; The initialization module is also used to replace the authorization information in multiple activation instructions with the appliance authorization information of multiple smart home devices to obtain multiple replaced activation instructions; and to initialize multiple current smart home devices according to the trigger time interval between the multiple replaced activation instructions, multiple initialization instructions and multiple smart home device debugging instructions.
8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Mobile remote control device, system and method of household equipment
CN103281357A
Management method for external device of smart gateway
CN108900396A