CN103995666B - A kind of method and apparatus of setting operating mode - Google Patents

A kind of method and apparatus of setting operating mode Download PDF

Info

Publication number
CN103995666B
CN103995666B CN201410180843.4A CN201410180843A CN103995666B CN 103995666 B CN103995666 B CN 103995666B CN 201410180843 A CN201410180843 A CN 201410180843A CN 103995666 B CN103995666 B CN 103995666B
Authority
CN
China
Prior art keywords
screen
detection area
predetermined detection
operating mode
touching signal
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.)
Active
Application number
CN201410180843.4A
Other languages
Chinese (zh)
Other versions
CN103995666A (en
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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410180843.4A priority Critical patent/CN103995666B/en
Publication of CN103995666A publication Critical patent/CN103995666A/en
Application granted granted Critical
Publication of CN103995666B publication Critical patent/CN103995666B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure is directed to a kind of method and apparatus of setting operating mode, belong to field of computer technology.The method includes:When detecting the touching signal on screen, the position of the touching signal is obtained;According to the correspondence of pre-stored operating mode and predetermined detection area, the corresponding target operational mode in predetermined detection area belonging to the position of the touching signal is determined;Set local operating mode to the target operational mode.Using the disclosure, the convenience of terminal operation can be improved.

Description

A kind of method and apparatus of setting operating mode
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of method and apparatus of setting operating mode.
Background technology
With the fast development of terminal technology and the communication technology, the mobile terminals such as mobile phone, tablet computer have obtained quickly Universal and application becomes one of very important tool in people's daily life and work.
In the application program of mobile terminal, it is often provided with the input interface for information input or for control, example Such as, soft keyboard, the dial etc. for dialing of text input are used for.In the related art, input interface is generally shown at screen The position of curtain middle part on the lower.
During realizing the disclosure, inventor has found that the relevant technologies have at least the following problems:
With the continuous development of terminal technology, the size of terminal screen is increasing, under many application scenarios, needs user One hand is operated in input interface, but since screen is excessive, the finger of user is often difficult to get in input interface far The region at end, to the serious convenience for affecting terminal operation.
Invention content
In order to solve the problems, such as that the relevant technologies, the embodiment of the present disclosure provide a kind of method and dress of setting operating mode It sets, to improve the convenience of terminal operation.The technical solution is as follows:
In a first aspect, a kind of method of setting operating mode is provided, the method includes:
When detecting the touching signal on screen, the position of the touching signal is obtained;
According to the correspondence of pre-stored operating mode and predetermined detection area, the position of the touching signal is determined The corresponding target operational mode in affiliated predetermined detection area;
Set local operating mode to the target operational mode.
Optionally, the correspondence according to pre-stored operating mode and predetermined detection area determines described touch The corresponding target operational mode in the predetermined detection area belonging to the position of signal is touched, including:
If the position of the touching signal is in the predetermined detection area at screen left hand edge, and not in screen right hand edge In the predetermined detection area at place, it is determined that the corresponding target operation mould in predetermined detection area belonging to the position of the touching signal Formula is left-handed work pattern;
If the position of the touching signal is in the predetermined detection area of screen right edge, and not in screen left hand edge In the predetermined detection area at place, it is determined that the corresponding target operation mould in predetermined detection area belonging to the position of the touching signal Formula is right hand operating mode;
If it is described touching signal position simultaneously in the predetermined detection area of screen left hand edge and right edge, or Simultaneously not in the predetermined detection area of screen left hand edge and right edge, it is determined that pre- belonging to the position of the touching signal If the corresponding target operational mode of detection zone is intermediate operating mode.
Optionally, described when detecting the touching signal on screen, the position of the touching signal is obtained, including:
In the state that screen display has input interface, when detecting the touching signal on the screen, described in acquisition Touch the position of signal.
Optionally, the operating mode, including:Left-handed work pattern, right hand operating mode and intermediate operating mode;
The left-handed work pattern, including:The input interface is moved to screen left hand edge;
The right hand operating mode, including:The input interface is moved to screen right hand edge;
The intermediate operating mode, including:The input interface is shown among screen.
Optionally, described when detecting the touching signal on the screen, obtain the position of the touching signal, packet It includes:
When detecting the touching signal on the screen, and the duration of the touching signal reaches preset duration threshold value When, obtain the position of the touching signal.
Optionally, described when detecting the touching signal on the screen, obtain the position of the touching signal, packet It includes:
When detecting the touching signal on the screen, and the adjoining of the touch area and screen edge of the touching signal When length is more than pre-set length threshold, the position of the touching signal is obtained.
Second aspect, provides a kind of device of setting operating mode, and described device includes:
Acquisition module, the position for when detecting the touching signal on screen, obtaining the touching signal;
Determining module, described according to the correspondence of pre-stored operating mode and predetermined detection area, determining Touch the corresponding target operational mode in predetermined detection area belonging to the position of signal;
Setup module, for setting local operating mode to the target operational mode.
Optionally, the determining module, is used for:
If the position of the touching signal is in the predetermined detection area at screen left hand edge, and not in screen right hand edge In the predetermined detection area at place, it is determined that the corresponding target operation mould in predetermined detection area belonging to the position of the touching signal Formula is left-handed work pattern;
If the position of the touching signal is in the predetermined detection area of screen right edge, and not in screen left hand edge In the predetermined detection area at place, it is determined that the corresponding target operation mould in predetermined detection area belonging to the position of the touching signal Formula is right hand operating mode;
If it is described touching signal position simultaneously in the predetermined detection area of screen left hand edge and right edge, or Simultaneously not in the predetermined detection area of screen left hand edge and right edge, it is determined that pre- belonging to the position of the touching signal If the corresponding target operational mode of detection zone is intermediate operating mode.
Optionally, the acquisition module, is used for:
In the state that screen display has input interface, when detecting the touching signal on the screen, described in acquisition Touch the position of signal.
Optionally, the operating mode, including:Left-handed work pattern, right hand operating mode and intermediate operating mode;
The left-handed work pattern, including:The input interface is moved to screen left hand edge;
The right hand operating mode, including:The input interface is moved to screen right hand edge;
The intermediate operating mode, including:The input interface is shown among screen.
Optionally, the acquisition module, is used for:
When detecting the touching signal on the screen, and the duration of the touching signal reaches preset duration threshold value When, obtain the position of the touching signal.
Optionally, the acquisition module, is used for:
When detecting the touching signal on the screen, and the adjoining of the touch area and screen edge of the touching signal When length is more than pre-set length threshold, the position of the touching signal is obtained.
The third aspect provides a kind of device of setting operating mode, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When detecting the touching signal on screen, the position of the touching signal is obtained;
According to the correspondence of pre-stored operating mode and predetermined detection area, the position of the touching signal is determined The corresponding target operational mode in affiliated predetermined detection area;
Set local operating mode to the target operational mode.
Some advantageous effects of the disclosure may include:
In the embodiment of the present disclosure, when detecting the touching signal on screen, the position of touching signal is obtained, according to advance The operating mode of storage and the correspondence of predetermined detection area determine the predetermined detection area pair belonging to the position of touching signal The target operational mode answered sets local operating mode to target operational mode, in this way, can be touched according to user's finger The operating mode of terminal is adjusted to the operating mode suitable for user's operation, it is thus possible to improve terminal operation by the position of screen Convenience.
It should be understood that above general description and following detailed description is merely exemplary, this can not be limited It is open.
Description of the drawings
Attached drawing described herein is used for providing further understanding of the disclosure, constitutes part of this application, not Constitute the restriction to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for setting operating mode shown according to an exemplary embodiment.
Fig. 2 is a kind of schematic diagram of interface display shown according to an exemplary embodiment.
Fig. 3 is a kind of schematic diagram of operation shown according to an exemplary embodiment.
Fig. 4 is the schematic diagram of a kind of interface display and operation shown according to an exemplary embodiment.
Fig. 5 is the schematic diagram of a kind of interface display and operation shown according to an exemplary embodiment.
Fig. 6 is a kind of schematic diagram of the device of setting operating mode shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific implementation mode
It is right with reference to embodiment and attached drawing to make the purpose, technical scheme and advantage of the disclosure be more clearly understood The disclosure is described in further details.Here, the exemplary embodiment and its explanation of the disclosure be for explaining the disclosure, but simultaneously Not as the restriction to the disclosure.
The embodiment of the present disclosure provides a kind of method and apparatus of setting operating mode, is carried out to the disclosure below in conjunction with attached drawing It is described in detail.
Embodiment one
The embodiment of the present disclosure provides a kind of method of setting operating mode, as shown in Figure 1, the process flow of this method can To include the following steps:
In a step 101, when detecting the touching signal on screen, the position of touching signal is obtained.
In a step 102, according to the correspondence of pre-stored operating mode and predetermined detection area, touching letter is determined Number position belonging to the corresponding target operational mode in predetermined detection area.
In step 103, local operating mode is set to target operational mode.
In the embodiment of the present disclosure, when detecting the touching signal on screen, the position of touching signal is obtained, according to advance The operating mode of storage and the correspondence of predetermined detection area determine the predetermined detection area pair belonging to the position of touching signal The target operational mode answered sets local operating mode to target operational mode, in this way, can be touched according to user's finger The operating mode of terminal is adjusted to the operating mode suitable for user's operation, it is thus possible to improve terminal operation by the position of screen Convenience.
Embodiment two
The embodiment of the present disclosure provides a kind of method of setting operating mode, and the executive agent of this method can be terminal, Such as mobile phone, tablet computer mobile terminal, the present embodiment using mobile phone as executive agent for carry out the detailed description of scheme, It is similar in the case of other executive agents, it is repeated no more in the present embodiment.
Below in conjunction with specific implementation mode, process flow shown in FIG. 1 is described in detail, content can be as Under:
In a step 101, when detecting the touching signal on screen, the position of touching signal is obtained, the present embodiment Method can be used in terminal.
Wherein, the sensing device of touch screen generates when touching signal is the touch screen of object (finger of such as people) touching terminal Inductive signal.Because the density of induction point is generally large on touch screen, this touching signal can be by multiple induction points Signal collectively constitutes.The position of touching signal can be the position range of the position composition of all induction points of touching, can also It is a point in the position range, such as central point (can be geometric center of gravity).
Optionally, the touching signal on screen can be detected in the case where terminal shows certain input interface, accordingly The processing of step 101 can be:In the state that screen display has input interface, when detecting the touching signal on the screen When, obtain the position of the touching signal.
Wherein, input interface is the interface for executing certain operating function generated in screen by software program, Such as soft keyboard, dial.
In force, user can operate triggering terminal and show input interface.By taking soft keyboard as an example, user opens certain setting After the application program for having text editing function, text editing column is clicked, such as the short message input field in short message application program, terminal is then Position that can be in the middle part of screen on the lower shows soft keyboard.Again by taking dial as an example, user opens telephony application, and clicks and dial The label of number key disk can then trigger the position in the middle part of screen on the lower and show dial, as shown in Figure 2.As shown in figure 3, user When holding mobile phone, the position of thumb root can touch the screen of mobile phone, generate touching signal, at this moment, terminal can obtain It is position to take the touching signal.Alternatively, user can also click some position in a sub-screen with finger, touching letter is generated Number, the position adjustment of the input interface for triggering following.
Optionally, in order to adapt to the diversification of touch screen operation, can certain restrictive condition be set to the touching signal, That is, be not it is arbitrary touching signal can triggering following processing, for example, the touching signal of long-press, which can be arranged, to be triggered Subsequent processing, etc..Correspondingly, step 101 can be there are many feasible processing mode:
Mode one, when detecting the touching signal on screen, and the duration for touching signal reaches preset duration threshold value When, obtain the position of touching signal.
Wherein, preset duration threshold value is to judge to touch the duration threshold value that signal touches signal for long-press, such as 2 seconds.
In force, user hand shake hands machine when, the position of thumb root can touch the screen of mobile phone, generate touching Signal generates touching signal alternatively, user can also click some position in a sub-screen with finger.When touching signal When duration reaches preset duration threshold value, determines that the touching signal is that long-press touches signal, can trigger according to touching signal Position carry out subsequent processing.
Mode two, when detecting the touching signal on screen, and the touch area of the touching signal and screen edge When length of adjacency is more than pre-set length threshold, the position of the touching signal is obtained.
In force, user hand shake hands machine when, the position of thumb root can touch the screen of mobile phone, generate touching Signal, when thumb root gradually increases with screen laminating degree, touch the touch area of signal also will gradually increase therewith, And touch area is adjacent with screen edge, and with the increase of touch area, the length of adjacency of touch area and screen edge is (such as Shown in Fig. 3) also can gradually it increase.When this length of adjacency is more than pre-set length threshold, then can trigger according to touching signal Position carries out subsequent processing.
Mode three when detecting the touching signal on screen, and touches letter in the state that screen display has input interface Number sliding distance be more than pre-determined distance threshold value when, obtain touching signal position.
Wherein, pre-determined distance threshold value is to judge to touch signal for the distance threshold of sliding touching signal, which can To be arbitrarily arranged, for example, it may be the numerical value of a very little.
In force, user hand shake hands machine when, the position of thumb root can touch the screen of mobile phone, generate touching Signal, when thumb moves, touching the position of signal can move, and displacement distance reaches pre-determined distance threshold value (such as 3 millis Rice) when, then it can trigger and subsequent processing is carried out according to the position of touching signal.Alternatively, user can also click one with finger Some position in sub-screen generates touching signal, then slides finger on the screen, sliding distance reaches pre-determined distance threshold value When, then it can trigger and subsequent processing is carried out according to the position of touching signal.
Optionally, in mode three, the glide direction for touching signal can be also defined, for example, when touching signal Glide direction when being along the direction of screen long side, can trigger and subsequent processing is carried out according to the position of touching signal.
In a step 102, according to the correspondence of pre-stored operating mode and predetermined detection area, touching letter is determined Number position belonging to the corresponding target operational mode in predetermined detection area, the method for the present embodiment can be used in terminal.
Wherein, operating mode may include left-handed work pattern, right hand operating mode and intermediate operating mode.Left-handed work Pattern is according to the operating mode designed the characteristics of people's left hand one-handed performance terminal, when people's left hand one-handed performance terminal, generally Thumb root and other four fingers clamp terminal, operation are touched on a terminal screen with thumb, in this way, in left-handed work pattern Under, need the object (such as button, hand-written area) that touching operates that can be arranged in the position of screen side to the left.Right hand operating mode Be according to the operating mode designed the characteristics of people's right hand one-handed performance terminal, when people's right hand one-handed performance terminal, general big thumb Refer to root and other four fingers clamp terminal, touches operation on a terminal screen with thumb, in this way, under right hand operating mode, Needing the object that touching operates can be arranged in the position of screen side to the right.Intermediate operating mode is according to people's both hands operating terminal The characteristics of and the operating mode that designs needs the object that touching operates that can be arranged in the middle part of screen under intermediate operating mode Position.
Optionally, for showing input interface in screen the case where, left-handed work pattern may include by input interface It is moved to screen left hand edge, right hand operating mode may include moving input interface to screen right hand edge, intermediate operating mode May include that input interface is shown among screen.
In force, screen edge setting detection zone, detection can some or all of be corresponded in all screen edges Region can be the region for the one fixed width that screen edge starts, for example, the left hand edge and right hand edge of corresponding screen are respectively set Detection zone, it is the corresponding detection zone of left hand edge that left half side screen, which is arranged, and right half side screen is the corresponding detection zone of right hand edge Domain.Further, it is possible to which the simultaneously correspondence between storaging working mode and predetermined detection area is arranged, predetermined detection area corresponds to Operating mode can be arranged according to the screen edge where predetermined detection area, for example, for pre- at screen left hand edge If detection zone, it is left-handed work pattern that corresponding operating mode, which can be arranged, for the default detection zone of screen right edge Domain, it is right hand operating mode, etc. that corresponding operating mode, which can be arranged,.
Default monitoring region that can be belonging to it behind the position for getting touching signal and above-mentioned corresponding pass System, to search corresponding operating mode, as target operational mode.
Optionally, the difference of the predetermined detection area where position based on touching signal, it may be determined that go out different mesh Detection zone is marked, corresponding processing can be divided into following three kinds of situations:
Situation one, if the position of touching signal is right in screen in the predetermined detection area at screen left hand edge, and not In the predetermined detection area of edge, it is determined that touch the corresponding target operation mould in predetermined detection area belonging to the position of signal Formula is left-handed work pattern.
In force, if user's left hand one hand use mobile phone, left hand thumb root will contact screen, and contact position It sets in the position of close screen left hand edge, moreover, will not be contacted at this time with the region near screen right hand edge, at this point it is possible to really Surely left-handed work pattern is used.
Situation two, if the position of touching signal is left in screen in the predetermined detection area of screen right edge, and not In the predetermined detection area of edge, it is determined that touch the corresponding target operation mould in predetermined detection area belonging to the position of signal Formula is right hand operating mode.
In force, if user's right hand one hand use mobile phone, right hand thumb root will contact screen, and contact position It sets in the position of close screen right hand edge, moreover, will not be contacted at this time with the region near screen left hand edge, as shown in figure 3, this When, it may be determined that use right hand operating mode.
Situation three, if touching the position of signal while in the predetermined detection area of screen left hand edge and right edge, Or simultaneously not in the predetermined detection area of screen left hand edge and right edge, it is determined that touch pre- belonging to the position of signal If the corresponding target operational mode of detection zone is intermediate operating mode.
In force, if user's both hands use mobile phone, right hand thumb root will contact screen, and contact position exists Close to the position of screen right hand edge, moreover, left hand thumb root also can contact screen, and contact position is close to the screen left side The position of edge, as shown in figure 5, using intermediate operating mode at this point it is possible to determine.
In step 103, local operating mode is set to target operational mode, the method for the present embodiment can be used for In terminal.
In force, in the case of input interface is shown in screen, if target operational mode is left-handed work mould Formula then can move input interface to screen left hand edge;It, can will be defeated if target operational mode is right hand operating mode Enter boundary's screen-oriented right hand edge movement, as shown in Figure 4;If target operational mode is intermediate operating mode, can will input Interface display is among screen, as shown in Figure 5.
In the embodiment of the present disclosure, when detecting the touching signal on screen, the position of touching signal is obtained, according to advance The operating mode of storage and the correspondence of predetermined detection area determine the predetermined detection area pair belonging to the position of touching signal The target operational mode answered sets local operating mode to target operational mode, in this way, can be touched according to user's finger The operating mode of terminal is adjusted to the operating mode suitable for user's operation, it is thus possible to improve terminal operation by the position of screen Convenience.
Embodiment three
Based on the same technical idea, the embodiment of the present disclosure additionally provides a kind of device of setting operating mode, such as Fig. 6 institutes Show, described device includes:
Acquisition module 610, the position for when detecting the touching signal on screen, obtaining the touching signal;
Determining module 620 determines institute for the correspondence according to pre-stored operating mode and predetermined detection area State the corresponding target operational mode in predetermined detection area belonging to the position of touching signal;
Setup module 630, for setting local operating mode to the target operational mode.
Optionally, the determining module 620, is used for:
If the position of the touching signal is in the predetermined detection area at screen left hand edge, and not in screen right hand edge In the predetermined detection area at place, it is determined that the corresponding target operation mould in predetermined detection area belonging to the position of the touching signal Formula is left-handed work pattern;
If the position of the touching signal is in the predetermined detection area of screen right edge, and not in screen left hand edge In the predetermined detection area at place, it is determined that the corresponding target operation mould in predetermined detection area belonging to the position of the touching signal Formula is right hand operating mode;
If it is described touching signal position simultaneously in the predetermined detection area of screen left hand edge and right edge, or Simultaneously not in the predetermined detection area of screen left hand edge and right edge, it is determined that pre- belonging to the position of the touching signal If the corresponding target operational mode of detection zone is intermediate operating mode.
Optionally, the acquisition module 610, is used for:
In the state that screen display has input interface, when detecting the touching signal on the screen, described in acquisition Touch the position of signal.
Optionally, the operating mode, including:Left-handed work pattern, right hand operating mode and intermediate operating mode;
The left-handed work pattern, including:The input interface is moved to screen left hand edge;
The right hand operating mode, including:The input interface is moved to screen right hand edge;
The intermediate operating mode, including:The input interface is shown among screen.
Optionally, the acquisition module 610, is used for:
When detecting the touching signal on the screen, and the duration of the touching signal reaches preset duration threshold value When, obtain the position of the touching signal.
Optionally, the acquisition module 610, is used for:
When detecting the touching signal on the screen, and the adjoining of the touch area and screen edge of the touching signal When length is more than pre-set length threshold, the position of the touching signal is obtained.
In the embodiment of the present disclosure, when detecting the touching signal on screen, the position of touching signal is obtained, according to advance The operating mode of storage and the correspondence of predetermined detection area determine the predetermined detection area pair belonging to the position of touching signal The target operational mode answered sets local operating mode to target operational mode, in this way, can be touched according to user's finger The operating mode of terminal is adjusted to the operating mode suitable for user's operation, it is thus possible to improve terminal operation by the position of screen Convenience.
Example IV
Fig. 7 is a kind of block diagram for the terminal 800 of operating mode to be arranged shown according to an exemplary embodiment.Example Such as, terminal 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and tablet is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 7, terminal 800 may include following one or more components:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of 802 usual control terminal 800 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing element 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in terminal 800.These data are shown Example includes instruction for any application program or method that are operated in terminal 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of terminal 800.Electric power assembly 806 may include power management system System, one or more power supplys and other generated with for terminal 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between the terminal 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When terminal 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when terminal 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for terminal 800 is commented Estimate.For example, sensor module 814 can detect the state that opens/closes of terminal 800, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 800, and sensor module 814 can be with 800 1 components of detection terminal 800 or terminal Position change, the existence or non-existence that user contacts with terminal 800,800 orientation of terminal or acceleration/deceleration and terminal 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 800 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of terminal 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes so that mobile terminal is able to carry out a kind of method of setting operating mode, the method includes:
When detecting the touching signal on screen, the position of the touching signal is obtained;
According to the correspondence of pre-stored operating mode and predetermined detection area, the position of the touching signal is determined The corresponding target operational mode in affiliated predetermined detection area;
Set local operating mode to the target operational mode.
Optionally, the correspondence according to pre-stored operating mode and predetermined detection area determines described touch The corresponding target operational mode in the predetermined detection area belonging to the position of signal is touched, including:
If the position of the touching signal is in the predetermined detection area at screen left hand edge, and not in screen right hand edge In the predetermined detection area at place, it is determined that the corresponding target operation mould in predetermined detection area belonging to the position of the touching signal Formula is left-handed work pattern;
If the position of the touching signal is in the predetermined detection area of screen right edge, and not in screen left hand edge In the predetermined detection area at place, it is determined that the corresponding target operation mould in predetermined detection area belonging to the position of the touching signal Formula is right hand operating mode;
If it is described touching signal position simultaneously in the predetermined detection area of screen left hand edge and right edge, or Simultaneously not in the predetermined detection area of screen left hand edge and right edge, it is determined that pre- belonging to the position of the touching signal If the corresponding target operational mode of detection zone is intermediate operating mode.
Optionally, described when detecting the touching signal on screen, the position of the touching signal is obtained, including:
In the state that screen display has input interface, when detecting the touching signal on the screen, described in acquisition Touch the position of signal.
Optionally, the operating mode, including:Left-handed work pattern, right hand operating mode and intermediate operating mode;
The left-handed work pattern, including:The input interface is moved to screen left hand edge;
The right hand operating mode, including:The input interface is moved to screen right hand edge;
The intermediate operating mode, including:The input interface is shown among screen.
Optionally, described when detecting the touching signal on the screen, obtain the position of the touching signal, packet It includes:
When detecting the touching signal on the screen, and the duration of the touching signal reaches preset duration threshold value When, obtain the position of the touching signal.
Optionally, described when detecting the touching signal on the screen, obtain the position of the touching signal, packet It includes:
When detecting the touching signal on the screen, and the adjoining of the touch area and screen edge of the touching signal When length is more than pre-set length threshold, the position of the touching signal is obtained.
In the embodiment of the present disclosure, when detecting the touching signal on screen, the position of touching signal is obtained, according to advance The operating mode of storage and the correspondence of predetermined detection area determine the predetermined detection area pair belonging to the position of touching signal The target operational mode answered sets local operating mode to target operational mode, in this way, can be touched according to user's finger The operating mode of terminal is adjusted to the operating mode suitable for user's operation, it is thus possible to improve terminal operation by the position of screen Convenience.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (5)

1. a kind of method of setting operating mode, which is characterized in that the method includes:
In the state that screen display has input interface, when detecting the touching signal on screen, and touch the sliding of signal away from From more than pre-determined distance threshold value the position of touching signal is obtained when the glide direction for touching signal is along the direction of screen long side;
According to the correspondence of pre-stored operating mode and predetermined detection area, belonging to the position for determining the touching signal The corresponding target operational mode in predetermined detection area, wherein the predetermined detection area is included in pre- at screen left hand edge If detection zone and in the predetermined detection area of screen right edge, the predetermined detection area at screen left hand edge refers to From screen left side genesis to the region of predetermined width, described in the predetermined detection area of screen right edge refers to from the right of screen Genesis is to the region of predetermined width;
Set local operating mode to the target operational mode;
Wherein, the correspondence according to pre-stored operating mode and predetermined detection area determines the touching signal Position belonging to the corresponding target operational mode in predetermined detection area, including:
If the position of the touching signal is in the predetermined detection area at screen left hand edge, and not in screen right edge In predetermined detection area, it is determined that it is described touching signal position belonging to the corresponding target operational mode in predetermined detection area be Left-handed work pattern;
If the position of the touching signal is in the predetermined detection area of screen right edge, and not at screen left hand edge In predetermined detection area, it is determined that it is described touching signal position belonging to the corresponding target operational mode in predetermined detection area be Right hand operating mode;
If the position of the touching signal is simultaneously in the predetermined detection area of screen left hand edge and right edge, or simultaneously Not in the predetermined detection area of screen left hand edge and right edge, it is determined that the default inspection belonging to the position of the touching signal It is intermediate operating mode to survey the corresponding target operational mode in region.
2. according to the method described in claim 1, it is characterized in that, the operating mode, including:Left-handed work pattern, the right hand Operating mode and intermediate operating mode;
The left-handed work pattern, including:The input interface is moved to screen left hand edge;
The right hand operating mode, including:The input interface is moved to screen right hand edge;
The intermediate operating mode, including:The input interface is shown among screen.
3. a kind of device of setting operating mode, which is characterized in that described device includes:
Acquisition module when detecting the touching signal on screen, and is touched in the state that screen display has input interface The sliding distance of signal is more than pre-determined distance threshold value, when the glide direction for touching signal is along the direction of screen long side, obtains and touches Touch the position of signal;
Determining module determines the touching for the correspondence according to pre-stored operating mode and predetermined detection area The corresponding target operational mode in predetermined detection area belonging to the position of signal, wherein the predetermined detection area is included in screen Predetermined detection area at curtain left hand edge and in the predetermined detection area of screen right edge, it is described pre- at screen left hand edge It is described in the predetermined detection area of screen right edge if detection zone refers to the region from screen left side genesis to predetermined width Refer to from genesis on the right of screen to the region of predetermined width;
Setup module, for setting local operating mode to the target operational mode;
Wherein, the determining module, is used for:
If the position of the touching signal is in the predetermined detection area at screen left hand edge, and not in screen right edge In predetermined detection area, it is determined that it is described touching signal position belonging to the corresponding target operational mode in predetermined detection area be Left-handed work pattern;
If the position of the touching signal is in the predetermined detection area of screen right edge, and not at screen left hand edge In predetermined detection area, it is determined that it is described touching signal position belonging to the corresponding target operational mode in predetermined detection area be Right hand operating mode;
If the position of the touching signal is simultaneously in the predetermined detection area of screen left hand edge and right edge, or simultaneously Not in the predetermined detection area of screen left hand edge and right edge, it is determined that the default inspection belonging to the position of the touching signal It is intermediate operating mode to survey the corresponding target operational mode in region.
4. device according to claim 3, which is characterized in that the operating mode, including:Left-handed work pattern, the right hand Operating mode and intermediate operating mode;
The left-handed work pattern, including:The input interface is moved to screen left hand edge;
The right hand operating mode, including:The input interface is moved to screen right hand edge;
The intermediate operating mode, including:The input interface is shown among screen.
5. a kind of device of setting operating mode, which is characterized in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
In the state that screen display has input interface, when detecting the touching signal on screen, and touch the sliding of signal away from From more than pre-determined distance threshold value the position of touching signal is obtained when the glide direction for touching signal is along the direction of screen long side;
According to the correspondence of pre-stored operating mode and predetermined detection area, belonging to the position for determining the touching signal The corresponding target operational mode in predetermined detection area, wherein the predetermined detection area is included in pre- at screen left hand edge If detection zone and in the predetermined detection area of screen right edge, the predetermined detection area at screen left hand edge refers to From screen left side genesis to the region of predetermined width, described in the predetermined detection area of screen right edge refers to from the right of screen Genesis is to the region of predetermined width;
Set local operating mode to the target operational mode;
Wherein, according to the correspondence of pre-stored operating mode and predetermined detection area, the position of the touching signal is determined The affiliated corresponding target operational mode in predetermined detection area is set, including:
If the position of the touching signal is in the predetermined detection area at screen left hand edge, and not in screen right edge In predetermined detection area, it is determined that it is described touching signal position belonging to the corresponding target operational mode in predetermined detection area be Left-handed work pattern;
If the position of the touching signal is in the predetermined detection area of screen right edge, and not at screen left hand edge In predetermined detection area, it is determined that it is described touching signal position belonging to the corresponding target operational mode in predetermined detection area be Right hand operating mode;
If the position of the touching signal is simultaneously in the predetermined detection area of screen left hand edge and right edge, or simultaneously Not in the predetermined detection area of screen left hand edge and right edge, it is determined that the default inspection belonging to the position of the touching signal It is intermediate operating mode to survey the corresponding target operational mode in region.
CN201410180843.4A 2014-04-30 2014-04-30 A kind of method and apparatus of setting operating mode Active CN103995666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410180843.4A CN103995666B (en) 2014-04-30 2014-04-30 A kind of method and apparatus of setting operating mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410180843.4A CN103995666B (en) 2014-04-30 2014-04-30 A kind of method and apparatus of setting operating mode

Publications (2)

Publication Number Publication Date
CN103995666A CN103995666A (en) 2014-08-20
CN103995666B true CN103995666B (en) 2018-10-02

Family

ID=51309847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410180843.4A Active CN103995666B (en) 2014-04-30 2014-04-30 A kind of method and apparatus of setting operating mode

Country Status (1)

Country Link
CN (1) CN103995666B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679358B (en) 2013-11-27 2019-02-26 华为终端(东莞)有限公司 A kind of terminal
CN104536684B (en) * 2014-12-16 2017-12-05 小米科技有限责任公司 interface display method and device
CN104461366A (en) * 2014-12-16 2015-03-25 小米科技有限责任公司 Method and device for activating operation state of mobile terminal
CN105005445B (en) * 2015-07-03 2018-10-30 广州华多网络科技有限公司 Control display methods and device
CN105072336A (en) * 2015-07-31 2015-11-18 小米科技有限责任公司 Control method, apparatus and device for adjusting photographing function
CN105872359A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 Method and device for switching cameras
CN106055145A (en) * 2016-05-24 2016-10-26 北京小米移动软件有限公司 Operating mode determination method and apparatus of terminal
CN106168877A (en) * 2016-06-28 2016-11-30 北京小米移动软件有限公司 Enter the method and device of singlehanded pattern
CN106484284B (en) * 2016-09-22 2020-01-10 北京小米移动软件有限公司 Method and device for switching single-hand mode
CN107911540A (en) * 2017-11-08 2018-04-13 维沃移动通信有限公司 Profile switching method and terminal device
CN115695646A (en) * 2021-07-28 2023-02-03 Oppo广东移动通信有限公司 Display method and device of dialing interface, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064629A (en) * 2013-01-30 2013-04-24 龙凡 Portable electronic equipment and method capable of dynamically regulating graphical controls
CN103135903A (en) * 2013-02-22 2013-06-05 北京小米科技有限责任公司 Chart gallery display method and device
CN103164135A (en) * 2011-12-14 2013-06-19 联想(北京)有限公司 Method and device for electronic equipment unlocking and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101313218B1 (en) * 2008-12-08 2013-09-30 삼성메디슨 주식회사 Handheld ultrasound system
US20130021293A1 (en) * 2010-03-01 2013-01-24 Panasonic Corporation Display device
TW201409339A (en) * 2012-08-22 2014-03-01 Wistron Corp Touch panel and associated display method
CN103019562B (en) * 2012-12-07 2016-04-06 东莞宇龙通信科技有限公司 Terminal and control tray configuration method
CN103440089B (en) * 2013-06-25 2017-11-03 百度在线网络技术(北京)有限公司 The interface method of adjustment and user equipment of a kind of user equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164135A (en) * 2011-12-14 2013-06-19 联想(北京)有限公司 Method and device for electronic equipment unlocking and electronic equipment
CN103064629A (en) * 2013-01-30 2013-04-24 龙凡 Portable electronic equipment and method capable of dynamically regulating graphical controls
CN103135903A (en) * 2013-02-22 2013-06-05 北京小米科技有限责任公司 Chart gallery display method and device

Also Published As

Publication number Publication date
CN103995666A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
CN103995666B (en) A kind of method and apparatus of setting operating mode
US11740694B2 (en) Managing and mapping multi-sided touch
CN104991789B (en) Application program open method and device
CN105138259B (en) Operation executes method and device
CN105607805B (en) The footmark processing method and processing device of application icon
CN104503689B (en) Application interface display methods and device
CN104598111B (en) Switch the method and device of display pattern
CN106445238B (en) Edge touch-control suppressing method and device
CN104536684B (en) interface display method and device
EP3136206B1 (en) Method and apparatus for setting threshold
CN104216973B (en) A kind of method and device of data search
CN104571709B (en) The processing method of mobile terminal and virtual key
CN107402676A (en) Trigger action processing method, device and computer-readable recording medium
CN106873834A (en) Method and device and mobile terminal that key range is triggered
CN106802808A (en) Suspension button control method and device
CN108121573A (en) A kind of startup method and apparatus of application program
CN106168877A (en) Enter the method and device of singlehanded pattern
CN106774976A (en) input method switching method and device
CN104461366A (en) Method and device for activating operation state of mobile terminal
CN106339092B (en) Horizontal/vertical screen switching method and apparatus
CN106126050B (en) Menu display method and device
CN105487774A (en) Image grouping method and device
CN106650569B (en) Fingerprint input method and device
CN106325621B (en) Mobile terminal and touch-responsive method
CN104951228B (en) Laying method, device and the terminal device of icon

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant