CN108509141B - Control generation method and mobile terminal - Google Patents

Control generation method and mobile terminal Download PDF

Info

Publication number
CN108509141B
CN108509141B CN201810288378.4A CN201810288378A CN108509141B CN 108509141 B CN108509141 B CN 108509141B CN 201810288378 A CN201810288378 A CN 201810288378A CN 108509141 B CN108509141 B CN 108509141B
Authority
CN
China
Prior art keywords
control
receiving
target control
candidate
candidate control
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
CN201810288378.4A
Other languages
Chinese (zh)
Other versions
CN108509141A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810288378.4A priority Critical patent/CN108509141B/en
Publication of CN108509141A publication Critical patent/CN108509141A/en
Application granted granted Critical
Publication of CN108509141B publication Critical patent/CN108509141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a control generation method and a mobile terminal, relates to the field of communication, and solves the problems that in the prior art, the control of an application program cannot meet the requirements of different users, and the operability is poor. The method comprises the following steps: receiving a first touch operation on an application program interface, wherein a touch track of the first touch operation forms a closed graph; receiving a second touch operation on a candidate control in the closed graph; and responding to the second touch operation, and generating a target control, wherein the display area of the target control is different from the display area of the candidate control. The scheme of the invention can enable the target control to be more suitable for individual habits of users, meet the requirements of different users and improve the operability and user experience.

Description

Control generation method and mobile terminal
Technical Field
The invention relates to the field of communication, in particular to a control generation method and a mobile terminal.
Background
With the continuous development of electronic technology, mobile phones have become indispensable communication tools in people's daily life, mobile phone games have become popular, and mobile phone games are occupying fragmented time of users. However, the control area of the application program such as the mobile phone game is basically fixed at a certain position according to the screen resolution, and when a user operates the game by using a mobile phone, the user can only operate the game in the fixed control area on the screen. The mobile phone screens are different in size, and fingers of different lengths are different among people. Due to the difference of individuals, the fixed control area in the game cannot meet the requirements of all people, and the operability is poor, so that the game experience is poor.
Disclosure of Invention
The embodiment of the invention provides a control generation method and a mobile terminal, and aims to solve the problems that in the prior art, the control of an application program cannot meet the requirements of different users, and the operability is poor.
In order to solve the technical problem, the invention is realized as follows: a control generation method comprises the following steps:
receiving a first touch operation on an application program interface, wherein a touch track of the first touch operation forms a closed graph;
receiving a second touch operation on a candidate control in the closed graph;
and responding to the second touch operation, and generating a target control, wherein the display area of the target control is different from the display area of the candidate control.
An embodiment of the present invention further provides a mobile terminal, including:
the device comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a first touch operation on an application program interface, and a touch track of the first touch operation forms a closed graph;
the second receiving module is used for receiving a second touch operation on the candidate control in the closed graph;
and the generating module is used for responding to the second touch operation and generating a target control, and the display area of the target control is different from that of the candidate control.
The embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the computer program implements the steps of the control generation method according to any one of the above items.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for generating a control according to any one of the above.
In the embodiment of the invention, a first touch operation on an application program interface is received, and a touch track of the first touch operation forms a closed graph; then receiving a second touch operation on the candidate control in the closed graph; and responding to the second touch operation, and generating a target control, wherein the display area of the target control is different from that of the candidate control. Therefore, the target control is generated based on touch operation, so that the target control is more suitable for individual habits of users, the requirements of different users are met, and operability and user experience are greatly improved.
Drawings
Fig. 1 is a flowchart of a method for generating a control according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a closed graph in the control generation method provided in the embodiment of the present invention;
fig. 3 is a schematic diagram illustrating position movement of a candidate control in a closed graph in a control generation method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a size adjustment of a candidate control in a closed graph in a control generation method according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating drag synthesis of a candidate control in a closed graph in the control generation method according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is another schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In some embodiments of the present invention, a method for generating a control is provided, which is shown in fig. 1, and includes:
step 101: receiving a first touch operation on an application program interface, wherein a touch track of the first touch operation forms a closed graph.
Here, the user may select any control on the application program interface to perform adjustment by performing a first touch operation of forming a closed graph by a touch trajectory on the application program interface.
The closed graph can be an irregular graph or a regular graph.
Step 102: and receiving a second touch operation on the candidate control in the closed graph.
Here, the user may implement adjustment of the candidate control by a second touch operation on the candidate control in the closed graph, so as to better adapt to individual habits of the user.
Step 103: and responding to the second touch operation, and generating a target control, wherein the display area of the target control is different from the display area of the candidate control.
Here, the target control is generated by responding to the second touch operation, and the display area of the target control is different from that of the candidate control, so that the target control can adapt to individual habits of users, the requirements of different users are met, and operability and user experience are greatly improved.
For example, assuming that the application program interface is an application program interface of certain game software, as shown in fig. 2, a first touch operation of a user on the application program interface is received, a touch trajectory of the first touch operation forms a closed graph C, a second touch operation on a candidate control (e.g., a1, a2, or A3 in the closed graph C) may be received, and a target control is generated by responding to the second touch operation, where a display area of the target control is different from a display area of the candidate control, so that the target control is more adapted to an individual habit of the user, and a game experience of the user is greatly improved.
The method for generating the control can enable the target control to be more suitable for individual habits of users, meet the requirements of different users, and greatly improve operability and user experience.
Optionally, the step 102 includes:
and receiving a movement operation of the candidate control in the closed graph from a first position to a second position.
Here, by receiving the movement operation of moving the candidate control in the closed graph from the first position to the second position, the user can move the control according to the operation habit of the user, and the use of the user is facilitated.
The first position refers to the original position of the candidate control, and the second position may be any position on the application program interface.
The step 103 includes:
and responding to the moving operation, and generating a target control at the second position, wherein the target control and the candidate control have the same function.
And generating a target control at the second position by responding to the movement operation, wherein the target control and the candidate control have the same function, so that the movement of the control position is realized, and the operability and the user experience are improved.
For example, assuming that the application program interface is an application program interface of certain game software, as shown in fig. 2, a touch trajectory of a first touch operation of a user on the application program interface forms a closed graph C, candidate controls within the closed graph C include a1, a2 and A3, assuming that the control a1 has a moving function, the control a2 has a function of playing out skill 1, and the control A3 has a function of playing out skill 2. The method can receive the moving operation of the candidate control position in the closed graph, and generates the target control at the second position by responding to the moving operation, wherein the target control and the candidate control have the same function, and the movement of the control position is realized. As shown in fig. 3, a moving operation of the control a1 from the original first position to the second position where the control B1 is located may be received, and by responding to the moving operation, the target control B1 is generated at the second position, and the function of the target control B1 is the same as that of the control a1, that is, the target control B1 is triggered to trigger the moving function, so that the movement of the control a1 is realized. Similarly, the movement operation of the control a2 from the original first position to the second position where the B2 is located can be received, the target control B2 is generated at the second position by responding to the movement operation, the function of the target control B2 is the same as that of the control a2, namely the target control B2 is triggered to release the skill 1, and the movement of the control a2 position is realized. Similarly, the movement operation of the control A3 from the original first position to the second position where the B3 is located can be received, the target control B3 is generated at the second position by responding to the movement operation, the function of the target control B3 is the same as that of the control A3, namely the target control B3 is triggered to release the skill 2, and the movement of the control A3 position is realized.
Optionally, the step 102 includes:
an adjustment operation for adjusting the size of the candidate control in the closed graph from a first size to a second size is received.
Here, by receiving the operation of adjusting the size of the candidate control in the closed graph from the first size to the second size, the user can adjust the size of the control according to the own operation habit, and the use of the user is facilitated.
The first size refers to the original size of the candidate control, and the second size may be any suitable size.
The step 103 includes:
and responding to the adjustment operation, generating a target control, wherein the size of the target control is a second size, and the functions of the target control and the candidate control are the same.
And generating a target control of a second size by responding to the adjustment operation, wherein the target control and the candidate control have the same function, so that the adjustment of the size of the control is realized, and the operability and the user experience are improved.
For example, assuming that the application program interface is an application program interface of certain game software, as shown in fig. 2, a touch trajectory of a first touch operation of a user on the application program interface forms a closed graph C, candidate controls within the closed graph C include a1, a2 and A3, assuming that the control a1 has a moving function, the control a2 has a function of playing out skill 1, and the control A3 has a function of playing out skill 2. The method can receive the adjustment operation of the size of the candidate control in the closed graph, and generates the target control with the second size by responding to the adjustment operation, wherein the target control and the candidate control have the same function, so that the adjustment of the size of the control is realized. As shown in fig. 4, an adjustment operation of enlarging the control A3 from the original first size to a second size shown in B4 may be received, and a target control B4 is generated by responding to the adjustment operation, where the target control B4 has the same function as the control A3, that is, the target control B4 is triggered to release the skill 2, so that the size adjustment of the control A3 is realized. Similarly, the resizing of controls A1 and A2 can be accomplished in the same manner and will not be described here.
Optionally, the step 102 includes:
and receiving a dragging operation of a first candidate control in the closed graph.
Here, by receiving the dragging operation of the first candidate control in the closed graph, the user can merge different controls, so that the operation is facilitated, and the use of the user is facilitated.
The step 103 includes:
in response to the dragging operation, under the condition that an overlapping area of display areas of the first candidate control and the second candidate control is detected, generating a target control, wherein functions of the target control comprise functions of the first candidate control and functions of the second candidate control.
Here, by responding to the dragging operation, a synthesized target control is generated under the condition that an overlapping area exists in the display areas of the first candidate control and the second candidate control, the functions of the target control comprise the functions of the first candidate control and the functions of the second candidate control, synthesis of different controls is realized, a user can realize the functions of the first candidate control and the second candidate control at the same time only by triggering the target control, the use by the user is facilitated, and operability and user experience are improved.
For example, assuming that the application program interface is an application program interface of certain game software, as shown in fig. 2, a touch trajectory of a first touch operation of a user on the application program interface forms a closed graph C, candidate controls within the closed graph C include a1, a2 and A3, assuming that the control a1 has a moving function, the control a2 has a function of playing out skill 1, and the control A3 has a function of playing out skill 2. The method can receive dragging operation of a first candidate control in the closed graph, and generates the target control with the functions of the first candidate control and a second candidate control by responding to the dragging operation under the condition that the display areas of the first candidate control and the second candidate control have an overlapping area, so that different controls are synthesized. As shown in fig. 5, a dragging operation of the control a1 may be received, and in response to the dragging operation, in a case that there is an overlapping area in the display areas of the control a1 and the control a2, a target control B5 is generated, and the target control B5 has the functions of the controls a1 and a2, that is, triggering the target control B5 may trigger a move function, and simultaneously release the skill 1, thereby implementing the synthesis of the controls a1 and a 2. Similarly, the synthesis of the controls a1 and A3, or the synthesis of the controls a2 and A3 can be implemented in the same manner, and will not be described herein.
Optionally, after step 103, the method further includes:
step 104: removing the candidate control on the application program interface.
At the moment, the target control is generated, the candidate control is replaced by the target control, the control display area is adjusted, and the candidate control is removed from the application program interface, so that the interference of the candidate control on the target control is avoided.
The method for generating the control can enable the target control to be more suitable for individual habits of users, meet the requirements of different users, and greatly improve operability and user experience.
In some embodiments of the present invention, referring to fig. 6, a mobile terminal 600 is also provided. The mobile terminal 600 includes:
a first receiving module 601, configured to receive a first touch operation on an application program interface, where a touch trajectory of the first touch operation forms a closed graph;
a second receiving module 602, configured to receive a second touch operation on a candidate control in the closed graph;
a generating module 603, configured to generate a target control in response to the second touch operation, where a display area of the target control is different from a display area of the candidate control.
The mobile terminal 600 of the embodiment of the invention can enable the target control to be more suitable for individual habits of users, meet the requirements of different users, and greatly improve the operability and user experience.
Optionally, the second receiving module 602 includes:
the first receiving sub-module is used for receiving a moving operation of the candidate control in the closed graph from a first position to a second position;
the generating module 603 includes:
and the first generation sub-module is used for responding to the moving operation and generating a target control at the second position, and the target control and the candidate control have the same function.
Optionally, the second receiving module 602 includes:
the second receiving submodule is used for receiving an adjusting operation of adjusting the size of the candidate control in the closed graph from the first size to the second size;
the generating module 603 includes:
and the second generation submodule is used for responding to the adjustment operation and generating a target control, wherein the size of the target control is a second size, and the functions of the target control and the candidate control are the same.
Optionally, the second receiving module 602 includes:
the third receiving submodule is used for receiving dragging operation of the first candidate control in the closed graph;
the generating module 603 includes:
and the third generation sub-module is used for responding to the dragging operation, and generating a target control under the condition that the display areas of the first candidate control and the second candidate control are detected to have an overlapping area, wherein the function of the target control comprises the function of the first candidate control and the function of the second candidate control.
Optionally, the method further includes:
a removal module to remove the candidate control on the application program interface.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 5, and is not described herein again in order to avoid repetition. The mobile terminal 600 of the embodiment of the invention can enable the target control to be more suitable for individual habits of users, meet the requirements of different users, and greatly improve the operability and user experience.
Fig. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 707 is configured to receive a first touch operation on an application program interface, where a touch trajectory of the first touch operation forms a closed graph; receiving a second touch operation on a candidate control in the closed graph; and the processor 710 is configured to generate a target control in response to the second touch operation, where a display area of the target control is different from a display area of the candidate control.
The mobile terminal 700 enables the target control to be more suitable for individual habits of users, meets the requirements of different users, and greatly improves operability and user experience.
Optionally, the user input unit 707 is further configured to: receiving a movement operation of a candidate control in the closed graph from a first position to a second position; the processor 710 is further configured to: and responding to the moving operation, and generating a target control at the second position, wherein the target control and the candidate control have the same function.
Optionally, the user input unit 707 is further configured to: receiving an adjustment operation for adjusting the size of a candidate control in the closed graph from a first size to a second size; the processor 710 is further configured to: and responding to the adjustment operation, generating a target control, wherein the size of the target control is a second size, and the functions of the target control and the candidate control are the same.
Optionally, the user input unit 707 is further configured to: receiving a dragging operation of a first candidate control in the closed graph; the processor 710 is further configured to: in response to the dragging operation, under the condition that an overlapping area of display areas of the first candidate control and the second candidate control is detected, generating a target control, wherein functions of the target control comprise functions of the first candidate control and functions of the second candidate control.
Optionally, the processor 710 is further configured to: removing the candidate control on the application program interface.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external device is connected to the mobile terminal 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and external devices.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 710, a memory 709, and a computer program stored in the memory 709 and capable of running on the processor 710, where the computer program, when executed by the processor 710, implements each process of the above-mentioned control generation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the control generation method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A method for generating a control, comprising:
receiving a first touch operation on an application program interface, wherein a touch track of the first touch operation forms a closed graph;
receiving a second touch operation on a candidate control in the closed graph;
responding to the second touch operation, and generating a target control, wherein the display area of the target control is different from that of the candidate control;
wherein the target control and the candidate control are simultaneously displayed on the application program interface;
the receiving a second touch operation on a candidate control in the closed graph comprises:
receiving a dragging operation of a first candidate control in the closed graph;
the generating a target control in response to the second touch operation comprises:
in response to the dragging operation, under the condition that an overlapping area of display areas of the first candidate control and the second candidate control is detected, generating a target control, wherein functions of the target control comprise functions of the first candidate control and functions of the second candidate control.
2. The method of claim 1, wherein receiving a second touch operation on a candidate control within the closed graph comprises:
receiving a movement operation of a candidate control in the closed graph from a first position to a second position;
the generating a target control in response to the second touch operation comprises:
and responding to the moving operation, and generating a target control at the second position, wherein the target control and the candidate control have the same function.
3. The method of claim 1, wherein receiving a second touch operation on a candidate control within the closed graph comprises:
receiving an adjustment operation for adjusting the size of a candidate control in the closed graph from a first size to a second size;
the generating a target control in response to the second touch operation comprises:
and responding to the adjustment operation, generating a target control, wherein the size of the target control is a second size, and the functions of the target control and the candidate control are the same.
4. The method of claim 1, wherein after generating a target control in response to the second touch operation, further comprising:
removing the candidate control on the application program interface.
5. A mobile terminal, comprising:
the device comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a first touch operation on an application program interface, and a touch track of the first touch operation forms a closed graph;
the second receiving module is used for receiving a second touch operation on the candidate control in the closed graph;
a generating module, configured to generate a target control in response to the second touch operation, where a display area of the target control is different from a display area of the candidate control;
wherein the target control and the candidate control are simultaneously displayed on the application program interface;
the second receiving module includes:
the third receiving submodule is used for receiving dragging operation of the first candidate control in the closed graph;
the generation module comprises:
and the third generation sub-module is used for responding to the dragging operation, and generating a target control under the condition that the display areas of the first candidate control and the second candidate control are detected to have an overlapping area, wherein the function of the target control comprises the function of the first candidate control and the function of the second candidate control.
6. The mobile terminal of claim 5, wherein the second receiving module comprises:
the first receiving sub-module is used for receiving a moving operation of the candidate control in the closed graph from a first position to a second position;
the generation module comprises:
and the first generation sub-module is used for responding to the moving operation and generating a target control at the second position, and the target control and the candidate control have the same function.
7. The mobile terminal of claim 5, wherein the second receiving module comprises:
the second receiving submodule is used for receiving an adjusting operation of adjusting the size of the candidate control in the closed graph from the first size to the second size;
the generation module comprises:
and the second generation submodule is used for responding to the adjustment operation and generating a target control, wherein the size of the target control is a second size, and the functions of the target control and the candidate control are the same.
8. The mobile terminal of claim 5, further comprising:
a removal module to remove the candidate control on the application program interface.
CN201810288378.4A 2018-03-30 2018-03-30 Control generation method and mobile terminal Active CN108509141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810288378.4A CN108509141B (en) 2018-03-30 2018-03-30 Control generation method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810288378.4A CN108509141B (en) 2018-03-30 2018-03-30 Control generation method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108509141A CN108509141A (en) 2018-09-07
CN108509141B true CN108509141B (en) 2020-06-02

