WO2018098953A1 - 一种终端应用操作区的自定制方法和终端 - Google Patents

一种终端应用操作区的自定制方法和终端 Download PDF

Info

Publication number
WO2018098953A1
WO2018098953A1 PCT/CN2017/078850 CN2017078850W WO2018098953A1 WO 2018098953 A1 WO2018098953 A1 WO 2018098953A1 CN 2017078850 W CN2017078850 W CN 2017078850W WO 2018098953 A1 WO2018098953 A1 WO 2018098953A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
user
layer
touch screen
terminal
Prior art date
Application number
PCT/CN2017/078850
Other languages
English (en)
French (fr)
Inventor
罗亮
罗翔
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780009054.6A priority Critical patent/CN108604158A/zh
Publication of WO2018098953A1 publication Critical patent/WO2018098953A1/zh

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/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

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a method and a terminal for customizing a terminal application operation area.
  • the terminal is limited by the size of the screen, when the application needs to present more content, the corresponding operation area on the screen is compact, which is easy for a user who is not sensitive enough or has a thick finger.
  • the operation area is fixed to the right of the screen, it is inconvenient to use the left-handed user to operate.
  • the currently solved solution is mainly a system-level magnifying glass function provided on an application terminal, which realizes display scaling of a specific size interface through a shader, thereby realizing an effect of magnifying the display in a designated area.
  • the embodiment of the invention provides a self-customizing method and a terminal for the operation area of the terminal application, so as to solve the problem that the content of the corresponding operation area on the touch screen of the terminal is compact, which is easy to cause the user to operate incorrectly, and the operation area is fixed on the right side of the touch screen. It is not convenient to get used to the problem of operating with left-handed users.
  • an embodiment of the present invention provides a self-customization method for a terminal application operation area, where an execution subject is a terminal that can perform self-made operation in a terminal application operation area.
  • the method includes:
  • the first layer includes a second area, and the second area is an area corresponding to the first area position;
  • the first layer is a transparent layer.
  • the method before the displaying the first layer on the top of the touch screen, the method further includes:
  • a second layer is displayed, the second layer is above the first area, and the color of the second layer is the same as the background color of the top layer of the first area.
  • the second area is copied from the first area, and the second area is an opaque area.
  • the second area includes an operation button
  • the operation button is an opaque area
  • an area of the second area other than the operation button is a transparent area
  • the constructing a location mapping relationship between the second area and the first area specifically includes:
  • the embodiment of the present invention provides a terminal, which is used to perform the self-customization method of the terminal application operation area provided by the first aspect of the embodiment of the present invention, where the terminal includes: a touch screen and a processor;
  • the touch screen is configured to receive a first operation instruction input by the user, where the first operation instruction is a selection operation of the first area to be operated by the user on the touch screen; and receiving a user input for a second operation instruction of the second area adjustment;
  • a processor configured to control the touch screen to display a first layer, the first layer includes the second area, the second area is an area corresponding to the first area position, and constructing the first Mapping a relationship between the second area and the first area, and adjusting the second area according to the location mapping relationship, and mapping the operation of the second area by the user to the location according to the location mapping relationship The corresponding position of the first area.
  • the first layer is a full screen transparent layer.
  • the touch screen before the displaying the first layer, the touch screen further includes:
  • a second layer is displayed, the second layer is above the first area, and the color of the second layer is the same as the background color of the top layer of the first area.
  • the second area is copied from the first area, and the second area is an opaque area.
  • the second area includes an operation button
  • the operation button is an opaque area
  • an area of the second area other than the operation button is a transparent area
  • the processor constructs a location mapping relationship between the second area and the first area, including:
  • the embodiment of the present invention further provides another method for customizing a terminal application operation area, where the method includes:
  • the user adjusting the second area comprises enlarging and/or moving the second area.
  • the operation of the second area by the user includes clicking on the second area.
  • the embodiment of the present invention further provides a terminal for performing a self-customization method of a terminal application operation area provided by the third aspect of the embodiment of the present invention, where the terminal includes: processing Device, touch screen;
  • the processor generates a second area on the touch screen according to an input of a user selecting a first area on the touch screen; and adjusting an input of the second area according to a user on the touch screen, The two regions are adjusted; and the user's operation of the second region is mapped to a location corresponding to the first region according to an input of the user operating the second region on the touch screen.
  • the adjusting the second area by the user comprises scaling and/or moving the second area.
  • the operation of the second area by the user includes clicking on the second area.
  • the embodiment of the present invention further provides a terminal, where the terminal is a terminal that can be self-made in the operation area of the terminal application, and the terminal includes:
  • An input and output unit configured to receive a first operation instruction and a second operation instruction input by the user, where the first operation instruction is a selection operation of the first area to be operated by the user in the touch screen; the second operation instruction Adjust the operation of the second area for the user.
  • a layer generating unit configured to display a first layer on top of the touch screen, the first layer includes a second area, and the second area is an area corresponding to the first area position.
  • mapping unit configured to construct a location mapping relationship between the second area and the first area
  • a processing unit configured to: when receiving the second operation instruction input by the user, adjust the second area according to the location mapping relationship, and perform a user on the second area according to the location mapping relationship The operation maps to a location corresponding to the first region.
  • the first layer is a transparent layer.
  • the layer generating unit is further configured to:
  • the second layer is above the first area, and the color of the second layer is The background color of the top layer where the first area is located is the same.
  • the second area is obtained by the layer generating unit copying the first area, and the second area is an opaque area.
  • the second area includes an operation button
  • the operation button is an opaque area
  • an area of the second area other than the operation button is a transparent area
  • the mapping unit constructs a location mapping relationship between the second area and the first area, including:
  • the mapping unit acquires coordinates of a touch point in the first area, a scaling parameter of a touch point in the second area with respect to a touch point in the first area, and a touch point in the second area An offset variable of the touch point in the first area;
  • the mapping unit performs a matrix operation on the coordinates of the touch point in the first region, the scaling parameter, and the offset variable to obtain a touch in the second region corresponding to the touch point position in the first region The coordinates of the point.
  • a transparent first layer is generated on the top layer of the touch screen according to the first area selected by the user, and a position corresponding to the first area in the first layer is generated.
  • a second area overlying the first area and having a positional mapping relationship with the first area.
  • FIG. 1 is a schematic diagram of a self-customization process of a video player playback control area according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for customizing a terminal application operation area according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an improvement of the self-customization process of FIG. 1 according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of generating a second layer when the self-customization process of FIG. 1 is improved according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram showing the improvement of the self-customization process of FIG. 1 according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of improving a second area in the self-customizing process of FIG. 1 according to an embodiment of the present invention
  • FIG. 7 is a flowchart of another method for customizing a terminal application operation area according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of still another terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a self-customizing process of a video player playback control area according to an embodiment of the present invention.
  • the present invention takes a video player on a mobile phone as an example.
  • the touch screen 101 of the mobile phone includes a video display area 102 and a playback control area 103.
  • the playback control area 103 is a rearward key including a lower right corner of the touch screen 101.
  • Forward button Play/pause button Open/close the area where the button " ⁇ " is located.
  • the first layer 104 that is full-screen transparent is generated on the top of the touch screen according to the play control area 103 selected by the user, and the position corresponding to the play control area 103 is generated in the first layer 104.
  • the opaque playback control area 105 and the location mapping relationship between the playback control area 105 and the playback control area 103 are constructed.
  • the first layer 104 is overlaid on the original layer, and the playback control area 105 covers the playback control area 103.
  • the user can zoom the playback control area 105 to the desired size by two fingers and move to the position shown in Figure 1-5 for easy click operation.
  • the position clicked by the user in the play control area 105 is mapped to the corresponding position of the play control area 103 according to the position mapping relationship between the play control area 105 and the play control area 103, thereby realizing Control of video playback.
  • FIG. 2 is a flowchart of a method for customizing a terminal application operation area according to an embodiment of the present invention. As shown in FIG. 2, in the embodiment of the present invention, a self-customizing method for playing a control area of a video player is performed by a terminal that can customize a terminal application operation area. The method includes the following steps:
  • Step 201 Receive a first operation instruction input by a user, where the first operation instruction is a selection operation of the first area to be operated by the user in the touch screen.
  • the first operation instruction input by the user may be an operation of the user selecting a first area to be operated on the touch screen of the mobile phone terminal; the first area may be a rectangular play control area 103 of the video player.
  • the adjustment function of the video play control area can be started by using the gesture or the power + volume key combination key. Then use the two fingers to select the upper left and lower right corners of the rectangular area to be scaled, move the upper left and lower right corners of the rectangular area, and press the back key Forward button Play/pause button
  • the on/off key " ⁇ " is included to determine the shape, size, and position of the playback control area 103 as shown in FIG. 1-1, that is, the input of the first operation command is completed.
  • Step 202 Display a first layer on top of the touch screen, the first layer includes a second area, and the second area is an area corresponding to the first area position.
  • the second area may be the play control area 105.
  • a full-screen transparent layer is generated on the top layer of the touch screen, the layer is the first layer 104, and then the play control area 103 is copied in the first layer 104 to obtain the play control area 103.
  • the playback control area 105 corresponding to the location.
  • the other layers in the first layer 104 except the playback control area 105 are opaque areas, and the other areas are transparent areas.
  • the first layer 104 overlies the original layer, and the playback control area 105 overlays the playback control area 103.
  • Step 203 Construct a location mapping relationship between the second area and the first area.
  • the position mapping relationship between the second area and the first area is a position mapping relationship between the play control area 105 and the play control area 103.
  • the positional mapping relationship between the playback control area 105 and the playback control area 103 is a mapping relationship between the touched point (X, Y) in the playback control area 105 and the touched point (x, y) in the playback control area 103.
  • the mapping relationship between the touched point (X, Y) in the playback control area 105 and the touched point (x, y) in the playback control area 103 can pass the coordinates of the touched point in the playback control area 103.
  • the scaling parameter sx, sy of the touch point (X, Y) in the playback control area 105 with respect to the touch point (x, y) in the playback control area 103, and the touch point in the playback control area 105 (X , Y) is determined with respect to the offset variables dx, dy of the touch point (x, y) in the playback control area 103, and is represented by a matrix as:
  • X and Y are the coordinates of the touch point (X, Y) in the playback control area 105
  • x and y are the coordinates of the touch point (x, y) in the playback control area 103
  • sx and sy are the touch points (X, Y).
  • the scaling in the x and y directions, respectively, dx and dy are the offsets of the touch points (X, Y) in the x and y directions, respectively.
  • Step 204 When receiving a second operation instruction input by the user for adjusting the second area, adjusting the second area according to the location mapping relationship, and according to the location mapping relationship, The user's operation on the second area is mapped to a location corresponding to the first area.
  • the second operation instruction may be an operation of the user to zoom and move the second area.
  • the second area is adjusted to determine the size and/or position of the second area based on a zooming and/or moving operation of the second area by the user.
  • the scaling parameter sx, sy input by the user is obtained, according to step 203.
  • the formula (I) determines the size of the playback control area 105. As shown in FIG.
  • the play control area 105 when the user moves the play control area 105 according to the position of the user, the offset variable dx, dy input by the user is acquired, and the play control area 105 is determined according to the formula (I) in step 203. s position.
  • the size, position of the current playback control area 105 on the touch screen, and the mapping relationship data of the playback control area 105 and the playback control area 103 at this time are saved.
  • the user's click position is mapped to the corresponding position in the play control area 103 according to the position mapping relationship of the play control area 105 and the play control area 103, and finally the user controls the play.
  • the operation of area 103 is mapped to the corresponding position in the play control area 103 according to the position mapping relationship of the play control area 105 and the play control area 103.
  • the position of the current play control area 105 on the touch screen is automatically saved, and the mapping relationship data of the play control area 105 and the play control area 103 is used to open the video next time.
  • the adjustment function of the control area is played, the default position of the playback control area 105 is determined.
  • the embodiment of the present invention generates a full-screen transparent first layer 104 on the top of the touch screen according to the user-selected play control area 103, and copies the play control area 103 to a position corresponding to the first layer 104 and the play control area 103.
  • An opaque playback control area 105 is obtained that is overlaid on the playback control area 103 and has a positional mapping relationship with the playback control area 103.
  • step 202 of the embodiment of the present invention further includes the step of performing, by the terminal, displaying the second layer before displaying the first layer on the top of the touch screen.
  • the second layer is above the first area, and the color of the second layer is the same as the background color of the top layer of the first area.
  • FIG. 3 is a schematic diagram of an effect of improving the self-customization process of FIG. 1 according to an embodiment of the present invention.
  • a second layer 106 as shown in FIG. 4 is generated on the play control area 103, the second The area of the layer 106 is at least equal to the playback control area 103 for overlaying the playback control area 103. cover.
  • the color value (RGB) at the border of the first area is multi-point sampled, and if the color value of the border sample is the same, the second layer is filled with the color solid color; if the color values are different, the sample color interpolation is used to fill ( Gradient color) the second layer.
  • the second layer 106 by generating the second layer 106, when the user zooms out and/or moves to the other positions, the second layer 106 overwrites the play control area 103, so that the content on the touch screen is more Concise, increasing the user's visual experience.
  • the second area generated by step 202 in the embodiment of the present invention includes an operation button, where the operation button is an opaque area, and an area other than the operation button in the second area is a transparent area.
  • FIG. 5 is a schematic diagram showing another effect of the self-customizing process of FIG. 1 according to an embodiment of the present invention.
  • step 202 of the above embodiment when the playback control area 105 is generated, each button in the playback control area 105 is left as an opaque area, and the remaining area is a transparent area, and the reserved playback control area 107 as shown in FIG. 6 is obtained.
  • each play button is an opaque take-out area, and the remaining area is a play control area 107 of the transparent area, so that when the user zooms in or moves the play control area 107, When you go to other locations, cover the content on the touch screen as little as possible to avoid affecting the user's viewing of the video content and affecting the user experience.
  • FIG. 7 is a flowchart of another method for customizing a terminal application operating area provided by the implementation of the present invention.
  • the self-customization method of the terminal application operation area provided by the embodiment of the present invention may be a mobile phone, a tablet computer, a computer with a touch screen function, a self-contained processing function, and a television with a touch screen function.
  • the method includes the following specific steps:
  • Step 301 Acquire an input of the user selecting the first area on the touch screen.
  • the user can open the customization function of the operation area of the terminal application by using a gesture or a power + volume key combination.
  • the customization function of the terminal application operation area is turned on, the user selects an area to be operated on the touch screen, that is, the first area, for example, using the two fingers to select the upper left corner and the lower right corner of the rectangular area to be scaled on the touch screen.
  • Step 302 Generate a second area.
  • a second area is generated on the touch screen corresponding to the first area, the second area is an opaque block, the second area covers the first area, and the The content displayed in the second area is the same as the content in the first area.
  • Step 302 Acquire an input of the user adjusting the second area on the touch screen.
  • the touch screen signal of the zooming and/or moving operation of the second area by the user is input and received.
  • Step 302 Adjust the second area.
  • the second area is adjusted correspondingly to obtain an area suitable for the size and position of the user operation, for example, according to the user to the second area.
  • the enlargement operation enlarges the second area and the like.
  • Step 302 Acquire an input of the user operating the second area on the touch screen.
  • the user's operation on the second area includes a click.
  • the user can click on the adjusted area.
  • Step 302 Map the operation of the second area by the user to a location corresponding to the first area.
  • the click position of the user in the second area may be mapped to a corresponding position in the first area, so as to implement the user The click operation of the first area.
  • the operation of the second area by the user may further include: closing and hiding; the user may close or hide the second area according to the needs of the user to meet the needs of the user, for example, the first The second area is closed and hidden, thereby reducing the content of the display interface, making the interface more concise and beautiful.
  • the operation of the second area by the user may further include: minimizing; the user may minimize the second area according to his own needs to meet the needs of the user.
  • an operation area that can be adjusted by zooming, moving, etc. is generated according to an operation of the first area selected by the user on the touch screen (for example, an area having a small size, a dense content, and an inappropriate position).
  • the user enlarges the second area to a size suitable for his own operation and/or moves to a position suitable for his own operation, and then performs an operation such as clicking, etc., when the user clicks on the second area, the user is The click on the second area is mapped to the corresponding position of the first operation area, thereby realizing the operation of the first area by the user, thereby reducing the erroneous operation on the first area.
  • FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal is used to perform the self-customization method of the terminal application operation area shown in FIG. 2 provided by the embodiment of the present invention, and the terminal may include: a mobile phone, a tablet computer, and a computer with a touch screen function and TV with processing function, touch screen function, etc.
  • the terminal takes a mobile phone as an example.
  • the mobile phone includes: a touch screen 410, a processor 420, other input devices 430, a transceiver circuit 440, a sensor 450, an audio circuit 460, an I/O subsystem 470, and a memory 480. And components such as power supply 490. It will be understood by those skilled in the art that the structure of the mobile phone shown in FIG. 7 does not constitute a limitation on the mobile phone, and may include more or less components than those illustrated, or combine some components, or split some components, or Different parts are arranged.
  • the touch screen 410 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone, and can also accept user input.
  • the touch screen 410 can include a display panel 411 and a touch panel 412.
  • the display panel 411 can be configured by using a liquid crystal display (English: Liquid Crystal Display, LCD) or an organic light-emitting diode (OLED) to configure the display panel 411;
  • the touch panel 412 is also It is called a touch screen, a touch sensitive screen, etc., and can collect contact or non-contact operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 412 or on the touch panel 412.
  • the nearby operation may also include a somatosensory operation; the operation includes a single point control operation, a multi-point control operation, and the like, and drives the corresponding connection device according to a preset program.
  • the touch panel 412 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation and posture of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller;
  • the touch controller receives the touch information from the touch detection device, and converts the signal into a processor.
  • the processed information is sent to processor 420 and can receive commands from processor 420 and execute them.
  • the touch panel 412 can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the touch panel 412 can be implemented by any technology developed in the future.
  • the touch panel 412 can cover the display panel 411, and the user can display the content according to the display panel 411 (including but not limited to, a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) on the display panel 411. Operation is performed on or near the covered touch panel 412. After detecting the operation thereon or nearby, the touch panel 412 transmits to the processor 420 through the I/O subsystem 470 to determine user input, and then the processor 420 is based on the user. The input provides a corresponding visual output on display panel 411 via I/O subsystem 470.
  • the touch panel 412 and the display panel 411 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 7, in some embodiments, the touch panel 412 can be integrated with the display panel 411. Realize the input and output functions of the phone.
  • the touch screen 410 of the mobile phone is specifically configured to receive a first operation instruction input by the user through the display panel 411, where the first operation instruction is a selection operation of the first area to be operated by the user in the touch screen; And receiving a second operation instruction input by the user for adjusting the second area.
  • the display panel 411 receives the touch signal when the user operates as the first operation instruction, and transmits it to the memory 480 and the processing via the I/O subsystem. 420.
  • the display panel 411 receives the touch signal when the user operates as the second operation instruction, and transmits the data to the memory 480 and the processor 420 via the I/O subsystem.
  • the processor 420 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 480, and invoking data stored in the memory 480, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 420 may include one or more processing units; the processor 420 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
  • the processor mainly handles wireless communication.
  • the processor 420 can be used to control the touch screen 410 to perform corresponding display.
  • the processor 420 is configured to determine a shape, a size, and a location of the first area according to the received first operation instruction, and generate a first layer on top of the touch screen 440, and copy the first area to In the first layer, obtaining a second region corresponding to the location of the first region; and constructing a location mapping relationship between the second region and the first region, and according to the location mapping relationship and the The second operational command adjusts the second region and maps the user's operation of the second region to a corresponding location of the first region.
  • the first operation instruction received by the processor 420 is a selection operation performed by the user when determining the shape, size, and position of the first area.
  • the first layer is a full screen transparent layer.
  • the second area generated by the processor 420 in the first layer is an opaque area.
  • the processor 420 constructs a location mapping relationship between the second area and the first area, including:
  • the processor 420 acquires coordinates of a touch point in the first area, a scaling parameter of a touch point in the second area with respect to a touch point in the first area, and a touch point in the second area An offset variable relative to a touch point in the first region;
  • the processor 420 performs a matrix operation on the coordinates of the touch point in the first area, the scaling parameter, and the offset variable to obtain a touch in the second area corresponding to the touch point position in the first area. Point coordinate.
  • the processor 420 determines the shape, size, and position of the first area according to a first operation instruction input by the user in determining the first area to be operated, and generates a full-screen transparent part on the top of the touch screen. a layer, and copying the first area to a position corresponding to the first area of the first layer, obtained over the first area, and having a position mapping relationship with the first area.
  • the opaque second area By scaling and/or moving the second area, the user customizes an operation area that is convenient for operation by itself, thereby solving the problem that each operation button in the first area is too small and/or dense, and the position cannot be moved. The resulting misoperation or inconvenient operation.
  • the processor 420 is further configured to:
  • the processor 420 displays a second layer above the first area.
  • the color of the second layer samples the background color of the top layer where the first region is located.
  • the processor 420 generates a second layer, so that when the user reduces or moves the second area to another location, the second layer covers the first area, so that The content on the touch screen is more concise, increasing the user's visual experience.
  • the second area generated by the processor 420 may further include an operation button, but the operation button is an opaque area, and an area of the second area other than the operation button is an area of the transparent area.
  • the processor 420 generates an opaque take-up area by generating each button, and the remaining area is a second area of the transparent area, so that when the user enlarges or moves the second area to another position, It may cover the content on the touch screen less, affecting the content on the user's touch screen and affecting the user experience.
  • Other input devices 430 can be used to receive input numeric or character information, as well as generate key signal inputs related to user settings and function controls of the handset.
  • other input devices 430 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and light mice (the light mouse is not sensitive to display visual output)
  • function keys such as volume control buttons, switch buttons, etc.
  • trackballs mice, joysticks, and light mice (the light mouse is not sensitive to display visual output)
  • Other input devices 430 are coupled to other input device controllers 471 of I/O subsystem 470 for signal interaction with processor 420 under the control of other device input controllers 471.
  • the transceiver circuit 440 can be used for transmitting and receiving information or receiving and transmitting signals during a call.
  • the transceiver circuit 440 in the embodiment of the present invention may be specifically a radio frequency (English: Radio Frequency, RF for short) circuit.
  • the information received by the terminal is transmitted to the processor for processing.
  • the transceiver circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA for short), a duplexer, and the like.
  • the transceiver circuit 440 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (English: General Packet Radio Service, referred to as: GPRS) ), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (English: Long Term Evolution, LTE for short) ), e-mail, short message service (English: Short Messaging Service, referred to as: SMS), NFC, etc.
  • GSM Global System of Mobile communication
  • General Packet Radio Service English: General Packet Radio Service, referred to as: GPRS
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • Long Term Evolution Long Term Evolution
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the mobile phone may also include a camera, a Bluetooth module, an infrared module, etc., and details are not described herein.
  • the sensor 450 is specifically a fingerprint sensor or a retina identifier.
  • the fingerprint sensor is used to collect the fingerprint feature information of the user, and the collection result is transmitted through the I/O subsystem 470.
  • the processor 420 then passes the acquisition record through the I/O subsystem 470 to provide a corresponding visual output on the display panel 411;
  • the retina recognizer is used to collect the user's retinal feature information and pass the acquisition result through I/
  • the O subsystem 470 is transmitted to the processor 420, which then records the acquisition through the I/O subsystem 470 to provide a corresponding visual output on the display panel 411.
  • Audio circuit 460, speaker 461, microphone 462 can provide an audio interface between the user and the handset.
  • the audio circuit 460 can transmit the converted audio data to the speaker 461 for conversion to the sound signal output by the speaker 461.
  • the microphone 462 converts the collected sound signal into a signal, which is received by the audio circuit 460.
  • the audio data is converted to audio data, which is then output to RF circuitry 440 for transmission to, for example, another handset, or audio data is output to memory 480 for further processing.
  • the I/O subsystem 470 is used to control external devices for input and output, and may include other device input controllers 471, sensor controllers 472, and display controllers 473.
  • one or more other input control device controllers 471 receive signals from other input devices 430 and/or send signals to other input devices 430, and other input devices 430 may include physical buttons (press buttons, rocker buttons, etc.) , dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that other input control device controllers 471 can be connected to any one or more of the above devices.
  • Display controller 473 in I/O subsystem 470 receives signals from touch screen 410 and/or transmits signals to touch screen 410. After the touch screen 410 detects the user input, the display controller 473 converts the detected user input into an interaction with the user interface object displayed on the touch screen 410, that is, realizes human-computer interaction.
  • Sensor controller 472 can receive signals from one or more sensors 450 and/or send signals to one or more sensors 450.
  • the memory 480 can be used to store software programs and modules.
  • the processor 420 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 480.
  • the memory 480 can mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the storage data area may store data (such as audio data, which is created according to the use of the mobile phone, Phone book, etc.).
  • memory 480 can include high speed random access memory, and can 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 memory 480 stores the first operation instruction received by the touch screen 410, the second operation instruction, the coordinates of each touch point in the first area, and the user adjusts the second area each time.
  • the location mapping relationship between the second region and the first region is stored for the processor 420 to perform customization of the application operating region on the touch screen 410.
  • the mobile phone further includes a power source 490 (such as a battery) for supplying power to each component, and the power source can be logically connected to the processor 420 through the power management system to manage charging, discharging, power consumption, etc. through the power management system.
  • a power source 490 such as a battery
  • the power source can be logically connected to the processor 420 through the power management system to manage charging, discharging, power consumption, etc. through the power management system.
  • FIG. 9 is a schematic structural diagram of another terminal according to an embodiment of the present invention. As shown in FIG. 9 , based on the terminal shown in FIG. 8 , the embodiment of the present invention improves the function of the processor 420 in the terminal shown in FIG. 8 to obtain another terminal, which is used to perform the embodiment of the present invention. As shown in Figure 7, the terminal includes:
  • the processor 510 generates a second area on the touch screen 520 according to the input of the user selecting the first area on the touch screen 520; and adjusts the second area according to the user adjusting the input of the second area on the touch screen 520; The user is placed on the second area according to the user's input of operating the second area on the touch screen 520 The operation maps to the location corresponding to the first region.
  • the user adjusting the second area includes zooming and/or moving the second area.
  • the user's operation of the second area includes clicking on the second area.
  • the processor 510 generates a zoom, move, etc. according to an operation of the first area selected by the user on the touch screen 520 (for example, an area that is small in size, dense in content, and inappropriate in position).
  • the adjusted operation area that is, the second area
  • the user enlarges the second area to a size suitable for its own operation and/or moves to a position suitable for its own operation, and then performs an operation such as clicking, etc., and the processor 510 places the user in the second
  • the click on the area is mapped to the first operation area in the operation, and the operation of the first area by the user is implemented, thereby reducing or avoiding the misoperation of the first area.
  • the embodiment of the present invention further provides a terminal, which is a self-customizing method that can execute an operation area of the terminal application, as shown in FIG. 2, the terminal includes: an input-output unit 610.
  • the input and output unit 610 is configured to receive a first operation instruction and a second operation instruction input by the user, where the first operation instruction is a selection operation of the first area to be operated by the user in the touch screen; the second operation instruction Adjust the operation of the second area for the user.
  • the layer generating unit 620 is configured to display a first layer on top of the touch screen, the first layer includes a second area, and the second area is an area corresponding to the first area position.
  • the mapping unit 630 is configured to construct a location mapping relationship between the second area and the first area
  • the processing unit 640 is configured to: when receiving a second operation instruction that is input by the user for adjusting the second area, adjust the second area according to the location mapping relationship, and according to the location mapping relationship Mapping the user's operation of the second region to a corresponding location of the first region.
  • the user's selection operation on the first area is a selection operation performed when the user uses the two fingers to shape, size, and position the first area.
  • the first layer displayed by the layer generating unit 620 on the top of the touch screen is a full-screen transparent layer.
  • the second area generated by the layer generating unit 620 in the first layer is an opaque area.
  • mapping unit 630 constructs a location mapping relationship between the second area and the first area, including:
  • the mapping unit 630 acquires coordinates of a touch point in the first area, a scaling parameter of a touch point in the second area with respect to a touch point in the first area, and a touch point in the second area An offset variable relative to a touch point in the first region;
  • the mapping unit 630 performs a matrix operation on the coordinates of the touch point in the first region, the scaling parameter, and the offset variable, to obtain a touch in the second region corresponding to the touch point position in the first region.
  • the coordinates of the point are a matrix operation on the coordinates of the touch point in the first region, the scaling parameter, and the offset variable, to obtain a touch in the second region corresponding to the touch point position in the first region. The coordinates of the point.
  • processing unit 640 determines the shape, size, and position of the first region according to the received first operation instruction.
  • the shape, the size, and the position of the first area are determined according to a first operation instruction input by the user in determining the first area to be operated, and the first layer of the full screen is transparently generated by the top layer of the touch screen. And copying the first area to a position corresponding to the first area of the first layer, obtaining an opaque layer covering the first area and having a position mapping relationship with the first area Second area.
  • the second area is scaled and/or moved, and the operation area that is easy to operate by itself is customized, so that the operation buttons are too small and/or dense in the first area, and the position cannot be moved. The problem of misoperation or inconvenience in operation.
  • the layer generating unit 620 is further configured to: before the first layer is displayed on the top layer of the touch screen:
  • the layer generation unit 620 displays a second layer above the first area.
  • the color of the second layer is the same as the background color of the top layer of the first area.
  • the layer generating unit 620 generates a second layer, so that when the user reduces or moves the second area to another location, the second layer covers the second area. To make the content on the touch screen more concise and increase the user's visual experience.
  • the second area generated by the layer generating unit 620 may further include an operation button, but the operation button is an opaque area, and an area other than the operation button in the second area is a transparent area. region.
  • the layer generating unit 620 generates an opaque taking area by generating each button, and the remaining area is a second area of the transparent area, so that when the user enlarges or moves the second area to another position, As much as possible to cover the content on the touch screen, to avoid affecting the content on the user's touch screen, affecting the user experience.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

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

