Terminal automatic control method and system, computer equipment and readable storage medium

Through the router management terminal, the user status is judged based on the user control set and the control parameters are issued, which solves the problem of inflexible and high cost of automatic control of smart terminals, and realizes flexible automatic control and user experience improvement.

CN118942230APending Publication Date: 2024-11-12SHENZHEN GONGJIN ELECTRONICS CO LTD

Patent Information

Application Number
CN202410988167.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The automatic opening and closing methods of existing smart terminals are not flexible enough and require additional expensive sensors, which increases costs.

Method used

The router management terminal obtains the user control set created by the user, including the automatic control list of home, the automatic control list of leaving home, and the automatic control list of rest. The user's current status is judged based on the user terminal's access or disconnection of the network, and the corresponding The control list issues control parameters to the controlled terminal to realize automatic control.

Benefits of technology

It realizes flexible automatic control of smart terminals, improves product intelligent automation, improves user experience, increases user stickiness, and does not increase additional costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118942230A_ABST
    Figure CN118942230A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of wireless communication, and discloses a terminal automatic control method and system, computer equipment and a readable storage medium. The method comprises the steps that a router management terminal obtains a user control set created by a user, and the user control set comprises a home returning automatic control list, a home leaving automatic control list and a rest automatic control list; when the router detects that the user terminal is connected to or disconnected from the router network, the current state of the user is judged according to the user control set; and the router issues corresponding control parameters to the controlled terminal according to the current state of the user and the user control set, and the controlled terminal operates according to the control parameters. According to the invention, automatic control of the intelligent terminal can be flexibly realized, product intelligence and automation are improved, user experience is improved, user viscosity is increased, and extra cost is not increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technology, and in particular to a terminal automatic control method, system, computer equipment and readable storage medium. Background Art

[0002] With the development of wireless communication technology and smart terminals, more and more smart home devices are entering consumers' homes, connecting to the Internet through WiFi, realizing the interconnection of all things, and allowing people to enjoy the fun brought by smart life. However, the opening and closing of smart devices usually still requires manual control by users, which seems not smart enough.

[0003] There are currently two mainstream ways to automatically open and close smart terminals. The first is to set a timer to open and close the terminal automatically at the time set by the user. This method is not flexible enough. The second is to control it through sensors, which requires additional expensive sensors and increases costs. Summary of the invention

[0004] In view of this, the purpose of the present invention is to overcome the deficiencies in the prior art and to provide a terminal automatic control method, system, computer device and readable storage medium.

[0005] The present invention provides the following technical solutions:

[0006] In a first aspect, an embodiment of the present disclosure provides a terminal automatic control method, which is applied to a terminal automatic control system, wherein the terminal automatic control system includes a user terminal, a router management terminal, a router, and a controlled terminal, and the method includes:

[0007] The router management terminal acquires a user control set created by the user, wherein the user control set includes a home automatic control list, a away automatic control list, and a rest automatic control list;

[0008] When the router detects that the user terminal is connected to or disconnected from the router network, determining the current state of the user according to the user control set;

[0009] When the current state of the user is in the home state, the router sends a first control parameter to the controlled terminal according to the home automatic control list, and the controlled terminal operates according to the first control parameter;

[0010] When the current state of the user is in a rest state, the router sends a second control parameter to the controlled terminal according to the rest automatic control list, and the controlled terminal operates according to the second control parameter;

[0011] When the current state of the user is away from home, the router sends a third control parameter to the controlled terminal according to the away-from-home automatic control list, and the controlled terminal operates according to the third control parameter.

[0012] Optionally, the user control set also includes the unique identifier of the user terminal, the effective time of the return home automatic control, the effective time of the leave home automatic control and the effective time of the rest automatic control; the return home automatic control list, the leave home automatic control list and the rest automatic control list all include the unique identifier of the controlled terminal; the return home automatic control list includes the first control parameter, the rest automatic control list includes the second control parameter, and the leave home automatic control list includes the third control parameter.

