CN106406878A - Image playing control method and terminal - Google Patents

Image playing control method and terminal Download PDF

Info

Publication number
CN106406878A
CN106406878A CN201610822387.8A CN201610822387A CN106406878A CN 106406878 A CN106406878 A CN 106406878A CN 201610822387 A CN201610822387 A CN 201610822387A CN 106406878 A CN106406878 A CN 106406878A
Authority
CN
China
Prior art keywords
lock screen
screen image
image
opens
terminal
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.)
Granted
Application number
CN201610822387.8A
Other languages
Chinese (zh)
Other versions
CN106406878B (en
Inventor
黄宏用
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610822387.8A priority Critical patent/CN106406878B/en
Publication of CN106406878A publication Critical patent/CN106406878A/en
Application granted granted Critical
Publication of CN106406878B publication Critical patent/CN106406878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention provides an image playing control method. The method comprises the following steps: when a terminal is in a lock-screen state, acquiring a user position; determining N lock-screen images which are correlated with the user position from an picture library of the terminal, wherein N is an integer being larger than 1; and playing the N lock-screen images according to a preset rule. The embodiment of the invention also provides a terminal. Through adoption of the image playing control method and the terminal, a manner of controlling playing of the lock-screen images can be provided for a user.

Description

A kind of image player control method and terminal
Technical field
The present invention relates to field of computer technology is and in particular to a kind of image player control method and terminal.
Background technology
The developing rapidly of popularization with terminal (as mobile phone, flat board etc.) and mobile Internet, terminal usage amount is increasingly Greatly.And screen locking function has become as one of standard application of intelligent mobile terminal, be intelligent mobile terminal present to user the One impression, therefore, belongs to the high application of user's usage frequency.But, screen locking mode of the prior art is only provided that Static function, for example conventional locking and unlocking function, for providing the safeguard protection of fault-operation protection and such as coded lock; The prompt facility of essential information, for pointing out user of incoming call information and short message;Conventional setting and the entrance of common function, use In user, the quick entrance that brightness, data service switch or some applications are such as taken pictures quickly is set.But, in prior art, lock The image player mode of screen magazine is more single, thus it is impossible to meet the individual demand of user.
Content of the invention
Embodiments provide a kind of image player control method and terminal, lock to providing the user a kind of broadcasting The mode of screen image.
Embodiment of the present invention first aspect provides a kind of image player control method, including:
Under terminal is in screen lock state, obtain customer location;
Determine that the N associating with described customer location in the image library of described terminal opens lock screen image, wherein, described N is big In 1 integer;
Play described N according to preset rules and open lock screen image.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Acquiring unit, under being in screen lock state in terminal, obtains customer location;
Determining unit, for determining that the N associating with described customer location in the image library of described terminal opens lock screen image, its In, described N is the integer more than 1;
Broadcast unit, opens lock screen image for playing described N according to preset rules.
The embodiment of the present invention third aspect provides a kind of terminal, including:
Processor and memorizer;Wherein, described processor is executed by calling code in described memorizer or instruction The some or all of step of the method described by first aspect.
Implement the embodiment of the present invention, have the advantages that:
By the embodiment of the present invention under terminal is in screen lock state, obtain customer location, determine in the image library of terminal The N associating with customer location opens lock screen image, and wherein, N is the integer more than 1, plays N according to preset rules and opens lock screen image. Thus, lock screen image to be played can be chosen from image library according to customer location, and it is to be played to play this according to preset rules Lock screen image, therefore, can provide the user a kind of control lock screen image play mode.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings Figure.
Fig. 1 is a kind of first embodiment schematic flow sheet of image player control method provided in an embodiment of the present invention;
Fig. 1 a is the display schematic diagram of locking screen interface provided in an embodiment of the present invention;
Fig. 2 is a kind of second embodiment schematic flow sheet of image player control method provided in an embodiment of the present invention;
Fig. 3 is a kind of 3rd embodiment schematic flow sheet of image player control method provided in an embodiment of the present invention;
Fig. 4 a is a kind of first embodiment structural representation of terminal provided in an embodiment of the present invention;
Fig. 4 b is the structural representation of the determining unit of terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 c is the structural representation of the broadcast unit of terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 d is the structural representation of the broadcast unit of terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 5 is a kind of second embodiment structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
Term " first " in description and claims of this specification and described accompanying drawing, " second ", " the 3rd " and " Four " it is etc. for distinguishing different objects, rather than be used for describing particular order.Additionally, term " comprising " and " having " and it Any deformation it is intended that cover non-exclusive comprising.For example contain the process of series of steps or unit, method, be System, product or equipment are not limited to step or the unit listed, but alternatively also include step or the list do not listed Unit, or alternatively also include for these processes, method, product or the intrinsic other steps of equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.It is identical that each position in the description shows that this phrase might not each mean Embodiment, be not and the independent of other embodiments mutual exclusion or alternative embodiment.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be combined with other embodiments.
Terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned end End.
Refer to Fig. 1, be that a kind of first embodiment flow process of image player control method provided in an embodiment of the present invention is shown It is intended to.Image player control method described in the present embodiment, comprises the following steps:
101st, under terminal is in screen lock state, obtain customer location.
Wherein, when terminal is waken up, this terminal can be under screen lock state, can obtain user position under this screen lock state Put.
Alternatively, customer location can be obtained by global positioning system (Global Positioning System, GPS), Or, customer location can be obtained by Wireless Fidelity (Wireless-Fidelity, Wi-Fi) location technology.
Alternatively, before step 101, can also comprise the steps of:
Judge whether this terminal has been coupled to focus, if it is not, then not executing subsequent step, if so, then execution step 101, in the case of being connected to focus, then Wi-Fi positioning can be carried out according to the position of this focus, thus, quick obtaining is current Position.
102nd, determine that the N associating with described customer location in the image library of described terminal opens lock screen image, wherein, described N It is the integer more than 1.
Wherein, can be stored with terminal image library, comprises great amount of images, each image all can be used as screen locking figure in image library Picture.Image in image library can be downloaded from from server, or, the image being shot by photographic head.Certainly, the figure of shooting As portability position mark and shooting time, wherein, position mark is used for recording the position of this image taking, and shooting time is note Record shoots the time of this image.The image portability shooting time that server is downloaded, it is, of course, also possible to carry download time.As It is assumed that customer location is Paris, FRA Eiffel Tower shown in Fig. 1 a, that can obtain and this user position in the image library of terminal Put the lock screen image of association, for example, the image of the ferrum Fei Er steel tower shown in Fig. 1 a.Above-mentioned N is the integer more than 1, as N tool Body is how much to be randomly assigned (for example, the several value of user setup, the execution embodiment of the present invention every time by user setup or system When, choose one from this several value).
Alternatively, the N associating with described customer location in the image library of the described terminal of above-mentioned determination opens lock screen image, bag Include:
21), determine in the image library of described terminal with the distance between described customer location less than predetermined threshold value position Target lock screen image collection corresponding to labelling;
22), the described N of selection is concentrated to open lock screen image in described target lock screen image.
Alternatively, the distance between the position mark of each image and customer location in image library can be calculated, with certain image A It is illustrated, the position mark of image A and customer location are marked on map, then, calculate straight line between the two Distance.By this way it may be determined that the distance between the position mark of each image and customer location in image library.Above-mentioned default Threshold value voluntarily can be arranged by user, or, system default.There may be position mark and the user of multiple lock screen image in image library The distance between position is less than predetermined threshold value, can constitute mesh by the corresponding lock screen image of position mark that these are less than predetermined threshold value Mark lock screen image collection.And concentrate selection N to open lock screen image from this target lock screen image.
Alternatively, selection N can be concentrated to open lock screen image from target lock screen image at random, it can be target that this N opens lock screen image Any N that lock screen image is concentrated opens.
It is alternatively possible to first sequentially concentrate selection N to open lock screen image from target lock screen image according to after shooting time, when So, the image shooting recently for a user, more has hunting for novelty property.It is of course also possible to according to shooting time sequencing Selection N is concentrated to open lock screen image from target lock screen image.
Alternatively, the N associating with described customer location in the image library of the described terminal of above-mentioned determination opens lock screen image, bag Include:
Determine that nearest with described customer location N in the image library of described terminal opens lock screen image.Specifically, figure can be obtained As the position mark of each lock screen image in storehouse, then, calculate the distance between each position labelling and this customer location, choose The shortest N number of position mark of distance, chooses the corresponding lock screen image of this N number of position mark.
Alternatively, above-mentioned described target lock screen image concentrate choose described N open lock screen image, can comprise the steps of:
221), each lock screen image that described target lock screen image is concentrated carries out image quality evaluation, obtains multiple figures As quality evaluation value;
222), choose described N according to the high preferential selection principle of described image quality evaluation value and open lock screen image.
Alternatively, in step 221 can using at least one image quality evaluation index target lock screen image is concentrated every One lock screen image carries out image quality evaluation, obtains multiple images quality evaluation value, and wherein, image quality evaluation index may include But it is not limited only to:Average gray, mean square deviation, entropy, edge conservation degree, signal to noise ratio etc..
It should be noted that during due to evaluating to picture quality using single evaluation index, there is certain limitation Property, therefore, using multiple images quality evaluation index, picture quality can be evaluated, certainly, picture quality is evaluated When, not image quality evaluation index is The more the better, because image quality evaluation index is more, the meter of image quality assessment process Calculate complexity higher, also may not be certain image quality evaluation effect better, therefore, in the situation higher to image quality evaluation requirement Under, using 2~10 image quality evaluation indexs, picture quality can be evaluated.Specifically, choose image quality evaluation to refer to Target number and which index, according to depending on implementing situation.Certainly, also must choose picture quality in conjunction with specifically scene to comment Valency index, carries out carrying out the image quality index of image quality evaluation selection under image quality evaluation and bright ring border under dark situation Can be different.
Alternatively, in the case of not high to image quality evaluation required precision, each lock that target lock screen image is concentrated The all available image quality evaluation index of screen image is evaluated, and for example, carries out image quality evaluation with entropy to lock screen image It is believed that entropy is bigger, then explanation picture quality is better for value, on the contrary, entropy is less, then explanation picture quality is poorer.
Alternatively, in the case of higher to image quality evaluation required precision, each lock that target lock screen image is concentrated Screen image can also be evaluated using multiple images quality evaluation index, in multiple images image quality evaluation index to a certain When lock screen image carries out image quality evaluation, each image quality evaluation index in the plurality of image quality evaluation index can be set Weight, can get multiple images quality evaluation value, be can get according to the plurality of image quality evaluation values and its corresponding weight Final image quality evaluation values, for example, three image quality evaluation indexs are respectively:A index, B index and C index, the power of A It is a1, the weight of B is a2, and the weight of C is a3, and when carrying out image quality evaluation using A, B and C to a certain image, A is corresponding again Image quality evaluation values are b1, and the corresponding image quality evaluation values of B are b2, and the corresponding image quality evaluation values of C are b3, then, Last image quality evaluation values=a1b1+a2b2+a3b3.Under normal circumstances, image quality evaluation values are bigger, and explanatory diagram is as matter Amount is better.
Still optionally further, if not existing in the image library of terminal with the distance between customer location less than predetermined threshold value During position mark, then can directly choose the N nearest with customer location from the image library of terminal and open lock screen image.
103rd, play described N according to preset rules and open lock screen image.
Alternatively, the memory size of each lock screen image can be different, can be according to internal memory this N of descending played in order Open lock screen image, it is of course also possible to open lock screen image according to internal memory this N of ascending played in order.
Alternatively, preset rules can have multiple, for example, preset rules comprise first rule, Second Rule, three sigma rule, And, use the first rule in first time period, second time period uses Second Rule, and the 3rd time period used three sigma rule, Wherein, first time period, second time period and there is not common factor between the 3rd time period, then, can first time period according to First rule is play N and is opened lock screen image, can play N in second time period according to Second Rule and open lock screen image, can be when the 3rd Between section according to three sigma rule play N open lock screen image.
For example, when user is somewhere, this position can be obtained, and can obtain from image library in the bat of this position The image taken the photograph, and show, in locking screen interface, the image that this position shot.Before user so, can be allowed to be easier to associate Good times, lifts Consumer's Experience.
As can be seen that by the embodiment of the present invention under terminal is in screen lock state, obtaining customer location, determining terminal The N associating with customer location in image library opens lock screen image, and wherein, N is the integer more than 1, plays N according to preset rules and opens lock Screen image.Thus, lock screen image to be played can be chosen from image library according to customer location, and should according to preset rules broadcasting Lock screen image to be played, therefore, can provide the user a kind of mode controlling lock screen image to play.
Consistent with the abovely, refer to Fig. 2, be the second of a kind of image player control method provided in an embodiment of the present invention Embodiment schematic flow sheet.Image player control method described in the present embodiment, comprises the following steps:
201st, under terminal is in screen lock state, obtain customer location.
202nd, determine that the N associating with described customer location in the image library of described terminal opens lock screen image, wherein, described N It is the integer more than 1.
203rd, obtain the shooting time that described N opens each lock screen image in lock screen image.
Wherein, during lock screen image shooting, the shooting time of this lock screen image recordable, therefore, can obtain State the shooting time that N opens lock screen image.
204th, obtain current time.
Wherein, current time can directly the timing routine of its own obtains it is also possible to current by Network Capture by terminal Time.
205th, determine that described N opens the difference in lock screen image between the shooting time of each lock screen image and described current time Absolute value, obtain described N number of absolute value.
206th, determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value.
207th, described N is play according to the broadcasting priority that described N opens lock screen image and open lock screen image.
Alternatively it may be determined that N open in lock screen image between the shooting time of each lock screen image with described current time Absolute value, absolute value is less, then explanation and current time are closer to then can determining broadcasting of each lock screen image according to this absolute value Put priority, you can play priority according to the ascending order setting of absolute value, absolute value is less, plays priority and gets over High.Then, play this N according to broadcasting priority and open lock screen image.
As can be seen that by the embodiment of the present invention under terminal is in screen lock state, obtaining customer location, determining terminal The N associating with customer location in image library opens lock screen image, and wherein, described N is the integer more than 1, plays N according to preset rules Open lock screen image.Thus, lock screen image to be played can be chosen from image library according to customer location, and according to lock screen image Degree of closeness between shooting time and described current time goes to determine the broadcasting priority of each lock screen image, and is broadcast according to this Put priority and play this N and open lock screen image, therefore, a kind of mode playing lock screen image can be provided the user.It is of course also possible to In the case that user does not open a terminal, can heartily appreciate the image oneself shooting or downloading, improve Consumer's Experience.
Consistent with the abovely, refer to Fig. 3, be the 3rd of a kind of image player control method provided in an embodiment of the present invention the Embodiment schematic flow sheet.Image player control method described in the present embodiment, comprises the following steps:
301st, under terminal is in screen lock state, obtain customer location.
302nd, determine that the N associating with described customer location in the image library of described terminal opens lock screen image, wherein, described N It is the integer more than 1.
303rd, determine that described N opens the mean flow rate of each lock screen image in lock screen image, obtain described N number of mean flow rate Value.
Alternatively, open for lock screen image for N, the mean flow rate of each image may be different, therefore, can be to arbitrary The pixel value of all pixels point of lock screen image is averaged, and using this average as the average brightness value of this lock screen image, leads to Cross which, can get the average brightness value of each lock screen image in N number of lock screen image.
304th, obtain current environment brightness value.
Alternatively, terminal may be configured with ambient light sensor, thus, can be utilized this ambient light sensor to obtain current environment Brightness value.
Alternatively, terminal can be utilized the photographic head of this terminal to be shot, and obtains preview image, obtains this preview image The pixel value of each pixel, averages according to the pixel value of each pixel, using this average as current environment brightness value.
305th, determine the difference between each average brightness value and described current environment brightness value in described N number of average brightness value Absolute value, obtain described N number of absolute value.
Alternatively, the difference between each average brightness value and ambient brightness value can be calculated respectively, then this difference is taken Absolute value, the absolute value being calculated by a certain average brightness value is less it is believed that this average brightness value is closer to ambient brightness value, I.e. the corresponding lock screen image of this average brightness value is got over current environment and is arranged in pairs or groups.
306th, determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value.
Alternatively, can determine that this N opens the broadcasting priority of lock screen image according to the ascending order of N number of absolute value, when So, absolute value is less, and the broadcasting priority of its corresponding lock screen image is higher, and absolute value is bigger, its corresponding lock screen image Play priority lower.Wherein, the broadcasting priority of a certain lock screen image is higher, then more preferentially play this lock screen image.
307th, described N is play according to the broadcasting priority that described N opens lock screen image and open lock screen image.
Alternatively, the broadcasting priority of lock screen image this N of played in order from high to low can be opened according to N and open lock screen image.
Alternatively, terminal can also change the broadcasting priority of arbitrary lock screen image, after modification, after modification Broadcasting priority is play this N and is opened lock screen image.
As can be seen that by the embodiment of the present invention under terminal is in screen lock state, obtaining customer location, determining terminal The N associating with customer location in image library opens lock screen image, and wherein, described N is the integer more than 1, determines that N opens in lock screen image The mean flow rate of each lock screen image, obtains N number of average brightness value, obtains current environment brightness value, determines N number of average brightness value In difference between each average brightness value and ambient brightness value absolute value, obtain N number of absolute value, N determined according to N number of absolute value Open the broadcasting priority of lock screen image, N is play according to the broadcasting priority that N opens lock screen image and opens lock screen image.Thus, can basis Customer location chooses lock screen image to be played from image library, and is each lock according to the average brightness value of each lock screen image Priority is play in screen image setting, and opens lock screen image according to this broadcasting priority broadcasting N, therefore, can provide the user one kind Play the mode of lock screen image, which is more close to environment, improves Consumer's Experience personalizedly.
Consistent with the above, below for implementing the device of above-mentioned image player control method, specific as follows:
Refer to Fig. 4 a, be a kind of first embodiment structural representation of terminal provided in an embodiment of the present invention.This enforcement Terminal described in example, including:Acquiring unit 401, determining unit 402 and broadcast unit 403, specific as follows:
Acquiring unit 401, under being in screen lock state in terminal, obtains customer location;
Determining unit 402, for determining that the N associating with described customer location in the image library of described terminal opens screen locking figure Picture, wherein, described N is the integer more than 1;
Broadcast unit 403, opens lock screen image for playing described N according to preset rules.
Alternatively, described image storehouse comprises multiple lock screen image, and each lock screen image carries position mark;As Fig. 4 b, scheme The determining unit 402 of the terminal described by 4a may include:First determining module 4021 and the first selection module 4022, specifically such as Under:
First determining module 4021 is little with the distance between described customer location in the image library of described terminal for determining Target lock screen image collection corresponding in the position mark of predetermined threshold value;
First selection module 4022, for concentrating the described N of selection to open lock screen image in described target lock screen image.
Alternatively, the first selection module 4022 described by Fig. 4 b may include:Evaluation module (in figure does not mark) and second Choose module (in figure does not mark), specific as follows:
Evaluation module, each lock screen image for concentrating to described target lock screen image carries out image quality evaluation, obtains To multiple images quality evaluation value;
Second selection module, opens screen locking for choosing described N according to the high preferential selection principle of described image quality evaluation value Image.
Alternatively, as Fig. 4 c, the broadcast unit 403 of the terminal described by Fig. 4 a may include:First acquisition module 4031, Two determining modules 4032 and the first playing module 4033, specific as follows:
First acquisition module 4031, opens the shooting time of each lock screen image in lock screen image for obtaining described N;
Described first acquisition module 4031, is additionally operable to:
Obtain current time;
Second determining module 4032, for determining that described N opens the shooting time of each lock screen image and institute in lock screen image State the absolute value of the difference between current time, obtain described N number of absolute value;
Described second determining module 4032, is additionally operable to:
Determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value
First playing module 4033, the broadcasting priority for opening lock screen image according to described N is play described N and is opened screen locking figure Picture.
Alternatively, as Fig. 4 d, the broadcast unit 403 of the terminal described by Fig. 4 a may include:3rd determining module 4034, Two acquisition modules 4035 and the second playing module 4036, specific as follows:
3rd determining module 4034, for determining that described N opens the mean flow rate of each lock screen image in lock screen image, obtains Described N number of average brightness value;
Second acquisition module 4035, for obtaining current environment brightness value;
Described second determining module 4034, is additionally operable to:
Determine the exhausted of the difference between each average brightness value and described current environment brightness value in described N number of average brightness value To value, obtain described N number of absolute value;Determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value;
Second playing module 4036, the broadcasting priority for opening lock screen image according to described N is play described N and is opened screen locking figure Picture.
As can be seen that by the terminal described by the embodiment of the present invention, user can be obtained under terminal is in screen lock state Position, determines that the N associating with customer location in the image library of terminal opens lock screen image, and wherein, described N is the integer more than 1, presses Play N according to preset rules and open lock screen image.Thus, lock screen image to be played can be chosen from image library according to customer location, And play this lock screen image to be played according to preset rules, therefore, can provide the user what a kind of control lock screen image was play Mode.
Refer to Fig. 5, be a kind of second embodiment structural representation of terminal provided in an embodiment of the present invention.The present embodiment Described in terminal, including:At least one input equipment 1000;At least one outut device 2000;At least one processor 3000, such as CPU;With memorizer 4000, above-mentioned input equipment 1000, outut device 2000, processor 3000 and memorizer 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
Above-mentioned outut device 2000 concretely display screen.
Above-mentioned memorizer 4000 can be high-speed RAM memorizer, alternatively nonvolatile storage (non-volatile Memory), such as disk memory.Above-mentioned memorizer 4000 is used for storing batch processing code, above-mentioned input equipment 1000, defeated Go out equipment 2000 and processor 3000 is used for calling the program code of storage in memorizer 4000, execution is following to be operated:
Above-mentioned processor 3000, is used for:
Under terminal is in screen lock state, obtain customer location;
Determine that the N associating with described customer location in the image library of described terminal opens lock screen image, wherein, described N is big In 1 integer;
Play described N according to preset rules and open lock screen image.
Alternatively, described image storehouse comprises multiple lock screen image, and each lock screen image carries position mark;Above-mentioned processor The N associating with described customer location in the image library of the 3000 described terminals of determination opens lock screen image, including:
Determine in the image library of described terminal with the distance between described customer location less than predetermined threshold value position mark Corresponding target lock screen image collection;
The described N of selection is concentrated to open lock screen image in described target lock screen image.
Alternatively, above-mentioned processor 3000 concentrates the described N of selection to open lock screen image in described target lock screen image, including:
Each lock screen image that described target lock screen image is concentrated carries out image quality evaluation, obtains multiple images quality Evaluation of estimate;
Choose described N according to the high preferential selection principle of described image quality evaluation value and open lock screen image.
Alternatively, above-mentioned processor 3000 opens lock screen image according to the preset rules described N of broadcasting, including:
Determine that described N opens the mean flow rate of each lock screen image in lock screen image, obtain described N number of average brightness value;
Obtain current environment brightness value;
Determine the exhausted of the difference between each average brightness value and described current environment brightness value in described N number of average brightness value To value, obtain described N number of absolute value;
Determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value;
Described N is play according to the broadcasting priority that described N opens lock screen image and opens lock screen image.
Alternatively, above-mentioned processor 3000 opens lock screen image according to the preset rules described N of broadcasting, including:
Determine that described N opens the mean flow rate of each lock screen image in lock screen image, obtain described N number of average brightness value;
Obtain current environment brightness value;
Determine the exhausted of the difference between each average brightness value and described current environment brightness value in described N number of average brightness value To value, obtain described N number of absolute value;
Determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value;
Described N is play according to the broadcasting priority that described N opens lock screen image and opens lock screen image.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can be stored with journey Sequence, includes the part or all of of any image player control method described in said method embodiment during this program performing Step.
Although here combines each embodiment, and invention has been described, however, implementing the present invention for required protection During, those skilled in the art are by checking described accompanying drawing, disclosure and appended claims it will be appreciated that and real Other changes of existing described open embodiment.In the claims, " include " (comprising) one word and be not excluded for other compositions Part or step, "a" or "an" is not excluded for multiple situations.Single processor or other units can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged Applying to combine produces good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey Sequence product.Therefore, the present invention using complete hardware embodiment, complete software embodiment or can combine software and hardware aspect The form of embodiment.And, the present invention can be using in one or more calculating wherein including computer usable program code The upper computer program implemented of machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, provides or as hardware one together with other hardware Part, it would however also be possible to employ other distribution forms, such as by the wired or wireless telecommunication system of Internet or other.
The present invention be with reference to the embodiment of the present invention the flow chart of method, device (equipment) and computer program with/ Or block diagram is describing.It should be understood that can by each flow process in computer program instructions flowchart and/or block diagram and/ Or the combination of the flow process in square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided To general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device processor to produce one Individual machine is so that produced for realizing by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting On calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer or On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one The step of the function of specifying in individual square frame or multiple square frame.
Although in conjunction with specific features and embodiment invention has been described it is clear that, without departing from this In the case of bright spirit and scope, it can be carried out with various modifications and combine.Correspondingly, the specification and drawings are only institute The exemplary illustration of the present invention that attached claim is defined, and be considered as covering arbitrarily repairing in the scope of the invention with all Change, change, combining or equivalent.Obviously, those skilled in the art the present invention can be carried out various change and modification and not Depart from the spirit and scope of the present invention.So, if the present invention these modification and modification belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to comprise these changes and modification.