本发明公开一种终端应用操作区的自定制方法和终端,该方法包括:接收用户输入的第一操作指令,所述第一操作指令为所述用户在触摸屏上确定待操作的第一区域的选择操作;在触摸屏顶层显示第一图层,所述第一图层包括第二区域,所述第二区域为与所述第一区域位置对应的区域;构建所述第二区域与所述第一区域的位置映射关系;当接收到用户输入的用于对所述第二区域调整的第二操作指令时,根据所述位置映射关系,对所述第二区域进行调整,定制大小、位置都便于用户操作的操作区域,从而解决由于终端触摸屏上的操作区域内容布局紧凑,容易造成误操作的问题,以及操作区域固定在触摸屏右方时,不便于习惯用左手的用户进行操作的问题。

Description

一种终端应用操作区的自定制方法和终端
本申请要求2016年12月01日提交中国专利局、申请号为201611090591.1、发明名称为“一种用户自定制终端应用操作区的方法和设备”的中国专利申请的优先权。上述在先申请的全部内容通过引用结合在本申请文件中。仅仅是为了简洁表述,其全部内容不在本申请文件中再原文重复一遍。
技术领域
本发明涉及移动终端技术领域,尤其涉及一种终端应用操作区的自定制方法和终端。
背景技术
由于终端受屏幕尺寸的限制,当应用需要呈现较多的内容时,屏幕上的相应操作区域就会布局紧凑,这对于不够灵敏的屏幕或者手指较粗的用户而言,很容易造成误操作。另外,当操作区固定在屏幕右方时,会不便于习惯用左手的用户进行操作。
关于上述问题,目前解决的方案主要是在应用终端上提供的***级的放大镜功能,该功能通过着色程序(shader)实现特定大小界面的显示缩放,进而实现在指定区域放大显示的效果。该方案存在的缺陷有两点,第一点是放大区域移动后,放大中的内容会随着区域的移动而改变;第二点是该方案只针对屏幕显示放大区域,不能和应用的特定界面绑定,当应用终端从一个界面切换到另一个界面时,放大区域内容会改变成另一个界面的放大区域。
发明内容
本发明实施例提供了一种终端应用操作区的自定制方法和终端,以解决终端触摸屏上的相应操作区域内容布局紧凑,容易造成用户误操作的问题,以及操作区域固定在触摸屏右方时,不便于习惯用左手的用户进行操作的问题。
第一方面,本发明实施例提供一种终端应用操作区的自定制方法,其执行主体为可以进行终端应用操作区域自制的终端。该方法包括:
接收用户输入的第一操作指令,所述第一操作指令为所述用户在触摸屏上确定待操作的第一区域的选择操作;
在触摸屏顶层显示第一图层,所述第一图层包括第二区域,所述第二区域为与所述第一区域位置对应的区域;
构建所述第二区域与所述第一区域的位置映射关系;
当接收到用户输入的用于对所述第二区域进行调整的第二操作指令时,根据所述位置映射关系,对所述第二区域进行调整,以及根据所述位置映射关系,将用户对所述第二区域的操作映射到所述第一区域对应的位置。
在一种可能的实现方式中,所述第一图层为透明图层。
在一种可能的实现方式中,所述在触摸屏顶层显示第一图层之前,所述方法还包括:
显示第二图层,所述第二图层处于所述第一区域上方,所述第二图层的颜色与所述第一区域所在顶层图层的背景色相同。
在一种可能的实现方式中,所述第二区域为将所述第一区域复制而得,所述第二区域为不透明区域。
在一种可能的实现方式中,所述第二区域包括操作按键,所述操作按键为不透明区域,所述第二区域中除所述操作按键外的区域为透明区域。
在一种可能的实现方式中,所述构建所述第二区域与所述第一区域的位置映射关系,具体包括:
获取所述第一区域中触摸点的坐标、所述第二区域中触摸点相对于所述第一区域中触摸点的缩放比例参数,以及所述第二区域中的触摸点相对于所述第一区域中触摸点的偏移变量;
对所述第一区域中触摸点的坐标、所述缩放比例参数以及所述偏移变量进行矩阵运算,得到与所述第一区域中触摸点位置对应的第二区域中触摸点的坐标。
第二方面,本发明实施例提供了一种终端,用于执行本发明实施例第一方面提供的上述终端应用操作区的自定制方法,该终端包括:触摸屏和处理器;
其中,触摸屏,用于接收用户输入的第一操作指令,所述第一操作指令为所述用户在所述触摸屏上确定待操作的第一区域的选择操作;以及接收用户输入的用于对第二区域调整的第二操作指令;
处理器,用于控制所述触摸屏显示第一图层,所述第一图层包括所述第二区域,所述第二区域为与所述第一区域位置对应的区域;以及构建所述第二区域与所述第一区域的位置映射关系,并根据所述位置映射关系对所述第二区域进行调整,以及根据所述位置映射关系,将用户对所述第二区域的操作映射到所述第一区域相应的位置。
在一种可能的实现方式中,所述第一图层为全屏透明图层。
在一种可能的实现方式中,所述触摸屏在显示第一图层之前,还包括:
显示第二图层,所述第二图层处于所述第一区域上方,所述第二图层的颜色与所述第一区域所在顶层图层的背景色相同。
在一种可能的实现方式中,所述第二区域为将所述第一区域复制而得,所述第二区域为不透明区域。
在一种可能的实现方式中,所述第二区域包括操作按键,所述操作按键为不透明区域,所述第二区域中除所述操作按键外的区域为透明区域。
在一种可能的实现方式中,所述处理器构建所述第二区域与所述第一区域的位置映射关系,包括:
获取所述第一区域中触摸点的坐标、所述第二区域中触摸点相对于所述第一区域中触摸点的缩放比例参数,以及所述第二区域中的触摸点相对于所述第一区域中触摸点的偏移变量;
对所述第一区域中触摸点的坐标、所述缩放比例参数以及所述偏移变量进行矩阵 运算,得到与所述第一区域中触摸点位置对应的第二区域中触摸点的坐标。
第三方面,本发明实施例还提供了另一种终端应用操作区的自定制方法,该方法包括:
获取用户在触摸屏上选定第一区域的输入;
生成第二区域;
获取用户在触摸屏上调整所述第二区域的输入;
调整所述第二区域;
获取用户在触摸屏上操作所述第二区域的输入;
将所述用户对所述第二区域的操作映射到所述第一区域对应的位置。
在一种可能的实现方式中,所述用户调整所述第二区域包括放大和/或移动所述第二区域。
在一种可能的实现方式中,所述用户对所述第二区域的操作包括点击所述第二区域。
第四方面,本发明实施例还提供了另一种本发明实施例提供了一种终端,用于执行本发明实施例第三方面提供的终端应用操作区的自定制方法,该终端包括:处理器、触摸屏;
所述处理器根据用户在所述触摸屏上选定第一区域的输入,在所述触摸屏上生成第二区域;以及根据用户在所述触摸屏上调整所述第二区域的输入,对所述第二区域进行调整;以及根据用户在所述触摸屏上操作所述第二区域的输入,将所述用户对所述第二区域的操作映射到所述第一区域对应的位置。
在一种可能的实现方式中,所述用户调整所述第二区域包括缩放和/或移动所述第二区域。
在一种可能的实现方式中,所述用户对所述第二区域的操作包括点击所述第二区域。
第五方面,本发明实施例还提供了又一种终端,该终端为可以进行终端应用操作区自制的终端,该终端包括:
输入输出单元,用于接收用户输入的第一操作指令、第二操作指令,所述第一操作指令为所述用户在触摸屏中确定待操作的第一区域的选择操作;所述第二操作指令为用户对第二区域的调整操作。
图层生成单元,用于在触摸屏顶层显示第一图层,所述第一图层包括第二区域,所述第二区域为与所述第一区域位置对应的区域。
映射单元,用于构建所述第二区域与所述第一区域的位置映射关系;
处理单元,用于当接收到用户输入的第二操作指令时,根据所述位置映射关系,对所述第二区域进行调整,以及根据所述位置映射关系,将用户对所述第二区域的操作映射到所述第一区域对应的位置。
在一种可能的实现方式中,所述第一图层为透明图层。
在一种可能的实现方式中,所述图层生成单元在触摸屏上显示第一图层之前,还用于:
显示第二图层,所述第二图层处于所述第一区域上方,所述第二图层的颜色与所 述第一区域所在顶层图层的背景色相同。
在一种可能的实现方式中,所述第二区域为所述图层生成单元将所述第一区域复制而得,所述第二区域为不透明区域。
在一种可能的实现方式中,所述第二区域包括操作按键,所述操作按键为不透明区域,所述第二区域中除所述操作按键外的区域为透明区域。
在一种可能的实现方式中,所述映射单元构建所述第二区域与所述第一区域的位置映射关系,包括:
所述映射单元获取所述第一区域中触摸点的坐标、所述第二区域中触摸点相对于所述第一区域中触摸点的缩放比例参数,以及所述第二区域中的触摸点相对于所述第一区域中触摸点的偏移变量;
所述映射单元对所述第一区域中触摸点的坐标、所述缩放比例参数以及所述偏移变量进行矩阵运算,得到与所述第一区域中触摸点位置对应的第二区域中的触摸点的坐标。
相较于现有技术,本发明实施例中,通过根据用户选择的第一区域,在触摸屏顶层生成透明的第一图层,以及在第一图层中与第一区域相对应的位置,生成覆盖在第一区域之上,且与第一区域有着位置映射关系的第二区域。用户通过将第二区域进行缩放和/或移动,定制大小、位置都便于自己操作的操作区域,从而解决由于终端应用操作区域中的按键或内容的尺寸太小和/或布局过于紧密,以及位置不可挪动等因素,而导致的误操作或操作不便的问题。
附图说明
图1为本发明实施例提供的视频播放器播放控制区域的自定制过程示意图;
图2为本发明实施例提供的一种终端应用操作区的自定制方法的流程图;
图3为本发明实施例对图1的自定制过程进行改进的示意图;
图4为本发明实施例对图1的自定制过程进行改进时生成第二图层的示意图;
图5为本发明实施例对图1的自定制过程进行临一中改进后的示意图;
图6为本发明实施例对图1的自定制过程中对第二区域进行改进的示意图;
图7为本发明实施例提供的另一种终端应用操作区的自定制方法的流程图;
图8为本发明实施例提供的一种终端的结构示意图;
图9是本发明实施例提供的另一种终端的结构示意图;
图10为本发明实施例提供的又一种终端的结构示意图。
具体实施方式
下面通过附图和实施例,对本发明实施例的技术方案做进一步的详细描述。
图1为本发明实施例提供的视频播放器播放控制区域的自定制过程示意图。如图1所示,本发明以手机上的视频播放器为例。如图1-1所示,手机的触摸屏101上包括视频显示区102和播放控制区域103。播放控制区域103为包括位于触摸屏101右下角的向后键
Figure PCTCN2017078850-appb-000001
向前键
Figure PCTCN2017078850-appb-000002
播放/暂停键
Figure PCTCN2017078850-appb-000003
打开/关闭键“■”所在的区域。用户通过双指选择播放控制区域103后,根据用户选择的播放控制区域103, 在触摸屏顶层生成全屏透明的第一图层104,以及在第一图层104中生成与播放控制区域103位置相对应的不透明的播放控制区域105,并构建播放控制区域105与播放控制区域103的位置映射关系。如图1-3所示,第一图层104覆盖在原图层之上,播放控制区域105将播放控制区域103覆盖。如图1-4所示,用户可通过双指将播放控制区域105放大到所需的尺度,并移动到如图1-5所示的便于点击操作的位置。当用户对播放控制区域105进行点击操作时,根据播放控制区域105与播放控制区域103的位置映射关系将用户在播放控制区域105中点击的位置映射到播放控制区域103相应的位置,从而实现对视频播放的控制。
图2为本发明实施例提供的一种终端应用操作区的自定制方法流程图。如图2所示,本发明实施例对视频播放器播放控制区域的自定制方法,其执行主体为可以自定制终端应用操作区域的终端。该方法包括以下步骤:
步骤201:接收用户输入的第一操作指令,所述第一操作指令为所述用户在触摸屏中确定待操作的第一区域的选择操作。
具体地,用户输入的第一操作指令可以为用户在手机终端触摸屏上选择需要操作的第一区域的操作;第一区域可以为视频播放器的矩形播放控制区域103。
用户在选择视频播放器的播放控制区域103之前,可先通过采用手势或电源+音量键组合键开启视频播放控制区域的调整功能。然后使用双指选择需要缩放的矩形区域的左上角和右下角,移动所述矩形区域的左上角和右下角,将向后键
Figure PCTCN2017078850-appb-000004
向前键
Figure PCTCN2017078850-appb-000005
播放/暂停键
Figure PCTCN2017078850-appb-000006
打开/关闭键“■”包括在内,从而确定如图1-1所示的播放控制区域103的形状、大小、位置,即完成第一操作指令的输入。
步骤202:在触摸屏顶层显示第一图层,所述第一图层包括第二区域,所述第二区域为与所述第一区域位置对应的区域。
具体地,如图1-2所示,第二区域可以为播放控制区域105。确定播放控制区域103后,在触摸屏的顶层生成一个全屏透明图层,该图层即为第一图层104,然后将播放控制区域103复制在第一图层104中,得到与播放控制区域103位置相对应的播放控制区域105。第一图层104中的除播放控制区域105为不透明区域之外,其他区域为透明区域。第一图层104覆盖在原图层之上,播放控制区域105将播放控制区域103覆盖。
步骤203:构建所述第二区域与所述第一区域的位置映射关系。
具体地,第二区域与所述第一区域的位置映射关系为播放控制区域105与播放控制区域103的位置映射关系。播放控制区域105与播放控制区域103的位置映射关系为播放控制区域105中的触摸点(X,Y)与播放控制区域103中的触摸点(x,y)的映射关系。如公式(Ⅰ)所示,播放控制区域105中的触摸点(X,Y)与播放控制区域103中的触摸点(x,y)的映射关系可通过播放控制区域103中的触摸点的坐标(x,y)、播放控制区域105中触摸点(X,Y)相对于播放控制区域103中触摸点(x,y)的缩放比例参数sx,sy,以及播放控制区域105中触摸点(X,Y)相对于播放控制区域103中触摸点(x,y)的偏移变量dx、dy来确定,用矩阵表示为:
Figure PCTCN2017078850-appb-000007
其中,X、Y为播放控制区域105中触摸点(X,Y)的坐标,x、y为播放控制区域103中触摸点(x,y)的坐标,sx、sy为触摸点(X,Y)分别在x、y方向的缩放比例,dx、dy为触摸点(X,Y)分别在x、y方向的偏移量。
步骤204:当接收到用户输入的用于对所述第二区域调整的第二操作指令时,根据所述位置映射关系,对所述第二区域进行调整,以及根据所述位置映射关系,将用户对所述第二区域的操作映射到所述第一区域对应的位置。
具体地,第二操作指令可以为用户对所述第二区域进行缩放、移动的操作。所述对第二区域进行调整,为根据用户对第二区域的缩放和/或移动操作,确定所述第二区域的大小和/或位置。具体为,如图1-4所示,得到播放控制区域105后,当用户根据自己的需要的尺寸对播放控制区域105进行缩放时,获取用户输入的缩放比例参数sx,sy,根据步骤203中的公式(Ⅰ)确定播放控制区域105的大小。如图1-5所示,当用户根据自己的需要的位置对播放控制区域105进行移动时,获取用户输入的偏移变量dx,dy,根据步骤203中的公式(Ⅰ)确定播放控制区域105的位置。当用户对播放控制区域105的缩放和/或移动停止时,将当前播放控制区域105在触摸屏上的大小、位置,以及此时播放控制区域105和播放控制区域103的映射关系数据保存。当用户在播放控制区域105内进行点击操作时,根据播放控制区域105和播放控制区域103的位置映射关系,将用户的点击位置映射到播放控制区域103中相应的位置,最终实现用户对播放控制区域103的操作。
当用户退出播放控制区域的自定制界面时,自动保存当前播放控制区域105在触摸屏上的位置,及此时播放控制区域105和播放控制区域103的映射关系数据,用于在用户下一次开启视频播放控制区域的调整功能时,确定播放控制区域105的默认位置。
本发明实施例通过根据用户选择的播放控制区域103,在触摸屏顶层生成全屏透明的第一图层104,以及将播放控制区域103复制至第一图层104与播放控制区域103相对应的位置,得到覆盖在播放控制区域103之上,且与播放控制区域103有着位置映射关系的不透明的播放控制区域105。用户通过将播放控制区域105进行缩放和/或移动,定制大小、位置都便于自己操作的播放控制区域,从而解决由于播放控制区域103中的按键过于小和/或密集,以及位置不可挪动而导致的误操作或操作不便的问题。
可选地,本发明实施例步骤202在触摸屏顶层显示第一图层之前,还包括终端执行显示第二图层的步骤。所述第二图层处于所述第一区域上方,所述第二图层的颜色与所述第一区域所在顶层图层的背景色相同。
具体地,在一个示例中,如图3所示,图3为本发明实施例对图1的自定制过程进行改进的效果示意图。在上述实施例的方法步骤202中,在生成第一图层104之前,根据播放控制区域103的大小,在播放控制区域103之上生成如图4所示的第二图层106,该第二图层106的面积至少等于播放控制区域103,用于将播放控制区域103覆 盖。具体地,多点采样第一区域边框处的颜色值(RGB),若边框采样颜色值相同,则采用该颜色纯色填充所述第二图层;若颜色值不同,则采用采样颜色插值填充(渐变色)所述第二图层。
本发明实施例中通过生成第二图层106,使得当用户对播放控制区域106进行缩小和/或移动到其它位置时,第二图层106将播放控制区域103覆盖,使触摸屏上的内容更简洁,增加用户视觉体验。
可选地,本发明实施例步骤202所生成第二区域包括操作按键,所述操作按键为不透明区域,所述第二区域中除所述操作按键外的区域为透明区域。
具体地,在一个示例中,如图5所示,图5为本发明实施例对图1的自定制过程进行另一种改进后的效果示意图。上述实施例的步骤202在生成的播放控制区域105时,保留播放控制区域105中的各个按键为不透明区域,其余区域为透明区域,得到如图6所示的保留播放控制区域107。
本发明实施例中通过对上述实施例中的播放控制区域105进行改进,得到各个按键为不透明取区域,其余区域为透明区域的播放控制区域107,使得当用户对播放控制区域107进行放大或者移动到其它位置时,尽可能少遮盖触摸屏上的内容,避免影响用户观看视频内容,影响用户体验。
图7是本发明实施提供的另一种终端应用操作区的自定制方法的流程图。如图7所示,本发明实施例提供的终端应用操作区的自定制方法,其执行主体可以是手机、平板电脑,以及触摸显示屏功能的电脑、自带处理功能、触摸显示屏功能的电视。该方法包括以下具体步骤:
步骤301:获取用户在触摸屏上选定第一区域的输入。
具体地,用户在选定要操作的第一区域之前,可通过采用手势或电源+音量键组合键开启终端应用操作区域的自定制功能。终端应用操作区域的自定制功能开启后,用户在触摸屏上选择要操作的区域,即第一区域,例如:使用双指在触摸屏上选择需要缩放的矩形区域的左上角和右下角。
步骤302:生成第二区域。
具体地,用户选定第一操作区域后,在触摸屏上与第一区域对应的位置生成第二区域,所述第二区域为不透明块,所述第二区域将第一区域覆盖,且所述第二区域中显示的内容与第一区域中的内容相同。
步骤302:获取用户在触摸屏上调整所述第二区域的输入。
具体地,得到所述第二区域后,将用户对第二区域的缩放和/或移动操作的触屏信号输入接收。
步骤302:调整所述第二区域。
具体地,根据用户在触摸屏上对第二区域的缩放和/或移动操作,将所述第二区域进行相应的调整,得到适合用户操作的大小、位置的区域,例如:根据用户对第二区域的放大操作,将所述第二区域进行放大等。
步骤302:获取用户在触摸屏上操作所述第二区域的输入。
具体地,用户对所述第二区域的操作包括点击。用户可在经调整后的区域上进行点击操作。
步骤302:将所述用户对所述第二区域的操作映射到所述第一区域对应的位置。
具体地,例如当用户对所述第二区域中的内容进行点击操作时,可将用户在所述第二区域中的点击位置映射到所述第一区域中对应的位置,以实现用户对所述第一区域的点击操作。
可选的,用户对所述第二区域的操作还可以包括:关闭、隐藏;用户可根据自己的需求,将所述第二区域关闭或者隐藏,以满足用户的需求,例如:将所述第二区域关闭隐藏,进而减少显示界面的内容,使界面更简洁,美观。
可选的,用户对所述第二区域的操作还可以包括:最小化;用户可根据自己的需求,将所述第二区域最小化,以满足用户的需求。
在本发明实施例中,通过根据用户在触摸屏上选定的第一区域的操作(例如:对尺寸较小、内容密集、位置不合适的区域),生成一个可以缩放、移动等调整的操作区域,即第二区域,用户通过将第二区域进行放大到适合自己操作的尺寸和/或移动到合适自己操作的位置,然后进行诸如点击等的操作,当用户点击第二区域时,将用户在第二区域上的点击在操作映射到第一操作区域相应的位置,实现用户对第一区域的操作,进而减少对第一区域的误操作。
图8为本发明实施例提供的一种终端的结构示意图。如图8所示,该终端用于执行本发明实施例提供的图2所示的终端应用操作区的自定制方法,该终端可以包括:手机、平板电脑,以及触摸显示屏功能的电脑和自带处理功能、触摸显示屏功能的电视等。
本发明实施例提供的该终端以手机为例,该手机包括:触摸屏410、处理器420、其他输入设备430、收发电路440、传感器450、音频电路460、I/O子***470、存储器480、以及电源490等部件。本领域技术人员可以理解,图7中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。
以下结合图8对上述手机的各个构成部件进行详细阐述:
触摸屏410可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单,还可以接受用户输入。触摸屏410可包括显示面板411,以及触控面板412。其中显示面板411可以采用液晶显示器(英文:Liquid Crystal Display,简称:LCD)、有机发光二极管(英文:Organic Light-Emitting Diode,简称:OLED)等形式来配置显示面板411;触控面板412,也称为触摸屏、触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板412上或在触控面板412附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型。),并根据预先设定的程式驱动相应的连接装置。
可选的,触控面板412可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器420,并能接收处理器420发来的命令并加以执行。
此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板412,也可以采用未来发展的任何技术实现触控面板412。
进一步的,触控面板412可覆盖显示面板411,用户可以根据显示面板411显示的内容(该显示内容包括但不限于,软键盘、虚拟鼠标、虚拟按键、图标等等),在显示面板411上覆盖的触控面板412上或者附近进行操作,触控面板412检测到在其上或附近的操作后,通过I/O子***470传送给处理器420以确定用户输入,随后处理器420根据用户输入通过I/O子***470在显示面板411上提供相应的视觉输出。虽然在图7中,触控面板412与显示面板411是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板412与显示面板411集成而实现手机的输入和输出功能。
在本发明实施例中,手机触摸屏410具体用于通过显示面板411接收用户输入的第一操作指令,所述第一操作指令为所述用户在触摸屏中确定待操作的第一区域的选择操作;以及接收用户输入的用于对第二区域调整的第二操作指令。
具体地,当用户用双指在显示面板411上选择需要操作区的区域时,显示面板411接收用户操作时的触摸信号作为第一操作指令,经I/O子***,传输给存储器480和处理器420。
进一步地,当用户用对第二区域进行缩放、移动等操作时,显示面板411接收用户操作时的触摸信号作为第二操作指令,经I/O子***,传输给存储器480和处理器420。
处理器420是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器480内的软件程序和/或模块,以及调用存储在存储器480内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器420可包括一个或多个处理单元;处理器420可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。
在本发明实施例中,处理器420可用于控制触摸屏410进行相应的显示。具体地,所述处理器420用于根据接收到的所述第一操作指令,确定第一区域的形状、大小、位置,并在触摸屏440顶层生成第一图层,以及将第一区域复制到所述第一图层中,得到与所述第一区域位置对应的第二区域;以及构建所述第二区域与所述第一区域的位置映射关系,并根据所述位置映射关系和所述第二操作指令对所述第二区域进行调整,以及将用户对所述第二区域的操作映射到所述第一区域相应的位置。
进一步地,所述处理器420接收的所述第一操作指令为用户在确定第一区域的形状、大小、位置时所进行的选择操作。
进一步地,所述第一图层为全屏透明图层。
进一步地,处理器420在所述第一图层中所生成的第二区域为不透明区域。
进一步地,处理器420构建所述第二区域与所述第一区域的位置映射关系,包括:
所述处理器420获取所述第一区域中触摸点的坐标、所述第二区域中触摸点相对于所述第一区域中触摸点的缩放比例参数,以及所述第二区域中的触摸点相对于所述第一区域中触摸点的偏移变量;
所述处理器420对所述第一区域中触摸点的坐标、所述缩放比例参数以及所述偏移变量进行矩阵运算,得到与所述第一区域中触摸点位置对应的第二区域中触摸点的 坐标。
在本发明实施例中,处理器420通过根据用户在确定待操作的第一区域而输入的第一操作指令,确定所述第一区域的形状、大小、位置,并触摸屏顶层生成全屏透明的第一图层,以及将所述第一区域复制至第一图层与所述第一区域相对应的位置,得到覆盖在所述第一区域之上,且与所述第一区域有着位置映射关系的不透明的第二区域。用户通过将所述第二区域进行缩放和/或移动,定制大小、位置都便于自己操作的操作区域,从而解决由于所述第一区域中各个操作按键过小和/或密集,以及位置不可挪动而导致的误操作或操作不便的问题。
可选地,处理器420在触摸屏顶层显示第一图层之前,还用于:
所述处理器420在所述第一区域的上方显示第二图层。所述第二图层的颜色采样所述第一区域所在顶层图层的背景色。
在本发明实施例中,所述处理器420通过生成第二图层,使得当用户对所述第二区域进行缩小或者移动到其它位置时,第二图层将所述第一区域覆盖,使触摸屏上的内容更简洁,增加用户视觉体验。
可选地,处理器420生成的所述第二区域还可以为包括操作按键,但所述操作按键为不透明区域,所述第二区域中除所述操作按键外的区域为透明区域的区域。
在本发明实施例中,所述处理器420通过生成各个按键为不透明取区域,其余区域为透明区域的第二区域,使得当用户对所述第二区域进行放大或者移动到其它位置时,尽可能少遮盖触摸屏上的内容,避免影响用户触摸屏上的内容,影响用户体验。
其他输入设备430可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,其他输入设备430可包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)等中的一种或多种。其他输入设备430与I/O子***470的其他输入设备控制器471相连接,在其他设备输入控制器471的控制下与处理器420进行信号交互。
收发电路440可用于收发信息或通话过程中,信号的接收和发送。本发明实施例中的收发电路440可具体为射频(英文:Radio Frequency,简称:RF)电路。特别地,将终端接收的信息,传输至处理器处理。通常,收发电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(英文:Low Noise Amplifier,简称:LNA)、双工器等。此外,收发电路440还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯***(英文:Global System of Mobile communication,简称:GSM)、通用分组无线服务(英文:General Packet Radio Service,简称:GPRS)、码分多址(英文:Code Division Multiple Access,简称:CDMA)、宽带码分多址(英文:Wideband Code Division Multiple Access,简称:WCDMA)、长期演进(英文:Long Term Evolution,简称:LTE)、电子邮件、短消息服务(英文:Short Messaging Service,简称:SMS)、NFC等。
尽管未示出,手机还可以包括摄像头、蓝牙模块、红外模块等,在此不再赘述。
在本发明实施例中,传感器450具体为指纹感应器或者视网膜识别器。其中,指纹感应器用于对用户的指纹特征信息进行采集,并将采集结果通过I/O子***470传 输至处理器420,随后处理器420将采集记过通过I/O子***470在显示面板411上提供相应的视觉输出;视网膜识别器用于对用户视网膜特征信息进行采集,并将采集结果通过I/O子***470传输至处理器420,随后处理器420将采集记过通过I/O子***470在显示面板411上提供相应的视觉输出。
音频电路460、扬声器461,麦克风462可提供用户与手机之间的音频接口。音频电路460可将接收到的音频数据转换后的信号,传输到扬声器461,由扬声器461转换为声音信号输出;另一方面,麦克风462将收集的声音信号转换为信号,由音频电路460接收后转换为音频数据,再将音频数据输出至RF电路440以发送给比如另一手机,或者将音频数据输出至存储器480以便进一步处理。
I/O子***470用来控制输入输出的外部设备,可以包括其他设备输入控制器471、传感器控制器472、显示控制器473。可选的,一个或多个其他输入控制设备控制器471从其他输入设备430接收信号和/或者向其他输入设备430发送信号,其他输入设备430可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)。值得说明的是,其他输入控制设备控制器471可以与任一个或者多个上述设备连接。所述I/O子***470中的显示控制器473从触摸屏410接收信号和/或者向触摸屏410发送信号。触摸屏410检测到用户输入后,显示控制器473将检测到的用户输入转换为与显示在触摸屏410上的用户界面对象的交互,即实现人机交互。传感器控制器472可以从一个或者多个传感器450接收信号和/或者向一个或者多个传感器450发送信号。
存储器480可用于存储软件程序以及模块,处理器420通过运行存储在存储器480的软件程序以及模块,从而执行手机的各种功能应用以及数据处理,存储器480可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器480可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。具体地,在本发明实施例中,存储器480将触摸屏410接收的第一操作指令、第二操作指令、第一区域中各个触摸点的坐标进行存储,以及当用户每次对第二区域进行调整操作时,将第二区域与第一区域的位置映射关系进行存储,以供处理器420执行对触摸屏410上应用操作区域的定制。
在本发明实施例中,手机还包括给各个部件供电的电源490(比如电池),电源可以通过电源管理***与处理器420逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗等功能。
图9是本发明实施例提供的另一种终端的结构示意图。如图9所示,基于图8所示的终端,本发明实施例对图8所示的终端中处理器420的功能进行改进,得到另一种终端,该终端用于执行本发明实施例提供的如图7所示的方法,该终端包括:
处理器510根据用户在触摸屏520上选定第一区域的输入,在触摸屏520上生成第二区域;以及根据用户在触摸屏520上调整所述第二区域的输入,对第二区域进行调整;以及根据用户在触摸屏520上操作所述第二区域的输入,将用户对第二区域的 操作映射到第一区域对应的位置。
进一步地,用户调整第二区域包括缩放和/或移动第二区域。
进一步地,用户对第二区域的操作包括点击第二区域。
在本发明实施例中,处理器510通过根据用户在触摸屏520上选定的第一区域的操作(例如:对尺寸较小、内容密集、位置不合适的区域),生成一个可以缩放、移动等调整的操作区域,即第二区域,用户将第二区域进行放大到适合自己操作的尺寸和/或移动到合适自己操作的位置,然后进行诸如点击等的操作,处理器510将用户在第二区域上的点击在操作映射到第一操作区域,实现用户对第一区域的操作,进而减少或者避免对第一区域的误操作。
此外,如图10所示,本发明实施例还提供了又一种终端,该终端为可以执行终端应用操作区的自定制方法,如图2所示的方法,该终端包括:输入输出单元610、图层生成单元620、映射单元630、处理单元640。各个单元的功能具体如下:
输入输出单元610可用于接收用户输入的第一操作指令、第二操作指令,所述第一操作指令为所述用户在触摸屏中确定待操作的第一区域的选择操作;所述第二操作指令为用户对第二区域的调整操作。
图层生成单元620可用于在触摸屏顶层显示第一图层,所述第一图层包括第二区域,所述第二区域为与所述第一区域位置对应的区域。
映射单元630可用于构建所述第二区域与所述第一区域的位置映射关系;
处理单元640可用于当接收到用户输入的用于对所述第二区域调整的第二操作指令时,根据所述位置映射关系,对所述第二区域进行调整,以及根据所述位置映射关系,将用户对所述第二区域的操作映射到所述第一区域相应的位置。
进一步地,用户对第一区域的选择操作为用户用双指对第一区域的形状、大小、位置时所进行的选择操作。
进一步地,图层生成单元620在触摸屏顶层显示的所述第一图层为全屏透明图层。
进一步地,图层生成单元620在所述第一图层中所生成的第二区域为不透明区域。
进一步地,映射单元630构建所述第二区域与所述第一区域的位置映射关系,包括:
所述映射单元630获取所述第一区域中触摸点的坐标、所述第二区域中触摸点相对于所述第一区域中触摸点的缩放比例参数,以及所述第二区域中的触摸点相对于所述第一区域中触摸点的偏移变量;
所述映射单元630对所述第一区域中触摸点的坐标、所述缩放比例参数以及所述偏移变量进行矩阵运算,得到与所述第一区域中触摸点位置对应的第二区域中触摸点的坐标。
进一步地,处理单元640根据接收到的所述第一操作指令确定第一区域的形状、大小、位置。
在本发明实施例中,通过根据用户在确定待操作的第一区域而输入的第一操作指令,确定所述第一区域的形状、大小、位置,并触摸屏顶层生成全屏透明的第一图层,以及将所述第一区域复制至第一图层与所述第一区域相对应的位置,得到覆盖在所述第一区域之上,且与所述第一区域有着位置映射关系的不透明的第二区域。用户通过 将所述第二区域进行缩放和/或移动,定制大小、位置都便于自己操作的操作区域,从而解决由于所述第一区域中各个操作按键过小和/或密集,以及位置不可挪动而导致的误操作或操作不便的问题。
可选地,图层生成单元620在触摸屏顶层显示第一图层之前,还用于:
所述图层生成单元620在所述第一区域的上方显示第二图层。所述第二图层的颜色与所述第一区域所在顶层图层的背景色相同。
在本发明实施例中,所述图层生成单元620通过生成第二图层,使得当用户对所述第二区域进行缩小或者移动到其它位置时,第二图层将所述第二区域覆盖,使触摸屏上的内容更简洁,增加用户视觉体验。
可选地,图层生成单元620生成的所述第二区域还可以为包括操作按键,但所述操作按键为不透明区域,所述第二区域中除所述操作按键外的区域为透明区域的区域。
在本发明实施例中,所述图层生成单元620通过生成各个按键为不透明取区域,其余区域为透明区域的第二区域,使得当用户对所述第二区域进行放大或者移动到其它位置时,尽可能少遮盖触摸屏上的内容,避免影响用户触摸屏上的内容,影响用户体验。
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (18)

  1. 一种终端应用操作区的自定制方法,其特征在于,包括以下步骤:
    接收用户输入的第一操作指令,所述第一操作指令为所述用户在触摸屏上确定待操作的第一区域的选择操作;
    在触摸屏顶层显示第一图层,所述第一图层包括第二区域,所述第二区域为与所述第一区域位置对应的区域;
    构建所述第二区域与所述第一区域的位置映射关系;
    当接收到用户输入的用于对所述第二区域进行调整的第二操作指令时,根据所述位置映射关系,对所述第二区域进行调整,以及根据所述位置映射关系,将用户对所述第二区域的操作映射到所述第一区域对应的位置。
  2. 根据权利要求1所述的方法,其特征在于,所述第一图层为透明图层。
  3. 根据权利要求1所述的方法,其特征在于,所述在触摸屏顶层显示第一图层之前,所述方法还包括:
    显示第二图层,所述第二图层处于所述第一区域上方,所述第二图层的颜色与所述第一区域所在顶层图层的背景色相同。
  4. 根据权利要求1所述的方法,其特征在于,所述第二区域为将所述第一区域复制而得,所述第二区域为不透明区域。
  5. 根据权利要求1所述的方法,其特征在于,所述第二区域包括操作按键,所述操作按键为不透明区域,所述第二区域中除所述操作按键外的区域为透明区域。
  6. 根据权利要求1所述的方法,其特征在于,所述构建所述第二区域与所述第一区域的位置映射关系,具体包括:
    获取所述第一区域中触摸点的坐标、所述第二区域中触摸点相对于所述第一区域中触摸点的缩放比例参数,以及所述第二区域中的触摸点相对于所述第一区域中触摸点的偏移变量;
    对所述第一区域中触摸点的坐标、所述缩放比例参数以及所述偏移变量进行矩阵运算,得到与所述第一区域中触摸点位置对应的第二区域中触摸点的坐标。
  7. 一种终端,其特征在于,所述终端包括:
    触摸屏,用于接收用户输入的第一操作指令,所述第一操作指令为所述用户在所述触摸屏上确定待操作的第一区域的选择操作;以及接收用户输入的用于对第二区域调整的第二操作指令;
    处理器,用于控制所述触摸屏显示第一图层,所述第一图层包括所述第二区域,所述第二区域为与所述第一区域位置对应的区域;以及构建所述第二区域与所述第一区域的位置映射关系,并根据所述位置映射关系对所述第二区域进行调整,以及根据所述位置映射关系,将用户对所述第二区域的操作映射到所述第一区域相应的位置。
  8. 根据权利要求7所述的终端,其特征在于,所述第一图层为透明图层。
  9. 根据权利要求7所述的终端,其特征在于,所述触摸屏在显示第一图层之前,还包括:
    显示第二图层,所述第二图层处于所述第一区域上方,所述第二图层的颜色与所述第一区域所在顶层图层的背景色相同。
  10. 根据权利要求7所述的终端,其特征在于,所述第二区域为将所述第一区域复制而得,所述第二区域为不透明区域。
  11. 根据权利要求7所述的终端,其特征在于,所述第二区域包括操作按键,所述操作按键为不透明区域,所述第二区域中除所述操作按键外的区域为透明区域。
  12. 根据权利要求7所述的终端,其特征在于,所述处理器构建所述第二区域与所述第一区域的位置映射关系,包括:
    获取所述第一区域中触摸点的坐标、所述第二区域中触摸点相对于所述第一区域中触摸点的缩放比例参数,以及所述第二区域中的触摸点相对于所述第一区域中触摸点的偏移变量;
    对所述第一区域中触摸点的坐标、所述缩放比例参数以及所述偏移变量进行矩阵运算,得到与所述第一区域中触摸点位置对应的第二区域中触摸点的坐标。
  13. 一种终端应用操作区的自定制方法,其特征在于,包括以下步骤:
    获取用户在触摸屏上选定第一区域的输入;
    生成第二区域;
    获取用户在触摸屏上调整所述第二区域的输入;
    调整所述第二区域;
    获取用户在触摸屏上操作所述第二区域的输入;
    将所述用户对所述第二区域的操作映射到所述第一区域对应的位置。
  14. 根据权利要求13所述的方法,其特征在于,所述用户调整所述第二区域包括缩放和/或移动所述第二区域。
  15. 根据权利要求13所述的方法,其特征在于,所述用户对所述第二区域的操作包括点击所述第二区域。
  16. 一种终端,其特征在于,所述终端包括:处理器、触摸屏;
    所述处理器根据用户在所述触摸屏上选定第一区域的输入,在所述触摸屏上生成第二区域;以及根据用户在所述触摸屏上调整所述第二区域的输入,对所述第二区域进行调整;以及根据用户在所述触摸屏上操作所述第二区域的输入,将所述用户对所述第二区域的操作映射到所述第一区域对应的位置。
  17. 根据权利要求16所述的终端,其特征在于,所述用户调整所述第二区域包括缩放和/或移动所述第二区域。
  18. 根据权利要求16所述的终端,其特征在于,所述用户对所述第二区域的操作包括点击所述第二区域。
