CN110990812A - Device access setting method, device access setting control method, device access control device, electronic device, and medium - Google Patents

Device access setting method, device access setting control method, device access control device, electronic device, and medium Download PDF

Info

Publication number
CN110990812A
CN110990812A CN201911204511.4A CN201911204511A CN110990812A CN 110990812 A CN110990812 A CN 110990812A CN 201911204511 A CN201911204511 A CN 201911204511A CN 110990812 A CN110990812 A CN 110990812A
Authority
CN
China
Prior art keywords
scene
information
visitor
identity information
scene information
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.)
Pending
Application number
CN201911204511.4A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911204511.4A priority Critical patent/CN110990812A/en
Publication of CN110990812A publication Critical patent/CN110990812A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Abstract

The embodiment of the invention discloses a device access setting method, a device, an electronic device and a medium. The equipment access setting method comprises the following steps: displaying a visitor creation interface; acquiring input visitor identity information; acquiring first scene information corresponding to at least one scene where the electronic equipment is located; associating the visitor identity information with each first scene information; receiving a first input for each first scene information; and responding to the first input, and respectively setting corresponding device access permission for each piece of first scene information associated with the visitor identity information. By utilizing the embodiment of the invention, different equipment access authorities can be distributed to different visitors in different scenes, and the confidentiality and the safety of private information in the electronic equipment are improved.

Description

