CN109871677B - Intelligent switch control system and method - Google Patents

Intelligent switch control system and method Download PDF

Info

Publication number
CN109871677B
CN109871677B CN201910209144.0A CN201910209144A CN109871677B CN 109871677 B CN109871677 B CN 109871677B CN 201910209144 A CN201910209144 A CN 201910209144A CN 109871677 B CN109871677 B CN 109871677B
Authority
CN
China
Prior art keywords
control
intelligent switch
account
mobile terminal
face image
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
CN201910209144.0A
Other languages
Chinese (zh)
Other versions
CN109871677A (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.)
Zhuhai Weipeng Technology Co ltd
Original Assignee
Zhuhai Weipeng 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 Zhuhai Weipeng Technology Co ltd filed Critical Zhuhai Weipeng Technology Co ltd
Priority to CN201910209144.0A priority Critical patent/CN109871677B/en
Publication of CN109871677A publication Critical patent/CN109871677A/en
Application granted granted Critical
Publication of CN109871677B publication Critical patent/CN109871677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an intelligent switch control system and method, wherein the method comprises the following steps: the method comprises the steps that a server receives a request for controlling an intelligent switch, which is sent by a mobile terminal, wherein the request comprises a control account; the server matches the control account with a prestored control account, and if the control account is successfully matched with the prestored control account, the server provides a collection interface for collecting the face image of the user to the mobile terminal; the server receives a user face image sent by the mobile terminal through the acquisition interface, and matches the user face image with a standard face image corresponding to the control account; and if the matching is successful, the server sends a corresponding instruction to a control host according to prestored control information corresponding to the control account, so that the control host controls the intelligent switch according to the instruction.

Description

Intelligent switch control system and method
Technical Field
The invention relates to the technical field of intelligent switch control of equipment, in particular to an intelligent switch control system and method.
Background
Along with the development of technology and the requirements of production and life of people, the application of the intelligent switch is wider and wider, and a safe, convenient and effective intelligent switch control system is needed to be provided.
Disclosure of Invention
In order to solve the problems, the invention provides an intelligent switch control system and an intelligent switch control method.
The purpose of the invention is realized by adopting the following technical scheme:
the invention provides an intelligent switch control method in a first aspect, which comprises the following steps:
the method comprises the steps that a server receives a request for controlling an intelligent switch, which is sent by a mobile terminal, wherein the request comprises a control account;
the server matches the control account with a prestored control account, and if the control account is successfully matched with the prestored control account, the server provides a collection interface for collecting the face image of the user to the mobile terminal;
the server receives a user face image sent by the mobile terminal through the acquisition interface, and matches the user face image with a standard face image corresponding to the control account;
and if the matching is successful, the server sends a corresponding instruction to a control host according to prestored control information corresponding to the control account, so that the control host controls the intelligent switch according to the instruction.
The server sends corresponding instructions to the control host at corresponding time nodes, for example, the intelligent switch is turned on at a specific time node, the intelligent switch is turned off at a specific time node, and the like.
The control account is set by the user according to the preference of the user, and can be a favorite name or number, and the like.
The sent face image and the pre-stored standard face image can be matched and identified by adopting the existing image matching method. The image matching identification method is not limited in this embodiment.
The invention provides a safe, convenient and effective intelligent switch control method, wherein a user only needs to input a control account number on a mobile terminal to wait for further analysis and processing of a server and control an intelligent switch according to a processing result, so that the method is convenient and effective; the control of the intelligent switch corresponds to the prestored control information corresponding to the control account number, so that the intelligent switch can be automatically controlled according to the habit of a user; after the control account number of the user is verified successfully, the face image acquired on site is matched and identified, and the safety of controlling the intelligent switch is improved.
According to a manner in which the first aspect of the present invention can be implemented, the control account is input through an application operation interface of the mobile terminal.
According to an enabling aspect of the first aspect of the invention, the method further comprises:
and after the user face image is matched with the standard face image corresponding to the control account, the server receives a control information updating request sent by the mobile terminal, and the server updates the pre-stored control information corresponding to the control account according to the control information updating request.
The embodiment realizes the updating of the control information for controlling the intelligent switch, and is convenient for users to change the control of the intelligent switch according to the requirements of the users.
According to one implementable aspect of the first aspect of the invention, the method further comprises:
the server receives feedback data sent by the control host, wherein the feedback data comprises state change information of the controlled intelligent switch;
and the server sends the state change message to the mobile terminal.
According to an enabling aspect of the first aspect of the invention, the method further comprises:
the server receives information for changing a control account number sent by the mobile terminal, wherein the information for changing the control account number comprises the control account number and an updating instruction;
the server judges whether the control account number is matched with a prestored control account number, and if so, the server receives current verification information sent by the mobile terminal;
and if the current verification information is matched with the pre-stored initial verification information, the server receives a new control account sent by the mobile terminal, and the updating of the control account is completed.
The embodiment provides an updating mode of the control account, and a user can conveniently replace the control account at any time.
The current authentication information is current password information, and the initial authentication information is initial password information.
The second aspect of the invention provides an intelligent switch control system, which comprises a server, a mobile terminal and a control host connected with each intelligent switch, wherein the server, the mobile terminal and the control host are used for executing the intelligent switch control method.
A third aspect of the present invention provides a computer storage medium comprising an intelligent switch control program which, when executed by a processor, implements the steps of the intelligent switch control method as described above.
Drawings
The invention is further illustrated by means of the attached drawings, but the embodiments in the drawings do not constitute any limitation to the invention, and for a person skilled in the art, other drawings can be obtained on the basis of the following drawings without inventive effort.
FIG. 1 is a flow diagram of a smart switch control method in accordance with an exemplary embodiment of the present invention;
fig. 2 is a schematic structural connection diagram of an intelligent switch control system according to an exemplary embodiment of the present invention.
Reference numerals:
server 1, mobile terminal 2, control host 3.
Detailed Description
The invention is further described with reference to the following examples.
Referring to fig. 1, an embodiment of the first aspect of the present invention provides an intelligent switch control method, including:
s01 a server receives a request for controlling an intelligent switch, which is sent by a mobile terminal, wherein the request comprises a control account;
s02, the server matches the control account with a prestored control account, and if the control account is successfully matched with the prestored control account, the server provides a collection interface for collecting a face image of a user for the mobile terminal;
s03, the server receives a user face image sent by the mobile terminal through the acquisition interface, and matches the user face image with a standard face image corresponding to the control account;
and S04, if the matching is successful, the server sends a corresponding instruction to the control host according to prestored control information corresponding to the control account, so that the control host controls the intelligent switch according to the instruction.
The server sends corresponding instructions to the control host at corresponding time nodes, for example, the intelligent switch is turned on at a specific time node, the intelligent switch is turned off at a specific time node, and the like.
The control account is set by the user according to the preference of the user, and can be a favorite name or number, and the like.
The sent face image and the pre-stored standard face image can be matched and identified by adopting the existing image matching method. The image matching identification method is not limited in this embodiment.
The invention provides a safe, convenient and effective intelligent switch control method, wherein a user only needs to input a control account number on a mobile terminal to wait for further analysis and processing of a server and control an intelligent switch according to a processing result, so that the method is convenient and effective; the control of the intelligent switch corresponds to the prestored control information corresponding to the control account number, so that the intelligent switch is automatically controlled according to the habit of a user; after the control account number of the user is verified successfully, the face image acquired on site is matched and identified, and the safety of controlling the intelligent switch is improved.
According to a manner that can be realized by the first aspect of the present invention, the control account is input through an application program operation interface of the mobile terminal.
According to one implementable aspect of the first aspect of the invention, the method further comprises:
and after the user face image is matched with the standard face image corresponding to the control account, the server receives a control information updating request sent by the mobile terminal, and the server updates the pre-stored control information corresponding to the control account according to the control information updating request.
The embodiment realizes the updating of the control information for controlling the intelligent switch, and is convenient for users to change the control of the intelligent switch according to the requirements of the users.
According to an enabling aspect of the first aspect of the invention, the method further comprises:
the server receives feedback data sent by the control host, wherein the feedback data comprises state change information of the controlled intelligent switch;
and the server sends the state change message to the mobile terminal.
According to an enabling aspect of the first aspect of the invention, the method further comprises:
the server receives information for changing a control account number sent by the mobile terminal, wherein the information for changing the control account number comprises the control account number and an updating instruction;
the server judges whether the control account number is matched with a prestored control account number, and if so, the server receives current verification information sent by the mobile terminal;
and if the current verification information is matched with the pre-stored initial verification information, the server receives a new control account sent by the mobile terminal, and the updating of the control account is completed.
The embodiment provides an updating mode of the control account, and a user can conveniently replace the control account at any time.
The current authentication information is current password information, and the initial authentication information is initial password information.
As shown in fig. 2, an embodiment of the second aspect of the present invention provides an intelligent switch control system, where the intelligent switch control system includes a server, a mobile terminal, and a control host connected to each intelligent switch, and the server, the mobile terminal, and the control host are configured to execute the intelligent switch control method described above.
A third aspect of the present invention provides a computer storage medium comprising an intelligent switch control program which, when executed by a processor, implements the steps of the intelligent switch control method as described above.
In the intelligent switch control system and method of the above embodiment, matching the user facial image with a standard facial image corresponding to the control account includes:
dividing the face image into a plurality of sub-images, and calculating the noise rate of the face image according to the number of noise points of the sub-images;
if the noise rate is larger than a preset index threshold value, filtering the user face image and then extracting a feature region of the face image, otherwise, directly extracting the feature region of the face image;
matching and identifying the characteristic region with the characteristic region of the standard face image corresponding to the identity information;
the calculation formula of the noise rate is as follows:
Figure BDA0001999953500000051
wherein L (max) is the number of noise points of the sub-image having the largest number of noise points in each sub-image, and L a (max) is the number of noise points of the a-th sub-image adjacent to the sub-image having the largest number of noise points, n max The number of sub-images adjacent to the sub-image with the largest number of noise points is L (T) which is the preset upper limit of the number of noise points; rho 1 、ρ 2 Is a preset weight coefficient.
The embodiment innovatively provides a measure of the noise rate in consideration of the density and the number of the noise point aggregates, and determines whether the filtering processing is required on the face image of the user through the measure. The embodiment can help to save the filtering processing step for the image with less noise, and only the image needing filtering is subjected to the filtering operation, so that the matching identification efficiency of the image can be improved on the premise of improving the matching identification precision of the image.
In an implementation manner, whether a pixel point d of the sub-region is a noise point is detected according to the following formula:
Figure BDA0001999953500000052
in the formula, d (d) is the gray value of the d-th pixel point of the subimage, d c (d) Is the gray value of the c pixel point in the adjacent area of the d pixel point of the subimage, n d Is the image in the adjacent area of the d-th pixel point of the sub-imageNumber of prime points, d T When R is larger than or equal to 1, the d-th pixel point is represented as a noise point, and when R is smaller than 1, the d-th pixel point is not represented as a noise point.
In the embodiment, whether the pixel point is a noise point is determined according to the gray value relationship between the pixel point and the adjacent pixel point, and the number of the noise points is determined based on the gray value relationship, so that the calculation is simple and convenient, and the efficiency of judging the noise points is improved.
In one implementation, the filtering processing on the user face image includes: carrying out gray value assignment on each noise point, wherein the size of a filter window is set, the center of the filter window is aligned to the noise point when the noise point is filtered, and (u, v) is set to represent the noise point of the user face image, so that pixel points covered by the filter window are as follows:
Figure BDA0001999953500000053
the gray values assigned to the noise points are:
Figure BDA0001999953500000054
in the formula (d) (u,v) Representing the gray value, med (d), assigned to the noise point (u, v) α ) Represents the median value of the alpha row gray values in the current position filter window, med (d) β ) Representing the median of the gray values of the beta column in the filtering window of the current position.
The embodiment adopts the above mode to denoise the face image of the user, can quickly determine the gray value assigned to the noise point, improves the denoising efficiency of the noise point, and lays a good foundation for subsequent image matching.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the system is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the system and the terminal described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
From the above description of the embodiments, it is clear for a person skilled in the art that the embodiments described herein can be implemented in hardware, software, firmware, middleware, code or any appropriate combination thereof. For a hardware implementation, the processor may be implemented in one or more of the following units: an application specific integrated circuit, a digital signal processor, a digital signal processing system, a programmable logic device, a field programmable gate array, a processor, a controller, a microcontroller, a microprocessor, other electronic units designed to perform the functions described herein, or a combination thereof. For a software implementation, some or all of the procedures of an embodiment may be performed by a computer program instructing associated hardware. In practice, the program may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. The computer-readable medium can include, but is not limited to, a random access memory, a read only memory image, a charged erasable programmable read only memory or other optical disk storage, magnetic disk storage media or other magnetic storage systems, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the protection scope of the present invention, although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (7)

