CN108124063A - A kind of reminding method and relevant device - Google Patents
A kind of reminding method and relevant device Download PDFInfo
- Publication number
- CN108124063A CN108124063A CN201711434185.7A CN201711434185A CN108124063A CN 108124063 A CN108124063 A CN 108124063A CN 201711434185 A CN201711434185 A CN 201711434185A CN 108124063 A CN108124063 A CN 108124063A
- Authority
- CN
- China
- Prior art keywords
- flash
- lamp chip
- light lamp
- prompting
- light
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/22—Illumination; Arrangements for improving the visibility of characters on dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Telephone Function (AREA)
Abstract
The application provides a kind of reminding method and relevant device, applied to the terminal device including flash lamp, the described method includes:Obtain the use information of the flash lamp, the use information includes the flash lamp total guide number in the case where using the first flash of light lamp chip;It is determined the need for replacing flash of light lamp chip according to the use information;In the case where determining to need replacing flash of light lamp chip, the first replacement prompting is shown in display interface, described first replaces prompting for prompting to replace flash of light lamp chip.The technical solution provided using the application can prompt user to replace flash of light lamp chip in time in the case where needing replacing flash of light lamp chip.
Description
Technical field
This application involves electronic technology field more particularly to a kind of reminding methods and relevant device.
Background technology
When people are taken pictures using camera, be often in night or ambient light it is dark under conditions of, therefore
It needs to enhance lighting effects by means of auxiliary appliance, and flash lamp is as a kind of common light reinforcement device, extensively
Applied in photography art, the light filling effect of flash lamp is determined by the parameter of flash of light lamp chip.The introducing of flash of light lamp components
Even if allowing camera that can also take the photo of high quality in the environment of night or dark, further promote terminal and set
Standby whole class.
The content of the invention
The embodiment of the present application provides a kind of reminding method and relevant device, in the case of needing replacing flash of light lamp chip
Prompting user replaces flash of light lamp chip in time.
In a first aspect, the embodiment of the present application provides a kind of reminding method, applied to the terminal device including flash lamp, bag
It includes:
The use information of the flash lamp is obtained, the use information is using the first flash of light wick including the flash lamp
Total guide number of under piece;
It is determined the need for replacing flash of light lamp chip according to the use information;
In the case where determining to need replacing flash of light lamp chip, show that the first replacement is prompted in display interface, described first
Prompting is replaced for prompting to replace flash of light lamp chip.
Second aspect, the embodiment of the present application provide a kind of terminal device, including:
Acquiring unit, for obtaining the use information of the flash lamp, the use information, which includes the flash lamp, to be made
With total guide number under the first flash of light lamp chip;
Judging unit, for being determined the need for replacing flash of light lamp chip according to the use information;
First prompt unit, in the case where determining to need replacing flash of light lamp chip, first to be shown in display interface
Prompting is replaced, described first replaces prompting for prompting to replace flash of light lamp chip.
The third aspect, the embodiment of the present application provides a kind of terminal device, including one or more processors, one or more
Memory, one or more transceivers and one or more programs, one or more of programs are stored in the storage
In device, and it is configured to be performed by one or more of processors, described program includes user and performs as described in relation to the first aspect
Method in step instruction.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, and storage is handed over for electronic data
The computer program changed, wherein, the computer program causes computer to perform method as described in relation to the first aspect.
5th aspect, the embodiment of the present application provide a kind of computer program product, and the computer program product includes depositing
The non-transient computer readable storage medium of computer program is stored up, the computer is operable to make computer to perform such as the
Method described in one side.
As it can be seen that in the application, first, the use information of the flash lamp is obtained, the use information includes the flash of light
Then total guide number of the lamp in the case where using the first flash of light lamp chip, is determined the need for replacing and dodged according to the use information
Light lamp chip finally, in the case where determining to need replacing flash of light lamp chip, the first replacement prompting, institute is shown in display interface
The first replacement prompting is stated for prompting to replace flash of light lamp chip, and then can be in the case where needing replacing flash of light lamp chip in time
User is prompted to replace flash of light lamp chip.
These aspects or other aspects of the application can more straightforward in the following description.
Description of the drawings
It in order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Figure 1A is a kind of flow diagram of reminding method provided by the embodiments of the present application;
Figure 1B is a kind of interface schematic diagram provided by the embodiments of the present application;
Fig. 2 is the flow diagram of another reminding method provided by the embodiments of the present application;
Fig. 3 is a kind of structure diagram of terminal device provided by the embodiments of the present application;
Fig. 4 is the structure diagram of another terminal device provided by the embodiments of the present application;
Fig. 5 is the structure diagram of another terminal device provided by the embodiments of the present application.
Specific embodiment
In order to which those skilled in the art is made to more fully understand application scheme, below in conjunction in the embodiment of the present application
The technical solution in the embodiment of the present application is clearly and completely described in attached drawing, it is clear that described embodiment is only
The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's all other embodiments obtained without making creative work should all belong to the model of the application protection
It encloses.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in the description and claims of this application and the attached drawing and "
Four " etc. be for distinguishing different objects rather than for describing particular order.In addition, term " comprising " and " having " and it
Any deformation, it is intended that cover non-exclusive include.Such as it contains the process of series of steps or unit, method, be
The step of system, product or equipment are not limited to list or unit, but optionally further include the step of not listing or list
Member is optionally further included for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Hereinafter, the part term in the application is explained, in order to those skilled in the art understand that.
Terminal device, also referred to as user equipment (User Equipment, UE), be one kind provide a user voice and/
Or the equipment of data connectivity, for example, portable equipment, video camera, camera with unlimited linkage function etc..Common end
End for example including:Mobile phone, tablet computer, laptop, palm PC, mobile internet device (mobile internet
Device, MID), wearable device etc..
A is please referred to Fig.1, Figure 1A is a kind of flow diagram of reminding method provided by the embodiments of the present application, applied to bag
The terminal device of flash lamp is included, this method includes:
Step 101:Terminal device obtains the use information of the flash lamp, and the use information exists including the flash lamp
Use total guide number under the first flash of light lamp chip.
Step 102:Terminal device determines the need for replacing flash of light lamp chip according to the use information.
In some embodiments of the present application, the terminal device determines the need for replacing according to the use information to be dodged
Light lamp chip, including:
In the case where total guide number is more than or equal to first threshold, terminal device obtains the first preset period of time
Interior M corresponding M brightness value that glisten of the flash lamp, the M is positive integer;
Terminal device determines average brightness based on the M brightness value;
In the case where the average brightness and predetermined luminance value are inconsistent, terminal device determines that replacing described first dodges
Light lamp chip, the predetermined luminance value are in the brightness of the flash fire under normal circumstances for the described first flash of light lamp chip
Value.
Wherein, the initial time node of the first preset period of time detects that the flash lamp is using the first sudden strain of a muscle for terminal device
At the time of total guide number under light lamp chip is more than or equal to first threshold, the duration of the first preset period of time for example can be
6 it is small when, 12 it is small when, 18 it is small when, 1 day, 2 days or other values.
Wherein, when the flash lamp when glistening every time under using the first flash of light lamp chip, terminal device passes through ambient light
Sensor obtains the flash lamp and glistens every time corresponding brightness value.
Wherein, the first threshold is associated with the described first flash of light lamp chip, for example flash lamp is using described first
In the case that maximum flash of light total degree is 10000 time in the entire service life period of flash of light lamp chip, the first threshold can
With 0.8 times that is greater than or equal to maximum flash of light total degree and less than 0.9 times of maximum flash of light total degree, following second thresholds
It may be greater than 0.9 times of maximum flash of light total degree and less than maximum flash of light total degree, be not limited thereto, the first threshold
Such as can be 8000,8200,8400,8600,8800 either other values, the second threshold for example can be 9000,
9200th, 9400,9600,9800 either other values, the second thresholds are more than the first threshold.
Wherein, predetermined luminance value is fixed value, and normal feelings are in the first flash of light lamp chip that flash lamp uses
Under condition, the brightness value that the flash lamp glistens every time is identical;It is in the first flash of light lamp chip that flash lamp uses
In the case of exception, brightness value that the flash lamp glistens every time be it is different, and the flash lamp use described first
The brightness value that flash of light lamp chip is in flash of light under normal circumstances is more than the first flash of light lamp chip that the flash lamp uses
The brightness value of flash of light under abnormal conditions.
Further, terminal device determines that the specific embodiment of average brightness is based on the M brightness value:Terminal
Equipment randomly selects K brightness value from the M brightness value, calculates the average brightness of the K brightness value, and the M is big
In the K;Alternatively, terminal device chosen from the M brightness value before the K corresponding K brightness value of flash of light, calculate the K
The average brightness of a brightness value, for example, terminal device chosen from 8 brightness values the 1st time to the 5th flash of light it is corresponding 5
Brightness value calculates the average brightness of 5 brightness values by mean value formula;Alternatively, terminal device is from the M brightness value
The K corresponding K brightness value of flash of light after middle selection, calculates the average brightness of the K brightness value, for example terminal device is from 8
The 4th is chosen in a brightness value to corresponding 5 brightness values of the 8th flash of light, 5 brightness values are calculated by mean value formula
Average brightness is not limited thereto.
In some embodiments of the present application, the terminal device determines the need for replacing according to the use information to be dodged
Light lamp chip, including:
In the case where total guide number is more than or equal to first threshold, the sudden strain of a muscle in the first preset period of time is obtained
The corresponding M brightness value of M flash of light of light lamp, the M are positive integer;
Terminal device determines variance yields based on the M brightness value and formula of variance;
The variance yields is compared terminal device with zero;
In the case where the variance yields is more than zero, terminal device determines to replace the first flash of light lamp chip.
Further, terminal device determines the specific embodiment of variance yields based on the M brightness value and formula of variance
For:Terminal device randomly selects K brightness value from the M brightness value, calculates the variance yields of the K brightness value, the M
More than the K;Alternatively, terminal device chosen from the M brightness value before the K corresponding K brightness value of flash of light, described in calculating
The variance yields of K brightness value, for example, terminal device chooses the 1st time to corresponding 5 brightness of the 5th flash of light from 8 brightness values
Value calculates the variance yields of 5 brightness values by formula of variance;Alternatively, after terminal device is chosen from the M brightness value
The corresponding K brightness value of K flash of light calculates the variance yields of the K brightness value, for example terminal device is selected from 8 brightness values
The 4th is taken to the 8th corresponding 5 brightness value of flash of light, the variance yields of 5 brightness values is calculated by formula of variance, herein
It is not construed as limiting.
Wherein, the formula of variance is:
σ2For population variance, X is brightness value variable, and μ is overall brightness value average, and N is brightness value total number.
For example, terminal device determine 5 times in the case where using the first flash of light lamp chip flashes of light of flash lamp it is corresponding 5 it is bright
Angle value (being respectively 106lux, 105lux, 105lux, 105lux, 104lux), terminal device is according to 5 brightness values and side
Poor formula determines the variance yields (0.4) of 5 brightness values, and terminal device determines that the variance yields (0.4) is more than zero, and terminal is set
The first flash of light lamp chip exists abnormal used in standby definite flash lamp, and terminal device determines to need replacing the first flash lamp
Chip.
Step 103:In the case where determining to need replacing flash of light lamp chip, terminal device shows first more in display interface
Prompting is changed, described first replaces prompting for prompting to replace flash of light lamp chip.
Further, terminal device shows that the specific embodiment of the first replacement prompting has in display interface:Terminal device
It is shown in the upper left corner area of the display interface of display screen, lower left corner region, upper right comer region, lower right field or intermediate region
Show the first replacement prompting frame, the first replacement prompting frame is used to that user to be prompted to replace flash of light lamp chip;Alternatively, terminal device root
Different periods, which are in, according to the current system moment shows the first replacement prompting frame in the different zones of the display interface of display screen, such as
In the period 8:00-10:00, terminal device shows the first replacement prompting frame in the upper left corner area of display interface, in the period 14:
00-16:00 period, terminal device show the first replacement prompting frame in the lower right field of display interface.
As an example it is assumed that first threshold is 8200, a length of 12 hours during preset period of time, predetermined luminance value is
110lux determines that total guide number of the flash lamp in the case where using the first flash of light lamp chip is more than or equal to 8200 in terminal device
In the case of secondary, terminal device determine in 12 hours corresponding 5 brightness values of 5 flashes of light of flash lamp (be respectively 106lux,
105lux, 105lux, 105lux, 104lux), terminal device calculates the average brightness (105lux) of 5 brightness values, eventually
End equipment determines that the average brightness (105lux) and predetermined luminance value (110lux) are inconsistent, and terminal device determines flash lamp
There is exception in the used first flash of light lamp chip, terminal device determines to need replacing the first flash of light lamp chip, and terminal is set
It is standby that the first replacement prompting is shown in the intermediate region of the display interface of display screen (as shown in Figure 1B).
As it can be seen that in this application, by obtaining the use information of the flash lamp, the use information includes the flash of light
Total guide number of the lamp in the case where using the first flash of light lamp chip, and then it is more than or equal to first threshold in total guide number
In the case of, obtain the corresponding M brightness value of M flash of light of the flash lamp in the first preset period of time, the M is positive integer, base
Average brightness is determined in the M brightness value, then, in the average brightness and the inconsistent situation of predetermined luminance value
Under, it is definite to replace the first flash of light lamp chip, finally, show the first replacement prompting in display interface, first replacement carries
Show to prompt to replace flash of light lamp chip, and then in time user can be prompted to replace in the case where needing replacing flash of light lamp chip
Glisten lamp chip;Alternatively, under the average brightness and predetermined luminance value unanimous circumstances, it is more than in total guide number
Or during equal to second threshold, the second replacement prompting is shown in the display interface, described second replaces prompting dodges for replacing
Light lamp chip, and then user can be prompted to replace flash of light lamp chip in time in the case where needing replacing flash of light lamp chip.
In some embodiments of the present application, the method further includes:
In the case where total guide number is more than or equal to second threshold, terminal device is shown in the display interface
Show that the second replacement is prompted, described second replaces prompting for prompting to replace flash of light lamp chip, and the second threshold is more than described the
One threshold value, described second replaces prompting differs with the described first replacement prompting.
Further, terminal device shows that the specific embodiment of the second replacement prompting is in the display interface:Terminal
Equipment is in the upper left corner area of the display interface of display screen, lower left corner region, upper right comer region, lower right field or middle area
Domain shows the second replacement prompting frame, while terminal device shows the second replacement prompting frame, terminal device vibration, and vibration time
For the second preset period of time, the duration of second preset period of time for example can be 5s, 10s, 15s, 20s, 30s either other
Value, alternatively, terminal device plays the song that user likes in second preset period of time;Alternatively, in total guide number
More than or equal to second threshold and less than in the case of total guide number, terminal device is in the 3rd preset period of time in institute
It states display interface and shows that the number of the second replacement prompting is T times, the T is the integer more than 1, and the 3rd preset period of time is for example
Can be 7 hours, 10 hours, 15 hours, 20 hours, 1 day either other values.
Further, flash lamp difference of total guide number and second threshold in the case where using the first flash of light lamp chip
Value is bigger, and the T is bigger.
In some embodiments of the present application, in total flash of light of the flash lamp in the case where using the first flash of light lamp chip
Number is more than or equal to first threshold and less than in the case of second threshold, and terminal device obtains the every the 4th preset period of time
Described M corresponding M brightness value that glisten of flash lamp in one preset period of time.
Wherein, the duration of the 4th preset period of time can be fixed or unfixed, not limit herein
It is fixed.
Further, total flash of light in the second threshold and the flash lamp in the case where using the first flash of light lamp chip
In the case that the difference of number is smaller, the duration of the 4th preset period of time is shorter.
As it can be seen that in this application, total flash of light time of the second threshold with flash lamp in the case where using the first flash of light lamp chip
Several differences is smaller to represent that the remaining life for dodging used first flash of light lamp chip of turning off the light is shorter, in the second threshold
With the flash lamp in the case where the difference of total guide number under using the first flash of light lamp chip is smaller, the described 4th
The duration of preset period of time is shorter, the advantage of doing so is that can determine that the first flash of light lamp chip that flash lamp uses is much sooner
It is no to there is exception, and then user can be prompted to replace flash of light lamp chip in time in the case where needing replacing flash of light lamp chip, it keeps away
Exempt from flash lamp can not normal use influence user experience.
In some embodiments of the present application, at least two flash lamp chip parameter collection are stored in the terminal device,
Each flash lamp chip parameter collection corresponds to a flash of light lamp chip, and the terminal device shows the first replacement prompting in display interface
Afterwards, the method further includes:
Terminal device is during the start of the terminal device, the driving of registration flash lamp and identification blink wick
The identity code of piece;
In the second identity code currently identified the first identity code corresponding with the described first flash of light lamp chip not
With in the case of, terminal device calls the flash lamp chip parameter of the corresponding second flash of light lamp chip of second identity code
Collection, the flash lamp chip parameter collection include interface function and/or light filling parameter.
Wherein, the interface function is used to control the hardware of flash lamp, and the light filling parameter calls institute for terminal device
It states light filling parameter and light filling is carried out under the conditions of varying environment light.
Wherein, at least two flashes of light lamp chip can be same model or different models, herein not
It is construed as limiting.
For example, terminal device is after display interface shows the first replacement prompting, and terminal device is in the process of start
In, registration flash lamp driving, when the identity code of preceding flash lamp chip, terminal device will work as preceding flash lamp for terminal device identification
The identity code of chip is compared with the identity code of the first flash of light lamp chip, and terminal device is determined when preceding flash lamp
The identity code of identity code and the first flash of light lamp chip differs, and terminal device calls the identity when preceding flash lamp chip
The corresponding flash of light interface function of lamp chip of identification code and/or light filling parameter.
As it can be seen that in this application, first, terminal device identifies the identification of the first flash of light lamp chip in start process
Code, and the corresponding flash lamp chip parameter collection of identity code of the first flash of light lamp chip is called, then, terminal device determines to need
The first flash of light lamp chip is replaced, terminal device shows the first replacement prompting in display interface, and terminal device is shown in display interface
After showing the first replacement prompting, terminal device identifies the identity code of the second flash of light lamp chip, terminal during start
Equipment determines that the identity code of the identity code and the first flash of light lamp chip of the second flash of light lamp chip differs, terminal device
Call the corresponding flash lamp chip parameter collection of identity code of the second flash of light lamp chip.
As it can be seen that in this application, terminal device can identify the identity code of at least two flash of light lamp chips, and call
The parameter set of the corresponding flash of light lamp chip of identity code of flash of light lamp chip, described two flash of light lamp chips are different models
Glisten lamp chip, and terminal device supports that flash lamp uses the flash of light lamp chip of different model, and supports to call the sudden strain of a muscle of different model
The corresponding parameter set of light lamp chip.
The embodiment of the present application additionally provides another more detailed method flow, as shown in Fig. 2, this method includes:
Step 201:Terminal device obtains the total guide number for dodging and turning off the light in the case where using the first flash of light lamp chip.
Step 202:Terminal device judges whether total guide number is more than or equal to first threshold;
If so, perform step 203.
If it is not, then perform step 201.
Step 203:Terminal device obtains described M corresponding M brightness value that glisten of flash lamp in the first preset period of time.
Step 204:Terminal device determines average brightness based on the M brightness value.
Step 205:Terminal device judges whether the average brightness is consistent with predetermined luminance value;
If so, perform step 208.
If it is not, then perform step 206.
Step 206:Terminal device determines to replace the first flash of light lamp chip.
Step 207:Terminal device shows the first replacement prompting in display interface, and described first replaces prompting for prompting more
Change flash of light lamp chip.
Step 208:Terminal device judges whether total guide number is more than or equal to second threshold;
If so, perform step 209.
If it is not, then perform step 201.
Step 209:Terminal device shows the second replacement prompting in the display interface, and described second replaces prompting for carrying
Show replacement flash of light lamp chip.
It should be noted that the specific implementation process of each step of method shown in Fig. 2 can be found in described in the above method
Specific implementation process, no longer describe herein.
The device of the embodiment of the present application is provided below in the above-mentioned method for illustrating the embodiment of the present application.
Fig. 3 is referred to, Fig. 3 is a kind of terminal device 300 provided by the embodiments of the present application, including:At least one processor,
At least one processor and at least one communication interface;And one or more programs;
One or more of programs are stored in the memory, and are configured to be performed by the processor,
Described program includes performing the instruction of following steps:
The use information of the flash lamp is obtained, the use information is using the first flash of light wick including the flash lamp
Total guide number of under piece;
It is determined the need for replacing flash of light lamp chip according to the use information;
In the case where determining to need replacing flash of light lamp chip, show that the first replacement is prompted in display interface, described first
Prompting is replaced for prompting to replace flash of light lamp chip.
It is described to be determined the need for replacing flash of light wick according to the use information in some embodiments of the present application
Piece, described program include performing the instruction of following steps:
In the case where total guide number is more than or equal to first threshold, the sudden strain of a muscle in the first preset period of time is obtained
The corresponding M brightness value of M flash of light of light lamp, the M are positive integer;
Average brightness is determined based on the M brightness value;
In the case where the average brightness and predetermined luminance value are inconsistent, determine to replace the first flash of light wick
Piece, the predetermined luminance value are in the brightness value of the flash fire under normal circumstances for the described first flash of light lamp chip.
In some embodiments of the present application, described program includes being additionally operable to the instruction for performing following steps:
In the case where total guide number is more than or equal to second threshold, second is shown more in the display interface
Prompting is changed, described second replaces prompting for prompting to replace flash of light lamp chip, and the second threshold is more than the first threshold, institute
The second replacement prompting is stated to differ with the described first replacement prompting.
In some embodiments of the present application, at least two flash lamp chip parameter collection are stored in the terminal device,
Each flash lamp chip parameter collection corresponds to a flash of light lamp chip, described after display interface shows the first replacement prompting, institute
Program is stated to further include to perform the instruction of following steps:
During the start of the terminal device, the identity of the driving of registration flash lamp and identification blink lamp chip
Identification code;
In the second identity code currently identified the first identity code corresponding with the described first flash of light lamp chip not
With in the case of, the flash lamp chip parameter collection of the corresponding second flash of light lamp chip of second identity code is called, it is described
Flash lamp chip parameter collection includes interface function and/or light filling parameter.
It should be noted that the specific implementation of the content described in the present embodiment can be found in the above method, herein no longer
Narration.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is appreciated that
, for terminal device in order to realize above-mentioned function, it comprises perform the corresponding hardware configuration of each function and/or software mould
Block.Those skilled in the art should be readily appreciated that, with reference to each exemplary unit of the embodiments described herein description
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
Hardware or computer software drive the mode of hardware to perform, depending on the specific application of technical solution and design constraint item
Part.Professional technician specifically can realize described function to each using distinct methods, but this reality
Now it is not considered that beyond scope of the present application.
The embodiment of the present application can carry out terminal device according to the above method example division of functional unit, for example, can
Each functional unit is divided with each function of correspondence, two or more functions can also be integrated in a processing unit
In.The form that hardware had both may be employed in above-mentioned integrated unit is realized, can also be realized in the form of SFU software functional unit.It needs
It is only a kind of division of logic function it is noted that being schematical to the division of unit in the embodiment of the present application, it is actual real
There can be other dividing mode now.
In the case of using integrated unit, Fig. 4 shows one kind of terminal device involved in above-described embodiment
Possible functional unit forms block diagram.Terminal device 400 includes:Processing unit 401, communication unit 402 and storage unit 403,
Processing unit 401 includes acquiring unit 4011, determination unit 4012, the first prompt unit 4013 and the second prompt unit 4014.
Storage unit 403 is used for the program code and data of storage terminal device.Communication unit 402 is used to support terminal device and other
The communication of equipment.Above-mentioned some units (acquiring unit 4011, determination unit 4012, the first prompt unit 4013 and the second prompting
Unit 4014) it is used to perform the correlation step of the above method.
Wherein, the acquiring unit 4011, for obtaining the use information of the flash lamp, the use information includes institute
State total guide number of the flash lamp in the case where using the first flash of light lamp chip;
The determination unit 4012, for being determined the need for replacing flash of light lamp chip according to the use information;
First prompt unit 4013, in the case where determining to need replacing flash of light lamp chip, in display interface
Prompting is replaced in display first, and described first replaces prompting for prompting to replace flash of light lamp chip.
In some embodiments of the present application, replacement flash of light wick is determined the need for according to the use information described
In terms of piece, the determination unit 4012 is specifically used for:
In the case where total guide number is more than or equal to first threshold, the sudden strain of a muscle in the first preset period of time is obtained
The corresponding M brightness value of M flash of light of light lamp, the M are positive integer;
Average brightness is determined based on the M brightness value;
In the case where the average brightness and predetermined luminance value are inconsistent, determine to replace the first flash of light wick
Piece, the predetermined luminance value are in the brightness value of the flash fire under normal circumstances for the described first flash of light lamp chip.
In some embodiments of the present application, the terminal device further includes:
Second prompt unit 4014, in the case of being more than or equal to second threshold in total guide number,
The display interface show second replacement prompting, it is described second replace prompting for prompt replace flash of light lamp chip, described second
Threshold value is more than the first threshold, and described second replaces prompting differs with the described first replacement prompting.
In some embodiments of the present application, at least two flash lamp chip parameter collection are stored in the terminal device,
Each flash lamp chip parameter collection corresponds to a flash of light lamp chip, described after display interface shows the first replacement prompting, institute
Terminal device is stated to further include:
During the start of the terminal device, the identity of the driving of registration flash lamp and identification blink lamp chip
Identification code;
In the second identity code currently identified the first identity code corresponding with the described first flash of light lamp chip not
With in the case of, the flash lamp chip parameter collection of the corresponding second flash of light lamp chip of second identity code is called, it is described
Flash lamp chip parameter collection includes interface function and/or light filling parameter.
Wherein, processing unit 401 can be processor or controller, (such as can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP),
Application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array
It is (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hard
Part component or its any combination.It can realize or perform and various illustratively patrol with reference to present disclosure is described
Collect box, module and circuit.The processor can also be the combination for realizing computing function, such as include one or more micro- places
Manage device combination, combination of DSP and microprocessor etc.).Storage unit 403 can be memory, and communication unit 402 can be received
Send out device, transmission circuit, radio frequency chip, communication interface etc..
The embodiment of the present application additionally provides a kind of terminal device, as shown in figure 5, for convenience of description, illustrating only and this
Apply for the relevant part of embodiment, particular technique details does not disclose, refer to the embodiment of the present application method part.
Fig. 5 is referred to, Fig. 5 is that the embodiment of the present application provides a kind of structure diagram of terminal device 500, above-mentioned terminal
Equipment 500 includes:Housing 10, mainboard 20, touching display screen 30, battery 40 and subplate 50 are provided with infrared light supply on mainboard 20
21st, iris camera 22, front camera 23, processor 24, memory 25 and sim card slot 26 etc., are provided with oscillator on subplate
51st, interface 53 and fingerprint module 54 are filled in integral sound chamber 52, VOOC sudden strains of a muscle, and above-mentioned front camera 23 forms the terminal device 500
Facial image acquisition device.
Wherein, the processor 24, for obtaining the use information of the flash lamp, the use information includes the sudden strain of a muscle
Total guide number of the light lamp in the case where using the first flash of light lamp chip;
It is determined the need for replacing flash of light lamp chip according to the use information;
In the case where determining to need replacing flash of light lamp chip, show that the first replacement is prompted in display interface, described first
Prompting is replaced for prompting to replace flash of light lamp chip.
It is described to be determined the need for replacing flash of light wick according to the use information in some embodiments of the present application
Piece, the processor 24 are specifically used for:
In the case where total guide number is more than or equal to first threshold, the sudden strain of a muscle in the first preset period of time is obtained
The corresponding M brightness value of M flash of light of light lamp, the M are positive integer;
Average brightness is determined based on the M brightness value;
In the case where the average brightness and predetermined luminance value are inconsistent, determine to replace the first flash of light wick
Piece, the predetermined luminance value are in the brightness value of the flash fire under normal circumstances for the described first flash of light lamp chip.
In some embodiments of the present application, the processor 24 is specifically additionally operable to:
In the case where total guide number is more than or equal to second threshold, second is shown more in the display interface
Prompting is changed, described second replaces prompting for prompting to replace flash of light lamp chip, and the second threshold is more than the first threshold, institute
The second replacement prompting is stated to differ with the described first replacement prompting.
In some embodiments of the present application, at least two flash lamp chip parameter collection are stored in the terminal device,
Each flash lamp chip parameter collection corresponds to a flash of light lamp chip, described after display interface shows the first replacement prompting, institute
Processor 24 is stated specifically to be additionally operable to:
During the start of the terminal device, the identity of the driving of registration flash lamp and identification blink lamp chip
Identification code;
In the second identity code currently identified the first identity code corresponding with the described first flash of light lamp chip not
With in the case of, the flash lamp chip parameter collection of the corresponding second flash of light lamp chip of second identity code is called, it is described
Flash lamp chip parameter collection includes interface function and/or light filling parameter.
The embodiment of the present application also provides a kind of computer storage media, wherein, computer storage media storage is for electricity
The computer program that subdata exchanges, the computer program cause computer to perform any as described in above-mentioned embodiment of the method
The part or all of step of method, the computer include terminal device.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to perform such as above-mentioned side
The part or all of step of either method described in method embodiment.The computer program product can be a software installation
Bag, the computer include terminal device.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the application and from the limitation of described sequence of movement because
According to the application, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application
It is necessary.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only one kind
Division of logic function, can there is an other dividing mode in actual implementation, such as multiple units or component can combine or can
To be integrated into another system or some features can be ignored or does not perform.Another, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be employed in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use
When, it can be stored in a computer-readable access to memory.Based on such understanding, the technical solution of the application substantially or
Person say the part contribute to the prior art or the technical solution all or part can in the form of software product body
Reveal and, which is stored in a memory, is used including some instructions so that a computer equipment
(can be personal computer, server or network equipment etc.) performs all or part of each embodiment the method for the application
Step.And foregoing memory includes:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Relevant hardware to be instructed to complete by program, which can be stored in a computer-readable memory, memory
It can include:Flash disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access device (English:
Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is set forth, and the explanation of above example is only intended to help to understand the present processes and its core concept;
Meanwhile for those of ordinary skill in the art, according to the thought of the application, can in specific embodiments and applications
There is change part, in conclusion this specification content should not be construed as the limitation to the application.
Claims (10)
1. a kind of reminding method, which is characterized in that applied to the terminal device including flash lamp, including:
The use information of the flash lamp is obtained, the use information includes the flash lamp in the case where using the first flash of light lamp chip
Total guide number;
It is determined the need for replacing flash of light lamp chip according to the use information;
In the case where determining to need replacing flash of light lamp chip, the first replacement prompting is shown in display interface, described first replaces
Prompting replaces flash of light lamp chip for prompting.
2. according to the method described in claim 1, it is characterized in that, described determine the need for replacing according to the use information
Glisten lamp chip, including:
In the case where total guide number is more than or equal to first threshold, the flash lamp in the first preset period of time is obtained
The corresponding M brightness value of M flash of light, the M are positive integer;
Average brightness is determined based on the M brightness value;
In the case where the average brightness and predetermined luminance value are inconsistent, determine to replace the first flash of light lamp chip, institute
State the brightness value that predetermined luminance value is in the flash fire under normal circumstances for the described first flash of light lamp chip.
3. method according to claim 1 or 2, which is characterized in that the method further includes:
In the case where total guide number is more than or equal to second threshold, show that the second replacement carries in the display interface
Show, described second replaces prompting for prompting to replace flash of light lamp chip, and the second threshold is more than the first threshold, and described the
Two replace prompting differs with the described first replacement prompting.
4. according to claim 1-3 any one of them methods, which is characterized in that be stored at least two in the terminal device
Flash lamp chip parameter collection, each flash lamp chip parameter collection correspond to a flash of light lamp chip, described to show the in display interface
After one replaces prompting, the method further includes:
During the start of the terminal device, the driving of registration flash lamp and the identification of identification blink lamp chip
Code;
It is different in the second identity code currently identified the first identity code corresponding from the described first flash of light lamp chip
In the case of, the flash lamp chip parameter collection of the corresponding second flash of light lamp chip of calling second identity code, the flash of light
Lamp chip parameter set includes interface function and/or light filling parameter.
5. a kind of terminal device, which is characterized in that including:
Acquiring unit, for obtaining the use information of the flash lamp, the use information includes the flash lamp and is using the
Total guide number under one flash of light lamp chip;
Determination unit, for being determined the need for replacing flash of light lamp chip according to the use information;
First prompt unit, in the case where determining to need replacing flash of light lamp chip, the first replacement to be shown in display interface
Prompting, described first replaces prompting for prompting to replace flash of light lamp chip.
6. terminal device according to claim 5, which is characterized in that need are determined whether according to the use information described
In terms of replacing flash of light lamp chip, including:
In the case where total guide number is more than or equal to first threshold, the flash lamp in the first preset period of time is obtained
The corresponding M brightness value of M flash of light, the M are positive integer;
Average brightness is determined based on the M brightness value;
In the case where the average brightness and predetermined luminance value are inconsistent, determine to replace the first flash of light lamp chip, institute
State the brightness value that predetermined luminance value is in the flash fire under normal circumstances for the described first flash of light lamp chip.
7. terminal device according to claim 5 or 6, which is characterized in that the terminal device further includes:
Second prompt unit, in the case of being more than or equal to second threshold in total guide number, in the display
Interface display second replaces prompting, and described second replaces prompting for prompting to replace flash of light lamp chip, and the second threshold is more than
The first threshold, described second replaces prompting differs with the described first replacement prompting.
8. according to claim 5-7 any one of them terminal devices, which is characterized in that be stored at least in the terminal device
Two flash lamp chip parameter collection, each flash lamp chip parameter collection corresponds to a flash of light lamp chip, described to be shown in display interface
After showing the first replacement prompting, the terminal device further includes:
During the start of the terminal device, the driving of registration flash lamp and the identification of identification blink lamp chip
Code;
It is different in the second identity code currently identified the first identity code corresponding from the described first flash of light lamp chip
In the case of, the flash lamp chip parameter collection of the corresponding second flash of light lamp chip of calling second identity code, the flash of light
Lamp chip parameter set includes interface function and/or light filling parameter.
9. a kind of terminal device, which is characterized in that including one or more processors, one or more memory, one or more
A transceiver and one or more programs, one or more of programs are stored in the memory, and are configured
It is performed by one or more of processors, described program includes performing such as claim 1-4 any one of them methods
In step instruction.
10. a kind of computer readable storage medium, which is characterized in that it stores the computer program for electronic data interchange,
Wherein, the computer program causes computer to perform such as claim 1-4 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711434185.7A CN108124063B (en) | 2017-12-26 | 2017-12-26 | Prompting method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711434185.7A CN108124063B (en) | 2017-12-26 | 2017-12-26 | Prompting method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108124063A true CN108124063A (en) | 2018-06-05 |
CN108124063B CN108124063B (en) | 2020-12-29 |
Family
ID=62231799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711434185.7A Active CN108124063B (en) | 2017-12-26 | 2017-12-26 | Prompting method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108124063B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112512192A (en) * | 2020-09-25 | 2021-03-16 | 深圳星标科技股份有限公司 | Visual navigation aid equipment protection method and related device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3214563C2 (en) * | 1981-04-20 | 1985-11-21 | Olympus Optical Co., Ltd., Tokio/Tokyo | Control device for controlling the amount of light emitted by a plurality of separate electronic flash units |
JP2004333736A (en) * | 2003-05-06 | 2004-11-25 | Mitsubishi Electric Corp | Portable equipment |
CN102413280A (en) * | 2010-09-17 | 2012-04-11 | 佳能株式会社 | Imaging apparatus and method for controlling same |
CN202940864U (en) * | 2012-11-14 | 2013-05-15 | 吴昊 | Mobile phone with replaceable camera |
CN104486481A (en) * | 2014-11-18 | 2015-04-01 | 广东欧珀移动通信有限公司 | Sharing method of operation setting, user equipment and sharing system |
CN106406554A (en) * | 2016-08-31 | 2017-02-15 | 上海卓易科技股份有限公司 | Reminding method and reminding device |
CN106535434A (en) * | 2016-11-29 | 2017-03-22 | 维沃移动通信有限公司 | Method for controlling flash lamp of mobile terminal and mobile terminal |
CN107454704A (en) * | 2016-05-31 | 2017-12-08 | 西门子瑞士有限公司 | Light crossing-signal |
-
2017
- 2017-12-26 CN CN201711434185.7A patent/CN108124063B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3214563C2 (en) * | 1981-04-20 | 1985-11-21 | Olympus Optical Co., Ltd., Tokio/Tokyo | Control device for controlling the amount of light emitted by a plurality of separate electronic flash units |
JP2004333736A (en) * | 2003-05-06 | 2004-11-25 | Mitsubishi Electric Corp | Portable equipment |
CN102413280A (en) * | 2010-09-17 | 2012-04-11 | 佳能株式会社 | Imaging apparatus and method for controlling same |
CN202940864U (en) * | 2012-11-14 | 2013-05-15 | 吴昊 | Mobile phone with replaceable camera |
CN104486481A (en) * | 2014-11-18 | 2015-04-01 | 广东欧珀移动通信有限公司 | Sharing method of operation setting, user equipment and sharing system |
CN107454704A (en) * | 2016-05-31 | 2017-12-08 | 西门子瑞士有限公司 | Light crossing-signal |
CN106406554A (en) * | 2016-08-31 | 2017-02-15 | 上海卓易科技股份有限公司 | Reminding method and reminding device |
CN106535434A (en) * | 2016-11-29 | 2017-03-22 | 维沃移动通信有限公司 | Method for controlling flash lamp of mobile terminal and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112512192A (en) * | 2020-09-25 | 2021-03-16 | 深圳星标科技股份有限公司 | Visual navigation aid equipment protection method and related device |
CN112512192B (en) * | 2020-09-25 | 2023-04-14 | 深圳星标科技股份有限公司 | Visual navigation aid equipment protection method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN108124063B (en) | 2020-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110083730B (en) | Method and apparatus for managing images using voice tags | |
EP3316136B1 (en) | Method and device for evaluating system fluency, and ue | |
JP6529195B2 (en) | Thermal control device and method | |
US20180032797A1 (en) | Apparatus and method for processing a beauty effect | |
JP6924901B2 (en) | Photography method and electronic equipment | |
CN104580019B (en) | Network service provider method and device | |
CN109086742A (en) | scene recognition method, scene recognition device and mobile terminal | |
CN109429102A (en) | For showing the electronic device and its operating method of application | |
CN109101931A (en) | A kind of scene recognition method, scene Recognition device and terminal device | |
CN108921941A (en) | Image processing method, device, storage medium and electronic equipment | |
CN107465737A (en) | Method of data synchronization, device, storage medium and electronic equipment | |
CN108965981A (en) | Video broadcasting method, device, storage medium and electronic equipment | |
CN105656113A (en) | Method for charging control and electronic device thereof | |
CN111984803B (en) | Multimedia resource processing method and device, computer equipment and storage medium | |
EP3480790A1 (en) | Method and apparatus for continuously displaying images on basis of similarity of images | |
CN110162653A (en) | A kind of picture and text sort recommendations method and terminal device | |
CN106210278A (en) | A kind of method of screen control and terminal | |
EP3454241B1 (en) | Method for collecting facial information and related devices | |
CN108985215B (en) | Picture processing method, picture processing device and terminal equipment | |
CN110333785A (en) | Information processing method, device, storage medium and augmented reality equipment | |
CN109040427A (en) | split screen processing method, device, storage medium and electronic equipment | |
CN108124063A (en) | A kind of reminding method and relevant device | |
CN115437601B (en) | Image ordering method, electronic device, program product and medium | |
CN112989878A (en) | Pupil detection method and related product | |
EP3328066B1 (en) | Electronic device and method for autofocusing |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221212 Address after: 201203 1st floor, building 1, Lane 36, Xuelin Road, Pudong New Area Free Trade Zone, Shanghai Patentee after: SHANGHAI TRANSSION INFORMATION TECHNOLOGY Ltd. Address before: Room 922 / 926, block a, No.1 Lane 399, shengxia Road, Pudong New Area pilot Free Trade Zone, Shanghai 201203 Patentee before: SHANGHAI SPREADRISE COMMUNICATION TECHNOLOGY Ltd. |