CN107993259A - A kind of alarm clock method for closing, device and mobile terminal - Google Patents

A kind of alarm clock method for closing, device and mobile terminal Download PDF

Info

Publication number
CN107993259A
CN107993259A CN201711206519.5A CN201711206519A CN107993259A CN 107993259 A CN107993259 A CN 107993259A CN 201711206519 A CN201711206519 A CN 201711206519A CN 107993259 A CN107993259 A CN 107993259A
Authority
CN
China
Prior art keywords
image coding
matched
coding
image
alarm clock
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
CN201711206519.5A
Other languages
Chinese (zh)
Inventor
魏红生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711206519.5A priority Critical patent/CN107993259A/en
Publication of CN107993259A publication Critical patent/CN107993259A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/38Registration of image sequences
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • 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/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Electric Clocks (AREA)

Abstract

The present invention provides a kind of alarm clock method for closing, device and mobile terminal, and this method includes:If the alarm clock triggering clock alarming of the mobile terminal, obtains image coding to be matched;The image coding to be matched is matched with the target image coding being stored in the mobile terminal;Judge the image to be matched coding and target image coding whether successful match;If successful match, the alarm clock is closed.The embodiment of the present invention can be encoded by gathering image to be matched, and image to be matched coding is matched with target image coding, and successful match, just closes alarm clock.Aforesaid way is compared closes alarm clock by touch key-press or sliding type, reduces the possibility that alarm clock is closed by mistake, and then be effectively accomplished the purpose for waking up user.

Description

A kind of alarm clock method for closing, device and mobile terminal
Technical field
The present invention relates to field of communication technology, more particularly to a kind of alarm clock method for closing, device and mobile terminal.
Background technology
With developing rapidly for mobile terminal, mobile terminal has become essential a kind of instrument in people's life, And the various aspects for user's life are brought great convenience.The function of mobile terminal is also more and more diversified, such as:It is existing Mobile terminal on be generally provided with alarm clock function.But after the quarter-bell on present mobile terminal has been rung, it is general logical The mode for crossing touch key-press or slip button closes alarm clock.But the mode of above-mentioned closing alarm clock is easy to by false triggering, from And cause alarm clock to be closed by mistake, and then cause the effect for not up to waking up user.
The content of the invention
The embodiment of the present invention provides a kind of alarm clock method for closing, device and mobile terminal, to solve mobile terminal by touching The mode for touching button or slip closes alarm clock, but the mode of above-mentioned closing alarm clock is easy to by false triggering, so as to cause alarm clock The problem of being closed by mistake, and then causing not up to wake up the effect of user.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of alarm clock method for closing, including:
If the alarm clock triggering clock alarming of the mobile terminal, obtains image coding to be matched;
The image coding to be matched is matched with the target image coding being stored in the mobile terminal;
Judge the image to be matched coding and target image coding whether successful match;
If successful match, the alarm clock is closed.
In a first aspect, an embodiment of the present invention provides a kind of alarm clock method for closing, including:
If the alarm clock triggering clock alarming of the mobile terminal, obtains image coding to be matched;
The image coding to be matched is matched with the target image coding being stored in the mobile terminal;
Judge the image to be matched coding and target image coding whether successful match;
If successful match, the alarm clock is closed.
Second aspect, the embodiment of the present invention also provides a kind of alarm clock shutoff device, applied to mobile terminal, including:
Acquisition module, if the alarm clock for the mobile terminal triggers clock alarming, obtains image coding to be matched;
Matching module, for the image coding to be matched to be encoded with the target image being stored in the mobile terminal Matched;
First judgment module, for judging whether the image coding to be matched matches into target image coding Work(;
Closedown module, if for successful match, closes the alarm clock.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:Memory, processor and it is stored in institute The computer program that can be run on memory and on the processor is stated, the processor performs real during the computer program Step in existing above-mentioned alarm clock method for closing.
In embodiments of the present invention, a kind of alarm clock method for closing, comprises the following steps:If the alarm clock triggering of mobile terminal is noisy Bell is reminded, and obtains the image to be matched coding of camera collection;Image to be matched is encoded with storing mesh in the terminal Logo image coding is matched;Judge image to be matched coding and target image coding whether successful match;If successful match, Close alarm clock.In above-mentioned steps, encoded by gathering image to be matched, and image to be matched coding is encoded with target image Matched, successful match, just close alarm clock.Aforesaid way is compared closes alarm clock, drop by touch key-press or sliding type The possibility that low alarm clock is closed by mistake, and then effectively achieveed the purpose that to wake up user.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart of alarm clock method for closing provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another alarm clock method for closing provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of alarm clock shutoff device provided in an embodiment of the present invention;
Fig. 4 is the structure chart of another alarm clock shutoff device provided in an embodiment of the present invention;
Fig. 5 is the structure chart of another alarm clock shutoff device provided in an embodiment of the present invention;
Fig. 6 is the structure chart of the first judgment module in another alarm clock shutoff device provided in an embodiment of the present invention;
Fig. 7 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of alarm clock method for closing provided in an embodiment of the present invention, as shown in Figure 1, bag Include following steps:
If the alarm clock triggering clock alarming of step 101, the mobile terminal, obtains image coding to be matched.
Wherein, the mode of clock alarming, can be in a manner of jingle bell or vibrate in the way of, it is, of course, also possible to It is the mode of jingle bell and vibration.It should be noted that the concrete mode of clock alarming does not limit herein.
Wherein, image coding to be matched can pre-save on mobile terminals, such as:It can be stored in mobile whole In the files such as the local photograph album or local file at end.Certainly, image coding to be matched can also be direct by camera Collect.
Wherein, image to be matched coding can be one kind in the images such as bar code, Quick Response Code or three-dimension code coding or Person is several.Such as:Image coding to be matched can be a single bar code, a single Quick Response Code or single one A three-dimension code etc., certainly, image coding to be matched can also be a bar code and the combination of a Quick Response Code or one Combination of a bar code and a three-dimension code etc., specific situation do not limit herein.
Step 102, the target image that the image to be matched is encoded and is stored in the mobile terminal are encoded and carried out Matching.
Wherein, target image coding can also be the images such as bar code, Quick Response Code or three-dimension code coding in one kind or Person is several.The particular content that target image encodes can be just set at the beginning of the use of mobile terminal, can also equally used During, according to the demand of user, replace the particular content that target image encodes.Certainly, setting what target image encoded At the same time it can also set some conventional parameters of alarm clock, such as:Carry out the specific time of clock alarming, and clock alarming Duration etc..
Step 103, judge the image to be matched coding and target image coding whether successful match.
, wherein it is desired to image to be matched coding is matched with the content of target image coding, if image to be matched is compiled The content of code and target image coding can successful match, then judge image to be matched coding and target image codes match into Work(.
If step 104, successful match, close the alarm clock.
Wherein, when successful match, alarm clock is just closed.If it fails to match, the clock alarming of alarm clock may proceed to continue.
Wherein, above-mentioned mobile terminal can be mobile phone, it is tablet computer (Tablet Personal Computer), on knee Computer (Laptop Computer), personal digital assistant (Personal Digital Assistant, abbreviation PDA), in movement Net device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
In the embodiment of the present invention, a kind of alarm clock method for closing, comprises the following steps:If the alarm clock triggering quarter-bell of mobile terminal Remind, obtain the image to be matched coding of camera collection;Image to be matched is encoded with storing target in the terminal Image coding is matched;Judge image to be matched coding and target image coding whether successful match;If successful match, is closed Close alarm clock.In above-mentioned steps, encoded by gathering image to be matched, and by image to be matched coding and target image encode into Row matching, successful match, just closes alarm clock.Aforesaid way is compared closes alarm clock by touch key-press or sliding type, reduces The possibility that alarm clock is closed by mistake, and then it has been effectively accomplished the purpose for waking up user.
Referring to Fig. 2, Fig. 2 is a kind of flow chart of alarm clock method for closing provided in an embodiment of the present invention.The present embodiment with it is upper The main distinction of a embodiment is image coding to be matched after failing with target image codes match, it is necessary to judge matched Whether number is more than preset value;When matched number is less than or equal to preset value, it is necessary to which returning to execution obtains image to be matched The step of coding.As shown in Fig. 2, comprise the following steps:
Step 201, judge whether the alarm clock of the mobile terminal triggers clock alarming, if so, step 202 is then performed, if It is no, then return and perform step 201;
Wherein, the mode of clock alarming, can be in a manner of jingle bell or vibrate in the way of, it is, of course, also possible to It is the mode of jingle bell and vibration.It should be noted that the concrete mode of clock alarming does not limit herein.
Step 202, obtain image coding to be matched.
Wherein, image coding to be matched can pre-save on mobile terminals, such as:It can be stored in mobile whole In the files such as the local photograph album or local file at end.Certainly, image coding to be matched can also be direct by camera Collect.
Wherein, image coding to be matched can include one kind in the images such as bar code, Quick Response Code or three-dimension code coding It is or several.Such as:Image coding to be matched can be a single bar code, a single Quick Response Code or single One three-dimension code etc., certainly, image coding to be matched can also be the combination of a bar code and a Quick Response Code or Combination of one bar code and a three-dimension code etc., specific situation does not limit herein.
Step 203, the target image that the image to be matched is encoded and is stored in the mobile terminal are encoded and carried out Matching.
Wherein, optionally, the target image coding includes at least one first image coding.First image coding can be with One kind in being encoded including images such as bar code, Quick Response Code or three-dimension codes.Can just it be set at the beginning of the use of mobile terminal The particular content of first image coding, and then the particular content for setting target image to encode.Equally can also be in the process used In, according to the demand of user, the particular content of the first image coding is replaced, and then replace the particular content of target image coding. Certainly, while setting target image to encode, some conventional parameters of alarm clock can also be set, such as:Carry out clock alarming The specific time, and duration of clock alarming etc..
In embodiment of the present invention, encoded when target image coding includes at least one first image, can to close The mode of alarm clock is safer.
Step 204, judge the image to be matched coding and target image coding whether successful match, if so, then Perform step 205;If it is not, then perform step 206.
, wherein it is desired to image to be matched coding is matched with the content of target image coding, if image to be matched is compiled The content of code and target image coding can successful match, then judge image to be matched coding and target image codes match into Work(.
Step 205, close the alarm clock.
Wherein, alarm clock is closed, refers to jingle bell or vibration being turned off.If it fails to match, the clock alarming meeting of alarm clock Continue for.
In embodiment of the present invention, encoded by gathering image to be matched, and image to be matched is encoded and target image Coding is matched, successful match, just closes alarm clock.Aforesaid way is compared to close by touch key-press or sliding type and made a noise Clock, reduces the possibility that alarm clock is closed by mistake, and then has preferably achieveed the purpose that to wake up people.
Step 206, judge whether matched number is more than preset value, if so, then performing step 207;Held if it is not, then returning Row step 202.
Wherein, the value of preset value may be greater than equal to 2, and the integer less than or equal to 5.Such as:The value of preset value Can be 2,3,4 or 5.It should be noted that the value of preset value, preferred value 3.In addition, when it fails to match, quarter-bell carries Wake up or can continue.
Wherein, when performing step 202 for the first time, acquisition can be the first image coding to be matched;When execution to step 207, and return to step 202, what is obtained at this time can be the second image coding to be matched.Such as:First image coding to be matched One Quick Response Code can be collected by camera, and the second image coding to be matched can be to above-mentioned same Quick Response Code is collected for the second time by camera.When preset value is 3, if the first image coding to be matched and target Image codes match fails;The second image coding to be matched is then obtained, and the second image coding to be matched is compiled with target image Code matching, if continuing, it fails to match;The 3rd image coding to be matched can also be then obtained, and the 3rd image to be matched is encoded into mesh Logo image codes match, if successful match, closes alarm clock.
In embodiment of the present invention, in image to be matched coding with after the failure of target image codes match, judging matched Whether number is more than preset value;When matched number is less than or equal to preset value, returns and perform acquisition image coding to be matched The step of, can be after 1 image coding to be matched fails with target image codes match by above-mentioned steps, and match Number when being less than or equal to preset value, continue to obtain the 2nd or the 3rd image coding to be matched, and will be above-mentioned to be matched Image encodes and target image codes match.It can reduce because accidentalia causes image coding to be matched to be compiled with target image Code it fails to match, and then cause alarm clock can not pent phenomenon appearance.Wherein, accidentalia can include:The figure of collection It is imperfect as encoding, or to encode certain a part of covered etc. for the image of collection.
Step 207, by the target image coding by the first pre-set image coding be changed to the second pre-set image coding;And Target image coding is changed to the prompting message of the second pre-set image coding by display, and is returned and performed step 202。
Wherein, mobile terminal can be stored with multiple pre-set image codings, such as:It can include the first pre-set image to compile Code, the second pre-set image coding or the 3rd pre-set image coding etc..Target image coding can be above-mentioned first pre-set image One in the pre-set image codings such as coding, the second pre-set image coding or the 3rd pre-set image coding.
Wherein, when target image is encoded to the first pre-set image coding, and image to be matched coding and the first pre-set image After the matching times of coding are more than preset value, target image coding is changed to the second pre-set image by the first pre-set image coding Coding;Target image coding is changed to the prompting message of the second pre-set image coding by display, and is returned to execution acquisition and treated The step of matching image coding.
In embodiment of the present invention, it is more than in the number of the first pre-set image coding and image codes match to be matched default During value, by image to be matched coding and the second pre-set image codes match of reacquisition, and in successful match, close noisy Clock.By above-mentioned steps, when carrying out matched image coding failure to be matched with the first pre-set image coding, prompt to use Family can reacquire image coding to be matched and the second pre-set image codes match, so as to close alarm clock.And then turn off noisy The mode of clock more diversity, and make by image to be matched coding and the success of target image codes match, so as to close noisy The mode of clock is relatively reliable, reduces the possibility that alarm clock is closed by mistake.
Optionally, when target image coding includes at least two first images coding, step 202 can include:
Second image equal with the described first image group/cording quantity that target image coding includes is obtained successively Coding.
Step 203 can include:
The arrangement encoded according to the first image in the acquisition order and target image coding of second image coding Sequentially, the content matching by the content of each second image coding with corresponding each described first image coding.
Step 204 can include:
If the content energy that each content of the second image coding is encoded with corresponding each described first image With success, it is determined that the image coding to be matched and target image codes match success;
If the content at least one that the content of each second image coding is encoded with corresponding each described first image It is a to be unable to successful match, it is determined that the image coding to be matched fails with the target image codes match.
Wherein, the quantity of the first image coding and the second image coding can be equal.Such as:Wrapped when in target image coding Three the first image codings are included, and it can be No. 1 bar code, No. 1 two dimension successively that these three first images coding arranges in order Code and No. 2 bar codes.And according to the order for obtaining the second image coding in image to be matched coding, it should equally include three the Two images encode, and the order arrangement that these three second images coding presses acquisition can be No. 3 bar codes, No. 2 Quick Response Codes successively With No. 4 bar codes.When target image coding and image to be matched coding are matched, it should in order by No. 1 bar code With No. 3 barcode matches, No. 1 Quick Response Code and No. 2 Quick Response Codes are matched, by No. 2 bar codes and No. 4 bar codes progress Match somebody with somebody.When the equal successful match of above-mentioned three groups of contents, then target image coding and image codes match to be matched success are judged;When upper Three groups at least one group of content matching failure is stated, then judges target image coding and image codes match to be matched failure.
In the embodiment of the present invention, encoded according to the first image in the acquisition order and target image coding of the second image coding Put in order, the content of each second image coding is matched one by one with the content that corresponding each first image encodes;If The content of each second image coding and the content energy successful match of corresponding each first image coding, then judge to be matched Image encodes and the success of target image codes match.Pass through above-mentioned steps so that by judging image coding to be matched and target After the success of image codes match, close that the mode of alarm clock is relatively reliable, reduce the possibility that alarm clock is closed by mistake.
Referring to Fig. 3, Fig. 3 is the structure chart of alarm clock shutoff device provided in an embodiment of the present invention, can realize above-described embodiment A kind of details of middle alarm clock method for closing, and reach identical effect.As shown in figure 3, alarm clock shutoff device 300 includes:
Acquisition module 301, if triggering clock alarming for the alarm clock that the mobile terminal is set, obtains image to be matched and compiles Code;
Matching module 302, for the image to be matched to be encoded to the target image with being stored in the mobile terminal Coding is matched;
First judgment module 303, for judging whether the image coding to be matched matches with target image coding Success;
Closedown module 304, if for successful match, closes the alarm clock.
Optionally, further included referring to Fig. 4, the alarm clock shutoff device 300:
Second judgment module 305, if for it fails to match, judges whether matched number is more than preset value;
First execution module 306, is treated for when matched number is less than or equal to preset value, returning to the execution acquisition The step of matching image coding.
Optionally, further included referring to Fig. 5, the alarm clock shutoff device 300:
Change module 307, for when the matched number is more than the preset value, by the target image encode by First pre-set image coding is changed to the second pre-set image coding;
Second execution module 308, for showing that target image coding is changed to second pre-set image encodes Prompting message, and return and perform described the step of obtaining image to be matched coding.
Optionally, the target image coding includes at least one first image coding.
Optionally, when target image coding includes at least two described first images coding,
The acquisition module 301 is used to obtain the described first image coding included with target image coding successively Equal the second image coding of quantity;
The matching module 302 is used in acquisition order and target image coding according to second image coding First image coding puts in order, and the content of each second image coding is compiled with corresponding each described first image The content matching of code;
Referring to Fig. 6, first judgment module 303 includes:
First judging submodule 3031, if the content and corresponding each described for each second image coding The content of one image coding can successful match, it is determined that the image coding to be matched and the target image codes match into Work(;
Second judgment submodule 3032, if the content and corresponding each described for each second image coding The content of one image coding is at least one to be unable to successful match, it is determined that the image coding to be matched is compiled with the target image It fails to match for code.
Alarm clock shutoff device provided in an embodiment of the present invention can realize each mistake in the embodiment of the method for Fig. 1 to Fig. 2 Journey, to avoid repeating, which is not described herein again.Alarm clock shutoff device provided in an embodiment of the present invention can be by gathering figure to be matched Matched as coding, and by image to be matched coding with target image coding, successful match, just closes alarm clock.Aforesaid way Alarm clock is closed compared to by touch key-press or sliding type, reduces the possibility that alarm clock is closed by mistake, and then effectively reach The purpose for waking up user is arrived.
Fig. 7 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention,
The mobile terminal 700 includes but not limited to:It is radio frequency unit 701, mixed-media network modules mixed-media 702, audio output unit 703, defeated Enter unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor The component such as 710 and power supply 711.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 7 is not formed Restriction to mobile terminal, mobile terminal can be included than illustrating more or fewer components, either combine some components or Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 710, are used for
If the alarm clock triggering clock alarming of the mobile terminal, obtains image coding to be matched.
The image coding to be matched is matched with the target image coding being stored in the mobile terminal.
Judge the image to be matched coding and target image coding whether successful match.
If successful match, the alarm clock is closed.
Optionally, the processor 710 is additionally operable to:
If it fails to match, judge whether matched number is more than preset value.
When matched number is less than or equal to preset value, returns and perform described the step of obtaining image coding to be matched.
Optionally, the processor 710 is additionally operable to:
When the matched number is more than the preset value, target image coding is encoded by the first pre-set image It is changed to the second pre-set image coding.
Target image coding is changed to the prompting message of the second pre-set image coding by display, and returns to execution Described the step of obtaining image coding to be matched.
Optionally, the target image coding includes at least one first image coding.
Optionally, when target image coding includes at least two described first images coding, the processor 710 Perform and obtain image coding to be matched, including:
Second image equal with the described first image group/cording quantity that target image coding includes is obtained successively Coding.
Optionally, the processor 710 is performed the image coding to be matched with being stored in the mobile terminal Target image coding is matched, including:
The arrangement encoded according to the first image in the acquisition order and target image coding of second image coding Sequentially, the content matching by the content of each second image coding with corresponding each described first image coding.
Optionally, the processor 710, which performs, judges that the image to be matched encodes and whether is target image coding Successful match, including:
If the content energy that each content of the second image coding is encoded with corresponding each described first image With success, it is determined that the image coding to be matched and target image codes match success.
If the content at least one that the content of each second image coding is encoded with corresponding each described first image It is a to be unable to successful match, it is determined that the image coding to be matched fails with the target image codes match.
Mobile terminal provided in an embodiment of the present invention can realize each process in previous embodiment, to avoid repeating, Which is not described herein again.Mobile terminal provided in an embodiment of the present invention can be encoded by gathering image to be matched, and will be to be matched Image is encoded to be matched with target image coding, and successful match, just closes alarm clock.Aforesaid way compare by touch key-press or Person's sliding type closes alarm clock, reduces the possibility that alarm clock is closed by mistake, and then has preferably achieveed the purpose that to wake up people.
It should be understood that in the embodiment of the present invention, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal Reception and transmission, specifically, by from base station downlink data receive after, handled to processor 710;In addition, by uplink Data sending is to base station.In general, radio frequency unit 701 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by mixed-media network modules mixed-media 702 and has accessed, and such as helps user to receive Send e-mails, browse webpage and access streaming video etc..
Audio output unit 703 can be receiving by radio frequency unit 701 or mixed-media network modules mixed-media 702 or in memory 709 It is sound that the voice data of storage, which is converted into audio signal and exports,.Moreover, audio output unit 703 can also be provided and moved The relevant audio output of specific function that dynamic terminal 700 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 703 includes loudspeaker, buzzer and receiver etc..
Input unit 704 is used to receive audio or video signal.Input unit 704 can include graphics processor (Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Picture frame after processing may be displayed on display unit 706.Picture frame after the processing of graphics processor 7041 can be deposited Storage is transmitted in memory 709 (or other storage mediums) or via radio frequency unit 701 or mixed-media network modules mixed-media 702.Mike Wind 7042 can receive sound, and can be voice data by such acoustic processing.Voice data after processing can be The form output of mobile communication base station can be sent to via radio frequency unit 701 by being converted in the case of telephone calling model.
Mobile terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 7061, and proximity sensor can close when mobile terminal 700 is moved in one's ear Display panel 7061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Pass Sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 706 is used for the information for showing by information input by user or being supplied to user.Display unit 706 can wrap Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 7061.
User input unit 707 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 707 include contact panel 7071 and Other input equipments 7072.Contact panel 7071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects or annex such as finger, stylus on contact panel 7071 or in contact panel 7071 Neighbouring operation).Contact panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area Manage the order that device 710 is sent and performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes contact panel 7071.Except contact panel 7071, user input unit 707 can also include other input equipments 7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operation lever, details are not described herein.
Further, contact panel 7071 can be covered on display panel 7061, when contact panel 7071 is detected at it On or near touch operation after, send to processor 710 with determine touch event type, be followed by subsequent processing device 710 according to touch The type for touching event provides corresponding visual output on display panel 7061.Although in the figure 7, contact panel 7071 and display Panel 7061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by contact panel 7071 and display panel 7061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 708 is the interface that external device (ED) is connected with mobile terminal 700.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 708 can be used for receive the input (for example, data message, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 700 can be used in 700 He of mobile terminal Data are transmitted between external device (ED).
Memory 709 can be used for storage software program and various data.Memory 709 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 709 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection A part, by running or performing the software program and/or module that are stored in memory 709, and calls and is stored in storage Data in device 709, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place Reason device 710 may include one or more processing units;Preferably, processor 710 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 710.
Mobile terminal 700 can also include the power supply 711 (such as battery) to all parts power supply, it is preferred that power supply 711 Can be logically contiguous by power-supply management system and processor 710, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
In addition, mobile terminal 700 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 710, and memory 709, is stored in On memory 709 and the computer program that can be run on the processor 710, the computer program are performed by processor 710 A kind of above-mentioned each processes of alarm clock method for closing embodiment of Shi Shixian, and identical technique effect can be reached, to avoid repeating, Which is not described herein again.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and meter is stored with computer-readable recording medium Calculation machine program, the computer program realize a kind of each process of above-mentioned alarm clock method for closing embodiment when being executed by processor, And identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable recording medium, Such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter Claim RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And other elements that are not explicitly listed are further included, or further include as this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there are other identical element in the process of key element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, services Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make very much Form, belongs within the protection of the present invention.

Claims (11)

  1. A kind of 1. alarm clock method for closing, applied to mobile terminal, it is characterised in that including:
    If the alarm clock triggering clock alarming of the mobile terminal, obtains image coding to be matched;
    The image coding to be matched is matched with the target image coding being stored in the mobile terminal;
    Judge the image to be matched coding and target image coding whether successful match;
    If successful match, the alarm clock is closed.
  2. 2. the method as described in claim 1, it is characterised in that described to judge the image coding to be matched and the target figure As whether coding is after successful match, the method further includes:
    If it fails to match, judge whether matched number is more than preset value;
    When matched number is less than or equal to preset value, returns and perform described the step of obtaining image coding to be matched.
  3. 3. method as claimed in claim 2, it is characterised in that it fails to match if described, judges whether matched number is big After the step of preset value, the described method includes:
    When the matched number is more than the preset value, target image coding is encoded by the first pre-set image and is changed Encoded for the second pre-set image;
    Target image coding is changed to the prompting message of the second pre-set image coding by display, and is returned described in execution The step of obtaining image coding to be matched.
  4. 4. such as the method any one of claim 1-3, it is characterised in that the target image coding includes:At least one A first image coding.
  5. 5. method as claimed in claim 4, it is characterised in that when target image coding includes at least two described first When image encodes, described the step of obtaining image coding to be matched, includes:
    Second image equal with the described first image group/cording quantity that target image coding includes is obtained successively to encode;
    It is described that the image coding to be matched is subjected to matched step with the target image coding being stored in the mobile terminal Suddenly include:
    Put in order according to what the first image in the acquisition order and target image coding of second image coding encoded, Content matching by the content of each second image coding with corresponding each described first image coding;
    It is described judge the image to be matched coding and target image coding whether successful match, including:
    If the content of each second image coding and the content of corresponding each described first image coding be equal can match into Work(, it is determined that the image coding to be matched and target image codes match success;
    If the content of each second image coding and the content of corresponding each described first image coding are at least one not Energy successful match, it is determined that the image coding to be matched fails with the target image codes match.
  6. A kind of 6. alarm clock shutoff device, applied to mobile terminal, it is characterised in that including:
    Acquisition module, if the alarm clock for the mobile terminal triggers clock alarming, obtains image coding to be matched;
    Matching module, carries out for the image coding to be matched to be encoded with the target image being stored in the mobile terminal Matching;
    First judgment module, for judge the image to be matched coding and target image coding whether successful match;
    Closedown module, if for successful match, closes the alarm clock.
  7. 7. alarm clock shutoff device as claimed in claim 6, it is characterised in that the alarm clock shutoff device further includes:
    Second judgment module, if for it fails to match, judges whether matched number is more than preset value;
    First execution module, the acquisition figure to be matched is performed for when matched number is less than or equal to preset value, returning As the step of coding.
  8. 8. alarm clock shutoff device as claimed in claim 7, it is characterised in that the alarm clock shutoff device further includes:
    Module is changed, for when the matched number is more than the preset value, the target image being encoded pre- by first If image coding is changed to the second pre-set image coding;
    Second execution module, the prompting that target image coding is changed to the second pre-set image coding for showing disappear Breath, and return and perform described the step of obtaining image coding to be matched.
  9. 9. the alarm clock shutoff device as any one of claim 6-8, it is characterised in that the target image coding bag Include:At least one first image coding.
  10. 10. alarm clock shutoff device as claimed in claim 9, it is characterised in that when target image coding includes at least two During a described first image coding,
    The acquisition module is used to obtain the described first image group/cording quantity phase included with target image coding successively Deng the second image coding;
    The matching module is used for the first figure in acquisition order and target image coding according to second image coding As putting in order for coding, the content of each second image coding is encoded with corresponding each described first image in Hold matching;
    First judgment module includes:
    First judging submodule, if the content for each second image coding is compiled with corresponding each described first image The content of code energy successful match, it is determined that the image coding to be matched and target image codes match success;
    Second judgment submodule, if the content for each second image coding is compiled with corresponding each described first image The content of code is at least one to be unable to successful match, it is determined that the image coding to be matched loses with the target image codes match Lose.
  11. A kind of 11. mobile terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be in institute The computer program run on processor is stated, the processor is realized when performing the computer program as in claim 1-5 Step in any one of them alarm clock method for closing.
CN201711206519.5A 2017-11-27 2017-11-27 A kind of alarm clock method for closing, device and mobile terminal Pending CN107993259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711206519.5A CN107993259A (en) 2017-11-27 2017-11-27 A kind of alarm clock method for closing, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711206519.5A CN107993259A (en) 2017-11-27 2017-11-27 A kind of alarm clock method for closing, device and mobile terminal

Publications (1)

Publication Number Publication Date
CN107993259A true CN107993259A (en) 2018-05-04

Family

ID=62032358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711206519.5A Pending CN107993259A (en) 2017-11-27 2017-11-27 A kind of alarm clock method for closing, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107993259A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324491A (en) * 2019-06-27 2019-10-11 维沃移动通信有限公司 A kind of control alarm clock method for closing and terminal device

Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043676A (en) * 2007-03-23 2007-09-26 华为技术有限公司 Method and apparatus for prompting alarm clock stopping of mobile terminal
CN101339403A (en) * 2007-07-04 2009-01-07 鹏智科技(深圳)有限公司 Electronic equipment possess alarm clock function and its alarm clock closing method
CN101369129A (en) * 2007-08-15 2009-02-18 鹏智科技(深圳)有限公司 Electronic equipment with alarm clock function and method for closing the alarm clock
CN102081346A (en) * 2009-11-27 2011-06-01 英业达股份有限公司 Intelligent alarm clock managing system and method
CN102857615A (en) * 2012-09-24 2013-01-02 武汉大学 Unlocking method for touch screen mobile phone based on dynamic password
CN102857632A (en) * 2012-08-14 2013-01-02 广东欧珀移动通信有限公司 Alarm clock control method, device and terminal
CN102868825A (en) * 2012-09-24 2013-01-09 广东欧珀移动通信有限公司 Alarm clock realization method and system for mobile terminal
CN103152475A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Method of turning off alarm clock in mobile terminal and mobile terminal
CN103561177A (en) * 2013-11-13 2014-02-05 广东欧珀移动通信有限公司 Method and device for setting alarm clock in mobile terminal
CN103728870A (en) * 2013-12-27 2014-04-16 卓朝旦 Alarm controlling method based on picture
CN104063135A (en) * 2014-07-04 2014-09-24 苏州天趣信息科技有限公司 Alarm clock turn-off method and device for mobile terminal and mobile terminal
CN104123514A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Shutdown validation method and device
CN104869260A (en) * 2015-06-19 2015-08-26 上海斐讯数据通信技术有限公司 Method and system for turning off alarm clock of mobile terminal
CN105208025A (en) * 2015-09-22 2015-12-30 广东欧珀移动通信有限公司 Verification code input method and system
CN105279400A (en) * 2014-12-22 2016-01-27 东莞市步步高通信软件有限公司 Mobile terminal security management method and mobile terminal
CN105630349A (en) * 2015-11-26 2016-06-01 东莞酷派软件技术有限公司 Terminal unlocking method and terminal
CN105631302A (en) * 2015-12-25 2016-06-01 苏州佳世达电通有限公司 State control method and device of mobile equipment
CN105635492A (en) * 2016-03-31 2016-06-01 北京金山安全软件有限公司 Method and device for realizing alarm clock in electronic equipment and electronic equipment
CN105656631A (en) * 2015-08-18 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Identity authentication method and device
CN105898002A (en) * 2016-06-21 2016-08-24 北京奇虎科技有限公司 Application unlocking method and apparatus for mobile terminal and mobile terminal
CN106330464A (en) * 2016-10-26 2017-01-11 上海众人网络安全技术有限公司 Identity authentication method, device and system
CN107154189A (en) * 2017-04-10 2017-09-12 广东小天才科技有限公司 A kind of learning method and device based on mobile terminal
CN107193596A (en) * 2017-05-18 2017-09-22 广东小天才科技有限公司 A kind of alarm clock method for closing and mobile terminal applied to mobile terminal
CN107194231A (en) * 2017-06-27 2017-09-22 上海与德科技有限公司 Unlocking method, device and mobile terminal based on iris
CN107203709A (en) * 2016-03-18 2017-09-26 北京京东尚科信息技术有限公司 The unlocking method and a device of alarm clock

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043676A (en) * 2007-03-23 2007-09-26 华为技术有限公司 Method and apparatus for prompting alarm clock stopping of mobile terminal
CN101339403A (en) * 2007-07-04 2009-01-07 鹏智科技(深圳)有限公司 Electronic equipment possess alarm clock function and its alarm clock closing method
CN101369129A (en) * 2007-08-15 2009-02-18 鹏智科技(深圳)有限公司 Electronic equipment with alarm clock function and method for closing the alarm clock
CN102081346A (en) * 2009-11-27 2011-06-01 英业达股份有限公司 Intelligent alarm clock managing system and method
CN102857632A (en) * 2012-08-14 2013-01-02 广东欧珀移动通信有限公司 Alarm clock control method, device and terminal
CN102868825A (en) * 2012-09-24 2013-01-09 广东欧珀移动通信有限公司 Alarm clock realization method and system for mobile terminal
CN102857615A (en) * 2012-09-24 2013-01-02 武汉大学 Unlocking method for touch screen mobile phone based on dynamic password
CN103152475A (en) * 2013-01-31 2013-06-12 广东欧珀移动通信有限公司 Method of turning off alarm clock in mobile terminal and mobile terminal
CN104123514A (en) * 2013-04-26 2014-10-29 腾讯科技(深圳)有限公司 Shutdown validation method and device
CN103561177A (en) * 2013-11-13 2014-02-05 广东欧珀移动通信有限公司 Method and device for setting alarm clock in mobile terminal
CN103728870A (en) * 2013-12-27 2014-04-16 卓朝旦 Alarm controlling method based on picture
CN104063135A (en) * 2014-07-04 2014-09-24 苏州天趣信息科技有限公司 Alarm clock turn-off method and device for mobile terminal and mobile terminal
CN105279400A (en) * 2014-12-22 2016-01-27 东莞市步步高通信软件有限公司 Mobile terminal security management method and mobile terminal
CN104869260A (en) * 2015-06-19 2015-08-26 上海斐讯数据通信技术有限公司 Method and system for turning off alarm clock of mobile terminal
CN105656631A (en) * 2015-08-18 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Identity authentication method and device
CN105208025A (en) * 2015-09-22 2015-12-30 广东欧珀移动通信有限公司 Verification code input method and system
CN105630349A (en) * 2015-11-26 2016-06-01 东莞酷派软件技术有限公司 Terminal unlocking method and terminal
CN105631302A (en) * 2015-12-25 2016-06-01 苏州佳世达电通有限公司 State control method and device of mobile equipment
CN107203709A (en) * 2016-03-18 2017-09-26 北京京东尚科信息技术有限公司 The unlocking method and a device of alarm clock
CN105635492A (en) * 2016-03-31 2016-06-01 北京金山安全软件有限公司 Method and device for realizing alarm clock in electronic equipment and electronic equipment
CN105898002A (en) * 2016-06-21 2016-08-24 北京奇虎科技有限公司 Application unlocking method and apparatus for mobile terminal and mobile terminal
CN106330464A (en) * 2016-10-26 2017-01-11 上海众人网络安全技术有限公司 Identity authentication method, device and system
CN107154189A (en) * 2017-04-10 2017-09-12 广东小天才科技有限公司 A kind of learning method and device based on mobile terminal
CN107193596A (en) * 2017-05-18 2017-09-22 广东小天才科技有限公司 A kind of alarm clock method for closing and mobile terminal applied to mobile terminal
CN107194231A (en) * 2017-06-27 2017-09-22 上海与德科技有限公司 Unlocking method, device and mobile terminal based on iris

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗琼 等: "《计算机科学导论》", 31 August 2016 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324491A (en) * 2019-06-27 2019-10-11 维沃移动通信有限公司 A kind of control alarm clock method for closing and terminal device
CN110324491B (en) * 2019-06-27 2021-03-16 维沃移动通信有限公司 Method for controlling alarm clock to be turned off and terminal equipment

Similar Documents

Publication Publication Date Title
CN109032734A (en) A kind of background application display methods and mobile terminal
CN108803963A (en) A kind of screenshotss method and mobile terminal
CN107704086A (en) A kind of mobile terminal operating method and mobile terminal
CN108156329A (en) Method, mobile terminal and the computer readable storage medium that message is sent
CN107808084A (en) A kind of touch operation method and mobile terminal
CN107742072A (en) Face identification method and mobile terminal
CN107908705A (en) A kind of information-pushing method, information push-delivery apparatus and mobile terminal
CN108256308A (en) A kind of recognition of face solution lock control method and mobile terminal
CN108111678A (en) A kind of information cuing method and mobile terminal
CN108011887A (en) A kind of account management method and equipment
CN107888392A (en) A kind of information processing method, server and mobile terminal
CN108958582A (en) A kind of application program launching method and terminal
CN108319833A (en) A kind of control method and mobile terminal of application program
CN108108111A (en) A kind of inspection method, device and the mobile terminal of screen locking pictorial information
CN108509141A (en) A kind of generation method and mobile terminal of control
CN108063861A (en) The method, apparatus and mobile terminal that a kind of state is reminded
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN107707554A (en) A kind of login method and mobile terminal of application program account
CN107885423A (en) The processing method and mobile terminal of a kind of picture
CN108021315A (en) A kind of control method and mobile terminal
CN108196663A (en) A kind of face identification method, mobile terminal
CN108363499A (en) A kind of text restoration methods and mobile terminal
CN107993259A (en) A kind of alarm clock method for closing, device and mobile terminal
CN108563940A (en) A kind of control method and mobile terminal
CN109086599A (en) A kind of application program locking method, unlocking method and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination