Summary of the invention
To solve the above-mentioned problems, the projection triggering method based on electric quantity monitoring that the present invention provides a kind of, can be based on
The font size of display screen present displayed content decides whether to project, so that mobile phone user be avoided to watch on mobile phone display screen
Too small font more crucially also introduces targeted electric power detection mechanism and image recognition mechanism, to improve
Availability of the invention.
According to an aspect of the present invention, a kind of projection triggering method based on electric quantity monitoring is provided, the method includes
It is with the font size decision based on present displayed content on mobile phone display screen using the projection triggering platform based on electric quantity monitoring
No projection, so that mobile phone user be avoided to watch too small font, the projection touching based on electric quantity monitoring on mobile phone display screen
Sending out platform includes:
Electric power detection equipment is connect with the power panel of mobile phone, and the battery that the power panel for detecting mobile phone is connected is worked as
Preceding remaining capacity, and the current residual electricity is exported, the current residual electricity is indicated with percents;
SDRAM storage chip, is arranged on the control panel of mobile phone, for triggering percentage threshold to be stored in advance;
Display caching equipment, for storing the newest frame of display data of preset quantity, the newest display of the preset quantity
It include the data frame shown on mobile phone display screen in data frame;
Data extraction device is set with the electric power detection equipment, the SDRAM storage chip and the display caching respectively
Standby connection, is showing on the current residual electricity, the triggering percentage threshold and the mobile phone display screen for receiving
The data frame shown sends electricity abundance signal when the current residual electricity is more than or equal to the triggering percentage threshold, and
The data frame shown on the mobile phone display screen is exported as data frame to be analyzed, is also used to when the current residual electricity
When amount is less than the triggering percentage threshold, not enough power supply signal is sent;
Background separation equipment is connect with the data extraction device, for receiving the data frame to be analyzed, to it is described to
It analyzes data frame and carries out background separation operation, to obtain image after separating background and be exported as foreground image;
Perspective process equipment is connect with the background separation equipment, for receiving the foreground image, and by the prospect
The pixel that gray value is less than or equal to default gray threshold in image will own as initialized pixel point in the foreground image
Initialized pixel point is spliced into initialization fragment.
Therefore, the present invention has following inventive point:
(1) the double-deck recognition mode is applied in combination, and avoids the excessive operand of target identification, to improve identification operation
Rate;
(2) feature larger based on projection power consumption devises only in the case where electricity abundance, just starting projection behaviour
The trigger mechanism of work, meanwhile, also the font size based on present displayed content decides whether to project in the trigger mechanism, thus
Mobile phone user is avoided to watch too small font on mobile phone display screen.
Specific embodiment
The embodiment of projection triggering platform below with reference to accompanying drawings to of the invention based on electric quantity monitoring carries out detailed
Explanation.
In order to overcome above-mentioned deficiency, the present invention has built a kind of projection triggering method based on electric quantity monitoring, the method
It is determined including using the projection based on electric quantity monitoring to trigger platform with the font size based on present displayed content on mobile phone display screen
It is fixed whether to project, so that mobile phone user be avoided to watch too small font on mobile phone display screen.The throwing based on electric quantity monitoring
Shadow triggers platform and injures caused by eyes of user for reducing display screen.
Fig. 1 is the perspective view according to the projection triggering platform based on electric quantity monitoring shown in embodiment of the present invention.
The projection based on electric quantity monitoring shown according to an embodiment of the present invention triggers platform
Electric power detection equipment is connect with the power panel of mobile phone, and the battery that the power panel for detecting mobile phone is connected is worked as
Preceding remaining capacity, and the current residual electricity is exported, the current residual electricity is indicated with percents;
SDRAM storage chip, is arranged on the control panel of mobile phone, for triggering percentage threshold to be stored in advance.
Then, the specific structure for continuing the projection triggering platform to of the invention based on electric quantity monitoring carries out further
It is bright.
Can also include: in the projection triggering platform based on electric quantity monitoring
Display caching equipment, for storing the newest frame of display data of preset quantity, the newest display of the preset quantity
It include the data frame shown on mobile phone display screen in data frame.
Can also include: in the projection triggering platform based on electric quantity monitoring
Data extraction device is set with the electric power detection equipment, the SDRAM storage chip and the display caching respectively
Standby connection, is showing on the current residual electricity, the triggering percentage threshold and the mobile phone display screen for receiving
The data frame shown sends electricity abundance signal when the current residual electricity is more than or equal to the triggering percentage threshold, and
The data frame shown on the mobile phone display screen is exported as data frame to be analyzed, is also used to when the current residual electricity
When amount is less than the triggering percentage threshold, not enough power supply signal is sent.
Can also include: in the projection triggering platform based on electric quantity monitoring
Background separation equipment is connect with the data extraction device, for receiving the data frame to be analyzed, to it is described to
It analyzes data frame and carries out background separation operation, to obtain image after separating background and be exported as foreground image;
Perspective process equipment is connect with the background separation equipment, for receiving the foreground image, and by the prospect
The pixel that gray value is less than or equal to default gray threshold in image will own as initialized pixel point in the foreground image
Initialized pixel point is spliced into initialization fragment;
Channel value analytical equipment is connect with the perspective process equipment, will be described first for receiving the initialization fragment
The cyan channel value of each of beginningization fragment pixel square, magenta channel value square, yellow channels value it is flat
Result after the summed square of side and black channel value carries out extracting operation, to obtain the operation result of corresponding pixel points;
Crumb data extract equipment is connect with the channel value analytical equipment, for receiving in the initialization fragment
The operation result of each pixel carries out maximum amplitude analysis to the operation result of multiple pixels of each column, by acquisition
Variation amplitude of the maximum amplitude as respective column exports the variation amplitude of each column in the initialization fragment;
Font analytical equipment is connect with the crumb data extract equipment, is used for each column in the initialization fragment
Variation amplitude in the biggish half of numerical value arrange and split from the initialization fragment, divide fragment again to form, be based on
It is described to divide fragment again, the font size divided in fragment again is determined, to export as target font size;
Data compare equipment, connect with the font analytical equipment, are used for the target font size and default font
Size is compared, and when the target font size is less than the default font size, the too small signal of font is issued, when described
When target font size is more than or equal to the default font size, font normal signal is issued;
Lamp drive device is projected, equipment and data extraction device connection compared with the data respectively, for connecing
When receiving the not enough power supply signal or the font normal signal, the projecting acts of projection lamp are interrupted, are also used to receiving
When the too small signal of the font, start the projecting acts of projection lamp;
Content driven equipment is connect with the projection lamp drive device, for when projection lamp starts and projects, mobile phone to be shown
The content shown in display screen is switched to the content of Projection Display.
In the projection triggering platform based on electric quantity monitoring:
In the crumb data extract equipment, maximum amplitude point is carried out to the operation result of multiple pixels of each column
Analysis includes: the maximum value and minimum value in the operation result for obtain multiple pixels of each column, and the maximum value is subtracted institute
Minimum value is stated to obtain the maximum amplitude.
And can also include: in the projection triggering platform based on electric quantity monitoring
Color selecting device is connect, for selecting projection lamp under the operation of user with the projection lamp drive device
Projected color, in order to which the projection lamp drive device accordingly controls the projected color of projection lamp.
In addition, the font analytical equipment is realized using SOC chip.System on Chip, abbreviation SOC namely piece
Upper system.It is said from narrow sense angle, he is the integrated chip of information system core, is that system core component is integrated in chip piece
On;It is said from broadest scope, SoC is a mini system, if central processing unit (CPU) is brain, then SOC is exactly to wrap
The system for including brain, heart, eyes and hand.Domestic and international academia, which is generally inclined to, is defined as SOC by microprocessor, simulation IP
Core, digital IP kernel and memory (or piece external storage control interface) integrate on a single chip, he is usually customization, or
It is the standardized product towards special-purpose.
The basic content that SOC is defined is mainly both ways: one is his composition, the second is his forming process.It is system-level
The composition of chip can be system level chip control logic module, microprocessor/microcontroller CPU core module, digital signal
Processor DSP module, the memory module of insertion and the external interface module communicated, the AFE(analog front end) containing ADC/DAC
Module, power supply provides and power managed module, and SoC wireless for one there are also RF front-end module, user defines logic, and (he can
By FPGA or ASIC realization) and microelectron-mechanical module, it is often more important that a SOC chip is embedded with basic software
(RDOS or COS and other application software) module or the user software that can be loaded into etc..
Platform is triggered using projection of the invention based on electric quantity monitoring, for show screen to user in the prior art
Eyeball injures excessive technical problem, decides whether to project by the font size based on present displayed content, to avoid mobile phone
User watches too small font on mobile phone display screen, reduces mobile phone display screen to injury caused by user security risk, meanwhile, it will also be double-deck
Recognition mode is applied in combination, and avoids the excessive operand of target identification, and the feature larger based on projection power consumption, if
It has counted only in the case where electricity abundance, just the trigger mechanism of starting projection operation.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of variation.Therefore, anything that does not depart from the technical scheme of the invention are right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.