Claims (11)

1. a kind of image player control method is it is characterised in that include:
Under terminal is in screen lock state, obtain customer location;
Determine that the N associating with described customer location in the image library of described terminal opens lock screen image, wherein, described N is more than 1 Integer;
Play described N according to preset rules and open lock screen image.
2. method according to claim 1 is it is characterised in that described image storehouse comprises multiple lock screen image, each screen locking Image carries position mark;
The N associating with described customer location in the image library of the described terminal of described determination opens lock screen image, including:
It is right less than the position mark institute of predetermined threshold value with the distance between described customer location in the image library of described terminal to determine The target lock screen image collection answered;
The described N of selection is concentrated to open lock screen image in described target lock screen image.
3. method according to claim 2 is it is characterised in that described concentration in described target lock screen image chooses described N Open lock screen image, including:
Each lock screen image that described target lock screen image is concentrated carries out image quality evaluation, obtains multiple images quality evaluation Value;
Choose described N according to the high preferential selection principle of described image quality evaluation value and open lock screen image.
4. the method according to any one of claims 1 to 3 is it is characterised in that described open according to the preset rules described N of broadcasting Lock screen image, including:
Obtain the shooting time that described N opens each lock screen image in lock screen image;
Obtain current time;
Determine that described N opens the absolute of the difference in lock screen image between the shooting time of each lock screen image and described current time Value, obtains described N number of absolute value;
Determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value;
Described N is play according to the broadcasting priority that described N opens lock screen image and opens lock screen image.
5. the method according to any one of claims 1 to 3 is it is characterised in that described open according to the preset rules described N of broadcasting Lock screen image, including:
Determine that described N opens the mean flow rate of each lock screen image in lock screen image, obtain described N number of average brightness value;
Obtain current environment brightness value;
Determine the absolute of the difference between each average brightness value and described current environment brightness value in described N number of average brightness value Value, obtains described N number of absolute value;
Determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value;
Described N is play according to the broadcasting priority that described N opens lock screen image and opens lock screen image.
6. a kind of terminal is it is characterised in that include:
Acquiring unit, under being in screen lock state in terminal, obtains customer location;
Determining unit, for determining that the N associating with described customer location in the image library of described terminal opens lock screen image, wherein, Described N is the integer more than 1;
Broadcast unit, opens lock screen image for playing described N according to preset rules.
7. terminal according to claim 6 is it is characterised in that described image storehouse comprises multiple lock screen image, each screen locking Image carries position mark;
Described determining unit includes:
First determining module, for determining in the image library of described terminal with the distance between described customer location less than default threshold The target lock screen image collection corresponding to position mark of value;
First selection module, for concentrating the described N of selection to open lock screen image in described target lock screen image.
8. terminal according to claim 7 is it is characterised in that described first selection module includes:
Evaluation module, each lock screen image for concentrating to described target lock screen image carries out image quality evaluation, obtains many Individual image quality evaluation values;
Second selection module, opens lock screen image for choosing described N according to the high preferential selection principle of described image quality evaluation value.
9. the terminal according to any one of claim 6 to 8 is it is characterised in that described broadcast unit includes:
First acquisition module, opens the shooting time of each lock screen image in lock screen image for obtaining described N;
Described first acquisition module, is additionally operable to:
Obtain current time;
Second determining module, for determine described N open in lock screen image the shooting time of each lock screen image with described current when Between between difference absolute value, obtain described N number of absolute value;
Described second determining module, is additionally operable to:
Determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value
First playing module, the broadcasting priority for opening lock screen image according to described N is play described N and is opened lock screen image.
10. the terminal according to any one of claim 6 to 8 is it is characterised in that described broadcast unit includes:
3rd determining module, for determining that described N opens the mean flow rate of each lock screen image in lock screen image, obtains described N number of Average brightness value;
Second acquisition module, for obtaining current environment brightness value;
Described second determining module, is additionally operable to:
Determine the absolute of the difference between each average brightness value and described current environment brightness value in described N number of average brightness value Value, obtains described N number of absolute value;Determine that described N opens the broadcasting priority of lock screen image according to described N number of absolute value;
Second playing module, the broadcasting priority for opening lock screen image according to described N is play described N and is opened lock screen image.
A kind of 11. terminals are it is characterised in that include:
Processor and memorizer;Wherein, described processor is executed as power by calling code in described memorizer or instruction Profit requires the method described in 1 to 5 any one.
CN201610822387.8A 2016-09-13 2016-09-13 A kind of image control method for playing back and terminal Active CN106406878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610822387.8A CN106406878B (en) 2016-09-13 2016-09-13 A kind of image control method for playing back and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610822387.8A CN106406878B (en) 2016-09-13 2016-09-13 A kind of image control method for playing back and terminal