1. The intelligent switch control method is characterized by comprising the following steps:
the method comprises the steps that a server receives a request for controlling an intelligent switch, which is sent by a mobile terminal, wherein the request comprises a control account;
the server matches the control account with a prestored control account, and if the control account is successfully matched with the prestored control account, the server provides a collection interface for collecting the face image of the user to the mobile terminal;
the server receives a user face image sent by the mobile terminal through the acquisition interface, and matches the user face image with a standard face image corresponding to the control account;
the method comprises the following steps:
dividing the face image into a plurality of sub-images, and calculating the noise rate of the face image according to the number of noise points of the sub-images;
if the noise rate is larger than a preset index threshold value, filtering the user face image and then extracting a feature region of the face image, otherwise, directly extracting the feature region of the face image;
matching and identifying the characteristic region with a characteristic region of a standard facial image corresponding to the control account information;
the calculation formula of the noise rate is as follows:
Figure FDA0003532445600000011
wherein L (max) is the number of noise points of the sub-image having the largest number of noise points in each sub-image, and L a (max) is the number of noise points of the a-th sub-image adjacent to the sub-image having the largest number of noise points, n max The number of sub-images adjacent to the sub-image with the largest number of noise points is L (T) which is the preset upper limit of the number of noise points; rho 1 、ρ 2 Is a preset weight coefficient; if the matching is successful, the server sends a corresponding instruction to a control host according to prestored control information corresponding to the control account so that the control host can control the control hostAnd controlling the intelligent switch according to the instruction.
2. The intelligent switch control method according to claim 1, wherein the control account number is input through an application program operation interface of the mobile terminal.
3. The intelligent switch control method according to claim 1, further comprising:
and after the user face image is matched with the standard face image corresponding to the control account, the server receives a control information updating request sent by the mobile terminal, and the server updates the pre-stored control information corresponding to the control account according to the control information updating request.
4. The intelligent switch control method according to claim 1, further comprising:
the server receives feedback data sent by the control host, wherein the feedback data comprises state change information of the controlled intelligent switch;
and the server sends the state change message to the mobile terminal.
5. The intelligent switch control method according to claim 1, further comprising:
the server receives information for changing a control account sent by the mobile terminal, wherein the information for changing the control account comprises the control account and an updating instruction;
the server judges whether the control account number is matched with a prestored control account number or not, and if so, the server receives current verification information sent by the mobile terminal;
and if the current verification information is matched with the pre-stored initial verification information, the server receives a new control account sent by the mobile terminal, and the updating of the control account is completed.
6. The intelligent switch control system is characterized by comprising a server, a mobile terminal and a control host connected with each intelligent switch, wherein the server, the mobile terminal and the control host are used for executing the intelligent switch control method according to any one of claims 1 to 5.
7. A computer storage medium, characterized in that the computer storage medium comprises an intelligent switch control program, which when executed by a processor implements the steps of the intelligent switch control method according to any one of claims 1-5.
CN201910209144.0A 2019-03-19 2019-03-19 Intelligent switch control system and method Active CN109871677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910209144.0A CN109871677B (en) 2019-03-19 2019-03-19 Intelligent switch control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910209144.0A CN109871677B (en) 2019-03-19 2019-03-19 Intelligent switch control system and method

