CN108469875B - Control method of functional component and mobile terminal - Google Patents

Control method of functional component and mobile terminal Download PDF

Info

Publication number
CN108469875B
CN108469875B CN201810286638.4A CN201810286638A CN108469875B CN 108469875 B CN108469875 B CN 108469875B CN 201810286638 A CN201810286638 A CN 201810286638A CN 108469875 B CN108469875 B CN 108469875B
Authority
CN
China
Prior art keywords
sliding
accommodating space
mobile terminal
functional
functional component
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
CN201810286638.4A
Other languages
Chinese (zh)
Other versions
CN108469875A (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 CN201810286638.4A priority Critical patent/CN108469875B/en
Publication of CN108469875A publication Critical patent/CN108469875A/en
Application granted granted Critical
Publication of CN108469875B publication Critical patent/CN108469875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1624Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with sliding enclosures, e.g. sliding keyboard or display

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a control method of a functional component and a mobile terminal, wherein the mobile terminal comprises an accommodating space arranged in the mobile terminal, the accommodating space is provided with an opening arranged on the surface of the mobile terminal, the functional component can extend out of or into the accommodating space from the opening, and the method comprises the following steps: displaying a touch key; receiving sliding input sliding through the touch key, and acquiring the sliding direction of the sliding input; controlling the functional component to extend out of or into the accommodating space according to the sliding direction; in the embodiment of the invention, when a mobile terminal user needs a certain functional component, the corresponding functional component slides out of the accommodating space, and the functional component is automatically hidden in the accommodating space when the functional component is not needed, so that the mobile terminal can achieve the display effect of a full screen; the control method of the functional component provided by the embodiment of the invention is simple to operate and prolongs the service life of the functional component.

Description

Control method of functional component and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for controlling a functional component and a mobile terminal.
Background
From the perspective of the target mobile terminal market, a full-screen (high screen ratio) mobile terminal will become a development trend of the mobile terminal. Due to the limitation of the space of the front panel of the mobile terminal, if the mobile terminal needs to be made into a full screen, the functions of the front fingerprint, the front camera, the front receiver and the like which are mature must be sacrificed.
The existing method is to change the front fingerprint into the rear fingerprint, and a certain 'upper jaw and lower jaw' are respectively reserved on the front panel of the mobile terminal to ensure the placement of components such as a mobile terminal receiver, a front camera and the like; or leave a "bang" on the front panel.
The disadvantages of this approach are:
1. the preposed fingerprint identification scheme which is long familiar to the user is abandoned, so that the user experience is influenced, and the convenience brought by the preposed fingerprint is avoided.
2. For the placement of a mobile terminal receiver and a front camera and the aesthetic feeling of the symmetrical design of the mobile terminal, the situation that 'upper and lower bars' or 'bang' is reserved on the whole screen of the mobile terminal which cannot be avoided can be avoided, so that the whole screen of the mobile terminal is not very comprehensive or the whole screen of the mobile terminal is damaged.
Another existing method is that functional components such as a front fingerprint, a front camera and a front receiver are arranged inside a mobile terminal in a telescopic mode, but the telescopic functional components are connected with a general clamping connection of the mobile terminal, in the using process, a user presses one end of the functional components to pull out the functional components from the inside of the mobile terminal, after some series of operations are carried out, the user pushes the functional components into the inside of the mobile terminal, and the mode increases the complexity of user operation and can reduce the service life of the clamping connection structure for the frequently used functional components due to frequent pressing.
Disclosure of Invention
The embodiment of the invention provides a control method of a functional component and a mobile terminal, and aims to solve the problem that the use and operation of a telescopic functional component are complicated.
In order to solve the technical problem, the invention is realized as follows: a control method of a functional component is applied to a mobile terminal, the mobile terminal comprises an accommodating space arranged in the mobile terminal, the accommodating space is provided with an opening arranged on the surface of the mobile terminal, the functional component can extend out of the opening or extend into the accommodating space, and the method comprises the following steps:
displaying a touch key;
receiving sliding input sliding through the touch key, and acquiring the sliding direction of the sliding input;
and controlling the functional component to extend out of or into the accommodating space according to the sliding direction.
The embodiment of the present invention further provides a mobile terminal, including an accommodating space arranged in the mobile terminal, wherein the accommodating space has an opening arranged on a surface of the mobile terminal, the functional component can extend out of or into the accommodating space from the opening, and the mobile terminal further includes:
the display module is used for displaying a touch key;
the direction acquisition module is used for receiving sliding input sliding through the touch key and acquiring the sliding direction of the sliding input;
and the control module is used for controlling the functional component to extend out of or into the accommodating space according to the sliding direction.
The embodiment of the present invention further provides a mobile terminal, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the control method for the functional components described above are implemented.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the control method for the functional components described above.
In the technical scheme provided by the embodiment of the invention, the method for controlling the functional components to extend out of or extend into the accommodating space of the mobile terminal is provided, the control of the functional components to extend into or extend out of the accommodating space is controlled based on the sliding direction input by sliding through the touch keys, namely, when a mobile terminal user needs a certain functional component, the corresponding functional component is slid out of the accommodating space, and the functional component is automatically hidden in the accommodating space when the functional component is not needed, so that the mobile terminal can achieve the display effect of a full screen; the control method of the functional component provided by the embodiment of the invention is simple to operate and prolongs the service life of the functional component.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating the steps of a method for controlling functional components provided by an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram illustrating functional components of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a third schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a fourth schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a fifth 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.
As shown in fig. 1, an embodiment of the present invention provides a method for controlling a functional component, which is applied to a mobile terminal, where the mobile terminal includes an accommodating space arranged in the mobile terminal, the accommodating space has an opening arranged on a surface of the mobile terminal, and the functional component can extend out of or into the accommodating space through the opening, and the method includes:
step 101, displaying a touch key.
In this step, the touch key includes: home key, return key, menu key, or dedicated key. The touch keys are typically virtual keys on a display screen of the mobile terminal. In order to improve the screen display rate of the display screen, the touch keys are hidden touch keys, and when a user needs to use the touch keys, the user can control the touch keys to display through preset or preconfigured operation.
And 102, receiving sliding input sliding through the touch key, and acquiring the sliding direction of the sliding input.
And 103, controlling the functional component to extend out of or into the accommodating space according to the sliding direction.
In the embodiment of the invention, the functional components are controlled to extend out of the accommodating space or extend into the accommodating space according to different sliding directions. The sliding direction is obtained based on the sliding input, and the sliding input is specifically the sliding input of the sliding through the touch control keys. The limitation of the sliding input in the step can avoid the functional assembly from extending into or out of the step caused by misoperation of a user.
As shown in fig. 2 and 3, the mobile terminal in the above embodiment of the present invention has the following structure:
a housing 2 having an accommodating space 1, the accommodating space 1 having an opening 10;
and at least one functional component 3 which can extend out of the opening 10 or into the accommodating space 1.
In the above embodiments of the present invention, the functional component 3 may be located in the accommodating space 1, or may extend out of the accommodating space 1 and be located outside the accommodating space 1. In general, the functional element 3 is located in the accommodating space 1 in a non-use state of the functional element, and in this state, the functional element 3 is referred to as a hidden element of the mobile terminal. When the mobile terminal user needs to use the functional component 3, the functional component 3 can be controlled to extend out of the accommodating space 1 by sliding the sliding input control functional component through the touch key, so that the functional component 3 is positioned outside the accommodating space 1; further, when the functional component 3 is located outside the accommodating space 1, the mobile terminal user may perform corresponding operation on the functional component to implement the corresponding function, or the functional component automatically executes the corresponding function when the functional component is located outside the accommodating space 1, which is not specifically limited herein.
Preferably, in the embodiment of the present invention, the accommodating space 1 is disposed below a touch screen of the mobile terminal; the functional component 3 specifically includes: one or more of the fingerprint recognition module, the camera module, the flash module, and the earpiece module, or the camera module and the flash module are combined into one large module and the large module is set as the above-mentioned functional module 3.
It should be noted that, when the functional component 3 is a fingerprint identification component, the fingerprint identification component located outside the accommodating space 1 may be referred to as a front fingerprint identification component; when the functional component 3 includes a camera component and/or a flash component, the camera component and/or the flash component outside the accommodating space 1 may be referred to as a front camera component and/or a front flash component; when the functional component 3 includes an earpiece component, the earpiece component located outside the accommodating space 1 is a front earpiece component, which is not enumerated herein.
In summary, in order to improve the occupation ratio of the display screen, in the embodiment of the present invention, part of the functional components are placed below the touch screen of the mobile terminal, and when the mobile terminal uses the functional components, the corresponding functional components are extended out, and when the functional components are not needed to be used, the functional components are extended into the accommodating space to achieve the function of hiding the functional components, so that the mobile terminal can achieve the display effect of a full-screen, and can achieve the same experience effect as a non-full screen, thereby conforming to the use habit of a user and improving the user experience.
Further, as shown in fig. 1, a sliding groove 11 is disposed on a sidewall of the accommodating space 1 in the above embodiment of the invention, and the functional component 3 extends out of the opening 10 or into the accommodating space.
Preferably, a first sliding mechanism is arranged in the sliding groove 11; as shown in fig. 2, the functional component 3 has a second sliding mechanism 30 which is engaged with the first sliding mechanism to slide the functional component 3 out of the opening 10 of the accommodating space 1 or into the accommodating space 1.
Preferably, the first sliding mechanism is a first gear, the second sliding mechanism is a second gear, and the first gear is in meshed connection with the second gear.
And, the mobile terminal further includes: a drive device;
the driving device is connected with the second gear, and the driving device drives the second gear to drive the first gear to slide in the sliding groove 11, so that the functional component 3 extends into or out of the accommodating space 1 from the opening 10.
According to the embodiment of the invention, the arrangement of the driving device can enable the functional component 3 to automatically extend into or out of the accommodating space 1 from the opening 10, so that a user does not need to manually drive the functional component 3 to slide, and the automation and intelligence of the functional component 3 are improved.
Further, in the above embodiment of the present invention, as shown in fig. 2, the functional component 3 has a protruding portion 31, and the protruding portion 31 is located at one end of the opening 10 of the accommodating space 1. The protruding portion 31 is arranged to enable the functional component 3 to be clamped in the opening of the accommodating space 1, so as to prevent the functional component 3 from completely sliding into the accommodating space; if the functional component 3 is completely slid into the accommodating space, it may cause that the functional component 3 cannot be slid out of the accommodating space or cause that a user cannot visually see whether the functional component 3 which can be hidden exists in the current mobile terminal from the outside of the mobile terminal housing.
It should be noted that, when the functional component 3 is located inside the accommodating space 1, the protruding portion 31 is higher than the touch screen of the mobile terminal.
Further, in the above embodiment of the present invention, the accommodating space 1 is located below the touch screen of the mobile terminal. And a pressure sensor is arranged between the bulge part 31 of the functional component 3 and the navigation bar area of the touch screen. The pressure sensor can detect the acting force acting between the convex part of the functional component 3 and the navigation bar area in real time.
Preferably, in the above embodiment of the present invention, in order to reduce the thickness of the housing of the mobile terminal, so that the mobile terminal is lighter and thinner as a whole, the functional component 3 and the accommodating space 1 may be designed in a manner of extending out or in a drawer type, and correspondingly, the accommodating space 1 is a cube.
In summary, in the embodiments of the present invention, the accommodating space is disposed in the housing of the mobile terminal, and at least one functional component of the mobile terminal is configured to be capable of extending into or out of the accommodating space; when a mobile terminal user needs a certain functional component, the corresponding functional component is extended out of the accommodating space, and the functional component can be hidden in the accommodating space when the functional component is not needed, so that the occupation ratio of the display screen can be improved, the functional component in a use state can be ensured to accord with the use habit of the user, and the user experience is improved.
Bearing the above example, in the above embodiment of the present invention, step 101 includes:
and when a display request triggered by preset operation is detected, displaying the touch keys on the edge of the display screen.
In this step, the preset operation is configured by the user or the terminal in advance, for example, the preset operation is an operation of sliding upwards from the bottom end of the screen, an operation of sliding rightwards from the left side of the screen, an operation of sliding downwards from the top end of the screen, or an operation of sliding leftwards from the right side of the screen, and is not limited in particular.
Preferably, the touch keys are concealable keys, and the touch keys are in a concealed state when not in use, so that the screen display rate of the mobile terminal can be improved. For example, when the functional component is a fingerprint module, when a user needs to use the fingerprint module to pay or unlock, the user executes the preset operation, and after a processor of the mobile terminal detects a display request triggered by the preset operation, a touch key is displayed on the edge of the display screen; the display screen edge is specifically an upper edge, a lower edge, a left edge or a right edge of the display screen. The definition of its edge is: the distance between the display screen and the frame of the display screen is less than or equal to a threshold, and the setting of the threshold is not specifically limited herein.
Preferably, in the above embodiment of the present invention, the touch key is displayed in an area of the display screen, which is directly opposite to the movement track of the functional component extending into or out of the functional component.
The touch keys are displayed in the area, which is opposite to the movement track of the functional component extending into or out of the display screen, so that a user can know the position of the mobile terminal from which the functional component extends clearly. Especially when the functional unit is the fingerprint module, the finishing position distance of sliding input is stretched out the fingerprint module nearest, and the user can remove to the fingerprint module with shortest distance on, promotes the efficiency of fingerprint unblock or fingerprint payment.
Further, in the foregoing embodiment of the present invention, step 102 includes:
acquiring a first distance between a starting point of sliding input and an opening of the accommodating space and a second distance between an ending point of the sliding input and the opening of the accommodating space;
if the first distance is greater than the second distance, determining that the sliding direction of the sliding input is a first direction;
if the first distance is smaller than the second distance, determining the sliding direction of the sliding input as a second direction; wherein the first direction and the second direction are opposite directions.
In short, in the above embodiment of the present invention, the sliding direction of the sliding input is determined based on the opening of the empty space. Determining the sliding direction of the sliding input as a first direction when the sliding track of the sliding input is closer to the opening of the accommodating space; and the sliding track of the sliding input is more and more away from the opening of the accommodating space, and the sliding direction of the sliding input is determined to be the second direction.
The embodiment of the invention defines the judging mode of the sliding direction of the sliding input, can improve the accuracy of determining the sliding direction and reduce the time for judging the sliding direction, further enables the functional component to rapidly extend into or out of the accommodating space and improves the user experience.
Accordingly, in the above embodiment of the present invention, step 103 includes:
if the sliding direction is a first direction, controlling the functional component to extend out of the accommodating space along the first direction;
and if the sliding direction is a second direction, controlling the functional component to extend into the accommodating space along the second direction.
As shown by the dotted arrow in fig. 4, a sliding path of the sliding input with the sliding direction being the first direction is provided, and in order to prevent the functional element from sliding out due to the user mistakenly touching, in the above embodiment of the present invention, if the sliding direction is the first direction, a distance between the starting point of the sliding input and the touch key is smaller than or equal to a preset value.
As shown in fig. 4, the starting point of the sliding input needs to be located above the home key of the navigation bar area 4, and the vertical distance from the home key is not greater than a preset value (the preset value can be set to 20dp), and the sliding path of the sliding input must pass through the home key and must be substantially vertically downward, and after the sliding input is determined to meet all the above requirements, the mobile terminal triggers the driving device to automatically extend the functional component 3 from the inside of the accommodating space 1.
It should be noted that the terminal can automatically extend out through the sliding input control function component with the sliding direction as the first direction when the terminal is in a dark screen state or a bright screen state.
When the user does not need to use the functional component 3, in order to avoid the functional component 3 being outside the accommodating space for a long time, the user of the mobile terminal can control the functional component to slide into the accommodating space by the sliding input with the sliding direction being the second direction, so as to achieve the hiding effect.
It should be noted that, in the above-mentioned embodiment of the present invention, the slide input with the second sliding direction may be set as a slide input opposite to the sliding path of the slide input with the first sliding direction. For example, the start point of the slide input with the slide direction as the second direction is the end point of the slide input with the slide direction as the first direction, the end point of the slide input with the slide direction as the second direction is the start point of the slide input with the slide direction as the first direction, and the slide path of the slide input with the slide direction as the second direction coincides with the slide path of the slide input with the slide direction as the first direction. For another example, the slide path of the slide input whose slide direction is the second direction is a slide path opposite to the broken-line arrow in fig. 4.
As for the above example, in the above embodiment of the present invention, if the sliding direction is the first direction, after the functional component is controlled to extend out of the accommodating space along the first direction, the control method includes:
and responding to an operation instruction aiming at the functional component extending out of the accommodating space, and executing functional operation corresponding to the operation instruction.
In the embodiment of the invention, if the functional component is the fingerprint identification component, the mobile terminal is in the screen locking state, and the mobile terminal detects the sliding operation of the user sliding from the screen touch area with the lower edge not far away to the lower edge of the screen, so as to control the fingerprint identification component to slide out of the accommodating space. At the moment, the user just slides the finger to the touch area of the fingerprint identification assembly, the mobile terminal system carries out fingerprint identification, and after the fingerprint identification is successful, the mobile terminal can be unlocked.
Further, in order to improve the automatic performance of the mobile terminal, after the responding to the operation instruction of the functional component that has been extended out of the accommodating space and executing the functional operation corresponding to the operation instruction, the control method further includes:
and after the functional operation corresponding to the operation instruction is executed, controlling the functional assembly which extends out of the accommodating space to extend into the accommodating space along the second direction.
Specifically, after the function execution of the functional components stretching out of the accommodating space is completed, the mobile terminal automatically stretches the functional components stretching out of the accommodating space into the accommodating space, so that automatic hiding is realized, manual operation of a user is reduced, and user experience is improved.
For example, when the functional unit is the fingerprint identification subassembly, the user starts applications such as payment treasured or believe a little, stretches out the fingerprint identification subassembly for the slip input of first direction in the accommodation space through the slip direction when needing fingerprint payment, and the mobile terminal stretches into corresponding accommodation space with this fingerprint identification subassembly automatically after fingerprint payment is accomplished.
In summary, in the embodiments of the present invention, some functional components are placed below the touch screen of the mobile terminal, and when the mobile terminal uses the functional components, the corresponding functional components are extended out, and when the functional components are not needed to be used, the functional components are extended into the accommodating space to achieve the function of hiding the functional components, so that the mobile terminal can achieve the display effect of a full screen, and can also achieve the same experience effect as a non-full screen, which is in accordance with the use habit of the user, and improves the user experience.
As shown in fig. 5, a mobile terminal 500 according to an embodiment of the present invention includes an accommodating space disposed in the mobile terminal, the accommodating space has an opening disposed on a surface of the mobile terminal, and the functional component can extend out of or into the accommodating space from the opening, and the mobile terminal further includes:
the display module 501 is used for displaying a touch key;
a direction obtaining module 502, configured to receive a sliding input sliding through the touch key, and obtain a sliding direction of the sliding input;
and a control module 503, configured to control the functional component to extend out of or into the accommodating space according to the sliding direction.
Preferably, in the above embodiment of the present invention, the display module 501 includes:
and the display sub-module is used for displaying the touch keys on the edge of the display screen when detecting a display request triggered by preset operation.
Preferably, in the above embodiment of the present invention, the touch key is displayed in an area of the display screen, which is directly opposite to the movement track of the functional component extending into or out of the functional component.
Preferably, in the above embodiment of the present invention, the direction obtaining module 502 includes:
the distance acquisition submodule is used for acquiring a first distance between a starting point of sliding input and the opening of the accommodating space and a second distance between an ending point of the sliding input and the opening of the accommodating space;
a first direction determination submodule, configured to determine, if the first distance is greater than the second distance, that the sliding direction of the sliding input is a first direction;
a second direction determination submodule, configured to determine that the sliding direction of the sliding input is a second direction if the first distance is smaller than the second distance; wherein the first direction and the second direction are opposite directions.
Preferably, in the above embodiment of the present invention, the control module 503 includes:
the extending sub-module is used for controlling the functional component to extend out of the accommodating space along a first direction if the sliding direction is the first direction;
and the stretching sub-module is used for controlling the functional component to stretch into the accommodating space along the second direction if the sliding direction is the second direction.
Preferably, in the above embodiment of the present invention, if the sliding direction is the first direction, a distance between the start point of the sliding input and the touch key is smaller than or equal to a preset value.
Preferably, in the above embodiment of the present invention, the mobile terminal further includes:
and the operation module is used for responding to an operation instruction aiming at the functional component extending out of the accommodating space and executing the functional operation corresponding to the operation instruction.
Preferably, in the above embodiment of the present invention, the mobile terminal further includes:
and the control stretching module is used for controlling the functional components stretched out of the accommodating space to stretch into the accommodating space along the second direction after the functional operation corresponding to the operation instruction is executed.
In summary, in the embodiments of the present invention, some functional components are placed below the touch screen of the mobile terminal, and when the mobile terminal uses the functional components, the corresponding functional components are extended out, and when the functional components are not needed to be used, the functional components are extended into the accommodating space to achieve the function of hiding the functional components, so that the mobile terminal can achieve the display effect of a full screen, and can also achieve the same experience effect as a non-full screen, which is in accordance with the use habit of the user, and improves the user experience.
It should be noted that, the mobile terminal provided in the embodiments of the present invention is a mobile terminal capable of executing the control method of the functional component, and all embodiments of the control method of the functional component are applicable to the mobile terminal, and can achieve the same or similar beneficial effects.
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 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 display unit 606 is used for displaying a touch key; the radio frequency unit 601 is configured to receive a sliding input sliding through the touch key, and obtain a sliding direction of the sliding input;
the processor 610 is configured to control the functional component to extend out of or into the accommodating space according to the sliding direction.
In summary, in the embodiments of the present invention, some functional components are placed below the touch screen of the mobile terminal, and when the mobile terminal uses the functional components, the corresponding functional components are extended out, and when the functional components are not needed to be used, the functional components are extended into the accommodating space to achieve the function of hiding the functional components, so that the mobile terminal can achieve the display effect of a full screen, and can also achieve the same experience effect as a non-full screen, which is in accordance with the use habit of the user, and improves the user experience.
It should be noted that, the mobile terminal provided in the embodiments of the present invention is a mobile terminal capable of executing the method for controlling the functional component of the mobile terminal, and all embodiments of the method for controlling the functional component of the mobile terminal are applicable to the mobile terminal, and can achieve the same or similar beneficial effects.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 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. Further, the radio frequency unit 601 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 through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound 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 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, 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 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 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 605 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 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 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 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. 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 608 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 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage 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 609 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 610 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 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 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 the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, as shown in fig. 7, an embodiment of the present invention further provides a mobile terminal, which includes a processor 700, a memory 710, and a computer program stored in the memory 710 and capable of running on the processor 700, where the computer program, when executed by the processor 700, implements each process of the above-mentioned embodiment of the method for controlling a functional component, and can achieve the same technical effect, and is not described herein again to avoid repetition.
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 above-mentioned control method for a functional component of a mobile terminal, and can achieve the same technical effect, and is not described herein again to avoid repetition. 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.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. A control method of a functional component is applied to a mobile terminal, the mobile terminal comprises an accommodating space arranged in the mobile terminal, the accommodating space is provided with an opening arranged on the surface of the mobile terminal, the functional component can extend out of the opening or extend into the accommodating space, and the method comprises the following steps:
displaying a touch key;
receiving a sliding input sliding through the touch key, and acquiring a sliding direction of the sliding input, wherein the acquiring of the sliding direction of the sliding input comprises: the sliding track of the sliding input is closer to the opening of the accommodating space, the sliding direction of the sliding input is determined to be a first direction, the sliding of the sliding input is further away from the opening of the accommodating space, the sliding direction of the sliding input is determined to be a second direction, and the first direction and the second direction are opposite directions;
according to the slip direction, control functional unit stretches out or stretches into the accommodation space, according to the slip direction, control functional unit stretches out or stretches into the accommodation space includes:
if the sliding direction is a first direction, controlling the functional component to extend out of the accommodating space along the first direction;
if the sliding direction is a second direction, the functional component is controlled to extend into the accommodating space along the second direction,
if the sliding direction is the first direction, the distance between the starting point of the sliding input and the touch key is smaller than or equal to a preset value, the functional assembly is provided with a protruding part, and when the functional assembly extends into the accommodating space along the second direction, the protruding part can clamp the functional assembly in the opening of the accommodating space.
2. The control method of claim 1, wherein displaying a touch key comprises:
and when a display request triggered by preset operation is detected, displaying the touch keys on the edge of the display screen.
3. The control method according to claim 2,
the touch keys are displayed in an area, which is opposite to the movement track of the functional components extending into or out of the functional components, on the display screen.
4. The control method according to claim 1, wherein the obtaining of the sliding direction of the sliding input comprises:
acquiring a first distance between a starting point of sliding input and an opening of the accommodating space and a second distance between an ending point of the sliding input and the opening of the accommodating space;
if the first distance is greater than the second distance, determining that the sliding direction of the sliding input is a first direction;
and if the first distance is smaller than the second distance, determining the sliding direction of the sliding input as a second direction.
5. The control method according to claim 4, wherein if the sliding direction is a first direction, after the functional component is controlled to extend out of the accommodating space along the first direction, the control method comprises:
and responding to an operation instruction aiming at the functional component extending out of the accommodating space, and executing functional operation corresponding to the operation instruction.
6. The control method according to claim 5, wherein after the response is made to an operation instruction for the functional component that has been extended out of the accommodating space, and a functional operation corresponding to the operation instruction is performed, the control method further comprises:
and after the functional operation corresponding to the operation instruction is executed, controlling the functional assembly which extends out of the accommodating space to extend into the accommodating space along the second direction.
7. A mobile terminal comprises an accommodating space and a functional component, wherein the accommodating space is arranged in the mobile terminal, the accommodating space is provided with an opening arranged on the surface of the mobile terminal, the functional component can extend out of or into the accommodating space from the opening, and the mobile terminal is characterized by further comprising:
the display module is used for displaying a touch key;
the direction acquisition module is used for receiving the sliding input sliding through the touch key and acquiring the sliding direction of the sliding input, and the direction acquisition module comprises:
the first direction determining submodule is used for determining that the sliding direction of the sliding input is a first direction if the sliding track of the sliding input is closer to the opening of the accommodating space;
a second direction determination submodule, configured to determine that the sliding direction of the sliding input is a second direction as the sliding direction of the sliding input becomes farther away from the opening of the accommodating space, where the first direction and the second direction are opposite directions;
the control module is used for controlling the functional component to stretch out or stretch into the accommodating space according to the sliding direction, and the control module comprises:
the extending sub-module is used for controlling the functional component to extend out of the accommodating space along a first direction if the sliding direction is the first direction;
an extending sub-module, configured to control the functional component to extend into the accommodating space along a second direction if the sliding direction is the second direction,
if the sliding direction is the first direction, the distance between the starting point of the sliding input and the touch key is smaller than or equal to a preset value, the functional assembly is provided with a protruding part, and when the functional assembly extends into the accommodating space along the second direction, the protruding part can clamp the functional assembly in the opening of the accommodating space.
8. The mobile terminal of claim 7, wherein the display module comprises:
and the display sub-module is used for displaying the touch keys on the edge of the display screen when detecting a display request triggered by preset operation.
9. The mobile terminal of claim 8,
the touch keys are displayed in an area, which is opposite to the movement track of the functional components extending into or out of the functional components, on the display screen.
10. The mobile terminal of claim 8, wherein the direction obtaining module comprises:
the distance acquisition submodule is used for acquiring a first distance between a starting point of sliding input and the opening of the accommodating space and a second distance between an ending point of the sliding input and the opening of the accommodating space;
the first direction determining submodule is used for determining the sliding direction of the sliding input as a first direction if the first distance is greater than the second distance;
and the second direction determining submodule is used for determining the sliding direction of the sliding input as a second direction if the first distance is smaller than the second distance.
11. The mobile terminal of claim 10, wherein the mobile terminal further comprises:
and the operation module is used for responding to an operation instruction aiming at the functional component extending out of the accommodating space and executing the functional operation corresponding to the operation instruction.
12. The mobile terminal of claim 11, wherein the mobile terminal further comprises:
and the control stretching module is used for controlling the functional components stretched out of the accommodating space to stretch into the accommodating space along the second direction after the functional operation corresponding to the operation instruction is executed.
13. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of a method of controlling functional components of a mobile terminal according to any one of claims 1 to 6.
CN201810286638.4A 2018-03-30 2018-03-30 Control method of functional component and mobile terminal Active CN108469875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810286638.4A CN108469875B (en) 2018-03-30 2018-03-30 Control method of functional component and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810286638.4A CN108469875B (en) 2018-03-30 2018-03-30 Control method of functional component and mobile terminal

Publications (2)

Publication Number Publication Date
CN108469875A CN108469875A (en) 2018-08-31
CN108469875B true CN108469875B (en) 2020-05-05

Family

ID=63262563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810286638.4A Active CN108469875B (en) 2018-03-30 2018-03-30 Control method of functional component and mobile terminal

Country Status (1)

Country Link
CN (1) CN108469875B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112789845B (en) * 2018-10-31 2023-07-18 Oppo广东移动通信有限公司 Terminal equipment and function starting control method
CN109743423B (en) * 2019-01-08 2022-06-07 合肥京东方光电科技有限公司 Display device and control method thereof
CN110389810B (en) * 2019-07-31 2023-03-31 创新先进技术有限公司 Method, device and equipment for quickly placing UI (user interface) control on virtual canvas

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009272908A (en) * 2008-05-08 2009-11-19 Sony Ericsson Mobilecommunications Japan Inc Mobile terminal unit and slide cover device
CN103995788B (en) * 2014-05-27 2017-05-31 广东欧珀移动通信有限公司 A kind of method and device of touch screen terminal control camera rotation
CN104023190B (en) * 2014-06-20 2017-02-15 冠捷显示科技(厦门)有限公司 Automatic lifting camera and display device thereof
CN104102432B (en) * 2014-07-30 2018-04-20 广东欧珀移动通信有限公司 One kind control rotating method, device and mobile terminal of camera
CN104182173A (en) * 2014-08-15 2014-12-03 小米科技有限责任公司 Camera switching method and device
CN106657456A (en) * 2016-10-24 2017-05-10 珠海格力电器股份有限公司 Mobile terminal
CN107071137A (en) * 2016-11-29 2017-08-18 努比亚技术有限公司 A kind of method and apparatus of shooting image
CN107580179A (en) * 2017-08-18 2018-01-12 维沃移动通信有限公司 A kind of camera starts method and mobile terminal
CN107707698A (en) * 2017-10-24 2018-02-16 南昌大学 A kind of screen mobile phone front camera device comprehensively
CN107800828A (en) * 2017-11-16 2018-03-13 珠海市魅族科技有限公司 Terminal device and its control method and computer-readable recording medium and device

Also Published As

Publication number Publication date
CN108469875A (en) 2018-08-31

Similar Documents

Publication Publication Date Title
CN108536365B (en) Image sharing method and terminal
CN108471498B (en) Shooting preview method and terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN109714485B (en) Display method and mobile terminal
CN109005262B (en) Camera control method, terminal and computer readable storage medium
CN107728923B (en) Operation processing method and mobile terminal
CN109739429B (en) Screen switching processing method and mobile terminal equipment
CN108958593B (en) Method for determining communication object and mobile terminal
CN108446156B (en) Application program control method and terminal
CN108536509B (en) Application body-splitting method and mobile terminal
CN109407949B (en) Display control method and terminal
CN108062194B (en) Display method and device and mobile terminal
CN107613095B (en) Incoming call processing method and mobile terminal
KR102535334B1 (en) Image display method and mobile terminal
EP3764211A1 (en) Display method and mobile terminal
CN109710130B (en) Display method and terminal
EP3952300A1 (en) Video call method and terminal device
CN108469875B (en) Control method of functional component and mobile terminal
EP3842912A1 (en) Display interface processing method and mobile terminal
CN110609648A (en) Application program control method and terminal
CN107967418B (en) Face recognition method and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
CN111143011B (en) Display method and electronic equipment
CN111367483A (en) Interaction control method and electronic equipment
CN108984099B (en) Man-machine interaction method and 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