Publications (2)

Publication Number Publication Date
CN106406878A true CN106406878A (en) 2017-02-15
CN106406878B CN106406878B (en) 2019-04-26

Family

ID=58000188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610822387.8A Active CN106406878B (en) 2016-09-13 2016-09-13 A kind of image control method for playing back and terminal

Country Status (1)

Country Link
CN (1) CN106406878B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022078461A1 (en) * 2020-10-14 2022-04-21 深圳市万普拉斯科技有限公司 Image display method and apparatus, computer device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799363A (en) * 2012-06-21 2012-11-28 北京小米科技有限责任公司 Method for implementing picture screen locking and mobile terminal
CN104216672A (en) * 2014-08-20 2014-12-17 小米科技有限责任公司 Display control method and display control device
CN104375742A (en) * 2013-08-16 2015-02-25 觅豆(香港)股份有限公司 Portable electronic device capable of displaying dynamic information when activated, system and method
CN105138700A (en) * 2015-09-28 2015-12-09 北京橙鑫数据科技有限公司 Background picture display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799363A (en) * 2012-06-21 2012-11-28 北京小米科技有限责任公司 Method for implementing picture screen locking and mobile terminal
CN104375742A (en) * 2013-08-16 2015-02-25 觅豆(香港)股份有限公司 Portable electronic device capable of displaying dynamic information when activated, system and method
CN104216672A (en) * 2014-08-20 2014-12-17 小米科技有限责任公司 Display control method and display control device
CN105138700A (en) * 2015-09-28 2015-12-09 北京橙鑫数据科技有限公司 Background picture display method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022078461A1 (en) * 2020-10-14 2022-04-21 深圳市万普拉斯科技有限公司 Image display method and apparatus, computer device and storage medium

