CN108881621A - A kind of screen locking method, device, terminal and storage medium - Google Patents

A kind of screen locking method, device, terminal and storage medium Download PDF

Info

Publication number
CN108881621A
CN108881621A CN201810538668.XA CN201810538668A CN108881621A CN 108881621 A CN108881621 A CN 108881621A CN 201810538668 A CN201810538668 A CN 201810538668A CN 108881621 A CN108881621 A CN 108881621A
Authority
CN
China
Prior art keywords
screen
duration
bright
children
active user
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
CN201810538668.XA
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.)
Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.
Original Assignee
Shanghai Yude Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yude Technology Co Ltd filed Critical Shanghai Yude Technology Co Ltd
Priority to CN201810538668.XA priority Critical patent/CN108881621A/en
Publication of CN108881621A publication Critical patent/CN108881621A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a kind of screen locking method, device, terminal and storage mediums.This method includes:When screen is in bright screen state, the target face image of active user is obtained;Target face image is matched with the children's face image prestored, determines the target identities mark of active user;If target identities are identified as children's mark, the current distance between active user and screen is obtained, and record when time bright screen duration;If detecting current distance or when time bright screen duration meets screen locking condition, to screen progress blank screen locking.The technical solution of the embodiment of the present invention can automatically control the viewing distance and viewing duration of children, to avoid the physical and mental health for influencing children because closely watching for a long time.

Description

A kind of screen locking method, device, terminal and storage medium
Technical field
The present embodiments relate to the information processing technology more particularly to a kind of screen locking method, device, terminal and storages Medium.
Background technique
With the development of terminal technology, the application function in mobile terminal is more and more abundant, have become people work, The important tool of study and amusement.
Nowadays, children often play game or viewing animated video etc. using mobile terminals such as the mobile phones of parent, but It is the viewing posture and viewing duration that children tend not to pay attention to when playing mobile phone oneself.Budding youngster is in for these For child, if closely and watch terminal screen attentively for a long time, easily cause eyes fatigue, body development will cause serious It influences, the especially influence to eyesight, vertebra and finger is all very big.
In the prior art, usually parent is artificially reminded and is supervised to children.However, the side of this artificial prompting Formula often can not effectively control the viewing posture and viewing duration of children.
Summary of the invention
The embodiment of the invention provides a kind of screen locking method, device, terminal and storage mediums, to automatically control children Viewing distance and viewing duration, avoid influence children physical and mental health.
In a first aspect, the embodiment of the invention provides a kind of screen locking methods, including:
When screen is in bright screen state, the target face image of active user is obtained;
The target face image is matched with the children's face image prestored, determines the target of the active user Identity;
If the target identities be identified as children mark, obtain between the active user and the screen it is current away from From, and record when time bright screen duration;
If the current distance is detected or described when time bright screen duration meets screen locking condition, to the screen Carry out blank screen locking.
Second aspect, the embodiment of the invention also provides a kind of screen locking devices, including:
Target face image collection module, for obtaining the target face of active user when screen is in bright screen state Image;
Target identities identify determining module, for carrying out the target face image and children's face image for prestoring Match, determines the target identities mark of the active user;
Current information obtains module, if being identified as children's mark for the target identities, obtains the active user With the current distance between the screen, and record when time bright screen duration;
Blank screen locking module, if for detecting that the current distance or time bright screen duration of working as meet screen locking Condition then carries out blank screen locking to the screen.
The third aspect, the embodiment of the invention also provides a kind of terminal, the terminal includes:
One or more processors;
Memory, for storing one or more programs;
Input unit, for acquiring image;
Output device, for showing screen;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the screen locking method as described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the screen locking method as described in any embodiment of that present invention when the program is executed by processor.
The embodiment of the present invention determines that the target identities of active user identify by the target face image according to active user, And when target identities are identified as children's mark, the current distance of active user is detected or when whether time bright screen duration meets screen Lock adjustment, if so, blank screen processing is carried out to screen, so that it is effectively controlled the viewing distance and viewing duration of children, Avoiding influences the physical and mental health of children because closely watching for a long time, while also preventing children and indulging in electronic product.
Detailed description of the invention
Fig. 1 is a kind of flow chart for screen locking method that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural schematic diagram of screen locking device provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of structural schematic diagram for terminal that the embodiment of the present invention three provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of a kind of screen locking method that the embodiment of the present invention one provides, and the present embodiment is applicable to pair The case where display screen of intelligent terminal is locked.This method can be executed by screen locking device, which can be by The mode of software and/or hardware is realized, is integrated in intelligent terminal.This method specifically includes following steps:
S110, when screen is in bright screen state, obtain the target face image of active user.
Wherein, the screen in the present embodiment can refer to the display interface of intelligent terminal.Intelligent terminal can be but unlimited In electronic products such as smart phone, tablet computer and desktop computers.The state of screen may include bright screen state and blank screen shape State.User can by pressing terminal on power key or home key make screen switch to bright screen state from black state, Screen can also be made to switch to bright screen state from black state by clicking screen or touch fingerprint key.In the present embodiment Active user refers to the user that terminal is being currently used, that is, the user being located in front of terminal screen.When detecting that screen is in When bright screen state, front camera preset in terminal can be opened, the target of active user is acquired by front camera Face image, to carry out face recognition to active user.Front camera is just opened when detecting that screen is in bright screen state Power consumption can be reduced.
S120, target face image is matched with the children's face image prestored, determines the target body of active user Part mark.
Wherein, the present embodiment acquires the corresponding children's face image of children for needing to exercise supervision and control in advance, and will Children's face image of acquisition stores.The children's face image prestored may include that one or more different children are corresponding Face image can be configured according to the actual conditions and demand of the holder of intelligent terminal.Optionally, if it exists two or More than two different children's face images then can distribute children's mark to each children's face image, to distinguish not Same children's face image.Children's mark can be but not limited to number and/or letter etc..This implementation can be by target face figure Matching as carrying out facial information and/or iris information one by one with the children's face image prestored, to detect the children's face prestored It whether there is face image identical with target face image in portion's image, if so, indicate successful match, it at this time will be with target The corresponding children's mark of children's face image of face image successful match is determined as the target identities mark of active user;If It is no, then it represents that it fails to match.The target identities that adult mark is determined as active user can be identified at this time.
If S130, target identities are identified as children's mark, the current distance between active user and screen is obtained, and remember Record is when time bright screen duration.
Wherein, if the target identities of active user are identified as children's mark, then it represents that the viewer in front of current screen is Children need to obtain the viewing parameter of active user, to be monitored to active user at this time.The present embodiment is in target identities mark When knowledge is children's mark, it can be obtained in real time by opening preset distance-sensor current between active user and screen Distance, and by opening preset timer come start recording when time bright screen duration.Optionally, if the identity mark of active user Knowing for adult mark, then it represents that the viewer in front of current screen is adult, at this time without being monitored in real time to active user, Screen can be constantly in bright screen state, until screen is switched to black state from bright screen state manually by active user.
If S140, detecting current distance or when time bright screen duration meets screen locking condition, being carried out to screen black Screen locking.
Wherein, screen locking condition can refer to the condition that screen is switched to black state from bright screen state.This implementation The current distance or work as whether time bright screen duration meets screen locking condition that example needs real-time detection to obtain, if so, indicating The viewing distance of active user is relatively close or viewing duration is longer, carries out blank screen locking to screen immediately at this time, to prevent to work as Preceding user continues to watch, and the viewing distance and viewing duration to children are effectively controlled, and avoids due to short distance is watched The vision health of children is influenced, while being also prevented from children and indulging in electronic product because long-time is watched.If not, then it represents that children Viewing distance farther out and watch that duration is also shorter, and children can continue to watch at this time, until the current distance that obtains or When secondary bright screen duration meets screen locking condition.
Optionally, S140 includes:
Pre-determined distance corresponding with children's mark and default viewing duration are determined according to presetting database;According to preset time Bright screen number in section works as time bright screen duration calculation always bright screen duration with what is recorded when each bright screen;If detecting, current distance is small In pre-determined distance, or total bright screen duration is equal to default viewing duration, then carries out blank screen locking to screen.
Wherein, each children are stored in advance in presetting database and identify corresponding pre-determined distance and default viewing duration, Middle pre-determined distance refers to that children can be apart from the maximum value of screen, and default viewing duration refers to that children can see in preset time period The total duration seen.Each children identify corresponding pre-determined distance can be same or different, and each children's mark is corresponding default Watching duration can also be same or different.The present embodiment can be configured according to the actual conditions of children, thus realization pair The personalized control of each children.Preset time period can refer to the period of monitoring children, can be according to one day intermediate frequency of children A preset time period is arranged in the period of numerous viewing terminal, and multiple preset time periods also can be set.Preset time period Time interval can be arranged with actual conditions according to the demand of user.Illustratively, preset time period can be set to 00:00- 24:00, can also be according to the period of the frequent viewing terminal of children, it is 8 that a preset time period, which is arranged,:00-20:It 00 or sets Set two periods 8:00-12:00 and 12:00-20:00.By bright screen record each in accumulative preset time period when secondary bright Shield duration, accumulative result is determined as total bright screen duration.If accumulative total bright screen duration is equal to default viewing duration, then it represents that The total viewing duration of active user within a preset period of time has reached the total duration of setting, carries out blank screen to screen immediately at this time Locking.Illustratively, it is assumed that 2 hours a length of, preset time period 00 when some children identifies corresponding default viewing:00-24: 00, if only once bright screen in preset time period, and record this bright screen when a length of half an hour, then total bright screen duration at this time It is then not necessarily to carry out blank screen locking at this time since total bright screen duration at this time is less than default viewing duration for half an hour;If when default Between there is bright screen twice in section, a length of half an hour when bright screen for the first time, when second of bright screen, is 1 and a half hours a length of, then total at this time A length of 2 hours when bright screen, since total bright screen duration at this time is equal to default viewing duration, then blank screen locking is carried out at this time, thus Control the viewing duration of user.
The distance between active user and screen may change in real time at any time in the present embodiment, to need to obtain in real time The current distance of active user, and detect whether current distance is less than pre-determined distance, if so, indicating active user and screen Distance is less than safe distance, carries out blank screen locking to screen at this time;If it is not, then continue to test current distance whether be less than it is default away from From.The present embodiment is less than pre-determined distance in current distance, or when total bright screen duration is equal to default viewing duration, can be to screen Blank screen locking is carried out, to be effectively controlled the viewing distance and viewing duration of children.
Optionally, it when end time point in preset time period, is recorded when deleting in preset time period bright screen every time When secondary bright screen duration.
Wherein, preset time period is made of sart point in time and end time point.Illustratively, if preset time period is 8: 00-20:00, then sart point in time is 8:00, end time point is 20:00.At the end of if current time is preset time period Between point, then it represents that operation is controlled to children in the preset time period and is over, at this time by all of the preset time segment record The information of bright screen duration is deleted, and in order to record the bright screen duration in next preset time period, while increasing memory sky Between, accelerate the speed of service.
Optionally, after S140, further include:
If detecting, current distance is greater than or equal to pre-determined distance and total bright screen duration is less than default viewing duration, right Screen carries out bright screen unlocks.
Wherein, after carrying out blank screen processing to screen, current child can not be manually by screen from blank screen at this time State switches to bright screen state, even by the power key and home key in pressing terminal, either clicks screen or touch refers to The modes such as line key can not also light screen.When the current distance for detecting current child is greater than or equal to pre-determined distance and total bright When shielding duration less than default viewing duration, bright screen unlocks can be carried out to screen, i.e., screen is switched into bright screen from black state State.It optionally, can be by playing preset voice messaging, to remind current child after carrying out blank screen processing to screen It needs to increase viewing distance or warning current child has reached viewing duration, could continue to see after a period of time that needs to rest It sees.
Optionally, after S140, further include:
If detecting, the target identities of active user are identified as adult mark, carry out bright screen unlocks to screen.
Wherein, after carrying out blank screen processing to screen, if by the target face image of active user and the children's face prestored Portion's images match failure, then it represents that the target identities of active user are identified as adult mark, i.e. viewer in front of screen is from youngster Child is changed to adult, screen can be switched to bright screen state from black state immediately at this time, thus not influencing adult use eventually End in advance under, be effectively controlled the service condition of children.
The technical solution of the present embodiment determines the target body of active user by the target face image according to active user Part mark, and when target identities are identified as children's mark, it detects the current distance of active user or whether works as time bright screen duration Meet screen locking adjusting, if so, blank screen processing is carried out to screen, to be effectively controlled viewing distance and the sight of children See duration, avoiding influences the physical and mental health of children because closely watching for a long time, while also preventing children and indulging in electricity Sub- product.
Optionally, after the target face image for obtaining active user, further include:
The viewed status of active user is determined according to target face image;If viewed status is hypnagogic state, to screen Carry out blank screen locking.
Wherein, the viewed status of active user may include just in viewed status and hypnagogic state.The present embodiment can lead to Cross the viewed status for determining and determining active user in target face image with the presence or absence of pupil image.Illustratively, if target Pupil image is not present in face image, then it represents that active user is in closed-eye state, there is no in viewing screen, determines at this time The viewed status of active user is hypnagogic state.If in target face image, there are pupil images, then it represents that active user is It opens eyes and watches screen, determine that the viewed status of active user is just in viewed status at this time.When viewed status is hypnagogic state, To reduce the power consumption of terminal, and electricity can be saved by carrying out blank screen locking to screen.When viewed status is to see When seeing state, it is further continued for the case where executing using terminal of the S120-S140 to control children, guarantees the physical and mental health of children.
Embodiment two
Fig. 2 is a kind of structural schematic diagram of screen locking device provided by Embodiment 2 of the present invention, and the present embodiment is applicable In the display screen to intelligent terminal locks the case where.The device includes:Target face image collection module 210, target Identity determining module 220, current information obtain module 230 and blank screen locking module 240.
Wherein, target face image collection module 210, for obtaining active user's when screen is in bright screen state Target face image;Target identities identify determining module 220, for by target face image and children's face image for prestoring into Row matching determines the target identities mark of active user;Current information obtains module 230, if being identified as target identities Child's mark then obtains the current distance between active user and screen, and records when time bright screen duration;Blank screen locking module 240, If for detecting current distance or when time bright screen duration meets screen locking condition, to screen progress blank screen locking.
Optionally, blank screen locking module 240 includes:
Presupposed information determination unit, for determining pre-determined distance corresponding with children's mark according to presetting database and presetting Watch duration;
Total bright screen duration calculation unit, for being worked as according to the bright screen number in preset time period with what is recorded when each bright screen The total bright screen duration of secondary bright screen duration calculation;
Blank screen lock cell, if for detecting that current distance is less than pre-determined distance, or total bright screen duration equal to default Duration is watched, then blank screen locking is carried out to screen.
Optionally, which further includes:
First bright screen unlocks module, for screen carry out blank screen locking after, if detect current distance be greater than or Equal to pre-determined distance and total bright screen duration is less than default viewing duration, then carries out bright screen unlocks to screen.
Optionally, which further includes:
Second bright screen unlocks module is used for after carrying out blank screen locking to screen, if detecting the target of active user Identity is adult mark, then carries out bright screen unlocks to screen.
Optionally, which further includes:
Viewed status determining module, for obtain active user target face image after, according to target face figure Viewed status as determining active user;
If carrying out blank screen lock to screen correspondingly, it is hypnagogic state that blank screen locking module 240, which is also used to viewed status, It is fixed.
Optionally, which further includes:
Bright screen duration removing module when for end time point in preset time period, is deleted in preset time period every time What is recorded when bright screen works as time bright screen duration.
Screen locking method provided by any embodiment of the invention can be performed in above-mentioned screen locking device, has and executes screen The corresponding functional module of curtain locking means and beneficial effect.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for terminal that the embodiment of the present invention three provides.Referring to Fig. 3, which includes:
One or more processors 310;
Memory 320, for storing one or more programs;
Input unit 330, for acquiring image;
Output device 340, for showing screen;
When one or more programs are executed by one or more processors 310, so that one or more processors 310 are realized Such as the screen locking method that any embodiment proposes in above-described embodiment.
In Fig. 3 by taking a processor 310 as an example;Processor 310, memory 320, input unit 330 in terminal and defeated Device 340 can be connected by bus or other modes out, in Fig. 3 for being connected by bus.
Memory 320 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, if the corresponding program instruction/module of the screen locking method in the embodiment of the present invention is (for example, screen locking fills Target face image collection module 210, target identities in setting identify determining module 220, current information obtains module 230 and black Shield locking module 240).Software program, instruction and the module that processor 310 is stored in memory 320 by operation, thus The various function application and data processing for executing terminal, that is, realize above-mentioned screen locking method.
Memory 320 mainly includes storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;Storage data area, which can be stored, uses created data etc. according to terminal.This Outside, memory 320 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 320 can be into one Step includes the memory remotely located relative to processor 310, these remote memories can pass through network connection to terminal.On The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Input unit 330 may include the acquisition equipment such as camera, for acquiring target face image, and by the target of acquisition Face image is input to processor 310 and carries out data processing.
Output device 340 may include that display screen etc. shows equipment, be used for display screen information.
The screen locking method that the terminal and above-described embodiment that the present embodiment proposes propose belongs to same inventive concept, does not exist The technical detail of detailed description can be found in above-described embodiment in the present embodiment, and the present embodiment has execution screen locking method Identical beneficial effect.
Example IV
The present embodiment provides a kind of computer readable storage mediums, are stored thereon with computer program, and the program is processed The screen locking method as described in any embodiment of that present invention is realized when device executes.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium can be for example but not limited to:Electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes:With one Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including but not limited to: Wirelessly, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language, such as Java, Smalltalk, C++, also Including conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to subscriber computer, or, it may be connected to outer computer (such as led to using ISP Cross internet connection).
Above-described embodiment serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Will be appreciated by those skilled in the art that each module of the above invention or each step can use general meter Device is calculated to realize, they can be concentrated on single computing device, or be distributed in network constituted by multiple computing devices On, optionally, they can be realized with the program code that computer installation can be performed, so as to be stored in storage It is performed by computing device in device, perhaps they are fabricated to each integrated circuit modules or will be more in them A module or step are fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and The combination of software.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar part between each embodiment may refer to each other.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of screen locking method, which is characterized in that including:
When screen is in bright screen state, the target face image of active user is obtained;
The target face image is matched with the children's face image prestored, determines the target identities of the active user Mark;
If the target identities are identified as children's mark, the current distance between the active user and the screen is obtained, And it records when time bright screen duration;
If the current distance is detected or described when time bright screen duration meets screen locking condition, to screen progress Blank screen locking.
2. the method according to claim 1, wherein if detecting the current distance or described when time bright screen Duration meets screen locking condition, then carries out blank screen locking to the screen, including:
Pre-determined distance corresponding with children mark and default viewing duration are determined according to presetting database;
Work as time bright screen duration calculation always bright screen duration with what is recorded when each bright screen according to the bright screen number in preset time period;
If detect that the current distance is less than the pre-determined distance or total bright screen duration equal to the default viewing It is long, then blank screen locking is carried out to the screen.
3. according to the method described in claim 2, it is characterized in that, further including after carrying out blank screen locking to the screen:
If detecting, the current distance is greater than or equal to the pre-determined distance and total bright screen duration is less than described preset Duration is watched, then bright screen unlocks are carried out to the screen.
4. the method according to claim 1, wherein further including after carrying out blank screen locking to the screen:
If detecting, the target identities of active user are identified as adult mark, carry out bright screen unlocks to the screen.
5. the method according to claim 1, wherein being gone back after the target face image for obtaining active user Including:
The viewed status of the active user is determined according to the target face image;
If the viewed status is hypnagogic state, blank screen locking is carried out to the screen.
6. according to the method described in claim 2, it is characterized in that, further including:
When end time point in the preset time period, recorded when deleting each bright screen in the preset time period when time Bright screen duration.
7. a kind of screen locking device, which is characterized in that including:
Target face image collection module, for obtaining the target face image of active user when screen is in bright screen state;
Target identities identify determining module, for the target face image to be matched with the children's face image prestored, Determine the target identities mark of the active user;
Current information obtains module, if being identified as children's mark for the target identities, obtains the active user and institute The current distance between screen is stated, and is recorded when time bright screen duration;
Blank screen locking module, if for detecting that the current distance or time bright screen duration of working as meet screen locking item Part then carries out blank screen locking to the screen.
8. device according to claim 7, which is characterized in that the blank screen locking module includes:
Presupposed information determination unit, for determining pre-determined distance corresponding with children mark according to presetting database and presetting Watch duration;
Total bright screen duration calculation unit, recorded when for according to bright screen number and each bright screen in preset time period when time bright Shield duration calculation always bright screen duration;
Blank screen lock cell, if for detecting that the current distance is less than the pre-determined distance or total bright screen duration Equal to the default viewing duration, then blank screen locking is carried out to the screen.
9. a kind of terminal, which is characterized in that the terminal includes:
One or more processors;
Memory, for storing one or more programs;
Input unit, for acquiring image;
Output device, for showing screen;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as screen locking method as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as screen locking method as claimed in any one of claims 1 to 6 is realized when execution.
CN201810538668.XA 2018-05-30 2018-05-30 A kind of screen locking method, device, terminal and storage medium Pending CN108881621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810538668.XA CN108881621A (en) 2018-05-30 2018-05-30 A kind of screen locking method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810538668.XA CN108881621A (en) 2018-05-30 2018-05-30 A kind of screen locking method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN108881621A true CN108881621A (en) 2018-11-23

Family

ID=64335673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810538668.XA Pending CN108881621A (en) 2018-05-30 2018-05-30 A kind of screen locking method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108881621A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110490140A (en) * 2019-08-21 2019-11-22 上海眼控科技股份有限公司 Screen display state method of discrimination, device, computer equipment and storage medium
WO2020168486A1 (en) * 2019-02-20 2020-08-27 东莞市讯天宏智能科技有限公司 Method for smartly controlling terminal screen, and terminal
WO2020168488A1 (en) * 2019-02-20 2020-08-27 东莞市讯天宏智能科技有限公司 Terminal screen control method and terminal
CN113132802A (en) * 2021-04-21 2021-07-16 百度在线网络技术(北京)有限公司 Screen display regulation and control method and device, electronic equipment and medium
CN113835665A (en) * 2021-09-27 2021-12-24 深圳Tcl新技术有限公司 Display control method, display control device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100164731A1 (en) * 2008-12-29 2010-07-01 Aiguo Xie Method and apparatus for media viewer health care
CN103412647A (en) * 2013-08-13 2013-11-27 广东欧珀移动通信有限公司 Face recognition page display control method and mobile terminal
CN105678146A (en) * 2016-01-05 2016-06-15 上海斐讯数据通信技术有限公司 Terminal and operation method thereof
CN106227484A (en) * 2016-07-26 2016-12-14 广东欧珀移动通信有限公司 Control method and control device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100164731A1 (en) * 2008-12-29 2010-07-01 Aiguo Xie Method and apparatus for media viewer health care
CN103412647A (en) * 2013-08-13 2013-11-27 广东欧珀移动通信有限公司 Face recognition page display control method and mobile terminal
CN105678146A (en) * 2016-01-05 2016-06-15 上海斐讯数据通信技术有限公司 Terminal and operation method thereof
CN106227484A (en) * 2016-07-26 2016-12-14 广东欧珀移动通信有限公司 Control method and control device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020168486A1 (en) * 2019-02-20 2020-08-27 东莞市讯天宏智能科技有限公司 Method for smartly controlling terminal screen, and terminal
WO2020168488A1 (en) * 2019-02-20 2020-08-27 东莞市讯天宏智能科技有限公司 Terminal screen control method and terminal
CN110490140A (en) * 2019-08-21 2019-11-22 上海眼控科技股份有限公司 Screen display state method of discrimination, device, computer equipment and storage medium
CN113132802A (en) * 2021-04-21 2021-07-16 百度在线网络技术(北京)有限公司 Screen display regulation and control method and device, electronic equipment and medium
CN113835665A (en) * 2021-09-27 2021-12-24 深圳Tcl新技术有限公司 Display control method, display control device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108881621A (en) A kind of screen locking method, device, terminal and storage medium
CN103093124B (en) A kind of realization limits the method for use electronic equipment and a kind of electronic equipment
CN101681201B (en) Brain wave interface system, brain wave interface device, method and computer program
US9021395B2 (en) Display control device, integrated circuit, and display control method
EP3051463B1 (en) Image processing method and electronic device for supporting the same
CN109889901A (en) Control method for playing back, device, equipment and the storage medium of playback terminal
EP3588494B1 (en) Information processing device, information processing method, and program
US20130194177A1 (en) Presentation control device and presentation control method
CN105794191A (en) Recognition data transmission device
US11435824B2 (en) Prompt method and apparatus for eye-protection mode, electronic device and storage medium
CN108040291A (en) Display device and its standby controlling method and computer-readable recording medium
KR20140017735A (en) Wearable electronic device and method for controlling the same
CN104834896A (en) Method and terminal for information acquisition
CN110087131A (en) TV control method and main control terminal in television system
US10171949B2 (en) Electronic apparatus and operating method thereof
US10567642B2 (en) Managing camera usage with warnings and/or disablement
CN105577886A (en) Mobile terminal unlocking device and method
US11586282B2 (en) Method, device, and computer program product for monitoring user
CN106850774A (en) The environmental interaction system and method for virtual reality terminal
KR20150110053A (en) Method and apparatus for sharing information using wearable device
US12106161B2 (en) Augmented reality object interaction and notification
CN112995763B (en) Control method of intelligent monitoring system, 5G television, system and storage medium
CN104809370A (en) Device and method for determining validity of authentication information of head-wearing intelligent device
CN110598644B (en) Multimedia playing control method and device and electronic equipment
WO2024032574A1 (en) Image processing method and apparatus, and electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200416

Address after: Room 706, Room 1699, South Zuchong Road, Yushan Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant after: Kunshan Pinyuan Intellectual Property Operating Technology Co., Ltd.

Address before: 200233, Shanghai, Jinshan District Jinshan Industrial Zone, Ting Wei highway 65584, room 1309

Applicant before: SHANGHAI WIND TECHNOLOGIES Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123