Publications (2)

Publication Number Publication Date
CN109871677A CN109871677A (en) 2019-06-11
CN109871677B true CN109871677B (en) 2022-10-25

Family

ID=66920938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910209144.0A Active CN109871677B (en) 2019-03-19 2019-03-19 Intelligent switch control system and method

Country Status (1)

Country Link
CN (1) CN109871677B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113040717A (en) * 2021-03-11 2021-06-29 广州盈在科技有限公司 Intelligent face beauty instrument

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663444A (en) * 2012-03-26 2012-09-12 广州商景网络科技有限公司 Method for preventing account number from being stolen and system thereof
CN202503545U (en) * 2012-03-26 2012-10-24 广州商景网络科技有限公司 Account security application system
CN104936304A (en) * 2015-06-01 2015-09-23 小米科技有限责任公司 Intelligent equipment binding method, intelligent equipment, and server
CN106647306A (en) * 2016-12-29 2017-05-10 北京小米移动软件有限公司 Smart device control method and device
CN108848312A (en) * 2018-08-02 2018-11-20 北京奇虎科技有限公司 It takes pictures method for previewing, device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446904A (en) * 2018-09-25 2019-03-08 中国平安人寿保险股份有限公司 Queuing number-taking method, apparatus, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663444A (en) * 2012-03-26 2012-09-12 广州商景网络科技有限公司 Method for preventing account number from being stolen and system thereof
CN202503545U (en) * 2012-03-26 2012-10-24 广州商景网络科技有限公司 Account security application system
CN104936304A (en) * 2015-06-01 2015-09-23 小米科技有限责任公司 Intelligent equipment binding method, intelligent equipment, and server
CN106647306A (en) * 2016-12-29 2017-05-10 北京小米移动软件有限公司 Smart device control method and device
CN108848312A (en) * 2018-08-02 2018-11-20 北京奇虎科技有限公司 It takes pictures method for previewing, device and electronic equipment