Also Published As

Publication number Publication date
CN106406878B (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN104539838A (en) Method and device for rapidly opening mobile phone camera for performing video recording
CN106060417A (en) Flashlight control method and terminal
CN109740415A (en) Vehicle attribute recognition methods and Related product
CN110619314A (en) Safety helmet detection method and device and electronic equipment
KR20210042952A (en) Image processing method and device, electronic device and storage medium
CN108961183B (en) Image processing method, terminal device and computer-readable storage medium
CN105227855B (en) A kind of image processing method and terminal
CN110245645B (en) Face living body identification method, device, equipment and storage medium
CN109101931A (en) A kind of scene recognition method, scene Recognition device and terminal device
CN109146498A (en) Face method of payment and relevant apparatus
CN106406880A (en) Advertisement information pushing method and terminal
US10216381B2 (en) Image capture
CN106331460A (en) Image processing method and device, and terminal
CN107016004A (en) Image processing method and device
CN108683845A (en) Image processing method, device, storage medium and mobile terminal
US8866921B2 (en) Devices and methods involving enhanced resolution image capture
CN113888500A (en) Dazzling degree detection method, device, equipment and medium based on face image
CN106406878A (en) Image playing control method and terminal
WO2024002092A1 (en) Method and apparatus for pushing video, and storage medium
CN106535102A (en) Mobile terminal positioning method and mobile terminal
CN105893578A (en) Method and device for selecting photos
CN106406879A (en) Image playing control method and terminal
CN113989387A (en) Camera shooting parameter adjusting method and device and electronic equipment
CN106101539A (en) A kind of self-shooting bar angle regulation method and self-shooting bar
CN114125226A (en) Image shooting method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant