Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present application, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes a method, an apparatus, and a storage medium for controlling device access provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for controlling device access according to an embodiment of the present application, and is applied to a first electronic device. As shown in fig. 1, the method includes:
step 101, receiving a first input of a first user to a target object of a screen locking interface.
Specifically, the first user is a child, and the first electronic device is a child-side device, which may be a mobile phone or other electronic product, such as a tablet computer. Of course, the first user may also be other persons who want to use the first electronic device; the initial state of the first electronic device is a locked state, and a first input of the first user to a target object of the screen locking interface may be received, where the first input is used to request to release the locked state of the first electronic device.
Step 102, responding to the first input, and sending an access request to a second electronic device; the access request is used for requesting to access the first electronic equipment.
Specifically, the second electronic device is a smart device, such as a mobile phone, a smart watch, or a computer, which is bound with the first electronic device in advance. The first electronic device, in response to the first input, may send an access request to a second electronic device requesting access to the first electronic device.
103, receiving feedback information of the second electronic device to the access request, and determining an access state of the first electronic device according to the feedback information of the access request; the feedback information of the access request includes indication information indicating whether to allow the access.
Specifically, the first electronic device determines the access state of the first electronic device based on the feedback information of the access request. The access state comprises a state corresponding to the permission access and the refusal access respectively. And the feedback information of the access request is obtained by the second electronic equipment side user operating the second electronic equipment according to the access request. The second electronic device side user may be a parent, or may be another person who has control authority over the first electronic device.
According to the control method for the device access, the first user responds to the first input of the target object of the screen locking interface, the access request for requesting access to the first electronic device is sent to the second electronic device, the access state of the first electronic device is determined based on the feedback information of the second electronic device to the access request, and the process that a child uses a mobile phone can be controlled more conveniently.
Based on the above embodiment, in the case that the indication information indicating whether to allow the access is allowed, the feedback information of the access request further includes an access restriction condition; the access restriction conditions include: content allowed to access and/or maximum allowed access duration; the determining the access state of the first electronic device comprises:
and releasing the locking state of the first electronic equipment, and determining the content and/or the maximum allowable access time length of the first electronic equipment, which are allowed to be accessed, based on the access limiting condition.
Specifically, in the case where the child is allowed to access the first electronic device by the household, an access limiting condition may be added to the feedback information of the access request, indicating the content and/or the maximum allowed access time length that the child is allowed to access, so as to limit the content and the maximum allowed access time length that the child accesses, and avoid the child from contacting the content that is not suitable for the child to access, and at the same time, avoid the child from adversely affecting the eyesight due to the excessively long access time. And the first electronic equipment is unlocked according to the feedback information of the access request, and sets the content and/or the maximum access time length allowed to be accessed.
In the method for controlling device access provided in the embodiment of the present application, when the indication information indicating whether to allow access is access-allowed, the feedback information of the access request further includes an access limitation condition, where the access limitation condition includes: the determining the access state of the first electronic device according to the content and/or the maximum allowed access duration allowed to be accessed comprises: the locking state of the first electronic device is released, the content allowing access and/or the maximum access duration of the first electronic device are determined based on the access limiting conditions, the access content and the access time of children can be controlled, the children are prevented from contacting the content unsuitable for the access of the children, and adverse effects on eyesight due to overlong access time are avoided.
Based on the above embodiment, when the time required for ending the accessed content is longer than the remaining access permission time of the first electronic device, sending a delay request to the second electronic device;
receiving feedback information of the second electronic equipment for the delay request, and determining whether to prolong the maximum allowable access time of the first electronic equipment or not according to the feedback information of the delay request;
wherein, the delay request includes the time length of the request delay, and the feedback information of the delay request includes the indication information for indicating whether the delay is allowed or not.
Specifically, the traditional child mode of the electronic product can lock the electronic product or block the use of the normal functions of the electronic product when the traditional child mode of the electronic product is touched in a preset access time condition, and at the moment, if the child is more attentive, the attention-focusing force can be influenced by sudden interruption. Based on this, in the embodiment of the present application, when a time length required for ending an access to content being accessed is greater than a remaining allowed access time length of the first electronic device, the first electronic device sends a delay request to the second electronic device, and determines whether to extend a maximum allowed access time length of the first electronic device based on feedback information of the second electronic device on the delay request. For example, the first electronic device may send a delay request to the second electronic device when the first electronic device is playing a video and the remaining access time is less than 10 minutes, but the remaining access time is only 3 minutes, where the delay request includes a time length for requesting a delay, which is 7 minutes here.
Of course, in order to facilitate the second electronic device side user to more fully understand the delay reason so as to make a decision, the delay request may further include related information of the content currently being accessed, such as a video name, a total video duration, a total current access duration, a maximum allowed access duration, and the like.
According to the control method for the device access, when the time length required by the end of the accessed content is longer than the remaining allowable access time length of the first electronic device, a delay request is sent to the second electronic device, whether the maximum allowable access time length of the first electronic device is prolonged or not is determined based on the feedback information of the second electronic device to the delay request, and the influence on the concentration development of children can be avoided.
Based on the above embodiment, after the unlocking state of the first electronic device is released and the content and/or the maximum permitted access duration of the first electronic device that is permitted to be accessed is determined based on the access limiting condition, the method further includes:
sending the use information of the first electronic equipment to second electronic equipment;
receiving feedback information of the second electronic equipment on the use information of the first electronic equipment, and locking the first electronic equipment according to the feedback information of the use information of the first electronic equipment; wherein the usage information of the first electronic device comprises: the content being accessed and/or the total access duration.
Specifically, after the first electronic device enters the access permission state, the use information including the content and/or the total access duration being accessed by the first user is sent to the second electronic device, so that the user on the side of the second electronic device performs real-time control on the use condition of the first electronic device, and the second electronic device may feed back the indication information for locking the first electronic device to the first electronic device according to the operation of the corresponding user at any time.
According to the control method for the device access, after the locking state of the first electronic device is released and the content and/or the maximum allowable access duration of the first electronic device allowed to be accessed is determined based on the access limiting condition, the use information of the first electronic device is sent to the second electronic device, the first electronic device is locked based on the feedback information of the use information of the first electronic device by the second electronic device, and parents can conveniently manage and control the condition that children use mobile phones anytime and anywhere.
Based on the above embodiment, in the case that the indication information indicating whether to allow access is access denied, the feedback information of the access request further includes additional communication information; the additional communication information includes any one or a combination of the following: video information, voice information, text information and picture information; the determining the access state of the first electronic device comprises:
and keeping the locking state of the first electronic equipment, and outputting the additional communication information.
Specifically, in the case that the chief refuses the child to access the first electronic device, additional communication information may be added to the feedback information of the access request to inform the child of the reason for refusing or the condition for allowing access, for example, to add a voice to inform the child that "the child cannot play the mobile phone until the homework is done today". And the first electronic equipment keeps a locking state after receiving the feedback information and outputs the additional communication information.
In the method for controlling device access provided in an embodiment of the present application, when the indication information indicating whether access is allowed is access denied, the feedback information of the access request further includes additional communication information, and the determining the access state of the first electronic device includes: and keeping the first electronic equipment in a locked state, and outputting the additional communication information, so that the self-control ability of the child can be exercised, and the parent-child relationship can be promoted.
Based on the above embodiment, the target object is a target button; the first input is clicking operation on the target button.
Specifically, a request button, namely a target button, is arranged on a screen locking interface of the first electronic device, and in the case that a child does not know a password, the child can send an access request to the second electronic device by clicking the request button.
According to the control method for equipment access, the target object is the target button, the first input is click operation of the target button, children can conveniently request access to the first electronic equipment, especially children with small ages and incapable of remembering passwords.
Based on the above embodiment, the target object is a target unlocking interface; the first input is password input to the target unlocking interface; the sending an access request to a second electronic device in response to the first input, comprising:
under the condition that the password input error frequency reaches a preset value, determining whether the first user is a preset user or not based on the face print information of the first user;
and sending an access request to second electronic equipment under the condition that the first user is a preset user.
Specifically, the screen locking interface of the first electronic device is further provided with an unlocking interface, a child can input a password to unlock the screen through the unlocking interface, however, due to the fact that the child is too small or the password is modified, the number of times of password error is too large, the mobile phone is locked, and inconvenience is brought to parents. The parent can enter face print information of the child in the first electronic device in advance so as to realize the identity confirmation process.
The control method for equipment access provided by the embodiment of the application, the target object is a target unlocking interface, the first input is right the password input of the target unlocking interface, under the condition that the number of times of password input errors reaches a preset value, whether the first user is a preset user is determined based on the face print information of the first user, and under the condition that the first user is the preset user, an access request is sent to the second electronic equipment, so that the situation that mobile phone locking is caused due to too many times of password input can be avoided, and inconvenience is brought to parents.
Fig. 2 is a second flowchart of the method for controlling device access according to the embodiment of the present application, and is applied to a second electronic device. As shown in fig. 2, the method includes:
step 201, receiving a second input of a second user when receiving an access request from a first electronic device; the access request is used for requesting to access the first electronic equipment.
Specifically, the first electronic device is a child-side device, which may be a mobile phone, or other electronic products, such as a tablet computer. The second electronic device is a smart device, such as a mobile phone, a smart watch, or a computer, which is bound with the first electronic device in advance. The second user may be a parent or another person having a control authority over the first electronic device. The second electronic device receives a second input of a second user to determine whether to allow access to the first electronic device in case of receiving an access request from the first electronic device.
Step 202, in response to the second input, sending feedback information of the access request to the first electronic device; feedback information of the access request is used for indicating the access state of the first electronic equipment; the feedback information of the access request includes indication information indicating whether to allow the access.
Specifically, the second electronic device sends feedback information of the access request to the first electronic device in response to the second input, where the feedback information of the access request is used to indicate an access state of the first electronic device, and the first electronic device sets the access state according to the feedback information.
According to the control method for the device access, under the condition that the access request from the first electronic device is received, the second input of the second user is received, the feedback information of the access request is sent to the first electronic device in response to the second input, the feedback information of the access request is used for indicating the access state of the first electronic device, and the process that a child uses a mobile phone can be controlled more conveniently.
Based on the above embodiment, in the case that the indication information indicating whether to allow the access is allowed, the feedback information of the access request further includes an access restriction condition; the access restriction conditions include: content allowed to access and/or maximum allowed access duration;
the feedback information of the access request is used for indicating the access state of the first electronic device, and comprises:
and instructing the first electronic equipment to unlock, and determining the content and/or the maximum allowed access time length of the first electronic equipment, which are allowed to be accessed, based on the access limiting condition.
In particular, in the case where the child is allowed to access the first electronic device by the household, an access restriction condition indicating the content and/or the maximum allowed access time period allowed to be accessed may be added to the feedback information of the access request to restrict the access content and the maximum allowed access time period of the child. And the first electronic equipment is unlocked according to the feedback information of the access request, and sets the content and/or the maximum access time length allowed to be accessed.
In the method for controlling device access provided in the embodiment of the present application, when the indication information indicating whether to allow access is access-allowed, the feedback information of the access request further includes an access limitation condition, where the access limitation condition includes: the access request comprises the content and/or the maximum access time allowed to be accessed, the feedback information of the access request is used for indicating the first electronic device to be unlocked, the content and/or the maximum access time allowed to be accessed of the first electronic device is determined based on the access limiting condition, a child is prevented from contacting the content which is not suitable for the child to access, and adverse effects on eyesight caused by the overlong access time are avoided.
Based on the above embodiment, in case of receiving the delay request from the first electronic device, receiving a third input of the second user; the delay request is generated by the first electronic equipment under the condition that the time length required by the end of the accessed content is longer than the remaining access permission time length of the first electronic equipment;
in response to the third input, sending feedback information for the latency request to the first electronic device; the feedback information of the delay request is used for indicating whether the first electronic equipment prolongs the maximum allowable access duration of the first electronic equipment;
wherein, the delay request includes the time length of the request delay, and the feedback information of the delay request includes the indication information for indicating whether the delay is allowed or not.
Specifically, the first electronic device sends a delay request to the second electronic device when a duration required by the end of the content being accessed is longer than a remaining access permission duration of the first electronic device, the second electronic device prompts a second user after receiving the delay request, and sends feedback information for the delay request to the first electronic device in response to a third input of the second user, so as to indicate whether the first electronic device extends the maximum access permission duration of the first electronic device.
According to the control method for device access, under the condition that the delay request from the first electronic device is received, the third input of the second user is received, the feedback information of the delay request is sent to the first electronic device in response to the third input, the feedback information of the delay request is used for indicating whether the first electronic device prolongs the maximum allowed access duration of the first electronic device, and the influence on the concentration development of children can be avoided.
Based on the above embodiment, in the case of receiving the usage information from the first electronic device, receiving a fourth input of the second user;
in response to the fourth input, sending feedback information for usage information of the first electronic device to the first electronic device; feedback information of the use information of the first electronic equipment is used for indicating that the first electronic equipment is locked;
wherein the usage information of the first electronic device comprises: the content being accessed and/or the total access duration.
Specifically, after the first electronic device enters the access permission state, the first electronic device sends the usage information including the content and/or the total access duration being accessed by the first user to the second electronic device, and the second user performs real-time control on the usage of the first electronic device through the second electronic device, and can control the first electronic device to lock at any time and any place: and the second electronic equipment receives a fourth input of a second user, and sends indication information for locking the first electronic equipment to the first electronic equipment in response to the fourth input.
According to the control method for the device access, under the condition that the using information from the first electronic device is received, the fourth input of the second user is received, the fourth input is responded, the feedback information of the using information of the first electronic device is sent to the first electronic device, and the feedback information of the using information of the first electronic device is used for indicating that the first electronic device is locked, so that parents can conveniently manage and control the condition that children use mobile phones anytime and anywhere.
Based on the above embodiment, in the case that the indication information indicating whether to allow access is access denied, the feedback information of the access request further includes additional communication information; the additional communication information includes any one or a combination of the following: video information, voice information, text information and picture information; the feedback information of the access request is used for indicating the access state of the first electronic device, and comprises:
and indicating the first electronic equipment to keep a locked state, and outputting the additional communication information.
Specifically, in the case that the household refuses the child to access the first electronic device, additional communication information may be added to the feedback information of the access request, the child is informed of the reason for refusing or the condition for allowing access, the first electronic device is instructed to maintain the locked state, and the additional communication information is output.
In the method for controlling device access provided by the embodiment of the application, when the indication information indicating whether access is allowed is access refusal, the feedback information of the access request further includes additional communication information indicating that the first electronic device remains locked, and the additional communication information is output, so that the self-control ability of a child can be exercised, and the relationship between the child and the parent can be promoted.
The following describes a detailed flow of a method for controlling a child to access an electronic device through interaction between a first electronic device and a second electronic device in the foregoing embodiments by using a specific example:
the method for controlling the access of the equipment comprises the following specific steps:
firstly, the method comprises the following steps: a child-side mobile phone applies for use of the parent intelligent device.
Children side's cell-phone can set up in advance and bind the smart machine of one or many parents, and when children used the cell-phone, there are two kinds of modes in the sending of triggering the access request:
1. password entry error
When the input error times reach the preset times, a mobile phone camera is called, the face print of the child is detected, and when the face print of the child is judged to be consistent with the face print of the child input by the parent in advance, an access request is sent to the parent intelligent equipment bound by the mobile phone to inquire whether the parent allows the child to access the mobile phone.
2. Active trigger request
The mobile phone lock screen page is provided with an access request sending button, and after the button is detected to be clicked, the mobile phone can actively send an access request to the bound parent intelligent equipment to inquire whether the parent allows a child to access the mobile phone.
II, secondly: the parent's smart device makes a choice upon receiving the access request.
As shown in fig. 3, which is a schematic view of a display interface after a parent smart device receives an access request provided in an embodiment of the present application, as shown in fig. 3, a display at the top of the interface shows "a child unlocks a mobile phone and please confirm whether to allow and open a child mode", and after the parent sees the access request displayed by the smart device, the parent may select to allow access to the mobile phone and deny access to the mobile phone. When the parents choose to refuse to access the mobile phone, the parents can additionally send feedback information to the mobile phone used by the child, such as sending a voice to tell the child that the child cannot write the operation today and cannot play the mobile phone; when the parent selects to allow access, an access restriction condition (not shown in the figure) may be added, such as the content allowed to be accessed, the maximum allowed access time, and the like. And after the addition is finished, sending the feedback information to the child-side mobile phone, and after the child-side mobile phone acquires the feedback information, automatically unlocking the mobile phone according to the feedback information and setting corresponding access limitation according to the access limitation condition.
Fig. 4 is a schematic view illustrating an interaction flow of triggering an access request by password input according to an embodiment of the present application, where, as shown in fig. 4, a child-side mobile phone determines whether to send an access request according to a password input condition of a lock screen page, and if the password input is correct, the child-side mobile phone can be directly unlocked to enter a child mode, and when the password input is wrong for a preset number of times, the access request is sent to a parent smart watch. The parents can choose to allow or not allow, and the child-side mobile phone determines whether to unlock or not according to the feedback information of the parent smart watch. It should be noted that the "child mode" is merely a concept introduced for convenience of describing the access state of the child-side phone, and does not have any limiting effect on the solution of the embodiment of the present application.
Thirdly, the method comprises the following steps: the child side mobile phone sends the use information of the child side mobile phone to the household intelligent equipment.
After the child-side mobile phone is unlocked by the parent intelligent device, the using condition of the mobile phone, including the content being watched and the total access time and other information, can be sent to the parent intelligent device, and the parent can control to quit the child mode and lock the mobile phone at any time according to the content accessed by the child and the total access time.
Fourthly, the method comprises the following steps: when the child is interrupted by the preset access permission time length, the child can request the parent for time delay.
The request delay mode is to send a delay request to the parent intelligent device through the child-side mobile phone. The triggering operation of sending the delay request may be that the child actively triggers through a corresponding button on the lock screen page when the maximum allowed access duration is reached. The mobile phone on the child side may also automatically trigger the sending of the delay request according to the relationship between the duration required by the end of the content being accessed and the remaining allowable access duration, for example, when the child is watching a video, the mobile phone on the child side detects that the video is still 10 minutes away from the end, and the remaining allowable access duration is only 3 minutes, at this time, the mobile phone on the child side may automatically delay the application to the parent intelligent device.
Fifthly: the parent's intelligent device makes a choice after receiving the delay request.
Fig. 5 is a schematic diagram of a display interface after a parent intelligent device receives a delay request, where as shown in fig. 5, the top of the interface displays "X minutes are left for a child to watch, please confirm whether to finish watching the current aggregate bundle" and after the parent sees the delay request displayed by the intelligent device, the parent determines whether to allow delay or not to allow delay according to information brought by the request. In order to facilitate the parents to make decisions, the remaining time of the current video distance end and the time needing to be delayed can be displayed in the interface. For example: if the distance of the set is more than 30 minutes, the set is not allowed, and if the distance of the set is only 7 minutes, the child side mobile phone can be allowed to finish using the mobile phone after 7 minutes, and then the screen is locked. When the parents do not allow the selection, the parents can also add a feedback message to the mobile phone used by the children; when the parent selects to allow access, the child-side mobile phone automatically unlocks according to the feedback information after acquiring the feedback information, and locks the screen after the video of the current set is played in a delayed mode.
Fig. 6 is a schematic diagram illustrating an interaction process of triggering delay according to an embodiment of the present application, and as shown in fig. 6, a child-side mobile phone sends a delay request to a parent smart watch through active triggering of a child or automatic triggering according to an access state. The parents can choose to allow or not to allow, and the child-side mobile phone determines whether to delay time according to the feedback information of the parent smart watch.
It should be noted that, in the method for controlling device access provided in the embodiment of the present application, the execution subject may be a control apparatus for device access, or a control module in the control apparatus for device access, which is used for executing the loaded device access control method. In the embodiment of the present application, a control method for a device access control apparatus to execute a loaded device access is taken as an example, and the control method for the device access provided in the embodiment of the present application is described.
Fig. 7 is a schematic structural diagram of a device access control apparatus according to an embodiment of the present invention, and as shown in fig. 7, the device access control apparatus according to the embodiment of the present invention is applied to a first electronic device, and includes afirst receiving module 701, afirst sending module 702, and a firstaccess control module 703, where:
afirst receiving module 701, configured to receive a first input of a target object of a screen locking interface from a first user;
afirst sending module 702, configured to send an access request to a second electronic device in response to the first input; the access request is used for requesting to access the first electronic equipment;
the firstaccess control module 703 is configured to receive feedback information of the second electronic device for the access request, and determine an access state of the first electronic device according to the feedback information of the access request; the feedback information of the access request includes indication information indicating whether to allow the access.
Specifically, the device access control apparatus provided in this embodiment of the present application is configured to execute the method in the corresponding embodiment, and the specific steps of executing the method in the corresponding embodiment by using the device access control apparatus provided in this embodiment are the same as those in the corresponding embodiment, and are not described again here.
According to any of the above embodiments, in a case that the indication information indicating whether to allow access is access-allowed, the feedback information of the access request further includes an access restriction condition; the access restriction conditions include: content allowed to access and/or maximum allowed access duration; the determining the access state of the first electronic device comprises:
and releasing the locking state of the first electronic equipment, and determining the content and/or the maximum allowable access time length of the first electronic equipment, which are allowed to be accessed, based on the access limiting condition.
Based on any embodiment above, still include:
the second sending module is used for sending a delay request to the second electronic equipment under the condition that the time length required by the end of the accessed content is longer than the remaining access permission time length of the first electronic equipment;
the second access control module is used for receiving feedback information of the second electronic equipment for the delay request, and determining whether to prolong the maximum allowable access duration of the first electronic equipment or not according to the feedback information of the delay request;
wherein, the delay request includes the time length of the request delay, and the feedback information of the delay request includes the indication information for indicating whether the delay is allowed or not.
Based on any embodiment above, still include:
the third sending module is used for sending the use information of the first electronic equipment to the second electronic equipment;
the third access control module is used for receiving feedback information of the second electronic equipment on the use information of the first electronic equipment and locking the first electronic equipment according to the feedback information of the use information of the first electronic equipment; wherein the usage information of the first electronic device comprises: the content being accessed and/or the total access duration.
On the basis of any of the embodiments described above,
in the case that the indication information for indicating whether to allow the access is access denial, the feedback information of the access request further includes additional communication information; the additional communication information includes any one or a combination of the following: video information, voice information, text information and picture information; the determining the access state of the first electronic device comprises:
and keeping the locking state of the first electronic equipment, and outputting the additional communication information.
Fig. 8 is a second schematic structural diagram of a device access control apparatus according to an embodiment of the present invention, and as shown in fig. 8, the device access control apparatus according to the embodiment of the present invention is applied to a second electronic device, and includes asecond receiving module 801 and afourth sending module 802, where:
asecond receiving module 801, configured to receive a second input of a second user when receiving an access request from the first electronic device; the access request is used for requesting to access the first electronic equipment;
afourth sending module 802, configured to send feedback information of the access request to the first electronic device in response to the second input; feedback information of the access request is used for indicating the access state of the first electronic equipment; the feedback information of the access request includes indication information indicating whether to allow the access.
Specifically, the device access control apparatus provided in this embodiment of the present application is configured to execute the method in the corresponding embodiment, and the specific steps of executing the method in the corresponding embodiment by using the device access control apparatus provided in this embodiment are the same as those in the corresponding embodiment, and are not described again here.
According to any of the above embodiments, in a case that the indication information indicating whether to allow access is access-allowed, the feedback information of the access request further includes an access restriction condition; the access restriction conditions include: content allowed to access and/or maximum allowed access duration;
the feedback information of the access request is used for indicating the access state of the first electronic device, and comprises:
and instructing the first electronic equipment to unlock, and determining the content and/or the maximum allowed access time length of the first electronic equipment, which are allowed to be accessed, based on the access limiting condition.
Based on any embodiment above, still include:
a third receiving module, configured to receive a third input of a second user when a delay request from the first electronic device is received; the delay request is generated by the first electronic equipment under the condition that the time length required by the end of the accessed content is longer than the remaining access permission time length of the first electronic equipment;
a fifth sending module, configured to send, in response to the third input, feedback information for the delay request to the first electronic device; the feedback information of the delay request is used for indicating whether the first electronic equipment prolongs the maximum allowable access duration of the first electronic equipment;
wherein, the delay request includes the time length of the request delay, and the feedback information of the delay request includes the indication information for indicating whether the delay is allowed or not.
Based on any embodiment above, still include:
the fourth receiving module is used for receiving a fourth input of the second user under the condition of receiving the use information from the first electronic equipment;
a sixth sending module, configured to send, in response to the fourth input, feedback information of usage information of the first electronic device to the first electronic device; feedback information of the use information of the first electronic equipment is used for indicating that the first electronic equipment is locked;
wherein the usage information of the first electronic device comprises: the content being accessed and/or the total access duration.
Based on any of the above embodiments, in a case that the indication information indicating whether to allow access is access denied, the feedback information of the access request further includes additional communication information; the additional communication information includes any one or a combination of the following: video information, voice information, text information and picture information; the feedback information of the access request is used for indicating the access state of the first electronic device, and comprises:
and indicating the first electronic equipment to keep a locked state, and outputting the additional communication information.
The device access control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device for device access in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The device access control apparatus provided in this embodiment of the present application can implement each process implemented by the device access control apparatus in the method embodiments of fig. 1 to 2, and is not described here again to avoid repetition.
The device access control device provided by the embodiment of the application responds to first input of a first user to a target object of a screen locking interface, sends an access request for requesting access to the first electronic device to the second electronic device, determines the access state of the first electronic device based on feedback information of the second electronic device to the access request, and can more conveniently manage and control the process of using a mobile phone by children.
Optionally, as shown in fig. 9, an electronic device is further provided in this embodiment of the present application, and includes aprocessor 901, amemory 902, and a program or an instruction that is stored in thememory 902 and is executable on theprocessor 901, where the program or the instruction is executed by theprocessor 901 to implement each process of the above embodiment of the device access control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Theelectronic device 1000 includes, but is not limited to: aradio frequency unit 1001, anetwork module 1002, anaudio output unit 1003, aninput unit 1004, asensor 1005, adisplay unit 1006, a user input unit 1007, aninterface unit 1008, amemory 1009, and aprocessor 1010.
Those skilled in the art will appreciate that theelectronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to theprocessor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
It should be understood that in the embodiment of the present application, theinput Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and amicrophone 10042, and theGraphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. Thedisplay unit 1006 may include adisplay panel 10061, and thedisplay panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes atouch panel 10071 andother input devices 10072. Thetouch panel 10071 is also referred to as a touch screen. Thetouch panel 10071 may include two parts, a touch detection device and a touch controller.Other input devices 10072 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.
Thememory 1009 may be used to store software programs or instructions and various data. Thememory 1009 may mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area may store an operating system, an application program or instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, theMemory 1009 may include a high-speed random access Memory and may also include a nonvolatile Memory, where the nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable Programmable PROM (EPROM), an Electrically Erasable Programmable ROM (EEPROM), or a flash Memory. Such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
Processor 1010 may include one or more processing units; alternatively,processor 1010 may integrate an application processor that handles primarily the operating system, user interface, and application programs or instructions, and a modem processor that handles primarily wireless communications, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated intoprocessor 1010.
In a first aspect, the user input unit 1007 is configured to receive a first input of a target object of a screen locking interface by a first user;
aprocessor 1010, configured to send an access request to a second electronic device through theradio frequency unit 1001 in response to the first input;
theradio frequency unit 1001 is further configured to receive feedback information of the second electronic device for the access request, and theprocessor 1010 is further configured to determine an access state of the first electronic device according to the feedback information of the access request.
According to the electronic equipment provided by the embodiment of the application, the first input of a first user to a target object of a screen locking interface is responded, an access request for requesting access to the first electronic equipment is sent to the second electronic equipment, the access state of the first electronic equipment is determined based on the feedback information of the second electronic equipment to the access request, and the process of using a mobile phone by a child can be controlled more conveniently.
Optionally, theprocessor 1010 is further configured to unlock the first electronic device, and determine the content allowed to be accessed and/or the maximum allowed access duration of the first electronic device based on the access limiting condition.
According to the electronic device provided by the embodiment of the application, the access-allowed content and/or the maximum access-allowed duration of the first electronic device are determined based on the access limiting conditions, the access content and the access time of children can be controlled, the children are prevented from contacting the content which is not suitable for the children to access, and adverse effects on eyesight due to overlong access time are avoided.
Optionally, theradio frequency unit 1001 is further configured to send a delay request to the second electronic device when a duration required by the end of the content being accessed is greater than a remaining access permission duration of the first electronic device;
theradio frequency unit 1001 is further configured to receive feedback information of the second electronic device for the delay request, and theprocessor 1010 is further configured to determine whether to extend the maximum allowed access duration of the first electronic device based on the feedback information of the second electronic device for the delay request.
According to the electronic device provided by the embodiment of the application, when the time length required by the end of the accessed content is longer than the remaining allowable access time length of the first electronic device, the time delay request is sent to the second electronic device, and whether the maximum allowable access time length of the first electronic device is prolonged or not is determined based on the feedback information of the second electronic device to the time delay request, so that the attention development of children can be prevented from being influenced.
Optionally, theradio frequency unit 1001 is further configured to send the usage information of the first electronic device to a second electronic device after releasing the locked state of the first electronic device and determining, based on the access limiting condition, the content and/or the maximum allowed access duration that the first electronic device is allowed to access;
theradio frequency unit 1001 is further configured to receive feedback information of usage information of the first electronic device by the second electronic device, and theprocessor 1010 is further configured to lock the first electronic device based on the feedback information of usage information of the first electronic device by the second electronic device.
According to the electronic device provided by the embodiment of the application, after the locking state of the first electronic device is released and the access limiting condition is used for determining the content and/or the maximum allowable access duration of the access of the first electronic device, the use information of the first electronic device is sent to the second electronic device, and the first electronic device is locked based on the feedback information of the use information of the first electronic device, so that parents can conveniently manage and control the condition that children use mobile phones anytime and anywhere.
Optionally, theprocessor 1010 is further configured to, when the indication information indicating whether to allow the access is access denied, maintain the first electronic device in the locked state, and output the additional communication information through thedisplay unit 1006 and/or theaudio output unit 1003.
According to the electronic device provided by the embodiment of the application, under the condition that the indication information for indicating whether the access is allowed is access refusal, the first electronic device is kept in the locked state, the additional communication information is output, the self-control ability of a child can be exercised, and the parent-child relationship is promoted.
Optionally, theprocessor 1010 is further configured to determine whether the first user is a preset user based on the facial print information of the first user when the number of times of password input errors reaches a preset value, and send an access request to the second electronic device through theradio frequency unit 1001 when the first user is the preset user.
The electronic equipment provided by the embodiment of the application, under the condition that the password input error times reaches the preset value, whether the first user is the preset user is determined based on the face print information of the first user, the first user sends an access request to the second electronic equipment under the condition that the first user is the preset user, and the mobile phone locking caused by excessive password input times can be avoided, so that inconvenience is brought to parents.
In a second aspect, the user input unit 1007 is configured to receive a second input of a second user when receiving an access request from a first electronic device;
theprocessor 1010 is configured to send feedback information of the access request to the first electronic device through theradio frequency unit 1001 in response to the second input, where the feedback information of the access request is used to indicate an access status of the first electronic device.
The electronic equipment provided by the embodiment of the application receives the second input of the second user under the condition that the access request from the first electronic equipment is received, responds to the second input, and sends the feedback information of the access request to the first electronic equipment, wherein the feedback information of the access request is used for indicating the access state of the first electronic equipment, and the process of using the mobile phone by children can be controlled more conveniently.
Optionally, the user input unit 1007 is further configured to receive a third input of the second user in a case of receiving a delay request from the first electronic device; the delay request is generated by the first electronic equipment under the condition that the time length required by the end of the accessed content is longer than the remaining access permission time length of the first electronic equipment;
theprocessor 1010 is further configured to send feedback information for the delay request to the first electronic device through theradio frequency unit 1001 in response to the third input; the feedback information of the delay request is used for indicating whether the first electronic equipment prolongs the maximum allowable access duration of the first electronic equipment.
The electronic device provided by the embodiment of the application receives a third input of a second user when receiving a delay request from a first electronic device, and sends feedback information for the delay request to the first electronic device in response to the third input, wherein the feedback information for the delay request is used for indicating whether the first electronic device prolongs the maximum allowable access duration of the first electronic device, so that the influence on the concentration development of children can be avoided.
Optionally, the user input unit 1007 is further configured to receive a fourth input from the second user when receiving the usage information from the first electronic device.
Theprocessor 1010 is further configured to send, to the first electronic device through theradio frequency unit 1001, feedback information of usage information of the first electronic device in response to the fourth input; the feedback information of the usage information of the first electronic device is used for indicating that the first electronic device is locked.
The electronic equipment provided by the embodiment of the application receives the fourth input of the second user under the condition that the use information from the first electronic equipment is received, responds to the fourth input, sends the feedback information of the use information of the first electronic equipment to the first electronic equipment, and the feedback information of the use information of the first electronic equipment is used for indicating that the first electronic equipment is locked, so that parents can conveniently manage and control the condition that children use the mobile phone anytime and anywhere.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned control method for device access, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the control method for device access, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 a terminal (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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.