Device access setting method, device access setting control method, device access control device, electronic device, and medium
Technical Field
The embodiment of the invention relates to the technical field of equipment access, in particular to an equipment access setting method and device and an equipment access control method and device. The embodiment of the invention also relates to electronic equipment and a computer readable storage medium.
Background
With the content and information contained in the electronic equipment becoming richer and richer, there are financial APPs related to sensitive information and social APPs related to personal privacy, and the information security problem of the electronic equipment is gradually highlighted. Therefore, at present, a user can set a lock screen, and information leakage in the electronic equipment can be prevented to a certain extent.
But the electronic device lock screen may prevent a stranger from viewing information when touching the electronic device. There is no way to prevent others from viewing some sensitive information in the electronic device when the electronic device is normally borrowed. And one electronic equipment can only set one password, and when the unlocking password of the electronic equipment is known by people, the people can check the information of the electronic equipment anytime and anywhere, so that the information in the electronic equipment still has higher security risk.
Disclosure of Invention
The embodiment of the invention provides a device access setting method and device, a device access control method and device, electronic equipment and a computer readable storage medium, and aims to solve the problem that the safety of information in the electronic equipment is low when a visitor uses the electronic equipment.
In a first aspect, an embodiment of the present invention provides a device access setting method, including:
displaying a visitor creation interface;
acquiring input visitor identity information;
acquiring first scene information corresponding to at least one scene where the electronic equipment is located;
associating the visitor identity information with each of the first context information;
receiving a first input for each of the first scene information;
and responding to the first input, and respectively setting corresponding equipment access authority for each piece of first scene information associated with the visitor identity information.
In a second aspect, an embodiment of the present invention provides a device access control method, including:
acquiring first visitor identity information;
under the condition that the first visitor identity information is matched with the prestored second visitor identity information, acquiring target scene information of a scene where the electronic equipment is located;
and under the condition that the target scene information is matched with at least one piece of pre-stored scene information corresponding to the second visitor identity information, opening the equipment access authority corresponding to the matched pre-stored scene information.
In a third aspect, an embodiment of the present invention provides an apparatus for setting access to a device, including:
the interface display module is used for displaying a visitor creation interface;
the first identity acquisition module is used for acquiring the input visitor identity information;
the first scene acquisition module is used for acquiring first scene information corresponding to at least one scene where the electronic equipment is located;
a first associating module, configured to associate the visitor identity information with each of the first context information;
a first permission setting module for receiving a first input for each of the first scene information; and responding to the first input, and respectively setting corresponding equipment access authority for each piece of first scene information associated with the visitor identity information.
In a fourth aspect, an embodiment of the present invention provides an apparatus access control device, including:
the second identity acquisition module is used for acquiring the identity information of the first visitor;
the scene acquisition module is used for acquiring target scene information of a scene where the electronic equipment is located under the condition that the first visitor identity information is matched with the prestored second visitor identity information;
and the authority control module is used for opening the equipment access authority corresponding to the matched pre-stored scene information under the condition that the target scene information is matched with at least one piece of pre-stored scene information corresponding to the second visitor identity information.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the device access setting method according to the first aspect or the steps of the device access control method according to the second aspect.
In a sixth aspect, the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program, when executed by a processor, implements the steps of the device access setting method according to the first aspect or the steps of the device access control method according to the second aspect.
In the embodiment of the invention, the electronic equipment is internally provided with the visitor identity information and the first scene information which are associated with the visitor in advance, and the corresponding equipment access authority is set for each first scene information which is associated with the visitor identity information, so that when the visitor accesses the electronic equipment in the following process, only the equipment access authority corresponding to the matched scene information can be accessed after the visitor identity information and the scene information are matched. By the mode, different equipment access authorities can be distributed for different visitors in different scenes, so that other people can not see the private information of the owner when knowing the unlocking password of the electronic equipment or borrowing the electronic equipment normally, and the confidentiality and the safety of the private information in the electronic equipment are improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flowchart of a device access setting method according to an embodiment of the present invention;
FIG. 2 is a diagram of a guest-created interface provided by one embodiment of the invention;
FIG. 3 is a diagram illustrating obtaining guest identity information within a guest-created interface according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a device access permission setting interface according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a device access right setting interface according to another embodiment of the present invention;
fig. 6 is a schematic diagram of a process of capturing an image by rotating a camera 360 ° according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a device access control method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a device access setting apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a device access control apparatus according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
Fig. 1 is a flowchart illustrating a device access setting method according to an embodiment of the present invention.
The method comprises the following steps:
s11: displaying a visitor creation interface; FIG. 2 illustrates a diagram of a guest-created interface provided by one embodiment of the invention;
s12: acquiring input visitor identity information; FIG. 3 illustrates a diagram for obtaining guest identity information within a guest-created interface provided for one embodiment of the present invention;
s13: acquiring first scene information corresponding to at least one scene where the electronic equipment is located;
s14: associating the visitor identity information with each first scene information;
s15: receiving a first input for each first scene information;
s16: and responding to the first input, and respectively setting corresponding device access permission for each piece of first scene information associated with the visitor identity information.
Specifically, the same device access permission may be set for a plurality of first scenario information associated with the same visitor identity information, and different device access permissions may also be set for a plurality of first scenario information associated with the same visitor identity information, respectively. And the equipment visitor permission corresponding to each piece of first scene information is set by the owner according to the actual condition.
The specific implementation of the above steps will be described later. The sequence between steps S12 and S13 is not limited, and S12 and S13 may be executed first, or vice versa, or both may be executed in parallel.
In the embodiment of the invention, the electronic equipment is internally provided with the visitor identity information and the first scene information which are associated with the visitor in advance, and the corresponding equipment access authority is set for each first scene information which is associated with the visitor identity information, so that when the visitor accesses the electronic equipment in the following process, only the equipment access authority corresponding to the matched scene information can be accessed after the visitor identity information and the scene information are matched. By the mode, different equipment access authorities can be distributed for different visitors in different scenes, so that other people can not see the private information of the owner when knowing the unlocking password of the electronic equipment or borrowing the electronic equipment normally, and the confidentiality and the safety of the private information in the electronic equipment are improved.
In one embodiment, after the above S12, the process may proceed to the next input operation in response to the received control, and then proceed to step S13. Of course, the step S12 may automatically jump to step S13, which is not limited in the present invention.
In an embodiment, the step S11 is specifically as follows:
a received visitor setting input; and calling a visitor creation interface for display in response to the visitor setting input. The visitor setting input is specifically to trigger a visitor setting item in a setting menu in the electronic device, and of course, the visitor setting input may also be other input operations, for example, triggering a visitor setting item set on a desktop, and the like, which is not limited in the present invention.
In an embodiment, the guest identity information in S12 includes: guest authentication information, and guest user name (e.g., test 01). As shown in FIG. 2, FIG. 2 is a diagram illustrating a guest-created interface provided by one embodiment of the invention.
In this embodiment, the visitor authentication information is information for authenticating the identity of the visitor, and similar to inputting a password, by setting the visitor authentication information, the security of the electronic device can be protected to a certain extent, and the visitor who does not pass the identity authentication is prevented from accessing the electronic device. The visitor user name is identification information used for distinguishing preset visitor identity information of each visitor. Through setting the visitor user name, the owner can conveniently manage the visitor user information in the visitor user setting process.
Based on the foregoing embodiment, the above step S12 may include:
receiving input user name information and visitor authentication information;
and creating a visitor user name according to the user name information.
Accordingly, the step S14 may include: and associating the visitor authentication information and the first scene information with a visitor user name.
In other embodiments, the guest user name may be generated in other manners, for example, each guest authentication information may be automatically assigned an identification (e.g., a number) as the guest user name after receiving the input guest authentication information. The invention does not limit the generation mode of the visitor user name.
Further, in another embodiment, the guest authentication information may include one or more of the following: face information, fingerprint information, character password. Since the visitor authentication information is a password for authenticating the identity information of the visitor, the purpose of protecting the electronic device information can be achieved to a certain extent, and any information expression form capable of achieving visitor identity authentication can be used as the visitor authentication information in the embodiment.
In the case where the visitor authentication information includes face information, in another embodiment, the process of acquiring the face information in S12 described above may include:
the face of the visitor is shot through a camera of the electronic equipment, and face information in the shot image is obtained.
In this embodiment, the face information of the user is directly obtained through the camera of the electronic device, that is, this embodiment may be performed in a face authentication manner when subsequently verifying the identity of the visitor. The method can ensure the accuracy of visitor identity verification, is simple and easy to operate in a mode of directly collecting through the camera, and improves the simplicity of the access setting process.
Based on the foregoing embodiment, in an embodiment, the process of capturing the face of the visitor by the camera of the electronic device may be: the method comprises the steps of opening a camera of the electronic equipment, collecting facial information of a visitor, displaying a prompt of completion of facial information collection after the collection is completed, and displaying a prompt of face position deviation if correct facial information cannot be collected in the collection process.
In this embodiment, the operation of turning on the camera of the electronic device is automatically performed by the electronic device. In other embodiments, the operation of opening the camera may be performed manually by the user, which is not limited in the present invention. Whether the prompt is displayed or not can be set according to actual conditions, and the specific content of the prompt is not limited in the invention.
Further, in other embodiments, in the case where the guest authentication information includes fingerprint information, the process of acquiring the fingerprint information in S12 described above may include: displaying a prompt for inputting a fingerprint; fingerprint information input by a user is received. In the case where the guest authentication information includes the character password, the process of acquiring the character password in S12 described above may include: displaying a prompt for inputting a character password and an input box; and receiving the character password input by the user in the input box.
In an embodiment, before proceeding to step S13, the method may further include:
and displaying a prompt of whether the first scene information is collected or not, if the collection stopping input is received, storing the acquired visitor identity information, and returning to the visitor creating interface.
However, in this case, since the guest creation is not completed, a prompt of whether to collect the first scene information is directly displayed when the guest creation operation is received next time. In the case where the confirmation acquisition input of the user is received, the flow proceeds to step S13.
In a specific embodiment, the step S13 may include:
the method comprises the steps of collecting first scene information corresponding to at least one scene where the electronic equipment is located through a camera of the electronic equipment.
In the embodiment, the first scene information is directly acquired through the camera of the electronic equipment, the mode of acquiring through the camera is simple and easy, the acquisition can be directly completed through the electronic equipment, and the simplicity of the access setting process is improved.
Based on the foregoing embodiment, in an embodiment, the process of acquiring the first scene information by the camera of the electronic device includes: the method comprises the steps of opening a camera of the electronic equipment, collecting first scene information corresponding to at least one scene where the electronic equipment is located, displaying a prompt of completion of scene information collection after collection is completed, and displaying a prompt of failure of scene information collection if correct first scene information cannot be collected in the collection process.
In this embodiment, the operation of turning on the camera of the electronic device is automatically performed by the electronic device. In other embodiments, the operation of opening the camera may be performed manually by the user, which is not limited in the present invention. Whether the prompt is displayed or not can be set according to actual conditions, and the specific content of the prompt is not limited in the invention.
In another embodiment, in the step S13, the method may further include: and displaying a prompt for keeping the position of the electronic equipment immovable. In the process of collecting the first scene information, the electronic equipment detects the amplitude information of the position movement, and if the movement amplitude of the electronic equipment is detected to exceed a preset threshold value, a prompt of position deviation is displayed.
In the process of acquiring the first scene information, if the position of the electronic device is shifted, the acquired first scene information may be unclear, or the characteristics included in the acquired first scene information are different from the characteristics included in the first scene information acquired when the position of the electronic device is not shifted, under these conditions, if the acquired first scene information is directly stored, a situation of a matching error may occur when scene information matching is performed in a subsequent actual unlocking process, and the security of the electronic device of the user may be affected. In the embodiment, a prompt prompting the user to keep the electronic device motionless is included, the position of the electronic device is detected, and once the movement amplitude of the electronic device exceeds a preset threshold value, a corresponding prompt is performed. The method can avoid the situation that the electronic equipment moves in the first scene information acquisition process as much as possible, and improves the accuracy of the first scene information acquisition.
In another embodiment, the camera is a rotary camera, and the first scene information is a scene image captured by the rotary camera within a preset rotation angle.
In this embodiment, the acquisition of the first scene information is performed by rotating the camera. Because a scene in one place cannot be determined according to an image at a single angle, the embodiment acquires the first scene information at multiple angles by rotating the camera, so that the acquired first scene information can fully represent the scene where the current electronic device is located.
Specifically, the preset rotation angle may be 360 °, and fig. 6 shows a schematic diagram of a process of capturing an image by rotating the camera 360 ° according to an embodiment of the present invention. In order to sufficiently reflect the scene of a place, the most preferable scheme is to acquire a panoramic image of the place, that is, an image of 360 °, so that the present embodiment sets the preset rotation angle to 360 °, which can improve the reliability of the acquired first scene information. Of course, in other embodiments, the preset rotation angle may be set to other angles, such as 270 °, 180 °, and the like.
Further, in another embodiment, after the photographing of the first scene information is completed, the electronic apparatus further includes: prompting whether the scene image is used as first scene information, if a determination input of a user is received, associating the scene image with visitor identity information, and if a negative input of the user is received, continuing to execute the operation of acquiring the first scene information. By the method, the shot scene images can be screened by the user, the scene images which fail to be shot are prevented from being stored as the first scene information, and the reliability of obtaining the first scene information is improved.
In another embodiment, after S13, the method may further include:
identifying at least one target scene feature in the first scene information;
and storing at least one target scene characteristic, so that when the scene characteristic in the scene image shot by the rotary camera is matched with any one target scene characteristic in the at least one target scene characteristic, the rotary camera is controlled to stop shooting and the scene image shot by the rotary camera is used as the target scene information of the scene where the electronic equipment is located.
In this embodiment, the purpose of identifying and storing the target scene features in each piece of first scene information is to verify whether the scene information where the electronic device is located is matched with the first scene information preset and stored by the electronic device through comparison of the scene features in the process of unlocking the electronic device by a subsequent visitor. By comparing the scene characteristics, matching verification of scene information can be quickly and accurately realized, and the efficiency of the process of unlocking the electronic equipment by subsequent visitors is improved.
In one embodiment, after S16, the method may further include:
receiving a scene acquisition input for acquired visitor identity information;
responding to scene acquisition input, and acquiring second scene information of a scene where the electronic equipment is located;
associating the second scene information with the acquired visitor identity information;
receiving a second input for second scene information;
and responding to a second input, and setting corresponding device access permission for second scene information associated with the acquired visitor identity information.
The purpose of the embodiment is to add scene information to the created visitor identity information. For a guest user, if it has completed the acquisition and associated saving of the guest identity information and the first context information, it is considered that the guest identity information of the guest user has been created, for example, a certain guest user test02 has been set with the guest identity information and the first context information. In this case, the guest user may need to use the electronic device in a new scene, and thus, the second scene information corresponding to the guest user needs to be added. The embodiment increases the flexibility of setting the scene information.
Specifically, the receiving of the scene acquisition input for the acquired visitor identity information may be:
receiving a scene capture input for a guest username; the scene capture input here may be a long press operation, and in other embodiments, the scene capture input operation may also be other operations.
Responding to the scene acquisition input, and displaying a scene adding interface;
receiving the trigger input of a user to the adding mark in the scene adding interface; the added mark may be in the form of a button or a key, which is not limited in the present invention.
And responding to the trigger input, and acquiring second scene information of the scene where the electronic equipment is located.
The process of acquiring the second context information may refer to the process of acquiring the first context information included in the foregoing embodiments, and is not described herein again.
In one embodiment, the device access right may include: access rights to at least one application in the electronic device. The access authority of all electronic equipment applications can be customized, the application of each electronic equipment is provided with a corresponding switch, the use authority of the application is indicated when the switch is turned on, and the use authority of the application is not indicated when the switch is turned off. Fig. 4 is a schematic diagram illustrating a device access right setting interface according to an embodiment of the present invention, where a switch corresponding to application 1 is turned on, and switches corresponding to applications 2 and 3 are turned off. Fig. 5 is a schematic diagram illustrating a device access right setting interface according to another embodiment of the present invention, where a scene one (i.e., a scene corresponding to scene information one), a switch corresponding to application 1 is turned on, and switches corresponding to applications 2 and 3 are turned off; and in a second scene (namely, a scene corresponding to the second scene information), the switches corresponding to the applications 1 and 2 are turned on, and the switch corresponding to the application 3 is turned off.
An embodiment of the present invention further provides a device access control method, and fig. 7 shows a flowchart of the device access control method according to an embodiment of the present invention, where the method includes:
s21: acquiring first visitor identity information;
s22: under the condition that the first visitor identity information is matched with the prestored second visitor identity information, acquiring target scene information of a scene where the electronic equipment is located;
s23: and under the condition that the target scene information is matched with at least one piece of pre-stored scene information corresponding to the second visitor identity information, opening the equipment access permission corresponding to the matched pre-stored scene information.
In the embodiment of the invention, when a visitor accesses the electronic equipment, the visitor identity information and the scene information are matched, and then only the equipment access right corresponding to the matched target scene information can be accessed. By the mode, different equipment access authorities can be distributed for different visitors in different scenes, so that other people can not see the private information of the owner when knowing the unlocking password of the electronic equipment or normally borrowing the electronic equipment, and the confidentiality and the safety of the private information in the electronic equipment are improved. According to the embodiment of the invention, the user identity and scene unlocking are combined, so that the scene and permission of the visitor using the electronic equipment are limited, and the privacy and permission of the owner are protected to the maximum extent. When the electronic equipment is lent to other people for use, the owner does not worry about that the sensitive and private data in the electronic equipment are checked.
In some cases, the target scene information may be matched with a plurality of pieces of pre-stored scene information corresponding to the second guest identity information, and at this time, the device access rights corresponding to the matched plurality of pieces of pre-stored scene information need to be opened.
In one embodiment, after S21 and before acquiring the target scene information of the scene where the electronic device is located in S22, the method further includes:
matching the first visitor identity information with preset owner identity information;
and matching the first visitor identity information with the second visitor identity information under the condition that the first visitor identity information is not matched with the preset owner identity information.
In this embodiment, it is limited that the first visitor identity information needs to be firstly matched with the preset owner information, because when the first visitor identity information is acquired, the electronic device usually cannot judge whether the owner or the visitor currently using the electronic device, and therefore the identity of the user needs to be firstly identified, and then a proper unlocking judgment flow is selected.
In addition, under the condition that the first visitor identity information is matched with the preset owner identity information, the fact that the electronic equipment is currently used as the owner is indicated, so that all access rights of the electronic equipment need to be opened at the moment, and a subsequent process does not need to be executed.
In an embodiment, in the step S23, the matching of the target context information with the at least one pre-stored context information corresponding to the second visitor identity information includes:
the similarity between the target scene information and one of the at least one pre-stored scene information is greater than a preset threshold value.
When the target scene information is acquired in the unlocking process, the target scene information is difficult to be completely consistent with the position where a user stands, the angle of the electronic equipment and the like when the pre-stored scene information is set in the prior art, so that the target scene information acquired in the unlocking process is difficult to keep 100% similarity with the preset scene information, but the target scene information does not represent that the current scene is different. Therefore, in order to avoid the situation of matching failure caused by such nonreactive factors and improve the accuracy of scene matching, in the present embodiment, when the similarity between the acquired target scene information and the pre-stored scene information is greater than the preset threshold, the matching is considered to be successful. The preset threshold may be set to 80%, and certainly, the preset threshold may also be set to other values, which is not limited in the present invention.
In the process of scene matching, the collected target scene information and the prestored scene information can be compared with each other for the whole image, namely, the pixel points are sequentially compared, and the comparison mode is high in accuracy and low in comparison efficiency. In other embodiments, a manner of comparing scene features included in two pieces of scene information may also be adopted. In another embodiment, the case where the target context information matches with the at least one pre-stored context information corresponding to the second guest identity information in step S23 in fig. 1 includes: at least one scene feature in the target scene information is respectively matched with at least one scene feature in one pre-stored scene information in at least one pre-stored scene information.
In this embodiment, the scene characteristics are characteristics that can represent what the current scene is, so the scene characteristics in the target scene information are compared with the scene characteristics in the pre-stored scene information, and if the matching is successful, it is indicated that the same symbolic characteristics exist between the target scene information and the pre-stored scene information, and therefore the target scene information and the pre-stored scene information can be considered to belong to the same scene, and the matching is successful. Compared with a mode of directly comparing the whole image of the scene information with the whole image of the pre-stored scene information, the matching mode has the advantages of small calculated amount, simple comparison process and high comparison efficiency.
In an embodiment, in the step S22, the acquiring target scene information of the scene where the electronic device is located includes:
controlling a rotary camera of the electronic equipment to shoot a scene where the electronic equipment is located;
identifying scene features in the captured scene image;
under the condition that the identified scene features are matched with any one of at least one target scene feature stored in the electronic equipment, controlling the rotary camera to stop shooting, and taking a scene image shot by the rotary camera as target scene information; and the pre-stored scene information of any target scene characteristic is the matched pre-stored scene information.
Under the condition that the preset rotation angle is large, for example, 360 degrees, the time for the rotating camera to acquire the target scene information is long, and the memory space occupied by the acquired target scene information is also large. In the embodiment, in the process of performing the rotation shooting by the rotation camera, once the scene features matched with the target scene features in the pre-stored scene information are identified in the shot scene image, the shooting is stopped. By the method, the purpose of matching scene information can be achieved, the matching time can be reduced as much as possible, the matching efficiency is improved, and the storage space occupied by the acquired scene images is reduced as much as possible.
Another embodiment of the present invention further provides a device access setting apparatus, and fig. 8 is a schematic structural diagram of the device access setting apparatus according to an embodiment of the present invention. The device includes:
an interface display module 301, configured to display a visitor creation interface;
a first identity obtaining module 302, configured to obtain input visitor identity information;
a first scene acquisition module 303, configured to acquire first scene information corresponding to at least one scene where the electronic device is located;
a first associating module 304, configured to associate the visitor identity information with each first context information;
a first permission setting module 305 for receiving a first input for each first scene information; and responding to the first input, and respectively setting corresponding device access permission for each piece of first scene information associated with the visitor identity information.
In the embodiment of the invention, the electronic equipment is internally provided with the visitor identity information and the first scene information which are associated with the visitor in advance, and the corresponding equipment access authority is set for each first scene information which is associated with the visitor identity information, so that when the visitor accesses the electronic equipment in the following process, only the equipment access authority corresponding to the matched scene information can be accessed after the visitor identity information and the scene information are matched. By the mode, different equipment access authorities can be distributed for different visitors in different scenes, so that other people can not see the private information of the owner when knowing the unlocking password of the electronic equipment or borrowing the electronic equipment normally, and the confidentiality and the safety of the private information in the electronic equipment are improved.
Specifically, the first identity obtaining module 302 is specifically configured to: and acquiring the input visitor authentication information and a visitor user name.
In this embodiment, the visitor authentication information is information for authenticating the identity of the visitor, and similar to inputting a password, by setting the visitor authentication information, the security of the electronic device can be protected to a certain extent, and the visitor who does not pass the identity authentication is prevented from accessing the electronic device. The visitor user name is identification information used for distinguishing preset visitor identity information of each visitor. Through setting the visitor user name, the owner can conveniently manage the visitor user information in the visitor user setting process.
Specifically, the visitor authentication information acquired by the first identity acquisition module 302 includes one or more of the following items: face information, fingerprint information, character password. Since the visitor authentication information is a password for authenticating the identity information of the visitor, the purpose of protecting the electronic device information can be achieved to a certain extent, and any information expression form capable of achieving visitor identity authentication can be used as the visitor authentication information in the embodiment.
In a case where the guest authentication information includes face information, in another embodiment, the first identity acquisition module 302 is to: the face of the visitor is shot through a camera of the electronic equipment, and face information in the shot image is obtained.
In this embodiment, the face information of the user is directly obtained through the camera of the electronic device, that is, this embodiment may be performed in a face authentication manner when subsequently verifying the identity of the visitor. The method can ensure the accuracy of visitor identity verification, is simple and easy to operate in a mode of directly collecting through the camera, and improves the simplicity of the access setting process.
Furthermore, in other embodiments, where the guest authentication information includes fingerprint information, the first identity acquisition module 302 may be to: displaying a prompt for inputting a fingerprint; fingerprint information input by a user is received. In the case where the guest authentication information includes a character password, the first identity acquisition module 302 may be configured to: displaying a prompt for inputting a character password and an input box; and receiving the character password input by the user in the input box.
In a specific embodiment, the first scene capturing module 303 is specifically configured to: the method comprises the steps of collecting first scene information corresponding to at least one scene where the electronic equipment is located through a camera of the electronic equipment.
In the embodiment, the first scene information is directly acquired through the camera of the electronic equipment, the mode of acquiring through the camera is simple and easy, the acquisition can be directly completed through the electronic equipment, and the simplicity of the access setting process is improved.
In another embodiment, the apparatus may further include: the first display module is used for displaying a prompt for keeping the position of the electronic equipment still.
The detection module is used for detecting the amplitude information of the position movement of the electronic equipment in the process of acquiring the first scene information, and if the movement amplitude of the electronic equipment is detected to exceed a preset threshold value, a prompt of the position deviation is displayed.
In this embodiment, a prompt prompting the user to keep the electronic device motionless is included, the position of the electronic device is detected, and once the movement amplitude of the electronic device exceeds a preset threshold value, a corresponding prompt is performed. The method can avoid the situation that the electronic equipment moves in the first scene information acquisition process as much as possible, and improves the accuracy of the first scene information acquisition.
Specifically, the camera is a rotary camera, and the first scene information is a scene image shot by the rotary camera within a preset rotation angle.
In this embodiment, the acquisition of the first scene information is performed by rotating the camera. Because a scene in one place cannot be determined according to an image at a single angle, the embodiment acquires the first scene information at multiple angles by rotating the camera, so that the acquired first scene information can fully represent the scene where the current electronic device is located.
Wherein the preset rotation angle is 360 degrees. In the embodiment, the preset rotation angle is set to 360 °, so that the reliability of the acquired first scene information can be improved. Of course, in other embodiments, the preset rotation angle may be set to other angles, such as 270 °, 180 °, and the like.
In a specific embodiment, the apparatus further comprises:
the target feature identification module is used for identifying at least one target scene feature in the first scene information; and storing at least one target scene characteristic, so that when the scene characteristic in the scene image shot by the rotary camera is matched with any one target scene characteristic in the at least one target scene characteristic, the rotary camera is controlled to stop shooting and the scene image shot by the rotary camera is used as the target scene information of the scene where the electronic equipment is located.
In this embodiment, the purpose of identifying and storing the target scene features in each piece of first scene information is to verify whether the scene information where the electronic device is located is matched with the first scene information preset and stored by the electronic device through comparison of the scene features in the process of unlocking the electronic device by a subsequent visitor. By comparing the scene characteristics, matching verification of scene information can be quickly and accurately realized, and the efficiency of the process of unlocking the electronic equipment by subsequent visitors is improved.
In one embodiment, the apparatus further comprises:
a second scene acquisition module for receiving a scene acquisition input for the acquired visitor identity information; responding to scene acquisition input, and acquiring second scene information of a scene where the electronic equipment is located;
the second association module is used for associating the second scene information with the acquired visitor identity information;
a second permission setting module for receiving a second input for second scene information; and responding to a second input, and setting corresponding device access permission for second scene information associated with the acquired visitor identity information.
The purpose of the embodiment is to add scene information to the created visitor identity information. For a guest user, if the acquisition and the associated storage of the guest identity information and the first scene information are completed, the guest identity information of the guest user is considered to be created. In this case, the guest user may need to use the electronic device in a new scene, and thus, the second scene information corresponding to the guest user needs to be added. The embodiment increases the flexibility of setting the scene information.
Specifically, the device access permissions set by the first permission setting module 305 and the second permission setting module include: access rights to at least one application in the electronic device.
In addition, in the embodiments of the present invention, the functions of the second scene capturing module may refer to the functions of the first scene capturing module, which are not described herein again.
The device access setting apparatus provided in the embodiment of the present invention can implement each method step implemented in the above device access setting method embodiment, and is not described here again to avoid repetition.
Another embodiment of the present invention provides a device access control apparatus, and fig. 4 is a schematic structural diagram of the device access control apparatus according to an embodiment of the present invention. The device includes:
a second identity obtaining module 401, configured to obtain identity information of the first visitor;
a scene obtaining module 402, configured to collect target scene information of a scene where the electronic device is located, when the first guest identity information matches with pre-stored second guest identity information;
and the permission control module 403 is configured to, in a case that the target scene information matches with at least one piece of pre-stored scene information corresponding to the second visitor identity information, open the device access permission corresponding to the matched pre-stored scene information.
In the embodiment of the invention, when a visitor accesses the electronic equipment, the visitor identity information and the scene information are matched, and then only the equipment access right corresponding to the matched target scene information can be accessed. By the mode, different equipment access authorities can be distributed for different visitors in different scenes, so that other people can not see the private information of the owner when knowing the unlocking password of the electronic equipment or normally borrowing the electronic equipment, and the confidentiality and the safety of the private information in the electronic equipment are improved. According to the embodiment of the invention, the user identity and scene unlocking are combined, so that the scene and permission of the visitor using the electronic equipment are limited, and the privacy and permission of the owner are protected to the maximum extent. When the electronic equipment is lent to other people for use, the owner does not worry about that the sensitive and private data in the electronic equipment are checked.
In one embodiment, the apparatus further comprises:
the owner matching module is used for matching the first visitor identity information with preset owner identity information; and matching the first visitor identity information with the second visitor identity information under the condition that the first visitor identity information is not matched with the preset owner identity information.
In this embodiment, it is limited that the first visitor identity information needs to be firstly matched with the preset owner information, because when the first visitor identity information is acquired, the electronic device usually cannot judge whether the owner or the visitor currently using the electronic device, and therefore the identity of the user needs to be firstly identified, and then a proper unlocking judgment flow is selected.
In an embodiment, the scene obtaining module 402 is specifically configured to: and acquiring the target scene information of the scene where the electronic equipment is located under the condition that the similarity between the target scene information and one piece of pre-stored scene information in at least one piece of pre-stored scene information is greater than a preset threshold value. Namely, under the condition that the similarity between the target scene information and one of the at least one piece of pre-stored scene information is greater than a preset threshold value, the target scene information is considered to be matched with the at least one piece of pre-stored scene information corresponding to the first visitor identity information.
In the embodiment, the matching is considered to be successful under the condition that the similarity between the acquired scene information and the pre-stored scene information is greater than the preset threshold, so that the condition of matching failure caused by nonreactive factors is avoided as much as possible, and the accuracy of scene matching is improved.
In another embodiment, the scene capturing module 402 is specifically configured to: and acquiring the target scene information of the scene where the electronic equipment is located under the condition that at least one scene feature in the target scene information is respectively matched with at least one scene feature in one piece of pre-stored scene information in at least one piece of pre-stored scene information. That is, under the condition that at least one scene feature in the target scene information is respectively matched with at least one scene feature in one pre-stored scene information in at least one pre-stored scene information, the target scene information is considered to be matched with at least one pre-stored scene information corresponding to the visitor identity information.
In this embodiment, the scene characteristics are characteristics that can represent what the current scene is, so the scene characteristics in the target scene information are compared with the scene characteristics in the pre-stored scene information, and if the matching is successful, it is indicated that the same symbolic characteristics exist between the target scene information and the pre-stored scene information, and therefore the target scene information and the pre-stored scene information can be considered to belong to the same scene, and the matching is successful. Compared with a mode of directly comparing the whole image of the scene information with the whole image of the pre-stored scene information, the matching mode has the advantages of small calculated amount, simple comparison process and high comparison efficiency.
Specifically, the scene obtaining module 402 includes:
the shooting unit is used for controlling a rotary camera of the electronic equipment to shoot a scene where the electronic equipment is located under the condition that the target scene information is matched with at least one piece of pre-stored scene information corresponding to the visitor identity information;
a feature recognition unit configured to recognize a scene feature in the captured scene image;
the shooting control unit is used for controlling the rotary camera to stop shooting and taking a scene image shot by the rotary camera as target scene information under the condition that the identified scene characteristics are matched with any one of at least one target scene characteristics stored in the electronic equipment; and the pre-stored scene information of any target scene characteristic is the matched pre-stored scene information.
In this embodiment, in the process of performing rotation shooting by the rotation camera, once the scene features matched with the target scene features in the pre-stored scene information are identified in the shot scene image, the shooting is stopped. By the method, the purpose of matching scene information can be achieved, the matching time can be reduced as much as possible, the matching efficiency is improved, and the storage space occupied by the acquired scene images is reduced as much as possible.
The device access control apparatus provided in the embodiment of the present invention can implement each method step implemented in the above device access control method embodiments, and is not described here again to avoid repetition.
Figure 10 is a schematic diagram of a hardware configuration of an electronic device implementing various embodiments of the invention,
the electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, camera, and power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
A processor 510 for controlling the display unit 506 to display the guest creation interface; acquiring the inputted visitor identity information through the input unit 504; acquiring first scene information corresponding to at least one scene where the electronic equipment is located through an image capturing device or a radio frequency unit 501; associating the visitor identity information with each first scene information; controls the user input unit 507 to receive a first input for each first scene information; and responding to the first input, and respectively setting corresponding device access permission for each piece of first scene information associated with the visitor identity information.
Or for obtaining first guest identity information through the input unit 504; (ii) a Under the condition that the first visitor identity information is matched with the pre-stored second visitor identity information, acquiring target scene information of a scene where the electronic equipment is located through an image capturing device or a radio frequency unit 501; and under the condition that the target scene information is matched with at least one piece of pre-stored scene information corresponding to the second visitor identity information, opening the equipment access permission corresponding to the matched pre-stored scene information.
In the embodiment of the invention, the electronic equipment is internally provided with the visitor identity information and the first scene information which are associated with the visitor in advance, and the corresponding equipment access authority is set for each first scene information which is associated with the visitor identity information, so that when the visitor accesses the electronic equipment in the following process, only the equipment access authority corresponding to the matched scene information can be accessed after the visitor identity information and the scene information are matched. By the mode, different equipment access authorities can be distributed for different visitors in different scenes, so that other people can not see the private information of the owner when knowing the unlocking password of the electronic equipment or borrowing the electronic equipment normally, and the confidentiality and the safety of the private information in the electronic equipment are improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 10, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the embodiments of the device access setting method or the device access control method are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements each process of the above-mentioned device access setting method or device access control method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (18)

1. A device access setting method, comprising:
displaying a visitor creation interface;
acquiring input visitor identity information;
acquiring first scene information corresponding to at least one scene where the electronic equipment is located;
associating the visitor identity information with each of the first context information;
receiving a first input for each of the first scene information;
and responding to the first input, and respectively setting corresponding equipment access authority for each piece of first scene information associated with the visitor identity information.
2. The method of claim 1, wherein the guest identity information comprises: visitor authentication information and a visitor username.
3. The method of claim 2, wherein the guest authentication information comprises a combination of one or more of: face information, fingerprint information, character password.
4. The method of claim 1, wherein after the setting, in response to the first input, the corresponding device access right for each piece of the first scenario information associated with the guest identity information, respectively, further comprises:
receiving a scene acquisition input for acquired visitor identity information;
responding to the scene acquisition input, and acquiring second scene information of a scene where the electronic equipment is located;
associating the second context information with the acquired visitor identity information;
receiving a second input for the second scene information;
and responding to the second input, and setting corresponding device access permission for the second scene information associated with the acquired visitor identity information.
5. The method of any of claims 1-4, wherein the device access rights comprise access rights to at least one application in the electronic device.
6. The method according to claim 1, wherein the acquiring first scene information corresponding to at least one scene where the electronic device is located respectively comprises: the method comprises the steps of collecting first scene information corresponding to at least one scene where the electronic equipment is located through a camera of the electronic equipment.
7. The method according to claim 6, wherein the camera is a rotating camera, and the first scene information is a scene image captured by the rotating camera within a preset rotation angle.
8. The method according to claim 7, wherein the predetermined rotation angle is 360 °.
9. The method according to claim 7, wherein after acquiring first scene information corresponding to at least one scene where the electronic device is located, the method further comprises:
identifying at least one target scene feature in the first scene information;
storing the at least one target scene feature.
10. A device access control method, comprising:
acquiring first visitor identity information;
under the condition that the first visitor identity information is matched with the prestored second visitor identity information, acquiring target scene information of a scene where the electronic equipment is located;
and under the condition that the target scene information is matched with at least one piece of pre-stored scene information corresponding to the second visitor identity information, opening the equipment access authority corresponding to the matched pre-stored scene information.
11. The method of claim 10, wherein after obtaining the first visitor identity information and before acquiring the target scene information of the scene in which the electronic device is located, the method further comprises:
matching the first visitor identity information with preset owner identity information;
and matching the first visitor identity information with the second visitor identity information under the condition that the first visitor identity information is not matched with the preset owner identity information.
12. The method according to claim 10 or 11, wherein the matching of the target context information with the at least one pre-stored context information corresponding to the second guest identity information comprises:
the similarity between the target scene information and one of the at least one pre-stored scene information is greater than a preset threshold value.
13. The method according to claim 10 or 11, wherein the matching of the target context information with the at least one pre-stored context information corresponding to the second guest identity information comprises:
at least one scene feature in the target scene information is respectively matched with at least one scene feature in one piece of pre-stored scene information in the at least one piece of pre-stored scene information.
14. The method according to claim 10, wherein the acquiring target scene information of a scene in which the electronic device is located comprises:
controlling a rotary camera of the electronic equipment to shoot a scene where the electronic equipment is located;
identifying scene features in the captured scene image;
under the condition that the identified scene features are matched with any one of at least one target scene feature stored in the electronic equipment, controlling the rotary camera to stop shooting, and taking a scene image shot by the rotary camera as the target scene information; and the pre-stored scene information of any target scene characteristic is the matched pre-stored scene information.
15. A device access setting apparatus, comprising:
the interface display module is used for displaying a visitor creation interface;
the first identity acquisition module is used for acquiring the input visitor identity information;
the first scene acquisition module is used for acquiring first scene information corresponding to at least one scene where the electronic equipment is located;
a first associating module, configured to associate the visitor identity information with each of the first context information;
a first permission setting module for receiving a first input for each of the first scene information; and responding to the first input, and respectively setting corresponding equipment access authority for each piece of first scene information associated with the visitor identity information.
16. An apparatus access control device, comprising:
the second identity acquisition module is used for acquiring the identity information of the first visitor;
the scene acquisition module is used for acquiring target scene information of a scene where the electronic equipment is located under the condition that the first visitor identity information is matched with the prestored second visitor identity information;
and the authority control module is used for opening the equipment access authority corresponding to the matched pre-stored scene information under the condition that the target scene information is matched with at least one piece of pre-stored scene information corresponding to the second visitor identity information.
17. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the device access setting method of any of claims 1 to 9 or the steps of the device access control method of any of claims 10 to 14.
18. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the device access setting method according to any one of claims 1 to 9 or the steps of the device access control method according to any one of claims 10 to 14.
CN201911204511.4A 2019-11-29 2019-11-29 Device access setting method, device access setting control method, device access control device, electronic device, and medium Pending CN110990812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911204511.4A CN110990812A (en) 2019-11-29 2019-11-29 Device access setting method, device access setting control method, device access control device, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911204511.4A CN110990812A (en) 2019-11-29 2019-11-29 Device access setting method, device access setting control method, device access control device, electronic device, and medium