PCT/CN2017/078850 2016-12-01 2017-03-30 一种终端应用操作区的自定制方法和终端 WO2018098953A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780009054.6A CN108604158A (zh) 2016-12-01 2017-03-30 一种终端应用操作区的自定制方法和终端

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611090591.1 2016-12-01
CN201611090591 2016-12-01

Publications (1)

Publication Number Publication Date
WO2018098953A1 true WO2018098953A1 (zh) 2018-06-07

Family

ID=62241168

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078850 WO2018098953A1 (zh) 2016-12-01 2017-03-30 一种终端应用操作区的自定制方法和终端

Country Status (2)

Country Link
CN (1) CN108604158A (zh)
WO (1) WO2018098953A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112799580A (zh) * 2021-01-29 2021-05-14 联想(北京)有限公司 一种显示控制方法及电子装置
CN114887323A (zh) * 2019-09-18 2022-08-12 华为技术有限公司 一种电子设备操控方法及电子设备
US11803232B2 (en) 2020-02-26 2023-10-31 Boe Technology Group Co., Ltd. Touch display system and control method thereof

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2017438902B2 (en) * 2017-11-07 2022-02-03 Huawei Technologies Co., Ltd. Touch control method and apparatus
CN111444494B (zh) * 2020-03-26 2022-07-08 维沃移动通信有限公司 一种验证方法、电子设备和计算机可读存储介质
CN113535042B (zh) * 2020-09-18 2023-09-22 厦门市和家健脑智能科技有限公司 基于老年人认知识别图像的生成方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634935A (zh) * 2009-08-18 2010-01-27 深圳市同洲电子股份有限公司 触摸屏字符输入的方法及装置
CN103399706A (zh) * 2013-07-25 2013-11-20 北京小米科技有限责任公司 页面交互方法、装置及终端
CN103472996A (zh) * 2013-09-17 2013-12-25 深圳市佳创软件有限公司 一种移动设备接收触控方法及设备
CN103558957A (zh) * 2013-10-17 2014-02-05 深圳市欧珀通信软件有限公司 一种移动终端屏幕操作的方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662566B (zh) * 2012-03-21 2016-08-24 中兴通讯股份有限公司 屏幕内容放大显示方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101634935A (zh) * 2009-08-18 2010-01-27 深圳市同洲电子股份有限公司 触摸屏字符输入的方法及装置
CN103399706A (zh) * 2013-07-25 2013-11-20 北京小米科技有限责任公司 页面交互方法、装置及终端
CN103472996A (zh) * 2013-09-17 2013-12-25 深圳市佳创软件有限公司 一种移动设备接收触控方法及设备
CN103558957A (zh) * 2013-10-17 2014-02-05 深圳市欧珀通信软件有限公司 一种移动终端屏幕操作的方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114887323A (zh) * 2019-09-18 2022-08-12 华为技术有限公司 一种电子设备操控方法及电子设备
CN114887323B (zh) * 2019-09-18 2022-12-27 华为技术有限公司 一种电子设备操控方法及电子设备
US11803232B2 (en) 2020-02-26 2023-10-31 Boe Technology Group Co., Ltd. Touch display system and control method thereof
CN112799580A (zh) * 2021-01-29 2021-05-14 联想(北京)有限公司 一种显示控制方法及电子装置