[0013] Optionally, when the router detects that the user terminal is connected to or disconnected from the router network, judging the current state of the user according to the user control set includes:

[0014] When the router detects that a mobile terminal accesses the router network, the router obtains a unique identifier of the mobile terminal and determines whether the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal;

[0015] When the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal, determining that the mobile terminal is the user terminal, obtaining the network access time of the user terminal, and judging whether the network access time belongs to the time when the automatic control of returning home takes effect;

[0016] When the network access time belongs to the return-home automatic control effective time, it is determined that the current state of the user is the return-home state.

[0017] Optionally, when the router detects that the user terminal is connected to or disconnected from the router network, judging the current state of the user according to the user control set further includes:

[0018] When the router detects that the mobile terminal is disconnected from the router network, obtaining the unique identifier of the mobile terminal, and determining whether the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal;

[0019] When the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal, the mobile terminal is determined to be the user terminal, and the network disconnection time of the user terminal and the wireless signal strength when the network is disconnected from the router are obtained, and the network disconnection time is judged to be the rest automatic control effective time or the leaving home automatic control effective time, and whether the wireless signal strength is greater than a preset strength threshold;

[0020] When the network disconnection time is within the rest automatic control effective time and the wireless signal strength is greater than the preset strength threshold, determining that the current state of the user is a rest state;

[0021] When the network disconnection time belongs to the away-from-home automatic control effective time and the wireless signal strength is less than or equal to the preset strength threshold, it is determined that the current state of the user is away-from-home state.

[0022] Optionally, the router sends a first control parameter to the controlled terminal according to the home automatic control list, and the controlled terminal operates according to the first control parameter, including:

[0023] The router disconnects the network connection of the controlled terminal, and when the controlled terminal detects that the router network is disconnected, it reconnects to the router network;

[0024] The controlled terminal sends a DHCP discover message to the router, wherein the DHCP discover message includes current operating parameters of the controlled terminal;

[0025] After receiving the DHCP discover message, the router sends a DHCP offer message to the controlled terminal according to the home automatic control list, wherein the DHCP offer message includes the first control parameter;

[0026] After receiving the DHCP offer message, the controlled terminal operates according to the first control parameter.

[0027] Optionally, after the controlled terminal operates according to the first control parameter, the method further includes:

[0028] The controlled terminal sends a DHCP request message to the router, wherein the DHCP request message includes actual operating parameters of the controlled terminal;

[0029] After receiving the DHCP request message, the router compares the actual operation parameter with the first control parameter to generate an automatic control result, and feeds back the automatic control result to the user through the router management terminal.

[0030] Optionally, the method further comprises:

[0031] When the router management terminal obtains multiple user control sets created by the users and the current status of each user is in the home state, the network access time of the user terminal of each user is arranged in chronological order, and the router sends the first control parameter in the user control set created by the user who returns home the earliest to the controlled terminal;

[0032] When the router management terminal obtains multiple user control sets created by the users and the current state of each user is in a resting state, the network disconnection time of the user terminal of each user is arranged in chronological order, and the router sends the second control parameter in the user control set created by the earliest resting user to the controlled terminal;

[0033] When the router management terminal obtains multiple user control sets created by the users and the current status of each user is away from home, the router sends the third control parameter in the user control set created by each user to the controlled terminal.

[0034] In a second aspect, an embodiment of the present disclosure provides a terminal automatic control system, the system comprising:

[0035] A router management terminal, used to obtain a user control set created by a user, wherein the user control set includes a home automatic control list, a away automatic control list, and a rest automatic control list;

[0036] User terminal, used to access or disconnect from the router network;

[0037] The router is configured to, when detecting that the user terminal is connected to or disconnected from the router network, determine the current state of the user according to the user control set, and when the current state of the user is in the home state, send a first control parameter to the controlled terminal according to the home automatic control list, when the current state of the user is in the rest state, send a second control parameter to the controlled terminal according to the rest automatic control list, and when the current state of the user is in the away state, send a third control parameter to the controlled terminal according to the away automatic control list;

[0038] The controlled terminal is used to operate according to the first control parameter, and is also used to operate according to the second control parameter, and is also used to operate according to the third control parameter.

[0039] In a third aspect, a computer device is provided in an embodiment of the present disclosure, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps of the terminal automatic control method described in the first aspect when executing the computer program.

[0040] In a fourth aspect, a computer-readable storage medium is provided in an embodiment of the present disclosure, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the terminal automatic control method described in the first aspect are implemented.

[0041] Beneficial effects of this application:

[0042] The terminal automatic control method provided by the embodiment of the present application comprises: the router management terminal obtains the user control set created by the user, wherein the user control set includes a home automatic control list, a away automatic control list and a rest automatic control list; when the router detects that the user terminal is connected to or disconnected from the router network, the current state of the user is judged according to the user control set; when the current state of the user is in the home state, the router sends a first control parameter to the controlled terminal according to the home automatic control list, and the controlled terminal operates according to the first control parameter; when the current state of the user is in the rest state, the router sends a second control parameter to the controlled terminal according to the rest automatic control list, and the controlled terminal operates according to the second control parameter; when the current state of the user is in the away state, the router sends a third control parameter to the controlled terminal according to the away automatic control list, and the controlled terminal operates according to the third control parameter. The present application can flexibly realize the automatic control of the intelligent terminal, improve the intelligent automation of the product, enhance the user experience, and increase the user stickiness without adding additional costs.

[0043] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and understandable, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work. In each of the drawings, similar components are numbered similarly.

[0045] Figure 1 A flow chart of a terminal automatic control method provided by an embodiment of the present application is shown;

[0046] Figure 2 A flowchart of another terminal automatic control method provided by an embodiment of the present application is shown;

[0047] Figure 3A schematic diagram of the structure of a terminal automatic control system provided by an embodiment of the present application is shown;

[0048] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0049] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0050] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. In contrast, when an element is referred to as being "directly on" another element, there is no intermediate element. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0051] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0052] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of the template are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0054] Example 1

[0055] like Figure 1 As shown, it is a flow chart of a terminal automatic control method in an embodiment of the present application. The terminal automatic control method provided in the embodiment of the present application is applied to a terminal automatic control system. The terminal automatic control system includes a user terminal, a router management terminal, a router and a controlled terminal. The specific method includes the following steps:

[0056] Step S110, the router management terminal obtains a user control set created by the user, wherein the user control set includes a home automatic control list, a away automatic control list, and a rest automatic control list.

[0057] It should be noted that in this embodiment, when deploying the router control terminal environment, the user terminal, the router management terminal, and the controlled terminal support wireless association with the router. The router provides a wireless access function, and the controlled terminal wirelessly accesses the router to achieve communication with the router; the router management terminal can be a computer or a smart phone, which can configure and manage the router after wireless access; the user terminal can be a smart phone or a smart watch or other portable smart device, which can wirelessly access the router.

[0058] In this embodiment, the user can log in to the router management page through the router management terminal and create a user control set, which includes a home automatic control list, a departure automatic control list, a rest automatic control list, a unique identifier of the user terminal, a home automatic control effective time, a departure automatic control effective time, and a rest automatic control effective time. The home automatic control list, the departure automatic control list, and the rest automatic control list all include the unique identifier of the controlled terminal. The home automatic control list includes a first control parameter, the rest automatic control list includes a second control parameter, and the departure automatic control list includes a third control parameter. Among them, the unique identifier of the user terminal and the controlled terminal can be a mac address, a device name, a product serial number, etc. Each control parameter supports setting sub-parameter one, sub-parameter two, sub-parameter three, etc., and different control parameters can be defined according to the type of the controlled terminal.

[0059] For example, the controlled terminal is an air conditioner, subparameter 1 is on or off, subparameter 2 is the air conditioning mode, and subparameter 3 is the temperature; in the first control parameter, subparameter 1 is set to on, subparameter 2 is set to cooling mode, and subparameter 3 is set to a temperature of 24 degrees; in the second control parameter, subparameter 1 is set to on, subparameter 2 is set to cooling mode, and subparameter 3 is set to a temperature of 26 degrees; in the third control parameter, subparameter 1 is set to off; the automatic control effective time when returning home is from 6 to 10 o'clock every night, the automatic control effective time when leaving home is from 7 to 9 o'clock in the morning, and the automatic control effective time when resting is from 10 to 12 o'clock in the evening. The above is only an example and not a limitation, and can be set according to actual conditions.

[0060] The above method enables users to easily customize and configure the automatic control functions of the controlled terminals. This can not only improve user satisfaction and participation, but also reduce the cost increase caused by configuration errors or improper use.

[0061] Step S120: When the router detects that the user terminal is connected to or disconnected from the router network, the current state of the user is determined according to the user control set.

[0062] Specifically, when the router finds that a new mobile terminal has accessed the router network, it first obtains the unique identifier of the mobile terminal and determines whether the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal. Only when the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal, it is allowed to control the controlled terminal. Then, the network access time of the user terminal is obtained, and it is determined whether the network access time belongs to the effective time of the automatic return home control set by the user control center. When the network access time belongs to the effective time of the automatic return home control, it is determined that the user's current state is the return home state.

[0063] Preferably, when the router finds that a mobile terminal has disconnected from the router network, the unique identifier of the mobile terminal is obtained, and it is determined whether the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal. Only when the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal, it is allowed to control the controlled terminal. At this time, the network disconnection time of the user terminal and the wireless signal strength when the network is disconnected from the router network are obtained, and it is determined whether the network disconnection time belongs to the rest automatic control effective time or the leaving home automatic control effective time, and it is determined whether the wireless signal strength is greater than the preset strength threshold (for example, -75dB).

[0064] When the network disconnection time belongs to the rest automatic control effective time and the wireless signal strength is greater than the preset strength threshold, the user's current state is determined to be the rest state; when the network disconnection time belongs to the leaving home automatic control effective time and the wireless signal strength is less than or equal to the preset strength threshold, the user's current state is determined to be the leaving home state.

[0065] The above method enables the router to more intelligently determine the current state of the user according to the user control set, and control the controlled terminal accordingly, thereby improving the overall performance and security of the system.

[0066] Step S130: When the user is currently in the home state, the router sends a first control parameter to the controlled terminal according to the home automatic control list, and the controlled terminal operates according to the first control parameter.

[0067] It can be understood that when it is determined that the user's current state is the home state, the home automatic control list of the user control set to which the user terminal belongs is queried, the first control parameter is sent to the controlled terminal, and then the access method of the controlled terminal is confirmed based on the unique identifier of the controlled terminal. If the controlled terminal is a wired access router, the corresponding interface of the router is restarted. If the controlled terminal is a wireless access router, the wireless connection of the controlled terminal is forcibly disconnected.

[0068] Furthermore, after leaving the network, the controlled terminal will reconnect to the router network and initiate a DHCP process to interact with the router. The specific process is as follows:

[0069] (1) The controlled terminal sends a DHCP discover message to the router, wherein the DHCP option 43 field of the DHCP discover message includes the current operating parameters of the controlled terminal. For example, the current operating parameters may be: sub-parameter 1 is off, indicating that the air conditioner is not enabled; sub-parameter 2 is cooling mode, indicating that the air conditioner is in cooling mode by default; sub-parameter 3 is 26 degrees, indicating that the air conditioner is in 26 degrees by default;

[0070] (2) After receiving the DHCP discover message, the router sends a DHCP offer message to the controlled terminal according to the home automatic control list, wherein the DHCP option 43 field of the DHCP offer message includes a first control parameter. For example, the first control parameter may be: sub-parameter 1 is set to on, sub-parameter 2 is set to cooling mode, and sub-parameter 3 is set to a temperature of 24 degrees;

[0071] (3) After receiving the DHCP offer message, the controlled terminal operates according to the first control parameter. For example, the air conditioner is turned on and set to cooling mode with the temperature set to 24 degrees.

[0072] (4) The controlled terminal sends a DHCP request message to the router, wherein the DHCP option 43 field of the DHCP request message includes the actual operating parameters of the controlled terminal;

[0073] (5) After receiving the DHCP request message, the router compares the actual operating parameters with the first control parameters issued previously to determine whether the first control parameters are set successfully, generates automatic control results, and feeds back the automatic control results to the user through the router management terminal (such as the router management APP) to ensure that the user understands the actual status of the terminal. Exemplarily, if the first control parameter is set successfully, it prompts that the operation is successful; if the first control parameter fails to be set, it prompts the specific reason, such as a conflict, such as the terminal does not respond correctly; if the first control parameter is consistent with the parameters before the controlled terminal is operated, it prompts that the state of the controlled terminal is as expected and the operation is not repeated.

[0074] Step S140: When the user is currently in a resting state, the router sends a second control parameter to the controlled terminal according to the rest automatic control list, and the controlled terminal operates according to the second control parameter.

[0075] When it is determined that the user's current state is in rest state, the rest automatic control list of the user control set to which the user terminal belongs is queried, and the second control parameter is sent to the controlled terminal. Then, according to the unique identifier of the controlled terminal, the access mode of the controlled terminal is confirmed. If the controlled terminal is a wired access router, the corresponding interface of the router is restarted. If the controlled terminal is a wireless access router, the wireless connection of the controlled terminal is forcibly disconnected. After leaving the network, the controlled terminal will reconnect to the router network and initiate a DHCP process to interact with the router, and then operate according to the second control parameter. The specific process is similar to (1)-(5) in step S130. To avoid repetition, it will not be repeated here.

[0076] Step S150: When the user is currently in an away-from-home state, the router sends a third control parameter to the controlled terminal according to the away-from-home automatic control list, and the controlled terminal operates according to the third control parameter.

[0077] When it is determined that the user's current state is away from home, the rest automatic control list of the user control set to which the user terminal belongs is queried, and the third control parameter is sent to the controlled terminal. Then, according to the unique identifier of the controlled terminal, the access mode of the controlled terminal is confirmed. If the controlled terminal is a wired access router, the corresponding interface of the router is restarted. If the controlled terminal is a wireless access router, the wireless connection of the controlled terminal is forcibly disconnected. After leaving the network, the controlled terminal will reconnect to the router network and initiate a DHCP process to interact with the router, and then operate according to the third control parameter. The specific process is similar to (1)-(5) in step S130. To avoid repetition, it will not be repeated here.

[0078] In the above method, the router provides customized terminal automatic control service according to the user's current status and customized control parameters, realizes precise control of the terminal, and can monitor the operation of the terminal in real time and feedback the results to the user, which helps the user to find and solve problems in time and improve the overall user experience.

[0079] In an alternative embodiment, Figure 2 As shown, the terminal automatic control method of the present application also includes:

[0080] Step S160, when the router management terminal obtains user control sets created by multiple users and the current status of each user is in the home state, the network access time of the user terminal of each user is arranged in chronological order, and the router sends the first control parameter in the user control set created by the user who returned home the earliest to the controlled terminal;

[0081] Step S170, when the router management terminal obtains user control sets created by multiple users and the current state of each user is in a resting state, the network disconnection time of the user terminal of each user is arranged in chronological order, and the router sends the second control parameter in the user control set created by the earliest resting user to the controlled terminal;

[0082] Step S180: When the router management terminal obtains user control sets created by multiple users and the current status of each user is away from home, the router sends the third control parameter in the user control set created by each user to the controlled terminal.

[0083] It is understandable that the router management terminal supports multiple users to add user control sets. When multiple user control sets send different control parameters to the same controlled terminal, there will be conflicts. At this time, the router adopts the following strategies to handle conflicting operations:

[0084] When multiple users trigger conflicting operations in the home scene, the router only sends the first control parameter in the user control set created by the user who returns home first to the controlled terminal, and does not send the first control parameter of the user who returns home later. For example, if user A sets the air conditioner to turn on and set it to 24 degrees after returning home, and user B sets the air conditioner to 26 degrees after returning home; user A returns home first, and the router sends the first control parameter to the controlled air conditioner, setting the air conditioner to 24 degrees. When user B returns home later, the router detects an operation conflict, cancels the first control parameter sent to user B to set the air conditioner to 26 degrees, and notifies user B through the router management terminal.

[0085] When multiple users trigger conflicting operations in the rest scene, the router only sends the second control parameter in the user control set created by the user who took a rest first to the controlled terminal, and the second control parameter of the user who took a rest later is not sent. For example, if user A sets the air conditioner to turn on and set it to 24 degrees when taking a rest, and user B sets the air conditioner to 26 degrees when taking a rest; user A takes a rest first, and the router sends the second control parameter to the controlled air conditioner, setting the air conditioner to 24 degrees. When user B takes a rest later, the router detects an operation conflict, cancels the second control parameter sent to user B to set the air conditioner to 26 degrees, and notifies user B through the router management terminal.

[0086] When multiple users trigger conflicting operations in the leaving home scenario, the router sends the third control parameters in the user control set created by each user to the controlled terminal in sequence, and the third control parameters of the user who leaves home later are also sent normally. For example, if user A sets to turn off the balcony light after leaving home to save electricity, and user B sets to turn on the balcony light after leaving home so that the camera can shoot normally; when user A leaves home first, the router sends the shutdown parameters to the controlled smart light, and when user B leaves home, the router sends the on parameters to the smart light.

[0087] It should be noted that when multiple users trigger conflicting operations in the scenarios of going home, leaving home, and resting, the resting state is generally considered to be the scenario that most requires stable control parameters. Therefore, the second control parameter triggered by resting has the highest priority, and the first control parameter triggered by going home has a middle priority, because the user may need to adjust the control parameters to carry out online activities, and the third control parameter triggered by leaving home has the lowest priority, because the user no longer needs the priority allocation of control parameters at this time. The high priority is sent normally when a conflict is triggered, and the low priority is canceled when a conflict is triggered. For example, if user A sets the camera to turn off after returning home to avoid privacy leakage, and user B sets the camera to turn on after leaving home to prevent home theft; when user A returns home, the router sends the shutdown parameters to the controlled smart camera, and then when user B leaves home, the router detects an operation conflict, cancels the control parameters sent to the user to turn on the camera, and notifies user B through the router management terminal.

[0088] The above conflict resolution methods in the home and rest states can effectively avoid unnecessary parameter adjustments and network fluctuations, and help the controlled terminal remain stable. In the conflict resolution method in the away state, even if there are conflicts in the control parameters, the later triggered control parameters can be sent down normally. By setting the priority of the control parameters in different states, it can be ensured that when a conflict occurs, the high-priority control parameters are processed first, and the low-priority tasks will be postponed or cancelled, thereby significantly improving the user experience and network efficiency.

[0089] The terminal automatic control method provided in the embodiment of the present application obtains the user control set created by the user through the router management terminal, wherein the user control set includes the return home automatic control list, the departure home automatic control list and the rest automatic control list; when the router detects that the user terminal is connected to or disconnected from the router network, the current state of the user is determined according to the user control set; when the current state of the user is in the return home state, the router sends the first control parameter to the controlled terminal according to the return home automatic control list, and the controlled terminal operates according to the first control parameter; when the current state of the user is in the rest state, the router sends the second control parameter to the controlled terminal according to the rest automatic control list, and the controlled terminal operates according to the second control parameter; when the current state of the user is in the departure home state, the router sends the third control parameter to the controlled terminal according to the departure home automatic control list, and the controlled terminal operates according to the third control parameter. The present application can flexibly realize the automatic control of the intelligent terminal, improve the intelligent automation of the product, enhance the user experience, and increase the user stickiness without adding additional costs.

[0090] Example 2

[0091] like Figure 3 FIG. 1 is a schematic diagram of a terminal automatic control system 300 in an embodiment of the present application, wherein the system includes:

