CN109683766A - Interactive interface control method, mobile terminal and computer readable storage medium - Google Patents

Interactive interface control method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN109683766A
CN109683766A CN201811626343.3A CN201811626343A CN109683766A CN 109683766 A CN109683766 A CN 109683766A CN 201811626343 A CN201811626343 A CN 201811626343A CN 109683766 A CN109683766 A CN 109683766A
Authority
CN
China
Prior art keywords
window
manipulation
mobile terminal
event
interactive 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.)
Granted
Application number
CN201811626343.3A
Other languages
Chinese (zh)
Other versions
CN109683766B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811626343.3A priority Critical patent/CN109683766B/en
Publication of CN109683766A publication Critical patent/CN109683766A/en
Application granted granted Critical
Publication of CN109683766B publication Critical patent/CN109683766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects

Landscapes

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

Abstract

This application provides a kind of interactive interface control method, the method is applied to mobile terminal, which comprises receives the manipulation event for meeting preset condition, wherein the manipulation event is the manipulation event of global response;Obtain the operating parameter of the manipulation event;Corresponding window is controlled according to the operating parameter to adjust from first position to the second position.The application also provides a kind of mobile terminal and computer readable storage medium.By adjusting the mode of the window's position, the operable area of user is not only increased, and maintains the operation target object reset condition in window, not will lead to user, there is a phenomenon where maloperations.

Description