Also Published As

Publication number Publication date
CN109871677A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
US11038879B2 (en) Identity authentication method and apparatus, and user equipment
US20210286870A1 (en) Step-Up Authentication
US11102641B2 (en) SIM card status determination method and SIM card status determination device
EP2911077A2 (en) Method and apparatus for processing biometric information in electronic device
EP3182316A1 (en) Fingerprint authentication method and system, and terminal supporting fingerprint authentication
CN109690563B (en) Fingerprint registration method, terminal and computer-readable storage medium
CN107622232B (en) Unlocking control method and related product
CN113587401A (en) Air conditioner control method and device based on motion data detection, air conditioner and storage medium
CN109871677B (en) Intelligent switch control system and method
KR20180137948A (en) Method and apparatus for adaptively updating enrollment database for user authentication
CN105872256A (en) Mobile terminal access control method and system based on scene sensing
CN107577502A (en) The compatibility method of terminal and its fingerprint module, storage device
CN110980454A (en) Automatic control method and device for elevator in intelligent community and readable storage medium
JP6432634B2 (en) Authentication device, authentication method, and program
CN102682290A (en) Respective type biological feature identifying method and system
CN109920113B (en) Control method of intelligent lock system and intelligent lock system
WO2018114676A1 (en) Method and system for behavior-based authentication of a user
CN109873991B (en) Internet of things video monitoring traffic processing method, processing system and storage medium
CN107688735B (en) Terminal control method and device, terminal and computer readable storage medium
CN115410235A (en) Fingerprint input method and device, storage medium and terminal
CN109934591B (en) Method and mobile terminal for guaranteeing payment safety
CN104378202A (en) Information processing method, electronic terminal and server
CN109918572B (en) Application software priority setting method and system, and computer readable storage medium
CN113040717A (en) Intelligent face beauty instrument
CN113158823B (en) Face recognition method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20221008

Address after: Room 0803, Building 1, No. 3, Daxue Road, Tangjiawan Town, Zhuhai City, Guangdong Province, 519000

Applicant after: Zhuhai Weipeng Technology Co.,Ltd.

Address before: Room 601-a42, No.88, South Tiancheng Road, high speed rail new town, Xiangcheng District, Suzhou City, Jiangsu Province 215000

Applicant before: SUZHOU MAIRONGXIANG INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant