WO2019047183A1 - 按键显示方法、装置及终端 - Google Patents

按键显示方法、装置及终端 Download PDF

Info

Publication number
WO2019047183A1
WO2019047183A1 PCT/CN2017/101131 CN2017101131W WO2019047183A1 WO 2019047183 A1 WO2019047183 A1 WO 2019047183A1 CN 2017101131 W CN2017101131 W CN 2017101131W WO 2019047183 A1 WO2019047183 A1 WO 2019047183A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
shooting
application
navigation bar
target application
Prior art date
Application number
PCT/CN2017/101131
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 PCT/CN2017/101131 priority Critical patent/WO2019047183A1/zh
Priority to EP17924346.4A priority patent/EP3680760A4/en
Publication of WO2019047183A1 publication Critical patent/WO2019047183A1/zh
Priority to US16/811,649 priority patent/US11132123B2/en

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Definitions

  • the embodiment of the present invention relates to the field of human-computer interaction, and particularly to a button display method, device, and terminal.
  • the shooting function is one of the most commonly used functions on mobile terminals such as smartphones and tablets.
  • the user When the user takes a picture, the user opens the shooting interface on the mobile terminal.
  • a virtual shooting button is displayed at the lower center of the shooting interface. After the user touches the virtual shooting button, the mobile terminal controls the photosensitive element in the camera to take a picture.
  • a mobile terminal using an Android (Andorid) operating system also displays a navigation bar at the bottom of the touch display screen, which has a back button, a home button, and a menu button. Since the position of the virtual shooting button and the home button are very close, it is easy to accidentally touch the home button on the navigation bar when the user clicks the virtual shooting button.
  • Android Android
  • the embodiment of the present invention provides a button display method, device, and terminal, which can solve the problem that a user can easily touch the home button on the navigation bar when the virtual shooting button is clicked.
  • the technical solution is as follows:
  • a button display method comprising:
  • a button display device comprising:
  • a display module configured to display a first user interface and a navigation bar, where the navigation bar includes a target virtual button
  • a receiving module configured to receive a first operation signal
  • a startup module configured to start a target application according to the first operation signal, where the target application includes a shooting function
  • the display module is further configured to display a second user interface of the target application, and switch the target virtual button in the navigation bar to a shooting button, where the shooting button is used to trigger the target application to perform Shooting.
  • a terminal comprising: a processor and a memory; the memory storing at least one instruction, the at least one instruction being loaded and executed by the processor To achieve the following steps:
  • a computer readable medium comprising: storing at least one instruction, the at least one instruction being loaded and executed by the processor for implementing the following steps :
  • the target virtual button in the navigation bar is switched to the shooting button, so that the target virtual button that is easily misunderstood is no longer displayed during the shooting, so that the virtual button is not accidentally touched, thereby solving
  • the user clicks the virtual shooting button it is easy to accidentally touch the home button on the navigation bar; the effect of reducing the chance of accidental shooting is achieved.
  • FIG. 1 is a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
  • FIG. 2 is a structural block diagram of a terminal provided by another exemplary embodiment of the present application.
  • 3A to 3E are schematic diagrams of appearances of a terminal provided by an exemplary embodiment of the present application.
  • FIG. 4A is a flowchart of a button display method provided by an exemplary embodiment of the present application.
  • FIG. 4B is a schematic diagram of an interface of the button display method provided in the embodiment shown in FIG. 4A in a specific implementation
  • FIG. 5A is a flowchart of a button display method provided by an exemplary embodiment of the present application.
  • FIG. 5B and FIG. 5C are schematic diagrams of interfaces of the button display method provided in the embodiment shown in FIG. 5A in a specific implementation
  • FIG. 6 is a flowchart of a button display method provided by another exemplary embodiment of the present application.
  • FIG. 7 is a block diagram showing the structure of a key display device provided by an exemplary embodiment of the present application.
  • a “module” as referred to herein generally refers to a program or instruction stored in a memory that is capable of performing certain functions;
  • "unit” as referred to herein generally refers to a functional structure that is logically divided, the "unit” It can be implemented by pure hardware or a combination of hardware and software.
  • Multiple as referred to herein means two or more. "and/or”, describing the association relationship of the associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately.
  • the character "/" generally indicates that the contextual object is an "or" relationship.
  • the terminal 100 can be a mobile phone, a tablet computer, a notebook computer, an e-book, and the like.
  • the terminal 100 in this application may include one or more of the following components: a processor 110, a memory 120, and a touch display screen 130.
  • Processor 110 can include one or more processing cores.
  • the processor 110 utilizes various interfaces and The lines connect the various parts within the entire terminal 100, and perform various functions and processing data of the terminal 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120.
  • the processor 110 may use at least one of a digital signal processing (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA).
  • DSP digital signal processing
  • FPGA field-programmable gate array
  • PDA programmable logic array
  • a form of hardware is implemented.
  • the processor 110 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, the user interface, the application, and the like; the GPU is responsible for rendering and rendering of the content that the display screen 130 needs to display; the modem is used to process wireless communication. It can be understood that the above modem may also be integrated into the processor 110 and implemented by a single chip.
  • the memory 120 may include a random access memory (RAM), and may also include a read-only memory.
  • the memory 120 includes a non-transitory computer-readable storage medium.
  • Memory 120 can be used to store instructions, programs, code, code sets, or sets of instructions.
  • the memory 120 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), The instructions for implementing the various method embodiments described below, etc.; the storage data area can store data (such as audio data, phone book) created according to the use of the terminal 100, and the like.
  • the memory 120 stores a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260, and an application layer 280.
  • the Linux kernel layer 220 provides the underlying drivers for various hardware of the terminal 100, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and the like.
  • the system runtime layer 240 provides major features support for the Android system through some C/C++ libraries. For example, the SQLite library provides support for the database, the OpenGL/ES library provides support for 3D graphics, and the Webkit library provides support for the browser kernel.
  • the Android runtime library (Android Runtime) is also provided in the system runtime layer 240. It mainly provides some core libraries, which can allow developers to write Android applications using the Java language.
  • the application framework layer 260 provides various APIs that may be used when building an application. Developers can also build their own applications by using these APIs, such as event management, window management, view management, notification management, content providers, Package management, call management, resource management, location management.
  • the IOS system includes: a core operating system layer 320 (Core OS layer), a core service layer 340 (Core Services layer), and a media layer. 360 (Media layer), touchable layer 380 (Cocoa Touch Layer).
  • the core operating system layer 320 includes an operating system kernel, drivers, and an underlying program framework that provide functionality closer to the hardware for use by the program framework located at the core service layer 340.
  • the core service layer 340 provides system services and/or program frameworks required by the application, such as a Foundation framework, an account framework, an advertising framework, a data storage framework, a network connectivity framework, a geographic location framework, a motion framework, and the like.
  • the media layer 360 provides an interface for the audiovisual aspect of the application, such as a graphic image related interface, an audio technology related interface, a video technology related interface, and an audio and video transmission technology wireless play (AirPlay) interface.
  • the touch layer 380 provides various commonly used interface related frameworks for application development, and the touch layer 380 is responsible for user touch interaction operations on the terminal 100. Such as local notification service, remote push service, advertising framework, game tool framework, message user interface (UI) framework, user interface UIKit framework, map framework and so on.
  • frameworks related to most applications include, but are not limited to, the base framework in core service layer 340 and the UIKit framework in touchable layer 380.
  • the underlying framework provides many basic object classes and data types, providing the most basic system services for all applications, regardless of the UI.
  • the classes provided by the UIKit framework are the basic UI class libraries for creating touch-based user interfaces. iOS applications can provide UI based on the UIKit framework, so it provides the application infrastructure for building user interfaces, drawing , handling and user interaction events, responsive gestures, and more.
  • the touch display screen 130 is for receiving a touch operation on or near a user using any suitable object such as a finger, a touch pen, and the like, and displaying a user interface of each application.
  • the touch display screen 130 is typically disposed at the front panel of the terminal 130.
  • the touch display 130 can be designed as a full screen, a curved screen, or a profiled screen.
  • the touch display screen 130 can also be designed as a combination of a full screen and a curved screen, and the combination of the special screen and the curved screen is not limited in this embodiment. among them:
  • the full screen may refer to a screen design in which the touch screen 130 occupies a front panel of the terminal 100 that exceeds a threshold (eg, 80% or 90% or 95%).
  • a calculation method of screen ratio is: (touch display The area of the screen 130 / the area of the front panel of the terminal 100 is *100%; another calculation method of the screen ratio is: (the area of the actual display area in the touch screen 130 / the area of the front panel of the terminal 100) * 100%; another calculation of the screen ratio is: (the diagonal of the touch screen 130 / the diagonal of the front panel of the terminal 100) * 100%.
  • a threshold eg, 80% or 90% or 95%).
  • a calculation method of screen ratio is: (touch display The area of the screen 130 / the area of the front panel of the terminal 100 is *100%; another calculation method of the screen ratio is: (the area of the actual display area in the touch screen 130 / the area of the front panel of the terminal 100) * 100%; another calculation of the screen ratio is: (the diagonal of the
  • the touch display screen 130 almost all areas on the front panel of the terminal 100 are the touch display screen 130, and on the front panel 40 of the terminal 100, except for the edge generated by the middle frame 41. All are touch display screens 130.
  • the four corners of the touch display screen 130 can be right angles or rounded corners.
  • the full screen may also be a screen design that integrates at least one front panel component inside or below the touch display screen 130.
  • the at least one front panel component comprises: a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like.
  • other components on the front panel of the conventional terminal are integrated in all areas or partial areas of the touch display screen 130, such as splitting the photosensitive elements in the camera into a plurality of photosensitive pixels, each of which is photosensitive.
  • the pixels are integrated in a black area in each display pixel in touch display 130. Since at least one front panel component is integrated inside the touch display 130, the full screen has a higher screen ratio.
  • the front panel component on the front panel of the conventional terminal may also be disposed on the side or the back of the terminal 100, such as an ultrasonic fingerprint sensor disposed under the touch display screen 130, and the bone conduction type.
  • the earpiece is disposed inside the terminal 130, and the camera is disposed to be located on the side of the terminal and is pluggable.
  • a single side of the middle frame of the terminal 100 when the terminal 100 adopts a full screen, a single side of the middle frame of the terminal 100, or two sides (such as the left and right sides), or four sides (such as An edge touch sensor 120 is disposed on the four sides of the upper, lower, left, and right sides, and the edge touch sensor 120 is configured to detect a user's touch operation, a click operation, a pressing operation, a sliding operation, and the like on the middle frame. At least one operation.
  • the edge touch sensor 120 may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user can apply an operation on the edge touch sensor 120 to control the application in the terminal 100.
  • the curved screen refers to a screen design in which the cross section of the touch display screen 130 has a curved shape and the projection in a direction parallel to the cross section is a plane, and the curved shape may be a U shape.
  • a curved screen refers to a screen design in which at least one side is curved.
  • the curved screen means that at least one side of the touch display screen 130 extends over the middle frame of the terminal 100. Since the side of the touch display screen 130 extends to cover the middle frame of the terminal 100, the middle frame that does not have the display function and the touch function is covered as The display area and/or the operable area are such that the curved screen has a higher screen ratio.
  • the curved screen has a higher screen ratio.
  • the curved screen refers to a screen design in which the left and right side edges 42 are curved shapes; or the curved screen refers to a screen design in which the upper and lower sides are curved shapes; or The curved screen refers to the screen design in which the four sides of the upper, lower, left and right sides are curved.
  • the curved screen is fabricated using a touch screen material having a certain flexibility.
  • a profiled screen is a touchscreen display with an irregularly shaped shape, and the irregular shape is not a rectangle or a rounded rectangle.
  • the profiled screen refers to a screen design that is provided with raised, notched, and/or punctured holes on a rectangular or rounded rectangular touch display screen 130.
  • the protrusions, notches, and/or holes may be located at the edge of the touch screen display 130, at the center of the screen, or both. When the protrusions, notches, and/or holes are provided at one edge, they may be disposed at the middle or both ends of the edge; when the protrusions, notches, and/or holes are disposed in the center of the screen, they may be placed above the screen.
  • the protrusions, the notches, and the holes may be concentrated or distributed; they may be symmetrically distributed or asymmetrically distributed.
  • the number of the protrusions, the notches and/or the holes is also not limited.
  • the shaped screen covers the upper and/or lower forehead area of the touch display screen as a displayable area and/or an operable area, so that the touch display screen occupies more space on the front panel of the terminal, the shaped screen also has A larger screen ratio.
  • the notch and/or the bore are for receiving at least one front panel component, including a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, an earpiece, an ambient light level sensor, a physical button At least one of them.
  • the indentation may be provided on one or more edges, which may be semi-circular notches, right-angled rectangular indentations, rounded rectangular indentations or irregularly shaped indentations.
  • the profiled screen may be a screen design in which a semicircular notch 43 is provided at a central position of the upper edge of the touch screen display 130, and the position of the semicircular notch 43 is vacated.
  • the distance sensor also referred to as a proximity sensor
  • the earpiece and the ambient light brightness sensor
  • the shaped screen may be at the lower edge of the touch display screen 130.
  • the central position is provided with a screen design of a semi-circular notch 44, the vacant position of the semi-circular notch 44 for accommodating at least one of a physical button, a fingerprint sensor, and a microphone; schematically shown in FIG. 3E
  • the profiled screen may be a screen design in which a semi-elliptical notch 45 is disposed at a central position of the lower edge of the touch display screen 130, and a semi-elliptical notch is formed on the front panel of the terminal 100.
  • the two semi-elliptical notches are combined to form an elliptical area for accommodating a physical button or a fingerprint recognition module; in the example shown in FIG. 3F, the profiled screen may be in the touch display 130.
  • a screen design of at least one aperture 45 is provided in the upper half, the location of the aperture 45 being vacant for accommodating at least one of the camera, the distance sensor, the earpiece, and the ambient light sensor.
  • the structure of the terminal 100 shown in the above figure does not constitute a limitation on the terminal 100, and the terminal may include more or less components than the illustration, or a combination of some Parts, or different parts.
  • the terminal 100 further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module, and the like, and details are not described herein.
  • WiFi wireless fidelity
  • Android operating system A Linux-based free and open source operating system produced by Google Inc. of the United States, mainly used in mobile devices.
  • an application in an Android operating system, an application usually includes at least one program component.
  • Program components There are four types of program components: Activity: Activity component, Service component, Content Provider component, and Broadcast Receiver component.
  • Active component A component of the Android application that is responsible for interacting with the user, providing a visual user interface for Android applications.
  • An Android app can include zero to more active components.
  • Service component A component of an Android application that runs in the background and does not provide a user interface. Usually used to process data.
  • An Android app can include zero to more service components.
  • a component of an Android application that provides data for other applications or other components in the current application, such as ringtones, wallpapers, phone books, and so on. It encapsulates data in a variety of formats and provides it to other applications or components in a standard form.
  • Broadcast Receiver Component A message used to receive and respond to broadcasts by the operating system. It can receive messages of interest to itself (or pre-defined messages of a certain message type) and then process or forward them to other components in the current application.
  • Intent (English: Intent) message A message in the Android application that communicates between various program components. Each program component can be a different component in the same application or a different component in a different application. .
  • the Intent message is responsible for the action of one operation in the application, The action involves data and additional data for description.
  • the Android operating system is responsible for finding the corresponding program component according to the description of the Intent message, passing the Intent message to the called program component, and completing the calling of the program component.
  • Intent messages There are two types of Intent messages: explicit Intent messages and implicit Intent messages.
  • An Intent message that explicitly indicates the name of the target program component is called an explicit Intent message.
  • the A program component needs to send an Intent message of “call 18688888888”. If the A program component wants the B program component to respond to the Intent message, the A program component specifies the target program component in the Intent message to be the B program component. After the Android operating system receives the Intent message, the Intent message is handed over to the B program component for processing.
  • Implicit Intent Message For an Intent message that does not explicitly indicate the name of the target program component, it is called an implicit Intent message. For example, the A component needs to send an Intent message "call 18688888888". If the A component does not know which program component should respond to the Intent message, then the A component can not specify the target program component in the Intent message, then the Android operation After receiving the Intent message, the system will check the type of the Intent message that is pre-registered by each program component. If the B program component monitors the Intent message about the phone call, the Android operating system will hand over the Intent message. B program component processing. Alternatively, the Android operating system can broadcast the Intent message, which is received and processed by a broadcast receiver component interested in an Intent message regarding the phone call.
  • FIG. 4A is a flowchart of a method for displaying a button provided by an embodiment of the present application. This embodiment is exemplified by applying the key display method to the terminal shown in FIG. 1 or 2. The method includes:
  • Step 401 Display a first user interface and a navigation bar, where the navigation bar includes a target virtual button;
  • the first user interface may be a main interface or a lock screen interface provided by the operating system. As shown in FIG. 4B, the first user interface 40 occupies a middle upper display area on the touch display screen.
  • the navigation bar can be a control provided by the operating system for displaying at least one virtual button.
  • the navigation bar can be displayed in the display area at the bottom of the touch display.
  • At least one of the virtual buttons displayed on the navigation bar can be a system level virtual button.
  • at least one of the virtual buttons includes, but is not limited to, a return key 41, a home button (also referred to as a Home button) 42, and a menu button 43.
  • the target virtual button is a virtual button that is easily touched by mistake, and the target virtual button may be all or part of a plurality of virtual buttons displayed on the navigation bar.
  • the target virtual button is the home button 42.
  • Step 402 Receive a first operation signal.
  • the first operational signal is a signal used to initiate the target application.
  • the first operation signal may be a signal generated by the operation object clicking the camera application icon, or may be a signal generated by the sliding screen interface on the operation object, which is not limited in this embodiment.
  • Step 403 starting a target application according to the first operation signal
  • the terminal After receiving the first operation signal, the terminal starts the target application.
  • the target app includes shooting features.
  • the target application is a camera application, or the target application is an instant communication program including a shooting function.
  • Step 404 Display a second user interface of the target application, and switch the target virtual button in the navigation bar to a shooting button.
  • the terminal After starting the target application, the terminal displays all or part of the interface area of the first user interface as the second user interface of the target application.
  • the second user interface is a shooting interface or a camera interface.
  • the terminal also switches the target virtual button in the navigation bar to the capture button.
  • the capture button is a control that triggers the target application to take a photo or video.
  • the capture button can be a virtual button instead of a physical button.
  • the terminal switches the home button 42 to the shooting button 44.
  • the button display method provided by the embodiment is configured to switch the target virtual button in the navigation bar to a shooting button after the target application is started, so that the target virtual button that is easily misunderstood is not in the shooting process.
  • the display is further displayed, so that the virtual button is not accidentally touched, which solves the problem that the user can easily touch the home button on the navigation bar when the virtual shooting button is clicked, and the effect of reducing the chance of accidental shooting during shooting is achieved.
  • FIG. 5A shows a flowchart of a button display method provided by another exemplary embodiment of the present application. This embodiment is exemplified by applying the key display method to the terminal shown in FIG. 1 or 2.
  • the method includes:
  • Step 501 Display a first user interface and a navigation bar, where the navigation bar includes a target virtual button;
  • the first user interface may be a main interface or a lock screen interface provided by the operating system. As shown in FIG. 5B, the first user interface 40 occupies a mid-upper display area on the touch display screen.
  • the navigation bar can be a control provided by the operating system for displaying at least one virtual button.
  • the navigation bar can be displayed in the bottom display area of the touch display, also called the bottom navigation bar (Bottom Navigation Bar).
  • At least one of the virtual buttons displayed on the navigation bar can be a system level virtual button.
  • at least one of the virtual buttons includes, but is not limited to, a return key 41, a home button (also referred to as a Home button) 42, and a menu button 43.
  • the layer overlay of the navigation bar is displayed on the layer of the first user interface.
  • the target virtual button is a virtual button that is easily touched by mistake, and the target virtual button may be all or part of a plurality of virtual buttons displayed on the navigation bar.
  • the target virtual button is the home button 42; for example, the target virtual button is the return button 41, the home button 42 and the menu button 43.
  • Step 502 Receive a first operation signal.
  • the first operational signal is a signal used to initiate the target application.
  • the first operation signal may be a signal generated by the operation object clicking the camera application icon, or may be a signal generated by the sliding screen interface on the operation object, which is not limited in this embodiment.
  • Step 503 starting a target application according to the first operation signal
  • the target application is an application that includes a shooting function.
  • Step 504 Display a second user interface of the target application, and switch the target virtual button in the navigation bar to a shooting button.
  • the terminal displays all or part of the interface area of the first user interface as the second user interface of the target application.
  • the target application is a camera application, it is possible to switch directly from the first user interface to the second user interface.
  • the target virtual button in the navigation bar is switched to the shooting button.
  • the first user interface can be switched to be displayed as another interface (such as the main interface of the program) when the target application is started, and then switched to the first time after the user's operation. Two user interface.
  • the terminal cancels display of all or part of the interface area of the first user interface, and replaces the display as the second user interface on the interface area.
  • the second user interface is a shooting interface or a camera interface.
  • the second user interface displays control elements related to shooting, including but not limited to: shooting finder frame, flash control, sensitivity control, color temperature control, delay control, shooting mode selection control, shooting At least one of the image viewing controls.
  • the target virtual button can be all or part of a virtual button on the navigation bar.
  • the target virtual button is a centrally located virtual button on the navigation bar, such as a home button.
  • the target virtual button may also be a menu key or a return key, which is not limited in this embodiment.
  • the terminal also switches the target virtual button in the navigation bar to the capture button.
  • the terminal cancels the display of the target virtual button in the navigation bar, and replaces the display as a shooting button.
  • the shooting button is a control for triggering shooting or shooting.
  • the capture button can be a virtual button instead of a physical button.
  • the terminal keeps the display state of the target virtual button in the navigation bar unchanged, but switches the code logic used to respond to the target virtual button to switch to code logic for responding to the shooting button. . That is, although the display state of the target virtual button does not change, when the user clicks the target virtual button, the shooting function is triggered instead of the function of the target virtual button.
  • the terminal switches the home button 42 to the shooting button 44.
  • the photographing button 44 occupies the original display position of the home button 42, and the button shape of the photographing button 44 is different from the button shape of the home button 42.
  • Step 505 Receive a touch signal triggered on a shooting button
  • the touch display screen on the terminal After receiving the click operation, the touch display screen on the terminal generates a touch signal according to the click operation, and reports the touch signal to the CPU.
  • Step 506 controlling the target application to perform shooting according to the touch signal
  • the CPU in the terminal controls the target application to take a picture or video according to the touch signal.
  • Step 507 receiving a second operation signal
  • the second operational signal is a signal used to exit the target application.
  • the second operation signal may be a signal generated after the operation object clicks the return key, that is, the terminal receives the second operation signal acting on the return key.
  • the second operation signal may also be a signal generated by the operation object sliding down the second user interface, or may be a signal generated by pressing a predetermined physical button on the terminal, which is not limited in this embodiment.
  • the second operation signal is a signal generated by the operation object clicking the return button; when the target virtual button is the return button, the second operation signal is generated by the operation object clicking the home button Signal; when the target virtual button is a menu button, the second operation signal is a signal generated by the operation object clicking the back button or the home button.
  • Step 508 exiting the target application according to the second operation signal
  • the terminal After receiving the second operation signal, the terminal exits the target application. Optionally, the terminal displays the second user interface recovery of the target application as the first user interface.
  • step 509 the shooting button in the navigation bar is restored to the target virtual button.
  • the terminal restores the shooting button in the navigation bar to the target virtual button.
  • the shooting button in the navigation bar is restored as the home button.
  • the terminal exits the shooting interface of the target application, and the shooting interface is restored as the main interface of the operating system.
  • the terminal also displays the shooting button resume as the home button 42.
  • the button display method provided by the embodiment switches the target virtual button in the navigation bar to the shooting button after the target application is started, so that the target virtual button that is easily misunderstood is no longer in the shooting process.
  • the display is such that the virtual button is not accidentally touched, which solves the problem that the user can easily touch the home button on the navigation bar when the virtual shooting button is clicked.
  • the shooting interface can free a large display area for preview images or other shooting controls.
  • the display can increase the displayable area of the shooting interface.
  • the button display method provided in this embodiment also switches the shooting button in the navigation bar to the target virtual button after exiting the target application, so that after the target application is exited, the normal display of the navigation bar is restored, without affecting the user. Normal use of the navigation bar in non-photographed scenes.
  • the virtual buttons on the navigation bar are the most commonly used buttons for human-computer interaction; however, in this embodiment,
  • the home button replacement is displayed as a shooting button, and the user cannot return to the main interface of the operating system by pressing the home button, but can return to the main interface by pressing the return button, so that the normal operation of the user is not substantially affected, and the person skilled in the art is overcome.
  • Technical bias is displayed as a shooting button, and the user cannot return to the main interface of the operating system by pressing the home button, but can return to the main interface by pressing the return button, so that the normal operation of the user is not substantially affected, and the person skilled in the art is overcome.
  • the Android system includes: an operating system, a system user interface (UI) service, and a target application, wherein the system UI service is an application for displaying a UI provided by the operating system.
  • the method includes:
  • Step 601 the system UI service displays a first user interface and a navigation bar, and the navigation bar includes a back button, a home button, and a menu button;
  • the first user interface is a main interface of the operating system, and icons of the plurality of applications are displayed on the screen. Icons for the target application are included in the icons of multiple applications.
  • Step 602 The operating system receives the first operation signal.
  • the first operational signal is a signal used to initiate an application.
  • the launched application It is identified by the package name of the application. At this point, the operating system cannot confirm which of the applications being launched.
  • Step 603 the operating system starts the application according to the first operation signal
  • the operating system starts the application according to the package name of the application indicated by the first operation signal.
  • Step 604 the operating system reads the declaration file of the application when detecting that the application is started;
  • the operating system needs to read the mainfest.xml of the application.
  • the program file of each application in the Android system includes a declaration file mainfest.xml
  • the mainfest.xml file is an application configuration file, which describes information such as attributes, activities, and permissions of the application.
  • the developer can pre-declare in the target application's declaration file mainfest.xml that the current application has camera properties.
  • Step 605 when the camera attribute exists in the declaration file, the operating system determines that the launched application is the target application;
  • the operating system determines that the launched application is the target application.
  • Step 606 The operating system sends a first Intent message indicating that the camera is started to the system UI service.
  • Intent messages are messages used to communicate between different program components.
  • the operating system sends a first Intent message to the system UI service to indicate that the camera is launched to inform the target application to be launched.
  • the system UI service After receiving the first Intent message, the system UI service determines that the target application is started.
  • Step 607 when the launched application is the target application, the system UI service switches the home button in the navigation bar to a shooting button;
  • the shooting button is displayed by the system UI service and is not displayed by the target application.
  • Step 608 the system UI service receives a touch signal triggered on the shooting button
  • a touch operation is performed on the shooting button to trigger a touch signal on the shooting button. Since the capture button is responsible for display by the system UI service, the system UI service receives the touch signal triggered on the capture button.
  • Step 609 the system UI service generates a delay intent message (PendingIntent) according to the touch signal;
  • the system UI service encapsulates a PendingIntent message for triggering the shooting according to the touch signal triggered on the shooting button.
  • the PendingIntent message is an intent message that is not executed immediately, that is, the system IU service is not
  • the Intent message is executed immediately, and the PendingIntent message is handed over to the target application for execution.
  • Step 610 the system UI service sends a PendingIntent to the target application
  • Step 611 the target application performs shooting according to the PendingIntent
  • Step 612 the operating system receives the second operation signal
  • the second operational signal is a signal for exiting the target application.
  • the second operational signal is a signal that acts on the return key.
  • Step 613 the operating system exits the target application according to the second operation signal
  • Step 614 The operating system sends a second Intent message indicating that the camera is exited to the system UI service.
  • the operating system sends a second Intent message to the system UI service to indicate exiting the camera to inform the target application to be logged out.
  • Step 615 when the exited application is the target application, the system UI service restores the shooting button in the navigation bar to the home button.
  • the shooting button is displayed by the system UI service.
  • the target application may also use the navigation bar.
  • the target virtual button in the modification is modified to a shooting button, which is not limited in this application.
  • FIG. 7 is a schematic structural diagram of a button display device according to an embodiment of the present application.
  • the button display device can be implemented as all or part of the terminal by software, hardware, and a combination of both.
  • the button display device includes: a display module 720, a receiving module 740, and a control module 760.
  • a display module 720 configured to display a first user interface and a navigation bar, where the navigation bar includes a target virtual button;
  • the receiving module 740 is configured to receive a first operation signal
  • the control module 760 is configured to start a target application according to the first operation signal, where the target application includes a shooting function;
  • the display module 720 is further configured to display a second user interface of the target application, and switch the target virtual button in the navigation bar to a shooting button, where the shooting button is used to trigger the target application Take a picture.
  • the device further includes: a shooting module
  • the receiving module 740 is configured to receive a touch signal triggered on the shooting button
  • the photographing module is configured to control the target application to perform photographing according to the touch signal.
  • the shooting module is configured to generate a delay intent message according to the touch signal, send the delay intent message to the target application, and the delay intent message is used to trigger the The target application starts shooting.
  • the navigation bar includes a return key, a home key, and a menu key
  • the target virtual button is the home key
  • the apparatus further includes: a determining module
  • the determining module is configured to read a declaration file of the application when detecting that the application is started; and when the camera attribute exists in the declaration file, determine that the application that is started is the target application ;
  • the display module 720 is configured to switch the target virtual button in the navigation bar as a shooting button when the launched application is the target application; or when the activated When the application is the target application and the foreground running interface of the target application is the interface of the shooting function, the target virtual button in the navigation bar is switched to a shooting button.
  • the receiving module 740 is configured to receive a second operation signal
  • the control module 760 is configured to exit the target application according to the second operation signal
  • the display module 720 is configured to restore the shooting button in the navigation bar to the target virtual button.
  • each of the above modules may be implemented by the processor executing at least one instruction stored in the memory.
  • the embodiment of the present invention further provides a computer readable medium storing at least one instruction, the at least one instruction being loaded and executed by the processor to implement the key display method as described in the above embodiments. .
  • Embodiments of the present invention also provide a computer program product storing at least one instruction that is loaded and executed by the processor to implement the key display method described in the various embodiments above.
  • the present invention is implemented
  • the functions described in the examples can be implemented in hardware, software, firmware or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Abstract

一种按键显示方法、装置及终端,所述方法包括:显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮(401);接收第一操作信号(402);根据所述第一操作信号启动目标应用程序(403);将所述第一用户界面切换显示为所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换显示为拍摄按钮(404)。避免了虚拟按钮被误触。

Description

按键显示方法、装置及终端 技术领域
本申请实施例涉及人机交互领域,特别涉及一种按键显示方法、装置及终端。
背景技术
拍摄功能是诸如智能手机、平板电脑之类的移动终端上最常使用的功能之一。
在用户进行拍摄时,用户打开移动终端上的拍摄界面。该拍摄界面的下部中央位置会显示有虚拟拍摄按钮。当用户触摸该虚拟拍摄按钮以后,移动终端控制摄像头中的感光元件进行拍摄。
采用安卓(Andorid)操作系统的移动终端在触摸显示屏的底部还显示有导航栏(Navigation Bar),该导航栏上显示有返回键、主页键和菜单键。由于虚拟拍摄按钮和主页键的位置非常接近,所以在用户点击虚拟拍摄按钮时,很容易误触到导航栏上的主页键。
发明内容
本申请实施例提供了一种按键显示方法、装置及终端,可以解决用户在点击虚拟拍摄按钮时,很容易误触到导航栏上的主页键的问题。所述技术方案如下:
根据本发明实施例的第一方面,提供了一种按键显示方法,所述方法包括:
显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
接收第一操作信号;
根据所述第一操作信号启动目标应用程序,所述目标应用程序包括拍摄功能;
显示所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
根据本发明实施例的第二方面,提供了一种按键显示装置,所述装置包括:
显示模块,用于显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
接收模块,用于接收第一操作信号;
启动模块,用于根据所述第一操作信号启动目标应用程序,所述目标应用程序包括拍摄功能;
所述显示模块,还用于显示所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
根据本发明实施例的第三方面,提供了一种终端,所述终端包括:处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令被所述处理器加载并执行时用于实现如下步骤:
显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
接收第一操作信号;
根据所述第一操作信号启动目标应用程序,所述目标应用程序包括拍摄功能;
显示所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
根据本发明实施例的第四方面,提供了一种计算机可读介质,所述可读介质包括存储有至少一条指令,所述至少一条指令被所述处理器加载并执行时用于实现如下步骤:
显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
接收第一操作信号;
根据所述第一操作信号启动目标应用程序,所述目标应用程序包括拍摄功能;
显示所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
本发明实施例提供的技术方案的有益效果是:
通过在启动目标应用程序后,将导航栏中的目标虚拟按钮切换为拍摄按钮,使得容易被误触的目标虚拟按钮在拍摄过程中不再显示,使得该虚拟按钮不会被误触,从而解决了用户在点击虚拟拍摄按钮时,很容易误触到导航栏上的主页键的问题;达到了减少拍摄时的误触几率的效果。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个示例性实施例提供的终端的结构方框图;
图2是本申请另一个示例性实施例提供的终端的结构方框图;
图3A至图3E是本申请一个示例性实施例提供的终端的外观示意图;
图4A是本申请一个示例性实施例提供的按键显示方法的流程图;
图4B是图4A所示实施例提供的按键显示方法在具体实现时的界面示意图;
图5A是本申请一个示例性实施例提供的按键显示方法的流程图;
图5B和图5C是图5A所示实施例提供的按键显示方法在具体实现时的界面示意图;
图6是本申请另一个示例性实施例提供的按键显示方法的流程图;
图7是本申请一个示例性实施例提供的按键显示装置的结构方框图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。
在本文提及的“模块”通常是指存储在存储器中的能够实现某些功能的程序或指令;在本文中提及的“单元”通常是指按照逻辑划分的功能性结构,该“单元”可以由纯硬件实现,或者,软硬件的结合实现。
在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
参考图1和图2所示,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以是手机、平板电脑、笔记本电脑和电子书等。本申请中的终端100可以包括一个或多个如下部件:处理器110、存储器120和触摸显示屏130。
处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和 线路连接整个终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。
以操作系统为安卓(Android)系统为例,存储器120中存储的程序和数据如图1所示,存储器120中存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280。Linux内核层220为终端100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层240通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层240中还提供有安卓运行时库(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层260提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层280中运行有至少一个应用程序, 这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。
以操作系统为IOS系统为例,存储器120中存储的程序和数据如图2所示,IOS系统包括:核心操作系统层320(Core OS layer)、核心服务层340(Core Services layer)、媒体层360(Media layer)、可触摸层380(Cocoa Touch Layer)。核心操作系统层320包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层340的程序框架所使用。核心服务层340提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层360为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层380为应用程序开发提供了各种常用的界面相关的框架,可触摸层380负责用户在终端100上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。
在图2所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层340中的基础框架和可触摸层380中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。
触摸显示屏130用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏130通常设置在终端130的前面板。触摸显示屏130可被设计成为全面屏、曲面屏或异型屏。触摸显示屏130还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。其中:
全面屏
全面屏可以是指触摸显示屏130占用终端100的前面板的屏占比超过阈值(比如80%或90%或95%)的屏幕设计。屏占比的一种计算方式为:(触摸显 示屏130的面积/终端100的前面板的面积)*100%;屏占比的另一种计算方式为:(触摸显示屏130中实际显示区域的面积/终端100的前面板的面积)*100%;屏占比的再一种计算方式为:(触摸显示屏130的对角线/在终端100的前面板的对角线)*100%。示意性的如图3A所示的例子中,终端100的前面板上近乎所有区域均为触摸显示屏130,在终端100的前面板40上,除中框41所产生的边缘之外的其它区域,全部为触摸显示屏130。该触摸显示屏130的四个角可以是直角或者圆角。
全面屏还可以是将至少一种前面板部件集成在触摸显示屏130内部或下层的屏幕设计。可选地,该至少一种前面板部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,将传统终端的前面板上的其他部件集成在触摸显示屏130的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏130中每个显示像素中的黑色区域中。由于将至少一种前面板部件集成在了触摸显示屏130的内部,所以全面屏具有更高的屏占比。
当然在另外一些实施例中,也可以将传统终端的前面板上的前面板部件设置在终端100的侧边或背面,比如将超声波指纹传感器设置在触摸显示屏130的下方、将骨传导式的听筒设置在终端130的内部、将摄像头设置成位于终端的侧边且可插拔的结构。
在一些可选的实施例中,当终端100采用全面屏时,终端100的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器120,该边缘触控传感器120用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器120可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器120上施加操作,对终端100中的应用程序进行控制。
曲面屏
曲面屏是指触摸显示屏130的截面呈弯曲形状且沿平行于截面的方向上的投影为平面的屏幕设计,该弯曲形状可以是U型。可选地,曲面屏是指至少一个侧边是弯曲形状的屏幕设计方式。可选地,曲面屏是指触摸显示屏130的至少一个侧边延伸覆盖至终端100的中框上。由于触摸显示屏130的侧边延伸覆盖至终端100的中框,也即将原本不具有显示功能和触控功能的中框覆盖为可 显示区域和/或可操作区域,从而使得曲面屏具有了更高的屏占比。可选地,如图3B所示的例子中,曲面屏是指左右两个侧边42是弯曲形状的屏幕设计;或者,曲面屏是指上下两个侧边是弯曲形状的屏幕设计;或者,曲面屏是指上、下、左、右四个侧边均为弯曲形状的屏幕设计。在可选的实施例中,曲面屏采用具有一定柔性的触摸屏材料制备。
异型屏
异型屏是外观形状为不规则形状的触摸显示屏,不规则形状不是矩形或圆角矩形。可选地,异型屏是指在矩形或圆角矩形的触摸显示屏130上设置有凸起、缺口和/或挖孔的屏幕设计。可选地,该凸起、缺口和/或挖孔可以位于触摸显示屏130的边缘、屏幕中央或两者均有。当凸起、缺口和/或挖孔设置在一条边缘时,可以设置在该边缘的中间位置或两端;当凸起、缺口和/或挖孔设置在屏幕中央时,可以设置在屏幕的上方区域、左上方区域、左侧区域、左下方区域、下方区域、右下方区域、右侧区域、右上方区域中的一个或多个区域中。当设置在多个区域中时,凸起、缺口和挖孔可以集中分布,也可以分散分布;可以对称分布,也可以不对称分布。可选地,该凸起、缺口和/或挖孔的数量也不限。
由于异型屏将触摸显示屏的上额区和/或下额区覆盖为可显示区域和/或可操作区域,使得触摸显示屏在终端的前面板上占据更多的空间,所以异型屏也具有更大的屏占比。在一些实施例中,缺口和/或挖孔中用于容纳至少一种前面板部件,该前面板部件包括摄像头、指纹传感器、接近光传感器、距离传感器、听筒、环境光亮度传感器、物理按键中的至少一种。
示例性的,该缺口可以设置在一个或多个边缘上,该缺口可以是半圆形缺口、直角矩形缺口、圆角矩形缺口或不规则形状缺口。示意性的如图3C所示的例子中,异型屏可以是在触摸显示屏130的上边缘的中央位置设置有半圆形缺口43的屏幕设计,该半圆形缺口43所空出的位置用于容纳摄像头、距离传感器(又称接近传感器)、听筒、环境光亮度传感器中的至少一种前面板部件;示意性的如图3D所示,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半圆形缺口44的屏幕设计,该半圆形缺口44所空出的位置用于容纳物理按键、指纹传感器、麦克风中的至少一种部件;示意性的如图3E所示的例子中,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半椭圆形缺口45的屏幕设计,同时在终端100的前面板上还形成有一个半椭圆型缺口, 两个半椭圆形缺口围合成一个椭圆形区域,该椭圆形区域用于容纳物理按键或者指纹识别模组;示意性的如图3F所示的例子中,异型屏可以是在触摸显示屏130中的上半部中设置有至少一个小孔45的屏幕设计,该小孔45所空出的位置用于容纳摄像头、距离传感器、听筒、环境光亮度传感器中的至少一种前面板部件。
除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端100的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。
首先对本申请所涉及的几个名词进行简介:
安卓操作系统:由美国谷歌公司出品的一种基于Linux的自由及开放源代码的操作系统,主要使用于移动设备。
应用程序:简称应用,在安卓操作系统中,一个应用程序通常包括至少一个程序组件。程序组件分为四种:活动(英文:Activity)组件、服务(英文:Service)组件、内容提供者(英文:Content Provider)组件和广播接收器(英文:Broadcast Receiver)组件。
活动组件:安卓应用程序中负责与用户交互的组件,它为安卓应用程序提供可视化的用户界面。一个安卓应用程序可以包括零到多个活动组件。
服务组件:安卓应用程序中运行于后台、不提供用户界面的组件。通常用于对数据进行处理。一个安卓应用程序可以包括零到多个服务组件。
内容提供者组件:安卓应用程序中用于为其它应用或者当前应用中的其它组件提供数据的组件,比如:铃声、壁纸、电话本等。它能够对各种格式的数据进行封装,以标准的形式提供给其它应用或者组件进行使用。
广播接收器组件:用于接收和响应操作系统广播的消息。它能够接收自己感兴趣的消息(或者说预先定义的某种消息类型的消息),然后进行处理或转发给当前应用程序中的其它组件。
意图(英文:Intent)消息:安卓应用程序中实现各项程序组件之间进行通讯的一种消息,各项程序组件可以是同一应用程序中的不同组件,也可以是不同应用程序中的不同组件。Intent消息负责对应用程序中一次操作的动作、 动作涉及数据、附加数据进行描述,安卓操作系统根据该Intent消息的描述,负责找到对应的程序组件,将Intent消息传递给调用的程序组件,并完成程序组件的调用。Intent消息分为两种:显式Intent消息和隐式Intent消息。
显式Intent消息:对于明确指出了目标程序组件名称的Intent消息,称之为显式Intent消息。比如:A程序组件需要发送一条“拨打电话18688888888”的Intent消息,若A程序组件希望B程序组件来对该Intent消息进行响应,则A程序组件在该Intent消息中指定目标程序组件是B程序组件,则安卓操作系统在接收到该Intent消息后,会将该Intent消息交由B程序组件处理。
隐式Intent消息:对于未明确指出目标程序组件名称的Intent消息,称之为隐式Intent消息。比如:A组件需要发送一条“拨打电话18688888888”的Intent消息,若A组件不知道该Intent消息应当由哪一个程序组件进行响应,则A组件可以不在该Intent消息中指定目标程序组件,则安卓操作系统在接收到该Intent消息后,会查看各个程序组件预先注册的所监听的Intent消息类型,若查看到B程序组件对有关电话呼叫的Intent消息进行监听,则安卓操作系统将该Intent消息交由B程序组件处理。或者,安卓操作系统可以将该Intent消息进行广播,由对有关电话呼叫的Intent消息感兴趣的广播接收器组件来接收并处理。
请参考图4A,其示出了本申请一个实施例提供的按键显示方法的方法流程图。本实施例以该按键显示方法应用于图1或2所示的终端中来举例说明。该方法包括:
步骤401,显示第一用户界面和导航栏,导航栏包括有目标虚拟按钮;
第一用户界面可以是操作系统提供的主界面或锁屏界面。如图4B所示,第一用户界面40占据了触摸显示屏上的中上部显示区域。
导航栏可以是由操作系统提供的用于显示至少一个虚拟按钮的控件。导航栏可以显示在触摸显示屏的底部显示区域。导航栏上显示的至少一种虚拟按钮可以是系统级虚拟按钮。如图4B所示,至少一个虚拟按钮包括但不限于:返回键41、主页键(也称Home键)42和菜单键43。
目标虚拟按钮是容易被误触的虚拟按钮,目标虚拟按钮可以是导航栏上显示的多个虚拟按钮的全部或一部分。比如,目标虚拟按钮是主页键42。
步骤402,接收第一操作信号;
第一操作信号是用于启动目标应用程序的信号。第一操作信号可以是操作对象点击相机应用图标后产生的信号,也可以是操作对象上滑锁屏界面所产生的信号,本实施例对此不加以限定。
步骤403,根据第一操作信号启动目标应用程序;
终端在接收到第一操作信号后,启动目标应用程序。目标应用程序包括拍摄功能。
可选地,目标应用程序是相机应用程序,或者,目标应用程序是包括拍摄功能的即时通信程序。
步骤404,显示目标应用程序的第二用户界面,将导航栏中的目标虚拟按钮切换为拍摄按钮。
在启动目标应用程序后,终端将第一用户界面的全部或部分界面区域切换显示为目标应用程序的第二用户界面。可选地,第二用户界面是拍摄界面或摄像界面。
终端还将导航栏中的目标虚拟按钮切换为拍摄按钮。拍摄按钮是用于触发目标应用程序进行拍照或摄像的控件。该拍摄按钮可以是虚拟按钮,而非实体按键。
如图4B所示的例子中,终端将主页键42切换显示为拍摄按钮44。
综上所述,本实施例提供的按键显示方法,通过在启动目标应用程序后,将导航栏中的目标虚拟按钮切换显示为拍摄按钮,使得容易被误触的目标虚拟按钮在拍摄过程中不再显示,从而该虚拟按钮不会被误触,解决了用户在点击虚拟拍摄按钮时,很容易误触到导航栏上的主页键的问题,达到了减少拍摄时的误触几率的效果。
请参考图5A,其示出了本申请另一个示例性实施例提供的按键显示方法的流程图。本实施例以该按键显示方法应用于图1或2所示的终端中来举例说明。该方法包括:
步骤501,显示第一用户界面和导航栏,导航栏包括有目标虚拟按钮;
第一用户界面可以是操作系统提供的主界面或锁屏界面。如图5B所示,第一用户界面40占据了触摸显示屏上的中上部显示区域。
导航栏可以是由操作系统提供的用于显示至少一个虚拟按钮的控件。导航栏可以显示在触摸显示屏的底部显示区域,也称底部导航栏(Bottom Navigation  Bar)。导航栏上显示的至少一种虚拟按钮可以是系统级虚拟按钮。如图5B所示,至少一个虚拟按钮包括但不限于:返回键41、主页键(也称Home键)42和菜单键43。可选地,导航栏的图层覆盖在第一用户界面的图层上显示。
目标虚拟按钮是容易被误触的虚拟按钮,目标虚拟按钮可以是导航栏上显示的多个虚拟按钮的全部或一部分。比如,目标虚拟按钮是主页键42;又比如,目标虚拟按钮是返回键41、主页键42和菜单键43。
步骤502,接收第一操作信号;
第一操作信号是用于启动目标应用程序的信号。第一操作信号可以是操作对象点击相机应用图标后产生的信号,也可以是操作对象上滑锁屏界面所产生的信号,本实施例对此不加以限定。
步骤503,根据第一操作信号启动目标应用程序;
终端在接收到第一操作信号后,启动目标应用程序。目标应用程序是包括拍摄功能的应用程序。
步骤504,显示目标应用程序的第二用户界面,将导航栏中的目标虚拟按钮切换为拍摄按钮。
可选地,在启动目标应用程序后,终端将第一用户界面的全部或部分界面区域切换显示为目标应用程序的第二用户界面。当目标应用程序是相机应用程序时,可以直接从第一用户界面切换至第二用户界面。
可选地,在启动目标应用程序后,若目标应用程序的前台运行界面是拍摄功能的界面时,将导航栏中的目标虚拟按钮切换为拍摄按钮。比如,当目标应用程序是其他具有拍摄功能的应用程序时,可以在目标应用程序启动时先将第一用户界面切换显示为其他界面(比如程序主界面),经过用户的操作后再切换至第二用户界面。
可选地,终端将第一用户界面的全部或部分界面区域进行取消显示,并在该界面区域上替换显示为第二用户界面。可选地,第二用户界面是拍摄界面或摄像界面。此时,第二用户界面上显示有与拍摄有关的控件元素,这些控件元素包括但不限于:拍摄取景框、闪光灯控件、感光度控件、色温控件、延时控件、拍摄模式选择控件、已拍摄的图像查看控件中的至少一种。
目标虚拟按钮可以是导航栏上的全部或部分虚拟按钮。可选地,目标虚拟按钮是导航栏上位于中央的虚拟按钮,比如主页键。目标虚拟按钮也可以是菜单键或返回键,本实施例对此不加以限定。
终端还将导航栏中的目标虚拟按钮切换为拍摄按钮。
在一种可能的实现方式中,终端将导航栏中的目标虚拟按钮进行取消显示,替换显示为拍摄按钮。拍摄按钮是用于触发拍摄或摄像的控件。该拍摄按钮可以是虚拟按钮,而非实体按键。
在另一种可能的实现方式中,终端将导航栏中的目标虚拟按钮的显示状态保持不变,但将用于响应目标虚拟按钮的代码逻辑进行切换,切换为用于响应拍摄按钮的代码逻辑。也即,虽然目标虚拟按钮的显示状态不变,但是当用户点击该目标虚拟按钮时,会触发拍摄功能而不是目标虚拟按钮的功能。
在如图5B所示的例子中,终端将主页键42切换显示为拍摄按钮44。该拍摄按钮44占用了主页键42的原始显示位置,且拍摄按钮44的按钮形状与主页键42的按钮形状不同。
步骤505,接收在拍摄按钮上触发的触摸信号;
当用户需要拍摄时,用户以触摸形式点击该拍摄按钮。终端上的触摸显示屏接收到该点击操作后,根据点击操作生成触摸信号,将该触摸信号上报至CPU。
步骤506,根据该触摸信号控制目标应用程序进行拍摄;
终端中的CPU根据该触摸信号控制目标应用程序进行拍照或摄像。
步骤507,接收第二操作信号;
第二操作信号是用于退出目标应用程序的信号。第二操作信号可以是操作对象点击返回键后产生的信号,也即终端接收作用于返回键的第二操作信号。第二操作信号也可以是操作对象下滑第二用户界面所产生的信号,还可以是按压终端上的预定物理按键所产生的信号,本实施例对此不加以限定。
可选地,当目标虚拟按钮是主页键时,第二操作信号是操作对象点击返回键所产生的信号;当目标虚拟按钮是返回键时,第二操作信号是操作对象点击主页键所产生的信号;当目标虚拟按钮是菜单键时,第二操作信号是操作对象点击返回键或主页键所产生的信号。
步骤508,根据第二操作信号退出目标应用程序;
终端在接收到第二操作信号后,退出目标应用程序。可选地,终端将目标应用程序的第二用户界面恢复显示为第一用户界面。
步骤509,将导航栏中的拍摄按钮恢复为目标虚拟按钮。
终端将导航栏中的拍摄按钮恢复显示为目标虚拟按钮。
可选地,当目标虚拟按钮是主页键时,将导航栏中的拍摄按钮恢复显示为主页键。如图5C所示,用户点击返回键41后,终端退出目标应用程序的拍摄界面,将拍摄界面恢复显示为操作系统的主界面。同时,终端还将拍摄按钮恢复显示为主页键42。
综上所述,本实施例提供的按键显示方法,通过在启动目标应用程序后,将导航栏中的目标虚拟按钮切换为拍摄按钮,使得容易被误触的目标虚拟按钮在拍摄过程中不再显示,从而该虚拟按钮不会被误触,解决了用户在点击虚拟拍摄按钮时,很容易误触到导航栏上的主页键的问题。
由于传统的拍摄按钮本身会占据拍摄界面中较大的显示面积,本实施例中将拍摄按钮显示在导航栏上后,拍摄界面能够空闲出较大的显示面积用于对预览图像或其它拍摄控件的显示,能够增大拍摄界面的可显示面积。
本实施例提供的按键显示方法,还通过在退出目标应用程序后,将导航栏中的拍摄按钮切换为目标虚拟按钮,使得在退出目标应用程序后,恢复导航栏的正常显示,不影响用户在非拍照场景下对导航栏的正常使用。
由于在本领域技术人员的传统认知中,导航栏上的虚拟按钮是需要持续显示的,因为导航栏上的虚拟按钮都是人机交互时最常用的几个按钮;但本实施例中虽然主页键替换显示为拍摄按钮,用户无法通过按压主页键回到操作系统的主界面,但是可以通过按压返回键回到主界面,所以实质上并不影响用户的正常操作,克服了本领域技术人员的技术偏见。
当终端采用Android系统,目标应用程序是相机应用程序时,参考图6,其示出了本申请另一个示例性实施例提供的按键显示方法的流程图。当终端采用Android系统时,Android系统中包括有:操作系统、系统用户界面(User Interface,UI)服务和目标应用程序,其中,系统UI服务是用于显示操作系统提供的UI的应用程序。所述方法包括:
步骤601,系统UI服务显示第一用户界面和导航栏,导航栏上包括返回键、主页键和菜单键;
可选地,第一用户界面是操作系统的主界面,上面显示有多个应用程序的图标。多个应用程序的图标中包括目标应用程序的图标。
步骤602,操作系统接收第一操作信号;
该第一操作信号是用于启动应用程序的信号。可选地,被启动的应用程序 采用应用程序的包名来标识。此时,操作系统无法确认被启动的应用程序是哪一个。
步骤603,操作系统根据第一操作信号启动应用程序;
操作系统根据第一操作信号指示的应用程序的包名,启动应用程序。
步骤604,操作系统在检测到应用程序启动时,读取应用程序的声明文件;
在应用程序的启动过程中,操作系统需要读取应用程序的mainfest.xml。
可选地,Android系统中的每个应用程序的程序文件中包括有声明文件mainfest.xml,mainfest.xml文件是应用程序的配置文件,其中描述了应用程序的属性、活动和权限等信息。研发人员可以预先在目标应用程序的声明文件mainfest.xml中声明当前应用程序具有相机属性。
步骤605,当声明文件中存在相机属性时,操作系统确定被启动的应用程序是目标应用程序;
当操作系统读取到的被启动的应用程序的mainfest.xml里面具有相机属性时,操作系统确定被启动的应用程序是目标应用程序。
步骤606,操作系统向系统UI服务发送用于表示启动相机的第一Intent消息;
Intent消息是用于在不同程序组件之间进行通信的消息。操作系统向系统UI服务发送用于表示启动相机的第一Intent消息,以告知目标应用程序被启动。
系统UI服务在接收到第一Intent消息后,确定目标应用程序被启动。
步骤607,当被启动的应用程序是目标应用程序时,系统UI服务将导航栏中的主页键切换显示为拍摄按钮;
在本实施例中,该拍摄按钮是由系统UI服务负责显示的,并非由目标应用程序显示的。
步骤608,系统UI服务接收在拍摄按钮上触发的触摸信号;
当用户需要拍照时,在拍摄按钮上进行触摸操作,从而在拍摄按钮上触发触摸信号。由于该拍摄按钮是由系统UI服务负责显示的,所以系统UI服务接收在拍摄按钮上触发的触摸信号。
步骤609,系统UI服务根据触摸信号生成延迟意图消息(PendingIntent);
系统UI服务根据在拍摄按钮上触发的触摸信号,封装得到用于触发拍摄的PendingIntent消息。
PendingIntent消息是一种非立刻执行的intent消息,也即系统IU服务并不 立刻执行该Intent消息,而是将该PendingIntent消息交由目标应用程序去执行。
步骤610,系统UI服务将PendingIntent发送至目标应用程序;
步骤611,目标应用程序根据PendingIntent进行拍摄;
步骤612,操作系统接收第二操作信号;
该第二操作信号是用于退出目标应用程序的信号。可选地,第二操作信号是作用于返回键的信号。
步骤613,操作系统根据第二操作信号退出目标应用程序;
步骤614,操作系统向系统UI服务发送用于表示退出相机的第二Intent消息;
操作系统向系统UI服务发送用于表示退出相机的第二Intent消息,以告知目标应用程序被退出。
步骤615,当被退出的应用程序是目标应用程序时,系统UI服务将导航栏中的拍摄按钮恢复显示为主页键。
需要说明的是,本实施例以该拍摄按钮由系统UI服务来显示进行举例,在不同的实施例中,若目标应用程序具有修改导航栏的权限或能力,也可以由目标应用程序将导航栏中的目标虚拟按钮修改为拍摄按钮,本申请对此不加以限定。
以下为本申请实施例的装置实施例,对于装置实施例中未详细阐述的部分,可以参考上述方法实施例中公开的技术细节。
请参考图7,其示出了本申请一个实施例提供的按键显示装置的结构示意图。该按键显示装置可以通过软件、硬件以及两者的组合实现成为终端的全部或一部分。该按键显示装置包括:显示模块720、接收模块740和控制模块760
显示模块720,用于显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
接收模块740,用于接收第一操作信号;
控制模块760,用于根据所述第一操作信号启动目标应用程序,目标应用程序包括拍摄功能;
所述显示模块720,还用于显示所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
在一个可选的实施例中,所述装置还包括:拍摄模块;
所述接收模块740,用于接收在所述拍摄按钮上触发的触摸信号;
所述拍摄模块,用于根据所述触摸信号控制所述目标应用程序进行拍摄。
在一个可选的实施例中,所述拍摄模块,用于根据所述触摸信号生成延迟意图消息;将所述延迟意图消息发送至所述目标应用程序,所述延迟意图消息用于触发所述目标应用程序开始拍摄。
在一个可选的实施例中,所述导航栏上包括返回键、主页键和菜单键,所述目标虚拟按钮是所述主页键。
在一个可选的实施例中,所述装置还包括:确定模块;
所述确定模块,用于当检测到应用程序启动时,读取所述应用程序的声明文件;当所述声明文件中存在相机属性时,确定被启动的所述应用程序是所述目标应用程序;
所述显示模块720,用于当被启动的所述应用程序是所述目标应用程序时,将所述导航栏中的所述目标虚拟按钮切换显示为拍摄按钮;或者,当被启动的所述应用程序是所述目标应用程序且所述目标应用程序的前台运行界面是所述拍摄功能的界面时,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮。
在一个可选的实施例中,所述接收模块740,用于接收第二操作信号;
所述控制模块760,用于根据所述第二操作信号退出所述目标应用程序;
所述显示模块720,用于将所述导航栏中的所述拍摄按钮恢复为所述目标虚拟按钮。
需要说明的是,上述各个模块可以由处理器执行存储器中存储的至少一条指令来实现。
本发明实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的按键显示方法。
本发明实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的按键显示方法。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明实施 例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (22)

  1. 一种按键显示方法,其特征在于,所述方法包括:
    显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
    接收第一操作信号;
    根据所述第一操作信号启动目标应用程序,所述目标应用程序包括拍摄功能;
    显示所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
  2. 根据权利要求1所述的方法,其特征在于,所述将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮之后,还包括:
    接收在所述拍摄按钮上触发的触摸信号;
    根据所述触摸信号控制所述目标应用程序进行拍摄。
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述触摸信号控制所述目标应用程序进行拍摄,包括:
    根据所述触摸信号生成延迟意图消息;
    将所述延迟意图消息发送至所述目标应用程序,所述延迟意图消息用于触发所述目标应用程序开始拍摄。
  4. 根据权利要求1所述的方法,其特征在于,所述导航栏上包括返回键、主页键和菜单键,所述目标虚拟按钮是所述主页键。
  5. 根据权利要求1至4任一所述的方法,其特征在于,所述将所述导航栏中的所述目标虚拟按钮切换显示为拍摄按钮之前,还包括:
    当检测到应用程序启动时,读取所述应用程序的声明文件;
    当所述声明文件中存在相机属性时,确定被启动的所述应用程序是所述目标应用程序;
    所述将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,包括:
    当被启动的所述应用程序是所述目标应用程序时,将所述导航栏中的所述 目标虚拟按钮切换为拍摄按钮;或者,当被启动的所述应用程序是所述目标应用程序且所述目标应用程序的前台运行界面是所述拍摄功能的界面时,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮。
  6. 根据权利要求1至5任一所述的方法,其特征在于,所述将所述导航栏中的所述目标虚拟按钮切换显示为拍摄按钮之后,还包括:
    接收第二操作信号;
    根据所述第二操作信号退出所述目标应用程序;
    将所述导航栏中的所述拍摄按钮恢复为所述目标虚拟按钮。
  7. 根据权利要求6所述的方法,其特征在于,所述导航栏包括返回键、主页键和菜单键;
    所述接收第二操作信号包括:
    接收作用于所述返回键的所述第二操作信号。
  8. 一种按键显示装置,其特征在于,所述装置包括:
    显示模块,用于显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
    接收模块,用于接收第一操作信号;
    控制模块,用于根据所述第一操作信号启动目标应用程序;
    所述显示模块,还用于将所述第一用户界面显示为所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换显示为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括:拍摄模块;
    所述接收模块,用于接收在所述拍摄按钮上触发的触摸信号;
    所述拍摄模块,用于根据所述触摸信号控制所述目标应用程序进行拍摄。
  10. 根据权利要求9所述的装置,其特征在于,
    所述拍摄模块,用于根据所述触摸信号生成延迟意图消息;将所述延迟意图消息发送至所述目标应用程序,所述延迟意图消息用于触发所述目标应用程 序开始拍摄。
  11. 根据权利要求8所述的装置,其特征在于,所述导航栏上包括返回键、主页键和菜单键,所述目标虚拟按钮是所述主页键。
  12. 根据权利要求8至11任一所述的装置,其特征在于,所述装置还包括:确定模块;
    所述确定模块,用于当检测到应用程序启动时,读取所述应用程序的声明文件;当所述声明文件中存在相机属性时,确定被启动的所述应用程序是所述目标应用程序;
    所述显示模块,用于当被启动的所述应用程序是所述目标应用程序时,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,或者,当被启动的所述应用程序是所述目标应用程序且所述目标应用程序的前台运行界面是所述拍摄功能的界面时,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮。
  13. 根据权利要求8至12任一所述的装置,其特征在于,
    所述接收模块,用于接收第二操作信号;
    所述控制模块,用于根据所述第二操作信号退出所述目标应用程序;
    所述显示模块,用于将所述导航栏中的所述拍摄按钮恢复为所述目标虚拟按钮。
  14. 根据权利要求13所述的装置,其特征在于,所述导航栏包括返回键、主页键和菜单键;
    所述接收模块,用于接收作用于所述返回键的所述第二操作信号。
  15. 一种终端,其特征在于,所述终端包括:处理器和存储器;所述存储器存储有至少一条指令,所述至少一条指令被所述处理器加载并执行时用于实现如下步骤:
    显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
    接收第一操作信号;
    根据所述第一操作信号启动目标应用程序,所述目标程序包括拍摄功能;
    显示所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
  16. 根据权利要求15所述的终端,其特征在于,所述至少一条指令被所述处理器加载并执行时还用于实现如下步骤:
    接收在所述拍摄按钮上触发的触摸信号;
    根据所述触摸信号控制所述目标应用程序进行拍摄。
  17. 根据权利要求16所述的终端,其特征在于,所述至少一条指令被所述处理器加载并执行时还用于实现如下步骤:
    根据所述触摸信号生成延迟意图消息;
    将所述延迟意图消息发送至所述目标应用程序,所述延迟意图消息用于触发所述目标应用程序开始拍摄。
  18. 根据权利要求15所述的终端,其特征在于,所述导航栏上包括返回键、主页键和菜单键,所述目标虚拟按钮是所述主页键。
  19. 根据权利要求15至18任一所述的终端,其特征在于,所述至少一条指令被所述处理器加载并执行时还用于实现如下步骤:
    当检测到应用程序启动时,读取所述应用程序的声明文件;
    当所述声明文件中存在相机属性时,确定被启动的所述应用程序是所述目标应用程序;
    当被启动的所述应用程序是所述目标应用程序时,将所述导航栏中的所述目标虚拟按钮切换显示为拍摄按钮;或者,当被启动的所述应用程序是所述目标应用程序且所述目标应用程序的前台运行界面是所述拍摄功能的界面时,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮。
  20. 根据权利要求15至19任一所述的终端,其特征在于,所述至少一条指令被所述处理器加载并执行时还用于实现如下步骤:
    接收第二操作信号;
    根据所述第二操作信号退出所述目标应用程序;
    将所述导航栏中的所述拍摄按钮恢复为所述目标虚拟按钮。
  21. 根据权利要求15至19任一所述的终端,其特征在于,所述导航栏包括返回键、主页键和菜单键;
    所述至少一条指令被所述处理器加载并执行时还用于实现如下步骤:
    接收作用于所述返回键的所述第二操作信号。
  22. 一种计算机可读介质,其特征在于,所述计算机可读介质包括存储有至少一条指令,所述至少一条指令被所述处理器加载并执行时用于实现如下步骤:
    显示第一用户界面和导航栏,所述导航栏包括有目标虚拟按钮;
    接收第一操作信号;
    根据所述第一操作信号启动目标应用程序,所述目标应用程序包括拍摄功能;
    显示所述目标应用程序的第二用户界面,将所述导航栏中的所述目标虚拟按钮切换为拍摄按钮,所述拍摄按钮用于触发所述目标应用程序进行拍摄。
PCT/CN2017/101131 2017-09-08 2017-09-08 按键显示方法、装置及终端 WO2019047183A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2017/101131 WO2019047183A1 (zh) 2017-09-08 2017-09-08 按键显示方法、装置及终端
EP17924346.4A EP3680760A4 (en) 2017-09-08 2017-09-08 KEY DISPLAY PROCEDURE, DEVICE AND TERMINAL
US16/811,649 US11132123B2 (en) 2017-09-08 2020-03-06 Key display method, terminal, and non-transitory computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101131 WO2019047183A1 (zh) 2017-09-08 2017-09-08 按键显示方法、装置及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/811,649 Continuation US11132123B2 (en) 2017-09-08 2020-03-06 Key display method, terminal, and non-transitory computer-readable medium

Publications (1)

Publication Number Publication Date
WO2019047183A1 true WO2019047183A1 (zh) 2019-03-14

Family

ID=65634706

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101131 WO2019047183A1 (zh) 2017-09-08 2017-09-08 按键显示方法、装置及终端

Country Status (3)

Country Link
US (1) US11132123B2 (zh)
EP (1) EP3680760A4 (zh)
WO (1) WO2019047183A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796149A (zh) * 2020-06-15 2020-10-20 深圳市极致汇仪科技有限公司 一种实体按键触控化的矢量网络分析仪

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11663628B2 (en) 2012-05-14 2023-05-30 Iqzone, Inc. Systems and methods for unobtrusively displaying media content on portable devices
WO2021081519A1 (en) * 2019-10-25 2021-04-29 Iqzone, Inc. Using system broadcasts to unobtrusively display media content on portable devices
CN111966254B (zh) * 2020-08-06 2022-06-10 惠州Tcl移动通信有限公司 一种图像拍摄方法、装置、存储介质及终端
CN112000267A (zh) * 2020-08-24 2020-11-27 北京字节跳动网络技术有限公司 信息显示方法、装置、设备及存储介质
CN114968023A (zh) * 2022-05-12 2022-08-30 百富计算机技术(深圳)有限公司 终端控制方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281405A (zh) * 2013-07-10 2015-01-14 Lg电子株式会社 移动终端
CN104866287A (zh) * 2014-02-20 2015-08-26 腾讯科技(北京)有限公司 一种生成功能栏的方法和装置
CN105653265A (zh) * 2015-12-24 2016-06-08 北京奇虎科技有限公司 切换应用的方法、装置及终端设备
CN106293418A (zh) * 2015-06-02 2017-01-04 纬创资通股份有限公司 切换按键功能的方法、可携式装置及显示器

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8723824B2 (en) * 2011-09-27 2014-05-13 Apple Inc. Electronic devices with sidewall displays
US20160246488A1 (en) * 2015-02-24 2016-08-25 Jonathan Sassouni Media Reveal Feature
CN104935725B (zh) * 2015-04-23 2016-07-27 努比亚技术有限公司 移动终端及其利用虚拟边框区域实现功能调节的方法
CN105487868B (zh) 2015-11-30 2018-10-12 上海斐讯数据通信技术有限公司 实现安卓设备虚拟按键隐藏和显示的方法和系统
CN111784615A (zh) * 2016-03-25 2020-10-16 北京三星通信技术研究有限公司 多媒体信息处理的方法和装置
CN107172235A (zh) * 2017-04-24 2017-09-15 北京小米移动软件有限公司 一种终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281405A (zh) * 2013-07-10 2015-01-14 Lg电子株式会社 移动终端
CN104866287A (zh) * 2014-02-20 2015-08-26 腾讯科技(北京)有限公司 一种生成功能栏的方法和装置
CN106293418A (zh) * 2015-06-02 2017-01-04 纬创资通股份有限公司 切换按键功能的方法、可携式装置及显示器
CN105653265A (zh) * 2015-12-24 2016-06-08 北京奇虎科技有限公司 切换应用的方法、装置及终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3680760A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796149A (zh) * 2020-06-15 2020-10-20 深圳市极致汇仪科技有限公司 一种实体按键触控化的矢量网络分析仪

Also Published As

Publication number Publication date
EP3680760A1 (en) 2020-07-15
US11132123B2 (en) 2021-09-28
US20200210064A1 (en) 2020-07-02
EP3680760A4 (en) 2020-10-14

Similar Documents

Publication Publication Date Title
WO2019174477A1 (zh) 用户界面显示方法、装置及终端
US11644943B2 (en) Method for icon display, terminal, and storage medium
EP3680766B1 (en) Split screen display method, apparatus, terminal, and storage medium
WO2019174546A1 (zh) 用户界面显示方法、装置、设备及存储介质
US11132101B2 (en) Icon moving method, terminal and storage medium
WO2019174469A1 (zh) 消息提醒方法、装置、设备及存储介质
WO2019114828A1 (zh) 用户界面显示方法、装置、设备及存储介质
WO2020038168A1 (zh) 内容分享方法、装置、终端及存储介质
CN108803964B (zh) 浮标显示方法、装置、终端及存储介质
WO2019047189A1 (zh) 消息显示方法、装置及终端
WO2019047183A1 (zh) 按键显示方法、装置及终端
WO2019174466A1 (zh) 消息提醒方法、装置、设备及存储介质
WO2019047738A1 (zh) 消息显示方法、装置、移动终端及存储介质
WO2019047728A1 (zh) 开启快捷功能的方法、装置、移动终端及存储介质
CN107608550B (zh) 触摸操作响应方法及装置
WO2019233307A1 (zh) 用户界面显示方法、装置、终端及存储介质
CN109656445B (zh) 内容处理方法、装置、终端及存储介质
US11314391B2 (en) Navigation bar controlling method and terminal
WO2020147677A1 (zh) 显示内容的方法、装置、终端及存储介质
CN110442267B (zh) 触摸操作响应方法、装置、移动终端及存储介质
US11086442B2 (en) Method for responding to touch operation, mobile terminal, and storage medium
US11194425B2 (en) Method for responding to touch operation, mobile terminal, and storage medium
WO2019047231A1 (zh) 触摸操作响应方法及装置
US11194598B2 (en) Information display method, terminal and storage medium
CN109714474B (zh) 内容复制方法、装置、终端及存储介质

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: 17924346

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017924346

Country of ref document: EP

Effective date: 20200407