CN109358909A - Show page control method, terminal and computer readable storage medium - Google Patents

Show page control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109358909A
CN109358909A CN201810991000.0A CN201810991000A CN109358909A CN 109358909 A CN109358909 A CN 109358909A CN 201810991000 A CN201810991000 A CN 201810991000A CN 109358909 A CN109358909 A CN 109358909A
Authority
CN
China
Prior art keywords
display page
mobile object
dot matrix
mobile
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810991000.0A
Other languages
Chinese (zh)
Inventor
陈浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810991000.0A priority Critical patent/CN109358909A/en
Publication of CN109358909A publication Critical patent/CN109358909A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of display page control methods, terminal and computer readable storage medium, for in practical application scene, user can be potentially encountered the case where inconvenient control in such a way that contact swipes to realize the display page, at this time without the mode of other controllable display pages, the problem of greatly affected user experience, mobile object is monitored by CCD monitoring device, and when monitoring mobile object, calculate the dot matrix width of the mobile object, and then when dot matrix width meets preset threshold requirement, current display page is controlled according to the moving direction of mobile object.In this way, for a user, it can be by with objects such as palms, side contact terminal and carries out the mobile control that can be realized to the display page at the terminal, in the case where solving the control that user encounters inconvenience in such a way that contact swipes to realize the display page, the problem of not can be carried out the control of the display page, greatly the user experience is improved.

Description

Show page control method, terminal and computer readable storage medium
Technical field
The present invention relates to field of terminal technology, more specifically to a kind of display page control method, terminal and calculating Machine readable storage medium storing program for executing.
Background technique
With the fast development and progress of Modern communication devices and internet industry, intelligent terminal with our life Closely coupled, people obtain latest news information in social life, understand work industry technology encyclopaedia, and loosen amusement and exist Largely all it be unable to do without portable mobile terminal.With the development of science and technology, smart phone collected call, photography, The functions such as online, short message, shopping, video, simultaneously as Internet industry chain and 5G epoch are at hand, people Can also be more and more for the demand of mobile terminal, so also can use pattern to mobile terminal and user experience have more High requirement.
Page control is one of interaction most frequent between user and terminal.Current almost all of intelligent terminal is all adopted The control of the display page is realized with the mode that finger contact swipes.But practical application scene is complicated, user's possibility The case where inconvenient control in such a way that contact swipes to realize the display page can be encountered (such as user's finger speckles with oil Perhaps other dirty foreign matters or user's left hand hold mobile phone to stain, and the right hand, which also holds other articles, is inconvenient to situations such as contacting), User is the control that inconvenience carries out the display page at this time, greatly affected user experience.
Summary of the invention
The technical problem to be solved in the present invention is that: in practical application scene, user, which can be potentially encountered, to be inconvenient to pass through The case where control of the mode that contact swipes to realize the display page, at this time without other controllable sides for showing the pages Formula greatly affected user experience.For the technical problem, the present invention provide a kind of display page control method, terminal and Computer readable storage medium.
In order to solve the above technical problems, the present invention provides a kind of display page control method, the display page controlling party Method includes:
Mobile object is monitored by CCD (Charge Coupled Device, charge-coupled device) monitoring device;
When monitoring mobile object, the dot matrix width of the mobile object is calculated;
It is current aobvious according to the control of the moving direction of the mobile object when the dot matrix width meets preset threshold requirement Show the page.
Optionally, the mobile object are as follows: mobile distance is more than or equal to the object of default first distance threshold value.
Optionally, the dot matrix width meets preset threshold and requires to include: the dot matrix width accounts for the CCD monitoring device Maximum dot matrix width ratio be greater than preset ratio threshold value;
Or, the dot matrix width meets preset threshold and requires to include: the dot matrix width is greater than predetermined width threshold value;
Or, the dot matrix width meets preset threshold and requires to include: the dot matrix width accounts for the CCD monitoring device most The ratio of big dot matrix width is greater than preset ratio threshold value, and the dot matrix width is greater than predetermined width threshold value;
Or, the dot matrix width meets preset threshold and requires to include: the dot matrix width accounts for the CCD monitoring device most The ratio of big dot matrix width is greater than preset ratio threshold value or the dot matrix width is greater than predetermined width threshold value.
Optionally, the control current display page includes:
Control current display page is switched to a display interface or next display interface, or control current display page into The sliding of row up/down.
Optionally, the display page control method, further includes:
It is described according to the moving direction of the mobile object control current display page be switched to a upper display interface or under One display interface includes:
When the moving direction of the mobile object is that left/right is mobile, controls the current display page and be switched to one Display interface or next display interface;
It is described to include: according to the control current display page progress up/down sliding of the moving direction of the mobile object
When the moving direction of the mobile object is that up/down is mobile, the current display page up/down sliding is controlled.
Optionally, the control current display page include control current display page be switched to a upper display interface or When next display interface, described when monitoring mobile object, further includes:
A upper display interface and/or next display interface adjacent with current display page are detected, and caches described upper one Display interface and/or next display interface.
Optionally, when the moving direction of the mobile object is that left/right is mobile, the control current display page It is switched to a display interface or next display interface includes:
When the mobile satisfaction of the mobile object presets switching condition, controls the current display page and be switched to one Display interface or next display interface.
Optionally, the default switching condition of the mobile satisfaction of the mobile object includes:
The moving distance of the mobile object is more than or equal to default second distance threshold value;
And/or the mobile object leaves the monitoring region of the CCD monitoring device.
Further, the present invention also provides a kind of terminal, the terminal includes that processor, memory and communication are total Line;
The communication bus is for realizing the connection communication between the processor and memory;
The processor is for executing one or more program stored in the memory, to realize any of the above-described kind Display page control method the step of.
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 any of the above-described kind of display page control method.
Beneficial effect
Display page control method, terminal and computer readable storage medium provided by the invention, in practical application In scene, the case where user can be potentially encountered the inconvenient control in such a way that contact swipes to realize the display page, this When the problem of not having the modes of other controllable display pages, greatly affected user experience, pass through CCD monitoring device (including the camera system of CCD in such as terminal) is monitored mobile object, and when monitoring mobile object, calculates the movement The dot matrix width of object, and then when dot matrix width meets preset threshold requirement, worked as according to the control of the moving direction of mobile object The preceding display page.It, can be by with objects such as palms, side contact terminal and is moved at the terminal in this way, for a user The dynamic control that can be realized to the display page solves user and encounters inconvenience in such a way that contact swipes to realize display In the case where the control of the page, not can be carried out display the page control the problem of, greatly the user experience is improved.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 optional terminal of each embodiment to realize the present invention;
Fig. 2 is a kind of basic flow chart for display page control method that first embodiment of the invention provides;
Fig. 3 is a kind of display page switching schematic diagram that first embodiment of the invention provides;
Fig. 4 is another display page switching schematic diagram that first embodiment of the invention provides;
Fig. 5 is a kind of display page figure downslide schematic diagram that first embodiment of the invention provides;
Sliding schematic diagram on a kind of display page figure that Fig. 6 provides for first embodiment of the invention;
Fig. 7 is a kind of display page switching flow diagram that second embodiment of the invention provides;
Fig. 8 is that a kind of dot matrix for mobile object that second embodiment of the invention provides changes schematic diagram;
Fig. 9 is a kind of CCD dot matrix schematic diagram that second embodiment of the invention provides;
Figure 10 is a kind of terminal structure schematic diagram that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as with bending Mobile phone, tablet computer, laptop, palm PC, personal digital assistant (the Personal Digital of function Assistant, PDA), portable media player (Portable Media Player, PMP), navigation device, wearable set The fixed terminals such as the mobile terminals such as standby, Intelligent bracelet, pedometer, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, 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, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
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 Access 2000, CDMA 2000), WCDMA (Wideband 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. 1 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 carries out in memory 109 (or other computer readable storage mediums) or via radio frequency unit 101 or WiFi module 102 It sends.Microphone 1042 can be in telephone calling model, logging mode, speech recognition mode etc. operational mode via Mike Wind 1042 receives sound (audio data), and can be audio data by such acoustic processing.Treated audio (language Sound) data can be converted in the case where telephone calling model to be sent to mobile communication base station via radio frequency unit 101 Format output.Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and received with eliminating (or inhibition) With the noise or interference generated during transmission audio signal.
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. 1, 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.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.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..Interface 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 interfaces 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.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the method for the present invention is proposed.
First embodiment
To solve in practical application scene, user can be potentially encountered inconvenience in such a way that contact swipes to realize The case where showing the control of the page greatly affected user experience at this time without the mode of other controllable display pages The problem of, present embodiments provide a kind of display page control method.Shown in Figure 2, Fig. 2 is one kind provided in this embodiment Show page control method basic flow chart, comprising:
S201: mobile object is monitored by CCD monitoring device;
It should be noted that CCD monitoring device can be the camera system in terminal comprising CCD in the present embodiment.Also need It is noted that CCD is a kind of particular semiconductor device, there are many same photosensitive elements above, each photosensitive element is one A pixel.CCD is an extremely important component in video camera, it plays the role of for light being converted into electric signal, similar In the eyes of people.
In the present embodiment, CCD monitoring device can be the front video of terminal.Particularly, for double screen terminal and Speech, it is thus necessary to determine that the display screen where the page controlled required for user, and then start with the display location on the same face CCD monitoring device.Such as shown in the display screen of the page for needing to control overleaf, then needing to be started to be postposition camera shooting Machine.What needs to be explained here is that for double-sided screen terminal, excuse can be provided and which is specifically enabled take the photograph for user is selected Camera, but can also be automatically determined by terminal.In the present embodiment, it is by a kind of feasible pattern that terminal automatically determines: terminal Which the display screen of automatic detection user's last time touch-control is, and then automatically determines the display of enabling Yu user's last time touch-control Screen is located at the video camera on the same face.
S202: when monitoring mobile object, the dot matrix width of mobile object is calculated;
It should be noted that the mobile object in the present embodiment referred to: mobile distance be more than or equal to default first away from Object from threshold value.First distance threshold value can be by engineer based on experience value or lot of experimental data is set in the present embodiment It is fixed.In the present embodiment, first distance threshold value can be set to a specific dot matrix width.
It should also be noted that, the dot matrix width of mobile object is the point that mobile object occupies in CCD in the present embodiment The width in array area domain.
S203: when dot matrix width meets preset threshold requirement, current display is controlled according to the moving direction of mobile object The page.
In actual application, the mobile object that CCD is monitored may be not the operation object of user, such as CCD Monitor the fly flown over, then this fly is the mobile object that CCD is monitored, but it is not the operation of user Object.In fact, for the mobile objects such as fly, often farther out from terminal, therefore the dot matrix width being incident upon on CCD Very little, and user is when operating, operation object is can be closer from terminal, so that the dot matrix being incident upon on CCD is wide It spends larger.Therefore in order to accurately make mobile object whether be user operation object, can be by with lower section in the present embodiment Any one in formula is determined:
Mode one: the ratio for the maximum dot matrix width that can account for CCD monitoring device in the dot matrix width of mobile object is greater than When preset ratio threshold value, it is believed that mobile object is the operation object of user, at this time can be according to the moving direction control of mobile object Current display page processed.
For example, setting the dot matrix width of mobile object as H, the maximum dot matrix width of CCD monitoring device is L, preset ratio threshold Value is δA, then in δAWhen < H/L, current display page can be controlled according to the moving direction of mobile object.
It should be noted that preset ratio threshold value can be set according to actual needs by engineer in the present embodiment.
Mode two: can be when the dot matrix width of mobile object is greater than predetermined width threshold value, it is believed that mobile object is user Operation object, at this time can according to the moving direction of mobile object control current display page.
For example, setting the dot matrix width of mobile object as H, pre-determined distance threshold value is δH, then in δHIt, can be according to movement when < H The moving direction of object controls current display page.
It should be noted that predetermined width threshold value can be set according to actual needs by engineer in the present embodiment.
Mode three: the ratio for the maximum dot matrix width that can account for CCD monitoring device in the dot matrix width of mobile object is greater than Preset ratio threshold value, and the dot matrix width of mobile object be greater than predetermined width threshold value when, it is believed that mobile object be user operation Object can control current display page according to the moving direction of mobile object at this time.
It is worth noting that, that is, engineer can set up two threshold values, i.e. preset ratio in terminal for mode three Threshold value and predetermined width threshold value, (threshold condition is: the dot matrix width of mobile object when being only all satisfied there are two threshold condition The ratio for accounting for the maximum dot matrix width of CCD monitoring device needs to be greater than preset ratio threshold value;Another threshold condition is: mobile pair The dot matrix width of elephant needs to be greater than predetermined width threshold value), just current display page can be controlled according to the moving direction of mobile object. And for mode one and mode two, engineer can only set up a threshold value in terminal.
Mode four: the ratio for the maximum dot matrix width that can account for CCD monitoring device in the dot matrix width of mobile object is greater than When the dot matrix width of preset ratio threshold value or mobile object is greater than predetermined width threshold value, it is believed that mobile object is the operation of user Object can control current display page according to the moving direction of mobile object at this time.
It is worth noting that, that is, engineer can set up two threshold values, i.e. preset ratio in terminal for mode four Threshold value and predetermined width threshold value, (threshold condition is: moving when any one threshold condition in two threshold conditions meets The ratio for the maximum dot matrix width that the dot matrix width of dynamic object accounts for CCD monitoring device needs to be greater than preset ratio threshold value;Another Threshold condition is: the dot matrix width of mobile object needs to be greater than predetermined width threshold value), it will be according to the moving direction of mobile object Control current display page.
In the present embodiment, control current display page includes: that control current display page is switched to a display interface Or next display interface, or control current display page progress up/down sliding.
It is specific:
In the present embodiment, when the moving direction of mobile object is that left/right is mobile, control current display page is switched to A upper display interface or next display interface.More specifically, can be when the moving direction of mobile object be to be moved to the left, control Current display page is switched to next display page, such as (current display page is page A, next display page shown in Fig. 3 For page B);When the moving direction of mobile object is to move right, current display page is switched to upper display circle by control Face, such as (current display page is page B, and the upper display page is page A) shown in Fig. 4.
In the present embodiment, when the moving direction of mobile object is that up/down is mobile, current display page up/down is controlled Sliding.More specifically, current display page upward sliding can be controlled when the moving direction of mobile object is to move up, The content not shown below display page-out, such as shown in Fig. 5;When the moving direction of mobile object is to move down, Current display page slide downward is controlled, shows the content not shown above page-out, such as shown in Fig. 6.
It should be noted that can be set when being initially configured to terminal and only can control current display page switching For a upper display interface or next display interface, or it only can control current display page and carry out up/down sliding.
It should be understood that if being provided that when being initially configured to terminal and only can control current display page switching For a upper display interface or next display interface, cut then only can control current display page according to the moving direction of mobile object It being changed to a display interface or next display interface, carrying out up/down sliding without can control current display page.For example, still When the moving direction for being set in mobile object is that left/right is mobile, control current display page be switched to a display interface or under One display interface.Then when the moving direction of mobile object is that up/down is mobile, terminal will not control current display page and make Any change.
If correspondingly, being provided that only can control current display page carries out up/down when being initially configured to terminal Sliding is worked as then only can control current display page according to the moving direction of mobile object carries out up/down sliding without can control Preceding display page switching is a upper display interface or next display interface.
In the present embodiment, it can be switched to by the way that the left/right of mobile object is mobile to control current display page When one display interface or next display interface, the mobile needs that can set mobile object meet default switching condition, only exist The switching of the display page could be triggered when meeting default switching condition.
Specifically, can be when the moving distance of mobile object is more than or equal to default second distance threshold value, triggering is determined It controls current display page according to moving left and right for mobile object and is switched to cutting for a upper display interface or next display interface Change of current journey.
Specifically, can also be the movement in mobile object so that the mobile object has left the monitoring of CCD monitoring device When region, determine triggering according to mobile object move left and right control current display page be switched to a upper display interface or under The switching flow of one display interface.
It is more than or equal to default second distance threshold value, and mobile pair in the moving distance of mobile object specifically, can also be When the movement of elephant is so that the mobile object has left the monitoring region of CCD monitoring device, determine triggering according to a left side for mobile object It moves right to control the switching flow that current display page is switched to a upper display interface or next display interface.
It should be understood that reducing the waiting time of user for the page switching speed of increasing terminal, user's body is promoted It tests, in the present embodiment terminal it is aobvious can to detect upper one adjacent with current display page when monitoring mobile object automatically Show interface and/or next display interface, and caches a display interface and/or next display interface on this.In this way in mobile object Dot matrix width meet preset threshold requirement, and when the moving direction of mobile object is that left/right is mobile, that is, pass through upper the one of caching Display interface and/or next display interface realize rapidly the switching of the page.
It is worth noting that, in the present embodiment, when the moving direction of mobile object is that up/down is mobile, or mobile pair When the movement of elephant is unsatisfactory for default switching condition, a upper display interface adjacent with current display page for caching can be discharged And/or next display interface, to save the cache resources of terminal.
In the present embodiment, it is slided by the way that the up/down of mobile object is mobile to control current display page up/down, specifically Current display page up/down sliding distance can be determined according to the mobile dot matrix distance of the up/down of mobile object.
In addition, in the present embodiment, when mobile object carries out up/down movement, if mobile object has moved out CCD monitoring The monitoring region of equipment, a kind of specific embodiment are: can move out the monitoring region of CCD monitoring device in mobile object When stop that (page is shown mobile object and has moved out CCD monitoring device to the sliding of the up/down of current display page immediately Monitor content of pages when region, the reduction without content of pages).Another specific embodiment is: can be according to movement Object has moved out the speed when monitoring region of CCD monitoring device, calculates and is still needed to current aobvious according to default turn of calculation formula Show the up/down sliding distance that the page carries out, continues up/down sliding according to calculated distance.
It should be noted that when using showing that page control method carries out display control in the present embodiment, in order to prevent Occur user hold terminal it is mobile when while being walked with terminal edge (such as user side), there is the case where accidentally controlling, in the present embodiment Proprietary mode interface, such as referred to as contactless page control interface can be set, nothing is opened by the interface in user and is connect After touching page control model, terminal can just execute each step that page control method is shown in the present embodiment.It needs to manage simultaneously Solution, under contactless page control model, video camera must be opened in real time, therefore to the resource consumption of terminal compared with Greatly, therefore being provided with proprietary mode interface it controls whether using each step for showing page control method in the present embodiment Afterwards, the resource consumption of terminal can also be effectively reduced.
It should be understood that each step in above-mentioned display page control method can be by terminal 100 as shown in Figure 1 Independently to realize.Specifically, one or more programs of above-mentioned each step can be realized by storing in memory 109, The program is executed by processor 110, control graphics processor 1041 is carried out to what image capture apparatus (such as camera) obtained Corresponding dot matrix width calculates, and controls display unit 106 and carry out showing that the page adjusts accordingly, to realize above-mentioned display page Each step of face control method.
Display page control method provided in this embodiment (includes the camera shooting of CCD in such as terminal by CCD monitoring device System) mobile object is monitored, and when monitoring mobile object, calculate the dot matrix width of the mobile object, Jin Er When dot matrix width meets preset threshold requirement, current display page is controlled according to the moving direction of mobile object.In this way, for It, can be by with objects such as palms, side contact terminal and carries out mobile can be realized to the display page at the terminal for family Control, in the case where solving the control that user encounters inconvenience in such a way that contact swipes to realize the display page, no The problem of can be carried out the control of the display page, greatly the user experience is improved.
Second embodiment
The present embodiment is on the basis of first embodiment, with more specific according to mobile object in a kind of single screen terminal Left/right it is mobile control for current display page is switched to the process of a upper display interface or next display interface, to Invention is made further to illustrate.
Shown in Figure 7, Fig. 7 is a kind of display page switching flow diagram provided by the present embodiment, comprising:
S701: the contactless page control function open command received from exterior of terminal input opens contactless page control Function processed;
In the present embodiment, user can according to oneself hobby choose whether in the terminal using this function.If with Whether family has before having selected this function, terminal that will monitor screen using existing monitoring device (front video of such as terminal) Object occurs relatively mobile on a large scale.
S702: object of the front video monitoring in coverage with CCD is opened;
S703: when having monitored mobile object, judge whether the dot matrix width of mobile object meets wanting for preset threshold A It asks;If so, going to step S704 and step S705;Otherwise, step S702 is gone to.
In the present embodiment, mobile object refers to the object for occurring relatively to move on a large scale.For terminal, It can determine whether by the way that whether the moving distance of test object is more than or equal to default first distance threshold value for mobile object.
When having monitored mobile object, terminal can further calculate the mobile object in the dot matrix width of CCD.If The dot matrix width of the object meets the requirement of threshold value A, illustrates that this object is theoretically operation object (such as user's palm of user Deng), at this time terminal will test with current adjacent a upper display interface and next display interface, and backstage by these pages into Row preloads and caching, to improve the response speed of the subsequent switching display page.
S704: a upper display interface adjacent with current display page and next display interface are detected and is cached;
S705: judge whether mobile object meets default switching condition;If so, going to step S706;Otherwise, step is gone to S702。
In the present embodiment, default switching condition can be with are as follows: mobile object leaves monitoring region.
In the present embodiment, terminal may determine that whether mobile object completely disengages monitoring region.If being unsatisfactory for this to want It asks, illustrates that theoretically user terminates handover operation for this.Terminal can empty the neighboring screens information of preloading at this time, empty slow Deposit to discharge resource, final flowsheet returns to S702, i.e., again monitored object (it should be understood that in a kind of tool of the present embodiment In body embodiment, it can not also empty the cache, and directly process returns to S702, downstream can no longer execute step at this time S704);If the manipulation object of user meets the requirement for completely disengaging monitoring region, illustrate that theoretically user's confirmation needs to switch Show the page, terminal will be triggered according to the moving direction of mobile object to be switched.
S706: a upper display interface for caching or the completion of next display interface is called to cut according to the moving direction of mobile object It changes.
Especially, it should be noted that its essence is the distance between a detection mobile object and screens for threshold value A Parameter.Shown in Figure 8, L indicates the dot matrix quantity in the maximum monitoring region of monitoring device, and H indicates the maximum point of mobile object Battle array occupies quantity.Fig. 8 depicts the moving process of mobile object in the visible range of monitoring part from right to left (in Fig. 8 Black portions are dot matrix shared by mobile object), the maximum magnitude for monitoring point battle array of illustrating in figure is 12, and mobile object is completely into prison The maximum value of its dot matrix is 6 behind control equipment visibility region, threshold value A (can be used δAIndicate) it is set as mobile object dot matrix maximum The ratio of value H and monitoring part dot matrix range L, then δAValue range be [0,1], the requirement of threshold value A is mobile object Dot matrix maximum value H and the ratio of monitoring part dot matrix range L are greater than the fixed δ of systemic presuppositionA, it may be assumed that
δA<H/L (1)
The actual value of H/L is 0.5 in citing in Fig. 8, if the δ that systemic presupposition is fixedAIllustrate that mobile object is full less than 0.5 The requirement of foot point battle array width.
In the present embodiment, the parameter judgement why carry out threshold value A, be in order to true mobile object is user rather than Other objects, because user is nearest apart from screen in most cases.(black portions are movement in Fig. 9 in Fig. 9 Dot matrix shared by object), S indicates the distance between mobile object and screen, and a indicates the wide-angle of camera;It is available according to Fig. 9 Following calculation formula (assuming that the physical length of dot matrix is d)
It is available according to formula (1) and formula (2):
It is really length that H*d was indicated in formula (3), which is mobile object, is applied in fact, setting mobile object as user Palm, user can be corresponding with this parameter so as to realizing parameter design by the palm width of oneself.
The display page control method provided through this embodiment, when the finger of user or the triggering switching of other contacts The physical feeling of current display page substantially increases user to the interactive experience of terminal when being inconvenient to touch mobile phone, facilitate use The better operation control terminal in family.Meanwhile mobile object dot matrix width H and mobile object are also increased in the realization approach of the present embodiment Final motion state whether leave a series of judgements in monitoring region etc., substantially increase contactless realizations terminal switching and currently show Show the accuracy of page operation.In addition, switching current display page for contactless realization terminal in existing market and research field The thinking research in face is relatively little of, therefore display page control method provided in this embodiment has very important research significance And use value.
3rd embodiment
A kind of terminal is present embodiments provided, it is shown in Figure 10 comprising processor 1001, memory 1002 and logical Believe bus 1003.Wherein:
Communication bus 1003 is for realizing the connection communication between processor 1001 and memory 1002.
Processor 1001 is for executing the one or more programs stored in memory 1002, to realize that above-mentioned first implements Each step of display page control method described in example and/or second embodiment.
Meanwhile the present embodiment also provides a kind of computer readable storage medium, as floppy disk, CD, hard disk, flash memory, USB flash disk, CF card, SD card, mmc card etc. are stored with one for realizing above-mentioned each step or more in the computer readable storage medium A program, this one or more program can be executed by one or more processor, with realize above-mentioned first embodiment and/or Each step of display page control method described in second embodiment.Details are not described herein.
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, the computer software product be stored in one it is computer-readable In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, calculate Machine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of display page control method, which is characterized in that the display page control method includes:
Mobile object is monitored by charge coupled device ccd monitoring device;
When monitoring mobile object, the dot matrix width of the mobile object is calculated;
When the dot matrix width meets preset threshold requirement, current display page is controlled according to the moving direction of the mobile object Face.
2. display page control method as described in claim 1, which is characterized in that the mobile object are as follows: mobile distance More than or equal to the object of default first distance threshold value.
3. display page control method as described in claim 1, which is characterized in that
The dot matrix width meets preset threshold and requires to include: the dot matrix width accounts for the maximum dot matrix of the CCD monitoring device The ratio of width is greater than preset ratio threshold value;
Or, the dot matrix width meets preset threshold and requires to include: the dot matrix width is greater than predetermined width threshold value;
Or, the dot matrix width meets preset threshold and requires to include: the dot matrix width accounts for the maximum point of the CCD monitoring device The ratio of battle array width is greater than preset ratio threshold value, and the dot matrix width is greater than predetermined width threshold value;
Or, the dot matrix width meets preset threshold and requires to include: the dot matrix width accounts for the maximum point of the CCD monitoring device The ratio of battle array width is greater than preset ratio threshold value or the dot matrix width is greater than predetermined width threshold value.
4. display page control method as described in any one of claims 1-3, which is characterized in that the current display page of control Face includes:
Control current display page is switched to a display interface or next display interface, or control current display page carries out Up/down sliding.
5. display page control method as claimed in claim 4, which is characterized in that
It is described according to the moving direction of the mobile object control current display page be switched to a upper display interface or it is next show Show that interface includes:
When the moving direction of the mobile object is that left/right is mobile, controls the current display page and be switched to a display Interface or next display interface;
It is described to include: according to the control current display page progress up/down sliding of the moving direction of the mobile object
When the moving direction of the mobile object is that up/down is mobile, the current display page up/down sliding is controlled.
6. display page control method as claimed in claim 4, which is characterized in that include in the control current display page When control current display page is switched to a display interface or next display interface, described when monitoring mobile object, Further include:
A upper display interface and/or next display interface adjacent with current display page are detected, and caches a upper display Interface and/or next display interface.
7. display page control method as claimed in claim 5, which is characterized in that be in the moving direction of the mobile object When left/right is mobile, the control current display page is switched to a display interface or next display interface includes:
When the mobile satisfaction of the mobile object presets switching condition, controls the current display page and be switched to a display Interface or next display interface.
8. display page control method as claimed in claim 7, which is characterized in that the mobile satisfaction of the mobile object is default Switching condition includes:
The moving distance of the mobile object is more than or equal to default second distance threshold value;
And/or the mobile object leaves the monitoring region of the CCD monitoring device.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between the processor and memory;
The processor is for executing one or more program stored in the memory, to realize such as claim 1-8 The step of described in any item display page control methods.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 1-8 such as appoints The step of display page control method described in one.
CN201810991000.0A 2018-08-28 2018-08-28 Show page control method, terminal and computer readable storage medium Pending CN109358909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810991000.0A CN109358909A (en) 2018-08-28 2018-08-28 Show page control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810991000.0A CN109358909A (en) 2018-08-28 2018-08-28 Show page control method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109358909A true CN109358909A (en) 2019-02-19

Family

ID=65350066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810991000.0A Pending CN109358909A (en) 2018-08-28 2018-08-28 Show page control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109358909A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306349A (en) * 2020-11-05 2021-02-02 智享众联科技有限公司 Method and device for processing view page
WO2022073386A1 (en) * 2020-10-09 2022-04-14 Oppo广东移动通信有限公司 Control method, control device, electronic device and readable storage medium
CN114942817A (en) * 2022-06-15 2022-08-26 北京百度网讯科技有限公司 Design interface display method and device, electronic equipment, storage medium and product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236081A (en) * 2008-02-22 2008-08-06 济南大学 Laser image and corresponding pixel distance measurement based displacement measuring device and method
CN101340531A (en) * 2007-07-05 2009-01-07 夏普株式会社 Image-data display system, image-data output device, and image-data display method
EP2756457A1 (en) * 2011-09-16 2014-07-23 Wessex Technology Opto-electronic Products Limited Machine reading of printed data
CN105677030A (en) * 2016-01-04 2016-06-15 联想(北京)有限公司 Control method and electronic device
CN106843669A (en) * 2016-12-06 2017-06-13 北京小度信息科技有限公司 Application interface operating method and device
CN107390922A (en) * 2017-06-30 2017-11-24 广东欧珀移动通信有限公司 virtual touch control method, device, storage medium and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340531A (en) * 2007-07-05 2009-01-07 夏普株式会社 Image-data display system, image-data output device, and image-data display method
CN101236081A (en) * 2008-02-22 2008-08-06 济南大学 Laser image and corresponding pixel distance measurement based displacement measuring device and method
EP2756457A1 (en) * 2011-09-16 2014-07-23 Wessex Technology Opto-electronic Products Limited Machine reading of printed data
CN105677030A (en) * 2016-01-04 2016-06-15 联想(北京)有限公司 Control method and electronic device
CN106843669A (en) * 2016-12-06 2017-06-13 北京小度信息科技有限公司 Application interface operating method and device
CN107390922A (en) * 2017-06-30 2017-11-24 广东欧珀移动通信有限公司 virtual touch control method, device, storage medium and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022073386A1 (en) * 2020-10-09 2022-04-14 Oppo广东移动通信有限公司 Control method, control device, electronic device and readable storage medium
CN112306349A (en) * 2020-11-05 2021-02-02 智享众联科技有限公司 Method and device for processing view page
CN114942817A (en) * 2022-06-15 2022-08-26 北京百度网讯科技有限公司 Design interface display method and device, electronic equipment, storage medium and product
CN114942817B (en) * 2022-06-15 2023-12-12 北京百度网讯科技有限公司 Display method and device of design interface, electronic equipment, storage medium and product

Similar Documents

Publication Publication Date Title
CN107613131B (en) Application program disturbance-free method, mobile terminal and computer-readable storage medium
CN108108007B (en) A kind of processing method and mobile terminal reducing power consumption
CN108427876A (en) A kind of fingerprint identification method and mobile terminal
CN110213440B (en) Image sharing method and terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN109388304A (en) A kind of screenshotss method and terminal device
CN109005262A (en) A kind of camera control method and terminal
CN109270986A (en) Flexible screen terminal and its display methods and computer readable storage medium
CN109192113A (en) Displaying method of terminal, terminal and computer readable storage medium
CN109697088A (en) Application interface loading method, mobile terminal and computer readable storage medium
CN109799924B (en) False touch prevention control method and device, mobile terminal and computer readable storage medium
CN108762472A (en) Wearable device control method, wearable device and computer readable storage medium
CN110569119B (en) Background application program management method and terminal
CN110855921B (en) Video recording control method and electronic equipment
EP4096207A1 (en) Mobile terminal, method for detecting image capturing mode, and storage medium
CN109358909A (en) Show page control method, terminal and computer readable storage medium
CN110531915A (en) Screen operating method and terminal device
CN110198379A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN110018805A (en) A kind of display control method and mobile terminal
CN107277364B (en) Shooting method, mobile terminal and computer readable storage medium
CN109522524A (en) A kind of text browsing methods and terminal device
CN107817933A (en) A kind of screenshotss method and mobile terminal
CN110069167A (en) Touch point sweep-out method, mobile terminal and computer readable storage medium
CN110347306A (en) A kind of multi-screen display method, terminal and computer readable storage medium
CN109814797A (en) Touch-control control method and mobile terminal, 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: 20190219

RJ01 Rejection of invention patent application after publication