CN113132195B - Control method and control gateway for smart home - Google Patents

Control method and control gateway for smart home Download PDF

Info

Publication number
CN113132195B
CN113132195B CN202110438020.7A CN202110438020A CN113132195B CN 113132195 B CN113132195 B CN 113132195B CN 202110438020 A CN202110438020 A CN 202110438020A CN 113132195 B CN113132195 B CN 113132195B
Authority
CN
China
Prior art keywords
control
picture
grain
control object
fingerprint
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110438020.7A
Other languages
Chinese (zh)
Other versions
CN113132195A (en
Inventor
何靖洋
彭江波
孔丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202110438020.7A priority Critical patent/CN113132195B/en
Publication of CN113132195A publication Critical patent/CN113132195A/en
Application granted granted Critical
Publication of CN113132195B publication Critical patent/CN113132195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a control method and a control gateway for smart home, wherein the method comprises the following steps: the control gateway receives a first control command, wherein the first control command comprises: operation signaling and control object identification; the control gateway analyzes the first control command to obtain an operation signaling and a control object identifier, determines a first brand of a control object according to the control object identifier, and extracts a first instruction corresponding to the operation signaling from a preset instruction library of the first brand; and the control gateway sends the first instruction to the control object to realize the control of the control object. The technical scheme provided by the application has the advantage of high user experience.

Description

Control method and control gateway for smart home
Technical Field
The application relates to the technical field of intelligent home, in particular to a control method and a control gateway of the intelligent home.
Background
The smart home (home automation) is characterized in that a home is used as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, an efficient management system of home facilities and home schedule affairs is constructed, home safety, convenience, comfort and artistry are improved, and an environment-friendly and energy-saving living environment is realized.
The existing smart home can not realize control of different brands, and user experience is reduced.
Disclosure of Invention
The embodiment of the application provides a control method and a control system for smart home, which can realize control of smart homes of different brands, improve compatibility of the smart homes and improve user experience.
In a first aspect, an embodiment of the present application provides a method for controlling smart home, where the method includes:
the control gateway receives a first control command, wherein the first control command comprises: operation signaling and control object identification;
the control gateway analyzes the first control command to obtain an operation signaling and a control object identifier, determines a first brand of a control object according to the control object identifier, and extracts a first instruction corresponding to the operation signaling from a preset instruction library of the first brand;
the control gateway sends the first instruction to the control object to realize the control of the control object
In a second aspect, there is provided a control gateway, comprising:
a communication unit configured to receive a first control command, the first control command including: operation signaling and control object identification;
the processing unit is used for analyzing the first control command to obtain an operation signaling and a control object identifier, determining a first brand of a control object according to the control object identifier, and extracting a first instruction corresponding to the operation signaling from a preset instruction library of the first brand;
and the communication unit is also used for sending the first instruction to the control object to realize the control of the control object.
In a third aspect, a computer-readable storage medium is provided, which stores a program for electronic data exchange, wherein the program causes a terminal to execute the method provided in the first aspect.
The embodiment of the application has the following beneficial effects:
it can be seen that, in the technical solution provided in the present application, the control gateway receives a first control command, where the first control command includes: operation signaling and control object identification; the control gateway analyzes the first control command to obtain an operation signaling and a control object identifier, determines a first brand of a control object according to the control object identifier, and extracts a first instruction corresponding to the operation signaling from an instruction library of the first brand; and the control gateway sends the first instruction to the control object to realize the control of the control object. According to the technical scheme, the instruction libraries of all brands are configured in advance in the control gateway, then the first instruction corresponding to the operation signaling is extracted, control over control objects of different brands is achieved, cross-brand control is achieved, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a block diagram of a terminal.
Fig. 2 is a schematic diagram of an intelligent home system.
Fig. 3 is a schematic flow chart of a control method of smart home provided in an embodiment of the present application.
Fig. 4 is a schematic diagram of a fingerprint picture provided in the present application.
Fig. 5 is a schematic diagram of an end point and an angle of a texture picture according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal disclosed in an embodiment of the present application, where the terminal 100 may be a user equipment UE, the terminal 100 includes a storage and processing circuit 110, and a sensor 170 connected to the storage and processing circuit 110, the sensor 170 may include a camera, a distance sensor, a gravity sensor, and the like, the electronic device may include two transparent display screens, the transparent display screens are disposed on a back side and a front side of the electronic device, and part or all of components between the two transparent display screens may also be transparent, so that the electronic device may be a transparent electronic device in terms of visual effect, and if part of the components are transparent, the electronic device may be a hollow electronic device. Wherein:
the terminal 100 may include control circuitry, which may include storage and processing circuitry 110. The storage and processing circuitry 110 may be a memory, such as a hard drive memory, a non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry 110 may be used to control the operation of the terminal 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 110 may be used to run software in the terminal 100, such as an Internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, and so forth. Such software may be used to perform control operations such as camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) display screens, operations associated with performing wireless communication functionality, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the terminal 100, to name a few, embodiments of the present application are not limited.
The terminal 100 may include an input-output circuit 150. The input-output circuit 150 may be used to enable the terminal 100 to input and output data, i.e., to allow the terminal 100 to receive data from external devices and also to allow the terminal 100 to output data from the terminal 100 to external devices. The input-output circuit 150 may further include a sensor 170. Sensor 170 vein identification module, can also include ambient light sensor, proximity sensor based on light and electric capacity, fingerprint identification module, touch sensor (for example, based on light touch sensor and/or capacitanc touch sensor, wherein, touch sensor can be touch-control display screen's partly, also can regard as a touch sensor structure independent utility), acceleration sensor, the camera, and other sensors etc. the camera can be leading camera or rear camera, the fingerprint identification module can integrate in the display screen below, be used for gathering the fingerprint image, the fingerprint identification module can be: optical fingerprint module, etc., and is not limited herein. The front camera can be arranged below the front display screen, and the rear camera can be arranged below the rear display screen. Of course, the front camera or the rear camera may not be integrated with the display screen, and certainly in practical applications, the front camera or the rear camera may also be in a lifting structure, and the specific structure of the front camera or the rear camera is not limited in the specific embodiments of the present application.
Input-output circuit 150 may also include one or more display screens, and when multiple display screens are provided, such as 2 display screens, one display screen may be provided on the front of the electronic device and another display screen may be provided on the back of the electronic device, such as display screen 130. The display 130 may include one or a combination of liquid crystal display, transparent display, organic light emitting diode display, electronic ink display, plasma display, and display using other display technologies. The display screen 130 may include an array of touch sensors (i.e., the display screen 130 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The terminal 100 can also include an audio component 140. Audio component 140 may be used to provide audio input and output functionality for terminal 100. The audio components 140 in the terminal 100 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.
The communication circuit 120 can be used to provide the terminal 100 with the capability to communicate with external devices. The communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 120 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 120 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuit 120 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 120 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuitry and antenna, and so forth.
The terminal 100 may further include a battery, a power management circuit, and other input-output units 160. The input-output unit 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.
A user may input commands through input-output circuitry 150 to control operation of terminal 100 and may use output data of input-output circuitry 150 to enable receipt of status information and other outputs from terminal 100.
Referring to fig. 2, fig. 2 is a schematic view of an intelligent home system, as shown in fig. 2, the intelligent home system includes: the intelligent household system comprises a control gateway and a plurality of terminals, wherein the terminals can be intelligent household equipment such as intelligent refrigerators, intelligent door locks, intelligent televisions and intelligent sound boxes, and the terminals are connected with the control gateway in a wireless mode.
For the smart home, the smart home has multiple brands, and for the multiple brands, the control gateway cannot identify and control the smart home of multiple different brands, for example, the control gateway can control the smart home of a corresponding brand only by using a command sent by a specific app, so that cross-brand control cannot be realized, and user experience is influenced.
Referring to fig. 3, fig. 3 provides a method for controlling smart home, where the method is implemented in the smart home system shown in fig. 2, and the method is shown in fig. 3, and includes the following steps:
step S301, the control gateway receives a first control command, wherein the first control command comprises: operation signaling and control object identification;
the first control command may be a general control command, and the operation signaling may be a temperature value, on, off, or other control signaling. The control object identifier may specifically be an intelligent home identifier, specifically, for example, an identifier of an air conditioner, and an identifier of an intelligent television.
Step S302, the control gateway analyzes the first control command to obtain an operation signaling and a control object identifier, determines a first brand of a control object according to the control object identifier, and extracts a first instruction corresponding to the operation signaling from a preset instruction library of the first brand;
the instruction library may be a pre-configured instruction library, which may include instruction libraries of various brands, such as a millet instruction library, a force instruction library, a samsung instruction library, and so on.
And step S303, the control gateway sends the first instruction to the control object to realize the control of the control object.
According to the technical scheme provided by the application, a control gateway receives a first control command, wherein the first control command comprises: operation signaling and control object identification; the control gateway analyzes the first control command to obtain an operation signaling and a control object identifier, determines a first brand of a control object according to the control object identifier, and extracts a first instruction corresponding to the operation signaling from an instruction library of the first brand; and the control gateway sends the first instruction to the control object to realize the control of the control object. According to the technical scheme, the instruction libraries of all brands are configured in advance in the control gateway, then the first instruction corresponding to the operation signaling is extracted, control over control objects of different brands is achieved, cross-brand control is achieved, and user experience is improved.
For example, after the analyzing to obtain the operation signaling and the control object identifier, the method may further include:
the control gateway receives the fingerprint picture (which can be sent by the terminal), verifies the fingerprint picture to determine a first identity of the fingerprint picture, extracts a first priority of the first identity, extracts a second priority corresponding to the control object identifier, if the first priority is greater than or equal to the second priority, the first control command is reserved, and if the first priority is less than the second priority, the first control command is discarded.
In this case, if the priority of the operation object (i.e., the identity corresponding to the fingerprint picture) corresponding to the terminal is not enough, the terminal cannot control the smart home, for example, control the smart door lock, the priority of the operation object must be high, and an ordinary person cannot control the smart door lock to be opened or closed, so as to avoid the problem of security.
For example, the verifying the fingerprint picture to determine the first identity of the fingerprint picture may specifically include:
the control gateway identifies the RGB values of all pixel points in the fingerprint picture, determines the pixel points with the same and continuous RGB values as the same grain, independently extracts the same grain in the fingerprint picture to obtain n grain pictures, executing angle identification operation on each grain picture in the n grain pictures to obtain n angle values of the n grain pictures, sequencing the n angle values according to the positions of grains (for example, sequencing the n angle values from high to low according to the height values of the grains in the fingerprint pictures) to obtain a first angle value sequence, comparing the first angle value sequence with a template angle value sequence of a preset fingerprint template, if the comparison determines that the continuous n values in the template angle value sequence are the same as the values of the first angle value sequence and are also the same in arrangement, determining that the first angle value sequence is consistent with the preset fingerprint template, and determining that the fingerprint picture is consistent with the preset fingerprint template in comparison.
For example, if the first angle value sequence is: 6, 7, 9; the sequence of template angle values is: 6,7,9,2,3. It is determined that the first truncated 3 values are identical to the first sequence of angle values (same values, same permutation).
The fingerprint picture is shown in fig. 4, where the same texture may be as 301 shown in fig. 4 (for convenience of description, 3 same textures are labeled in fig. 4 for example), and the same texture may specifically be: a continuous and uninterrupted line in the fingerprint picture.
For example, the angle identification operation may specifically include:
determining the positions of two end points (point a and point b as shown in fig. 5) in a texture picture, moving along the texture towards opposite ends (point a moves towards point b, point b moves towards point a) at set intervals by taking point a and point b as starting points respectively until moving points a1 and b1 cross for the first time, extracting the midpoint o between textures of moving points a1 and b1, connecting the midpoint o with point a and point b respectively to obtain line segments oa and ob, rotating the texture in the texture picture to make the midpoint o on the orthogonal line of the picture (i.e. 90 ° angle line), moving the line segments oa and ob outwards by a first preset distance x to obtain o ' a ' and o ' b ', extending the line segments o ' a ' and o ' b ' by a second preset distance y to obtain extended line segments o ' a ' and o ' b ', rotating the line segments o ' a ' with point o ' as an end point until the line segments o ' a ' is tangent to the line segments o ' a ', rotating the line o ' b ' with the point o ' as an end point until the line o ' b ' is tangent to the grain and then stopping rotating the line o ' b '; and calculating the angle between the line segment o 'a' '' and the line segment o 'b' '' to be the angle value corresponding to the grain picture.
The principle of its realization does, to single line, the angle between the tangent line on its both sides can not change along with the rotation of fingerprint, based on such principle, here find the tangent line of line after, then calculate the angle of two tangent lines and just can realize the comparison to the fingerprint picture, and then realize the definite of identity.
Determining that the n consecutive values in the sequence of template angle values are all the same as the values in the sequence of first angle values and are arranged in the same manner for the alignment may specifically include:
and sequentially intercepting n values from the template angle value sequence, comparing each intercepted n values with the first angle value sequence, and determining that the first angle value sequence is consistent with the preset fingerprint template if the values are the same and the arrangement (namely the front and back sequence) is the same.
For the template angle value sequence, because the fingerprint area collected by the template is larger and the number of the corresponding lines is also larger, the number of the angle values of the template angle value sequence is larger than n, so that n values are required to be intercepted from the template angle value sequence, and whether the values are consistent or not is determined by comparison. N is an integer of 2 or more.
For example, the method may further include:
and the control gateway receives response information fed back by the control object, wherein the response information comprises a confirmation message (if the execution is successful, the confirmation message is returned, otherwise, the failure message is returned) or a failure message for executing the first instruction. Thus, whether the control object is successfully controlled or not can be realized.
For example, the method may further include:
the control gateway periodically collects a plurality of parameters of the smart home, analyzes the parameters to determine whether the smart home is in an abnormal condition, and sends alarm information (the alarm information can be sent to a user of the smart home or a professional organization) if the smart home is in the abnormal condition.
For example, the analyzing the parameters to determine whether the smart home is in an abnormal condition may specifically include:
the control network extracts a plurality of parameter thresholds corresponding to the plurality of identifications from the intelligent home identifications corresponding to the plurality of parameters, determines that the intelligent home identifications are in an abnormal condition if the parameters exceed the corresponding parameter thresholds, and otherwise, determines that the intelligent home identifications are in a non-abnormal condition.
The present application further provides a control gateway, comprising:
a communication unit configured to receive a first control command, the first control command including: operation signaling and control object identification;
the processing unit is used for analyzing the first control command to obtain an operation signaling and a control object identifier, determining a first brand of a control object according to the control object identifier, and extracting a first instruction corresponding to the operation signaling from a preset instruction library of the first brand;
and the communication unit is also used for sending the first instruction to the control object to realize the control of the control object.
As an example of this, it is possible to provide,
the communication unit is also used for receiving the fingerprint picture;
the processing unit is further configured to verify the fingerprint picture to determine a first identity of the fingerprint picture, extract a first priority of the first identity, extract a second priority corresponding to the control object identifier, retain the first control command if the first priority is greater than or equal to the second priority, and discard the first control command if the first priority is less than the second priority.
As an example of this, it is possible to provide,
and the communication unit is also used for receiving response information fed back by the control object, and the response information comprises a confirmation message or a failure message for executing the first instruction.
As an example of this, it is possible to provide,
the communication unit is also used for periodically acquiring a plurality of parameters of the smart home;
and the processing unit is also used for analyzing the parameters to determine whether the intelligent home is in an abnormal condition or not, and sending alarm information if the intelligent home is in the abnormal condition.
As an example of this, it is possible to provide,
the processing unit is further used for controlling the network to extract a plurality of parameter thresholds corresponding to the plurality of identifications from the smart home identifications corresponding to the plurality of parameters, and if the parameters exceed the corresponding parameter thresholds, the situation is determined to be abnormal, otherwise, the situation is determined to be non-abnormal.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods as recited in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (6)

1. A control method of smart home is characterized by comprising the following steps:
the control gateway receives a first control command, wherein the first control command comprises: operation signaling and control object identification;
the control gateway analyzes the first control command to obtain an operation signaling and a control object identifier, determines a first brand of a control object according to the control object identifier, and extracts a first instruction corresponding to the operation signaling from a preset instruction library of the first brand;
the control gateway sends the first instruction to a control object to realize the control of the control object; after the operation signaling and the control object identifier are obtained through analysis, the method further comprises the following steps:
the control gateway receives the fingerprint picture, verifies the fingerprint picture to determine a first identity of the fingerprint picture, extracts a first priority of the first identity, extracts a second priority corresponding to the control object identifier, if the first priority is greater than or equal to the second priority, the first control command is reserved, and if the first priority is less than the second priority, the first control command is discarded;
verifying the fingerprint picture to determine the first identity of the fingerprint picture specifically comprises:
the method comprises the steps that a control gateway identifies RGB values of all pixel points in a fingerprint picture, the pixel points of the same and continuous RGB values are determined to be the same grain, the same grain in the fingerprint picture is independently extracted to obtain n grain pictures, angle identification operation is carried out on each grain picture in the n grain pictures to obtain n angle values of the n grain pictures, the n angle values are sequenced according to the positions of the grains to obtain a first angle value sequence, the first angle value sequence is compared with a template angle value sequence of a preset fingerprint template, if the comparison determines that the continuous n values in the template angle value sequence are the same as the values of the first angle value sequence and are also arranged, the first angle value sequence is determined to be consistent with the preset fingerprint template, and the fingerprint picture is determined to be consistent with the preset fingerprint template;
the angle identification operation specifically includes:
determining the positions of two end points in a grain picture, respectively taking the point a and the point b as starting points, moving the two end points along the grain to opposite ends at set intervals until the moving points a1 and b1 are crossed for the first time, extracting a middle point o between the grains of moving points a1 and b1, connecting the middle point o with the point a and the point b to obtain line segments oa and ob, rotating the grains in the grain picture to enable the middle point o to be located on an orthogonal line of the picture, moving the oa and ob to the direction outside the grains by a first preset distance x to obtain o 'a' and o 'b', extending the line segments o 'a' and o 'b' by a second preset distance y to obtain extended line segments o 'a' and o 'b', rotating the line segment o 'a' with the o 'as an endpoint until the line segment o' a 'is tangent to the grains and then stopping rotating to obtain a line segment o' a ', and rotating the line segment o' b 'with the o' as an endpoint until the line segment o 'b' is tangent to the grains and then stopping rotating the o 'b'; and calculating the angle between the line segment o 'a' '' and the line segment o 'b' '' to be the angle value corresponding to the grain picture.
2. The method of claim 1, further comprising:
and the control gateway receives response information fed back by the control object, wherein the response information comprises an acknowledgement message or a failure message for executing the first instruction.
3. The method of claim 1, further comprising:
the control gateway periodically collects a plurality of parameters of the intelligent home, analyzes the parameters to determine whether the intelligent home is in an abnormal condition, and sends alarm information if the intelligent home is in the abnormal condition.
4. The method according to claim 3, wherein the analyzing the plurality of parameters to determine whether the smart home is in an abnormal condition specifically comprises:
the control network extracts a plurality of parameter thresholds corresponding to the plurality of identifications from the intelligent home identifications corresponding to the plurality of parameters, determines that the intelligent home identifications are in an abnormal condition if the parameters exceed the corresponding parameter thresholds, and otherwise, determines that the intelligent home identifications are in a non-abnormal condition.
5. A control gateway, characterized in that the control gateway comprises:
a communication unit configured to receive a first control command, the first control command including: operation signaling and control object identification;
the processing unit is used for analyzing the first control command to obtain an operation signaling and a control object identifier, determining a first brand of a control object according to the control object identifier, and extracting a first instruction corresponding to the operation signaling from a preset instruction library of the first brand;
the communication unit is also used for sending the first instruction to the control object to realize the control of the control object;
the control gateway receives the fingerprint picture, verifies the fingerprint picture to determine a first identity of the fingerprint picture, extracts a first priority of the first identity, extracts a second priority corresponding to the control object identifier, if the first priority is greater than or equal to the second priority, the first control command is reserved, and if the first priority is less than the second priority, the first control command is discarded;
verifying the fingerprint picture to determine the first identity of the fingerprint picture specifically comprises:
the method comprises the steps that a control gateway identifies RGB values of all pixel points in a fingerprint picture, the pixel points of the same and continuous RGB values are determined to be the same grain, the same grain in the fingerprint picture is independently extracted to obtain n grain pictures, angle identification operation is carried out on each grain picture in the n grain pictures to obtain n angle values of the n grain pictures, the n angle values are sequenced according to the positions of the grains to obtain a first angle value sequence, the first angle value sequence is compared with a template angle value sequence of a preset fingerprint template, if the comparison determines that the continuous n values in the template angle value sequence are the same as the values of the first angle value sequence and are also arranged, the first angle value sequence is determined to be consistent with the preset fingerprint template, and the fingerprint picture is determined to be consistent with the preset fingerprint template;
the angle identification operation specifically includes:
determining the positions of two end points in a grain picture, respectively taking the point a and the point b as starting points, moving the two end points along the grain to opposite ends at set intervals until the moving points a1 and b1 are crossed for the first time, extracting a middle point o between the grains of moving points a1 and b1, connecting the middle point o with the point a and the point b to obtain line segments oa and ob, rotating the grains in the grain picture to enable the middle point o to be located on an orthogonal line of the picture, moving the oa and ob to the direction outside the grains by a first preset distance x to obtain o 'a' and o 'b', extending the line segments o 'a' and o 'b' by a second preset distance y to obtain extended line segments o 'a' and o 'b', rotating the line segment o 'a' with the o 'as an endpoint until the line segment o' a 'is tangent to the grains and then stopping rotating to obtain a line segment o' a ', and rotating the line segment o' b 'with the o' as an endpoint until the line segment o 'b' is tangent to the grains and then stopping rotating the o 'b'; and calculating the angle between the line segment o 'a' '' and the line segment o 'b' '' to be the angle value corresponding to the grain picture.
6. A computer-readable storage medium storing a program for electronic data exchange, wherein the program causes a terminal to execute the method according to any one of claims 1-4.
CN202110438020.7A 2021-04-22 2021-04-22 Control method and control gateway for smart home Active CN113132195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110438020.7A CN113132195B (en) 2021-04-22 2021-04-22 Control method and control gateway for smart home

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110438020.7A CN113132195B (en) 2021-04-22 2021-04-22 Control method and control gateway for smart home

Publications (2)

Publication Number Publication Date
CN113132195A CN113132195A (en) 2021-07-16
CN113132195B true CN113132195B (en) 2022-04-26

Family

ID=76779277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110438020.7A Active CN113132195B (en) 2021-04-22 2021-04-22 Control method and control gateway for smart home

Country Status (1)

Country Link
CN (1) CN113132195B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114740749B (en) * 2022-05-24 2024-06-25 广东顺德胜上智能家居有限公司 Intelligent home control system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1410941A (en) * 2001-09-24 2003-04-16 国枝博昭 Curve identifying system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546324B (en) * 2011-10-19 2015-09-23 无锡物联网产业研究院 A kind of Internet of things intelligent home system and method
CN104122829B (en) * 2014-08-13 2017-04-26 白铁兵 Intelligent home control system and intelligent home control method for compatible heterogeneous products
CN105607505B (en) * 2016-03-17 2018-09-28 星威国际家居有限公司 A kind of intelligent home furnishing control method and system based on fingerprint recognition
CN107171911A (en) * 2017-06-29 2017-09-15 青岛海信智慧家居***股份有限公司 The control method and device of intelligent home device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1410941A (en) * 2001-09-24 2003-04-16 国枝博昭 Curve identifying system

Also Published As

Publication number Publication date
CN113132195A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN110430558B (en) Device control method, device, electronic device and storage medium
CN108459797B (en) Control method of folding screen and mobile terminal
CN109284078B (en) Control method of double-sided screen and mobile terminal
CN107861730B (en) Application processing method and mobile terminal
CN105049923A (en) Method and apparatus for waking up electronic device
CN109739429B (en) Screen switching processing method and mobile terminal equipment
CN111124569B (en) Application sharing method, electronic device and computer readable storage medium
CN104635918A (en) Control method and control device of electronic equipment and electronic equipment
CN108494443B (en) Signal transmission method and device
CN110730017A (en) Radio frequency device, control method thereof and terminal equipment
CN111125762B (en) Shared application control method and electronic equipment
CN111313114B (en) Charging method and electronic equipment
CN113132195B (en) Control method and control gateway for smart home
CN108388400B (en) Operation processing method and mobile terminal
CN109745699A (en) A kind of method and terminal device responding touch control operation
CN110740265B (en) Image processing method and terminal equipment
CN104410900A (en) A method and apparatus for controlling an indicator light installed on an intelligent apparatus
CN109660657B (en) Application program control method and device
CN109857673B (en) Control identification method and device
CN109491572B (en) Screen capturing method of mobile terminal and mobile terminal
CN108170360B (en) Control method of gesture function and mobile terminal
CN110021981B (en) Charger and terminal
CN114338770A (en) Cross-block-chain data processing method and device, storage medium and terminal equipment
CN109409068B (en) Operation execution method and terminal
CN108646928B (en) Character input method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant