CN106713650A - Clock information storage method and apparatus - Google Patents
Clock information storage method and apparatus Download PDFInfo
- Publication number
- CN106713650A CN106713650A CN201611270985.5A CN201611270985A CN106713650A CN 106713650 A CN106713650 A CN 106713650A CN 201611270985 A CN201611270985 A CN 201611270985A CN 106713650 A CN106713650 A CN 106713650A
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- jingle bell
- clock information
- alarm
- bells
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods 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/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
Abstract
The present invention discloses a clock information storage method. The method comprises the steps of when an acquisition instruction of acquiring clock information in the mobile terminal is detected, acquiring the clock information according to the acquisition instruction, wherein the clock information comprises alarming time; generating a two-dimensional code picture corresponding to the clock according to the clock information; and storing the two-dimensional code picture, so as to enable the mobile terminal to scan the two-dimensional code picture to set the clock. The present invention further discloses a clock information storage apparatus. Through adoption of the clock information storage method and apparatus, the clock information is stored in a manner of the two-dimensional code picture, when the mobile terminal needs to set the clock, the mobile terminal scans the corresponding two-dimensional code picture so as to complete clock setting, so that the clock setting process in the mobile terminal is simplified.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of alarm clock information storage method and device.
Background technology
At present, mobile terminal is very universal.There are onboard clock or clock application software in mobile terminal, and
Alarm clock sets function.And user when alarm clock is set, it is necessary to find the clock of mobile terminal, enter clock by clicking on the clock
Set interface, then clock setting interface select alarm clock function, into alarm clock set interface, set alarm clock ring time,
Jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume etc., preserve set alarm clock information, to complete the setting of alarm clock afterwards.Thus
Understand, existing alarm clock setting procedure is cumbersome.
The content of the invention
It is a primary object of the present invention to provide a kind of alarm clock information storage method and device, it is intended to solve existing alarm clock
The cumbersome technical problem of setting procedure.
To achieve the above object, the present invention provides a kind of alarm clock information storage method, the alarm clock information storage method bag
Include step:
When the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, described making a noise is obtained according to the acquisition instruction
Clock information, wherein, the alarm clock information includes ring time;
According to the two-dimension code image of alarm clock information generation correspondence alarm clock;
The two-dimension code image is stored, alarm clock is set by scanning the two-dimension code image for the mobile terminal.
Preferably, the storage two-dimension code image, so that the mobile terminal is by scanning the two-dimension code image
After the step of alarm clock is set, also include:
The scan instruction of the detecting scanning two-dimension code image, set in the mobile terminal for triggering the scan instruction with
The corresponding alarm clock of the two-dimension code image.
Preferably, the storage two-dimension code image, so that the mobile terminal is by scanning the two-dimension code image
After the step of alarm clock is set, also include:
The current time of the mobile terminal is obtained, determines whether the current time is equal to ring time;
If the current time is equal to the ring time, judge whether to detect scanning corresponding with the ring time
The scan instruction of two-dimension code image;
If detecting the scan instruction, terminate jingle bell;
If not detecting the scan instruction, continue jingle bell.
Preferably, it is described according to the alarm clock information generation correspondence alarm clock two-dimension code image the step of before, also include:
Judge whether the alarm clock information includes default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume;
If the alarm clock information includes the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, the basis is performed
The step of two-dimension code image of the alarm clock information generation correspondence alarm clock;
If the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, acquiescence jingle bell is obtained
Cycle, jingle bell the tinkle of bells and MIDI Volume are used as the alarm clock information.
Preferably, it is described to judge whether the alarm clock information includes default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume
After step, also include:
If the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, the shifting is judged
Dynamic terminal whether at least provided with two alarm clocks, wherein, the alarm clock in addition to alarm clock corresponding with the alarm clock information is designated as it
Its alarm clock;
If the mobile terminal includes presetting at least provided with two alarm clocks, and the corresponding alarm clock information of described other alarm clocks
Jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then obtain default jingle bell cycle, jingle bell the tinkle of bells and the jingle bell sound of other alarm clocks
Amount is used as the alarm clock information;
If the mobile terminal is only provided with an alarm clock, and/or the mobile terminal at least provided with two alarm clocks, but
The corresponding alarm clock information of described other alarm clocks does not include default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then obtain described silent
Jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume are recognized as the alarm clock information.
Additionally, to achieve the above object, the present invention also provides a kind of alarm clock information storage device, the alarm clock information storage
Device includes:
Acquisition module, for when the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, according to the acquisition
Instruction obtains the alarm clock information, wherein, the alarm clock information includes ring time;
Generation module, for the two-dimension code image according to alarm clock information generation correspondence alarm clock;
Memory module, for storing the two-dimension code image, so that the mobile terminal is by scanning the Quick Response Code figure
Piece sets alarm clock.
Preferably, the alarm clock information storage device also includes:
Detecting module, the scan instruction for detecting the scanning two-dimension code image is triggering the shifting of the scan instruction
Alarm clock corresponding with the two-dimension code image is set in dynamic terminal.
Preferably, the acquisition module is additionally operable to obtain the current time of the mobile terminal, determines the current time
Whether ring time is equal to;
The alarm clock information storage device also includes:
First judge module, if being equal to the ring time for the current time, judges whether to detect scanning
The scan instruction of two-dimension code image corresponding with the ring time;
Terminate module, if for detecting the scan instruction, terminating jingle bell;
Jingle bell module, if for not detecting the scan instruction, continuing jingle bell.
Preferably, the alarm clock information storage device also includes:
Second judge module, for judging whether the alarm clock information includes default jingle bell cycle, jingle bell the tinkle of bells and jingle bell
Volume;
If the generation module is additionally operable to the alarm clock information includes the default jingle bell cycle, jingle bell the tinkle of bells and jingle bell sound
Amount, then according to the two-dimension code image of alarm clock information generation correspondence alarm clock;
If the acquisition module is additionally operable to the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and jingle bell
Volume, obtains acquiescence jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume as the alarm clock information.
Preferably, if second judge module is additionally operable to the alarm clock information and does not include the default jingle bell cycle, sound
Whether bell the tinkle of bells and MIDI Volume, then judge the mobile terminal at least provided with two alarm clocks, wherein, will except with the alarm clock
Alarm clock outside information correspondence alarm clock is designated as other alarm clocks;
If the acquisition module is additionally operable to the mobile terminal at least provided with two alarm clocks, and described other alarm clocks correspondence
Alarm clock information include default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then obtain the default jingle bell week of other alarm clocks
Phase, jingle bell the tinkle of bells and MIDI Volume are used as the alarm clock information;If the mobile terminal is only provided with an alarm clock, and/or institute
Mobile terminal is stated at least provided with two alarm clocks, but the corresponding alarm clock information of described other alarm clocks do not include the default jingle bell cycle,
Jingle bell the tinkle of bells and MIDI Volume, then obtain the acquiescence jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume as the alarm clock information.
The present invention is by when the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, instruction being obtained according to described
The alarm clock information is obtained, wherein, the alarm clock information includes ring time, according to alarm clock information generation correspondence alarm clock
Two-dimension code image, stores the two-dimension code image, and alarm clock is set by scanning the two-dimension code image for the mobile terminal.
Realize and alarm clock information is stored in the form of two-dimension code image, when mobile terminal needs to set alarm clock, scanning corresponding two
Dimension code picture, you can complete the setting of alarm clock, simplify the setting procedure of alarm clock in mobile terminal.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of alarm clock information storage method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of alarm clock information storage method second embodiment of the present invention;
Fig. 3 is the schematic flow sheet of alarm clock information storage method 3rd embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of alarm clock information storage device first embodiment of the present invention;
Fig. 5 is the high-level schematic functional block diagram of alarm clock information storage device second embodiment of the present invention;
Fig. 6 is the high-level schematic functional block diagram of alarm clock information storage device 3rd embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of alarm clock information storage method.
Reference picture 1, Fig. 1 is the schematic flow sheet of alarm clock information storage method first embodiment of the present invention.
In the present embodiment, the alarm clock information storage method includes:
Step S10, when the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, obtains according to the acquisition instruction
The alarm clock information is taken, wherein, the alarm clock information includes ring time;
When the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, alarm clock information is obtained according to instruction is obtained,
Wherein, the alarm clock information includes ring time.Further, alarm clock information also includes jingle bell cycle, jingle bell the tinkle of bells and jingle bell sound
Amount etc..Ring time is the alarm time that user is set, and the jingle bell cycle is, to ring time, the alarm clock to be not turned off in user
When, the frequency of jingle bell, such as when user is not turned off the alarm clock, every 5 minutes, or 10 minutes jingle bells were once.The jingle bell cycle is also
Reminder time including the alarm clock, such as alarm clock calling time are Monday on working day to Friday.Jingle bell the tinkle of bells is user's root
Set according to personal like, such as may be configured as music tone ringer, weather forecast the tinkle of bells and news the tinkle of bells.In the present embodiment,
Mobile terminal includes but is not limited to smart mobile phone and palm PC.Acquisition instruction can be triggered when user sets alarm clock,
Can be triggered after user sets alarm clock.
Step S20, according to the two-dimension code image of alarm clock information generation correspondence alarm clock;
Step S30, stores the two-dimension code image, is set by scanning the two-dimension code image for the mobile terminal
Alarm clock.
When alarm clock information is got, according to the two-dimension code image of acquired alarm clock information generation correspondence alarm clock, storage
Two-dimension code image, alarm clock is set for mobile terminal by scanning two-dimension code image.During two-dimension code image is stored, can be by
Two-dimension code image is stored into the file for pre-setting, or two-dimension code image is stored into the file to alarm clock catalogue
Folder.
Further, during according to the two-dimension code image of alarm clock information generation correspondence alarm clock, if getting multiple noisy
The alarm clock information of clock, then user can according to specific needs, and the alarm clock information of multiple alarm clocks is generated a two-dimension code image by selection,
Or correspondence generates multiple two-dimension code images.When the alarm clock information of multiple alarm clocks is got, in the display interface of mobile terminal
Middle output prompt message, points out user selection one two-dimension code image of generation, or selection generates multiple two-dimension code images.When with
During selection one two-dimension code image of generation of family, the alarm clock information of multiple alarm clocks is generated into a two-dimension code image;When user's selection
When generating multiple two-dimension code images, the alarm clock information correspondence of multiple alarm clocks is generated into multiple two-dimension code images.3 are got as worked as
The alarm clock information of alarm clock, during user's selection one two-dimension code image of generation, one two is generated by the corresponding alarm clock information of 3 alarm clocks
Dimension code picture;When user's selection three two-dimension code images of generation, by 3 alarm clock information correspondence three Quick Response Codes of generation of alarm clock
Picture.
Further, the alarm clock information storage method also includes:
Step a, the scan instruction of the detecting scanning two-dimension code image, in the mobile terminal for triggering the scan instruction
Alarm clock corresponding with the two-dimension code image is set.
After two-dimension code image is generated, when the scan instruction of scanning two-dimension code image is detected, refer to the scanning is triggered
Alarm clock corresponding with two-dimension code image is set in the mobile terminal of order.It should be noted that triggering the mobile end of the scan instruction
End can be same mobile terminal, or different mobile terminal with the mobile terminal of generation two-dimension code image.Further,
When the alarm clock information comprising multiple alarm clocks in the two-dimension code image, set multiple noisy in the mobile terminal of driver sweep instruction
Clock.
The present embodiment according to the acquisition by when the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, referring to
Order obtains the alarm clock information, wherein, the alarm clock information includes ring time, according to alarm clock information generation correspondence alarm clock
Two-dimension code image, store the two-dimension code image, set noisy by scanning the two-dimension code image for the mobile terminal
Clock.Realize and alarm clock information is stored in the form of two-dimension code image, when mobile terminal needs to set alarm clock, scan corresponding
Two-dimension code image, you can complete the setting of alarm clock, simplify the setting procedure of alarm clock in mobile terminal.
Further, alarm clock information storage method second embodiment of the present invention is proposed.
The difference of the alarm clock information storage method second embodiment and the alarm clock information storage method first embodiment
It is, reference picture 2 that the alarm clock information storage method also includes:
Step S40, obtains the current time of the mobile terminal, determines whether the current time is equal to ring time;
Step S50, if the current time is equal to the ring time, judges whether to detect scanning and the jingle bell
The scan instruction of time correspondence two-dimension code image;
Step S60, if detecting the scan instruction, terminates jingle bell;
Step S70, if not detecting the scan instruction, continues jingle bell.
After two-dimension code image is generated, the current time of mobile terminal is obtained, when determining whether current time is equal to jingle bell
Between.If current time is equal to ring time, judge whether to detect scanning two-dimension code image corresponding with the ring time
Scan instruction.If detecting the scan instruction for scanning two-dimension code image corresponding with ring time, terminate jingle bell;If not detecting
The scan instruction of scanning two-dimension code image corresponding with ring time, then continue jingle bell, until detecting scanning and ring time pair
Answer the scan instruction of two-dimension code image.If current time is not equal to ring time, continue to obtain the current time of mobile terminal.
The present embodiment is by that when mobile terminal current time is equal to ring time, will detect scanning and ring time pair
Jingle bell could be terminated during the two-dimension code image answered, to improve the success rate that alarm clock wakes user.
Further, alarm clock information storage method 3rd embodiment of the present invention is proposed.
The difference of the alarm clock information storage method 3rd embodiment and the alarm clock information storage method first embodiment
It is, reference picture 3 that the alarm clock information storage method also includes:
Step S80, judges whether the alarm clock information includes default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume;
When alarm clock information is obtained, judge whether include the default jingle bell cycle in the alarm clock information, default jingle bell the tinkle of bells and
Default MIDI Volume.It should be noted that default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume are user according to individual
What people liked and set.If user sets jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, the alarm clock not according to personal like
Jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume in information are acquiescence jingle bell cycle, jingle bell the tinkle of bells and the sound of mobile terminal system
Bell the tinkle of bells.
If the alarm clock information includes the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, step S20 is performed;
Step S90, if the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, obtains
Acquiescence jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume are used as the alarm clock information.
If alarm clock information includes default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume, believed according to alarm clock
Ring time, default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume generation two-dimension code image in breath.If alarm clock is believed
Do not include default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume in breath, then obtain the acquiescence jingle bell week of mobile terminal
Phase, acquiescence jingle bell the tinkle of bells and acquiescence MIDI Volume, will acquiescence jingle bell cycle, acquiescence jingle bell the tinkle of bells and acquiescence MIDI Volume as noisy
Clock information, and according to acquired ring time, acquiescence jingle bell cycle, acquiescence jingle bell the tinkle of bells and acquiescence MIDI Volume generation two dimension
Code picture.
Further, the alarm clock information storage method also includes:
Step b, if the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, judges
The mobile terminal whether at least provided with two alarm clocks, wherein, by the alarm clock in addition to alarm clock corresponding with the alarm clock information
It is designated as other alarm clocks;
Step c, if the mobile terminal is at least provided with two alarm clocks, and the corresponding alarm clock information bag of described other alarm clocks
Include default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then obtain default jingle bell cycle of other alarm clocks, jingle bell the tinkle of bells and
MIDI Volume is used as the alarm clock information;
Step d, if the mobile terminal is only provided with an alarm clock, and/or the mobile terminal at least provided with two
Alarm clock, but the corresponding alarm clock information of described other alarm clocks does not include default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then obtain
The acquiescence jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume are used as the alarm clock information.
Further, if not including default jingle bell cycle, default jingle bell the tinkle of bells and anticipation MIDI Volume in alarm clock information,
Judge mobile terminal whether at least provided with two alarm clocks.If mobile terminal is at least provided with two alarm clocks, judge that other make a noise
Whether the corresponding alarm clock information of clock includes default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume.If other alarm clocks pair
The alarm clock information answered includes default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume, then obtain the default of other alarm clocks
Jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume as alarm clock information, and according to acquired ring time, Yi Jiqi
The default jingle bell cycle of its alarm clock, default jingle bell the tinkle of bells and default MIDI Volume generation two-dimension code image.If mobile terminal only sets
An alarm clock has been put, and/or mobile terminal does not include in advance at least provided with two alarm clocks, but the corresponding alarm clock information of other alarm clocks
If jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume, then acquiescence jingle bell cycle, the acquiescence sound of mobile terminal system are obtained
Bell the tinkle of bells and acquiescence MIDI Volume according to acquired ring time, acquiescence jingle bell cycle, give tacit consent to jingle bell bell as alarm clock information
Sound and acquiescence MIDI Volume generation two-dimension code image.It should be noted that by addition to alarm clock corresponding with the alarm clock information
Alarm clock is designated as other alarm clocks.
Whether the present embodiment includes default jingle bell cycle, jingle bell the tinkle of bells and jingle bell sound by the alarm clock information acquired in judgement
Amount, to realize preferential jingle bell cycle, jingle bell the tinkle of bells and the MIDI Volume generation two-dimension code image set according to user, if user
Be not provided with jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then using the acquiescence jingle bell cycle of mobile terminal system, jingle bell the tinkle of bells and
MIDI Volume generates two-dimension code image, improves the intelligent of alarm clock information generation two-dimension code image.
The present invention further provides a kind of alarm clock information storage device.
Reference picture 4, Fig. 4 is the high-level schematic functional block diagram of alarm clock information storage device first embodiment of the present invention.
It is emphasized that it will be apparent to those skilled in the art that module map shown in Fig. 4 is only a preferred embodiment
Exemplary plot, those skilled in the art can easily carry out new mould around the module of the alarm clock information storage device shown in Fig. 4
The supplement of block;The title of each module is self-defined title, is only used for aiding in each program for understanding the alarm clock information storage device
Functional block, is not used in restriction technical scheme, and the core of technical solution of the present invention is, the module institute of each self-defined title
The function to be reached.
The present embodiment proposes a kind of alarm clock information storage device, and the alarm clock information storage device includes:
Acquisition module 10, for when the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, being obtained according to described
Instruction fetch obtains the alarm clock information, wherein, the alarm clock information includes ring time;
When the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, acquisition module 10 is obtained according to instruction is obtained
Alarm clock information, wherein, the alarm clock information includes ring time.Further, alarm clock information also includes jingle bell cycle, jingle bell the tinkle of bells
With MIDI Volume etc..Ring time is the alarm time that user is set, and the jingle bell cycle is, to ring time, to be not turned off in user
During the alarm clock, the frequency of jingle bell, such as when user is not turned off the alarm clock, every 5 minutes, or 10 minutes jingle bells were once.Jingle bell
The also reminder time including the alarm clock in cycle, such as alarm clock calling time are Monday on working day to Friday.Jingle bell the tinkle of bells is
User is set according to personal like, such as may be configured as music tone ringer, weather forecast the tinkle of bells and news the tinkle of bells.In this implementation
In example, mobile terminal includes but is not limited to smart mobile phone and palm PC.Acquisition instruction can be touched when user sets alarm clock
Hair, it is also possible to triggered after user sets alarm clock.
Generation module 20, for the two-dimension code image according to alarm clock information generation correspondence alarm clock;
Memory module 30, for storing the two-dimension code image, so that the mobile terminal is by scanning the Quick Response Code
Picture sets alarm clock.
When acquisition module 10 gets alarm clock information, generation module 20 is noisy according to acquired alarm clock information generation correspondence
The two-dimension code image of clock, the storage two-dimension code image of memory module 30 sets noisy for mobile terminal by scanning two-dimension code image
Clock.During two-dimension code image is stored, two-dimension code image can be stored into the file for pre-setting, or by two dimension
Code picture stores the file to alarm clock catalogue.
Further, during two-dimension code image of the generation module 20 according to alarm clock information generation correspondence alarm clock, if obtaining
Modulus block 10 gets the alarm clock information of multiple alarm clocks, then user can select to believe in the alarm clock of multiple alarm clocks according to specific needs
Breath one two-dimension code image of generation, or correspondence generates multiple two-dimension code images.Multiple alarm clocks are got in acquisition module 10
During alarm clock information, prompt message is exported in the display interface of mobile terminal, points out user selection one two-dimension code image of generation,
Or selection generates multiple two-dimension code images.When user's selection one two-dimension code image of generation, generation module 20 is noisy by multiple
The alarm clock information of clock generates a two-dimension code image;When user's selection generates multiple two-dimension code images, generation module 20 will be many
The alarm clock information correspondence of individual alarm clock generates multiple two-dimension code images.As when 3 alarm clock informations of alarm clock are got, user's selection is given birth to
During into a two-dimension code image, the corresponding alarm clock information of 3 alarm clocks is generated a two-dimension code images by generation module 20;Work as user
During selection three two-dimension code images of generation, the alarm clock information correspondence of 3 alarm clocks is generated three two-dimension code images by generation module 20.
Further, the alarm clock information storage device also includes:
Detecting module, the scan instruction for detecting the scanning two-dimension code image is triggering the shifting of the scan instruction
Alarm clock corresponding with the two-dimension code image is set in dynamic terminal.
After generation module 20 generates two-dimension code image, when detecting module detects the scan instruction of scanning two-dimension code image
When, alarm clock corresponding with two-dimension code image is set in the mobile terminal for triggering the scan instruction.It should be noted that triggering should
The mobile terminal of scan instruction can be same mobile terminal, or different shifting with the mobile terminal of generation two-dimension code image
Dynamic terminal.Further, when the alarm clock information comprising multiple alarm clocks in the two-dimension code image, in the movement of driver sweep instruction
Multiple alarm clocks are set in terminal.
The present embodiment according to the acquisition by when the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, referring to
Order obtains the alarm clock information, wherein, the alarm clock information includes ring time, according to alarm clock information generation correspondence alarm clock
Two-dimension code image, store the two-dimension code image, set noisy by scanning the two-dimension code image for the mobile terminal
Clock.Realize and alarm clock information is stored in the form of two-dimension code image, when mobile terminal needs to set alarm clock, scan corresponding
Two-dimension code image, you can complete the setting of alarm clock, simplify the setting procedure of alarm clock in mobile terminal.
Further, alarm clock information storage device second embodiment of the present invention is proposed.
The difference of the alarm clock information storage device second embodiment and the alarm clock information storage device first embodiment
It is that the acquisition module 10 is additionally operable to obtain the current time of the mobile terminal, determines whether the current time is equal to
Ring time;
Reference picture 5, the alarm clock information storage device also includes:
First judge module 40, if being equal to the ring time for the current time, judges whether to detect and sweeps
Retouch the scan instruction of two-dimension code image corresponding with the ring time;
Terminate module 50, if for detecting the scan instruction, terminating jingle bell;
Jingle bell module 60, if for not detecting the scan instruction, continuing jingle bell.
After two-dimension code image is generated, whether acquisition module 10 obtains the current time of mobile terminal, determines current time
Equal to ring time.If current time is equal to ring time, the first judge module 40 then judges whether to detect scanning and the sound
The scan instruction of bell time corresponding two-dimension code image.Refer to if detecting and scanning the scanning of two-dimension code image corresponding with ring time
Order, terminate module 50 then terminates jingle bell;If not detecting the scan instruction for scanning two-dimension code image corresponding with ring time, jingle bell
Module 60 then continues jingle bell, and the scan instruction of two-dimension code image corresponding with ring time is scanned until detecting.If current time
It is not equal to ring time, acquisition module 10 then continues to obtain the current time of mobile terminal.
The present embodiment is by that when mobile terminal current time is equal to ring time, will detect scanning and ring time pair
Jingle bell could be terminated during the two-dimension code image answered, to improve the success rate that alarm clock wakes user.
Further, alarm clock information storage device 3rd embodiment of the present invention is proposed.
The difference of the alarm clock information storage device 3rd embodiment and the alarm clock information storage device first embodiment
It is, reference picture 6 that the alarm clock information storage device also includes:
Second judge module 70, for judging whether the alarm clock information includes default jingle bell cycle, jingle bell the tinkle of bells and sound
Tone amount;
When alarm clock information is obtained, the second judge module 70 judge whether to include in the alarm clock information to preset the jingle bell cycle,
Default jingle bell the tinkle of bells and default MIDI Volume.It should be noted that default jingle bell cycle, default jingle bell the tinkle of bells and default jingle bell sound
Measure as user is set according to personal like.If user sets jingle bell cycle, jingle bell the tinkle of bells and sound not according to personal like
Tone amount, then jingle bell cycle in the alarm clock information, jingle bell the tinkle of bells and MIDI Volume are the acquiescence jingle bell week of mobile terminal system
Phase, jingle bell the tinkle of bells and jingle bell the tinkle of bells.
If the generation module 20 is additionally operable to the alarm clock information includes the default jingle bell cycle, jingle bell the tinkle of bells and jingle bell
Volume, then according to the two-dimension code image of alarm clock information generation correspondence alarm clock;
If the acquisition module 10 is additionally operable to the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and sound
Tone amount, obtains acquiescence jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume as the alarm clock information.
If alarm clock information includes default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume, generation module 20 is then
Ring time, default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume generation Quick Response Code figure in alarm clock information
Piece.If not including default jingle bell cycle, default jingle bell the tinkle of bells and default MIDI Volume in alarm clock information, acquisition module 10 is then obtained
Acquiescence jingle bell cycle of mobile terminal, acquiescence jingle bell the tinkle of bells and acquiescence MIDI Volume, will acquiescence jingle bell cycle, acquiescence jingle bell the tinkle of bells
With acquiescence MIDI Volume as alarm clock information, generation module 20 rings according to acquired ring time, acquiescence jingle bell cycle, acquiescence
Bell the tinkle of bells and acquiescence MIDI Volume generation two-dimension code image.
Further, if second judge module 70 is additionally operable to the alarm clock information and does not include the default jingle bell week
Whether phase, jingle bell the tinkle of bells and MIDI Volume, then judge the mobile terminal at least provided with two alarm clocks, wherein, will except with institute
State the alarm clock outside alarm clock information correspondence alarm clock and be designated as other alarm clocks;
If the acquisition module 10 is additionally operable to the mobile terminal at least provided with two alarm clocks, and described other alarm clocks pair
The alarm clock information answered includes default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then obtain the default jingle bell of other alarm clocks
Cycle, jingle bell the tinkle of bells and MIDI Volume are used as the alarm clock information;If the mobile terminal is only provided with an alarm clock, and/or
The mobile terminal is at least provided with two alarm clocks, but the corresponding alarm clock information of described other alarm clocks does not include default jingle bell week
Phase, jingle bell the tinkle of bells and MIDI Volume, then obtain the acquiescence jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume and believe as the alarm clock
Breath.
Further, if not including default jingle bell cycle, default jingle bell the tinkle of bells and anticipation MIDI Volume in alarm clock information, the
Whether two judge modules 70 then judge mobile terminal at least provided with two alarm clocks.If mobile terminal is noisy at least provided with two
Clock, the second judge module 70 then judges whether the corresponding alarm clock information of other alarm clocks includes default jingle bell cycle, default jingle bell bell
Sound and default MIDI Volume.If the corresponding alarm clock information of other alarm clocks includes default jingle bell cycle, default jingle bell the tinkle of bells and presets
MIDI Volume, default jingle bell cycle, default jingle bell the tinkle of bells and the default MIDI Volume that acquisition module 10 then obtains other alarm clocks is made
Be alarm clock information, generation module 20 according to acquired ring time, and other alarm clocks default jingle bell cycle, default jingle bell
The tinkle of bells and default MIDI Volume generation two-dimension code image.If mobile terminal is only provided with an alarm clock, and/or mobile terminal is at least
There is provided two alarm clocks, but the corresponding alarm clock information of other alarm clocks is including presetting jingle bell cycle, default jingle bell the tinkle of bells and presetting
MIDI Volume, acquisition module 10 then obtains acquiescence jingle bell cycle, acquiescence jingle bell the tinkle of bells and the acquiescence jingle bell sound of mobile terminal system
, used as alarm clock information, generation module 20 is according to acquired ring time, acquiescence jingle bell cycle, acquiescence jingle bell the tinkle of bells and acquiescence for amount
MIDI Volume generates two-dimension code image.It should be noted that the alarm clock in addition to alarm clock corresponding with the alarm clock information is designated as
Other alarm clocks.
Whether the present embodiment includes default jingle bell cycle, jingle bell the tinkle of bells and jingle bell sound by the alarm clock information acquired in judgement
Amount, to realize preferential jingle bell cycle, jingle bell the tinkle of bells and the MIDI Volume generation two-dimension code image set according to user, if user
Be not provided with jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then using the acquiescence jingle bell cycle of mobile terminal system, jingle bell the tinkle of bells and
MIDI Volume generates two-dimension code image, improves the intelligent of alarm clock information generation two-dimension code image.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic
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 is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
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 implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words
The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes
Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of alarm clock information storage method, it is characterised in that the alarm clock information storage method is comprised the following steps:
When the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, believed according to the instruction acquisition alarm clock that obtains
Breath, wherein, the alarm clock information includes ring time;
According to the two-dimension code image of alarm clock information generation correspondence alarm clock;
The two-dimension code image is stored, alarm clock is set by scanning the two-dimension code image for the mobile terminal.
2. alarm clock information storage method as claimed in claim 1, it is characterised in that the storage two-dimension code image, with
After the step of alarm clock is set by scanning the two-dimension code image for the mobile terminal, also include:
The scan instruction of the detecting scanning two-dimension code image, set in the mobile terminal for triggering the scan instruction with it is described
The corresponding alarm clock of two-dimension code image.
3. alarm clock information storage method as claimed in claim 1, it is characterised in that the storage two-dimension code image, with
After the step of alarm clock is set by scanning the two-dimension code image for the mobile terminal, also include:
The current time of the mobile terminal is obtained, determines whether the current time is equal to ring time;
If the current time is equal to the ring time, judge whether to detect scanning two dimension corresponding with the ring time
The scan instruction of code picture;
If detecting the scan instruction, terminate jingle bell;
If not detecting the scan instruction, continue jingle bell.
4. the alarm clock information storage method as described in any one of claims 1 to 3, it is characterised in that described according to the alarm clock
Before the step of two-dimension code image of information generation correspondence alarm clock, also include:
Judge whether the alarm clock information includes default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume;
If the alarm clock information includes the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, perform described in the basis
The step of two-dimension code image of alarm clock information generation correspondence alarm clock;
If the alarm clock information do not include the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, obtain acquiescence the jingle bell cycle,
Jingle bell the tinkle of bells and MIDI Volume are used as the alarm clock information.
5. alarm clock information storage method as claimed in claim 4, it is characterised in that described to judge whether the alarm clock information wraps
After the step of including default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, also include:
If the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, judge described mobile whole
Whether hold at least provided with two alarm clocks, wherein, the alarm clock in addition to alarm clock corresponding with the alarm clock information is designated as other and is made a noise
Clock;
If the mobile terminal is at least provided with two alarm clocks, and the corresponding alarm clock information of described other alarm clocks includes default jingle bell
Cycle, jingle bell the tinkle of bells and MIDI Volume, then default jingle bell cycle, jingle bell the tinkle of bells and the MIDI Volume for obtaining other alarm clocks are made
It is the alarm clock information;
If the mobile terminal is only provided with an alarm clock, and/or the mobile terminal is at least provided with two alarm clocks, but described
The corresponding alarm clock information of other alarm clocks does not include default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then obtain the acquiescence and ring
Bell cycle, jingle bell the tinkle of bells and MIDI Volume are used as the alarm clock information.
6. a kind of alarm clock information storage device, it is characterised in that the alarm clock information storage device includes:
Acquisition module, for when the acquisition of alarm clock information in detecting acquisition mobile terminal is instructed, instruction being obtained according to described
The alarm clock information is obtained, wherein, the alarm clock information includes ring time;
Generation module, for the two-dimension code image according to alarm clock information generation correspondence alarm clock;
Memory module, for storing the two-dimension code image, is set for the mobile terminal by scanning the two-dimension code image
Put alarm clock.
7. alarm clock information storage device as claimed in claim 6, it is characterised in that the alarm clock information storage device is also wrapped
Include:
Detecting module, the scan instruction for detecting the scanning two-dimension code image is triggering the mobile end of the scan instruction
Alarm clock corresponding with the two-dimension code image is set in end.
8. alarm clock information storage device as claimed in claim 6, it is characterised in that the acquisition module is additionally operable to obtain described
The current time of mobile terminal, determines whether the current time is equal to ring time;
The alarm clock information storage device also includes:
First judge module, if being equal to the ring time for the current time, judges whether to detect scanning and institute
State the scan instruction of ring time correspondence two-dimension code image;
Terminate module, if for detecting the scan instruction, terminating jingle bell;
Jingle bell module, if for not detecting the scan instruction, continuing jingle bell.
9. the alarm clock information storage device as described in any one of claim 6 to 8, it is characterised in that the alarm clock information storage
Device also includes:
Second judge module, for judging whether the alarm clock information includes default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume;
If the generation module is additionally operable to the alarm clock information includes the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume,
Then according to the two-dimension code image of alarm clock information generation correspondence alarm clock;
If the acquisition module is additionally operable to the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and jingle bell sound
Amount, obtains acquiescence jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume as the alarm clock information.
10. alarm clock information storage device as claimed in claim 9, it is characterised in that if second judge module is additionally operable to
Whether the alarm clock information does not include the default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then judge the mobile terminal
At least provided with two alarm clocks, wherein, the alarm clock in addition to alarm clock corresponding with the alarm clock information is designated as other alarm clocks;
If the acquisition module is additionally operable to the mobile terminal at least provided with two alarm clocks, and described other alarm clocks are corresponding noisy
Clock information includes default jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume, then obtain default jingle bell cycle, the sound of other alarm clocks
Bell the tinkle of bells and MIDI Volume are used as the alarm clock information;If the mobile terminal is only provided with an alarm clock, and/or the movement
Terminal is at least provided with two alarm clocks, but the corresponding alarm clock information of described other alarm clocks does not include default jingle bell cycle, jingle bell bell
Sound and MIDI Volume, then obtain the acquiescence jingle bell cycle, jingle bell the tinkle of bells and MIDI Volume as the alarm clock information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611270985.5A CN106713650A (en) | 2016-12-30 | 2016-12-30 | Clock information storage method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611270985.5A CN106713650A (en) | 2016-12-30 | 2016-12-30 | Clock information storage method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106713650A true CN106713650A (en) | 2017-05-24 |
Family
ID=58906575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611270985.5A Withdrawn CN106713650A (en) | 2016-12-30 | 2016-12-30 | Clock information storage method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106713650A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566606A (en) * | 2017-07-27 | 2018-01-09 | 努比亚技术有限公司 | A kind of method for controlling mobile terminal, mobile terminal and computer-readable recording medium |
CN109871923A (en) * | 2019-02-19 | 2019-06-11 | 深圳市西克智能技术有限公司 | Time-correcting method, terminal device and storage medium based on two dimensional code |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102842020A (en) * | 2012-08-03 | 2012-12-26 | 中兴通讯股份有限公司 | Information processing method and device |
CN103310331A (en) * | 2013-06-27 | 2013-09-18 | 广东欧珀移动通信有限公司 | Method and system for reminding calendar events by aid of mobile terminal |
CN103310329A (en) * | 2012-03-09 | 2013-09-18 | 胡伟 | Schedule information adding system and method thereof, and mobile phone and schedule information adding method thereof |
CN103347079A (en) * | 2013-07-08 | 2013-10-09 | 惠州Tcl移动通信有限公司 | Method and mobile device for schedule event synchronization |
-
2016
- 2016-12-30 CN CN201611270985.5A patent/CN106713650A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103310329A (en) * | 2012-03-09 | 2013-09-18 | 胡伟 | Schedule information adding system and method thereof, and mobile phone and schedule information adding method thereof |
CN102842020A (en) * | 2012-08-03 | 2012-12-26 | 中兴通讯股份有限公司 | Information processing method and device |
CN103310331A (en) * | 2013-06-27 | 2013-09-18 | 广东欧珀移动通信有限公司 | Method and system for reminding calendar events by aid of mobile terminal |
CN103347079A (en) * | 2013-07-08 | 2013-10-09 | 惠州Tcl移动通信有限公司 | Method and mobile device for schedule event synchronization |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566606A (en) * | 2017-07-27 | 2018-01-09 | 努比亚技术有限公司 | A kind of method for controlling mobile terminal, mobile terminal and computer-readable recording medium |
CN109871923A (en) * | 2019-02-19 | 2019-06-11 | 深圳市西克智能技术有限公司 | Time-correcting method, terminal device and storage medium based on two dimensional code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7289796B2 (en) | Mobile communications terminal device and method for identifying incoming call for use with the same | |
CN101257537B (en) | Method of defining short keys used to select desired functions of a communication terminal by the user | |
RU2636580C2 (en) | Method and device for displaying conversational interface | |
US20030063090A1 (en) | Communication terminal handling animations | |
CN1361646A (en) | Method for providing function of specific data notice in telephone | |
US7212840B2 (en) | Cellular phone and incoming call reception informing method | |
JPH11127263A (en) | Method for inputting transmission message of portable telephone | |
US20060064298A1 (en) | Adjusting display of mobile communications terminal | |
JP2001215921A (en) | Portable telephone system and display operating method for the same and storage medium with display operating program for the system recorded thereon | |
CN105357653A (en) | Reminding method and terminal | |
CN106713650A (en) | Clock information storage method and apparatus | |
CN100420321C (en) | Cellular telephone set and call-in notification controlling method | |
CN107635083A (en) | The tinkle of bells method to set up, mobile terminal and readable storage medium storing program for executing | |
US7392065B2 (en) | Mobile communication terminal and method for one-touch message transmission | |
CN110933772A (en) | Connection method of wireless device, mobile terminal and computer readable storage medium | |
CN100409577C (en) | Music input method for communication terminal | |
EP1610533A2 (en) | Method for performing functions associated with a phone number in a mobile communication terminal | |
US7142893B2 (en) | Apparatus, and associated method, for facilitating identification of a mobile telephone | |
JP2007304784A (en) | Portable communication terminal device, electronic mail transmission method, and electronic mail transmission processing program | |
KR20070037267A (en) | Mobile terminal for identifying a caller | |
KR100464348B1 (en) | Mobile communication terminal equipment having a alarm function for providing information message and information message alarm methode thereof | |
CN106254654B (en) | Mobile terminal and data transmission method | |
KR100658889B1 (en) | Method for generating a receiving ring in a mobile communication system | |
JPH11112647A (en) | Message reception system for mobile telephone set | |
KR100606766B1 (en) | Method for Managing a short message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170524 |
|
WW01 | Invention patent application withdrawn after publication |