Publications (1)

Publication Number Publication Date
CN110990812A true CN110990812A (en) 2020-04-10

Family

ID=70088661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911204511.4A Pending CN110990812A (en) 2019-11-29 2019-11-29 Device access setting method, device access setting control method, device access control device, electronic device, and medium

Country Status (1)

Country Link
CN (1) CN110990812A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579232A (en) * 2020-12-09 2021-03-30 珠海格力电器股份有限公司 Content display method and device, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649772A (en) * 2016-12-27 2017-05-10 上海上讯信息技术股份有限公司 Method and equipment for accessing data
CN107391977A (en) * 2017-07-04 2017-11-24 阿里巴巴集团控股有限公司 Control, automatic switching method, device and the equipment of authority
CN108121936A (en) * 2016-11-28 2018-06-05 南昌欧菲生物识别技术有限公司 Control method and control device
CN108881266A (en) * 2018-06-29 2018-11-23 泰康保险集团股份有限公司 access control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121936A (en) * 2016-11-28 2018-06-05 南昌欧菲生物识别技术有限公司 Control method and control device
CN106649772A (en) * 2016-12-27 2017-05-10 上海上讯信息技术股份有限公司 Method and equipment for accessing data
CN107391977A (en) * 2017-07-04 2017-11-24 阿里巴巴集团控股有限公司 Control, automatic switching method, device and the equipment of authority
CN108881266A (en) * 2018-06-29 2018-11-23 泰康保险集团股份有限公司 access control method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579232A (en) * 2020-12-09 2021-03-30 珠海格力电器股份有限公司 Content display method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN108038393B (en) Application privacy protection method and mobile terminal
CN109241775B (en) Privacy protection method and terminal
CN107784089B (en) Multimedia data storage method, processing method and mobile terminal
CN107645609B (en) Brightness adjusting method and mobile terminal
WO2019101096A1 (en) Method and device for security verification and mobile terminal
US9940448B2 (en) Unlock processing method and device
CN110457888B (en) Verification code input method and device, electronic equipment and storage medium
CN107609363B (en) Unlocking method and mobile terminal
CN109993010B (en) Information display method and mobile terminal
CN108491713B (en) Safety reminding method and electronic equipment
CN108769410B (en) Information sending method and mobile terminal
CN108710806B (en) Terminal unlocking method and mobile terminal
CN108156537B (en) Remote operation method of mobile terminal and mobile terminal
CN108038360B (en) Operation mode switching method and mobile terminal
CN108600492B (en) Screen unlocking method and terminal
CN107809515B (en) Display control method and mobile terminal
CN108109188B (en) Image processing method and mobile terminal
CN110929238B (en) Information processing method and device
CN109547330B (en) Information sharing method and device
CN109446794B (en) Password input method and mobile terminal thereof
CN110990812A (en) Device access setting method, device access setting control method, device access control device, electronic device, and medium
CN107895108B (en) Operation management method and mobile terminal
CN108259807B (en) Communication method, mobile terminal and computer readable storage medium
CN107491685B (en) Face recognition method and mobile terminal
CN111444491B (en) Information processing method and electronic 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