Also Published As

Publication number Publication date
CN108604158A (zh) 2018-09-28

Similar Documents

Publication Publication Date Title
WO2018098953A1 (zh) 一种终端应用操作区的自定制方法和终端
US10209877B2 (en) Touch screen device, method, and graphical user interface for moving on-screen objects without using a cursor
CN111240789B (zh) 一种微件处理方法以及相关装置
US10037138B2 (en) Device, method, and graphical user interface for switching between user interfaces
KR101484529B1 (ko) 터치스크린 장치 사용자 인터페이스 프로세싱 방법 및 터치스크린 장치
US11650733B2 (en) Device, method, and graphical user interface for controlling multiple devices in an accessibility mode
EP3557399B1 (en) Input and output method in touch screen terminal and apparatus therefor
WO2018082269A1 (zh) 菜单显示方法及终端
US20160062489A1 (en) Multi-surface controller
WO2017113379A1 (zh) 一种用户界面的菜单显示方法及手持终端
WO2016191938A1 (zh) 通过触控板调节移动终端拍照焦距的方法和移动终端
CN111665983A (zh) 电子设备及其显示方法
WO2020181955A1 (zh) 界面控制方法及终端设备
WO2013169843A1 (en) Device, method, and graphical user interface for manipulating framed graphical objects
US20150234566A1 (en) Electronic device, storage medium and method for operating electronic device
JP2015007949A (ja) 表示装置、表示制御方法及びコンピュータプログラム
CN108563383A (zh) 一种图像查看方法及移动终端
WO2020001358A1 (zh) 图标的整理方法及终端设备
CN108920069A (zh) 一种触控操作方法、装置、移动终端和存储介质
CN108536366A (zh) 一种应用程序窗口调整方法及终端
WO2020238496A1 (zh) 图标管理方法及终端设备
CN107924274A (zh) 信息终端装置
WO2018039914A1 (zh) 一种数据复制方法及用户终端
KR20110066545A (ko) 터치스크린을 이용하여 이미지를 표시하기 위한 방법 및 단말
US9529498B2 (en) Input processing apparatus and method using a user interface

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17875763

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17875763

Country of ref document: EP

Kind code of ref document: A1