CN109348058A - A kind of content presenting method, terminal and computer readable storage medium - Google Patents
A kind of content presenting method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109348058A CN109348058A CN201811259084.5A CN201811259084A CN109348058A CN 109348058 A CN109348058 A CN 109348058A CN 201811259084 A CN201811259084 A CN 201811259084A CN 109348058 A CN109348058 A CN 109348058A
- Authority
- CN
- China
- Prior art keywords
- terminal
- content
- visible sensation
- sensation distance
- facial image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- 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/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of content presenting methods, are applied to terminal, which comprises judge whether terminal is in use state;If so, starting the camera of the terminal;Facial image is obtained by camera;The visible sensation distance of face and screen is calculated according to the facial image;The data content of the terminal is presented according to the visible sensation distance.The present invention also provides a kind of terminal and computer readable storage mediums, terminal can be made dynamically to adjust the data content of terminal according to the visible sensation distance of user and terminal, so that user remains an optimal information re-ception state, the user experience is improved.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of content presenting methods, terminal and computer-readable storage
Medium.
Background technique
With the continuous development of information technology, intelligent terminal gradually becomes the major way that people obtain information.But it is right
In some special populations, such as the elderly, amblyopia crowd, information is obtained by terminal and is less facilitated, because these are special
The eyesight or hearing of crowd is different from our normal persons, therefore, existing terminal content is presented scheme and is not well positioned to meet this
The needs of class special population, user experience be not high.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of content presenting method, terminal and readable storage medium storing program for executing, solve existing
There is intelligent terminal in technical solution that the defect of the information content cannot be presented very well for special population.
To solve the above problems, being applied to terminal the present invention provides a kind of content presenting method, which comprises
Judge whether terminal is in use state;If so, starting the camera of the terminal;Facial image is obtained by camera;Root
The visible sensation distance of face and screen is calculated according to the facial image;In the data that the terminal is presented according to the visible sensation distance
Hold.
Optionally, described to judge include: when recording user's handheld terminal before the step of whether terminal is in use state
The gyro data of the terminal changes and as reference data.
Optionally, described to judge that the step of whether terminal is in use state specifically includes: to judge presently described terminal
Whether gyro data variation matches the reference data;If matching, judges that the terminal is in use state.
Optionally, described to judge that the step of whether terminal is in use state specifically includes: to judge the screen of the terminal
Whether circuit is connected;If so, judging that the terminal is in use state.
Optionally, before the step of visible sensation distance that face and screen are calculated according to the facial image further include:
Judge whether the facial image is authorization image according to the facial image of acquisition;If so, according to the facial image
Calculate the visible sensation distance of face and screen.
Optionally, described to be specifically included according to the step of visible sensation distance of facial image calculating face and screen: root
According to ratio of the facial image of acquisition in entirely imaging picture, the visible sensation distance of face and screen is judged.
Optionally, the step of data content that the terminal is presented according to the visible sensation distance specifically includes: judgement
Size relation between the visible sensation distance and the preset value;In the data that the terminal is presented according to the size relation
Hold.
Optionally, the step of data content that the terminal is presented according to the visible sensation distance specifically includes: working as institute
When stating visible sensation distance greater than the preset value, amplify the data content of the terminal;When the visible sensation distance is equal to described preset
When value, the presentation effect of the data content of the terminal is maintained;When the visible sensation distance is less than the preset value, described in diminution
The data content of terminal.
Further, the present invention also provides a kind of terminals, including processor, memory and communication bus;The storage
Program is presented for storage content in device;The communication bus is for realizing the connection communication between processor and memory;It is described
Processor is for the step of executing content presenting method as described above.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize
The step of described in any item content presenting methods as above.
By implementing above scheme, terminal can be made dynamically to adjust terminal according to the visible sensation distance of user and terminal
Data content, so that user remains an optimal information re-ception state, the user experience is improved.
Detailed description of the invention
In attached drawing (it is not necessarily drawn to scale), similar appended drawing reference can describe phase in different views
As component.Similar reference numerals with different letter suffix can indicate the different examples of similar component.Attached drawing with example and
Unrestricted mode generally shows each embodiment discussed herein.
A kind of hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of content presenting method provided in an embodiment of the present invention;
Fig. 4 is a kind of module diagram of terminal of the present invention;
Fig. 5 is that a kind of terminal of the present invention forms structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
1 describe to realize the mobile terminal of each embodiment of the present invention with reference to the drawings.In subsequent description, make
With the suffix for indicating such as " module ", " component " or " unit " of element only for being conducive to explanation of the invention,
There is no specific meanings for body.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
It is phone, smart phone, laptop, digit broadcasting receiver, personal digital assistant (PDA), tablet computer (PAD), portable
The fixation of the mobile terminal of formula multimedia player (PMP), navigation device etc. and such as number TV, desktop computer etc.
Terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for mobile mesh
Element except, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of embodiment to realize the present invention, the movement is whole
End 100 may include: RF (RadioFrequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, terminal unit 108, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that mobile terminal shown in Figure 2
Structure does not constitute the restriction to mobile terminal, and mobile terminal may include than illustrating more or fewer components, or combination
Certain components or different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access2000, CDMA 2000), WCDMA (Wide band Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 2 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 2, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Terminal unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by terminal.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Terminal unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various terminals and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the present invention is proposed.
The embodiment of the present invention provides a kind of content presenting method, is applied to terminal.It should be understood that this method embodiment
In flow chart be not used in execute step sequence be defined.Referring to shown in Fig. 3, method includes the following steps:
Step S301, judge whether terminal is in use state.
Specifically, the terminal preferably can be mobile terminal, thus it is possible to vary variform, such as can be to have and touch
Control the terminals such as the mobile phone (mobile phone), iPad, notebook of function.
Terminal is also referred to as terminal device, is the equipment for being in network outermost in computer network, is mainly used for user information
Input and the output of processing result etc..In early stage computer system, due to main frame valuableness, a host
Multiple terminals can be generally configured, these terminals itself do not have computing capability, only undertake the work of information input output, operation
It is completed with processing by host.In the personal computer epoch, personal computer can run the program of referred to as terminal emulator
To imitate the work of a terminal.With the development of mobile network, mobile terminal (such as mobile phone, PAD) has obtained widely answering
With.At this point, terminal can not only undertake the work of input and output, while also can be carried out certain operation and processing, realize that part is
System function.
Mobile terminal refers to the equipment that can be used on the move, broad sense say including mobile phone, notebook, tablet computer,
POS machine, or even including vehicle-mounted computer.But refer to mobile phone or the intelligent hand with a variety of application functions in most cases
Machine and tablet computer.As network and technology are towards the development in more and more broadband direction, Mobile Communication Industry will trend
The real mobile message epoch.On the other hand, with the rapid development of integrated circuit technique, the processing capacity of mobile terminal is
Have powerful processing capacity, mobile terminal becomes an integrated information processing platform from simple call tool.This
Also more wide development space is increased to mobile terminal.Mobile terminal is as simple communication equipment with Mobile Communication Development
The history of existing decades.Mobile intelligent terminal is almost changed into the crucial entrance of Internet service between a flash and mainly creates
New platform, new media, e-commerce and information service platform, Internet resources, mobile network resource and environmental interaction resource
Most important hinge, operating system and processor chips even become the strategy system of current entire information and communication technology (ICT) industry
High point.Mobile intelligent terminal can be referred to as intelligent terminal, and mobile intelligent terminal possesses access the Internet capability, usually carry each
Kind operating system can customize various functions according to user demand.In life common intelligent terminal include mobile intelligent terminal,
Vehicle intelligent terminal, smart television, wearable device etc..
In the present embodiment, only in a state of use, the data content of its carrying can be just presented in terminal to user, than
Text image information is such as presented by screen, audio-frequency information is presented by Mike's air horn.Therefore judge whether terminal is in use
Condition mode includes a variety of, for example, first record user's handheld terminal when the terminal gyro data variation and as reference
Data, then judge whether the gyro data variation of presently described terminal matches the reference data;If matching, described in judgement
Terminal is in use state.Alternatively, it is also possible to judge whether the screen circuit of the terminal is connected;If so, judging the end
End is in use state, and under normal circumstances, when user's using terminal, the terminal screen i.e. bright screen of meeting, screen circuit can also be connected.
If step S302, terminal is in use state, start the camera of the terminal.
In the present embodiment, when user's using terminal, start the camera of terminal, wherein the camera started is preferred
For front camera, and then pass through the face image that front camera obtains user.
Step S303, facial image is obtained by camera.
In the present embodiment, facial image is obtained by front camera.Specifically, when user front faces terminal
When, facial image can be obtained by front camera.Likewise, if user does not face terminal front side, but reverse side is held
There is terminal, then facial image can be obtained by starting rear camera.
Step S304, the visible sensation distance of face and screen is calculated according to the facial image.
In the present embodiment, before the step of visible sensation distance that face and screen are calculated according to the facial image
Further include: judge whether the facial image is authorization image according to the facial image of acquisition;If so, according to the people
The visible sensation distance of face image calculating face and screen.Specifically, when terminal obtain facial image nonterminal authorized user, then this
When the just calculating without face and screen-vision distance.Certainly, target can be stored in advance to the process that user authorizes in terminal
Image is to be used to authenticate.And the step of visible sensation distance that face and screen are calculated according to the facial image, specifically includes:
According to ratio of the facial image of acquisition in entirely imaging picture, the visible sensation distance of face and screen is judged.Specifically, according to
Image-forming principle, the picture obtained by camera can be according to ratio of the wherein object in picture and camera itself
Physical parameter, it can judge the physical distance of subject and camera, i.e. visible sensation distance in present embodiment.
Step S305, the data content of the terminal is presented according to the visible sensation distance.
In the present embodiment, the step of data content that the terminal is presented according to the visible sensation distance specifically wraps
It includes: judging the size relation between the visible sensation distance and the preset value;The terminal is presented according to the size relation
Data content.Specifically, amplifying the data content of the terminal when the visible sensation distance is greater than the preset value;When described
When visible sensation distance is equal to the preset value, the presentation effect of the data content of the terminal is maintained;When the visible sensation distance is less than
When the preset value, the data content of the terminal is reduced.Wherein, the data content may include the text diagram that screen is presented
As information, the voice messaging that can also be showed by Mike's air horn.Therefore above-mentioned presentation terminal data content may include putting
It is big to reduce this paper image, reduction audio volume can also be increased.
Content presenting method provided by the embodiment of the present invention, can make terminal according to the vision of user and terminal away from
Data content from dynamic adjustment terminal improves so that user remains an optimal information re-ception state
User experience.
Fig. 4 is a kind of module diagram of terminal of the present invention, the terminal include judgment module 501, starting module 502,
Shooting module 503, computing module 504, control module 505, memory 506 and processor 507, above-mentioned functional module is with program
Code is stored in memory 506 actually, and is executed by processor 507, to realize step or the side in above-described embodiment
Method.
Judgment module 501 is for judging whether terminal is in use state.
Specifically, the terminal preferably can be mobile terminal, thus it is possible to vary variform, such as can be to have and touch
Control the terminals such as the mobile phone (mobile phone), iPad, notebook of function.
Terminal is also referred to as terminal device, is the equipment for being in network outermost in computer network, is mainly used for user information
Input and the output of processing result etc..In early stage computer system, due to main frame valuableness, a host
Multiple terminals can be generally configured, these terminals itself do not have computing capability, only undertake the work of information input output, operation
It is completed with processing by host.In the personal computer epoch, personal computer can run the program of referred to as terminal emulator
To imitate the work of a terminal.With the development of mobile network, mobile terminal (such as mobile phone, PAD) has obtained widely answering
With.At this point, terminal can not only undertake the work of input and output, while also can be carried out certain operation and processing, realize that part is
System function.
Mobile terminal refers to the equipment that can be used on the move, broad sense say including mobile phone, notebook, tablet computer,
POS machine, or even including vehicle-mounted computer.But refer to mobile phone or the intelligent hand with a variety of application functions in most cases
Machine and tablet computer.As network and technology are towards the development in more and more broadband direction, Mobile Communication Industry will trend
The real mobile message epoch.On the other hand, with the rapid development of integrated circuit technique, the processing capacity of mobile terminal is
Have powerful processing capacity, mobile terminal becomes an integrated information processing platform from simple call tool.This
Also more wide development space is increased to mobile terminal.Mobile terminal is as simple communication equipment with Mobile Communication Development
The history of existing decades.Mobile intelligent terminal is almost changed into the crucial entrance of Internet service between a flash and mainly creates
New platform, new media, e-commerce and information service platform, Internet resources, mobile network resource and environmental interaction resource
Most important hinge, operating system and processor chips even become the strategy system of current entire information and communication technology (ICT) industry
High point.Mobile intelligent terminal can be referred to as intelligent terminal, and mobile intelligent terminal possesses access the Internet capability, usually carry each
Kind operating system can customize various functions according to user demand.In life common intelligent terminal include mobile intelligent terminal,
Vehicle intelligent terminal, smart television, wearable device etc..
In the present embodiment, only in a state of use, the data content of its carrying can be just presented in terminal to user, than
Text image information is such as presented by screen, audio-frequency information is presented by Mike's air horn.Therefore judge whether terminal is in use
Condition mode includes a variety of, for example, first record user's handheld terminal when the terminal gyro data variation and as reference
Data, then judge whether the gyro data variation of presently described terminal matches the reference data;If matching, described in judgement
Terminal is in use state.Alternatively, it is also possible to judge whether the screen circuit of the terminal is connected;If so, judging the end
End is in use state, and under normal circumstances, when user's using terminal, the terminal screen i.e. bright screen of meeting, screen circuit can also be connected.
Starting module 502 is used for when terminal is in use state, starts the camera of the terminal.
In the present embodiment, when user's using terminal, start the camera of terminal, wherein the camera started is preferred
For front camera, and then pass through the face image that front camera obtains user.
Shooting module 503 is used to obtain facial image by camera.
In the present embodiment, facial image is obtained by front camera.Specifically, when user front faces terminal
When, facial image can be obtained by front camera.Likewise, if user does not face terminal front side, but reverse side is held
There is terminal, then facial image can be obtained by starting rear camera.
Computing module 504 is used to calculate the visible sensation distance of face and screen according to the facial image.
In the present embodiment, before the step of visible sensation distance that face and screen are calculated according to the facial image
Further include: judge whether the facial image is authorization image according to the facial image of acquisition;If so, according to the people
The visible sensation distance of face image calculating face and screen.Specifically, when terminal obtain facial image nonterminal authorized user, then this
When the just calculating without face and screen-vision distance.Certainly, target can be stored in advance to the process that user authorizes in terminal
Image is to be used to authenticate.And the step of visible sensation distance that face and screen are calculated according to the facial image, specifically includes:
According to ratio of the facial image of acquisition in entirely imaging picture, the visible sensation distance of face and screen is judged.Specifically, according to
Image-forming principle, the picture obtained by camera can be according to ratio of the wherein object in picture and camera itself
Physical parameter, it can judge the physical distance of subject and camera, i.e. visible sensation distance in present embodiment.
Control module 505 is used to present the data content of the terminal according to the visible sensation distance.
In the present embodiment, the step of data content that the terminal is presented according to the visible sensation distance specifically wraps
It includes: judging the size relation between the visible sensation distance and the preset value;The terminal is presented according to the size relation
Data content.Specifically, amplifying the data content of the terminal when the visible sensation distance is greater than the preset value;When described
When visible sensation distance is equal to the preset value, the presentation effect of the data content of the terminal is maintained;When the visible sensation distance is less than
When the preset value, the data content of the terminal is reduced.Wherein, the data content may include the text diagram that screen is presented
As information, the voice messaging that can also be showed by Mike's air horn.Therefore above-mentioned presentation terminal data content may include putting
It is big to reduce this paper image, reduction audio volume can also be increased.
Content presenting method provided by the embodiment of the present invention, can make terminal according to the vision of user and terminal away from
Data content from dynamic adjustment terminal improves so that user remains an optimal information re-ception state
User experience.
Fig. 5 is the composed structure schematic diagram of terminal of the present invention, as shown in figure 5, the terminal includes at least: memory 601,
Communication bus 602 and processor 603, in which:
Program is presented for storage content in the memory 601;
The communication bus 602, for realizing the connection communication between processor and memory;
The processor 603, for executing the content presenting program stored in memory, to realize as described in above-mentioned Fig. 3
Content presenting method the step of.
The present invention also provides a kind of computer readable storage mediums.Content is stored on the computer readable storage medium
Program is presented, the content presenting program realizes step as described above when being executed by processor.
It should be noted that the description of the above terminal embodiment, be with the description of above method embodiment it is similar, have
The similar beneficial effect with embodiment of the method.For undisclosed technical detail in terminal embodiment of the present invention, this hair is please referred to
The description of bright embodiment of the method and understand.
It should be noted that in the embodiment of the present invention, if realizing that above-mentioned content is in the form of software function module
Existing method, and when sold or used as an independent product, it also can store in a computer readable storage medium.Base
In such understanding, substantially the part that contributes to existing technology can be in other words for the technical solution of the embodiment of the present invention
The form of software product embodies, which is stored in a storage medium, including some instructions to
So that a calculating equipment (can be personal computer, server or network equipment etc.) executes each embodiment of the present invention
The all or part of the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read Only
Memory, ROM), the various media that can store program code such as magnetic or disk.In this way, the embodiment of the present invention does not limit
It is combined in any specific hardware and software.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of content presenting method is applied to terminal, which is characterized in that the described method includes:
Judge whether terminal is in use state;
If so, starting the camera of the terminal;
Facial image is obtained by camera;
The visible sensation distance of face and screen is calculated according to the facial image;And
The data content of the terminal is presented according to the visible sensation distance.
2. content presenting method as described in claim 1, which is characterized in that described to judge whether terminal is in use state
Include: before step
Record the gyro data variation of terminal when user's handheld terminal and as reference data.
3. content presenting method as claimed in claim 2, which is characterized in that described to judge whether terminal is in use state
Step specifically includes:
Judge whether the gyro data variation of presently described terminal matches the reference data;
If matching, judges that the terminal is in use state.
4. content presenting method as described in claim 1, which is characterized in that described to judge whether terminal is in use state
Step specifically includes:
Judge whether the screen circuit of the terminal is connected;
If so, judging that the terminal is in use state.
5. content presenting method as described in claim 1, which is characterized in that it is described according to the facial image calculate face with
Before the step of visible sensation distance of screen further include:
Judge whether the facial image is authorization image according to the facial image of acquisition;
If so, calculating the visible sensation distance of face and screen according to the facial image.
6. content presenting method as claimed in claim 5, which is characterized in that it is described according to the facial image calculate face with
The step of visible sensation distance of screen, specifically includes:
According to ratio of the facial image of acquisition in entirely imaging picture, the visible sensation distance of face and screen is judged.
7. content presenting method as described in claim 1, which is characterized in that described that the end is presented according to the visible sensation distance
The step of data content at end, specifically includes:
Judge the size relation between the visible sensation distance and the preset value;
The data content of the terminal is presented according to the size relation.
8. content presenting method as claimed in claim 7, which is characterized in that described that the end is presented according to the visible sensation distance
The step of data content at end, specifically includes:
When the visible sensation distance is greater than the preset value, amplify the data content of the terminal;
When the visible sensation distance is equal to the preset value, the presentation effect of the data content of the terminal is maintained;
When the visible sensation distance is less than the preset value, the data content of the terminal is reduced.
9. a kind of terminal, which is characterized in that the terminal includes at least: memory, communication bus and processor, in which:
Program is presented for storage content in the memory;
The communication bus, for realizing the connection communication between processor and memory;
The processor, for executing the content presenting program stored in memory, to realize as described in claim 1 to 8
The step of content presenting method.
10. a kind of computer readable storage medium, it is stored with content presenting program on the computer readable storage medium, it is described
The step of content presenting method as described in claim 1 to 8 is realized when content presenting program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811259084.5A CN109348058A (en) | 2018-10-26 | 2018-10-26 | A kind of content presenting method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811259084.5A CN109348058A (en) | 2018-10-26 | 2018-10-26 | A kind of content presenting method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109348058A true CN109348058A (en) | 2019-02-15 |
Family
ID=65312052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811259084.5A Pending CN109348058A (en) | 2018-10-26 | 2018-10-26 | A kind of content presenting method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109348058A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106022209A (en) * | 2016-04-29 | 2016-10-12 | 杭州华橙网络科技有限公司 | Distance estimation and processing method based on face detection and device based on face detection |
CN106878780A (en) * | 2017-04-28 | 2017-06-20 | 张青 | It is capable of the intelligent TV set and its control system and control method of Intelligent adjustment brightness |
CN107273814A (en) * | 2017-05-24 | 2017-10-20 | 中广热点云科技有限公司 | The regulation and control method and regulator control system of a kind of screen display |
CN107679381A (en) * | 2017-09-15 | 2018-02-09 | 维沃移动通信有限公司 | A kind of announcement information processing method and mobile terminal |
-
2018
- 2018-10-26 CN CN201811259084.5A patent/CN109348058A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106022209A (en) * | 2016-04-29 | 2016-10-12 | 杭州华橙网络科技有限公司 | Distance estimation and processing method based on face detection and device based on face detection |
CN106878780A (en) * | 2017-04-28 | 2017-06-20 | 张青 | It is capable of the intelligent TV set and its control system and control method of Intelligent adjustment brightness |
CN107273814A (en) * | 2017-05-24 | 2017-10-20 | 中广热点云科技有限公司 | The regulation and control method and regulator control system of a kind of screen display |
CN107679381A (en) * | 2017-09-15 | 2018-02-09 | 维沃移动通信有限公司 | A kind of announcement information processing method and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108495056A (en) | Photographic method, mobile terminal and computer readable storage medium | |
CN106961706A (en) | Method, mobile terminal and the computer-readable recording medium of communication pattern switching | |
CN109032466A (en) | Long screenshot method, mobile terminal and storage medium based on double screen | |
CN109739602A (en) | A kind of mobile terminal wallpaper setting method and device, mobile terminal and storage medium | |
CN109800602A (en) | Method for secret protection, mobile terminal and computer readable storage medium | |
CN109453523A (en) | A kind of game picture display processing method, terminal and computer readable storage medium | |
CN108537021A (en) | Unlocked by fingerprint method, terminal and computer readable storage medium based on double-sided screen | |
CN109144441A (en) | A kind of screen adjustment method, terminal and computer readable storage medium | |
CN108833665A (en) | Communication means, wearable device and computer readable storage medium | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN108958936A (en) | Application programe switch-over method, mobile terminal and computer readable storage medium | |
CN109672822A (en) | A kind of method for processing video frequency of mobile terminal, mobile terminal and storage medium | |
CN108833690A (en) | authority control method, terminal and computer readable storage medium | |
CN110347306A (en) | A kind of multi-screen display method, terminal and computer readable storage medium | |
CN109710159A (en) | A kind of flexible screen response method, equipment and computer readable storage medium | |
CN109276881A (en) | A kind of game control method, equipment | |
CN108259233A (en) | Graphics processor GPU method for parameter configuration and mobile terminal in a kind of mobile terminal | |
CN109117069B (en) | Interface operation method, terminal and computer readable storage medium | |
CN109544140A (en) | A kind of identification code scan method, terminal and readable storage medium storing program for executing | |
CN109068084A (en) | Video calling picture display process, mobile terminal and computer readable storage medium | |
CN110069122A (en) | A kind of screen control method, terminal and computer readable storage medium | |
CN108958452A (en) | A kind of screen control method, terminal and computer readable storage medium | |
CN108769534A (en) | A kind of focalization method and terminal | |
CN108566456A (en) | Image pickup method, mobile terminal and computer readable storage medium | |
CN107613284B (en) | A kind of image processing method, terminal and computer readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190215 |
|
RJ01 | Rejection of invention patent application after publication |