Interactive interface control method, mobile terminal and computer readable storage medium
Technical field
This application involves network communication technology field more particularly to a kind of interactive interface control methods, mobile terminal and meter Calculation machine readable storage medium storing program for executing.
Background technique
With the continuous development of mobile phone, the size of mobile phone is constantly increasing, and large screen cell phone is more and more by user Favored.And in recent years, in order to keep mobile phone in the case where overall dimensions are constant, increase display area, it is narrow frame, boundless Frame and comprehensive screen mobile phone start prevailing, but the mobile phone of these types, because screen proportion variation causes mobile phone elongated, cause to use In operating handset, there are above the average age for marriage operation blind areas at family.Existing mode is to provide singlehanded mode, under singlehanded mode, screen Entirety can be reduced by proportionally whole.Although this mode can become smaller operating area, allow user to more More regions are operated, and this mode was by carrying out whole diminution to display interface at that time, this is resulted in display interface Operation target object be also reduced so that the problem of user is easy to happen maloperation.
Summary of the invention
The main purpose of the application is to propose a kind of interactive interface method, mobile terminal and computer-readable storage medium Matter, it is intended to user is solved when controlling large screen cell phone, it can not be same to maintain when control screen is moved to finger control area Operate the problem of target object is full size.
To achieve the above object, this application provides a kind of interactive interface control method, the method is applied to mobile whole End, which comprises receive the manipulation event for meeting preset condition, wherein the manipulation event is the manipulation of global response Event;Obtain the operating parameter of the manipulation event;Corresponding window is controlled from first position tune according to the operating parameter It is whole to the second position.
Optionally, the back side and/or side of the mobile terminal configure fingerprint sensor, the behaviour for meeting preset condition Control event is to pass through the received touch operation for meeting preset condition of the fingerprint sensor.
Optionally, the step of manipulation event is touch control operation, and the reception meets the manipulation event of preset condition, packet It includes: the detection service of starting manipulation event;Detection view is established by window manager;Based on the detection service, pass through institute It states detection view and receives touch control operation;Determine that the touch control operation meets the preset condition.
Optionally, the window is window corresponding to current interface.
Optionally, the window is global window.
Optionally, the operating parameter comprises at least one of the following: manipulation pressure value, manipulation distance value and manipulation duration Value.
Optionally, after described the step of being adjusted according to the corresponding window of adjusting parameter control, further includes: Return event is detected, controls the window restoration to the first position.
Optionally, the return event comprises at least one of the following: not receiving control operation within a preset time;Pass through Predeterminable area receives touch control operation;Receive keyboard call operation;Receive page jump instruction;It is grasped with the notice center triggering of reception Make.
The application also provides a kind of mobile terminal, and the mobile terminal includes: touch screen;Processor;
Memory is connected to the processor, and the memory includes control instruction, when the processor reads the control When system instruction, controls the mobile terminal and realize above-mentioned interactive interface control method.
The application also provides a kind of computer readable storage medium, and the computer readable storage medium has one or more Program, one or more of programs are executed by one or more processors, to realize above-mentioned interactive interface control method.
Interactive interface method, mobile terminal and computer readable storage medium provided by the present application, pass through preset input Equipment receives the manipulation event of global response, and obtains the operating parameter of the manipulation event, according to control parameter control window from First position is moved to the second position, and the second position can be user-friendly position, by adjusting the side of the window's position Formula, not only increases the operable area of user, and maintains the operation target object reset condition in window, not will lead to There is a phenomenon where maloperations by user.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing each embodiment one optional mobile terminal of the application;
Fig. 2 is the communications network system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart for the interactive interface control method that one embodiment of the application provides;
Fig. 4 is the signal of the detection view for the touch control operation for receiving global response that one embodiment of the application provides Figure;
Fig. 5 adjusts window in the schematic diagram of screen space positions for what one embodiment of the application provided;
Fig. 6 is the schematic diagram for the adjustment window size that one embodiment of the application provides;
Fig. 7 is the structural schematic diagram for the mobile terminal that one embodiment of the application provides.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Fig. 3 is the flow chart of the embodiment of interactive interface control method provided by the present application.The method one of the embodiment Denier is triggered by user, then the process in the embodiment passes through mobile terminal automatic running, wherein each step is when operation It can be and successively carried out according to the sequence in such as flow chart, be also possible to multiple steps according to the actual situation while carrying out, herein And without limitation.Interaction control method provided by the present application includes the following steps:
Step S310 receives the manipulation event for meeting preset condition, wherein the manipulation event is the manipulation of global response Event;
Step S320 obtains the operating parameter of the manipulation event;
Step S330 controls corresponding window according to the operating parameter and adjusts from first position to the second position.
By above embodiment, allow user any in running of mobile terminal in application, triggering can be passed through The manipulation event of overall situation response controls according to the operating parameter of manipulation event corresponding window being moved to second from first position Position not only increases the operable area of user with user-friendly in this manner, and maintains in window Target object reset condition is operated, not will lead to user, there is a phenomenon where maloperations.
Above-mentioned steps are specifically described below in conjunction with specific embodiment.
In step s310, the manipulation event for meeting preset condition is received, wherein the manipulation event is global response Manipulation event.
Specifically, manipulation event refers to the received manipulation operation of input equipment by mobile terminal.In present embodiment In, mobile terminal configuration has fingerprint sensor.In other embodiments, mobile terminal configuration has pressure sensor, needs Bright, aforementioned two kinds of sensors can be configured at mobile terminal, and mobile terminal can also configure other and can receive Manipulate the sensor of operation.Wherein, in the present embodiment, the back side in mobile terminal or shifting can be set in fingerprint sensor The side frame of dynamic terminal, or it is set to the lower section of touch screen.Similarly, pressure sensor also can be set in mobile terminal The side frame of the back side or mobile terminal.In other embodiments, manipulation event can also pass through the touch screen of mobile terminal Specific region triggering.
In the present embodiment, manipulation event is the manipulation event of global response, that is, no matter mobile terminal is currently running It is which kind of application program, whether mobile terminal all real-time detections receive the manipulation event, so that mobile terminal can be at any time Respond the manipulation event.
Specific implementation aspect manipulates thing when mobile terminal realizes the manipulation event for receiving global response by sensor Part is touch operation, preset the condition threshold of touch operation using as judge touch control operation whether meet preset condition according to According to detecting whether to receive touch operation by sensor, when receiving touch operation, judge whether touch operation meets item Part threshold value, if meeting condition threshold, it is determined that receive the manipulation event for meeting preset condition.In the present embodiment, Sensor can be with fingerprint sensor.In other embodiments, sensor may be pressure sensor or other kinds of Sensor.
When mobile terminal receives the manipulation event of global response by the specific region of touch screen, such as lower section can be passed through Formula is realized:
Step S3101 starts the detection service of manipulation event;
Step S3102 establishes detection view by window manager;
Step S3103 is based on the detection service, receives touch control operation by the detection view;
Step S3104 determines that the touch control operation meets the preset condition.
By above embodiment, mobile terminal is allowed to be located at the manipulation in the region by specific region global monitoring Event, and then respond the manipulation event and adjust the position of window according to the manipulation event.
Specifically, in step S3101, detection service is created, is avoided by creating service as movable (activity) When in backstage or closing, the problem of mobile terminal cannot respond to corresponding operating because that can not obtain activity generation.In this implementation In mode, the project of entitled " global manipulation event " is created, button is added by Activitymain.xml to start detection clothes Business further passes through MainActivity.java and adds button Clicked event to start service.It creates entitled " complete The new java class of office's manipulation event ", it extends detection service and realizes touch and monitors.
It in step S3102, obtains window manager (WindowManager), is made by oneself by WindowManager addition Justice detection view, as shown in Figure 4.Wherein it is possible to the attribute of the detection view be arranged, for example, size, size, position, transparency Deng.Wherein it is possible to it is associated with the received operation of mobile terminal by the attribute that will test view, it realizes and detection view is carried out Customized function further by way of providing api interface, provides user and carries out customized interface.By such Mode can be convenient user and the manipulation event for receiving global response be arranged according to demand.
In step S3103, when mobile terminal-opening, start detection service automatically, and draws inspection in display interface Surveys view receives touch control operation by the detection view.
Wherein, preset condition can be duration threshold value, pressure threshold or default gesture.In the specific preset condition of determination When, it can be determined according to the input equipment for receiving manipulation event, for example, be grasped when being received by fingerprint sensor When control event, then preset condition is duration threshold value;When receiving manipulation event by pressure sensor, then preset condition is pressure Threshold value.
In the present embodiment, manipulation event is that single manipulation operates, for example, one applied by fingerprint sensor Touch control operation, wherein the quantity of certain touch control operation is determined according to the quantity of the input equipment for receiving touch control operation, citing and Speech, when only by fingerprint sensor receive touch control operation when, then no matter the operation whether have interrupt or cut off be regarded as it is single Manipulation operation.
Below using preset condition as time threshold, input equipment is that be set to the fingerprint sensor at the back side be input equipment, And for manipulating when event is single manipulation event, illustrate the realization process of step S310:
Step A, judges whether fingerprint sensor receives touch control operation;
Step B records the current touch-control duration of the touch control operation when fingerprint sensor receives touch control operation;
Step C, when current touch-control duration is satisfied with time threshold, it is determined that receive the manipulation thing for meeting preset condition Part.
It should be noted that when preset condition and input equipment are other modes, specific implementation and above-mentioned act Example is similar, therefore, it does not do illustrate one by one herein.
In other embodiments, manipulation event is non-single manipulation operation, that is, manipulation operation includes the first son manipulation Operation and the second son manipulation operation.For example, combination is received for adjusting window by fingerprint sensor and pressure sensor Manipulation operation when, then it is assumed that non-single manipulation operation, that is, two manipulations operate.In the present embodiment, the first son manipulation Operation and the second son manipulation operate while being received and detecting whether to meet corresponding preset condition.In other embodiments, It is corresponding that first son manipulation operation and the second son manipulation operation successively judge that corresponding son manipulation operation meets according to preset order Preset condition, for example, first judge first son manipulation operation after meet corresponding preset condition after, then judge second son manipulation Whether operation meets corresponding preset condition.By above embodiment, the dimension of control window can be increased, by more Dimension may be implemented more accurate to window customized.
In step s 320, the operating parameter of the manipulation event is obtained.
Specifically, operating parameter can be manipulation pressure value, manipulation distance value and manipulation duration value.It should be noted that The method of determination of operating parameter can be determined according to the type for the input equipment for receiving manipulation operation.For example, when logical When over-voltage force snesor receives touch control operation, then operating parameter is manipulation pressure value.
In step S330, corresponding window is controlled according to the operating parameter and is adjusted from first position to second It sets.
Specifically, mobile terminal establishes an activity activity, which, which obtains, uses when starting application program In the window for drawing corresponding interface, which can fill the display area of screen.When application program jumps to another When activity, then new window can be drawn to be shown in front end, to provide user interface on the upper layer of current window. Therefore each application program at runtime, includes at least a window, and since mobile terminal can open multiple answer simultaneously With program, therefore, the screen of mobile terminal is usually stacked multiple windows.In the present embodiment, " desktop " of mobile terminal It is also an activity, and draws corresponding window to form desktop.Exactly because the window of application program is that filling is entire Screen, thus cause on large screen mobile terminal, user can have operation blind area.
Wherein, first position is the position that window fills whole screens, and the second position is window with non-filling whole screen When do the position located.As shown in figure 5, in the present embodiment, changing the window's position is by adjusting window in screen space Position in screen coordinate system and realize, wherein the display area of screen is only in screen space for rendering to using The region at family.For example, it is assumed that the size of screen is A*B, and the original dimension of window is also A*B, when window is in first position When, window fills entire screen just, and when window is moved to the second position, window only has part positioned at the viewing area of screen Domain, remaining part in screen space still in only being shown not over the display area of screen.
As shown in fig. 6, in other embodiments, changing the window's position is realized by adjusting the size of window, together Sample is to assume the size of screen for A*B, and for the original dimension of window is also A*B, when window is at first position, window is lucky Fill entire screen, by adjusting window size be A1*B1 (0 < A1≤A and/or 0 < B1≤B) so that window relative to Free change in first position.
In the present embodiment, the second position is determined by mode predetermined, that is, when control by window from the One position is moved to predetermined position, and for example, control window is translated in the longitudinal direction to longitudinal 60% height.
In other embodiments, the corresponding relationship of the second position and operating parameter is pre-defined, in the present embodiment, Manipulation event is that single manipulation operates, when the second position by adjusting window in the position in screen coordinate system of screen space When obtaining, then the corresponding relationship of operating parameter and moving distance is pre-defined;When the second position is real by adjusting the size of window Now, then the corresponding relationship of operating parameter and window size is pre-defined.In the present embodiment, predetermined first position is arrived The adjustment direction of the second position, for example, adjustment direction are to move from top to bottom along the longitudinal direction of screen.
It for example, is manipulation duration value, the second position shielding in screen space by adjusting window with operating parameter The position of curtain coordinate system obtains, then step S330 can be achieved by the steps of:
Obtain the corresponding relationship of manipulation duration value and the second position;
It is moved from top to bottom according to current manipulation duration value and corresponding relationship control window along the longitudinal direction of screen.
It is manipulation duration value with operating parameter, the second position is by adjusting the size of window, then step S330 can pass through Following steps are realized:
Obtain the corresponding relationship of manipulation duration value and window size;
Size is adjusted from top to bottom along the longitudinal direction of screen according to current manipulation duration value and corresponding relationship control window.
Further, when the event of manipulation is that non-single manipulation operates, that is, manipulation operation includes that the first son manipulates operation With the second son manipulation operation, step S320 is the first sub- operating parameter and the second son manipulation operation for obtaining the first son manipulation operation The second sub- operating parameter, in the present embodiment, the first sub- operating parameter can be manipulation pressure value, manipulation distance value and behaviour Duration value is controlled, the second sub- operating parameter can be manipulation position.
In step S330, the corresponding relationship of the second position and operating parameter is pre-defined, in the present embodiment, when the Two positions when obtaining in the position of screen coordinate system, then pre-define the first son manipulation ginseng in screen space by adjusting window Several corresponding relationships with moving distance;When the second position is realized by adjusting the size of window, then the first son behaviour is pre-defined Control the corresponding relationship of parameter and window size.The moving direction relationship of pre-defined second sub- operating parameter and the window's position, is lifted For example, when the manipulation position of the second sub- operating parameter is located at left pressure sensor, then controls window and move to the left.
In the present embodiment, step S330 can be achieved by the steps of:
The moving direction of window is determined according to the second sub- operating parameter and moving direction relationship;
The moving distance of window is determined according to the first sub- operating parameter and corresponding relationship;
It is adjusted from first position to the second position according to moving direction and moving distance control window.
In other embodiments, mobile terminal includes the first touch screen and the second touch screen, and window is the first touch screen On window, the second son manipulation operation is the manipulation by the received touch control operation of the second touch screen, in the second sub- operating parameter Position is position of the second son manipulation operation on the second touch screen.
By above embodiment, user is allowed freely to adjust the display position of window by applying manipulation event, Facilitate user to adjust window according to the actual situation, improves user experience.
In the present embodiment, window is global window.In other embodiments, window be display interface at least One window.
In the present embodiment, the second son manipulation operation is received by pressure sensor, and the second sub- operating parameter further includes Pressure value pre-defines the choice relation of pressure value and the window number of plies.Can determining as follows for step S330 is opposite The window answered: corresponding window is determined according to the pressure value of the second son manipulation operation and choice relation.
By above embodiment, user can be allowed to more accurately control and need mobile window.
Further, after controlling corresponding window according to adjusting parameter and adjusting from first position to the second position, this Application further includes following steps:
Step S340 detects return event, controls the window restoration to the first position.
Specifically, return event refers to that the manipulation for controlling window restoration to first position operates.Wherein, event is returned It can also comprise at least one of the following: do not receive control operation within a preset time, touch control operation is received by predeterminable area, Keyboard call operation is received, page jump instruction is received and receives notice center trigger action.
Fig. 7 is the structure composition schematic diagram of mobile terminal 100 provided by the embodiments of the present application, and mobile terminal 100 includes: touching Touch panel 1071;Processor 110;Memory 109 is connect with the processor 110, and the memory 109 includes control instruction, When the processor 110 reads the control instruction, controls the mobile terminal 100 and realize following steps: receiving and meet in advance If the manipulation event of condition, wherein the manipulation event is the manipulation event of global response;Obtain the manipulation of the manipulation event Parameter;Corresponding window is controlled according to the operating parameter to adjust from first position to the second position.
Optionally, the back side and/or side of the mobile terminal configure fingerprint sensor, the behaviour for meeting preset condition Control event is to pass through the received touch operation for meeting preset condition of the fingerprint sensor.
Optionally, the step of manipulation event is touch control operation, and the reception meets the manipulation event of preset condition, packet It includes: the detection service of starting manipulation event;Detection view is established by window manager;Based on the detection service, pass through institute It states detection view and receives touch control operation;Determine that the touch control operation meets the preset condition.
Optionally, the window is window corresponding to current interface.
Optionally, the window is global window.
Optionally, the operating parameter comprises at least one of the following: manipulation pressure value, manipulation distance value and manipulation duration Value.
Optionally, after described the step of being adjusted according to the corresponding window of adjusting parameter control, further includes: Return event is detected, controls the window restoration to the first position.
Optionally, the return event comprises at least one of the following: not receiving control operation within a preset time;Pass through Predeterminable area receives touch control operation;Receive keyboard call operation;Receive page jump instruction;It is grasped with the notice center triggering of reception Make
By above-mentioned mobile terminal, the manipulation event of global response is received by preset input equipment, and obtains the behaviour The operating parameter of control event controls window according to control parameter and is moved to the second position from first position, and the second position can be User-friendly position not only increases the operable area of user by adjusting the mode of the window's position, and maintains Operation target object reset condition in window, not will lead to user there is a phenomenon where maloperations.
The embodiment of the present application also provides a kind of computer readable storage medium, and computer readable storage medium has one or more A program, one or more programs are executed by one or more processors, and to realize following steps: reception meets preset condition Manipulation event, wherein the manipulation event is the manipulation event of global response;Obtain the operating parameter of the manipulation event;Root Corresponding window is controlled according to the operating parameter to adjust from first position to the second position.
Optionally, the back side and/or side of the mobile terminal configure fingerprint sensor, the behaviour for meeting preset condition Control event is to pass through the received touch operation for meeting preset condition of the fingerprint sensor.
Optionally, the step of manipulation event is touch control operation, and the reception meets the manipulation event of preset condition, packet It includes: the detection service of starting manipulation event;Detection view is established by window manager;Based on the detection service, pass through institute It states detection view and receives touch control operation;Determine that the touch control operation meets the preset condition.
Optionally, the window is window corresponding to current interface.
Optionally, the window is global window.
Optionally, the operating parameter comprises at least one of the following: manipulation pressure value, manipulation distance value and manipulation duration Value.
Optionally, after described the step of being adjusted according to the corresponding window of adjusting parameter control, further includes: Return event is detected, controls the window restoration to the first position.
Optionally, the return event comprises at least one of the following: not receiving control operation within a preset time;Pass through Predeterminable area receives touch control operation;Receive keyboard call operation;Receive page jump instruction;It is grasped with the notice center triggering of reception Make.
By above-mentioned computer readable storage medium, the manipulation event of global response is received by preset input equipment, And the operating parameter of the manipulation event is obtained, and window is controlled according to control parameter and is moved to the second position from first position, second Position can be user-friendly position, and by adjusting the mode of the window's position, not only increase user can operating space Domain, and the operation target object reset condition in window is maintained, not will lead to user, there is a phenomenon where maloperations.
The embodiment of the present application also provides a kind of computer readable storage mediums.Here computer readable storage medium is deposited Contain one or more program.Wherein, computer readable storage medium may include volatile memory, such as arbitrary access Memory;Memory also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid-state are hard Disk;Memory can also include the combination of the memory of mentioned kind.
Corresponding technical characteristic in the respective embodiments described above do not cause scheme contradiction or it is not implementable under the premise of, can Mutually to use.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form, these are belonged within the protection of the application.

Claims (10)

1. a kind of interactive interface control method, which is characterized in that the method is applied to mobile terminal, which comprises
Receive the manipulation event for meeting preset condition, wherein the manipulation event is the manipulation event of global response;
Obtain the operating parameter of the manipulation event;
Corresponding window is controlled according to the operating parameter to adjust from first position to the second position.
2. interactive interface control method as described in claim 1, which is characterized in that the back side and/or side of the mobile terminal Side configures fingerprint sensor, and the manipulation event for meeting preset condition is default by the received satisfaction of the fingerprint sensor The touch operation of condition.
3. interactive interface control method as described in claim 1, which is characterized in that the manipulation event is touch control operation, institute State the step of reception meets the manipulation event of preset condition, comprising:
Start the detection service of manipulation event;
Detection view is established by window manager;
Based on the detection service, touch control operation is received by the detection view;
Determine that the touch control operation meets the preset condition.
4. interactive interface control method as described in claim 1, which is characterized in that the window be display interface at least One window.
5. interactive interface control method as described in claim 1, which is characterized in that the window is global window.
6. the interactive interface control method as described in claim 1-3, which is characterized in that the operating parameter include it is following at least It is a kind of: manipulation pressure value, manipulation distance value and manipulation duration value.
7. interactive interface control method as described in claim 1, which is characterized in that described to control phase according to the adjusting parameter After the step of corresponding window is adjusted, further includes:
Return event is detected, controls the window restoration to the first position.
8. interactive interface control method as claimed in claim 7, which is characterized in that the return event includes following at least one Kind:
Do not receive control operation within a preset time;
Touch control operation is received by predeterminable area;
Receive keyboard call operation;
Receive page jump instruction;With
Receive notice center trigger action.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Touch screen;
Processor;
Memory is connected to the processor, and the memory includes control instruction, is referred to when the processor reads the control When enabling, controls the mobile terminal and realize any one of claim 1-8 interactive interface control method.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium has one or more journeys Sequence, one or more of programs are executed by one or more processors, to realize any one of claim 1 to 8 interactive interface Control method.
CN201811626343.3A 2018-12-28 2018-12-28 Interactive interface control method, mobile terminal and computer readable storage medium Active CN109683766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811626343.3A CN109683766B (en) 2018-12-28 2018-12-28 Interactive interface control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811626343.3A CN109683766B (en) 2018-12-28 2018-12-28 Interactive interface control method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109683766A true CN109683766A (en) 2019-04-26
CN109683766B CN109683766B (en) 2021-08-03