[0092] The router management terminal 310 is used to obtain a user control set created by a user, wherein the user control set includes a home automatic control list, a leaving home automatic control list, and a rest automatic control list;

[0093] User terminal 320, used to access or disconnect the router network;

[0094] The router 330 is used to determine the current state of the user according to the user control set when detecting that the user terminal 320 is connected to or disconnected from the router network, and when the current state of the user is in the home state, send a first control parameter to the controlled terminal 340 according to the home automatic control list; when the current state of the user is in the rest state, send a second control parameter to the controlled terminal 340 according to the rest automatic control list; when the current state of the user is in the away state, send a third control parameter to the controlled terminal 3403 according to the away automatic control list;

[0095] The controlled terminal 340 is used to operate according to the first control parameter, and is also used to operate according to the second control parameter, and is also used to operate according to the third control parameter.

[0096] The terminal automatic control system provided in the embodiment of the present application can flexibly realize automatic control of smart terminals, improve product intelligence and automation, enhance user experience, and increase user stickiness without adding additional costs.

[0097] Example 3

[0098] The present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0099] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected and communicated through a system bus. It should be noted that the figure only shows a computer device 4 with a memory 41, a processor 42, and a network interface 43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0100] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0101] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or D slot compatibility test memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of the slot compatibility test method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.

[0102] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other terminal automatic control chip in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer-readable instructions or process data stored in the memory 41, such as computer-readable instructions for running the slot compatibility test method.

[0103] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.

[0104] The computer device provided in this embodiment can execute the above terminal automatic control method. Here, the terminal automatic control method can be the terminal automatic control method of each of the above embodiments.

[0105] Example 4

[0106] This embodiment further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the terminal automatic control method in the embodiment are implemented.

[0107] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. Of course, the computer-readable storage medium can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store an operating system and various application software installed on the computer device. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or are to be output.

[0108] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0109] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0110] 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 this understanding, the technical solution of the present invention is essentially or partly contributed to the prior art or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium can be a non-volatile storage medium or a volatile storage medium. For example, the storage medium can be: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes.

[0111] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A terminal automatic control method, It is characterized in that Applied to a terminal automatic control system, the terminal automatic control system includes a user terminal, a router management terminal, a router and a controlled terminal, the method includes: The router management terminal acquires a user control set created by the user, wherein the user control set includes a home automatic control list, a away automatic control list, and a rest automatic control list; When the router detects that the user terminal is connected to or disconnected from the router network, determining the current state of the user according to the user control set; When the current state of the user is in the home state, the router sends a first control parameter to the controlled terminal according to the home automatic control list, and the controlled terminal operates according to the first control parameter; When the current state of the user is in a rest state, the router sends a second control parameter to the controlled terminal according to the rest automatic control list, and the controlled terminal operates according to the second control parameter; When the current state of the user is away from home, the router sends a third control parameter to the controlled terminal according to the away-from-home automatic control list, and the controlled terminal operates according to the third control parameter.

2. The terminal automatic control method according to claim 1, It is characterized in that The user control set also includes the unique identifier of the user terminal, the effective time of the return home automatic control, the effective time of the leave home automatic control and the effective time of the rest automatic control. The return home automatic control list, the leave home automatic control list and the rest automatic control list all include the unique identifier of the controlled terminal. The return home automatic control list includes the first control parameter, the rest automatic control list includes the second control parameter, and the leave home automatic control list includes the third control parameter.

3. The terminal automatic control method according to claim 2, It is characterized in that When the router detects that the user terminal is connected to or disconnected from the router network, judging the current state of the user according to the user control set includes: When the router detects that a mobile terminal accesses the router network, the router obtains a unique identifier of the mobile terminal and determines whether the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal; When the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal, determining that the mobile terminal is the user terminal, obtaining the network access time of the user terminal, and judging whether the network access time belongs to the time when the automatic control of returning home takes effect; When the network access time belongs to the return-home automatic control effective time, it is determined that the current state of the user is the return-home state.

4. The terminal automatic control method according to claim 3, It is characterized in that When the router detects that the user terminal is connected to or disconnected from the router network, judging the current state of the user according to the user control set further includes: When the router detects that the mobile terminal is disconnected from the router network, obtaining the unique identifier of the mobile terminal, and determining whether the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal; When the unique identifier of the mobile terminal is consistent with the unique identifier of the user terminal, the mobile terminal is determined to be the user terminal, and the network disconnection time of the user terminal and the wireless signal strength when the network is disconnected from the router are obtained, and the network disconnection time is judged to be the rest automatic control effective time or the leaving home automatic control effective time, and whether the wireless signal strength is greater than a preset strength threshold; When the network disconnection time is within the rest automatic control effective time and the wireless signal strength is greater than the preset strength threshold, determining that the current state of the user is a rest state; When the network disconnection time belongs to the away-from-home automatic control effective time and the wireless signal strength is less than or equal to the preset strength threshold, it is determined that the current state of the user is away-from-home state.

5. The terminal automatic control method according to claim 1, It is characterized in that The router sends a first control parameter to the controlled terminal according to the home automatic control list, and the controlled terminal operates according to the first control parameter, including: The router disconnects the network connection of the controlled terminal, and when the controlled terminal detects that the router network is disconnected, it reconnects to the router network; The controlled terminal sends a DHCP discover message to the router, wherein the DHCP discover message includes current operating parameters of the controlled terminal; After receiving the DHCP discover message, the router sends a DHCP offer message to the controlled terminal according to the home automatic control list, wherein the DHCP offer message includes the first control parameter; After receiving the DHCP offer message, the controlled terminal operates according to the first control parameter.

6. The terminal automatic control method according to claim 1, It is characterized in that After the controlled terminal operates according to the first control parameter, the method further includes: The controlled terminal sends a DHCP request message to the router, wherein the DHCP request message includes actual operating parameters of the controlled terminal; After receiving the DHCP request message, the router compares the actual operation parameter with the first control parameter to generate an automatic control result, and feeds back the automatic control result to the user through the router management terminal.

7. The terminal automatic control method according to claim 1, It is characterized in that The method further comprises: When the router management terminal obtains multiple user control sets created by the users and the current status of each user is in the home state, the network access time of the user terminal of each user is arranged in chronological order, and the router sends the first control parameter in the user control set created by the user who returns home the earliest to the controlled terminal; When the router management terminal obtains multiple user control sets created by the users and the current state of each user is in a resting state, the network disconnection time of the user terminal of each user is arranged in chronological order, and the router sends the second control parameter in the user control set created by the earliest resting user to the controlled terminal; When the router management terminal obtains multiple user control sets created by the users and the current status of each user is away from home, the router sends the third control parameter in the user control set created by each user to the controlled terminal.

8. A terminal automatic control system, It is characterized in that The system comprises: A router management terminal, used to obtain a user control set created by a user, wherein the user control set includes a home automatic control list, a away automatic control list, and a rest automatic control list; User terminal, used to access or disconnect from the router network; The router is configured to, when detecting that the user terminal is connected to or disconnected from the router network, determine the current state of the user according to the user control set, and when the current state of the user is in the home state, send a first control parameter to the controlled terminal according to the home automatic control list, when the current state of the user is in the rest state, send a second control parameter to the controlled terminal according to the rest automatic control list, and when the current state of the user is in the away state, send a third control parameter to the controlled terminal according to the away automatic control list; The controlled terminal is used to operate according to the first control parameter, and is also used to operate according to the second control parameter, and is also used to operate according to the third control parameter.

9. A computer device, It is characterized in that The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the terminal automatic control method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the terminal automatic control method described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Household electrical appliance control method and apparatus

    CN104898440A

  • Micro motor automatic test system

    CN106019952A

  • Control method for intelligent household appliance, terminal equipment and storage medium

    CN107979515A

  • Method and system for providing intelligent mode switching service using home gateway device

    KR1020140052627A

  • Method for identifying home departure scenario or home returning scenario, and device

    WO2023071549A1

Cited By

  • Home gateway control method, home gateway and device, medium and program product

    CN121217510A