Family

ID=63379898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810288378.4A Active CN108509141B (en) 2018-03-30 2018-03-30 Control generation method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108509141B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007839A (en) * 2019-04-10 2019-07-12 网易(杭州)网络有限公司 Technical ability control method and device, storage medium and electronic equipment in game
CN112221122B (en) * 2020-09-25 2023-12-05 杭州电魂网络科技股份有限公司 Alternative skill synthesis interaction method, system, electronic device and storage medium
CN112416192A (en) * 2020-11-11 2021-02-26 北京梧桐车联科技有限责任公司 Application program control method and device, electronic equipment and computer storage medium
CN113468452B (en) * 2021-09-03 2021-11-16 成都国星宇航科技有限公司 Remote sensing data visual interface interaction method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929540A (en) * 2012-10-19 2013-02-13 广东欧珀移动通信有限公司 Desktop icon position adjusting method and mobile intelligent terminal
CN103631484A (en) * 2012-08-24 2014-03-12 中兴通讯股份有限公司 Interface control position adjusting method, device and terminal
CN104156166A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Controls distribution adjustment method and device
CN106855806A (en) * 2016-12-08 2017-06-16 乐视控股(北京)有限公司 A kind of method and device of the self-defined adjustment of interface layout

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5379250B2 (en) * 2011-02-10 2013-12-25 株式会社ソニー・コンピュータエンタテインメント Input device, information processing device, and input value acquisition method
CN102799357A (en) * 2012-06-20 2012-11-28 华为终端有限公司 Method for creating folder on user interface and terminal
TWI486868B (en) * 2012-12-26 2015-06-01 Giga Byte Tech Co Ltd Electrionic device with shortcut function and control method thereof
JP6059114B2 (en) * 2013-08-28 2017-01-11 京セラ株式会社 Portable terminal, coupling control program, and coupling control method
CN106095266A (en) * 2016-06-01 2016-11-09 珠海市魅族科技有限公司 A kind of control exposure method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631484A (en) * 2012-08-24 2014-03-12 中兴通讯股份有限公司 Interface control position adjusting method, device and terminal
CN102929540A (en) * 2012-10-19 2013-02-13 广东欧珀移动通信有限公司 Desktop icon position adjusting method and mobile intelligent terminal
CN104156166A (en) * 2014-07-21 2014-11-19 小米科技有限责任公司 Controls distribution adjustment method and device
CN106855806A (en) * 2016-12-08 2017-06-16 乐视控股(北京)有限公司 A kind of method and device of the self-defined adjustment of interface layout

Also Published As

Publication number Publication date
CN108509141A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN109343759B (en) Screen-turning display control method and terminal
CN109379484B (en) Information processing method and terminal
CN109032486B (en) Display control method and terminal equipment
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108509141B (en) Control generation method and mobile terminal
CN110471559B (en) False touch prevention method and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN109710130B (en) Display method and terminal
CN109683768B (en) Application operation method and mobile terminal
CN108920040B (en) Application icon sorting method and mobile terminal
CN111522613B (en) Screen capturing method and electronic equipment
CN109542321B (en) Control method and device for screen display content
CN109669656B (en) Information display method and terminal equipment
CN109782970B (en) Display method and terminal
CN108984099B (en) Man-machine interaction method and terminal
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN108536513B (en) Picture display direction adjusting method and mobile terminal
CN110769303A (en) Playing control method and device and mobile terminal
CN108021315B (en) Control method and mobile terminal
CN111124225B (en) Display control method and electronic equipment
CN110007821B (en) Operation method and terminal equipment
CN110213437B (en) Editing method and mobile terminal

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