CN107765857A - Mode control method, device, terminal and computer-readable recording medium - Google Patents
Mode control method, device, terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107765857A CN107765857A CN201711025857.9A CN201711025857A CN107765857A CN 107765857 A CN107765857 A CN 107765857A CN 201711025857 A CN201711025857 A CN 201711025857A CN 107765857 A CN107765857 A CN 107765857A
- Authority
- CN
- China
- Prior art keywords
- slide
- terminal
- preparatory condition
- meets
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of mode control method, device, terminal and computer-readable recording medium.The mode control method includes:Detection acts on the first slide of terminal side under the interface of default application program;Judge whether first slide meets the first preparatory condition;And if first slide meets first preparatory condition, control terminal enters preset mode under the interface of default application program.The present invention can realize being switched fast for the use pattern of terminal, and simple to operate, effectively improve the usage experience of user.
Description
Technical field
The present invention relates to mode handoff techniques field, more particularly to a kind of mode control method, device, terminal and computer
Readable storage medium storing program for executing.
Background technology
It is the use pattern that the application program specified correspondingly is specified under normal circumstances in prior art, for example, browsing
Device typically supports seamless browse mode, it is intended that protection user browses privacy during webpage;Reader typically supports eyeshield pattern, meaning
In eyes of protection user etc..
But if user wants to be configured the use pattern of specified application, it is also necessary into application program
Setting options in operated, complex operation and not convenient enough, this is difficult to meet to use under the mobile usage scenario of fragmentation
The demand that family is switched fast.
The content of the invention
In view of the foregoing, it is necessary to which a kind of mode control method, device, terminal and computer-readable storage medium are provided
Matter, it can realize that the use pattern of terminal is switched fast, and it is simple to operate, effectively improve the usage experience of user.
A kind of mode control method, methods described include:
Detection acts on the first slide of terminal side under the interface of default application program;
Judge whether first slide meets the first preparatory condition;And
If first slide meets first preparatory condition, control terminal is at the interface of default application program
It is lower to enter preset mode.
According to the preferred embodiment of the present invention, the detection under the interface of default application program acts on the of terminal side
One slide includes:
By the pressure sensor or temperature sensor or the infrared ray sensor detection effect that are installed on the terminal side
The first slide in terminal side.
According to the preferred embodiment of the present invention, first slide meets that first preparatory condition includes:
The sliding position of first slide is in the predeterminable area of the terminal side;And/or
The sliding distance of first slide is in the range of preset length;And/or
The glide direction of first slide is preset direction;And/or
The sliding time of first slide is more than or equal to preset duration.
According to the preferred embodiment of the present invention, methods described also includes:
Detection acts on the second slide of terminal side under arbitrary interface;
Judge whether second slide meets the first preparatory condition;And
If second slide meets first preparatory condition, control terminal enters default under arbitrary interface
Pattern.
According to the preferred embodiment of the present invention, control terminal enters after preset mode, and methods described also includes:
Detection acts on the 3rd slide of terminal side;
Judge whether the 3rd slide meets the second preparatory condition;And
If the 3rd slide meets second preparatory condition, control terminal exits the preset mode.
A kind of mode control device, described device include:
Detection unit, the first slide of terminal side is acted on for being detected under the interface of default application program;
Judging unit, for judging whether first slide meets the first preparatory condition;And
Control unit, if meeting first preparatory condition for first slide, control terminal is default
Enter preset mode under the interface of application program.
According to the preferred embodiment of the present invention, the detection unit is specifically used for:
By the pressure sensor or temperature sensor or the infrared ray sensor detection effect that are installed on the terminal side
The first slide in terminal side.
According to the preferred embodiment of the present invention, first slide meets that first preparatory condition includes:
The sliding position of first slide is in the predeterminable area of the terminal side;And/or
The sliding distance of first slide is in the range of preset length;And/or
The glide direction of first slide is preset direction;And/or
The sliding time of first slide is more than or equal to preset duration.
According to the preferred embodiment of the present invention, the detection unit, it is additionally operable to the detection under arbitrary interface and acts on end side
Second slide on side;
The judging unit, it is additionally operable to judge whether second slide meets the first preparatory condition;And
Described control unit, if being additionally operable to second slide meets first preparatory condition, control terminal
Enter preset mode under arbitrary interface.
According to the preferred embodiment of the present invention, the detection unit, it is additionally operable to enter in advance in described control unit control terminal
If after pattern, detection acts on the 3rd slide of terminal side;
The judging unit, it is additionally operable to judge whether the 3rd slide meets the second preparatory condition;And
Described control unit, if being additionally operable to the 3rd slide meets second preparatory condition, control terminal
Exit the preset mode.
A kind of terminal, the terminal include processor, and the processor is used to perform the computer journey stored in memory
The mode control method is realized during sequence.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor
The mode control method is realized during row.
As can be seen from the above technical solutions, present invention detection under the interface of default application program acts on terminal side
The first slide;Judge whether first slide meets the first preparatory condition;And if first slide
Meet first preparatory condition, then control terminal to enter preset mode under the interface of default application program.Utilize the present invention
Being switched fast for the use pattern of terminal can be realized, and it is simple to operate, effectively improve the usage experience of user.
Brief description of the drawings
Fig. 1 is the flow chart of the preferred embodiment of mode control method of the present invention;
Fig. 2 is the functional block diagram of the preferred embodiment of mode control device of the present invention;
Fig. 3 is the structural representation of the terminal of the preferred embodiment of implementation pattern control method of the present invention.
Main element symbol description
Terminal | 1 |
Memory | 12 |
Processor | 13 |
Mode control device | 11 |
Detection unit | 100 |
Judging unit | 101 |
Control unit | 102 |
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment pair
The present invention is described in detail.
As shown in figure 1, it is the flow chart of the preferred embodiment of mode control method of the present invention., should according to different demands
The order of step can change in flow chart, and some steps can be omitted.
The mode control method is applied in one or more terminal, and the terminal is that one kind can be according to setting in advance
The equipment of fixed or storage instruction, automatic progress numerical computations and/or information processing, its hardware include but is not limited to microprocessor
Device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array
(Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor,
DSP), embedded device etc..
The terminal can be any electronic product that man-machine interaction can be carried out with user, for example, personal computer,
Tablet personal computer, smart mobile phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, interactive mode
Web TV (Internet Protocol Television, IPTV), intellectual Wearable etc..
The terminal can also include the network equipment and/or user equipment.Wherein, the network equipment includes, but unlimited
In single network server, the server group of multiple webservers composition or based on cloud computing (Cloud Computing)
The cloud being made up of a large amount of main frames or the webserver.
Network residing for the terminal includes but is not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, Virtual Private Network
Network (Virtual Private Network, VPN) etc..
S10, the first slide for acting on terminal side is detected under the interface of default application program.
In at least one embodiment of the present invention, the default application program includes, but be not limited to it is following a kind of or
A variety of combinations:
Browser, reader, office software, video software, music software, Games Software, navigation software etc..
In at least one embodiment of the present invention, the default application program can be carried out certainly by the user of the terminal
Definition is set, and can also be configured by relevant staff before the terminal is dispatched from the factory, and this is not restricted by the present invention.
In at least one embodiment of the present invention, the detection under the interface of default application program acts on end side
First slide on side includes, but are not limited to the combination of following one or more:
(1) the pressure sensor detection by being installed on the terminal side acts on the first of terminal side and slides behaviour
Make.
Specifically, the side of the left and right of the terminal two can install pressure sensor, when the terminal pass through it is described
Pressure sensor detects that there is pressure effect at least one side of the terminal, and the position of pressure effect changes along side
When, i.e., described pressure sensor detects the first slide for acting on the terminal side.It is understood that work as institute
When stating terminal and being enough the operation being hold by one hand for the user, then the side of left and right two of the terminal may detection
Acted on to pressure, now, only when the position of pressure effect changes along side, the terminal, which just detects, acts on the end
First slide on side side.
(2) the temperature sensor detection by being installed on the terminal side acts on the first of terminal side and slides behaviour
Make.
Specifically, the side of the left and right of the terminal two can be with mounting temperature sensor, when the user is moved with rubber sleeve
During the side of the terminal, the temperature sensor can then detect the change of the side temperatures of the terminal, that is to say, that
The temperature sensor can judge whether the side of the terminal has described first to slide by the change of detection temperature
Operation.
(3) the infrared ray sensor detection by being installed on the terminal side acts on the first of terminal side and slides behaviour
Make.
Specifically, the side of the left and right of the terminal two can install infrared ray sensor, the infrared ray sensor
By detecting infrared ray that the user radiates the first slide of the terminal side is acted on to detect.
S11, judges whether first slide meets the first preparatory condition.
In at least one embodiment of the present invention, first slide meets that first preparatory condition includes,
But it is not limited to the combination of following one or more:
(1) sliding position of first slide is in the predeterminable area of the terminal side.
It is understood that when the size of the terminal is enough to allow the user to be hold by one hand, the side of the terminal
Slide can be detected, and now, the scope of slide can include all areas of any side of the terminal
Domain, such situation are easy to cause maloperation phenomenon.
In order to avoid the generation of above-mentioned maloperation phenomenon, the terminal can be set to the region of effective slide
Put, i.e., the predeterminable area of the sliding position of first slide in the terminal side is configured.Certainly, it is described pre-
If the setting in region can be configured by the user according to operating habit, such as:Gripped when the user gets used to the right hand
During the terminal, the first half for the right side side that the predeterminable area is the terminal is set, so, not only avoid by institute
State erroneous judgement caused by the slide that other sides of terminal detect, it is thus also avoided that the lower half of the right side side of the terminal by
In the caused maloperation of gripping.
(2) sliding distance of first slide is in the range of preset length.
It is understood that when the size of the terminal is enough to allow the user to be hold by one hand, the terminal is detected
To the sliding distance of slide will have a variety of situations, maloperation caused by situations such as needing to exclude to touch herein.
Therefore, the terminal can be showed by limiting the sliding distance of first slide to exclude above-mentioned maloperation
As that is, described terminal can be configured to the preset length of the sliding distance of first slide.Preferably, the end
End can set the preset length according to the length of the side of the terminal, can also be according to the operating habit of the user
To set the preset length, this is not restricted by the present invention.
(3) glide direction of first slide is preset direction.
It is understood that the direction for the slide for acting on the side of the terminal can have, many kinds are possible, such as
Upward sliding, slide downward etc..The terminal can be by setting the preset direction of first slide to reduce
The scope of the first slide is stated, so that the judgement of the first slide is more accurate described in the terminal-pair.
(4) sliding time of first slide is more than or equal to preset duration.
It is understood that the duration for the slide for acting on the side of the terminal can have many kinds may.Institute
The scope of first slide can be reduced by setting the sliding time of first slide by stating terminal.It is preferred that
Ground, it is 1 second etc. that the terminal, which can set the preset duration, and the present invention is not restricted to the preset duration.
S12, if first slide meets first preparatory condition, control terminal is in default application program
Enter preset mode under interface.
In at least one embodiment of the present invention, the preset mode includes, but are not limited to following one or more
Combination:
Seamless pattern, eyeshield pattern, guest mode, Night, child mode, vehicle-mounted pattern, offline mode and vibration
Pattern etc., the preset mode can be configured by the user, and the present invention is not restricted.
Such as:When the terminal detects that there is first slide side of the terminal, and the terminal is worked as
Preceding interface is browser interface, then controls the terminal to enter seamless pattern under the browser interface.
In at least one embodiment of the present invention, after controlling the terminal to enter preset mode, methods described is also
Including:
Detection acts on the 3rd slide of terminal side, judges whether the 3rd slide meets that second is default
Condition, if the 3rd slide meets second preparatory condition, control terminal exits the preset mode.
In at least one embodiment of the present invention, second preparatory condition can be and the first preparatory condition phase
With condition or the condition different from first preparatory condition (such as:Described in second preparatory condition
The glide direction of three slides can with the glide direction of first slide in first preparatory condition on the contrary,
The sliding position of the 3rd slide in second preparatory condition can also be with the institute in first preparatory condition
It is different to state the sliding position of the first slide, so as to realize the area to first slide and the 3rd slide
Point).It is understood that because first slide and the 3rd slide have sequencing, therefore,
No matter whether second preparatory condition and first preparatory condition are identical, the implementation of the technical program is not affected.
Such as:When carrying out when browsing of the seamless pattern, the terminal under the user browser interface
The 3rd slide for acting on the terminal side is detected, and the 3rd slide meets described second default article
Part, then the terminal is controlled to exit the seamless pattern under the browser interface.
In at least one embodiment of the present invention, methods described also includes:
Detection acts on the second slide of terminal side under arbitrary interface, whether judges second slide
Meet the first preparatory condition, if second slide meets first preparatory condition, control terminal is in arbitrary interface
It is lower to enter preset mode.
In at least one embodiment of the present invention, the operation interface of the terminal can not be limited, that is to say, that no matter
In what operation interface, as long as the terminal detects the slide for meeting the requirements and (meeting first preparatory condition),
The terminal can control to enter preset mode.
Such as:On the homepage of the terminal, if detecting the slide for meeting first preparatory condition, control
Make the terminal and enter offline mode.
In summary, the present invention can detect the first slip behaviour for acting on terminal side under the interface of default application program
Make;Judge whether first slide meets the first preparatory condition;And if first slide meets described first
Preparatory condition, then terminal is controlled to enter preset mode under the interface of default application program.Therefore, the present invention can realize terminal
Use pattern be switched fast, it is and simple to operate, effectively improve the usage experience of user.
As shown in Fig. 2 it is the functional block diagram of the preferred embodiment of mode control device of the present invention.The Schema control dress
Putting 11 includes detection unit 100, judging unit 101 and control unit 102.Module/unit alleged by the present invention refers to a kind of energy
Enough performed by processor 13 and the series of computation machine program segment of fixing function can be completed, it is stored in memory 12
In.In the present embodiment, the function on each module/unit will be described in detail in follow-up embodiment.
The detection under the interface of default application program of detection unit 100 acts on the first slide of terminal side.
In at least one embodiment of the present invention, the default application program includes, but be not limited to it is following a kind of or
A variety of combinations:
Browser, reader, office software, video software, music software, Games Software, navigation software etc..
In at least one embodiment of the present invention, the default application program can be carried out certainly by the user of the terminal
Definition is set, and can also be configured by relevant staff before the terminal is dispatched from the factory, and this is not restricted by the present invention.
In at least one embodiment of the present invention, the detection unit 100 detects under the interface of default application program
The first slide for acting on terminal side includes, but are not limited to the combination of following one or more:
(1) pressure sensor detection of the detection unit 100 by being installed on the terminal side acts on end side
First slide on side.
Specifically, the side of the left and right of the terminal two can install pressure sensor, when the detection unit 100 is logical
Cross the pressure sensor and detect that there is a pressure effect at least one side of the terminal, and the position of pressure effect is along side
When side changes, i.e., described pressure sensor detects the first slide for acting on the terminal side.It is appreciated that
It is, when the terminal is enough the operation for supplying the user to be hold by one hand, then the side of left and right two of the terminal is equal
It may detect that pressure acts on, now, only when the position of pressure effect changes along side, the detection unit 100 is just examined
Measure the first slide for acting on the terminal side.
(2) temperature sensor detection of the detection unit 100 by being installed on the terminal side acts on end side
First slide on side.
Specifically, the side of the left and right of the terminal two can be with mounting temperature sensor, when the user is moved with rubber sleeve
During the side of the terminal, the temperature sensor can then detect the change of the side temperatures of the terminal, that is to say, that
The temperature sensor can judge whether the side of the terminal has described first to slide by the change of detection temperature
Operation.
(3) infrared ray sensor detection of the detection unit 100 by being installed on the terminal side acts on terminal
First slide of side.
Specifically, the side of the left and right of the terminal two can install infrared ray sensor, the infrared ray sensor
By detecting infrared ray that the user radiates the first slide of the terminal side is acted on to detect.
Judging unit 101 judges whether first slide meets the first preparatory condition.
In at least one embodiment of the present invention, first slide meets that first preparatory condition includes,
But it is not limited to the combination of following one or more:
(1) sliding position of first slide is in the predeterminable area of the terminal side.
It is understood that when the size of the terminal is enough to allow the user to be hold by one hand, the side of the terminal
Slide can be detected, and now, the scope of slide can include all areas of any side of the terminal
Domain, such situation are easy to cause maloperation phenomenon.
In order to avoid the generation of above-mentioned maloperation phenomenon, the terminal can be set to the region of effective slide
Put, i.e., the predeterminable area of the sliding position of first slide in the terminal side is configured.Certainly, it is described pre-
If the setting in region can be configured by the user according to operating habit, such as:Gripped when the user gets used to the right hand
During the terminal, the first half for the right side side that the predeterminable area is the terminal is set, so, not only avoid by institute
State erroneous judgement caused by the slide that other sides of terminal detect, it is thus also avoided that the lower half of the right side side of the terminal by
In the caused maloperation of gripping.
(2) sliding distance of first slide is in the range of preset length.
It is understood that when the size of the terminal is enough to allow the user to be hold by one hand, the terminal is detected
To the sliding distance of slide will have a variety of situations, maloperation caused by situations such as needing to exclude to touch herein.
Therefore, the terminal can be showed by limiting the sliding distance of first slide to exclude above-mentioned maloperation
As that is, described terminal can be configured to the preset length of the sliding distance of first slide.Preferably, the end
End can set the preset length according to the length of the side of the terminal, can also be according to the operating habit of the user
To set the preset length, this is not restricted by the present invention.
(3) glide direction of first slide is preset direction.
It is understood that the direction for the slide for acting on the side of the terminal can have, many kinds are possible, such as
Upward sliding, slide downward etc..The terminal can be by setting the preset direction of first slide to reduce
The scope of the first slide is stated, so that the judgement of the first slide is more accurate described in the terminal-pair.
(4) sliding time of first slide is more than or equal to preset duration.
It is understood that the duration for the slide for acting on the side of the terminal can have many kinds may.Institute
The scope of first slide can be reduced by setting the sliding time of first slide by stating terminal.It is preferred that
Ground, it is 1 second etc. that the terminal, which can set the preset duration, and the present invention is not restricted to the preset duration.
If first slide meets first preparatory condition, control unit 102 controls terminal to be answered default
With entering preset mode under the interface of program.
In at least one embodiment of the present invention, the preset mode includes, but are not limited to following one or more
Combination:
Seamless pattern, eyeshield pattern, guest mode, Night, child mode, vehicle-mounted pattern, offline mode and vibration
Pattern etc., the preset mode can be configured by the user, and the present invention is not restricted.
Such as:When the detection unit 100 detects that there is first slide side of the terminal, and it is described
The current interface of terminal is browser interface, then described control unit 102 controls the terminal to enter under the browser interface
Enter seamless pattern.
In at least one embodiment of the present invention, the terminal is controlled to enter preset mode in described control unit 102
Afterwards, methods described also includes:
The detection unit 100 detects the 3rd slide for acting on the terminal side, and the judging unit 101 is sentenced
Whether the 3rd slide that breaks meets the second preparatory condition, if the 3rd slide meets described second default article
Part, then described control unit 102 controls terminal to exit the preset mode.
In at least one embodiment of the present invention, second preparatory condition can be and the first preparatory condition phase
With condition or the condition different from first preparatory condition (such as:Described in second preparatory condition
The glide direction of three slides can with the glide direction of first slide in first preparatory condition on the contrary,
The sliding position of the 3rd slide in second preparatory condition can also be with the institute in first preparatory condition
It is different to state the sliding position of the first slide, so as to realize the area to first slide and the 3rd slide
Point).It is understood that because first slide and the 3rd slide have sequencing, therefore,
No matter whether second preparatory condition and first preparatory condition are identical, the implementation of the technical program is not affected.
Such as:When carrying out when browsing of the seamless pattern, the detection under the user browser interface
Unit 100 detects the 3rd slide for acting on the terminal side, and the 3rd slide meets described second
Preparatory condition, then described control unit 102 control the terminal to exit the seamless pattern under the browser interface.
In at least one embodiment of the present invention, methods described also includes:
The detection unit 100 detects the second slide for acting on terminal side, the judgement under arbitrary interface
Unit 101 judges whether second slide meets the first preparatory condition, if second slide meets described
One preparatory condition, then described control unit 102 control terminal enter preset mode under arbitrary interface.
In at least one embodiment of the present invention, the operation interface of the terminal can not be limited, that is to say, that no matter
In what operation interface, as long as the terminal detects the slide for meeting the requirements and (meeting first preparatory condition),
Described control unit 102 can control the terminal to enter preset mode.
Such as:On the homepage of the terminal, if the detection unit 100, which detects, meets first preparatory condition
Slide, then described control unit 102 then controls the terminal to enter offline mode.
In summary, the present invention can detect the first slip behaviour for acting on terminal side under the interface of default application program
Make;Judge whether first slide meets the first preparatory condition;And if first slide meets described first
Preparatory condition, then terminal is controlled to enter preset mode under the interface of default application program.Therefore, the present invention can realize terminal
Use pattern be switched fast, it is and simple to operate, effectively improve the usage experience of user.
As shown in figure 3, it is the structural representation of the terminal of the preferred embodiment of implementation pattern control method of the present invention.
The terminal 1 be it is a kind of can be automatic to carry out numerical computations and/or information according to the instruction for being previously set or storing
The equipment of processing, its hardware include but is not limited to microprocessor, application specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number
Word processing device (Digital Signal Processor, DSP), embedded device etc..
The terminal 1, which can also be but not limited to any one, to pass through keyboard, mouse, remote control, touch pad with user
Or the mode such as voice-operated device carries out the electronic product of man-machine interaction, for example, personal computer, tablet personal computer, smart mobile phone, individual
Digital assistants (Personal Digital Assistant, PDA), game machine, IPTV (Internet
Protocol Television, IPTV), intellectual Wearable etc..
The terminal 1 can also be the computing devices such as desktop PC, notebook, palm PC and cloud server.
Network residing for the terminal 1 includes but is not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, Virtual Private Network
Network (Virtual Private Network, VPN) etc..
In one embodiment of the invention, the terminal 1 includes, but not limited to memory 12, processor 13, and
It is stored in the computer program that can be run in the memory 12 and on the processor 13, such as mode control programs.This
Art personnel are appreciated that the schematic diagram is only the restriction of the example of terminal 1, not structure paired terminal 1, can wrap
Include than illustrating more or less parts, either combine some parts or different parts, such as the terminal 1 can be with
Including input-output equipment, network access equipment, bus etc..
Alleged processor 13 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor 13 is arithmetic core and the control centre of the terminal 1, utilizes various interfaces and the whole terminal of connection
1 various pieces, and perform the operating system of the terminal 1 and the types of applications program of installation, program code etc..
The processor 13 performs the operating system of the terminal 1 and the types of applications program of installation.The processor
13 perform the application program to realize the step in above-mentioned each mode control method embodiment, such as the step shown in Fig. 1
S10、S11、S12。
Or the processor 13 realizes each module in above-mentioned each device embodiment/mono- when performing the computer program
The function of member, such as:Detection acts on the first slide of terminal side under the interface of default application program;Described in judgement
Whether the first slide meets the first preparatory condition;And if first slide meets first preparatory condition,
Control terminal enters preset mode under the interface of default application program.
Exemplary, the computer program can be divided into one or more module/units, one or more
Individual module/unit is stored in the memory 12, and is performed by the processor 13, to complete the present invention.It is one
Or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, the instruction segment is used to retouch
State implementation procedure of the computer program in the terminal 1.For example, the computer program can be divided into detection list
Member 100, judging unit 101 and control unit 102.
The memory 12 can be used for storing the computer program and/or module, the processor 13 by operation or
The computer program and/or module being stored in the memory 12 are performed, and calls the data being stored in memory 12,
Realize the various functions of the terminal 1.The memory 12 can mainly include storing program area and storage data field, wherein, deposit
Storing up program area can storage program area, application program (such as sound-playing function, image player work(needed at least one function
Can etc.) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.
In addition, memory 12 can include high-speed random access memory, nonvolatile memory can also be included, for example, it is hard disk, interior
Deposit, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card,
Flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The memory 12 can be the external memory storage and/or internal storage of terminal 1.Further, the storage
Device 12 can be the circuit with store function for not having in integrated circuit physical form, such as RAM (Random-Access
Memory, random access memory), FIFO (First In First Out) etc..Or the memory 12 can also be
Memory with physical form, such as memory bar, TF card (Trans-flash Card).
If the integrated module/unit of the terminal 1 is realized in the form of SFU software functional unit and is used as independent product
Sale in use, can be stored in a computer read/write memory medium.It is of the invention to realize based on such understanding
All or part of flow in embodiment method is stated, by computer program the hardware of correlation can also be instructed to complete, institute
The computer program stated can be stored in a computer-readable recording medium, and the computer program, can when being executed by processor
The step of realizing above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, the computer
Program code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer can
Reading medium can include:Any entity or device of the computer program code, recording medium, USB flash disk, mobile hard can be carried
Disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need what is illustrated
It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice
When increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium, which does not include electric carrier wave, to be believed
Number and telecommunication signal.
With reference to Fig. 1, the memory 12 in the terminal 1 stores multiple instruction to realize a kind of mode control method,
The processor 13 can perform the multiple instruction so as to realize:Detection acts on end side under the interface of default application program
First slide on side;Judge whether first slide meets the first preparatory condition;And if the first slip behaviour
Work meets first preparatory condition, then controls terminal to enter preset mode under the interface of default application program.
According to the preferred embodiment of the present invention, the processor 13, which also performs multiple instruction, to be included:
By the pressure sensor or temperature sensor or the infrared ray sensor detection effect that are installed on the terminal side
The first slide in terminal side.
According to the preferred embodiment of the present invention, first slide meets that first preparatory condition includes:
The sliding position of first slide is in the predeterminable area of the terminal side;And/or
The sliding distance of first slide is in the range of preset length;And/or
The glide direction of first slide is preset direction;And/or
The sliding time of first slide is more than or equal to preset duration.
According to the preferred embodiment of the present invention, the processor 13, which also performs multiple instruction, to be included:
Detection acts on the second slide of terminal side under arbitrary interface;
Judge whether second slide meets the first preparatory condition;And
If second slide meets first preparatory condition, control terminal enters default under arbitrary interface
Pattern.
According to the preferred embodiment of the present invention, the processor 13, which also performs multiple instruction, to be included:
Detection acts on the 3rd slide of terminal side;
Judge whether the 3rd slide meets the second preparatory condition;And
If the 3rd slide meets second preparatory condition, control terminal exits the preset mode.
Specifically, the processor 13 refers to Fig. 1 to the concrete methods of realizing of above-mentioned instruction and corresponds to correlation in embodiment
The description of step, will not be described here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the module
Division, only a kind of division of logic function, can there is other dividing mode when actually realizing.
The module illustrated as separating component can be or may not be physically separate, show as module
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of hardware adds software function module.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.
Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary, and is nonrestrictive, sheet
The scope of invention limits by appended claims rather than described above, it is intended that will fall equivalency in claim
All changes in implication and scope are included in the present invention.Any attached associated diagram mark in claim should not be considered as limit
The involved claim of system.
Furthermore, it is to be understood that the word of " comprising " one is not excluded for other units or step, odd number is not excluded for plural number.In system claims
The multiple units or device of statement can also be realized by a unit or device by software or hardware.Second grade word is used
To represent title, and it is not offered as any specific order.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference
The present invention is described in detail for preferred embodiment, it will be understood by those within the art that, can be to the present invention's
Technical scheme is modified or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a kind of mode control method, it is characterised in that methods described includes:
Detection acts on the first slide of terminal side under the interface of default application program;
Judge whether first slide meets the first preparatory condition;And
If first slide meets first preparatory condition, control terminal is entered under the interface of default application program
Enter preset mode.
2. mode control method as claimed in claim 1, it is characterised in that described to be detected under the interface of default application program
Acting on the first slide of terminal side includes:
By be installed on the terminal side pressure sensor temperature sensor or infrared ray sensor detection act on end
First slide on side side.
3. mode control method as claimed in claim 1, it is characterised in that first slide meets that described first is pre-
If condition includes:
The sliding position of first slide is in the predeterminable area of the terminal side;And/or
The sliding distance of first slide is in the range of preset length;And/or
The glide direction of first slide is preset direction;And/or
The sliding time of first slide is more than or equal to preset duration.
4. such as the mode control method any one of claim 1-3, it is characterised in that methods described also includes:
Detection acts on the second slide of terminal side under arbitrary interface;
Judge whether second slide meets the first preparatory condition;And
If second slide meets first preparatory condition, control terminal enters default mould under arbitrary interface
Formula.
5. mode control method as claimed in claim 1, it is characterised in that control terminal enters after preset mode, described
Method also includes:
Detection acts on the 3rd slide of terminal side;
Judge whether the 3rd slide meets the second preparatory condition;And
If the 3rd slide meets second preparatory condition, control terminal exits the preset mode.
6. a kind of mode control device, it is characterised in that described device includes:
Detection unit, the first slide of terminal side is acted on for being detected under the interface of default application program;
Judging unit, for judging whether first slide meets the first preparatory condition;And
Control unit, if meeting first preparatory condition for first slide, control terminal is in default application
Enter preset mode under the interface of program.
7. mode control device as claimed in claim 6, it is characterised in that the detection unit is specifically used for:
By be installed on the terminal side pressure sensor temperature sensor or infrared ray sensor detection act on end
First slide on side side.
8. mode control device as claimed in claim 6, it is characterised in that first slide meets that described first is pre-
If condition includes:
The sliding position of first slide is in the predeterminable area of the terminal side;And/or
The sliding distance of first slide is in the range of preset length;And/or
The glide direction of first slide is preset direction;And/or
The sliding time of first slide is more than or equal to preset duration.
9. a kind of terminal, it is characterised in that the terminal includes processor, and the processor is used to perform what is stored in memory
The mode control method as described in any one in claim 1-5 is realized during computer program.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that:The computer program
The mode control method as described in any one in claim 1-5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711025857.9A CN107765857A (en) | 2017-10-26 | 2017-10-26 | Mode control method, device, terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711025857.9A CN107765857A (en) | 2017-10-26 | 2017-10-26 | Mode control method, device, terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107765857A true CN107765857A (en) | 2018-03-06 |
Family
ID=61270869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711025857.9A Withdrawn CN107765857A (en) | 2017-10-26 | 2017-10-26 | Mode control method, device, terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107765857A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070217662A1 (en) * | 2006-03-20 | 2007-09-20 | Fujitsu Limited | Electronic apparatus and program storage medium |
CN104571918A (en) * | 2015-01-26 | 2015-04-29 | 深圳市中兴移动通信有限公司 | Terminal single-hand operation interface triggering method and device |
CN105988611A (en) * | 2015-02-03 | 2016-10-05 | 和鑫光电股份有限公司 | Handheld device and method for controlling same |
CN106572251A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Mode switching method, mode switching device and terminal |
-
2017
- 2017-10-26 CN CN201711025857.9A patent/CN107765857A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070217662A1 (en) * | 2006-03-20 | 2007-09-20 | Fujitsu Limited | Electronic apparatus and program storage medium |
CN104571918A (en) * | 2015-01-26 | 2015-04-29 | 深圳市中兴移动通信有限公司 | Terminal single-hand operation interface triggering method and device |
CN105988611A (en) * | 2015-02-03 | 2016-10-05 | 和鑫光电股份有限公司 | Handheld device and method for controlling same |
CN106572251A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Mode switching method, mode switching device and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11150785B2 (en) | Displaying an electronic document | |
KR102384130B1 (en) | Hover-based interaction with rendered content | |
JP6665180B2 (en) | Method, apparatus, and electronic device for manipulating page information | |
US10203871B2 (en) | Method for touch input and device therefore | |
US20140195926A1 (en) | Systems and methods for enabling access to one or more applications on a device | |
US9632986B2 (en) | Systems and methods for horizontally paginating HTML content | |
WO2014026510A1 (en) | Webpage content browsing method, device and browser | |
JP2018506110A (en) | Web page loading method and system | |
CN102375574B (en) | Optical user input devices | |
CN107621878A (en) | Control method and apparatus, computer installation and the storage medium of terminal bright screen | |
CN106406876A (en) | Pushed information acquisition method and terminal | |
EP2972947A1 (en) | Electronic book inscription system | |
CN104020934A (en) | Paging control implementation method and device | |
CN110007831B (en) | Page turning control method and device and terminal equipment | |
CN102693064B (en) | Method and system for quitting protection screen by terminal | |
KR101231513B1 (en) | Contents control method and device using touch, recording medium for the same and user terminal having it | |
US11468125B2 (en) | Resource search method and related product | |
CN106775256A (en) | Icon is across screen sliding method and device | |
CN103345497B (en) | Method and device for resizing webpages on electronic equipment | |
US20180107494A1 (en) | Display control device and method | |
CN107765857A (en) | Mode control method, device, terminal and computer-readable recording medium | |
CN107885452A (en) | 3D Touch analogy methods and device, computer installation and computer-readable recording medium | |
CN106776749A (en) | Modes to open a file method to set up and system | |
CN107643857A (en) | Page switching method and system | |
CN106843698A (en) | A kind of interactive ticker methods of exhibiting and electronic equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180306 |
|
WW01 | Invention patent application withdrawn after publication |