Family

ID=66190975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811626343.3A Active CN109683766B (en) 2018-12-28 2018-12-28 Interactive interface control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109683766B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111263104A (en) * 2020-02-07 2020-06-09 视联动力信息技术股份有限公司 Window display method and device and storage medium
CN112256170A (en) * 2020-10-15 2021-01-22 珠海格力电器股份有限公司 Screen control method and device
CN114296857A (en) * 2021-12-29 2022-04-08 北京五八信息技术有限公司 Interface adjusting method and device, electronic equipment and readable medium
CN114764300A (en) * 2020-12-30 2022-07-19 华为技术有限公司 Interaction method and device for window pages, electronic equipment and readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830914A (en) * 2012-07-31 2012-12-19 北京三星通信技术研究有限公司 Method and equipment for operation terminal equipment
CN103984463A (en) * 2014-06-04 2014-08-13 深圳市亚略特生物识别科技有限公司 Unlocking method and device of touch screen
CN105224169A (en) * 2015-09-09 2016-01-06 魅族科技(中国)有限公司 A kind of interface movement method and terminal
US20160103504A1 (en) * 2014-10-13 2016-04-14 Samsung Electronics Co., Ltd. Method and electronic device for operating electronic pen
CN105824495A (en) * 2015-11-30 2016-08-03 维沃移动通信有限公司 Method for operating mobile terminal with single hand and mobile terminal
CN106133748A (en) * 2012-05-18 2016-11-16 苹果公司 For handling the equipment of user interface, method and graphic user interface based on fingerprint sensor input
CN107329655A (en) * 2017-06-27 2017-11-07 努比亚技术有限公司 A kind of window adjusting method, mobile terminal and computer-readable recording medium
CN107360312A (en) * 2017-06-28 2017-11-17 努比亚技术有限公司 Control method, equipment and the computer of screen can storage medium
CN107526523A (en) * 2017-08-22 2017-12-29 维沃移动通信有限公司 The operation interface control method and mobile terminal of a kind of mobile terminal
CN107885991A (en) * 2017-11-30 2018-04-06 努比亚技术有限公司 A kind of locking screen interface control method, mobile terminal and computer-readable recording medium
CN107967106A (en) * 2016-10-20 2018-04-27 中兴通讯股份有限公司 A kind of interface operation method and mobile terminal
US20180232558A1 (en) * 2017-02-15 2018-08-16 Samsung Electronics Co., Ltd. Method for performing interaction and electronic device using the same
CN108563383A (en) * 2018-03-30 2018-09-21 维沃移动通信有限公司 A kind of image viewing method and mobile terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106133748A (en) * 2012-05-18 2016-11-16 苹果公司 For handling the equipment of user interface, method and graphic user interface based on fingerprint sensor input
CN102830914A (en) * 2012-07-31 2012-12-19 北京三星通信技术研究有限公司 Method and equipment for operation terminal equipment
CN103984463A (en) * 2014-06-04 2014-08-13 深圳市亚略特生物识别科技有限公司 Unlocking method and device of touch screen
US20160103504A1 (en) * 2014-10-13 2016-04-14 Samsung Electronics Co., Ltd. Method and electronic device for operating electronic pen
CN105224169A (en) * 2015-09-09 2016-01-06 魅族科技(中国)有限公司 A kind of interface movement method and terminal
CN105824495A (en) * 2015-11-30 2016-08-03 维沃移动通信有限公司 Method for operating mobile terminal with single hand and mobile terminal
CN107967106A (en) * 2016-10-20 2018-04-27 中兴通讯股份有限公司 A kind of interface operation method and mobile terminal
US20180232558A1 (en) * 2017-02-15 2018-08-16 Samsung Electronics Co., Ltd. Method for performing interaction and electronic device using the same
CN107329655A (en) * 2017-06-27 2017-11-07 努比亚技术有限公司 A kind of window adjusting method, mobile terminal and computer-readable recording medium
CN107360312A (en) * 2017-06-28 2017-11-17 努比亚技术有限公司 Control method, equipment and the computer of screen can storage medium
CN107526523A (en) * 2017-08-22 2017-12-29 维沃移动通信有限公司 The operation interface control method and mobile terminal of a kind of mobile terminal
CN107885991A (en) * 2017-11-30 2018-04-06 努比亚技术有限公司 A kind of locking screen interface control method, mobile terminal and computer-readable recording medium
CN108563383A (en) * 2018-03-30 2018-09-21 维沃移动通信有限公司 A kind of image viewing method and mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111263104A (en) * 2020-02-07 2020-06-09 视联动力信息技术股份有限公司 Window display method and device and storage medium
CN112256170A (en) * 2020-10-15 2021-01-22 珠海格力电器股份有限公司 Screen control method and device
CN114764300A (en) * 2020-12-30 2022-07-19 华为技术有限公司 Interaction method and device for window pages, electronic equipment and readable storage medium
CN114764300B (en) * 2020-12-30 2024-05-03 华为技术有限公司 Window page interaction method and device, electronic equipment and readable storage medium
CN114296857A (en) * 2021-12-29 2022-04-08 北京五八信息技术有限公司 Interface adjusting method and device, electronic equipment and readable medium

Also Published As

Publication number Publication date
CN109683766B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN109521925A (en) Icon arrangement method, mobile terminal and computer readable storage medium
CN108989563A (en) Display methods, mobile terminal and the computer readable storage medium of double-sided screen
CN109614176A (en) A kind of application interface layout method, terminal and computer readable storage medium
CN109683771A (en) Three-dimensional touch menu configuration method, mobile terminal and computer readable storage medium
CN109213401A (en) Double-sided screen application icon method for sorting, mobile terminal and readable storage medium storing program for executing
CN109683766A (en) Interactive interface control method, mobile terminal and computer readable storage medium
CN109343775A (en) Double screen terminal screen switching method, terminal and computer readable storage medium
CN107450796B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN108038827A (en) Image processing method, mobile terminal and computer-readable recording medium
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN109992183A (en) Preview picture and the method for selection, terminal and storage medium
CN110064192A (en) Interface control method, mobile terminal and computer readable storage medium
CN109040441A (en) Using display methods of attending to anything else, mobile terminal and computer readable storage medium
CN109462696A (en) Information cuing method, mobile terminal and computer readable storage medium
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109729267A (en) Filter selection method, mobile terminal and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN109117105A (en) A kind of collaboration desktop interaction regulation method, equipment and computer readable storage medium
CN110278481A (en) Picture-in-picture implementing method, terminal and computer readable storage medium
CN110286816A (en) Mobile terminal page switching method, mobile terminal and computer readable storage medium
CN109889651A (en) A kind of notification message processing method, terminal and computer readable storage medium
CN110418004A (en) Screenshot processing method, terminal and computer readable storage medium
CN110069182A (en) Wallpaper control method, mobile terminal and computer readable storage medium
CN110096213A (en) Terminal operation method, mobile terminal and readable storage medium storing program for executing based on gesture

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
GR01 Patent grant
GR01 Patent grant