WO2021197315A1 - 显示方法及电子设备 - Google Patents

显示方法及电子设备 Download PDF

Info

Publication number
WO2021197315A1
WO2021197315A1 PCT/CN2021/083911 CN2021083911W WO2021197315A1 WO 2021197315 A1 WO2021197315 A1 WO 2021197315A1 CN 2021083911 W CN2021083911 W CN 2021083911W WO 2021197315 A1 WO2021197315 A1 WO 2021197315A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
target
candidate
display
candidates
Prior art date
Application number
PCT/CN2021/083911
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 JP2022555975A priority Critical patent/JP7469502B2/ja
Priority to EP21779177.1A priority patent/EP4130950A4/en
Priority to KR1020227037455A priority patent/KR20220158816A/ko
Publication of WO2021197315A1 publication Critical patent/WO2021197315A1/zh
Priority to US17/903,778 priority patent/US20220415228A1/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/04817Interaction 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 using icons
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/03Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes specially adapted for displays having non-planar surfaces, e.g. curved displays
    • G09G3/035Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes specially adapted for displays having non-planar surfaces, e.g. curved displays for flexible display surfaces
    • 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
    • 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/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04102Flexible digitiser, i.e. constructional details for allowing the whole digitising part of a device to be flexed or rolled like a sheet of paper
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0464Positioning
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2354/00Aspects of interface with display user
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2380/00Specific applications
    • G09G2380/02Flexible displays

Definitions

  • the present invention relates to the field of communication technology, in particular to a display method and electronic equipment.
  • an electronic device equipped with a screen with a stretchable length or width it is necessary to unfold the screen of the electronic device before performing operations according to the content on the screen.
  • an electronic device equipped with a screen with retractable length or width displays a standby desktop after being unlocked.
  • the current unlocking method is based on the password set by the user, gestures or using the user's fingerprint information to complete the unlocking.
  • the unlocking method is single and uninteresting.
  • the user needs to enter an application interface, he needs to expand the screen first, enter the main desktop after unlocking, and then click the corresponding icon to enter the application corresponding to the icon. The operation is cumbersome and the user experience is not good.
  • the embodiments of the present invention provide a method and an electronic device to solve the problem of cumbersome operation and poor user experience when an electronic device equipped with a screen with a retractable length or width is currently in use.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a display method, which is applied to an electronic device that has a screen with a stretchable length or width.
  • the method includes: receiving a first input, in response to the first input, controlling the screen to extend or retract, and display candidates, and when the target candidate in the candidate meets a preset condition, displaying and The target interface corresponding to the target candidate.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device includes a receiving module, a response module and a first display module.
  • the receiving module is used for receiving the first input;
  • the response module is used for controlling the extension or retraction of the screen and displaying the candidates;
  • the first display module is used for when the target candidate among the candidates meets a preset condition To display the target interface corresponding to the target candidate.
  • an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program is executed by the processor to realize the first The steps of the display method provided by the aspect.
  • an embodiment of the present invention provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and the computer program implements the steps of the display method provided in the first aspect when the computer program is executed by a processor.
  • the electronic device has a screen with a stretchable length or width, and can receive a first input; in response to the first input, the screen is controlled to extend or retract, and the candidates are displayed; When the target candidate among the candidates meets the preset condition, the target interface corresponding to the target candidate is displayed.
  • the application interface or shortcut function interface corresponding to the target candidate can be opened, so as to achieve the first screen
  • the function of entering the application program interface can be completed during the extension process, which reduces the time consumption of starting the application on an electronic device equipped with a screen with a retractable length or width, and increases the interest and enhances the user experience.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a display method provided by an embodiment of the present invention.
  • FIG. 3 is one of the schematic diagrams of an interface applied by a display method according to an embodiment of the present invention.
  • FIG. 4 is a second schematic diagram of an interface applied by a display method according to an embodiment of the present invention.
  • FIG. 5 is the third schematic diagram of an interface applied by a display method according to an embodiment of the present invention.
  • FIG. 6 is a fourth schematic diagram of an interface applied by a display method according to an embodiment of the present invention.
  • FIG. 7 is a fifth schematic diagram of an interface applied by a display method according to an embodiment of the present invention.
  • FIG. 8 is a sixth schematic diagram of an interface applied by a display method according to an embodiment of the present invention.
  • FIG. 9 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 10 is the second structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 11 is a third structural diagram of an electronic device provided by an embodiment of the present invention.
  • first and second in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects.
  • first area and the second area are used to distinguish different areas, rather than to describe the specific order of the areas.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • plural means two or more than two, for example, a plurality of elements means two or more elements, and so on.
  • the embodiments of the present invention provide a display method and an electronic device.
  • the electronic device has a screen with a stretchable length or width and can receive a first input; in response to the first input, the screen is controlled to extend or retract, and display Candidate; when the target candidate in the candidate meets a preset condition, the target interface corresponding to the target candidate is displayed.
  • the application interface or shortcut function interface corresponding to the target candidate can be opened, so as to achieve the first screen
  • the function of entering the application program interface can be completed during the extension process, which reduces the time consumption of starting the application on an electronic device equipped with a screen with a retractable length or width, and increases the interest and enhances the user experience.
  • the electronic device in the embodiment of the present invention may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present invention.
  • FIG. 1 it is a schematic structural diagram of an Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop a software program that implements the display method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. 1, so that the display method It can be run based on the Android operating system as shown in Figure 1. That is, the processor or the electronic device can implement the display method provided by the embodiment of the present invention by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present invention may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). Assistant, PDA), etc.
  • the non-mobile terminal device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which is not specifically limited in the embodiment of the present invention.
  • an electronic device equipped with a screen with a stretchable length or width it is necessary to unfold the screen of the electronic device before performing operations according to the content on the screen.
  • an electronic device equipped with a screen with retractable length or width displays a standby desktop after being unlocked.
  • the current unlocking method is based on the password set by the user, gestures or using the user's fingerprint information to complete the unlocking.
  • the unlocking method is single and uninteresting.
  • the user needs to enter an application interface, he needs to expand the screen first, enter the main desktop after unlocking, and then click the corresponding icon to enter the application corresponding to the icon. The operation is cumbersome and the user experience is not good.
  • an embodiment of the present invention provides a display method.
  • the screen of the electronic device is controlled to extend or retract, and the candidates (where the candidates are displayed) are displayed on the screen. It can correspond to a number or a character for unlocking, or it can correspond to an application icon to quickly open the application interface).
  • the interface corresponding to the target candidate is displayed, thereby It can be achieved that the application interface can be unlocked or opened when the screen is unfolded, saving user operation steps and improving user experience.
  • the first possible scenario is that the user wants to be able to quickly unlock when using the electronic device.
  • the user can preset the candidates for matching, the number of the candidates can be one or more, the content of the candidates can be numbers, symbols, symbols, etc. (for example, set the candidates for matching to 1, 2 , Square, picture 1).
  • the electronic device receives the first input, controls the screen to extend or retract, and displays the candidates on the screen.
  • the candidates displayed on the screen include the content of the preset candidates and the content of the non-preset candidates.
  • the order of is not limited. When the target candidate in the candidates meets the preset conditions (for example, receiving user input for the target candidate), the target candidate is selected.
  • the user After the user selects the target candidate, he can continue to select the second target candidate (for example, the first target candidate selected by the user is 1, and the user can continue to select target candidate 2), in one or more target candidates selected by the user If it matches the preset candidate, the unlock is completed, and the unlocked target interface is displayed.
  • the second target candidate for example, the first target candidate selected by the user is 1, and the user can continue to select target candidate 2
  • the second possible scenario is that the user wants to quickly enter the application interface or shortcut function interface when using the electronic device.
  • the electronic device receives the first input, controls the screen to extend or retract, and display candidates on the screen.
  • the candidates can be application icons, shortcut function icons or other identifiers corresponding to the application interface.
  • the display on the screen Candidates can be pre-set content by the user, or they can be determined by the electronic device according to the user’s usage records, or can be all the contents of the main desktop of the electronic device.
  • the target candidates in the candidates meet the preset conditions. Next (for example, receiving user input for a target candidate), select the target candidate (for example, application icon 1), and the electronic device displays the display interface of the application program corresponding to application icon 1.
  • an embodiment of the present invention provides a display method.
  • the method may include the following S101 to S103.
  • the electronic device receives a first input.
  • the above-mentioned first input may be an input for extending and retracting the screen, for example, the user holds the edge of the screen to stretch and push, so as to extend or retract the screen.
  • the above-mentioned first input may be a touch input for the screen.
  • the electronic device receives the touch input to control the extension or retraction of the screen. If the electronic device receives the user's sliding input, the screen is extended, and the electronic device After receiving the user's click input, the control screen is retracted.
  • the above-mentioned first input may be an input for other parts of the electronic device.
  • the electronic device detects the input of shaking to the left, it controls the screen to extend, and the electronic device detects the input of shaking to the right, then controls the screen to shrink;
  • the device detects the upward flip input of the screen, it controls the screen to extend, and when it detects the downward flip input of the screen, it controls the screen to retract.
  • the above-mentioned first input may also be a notification message, an incoming call, etc. received by the electronic device.
  • the control operation of the electronic device corresponding to the specific input method is not limited in this embodiment.
  • the above-mentioned candidate items may be displayed in an extended screen area, or may be displayed in a preset screen area.
  • the above-mentioned candidates may be characters, such as text, numbers, symbols, etc.
  • the above-mentioned candidates may also be images, graphics, etc.
  • the above-mentioned candidates may be application icons, folder icons, shortcut function icons, etc. .
  • the first screen of the mobile phone is controlled to extend, and the candidates are displayed on the second screen of the mobile phone.
  • the candidate is a number. If the input for the target number is received, if the target number matches the preset number, the unlocked interface, such as the main desktop of the screen, is displayed.
  • the candidates are displayed on the second screen of the mobile phone.
  • the candidates are graphics, such as triangles, squares, rectangles, triangles and squares combined graphics, etc., if the target is received Graphic input, in the case that the target graphic matches the preset graphic, the unlocked interface is displayed.
  • the candidates are displayed on the second screen of the mobile phone.
  • the candidates are a combination of graphics and numbers, such as 1, 2, 3, triangle, square, 4, 5 ⁇ ⁇ , if the input of the target object (target graphic or target number) is received, the unlocked interface is displayed when the target number matches the preset number.
  • the electronic device with a retractable screen length or width may be a mobile phone with a flexible screen.
  • the mobile phone screen is controlled to extend, and the display candidates may be displayed in the area where the screen extends. Items or candidates are displayed in a protruding area of the screen. The candidates can be images. If an input for the target image is received, if the target image matches the preset image, the unlocked interface will be displayed.
  • the page corresponding to the target image in the album or the page corresponding to the target image in other systems may be displayed.
  • the image may be an image preset by the user, an image obtained by the system from the Internet, or an image obtained by the system from a mobile phone album.
  • the source of the image is not limited in this embodiment.
  • the candidate is an application icon. If an input for a target icon is received, the application interface corresponding to the target icon is displayed; if the target icon is an application store, the main interface of the application store or a subpage of the application store is displayed.
  • the candidate is a shortcut function icon. If an input for the target shortcut function icon is received, the shortcut function interface corresponding to the shortcut function icon is displayed; if the target shortcut function icon is a payment icon, the main payment page is displayed.
  • the candidates can be at least one of numbers, graphics, application icons, shortcut function icons, etc. If input for the target object (target number, target graphic, target application icon, target shortcut function icon, etc.) is received, then The display interface corresponding to the target object is displayed.
  • the number of candidates displayed on the second screen may be related to the length of the first screen extended. For example, when the first screen is extended, the displayed candidates are updated to increase the number of candidates.
  • the specific content of the above-mentioned candidate items may be set by the user according to requirements.
  • the candidates when the screen needs to be expanded while unlocking, the candidates can be numbers, symbols, graphics, etc.; when the screen needs to be expanded while quickly opening the application interface, the candidates can be application icons, shortcut function icons, images, etc.
  • the above-mentioned target interface is associated with the target candidate, that is, the electronic device displays the target interface corresponding to the target candidate according to the target candidate selected by the user. It is understandable that the above-mentioned target interface is not necessarily a fixed interface, that is, corresponding to the same candidate, the target interface is displayed in different situations, and the target interface may be a different interface.
  • the candidate in the context of unlocking, set the candidate to be a graphic, and the preset graphic is a square.
  • the unlocked target interface is displayed, where the target interface can be the main desktop of the electronic device, or it can be The application interface displayed before the electronic device is locked.
  • the candidate is set as the application icon, and when an input for the target application icon is received, the target interface corresponding to the target application icon is displayed, where the target interface may be the application corresponding to the target application icon
  • the main interface can also be the background cache page of the application corresponding to the target application icon.
  • the candidate is set as the shortcut function icon, and when an input for the target shortcut function icon is received, the target interface corresponding to the target shortcut function icon is displayed, where the target interface can be the shortcut function main interface , It can also be the target window interface corresponding to the shortcut function.
  • the target shortcut function icon is a payment icon
  • the window interface includes a scan interface, a payment code interface, etc.
  • the electronic device can determine the target window interface according to historical records or recent usage.
  • the above-mentioned preset condition may be receiving input for the candidate item, thereby determining the target candidate item, and displaying the target interface corresponding to the target candidate item. It is also possible to display a target interface corresponding to the target candidate after the target candidate satisfies the preset condition.
  • the electronic device receives the user's first input, such as stretching the edge of the screen to make the screen stretch out.
  • the electronic device controls the screen to stretch out and touches the screen stretched area.
  • the number is displayed, which is the candidate.
  • the above-mentioned receiving input for the candidate items may be, as shown in FIG. 3, receiving the user's click input on the number in the electronic device. For example, if the user clicks the number 3, the electronic device is unlocked when the preset number is 3. And display the main interface after unlocking. Therefore, the electronic device can be unlocked during the process of unfolding the screen.
  • the unlocked interface is displayed.
  • this embodiment does not limit it here.
  • the target candidate may be displayed in a preset area of the screen to prompt the user of the selected content.
  • the target candidate after selecting the target candidate, can be displayed in the preset area of the screen, and the target candidate can be hidden between the presets to protect the privacy of the user.
  • the hiding method can be canceled display or Display in the second form.
  • the user's input can be received, and the selected target candidate can be deleted, so that the user can re-select the target candidate. enter.
  • the electronic device receives the user's first input, such as stretching the edge of the screen to extend the screen.
  • the electronic device controls the screen to extend, and displays numbers on the extended area of the screen, that is, candidates.
  • the above-mentioned target candidate item satisfies the preset condition may be, as shown in FIG. 5, after the electronic device receives the user's drag input for the target identifier, the target interface is displayed when the target identifier and the target candidate item at least partially overlap, for example, The electronic device displays a number, that is, a candidate. The user drags the target identifier. If the target identifier and the number 3 are at least partially overlapped, the number 3 can be considered to be selected.
  • the preset number is 3, the electronic device is unlocked , And display the unlocked interface.
  • the electronic device displays the target identifier at the first position of the screen, the electronic device receives the user's first input, and in response to the input, the electronic device controls the screen to extend,
  • the application icon that is, the candidate item, is displayed on the screen, and the target identifier is displayed in the second position.
  • the above-mentioned target candidate item satisfies the preset condition may be: in the case that the target identifier and the target application icon partly overlap, the display corresponding to the target application icon is displayed Interface, for example, the electronic device displays the target logo at the edge of the screen, the electronic device receives the input of the user tapping the control indicating the extension of the screen on the touch screen, controls the extension of the screen, displays the application icon on the extension area of the screen, and the target logo Move to the second position, and in the case where the target identifier partially overlaps the target application icon, the display interface corresponding to the target application icon is displayed.
  • the at least partial overlap between the target identifier and the target candidate may be that the first region where the target identifier is located and the second region where the target candidate is located at least partially overlap.
  • the electronic device has a screen with a stretchable length or width, and can receive a first input; in response to the first input, the screen is controlled to extend or retract, and the candidates are displayed; When the target candidate among the candidates meets the preset condition, the target interface corresponding to the target candidate is displayed.
  • the application interface or shortcut function interface corresponding to the target candidate can be opened, so as to achieve the first screen
  • the function of entering the application program interface can be completed during the extension process, which reduces the time consumption of starting the application on an electronic device equipped with a screen with a retractable length or width, and increases the interest and enhances the user experience.
  • the method may further include the following step 104:
  • Step 104 Display the target identification.
  • the target identifier can be a graphic, a control, a mask, a selection box, etc.
  • the specific form of the target identifier is not limited in this embodiment.
  • the above-mentioned display of the target identifier may be to display the target identifier before the electronic device receives the first input, or it may be to display the target identifier after the electronic device receives the first input.
  • the electronic device is an electronic device with a retractable screen, wherein the second screen is a retractable screen, and before the electronic device receives the first input, the first screen displays the target identifier. After receiving the first input, the electronic device controls the second screen to extend, and displays the candidates on the first screen.
  • the input for the target identification can be received, the target candidate is selected through the target identification, and the target interface corresponding to the target candidate is displayed.
  • the foregoing selection of the target candidate through the target identifier may be as follows: first click the target identifier, and then click the candidate to determine the target candidate.
  • the target identifier may be moved, and the target candidate may be determined when the target identifier and the candidate are at least partially overlapped.
  • the method of selecting target candidates through the target identifier is not limited in this embodiment.
  • the electronic device is an electronic device with a scroll screen.
  • the screen After receiving the first input, the screen is controlled to extend, the candidates are displayed in the extended area of the screen, and the target identifier is displayed. It can receive input for the target identification, select the target candidate through the target identification, and display the target interface corresponding to the target candidate.
  • the electronic device can display the target identifier and the candidate item at the same time, or display the target identifier first and then display the candidate item, or display the candidate item first and then display the target identifier.
  • the target identifier and the sequence of the candidates are displayed, which is not limited in the embodiment of the present invention.
  • step 103 may specifically include the following step 103a:
  • Step 103a In the case where the target identifier and the target candidate in the candidate are at least partially overlapped, a target interface corresponding to the target candidate is displayed.
  • the at least partial overlap of the target identifier and the target candidate may be that the partial area where the target identifier is located and the target area where the target candidate is located at least partially overlap, which is not limited in the embodiment of the present invention.
  • the above-mentioned electronic device displays the candidates and the target identifier on the screen, and can receive user input for the target identifier to move the target identifier.
  • the target identifier and the target candidate in the candidate are at least partially overlapped,
  • the interface corresponding to the target candidate is displayed.
  • the above-mentioned electronic device displays the candidates and target identifiers on the screen, and can receive user input for the target candidates in the candidates, so that the target candidates in the candidates move, and the target In the case where it at least partially overlaps with the target candidate among the candidates, an interface corresponding to the target candidate is displayed.
  • a threshold value for the overlap area between the target identifier and the target candidate may be set, and in the case that the overlap area between the target identifier and the target candidate is greater than a preset value, the target interface corresponding to the target candidate is displayed. For example, under the condition that the target identifier and the target candidate are completely overlapped, the target interface corresponding to the target candidate is displayed.
  • the display method provided by the embodiment of the present invention adds a target identifier, and when the target identifier and the target candidate are at least partially overlapped, the target interface corresponding to the target candidate is displayed.
  • the target interface corresponding to the target candidate can be displayed only when the target identifier and the target candidate are at least partially overlapped, thereby reducing the possibility of misoperation by the user during use, and improving the user experience .
  • step 104 may specifically include the following step 104a, and step 104a is before the foregoing step 102:
  • Step 104a Display the target identifier at the first position of the screen.
  • the above-mentioned first position may be a position preset by the user, or may be a position randomly selected by the electronic device system.
  • the above electronic device includes a first screen and a second screen, wherein the second screen is a retractable screen.
  • Displaying the target identifier at the first position of the screen may be displaying the target identifier in the central area of the first screen, or may be an area randomly selected by the system, such as the edge area of the screen.
  • step 102 may specifically include the following step 102a:
  • Step 102a Control the screen to extend or retract, display candidates, and display the target identifier in a second position of the screen, wherein the first position is different from the second position.
  • the above-mentioned second position is related to the extension or retraction of the screen.
  • the above-mentioned second position is related to the length of the screen extending or retracting.
  • the electronic device receives the first input and controls the extension of the screen.
  • the second position may be a position along the extension direction of the screen and a first length away from the first position. It may also be a direction opposite to the direction in which the screen extends, and a position that is a first length away from the first position.
  • the distance between the second position and the first position may have a preset proportional relationship with the protruding length of the screen.
  • the preset ratio is 2:1, when the protruding length of the screen is the first length,
  • the second position may be a position that is 2 times the first length from the first position along the extension direction of the screen.
  • the corresponding relationship between the second position and the extended or retracted length of the screen is not limited in this embodiment.
  • an electronic device having a first screen and a second screen is taken as an example, where the second screen is retractable.
  • the target logo is displayed on the edge area of the first screen.
  • the electronic device receives the first input from the user, controls the second screen to extend 5cm, displays the application icon, and displays the target logo at a distance of 5cm from the edge area (the second position in the figure)
  • the target identifier partially overlaps the target application icon, and the electronic device displays the application interface corresponding to the target application icon.
  • the above-mentioned second position is related to the time taken for the screen or retracting.
  • the preset moving speed is v.
  • the electronic device receives the first input and controls the screen to extend.
  • the time for the screen to extend for the first preset length is t
  • the second position can be along the extension direction of the screen and the distance from the first The position of a position t*v.
  • the average speed v2 at which the screen extends for a second preset length can be selected, and the second position can be along the screen extending direction, and the distance from the first position t* v2 location.
  • the corresponding relationship between the second position and the extension or retraction time of the screen is not limited in this embodiment.
  • the second screen is stretchable.
  • the target logo is displayed on the edge area of the first screen.
  • the electronic device receives the first input from the user, controls the second screen to extend, and displays application icons.
  • the first preset length is 5cm
  • the preset speed is 1cm/s
  • the second The time it takes for the screen to protrude 5 cm is 2 s
  • the target identifier is displayed at a position 2 cm from the edge area. At this time, the target identifier partially overlaps the target application icon, and the electronic device displays the application interface corresponding to the target application icon.
  • the display method provided by the embodiment of the present invention changes the position of the target identifier during the process of controlling the extension or retraction of the screen, and displays the display interface corresponding to the target candidate when the target identifier and the target candidate are at least partially overlapped .
  • the method of the embodiment of the present invention triggers the change of the position of the target mark by the extension or retraction of the screen, and the user does not need to manually change the position of the target mark, which reduces the operation steps for opening the target interface, and is convenient for the user to use.
  • step 102 may specifically include the following step 102b:
  • Step 102b Control the screen to stretch out to display the first candidate; in the case that the stretched length of the screen is greater than the first preset value, display the second candidate;
  • the first candidate item is different from the second candidate item, and the first candidate item and the second candidate item may be partially different or different in content, which is not limited in this embodiment.
  • the content of the first candidate item is partially different from the content of the second candidate item, that is, after the protruding length of the screen is greater than the first preset value, the content of the candidate item is partially updated.
  • the first candidate is displayed.
  • the content of the candidates is icon 1, icon 2, icon 3, and icon 4.
  • the first preset value is 3cm.
  • the second option is displayed.
  • Candidates the content of the candidates is icon 2, icon 3, icon 4, and icon 5.
  • the contents of the first candidate item and the second candidate item are completely different, that is, the contents of the candidate items are all updated after the protruding length of the screen is greater than the second preset value.
  • the first candidate is displayed.
  • the content of the candidates is icon 1, icon 2, icon 3, and icon 4.
  • the first preset value is 3cm.
  • the second option is displayed.
  • Candidates, the content of the candidates is icon 5, icon 6, and icon 7.
  • step 103 may specifically include the following step 103b:
  • Step 103b In the case that the length of the screen remains unchanged for a period of time greater than a second preset value, display a target interface corresponding to the target candidate, wherein the target candidate is relative to the second candidate. Candidates added to the first candidate.
  • the length of time during which the length of the screen remains unchanged is the length of time during which the first input is not received, and the number of additional candidates for the second candidate item relative to the first candidate item may be one or more. indivual.
  • the added candidate item is the target candidate item, and the length of the screen remains unchanged for longer than the second preset In the case of the value, the screen corresponding to the target candidate is displayed.
  • the multiple candidates are compared with the preset candidates, and if they match the preset candidates, the unlocked interface is displayed.
  • multiple candidate items are not distinguished in order, that is, the content of the candidate items corresponds to the preset candidate item to achieve unlocking.
  • the second preset value is 2s
  • the preset candidates are 7, 3, 5, 1.
  • the electronic device receives the first input, and the first candidates displayed are 2, 4, and 6.
  • the displayed second candidates are 1, 2, 3, 4, 5, 6, 7, then the added content of the second candidate item relative to the first candidate item is 1, 3, 5, and 7.
  • the added candidate item has a corresponding relationship with the preset candidate item, so the electronic device After unlocking is successful, the unlocked interface is displayed.
  • the order of the candidates may be determined according to a preset direction, for example, the second preset value is 2s, and the preset candidates are 7, 3, 5, 1, and the preset direction is the extension direction of the screen.
  • the electronic device receives the first input, and the first candidate displayed is 2, 4, 6.
  • the second candidate displayed along the extension direction of the screen The content is 1, 2, 3, 4, 5, 6, 7, and the added content of the second candidate relative to the first candidate is 1, 3, 5, 7.
  • the added candidates and the preset candidates at this time There is no match, so the electronic device fails to unlock.
  • the target interface corresponding to the target candidate is displayed on a split screen.
  • the second preset value is 2s.
  • the electronic device receives the first input, and the displayed first candidates are icon 1 and icon 2.
  • the displayed second candidate content is icon 3 and icon 4.
  • the added content of the second candidate item relative to the first candidate item is icon 3 and icon 4.
  • the screen is divided into two parts to display the target application interface corresponding to icon 3 and icon 4, respectively.
  • the content of the candidates can be updated, so that when the candidates displayed on the screen do not contain the candidates required by the user, the displayed candidates can be updated until they are displayed. Candidates that users need to improve user experience.
  • the electronic device includes a first screen and a second screen, and the above step 202 may specifically include the following step 202c:
  • Step 202c Control the second screen to extend or retract, and display candidates on the first screen, and the candidates move on the first screen, wherein the moving distance of the candidate is the same as that of the The extended length or retracted length of the second screen is related.
  • the second screen is a retractable screen.
  • the first screen and the second screen may both be rigid screens, and may both be flexible screens, or may be a flexible screen. Rigid screen, this embodiment does not limit this.
  • the second screen can be controlled to extend or retract, the candidates are displayed on the first screen and the candidates move on the first screen, or the candidates can be displayed on the first screen first, and the second screen can be controlled. After extending or retracting, move the candidates, or after receiving the first input, control the second screen to extend or retract, display the candidates and move the candidates at the same time, for the second screen to extend or retract and
  • the order of displaying the candidates is not limited in this embodiment.
  • the second screen can be extended and retracted, wherein the moving distance of the candidate is related to the extended length or retracted length of the second screen, which may be when the second screen is extended,
  • the candidates move along the extension direction of the screen.
  • the candidates move along the retracting direction of the screen. It can be that the candidates move along the The extension direction moves in the opposite direction.
  • the second screen is retracted, the candidates move in the opposite direction to the retracted direction of the screen.
  • the moving direction of the candidates is not limited in this embodiment.
  • the moving distance of the candidate item is related to the extended length or retracted length of the second screen, and it may be that the moving distance of the candidate item is equal to the extended length or retracted length of the second screen. It may be that the moving distance of the candidate item has a preset ratio to the extended length or retracted length of the second screen.
  • the electronic device receives the first input, controls the second screen to extend, the first screen displays the candidates at the edge, and obtains that the extension length of the second screen is 3cm, then the candidate moves 3cm along the extension direction of the second screen. .
  • the electronic device receives the first input, controls the second screen to extend, the first screen displays the candidates and moves the candidates, wherein the extension speed of the second screen is the same as the movement speed of the candidates.
  • the electronic device receives the first input and controls the extension of the second screen.
  • the first screen displays the candidates at the edge. If the extension length of the second screen is 3cm, then the Move 1.5cm in the extension direction of the second screen.
  • the electronic device receives the first input and controls the extension of the second screen, the first screen displays the candidates and moves the candidates, where the extension speed of the second screen is 2cm/ s, the moving speed of the candidate is 1cm/s.
  • the electronic device includes a first screen and a second screen, and the above step 203 may specifically include the following step 203c:
  • Step 203c In the case where the target candidate in the candidate item at least partially overlaps the target area of the first screen, display the target interface corresponding to the target candidate item
  • the target area may be a preset area, or may be an area determined by the user's touch input on the screen after the candidates are displayed.
  • the shape of the target area can be any shape such as square, circle, etc.
  • the size of the target area can be determined according to user needs.
  • the preset area is a circular area located on the first screen.
  • the electronic device receives the first input, controls the second screen to extend, the first screen displays the candidates, and the candidates move along the extension direction of the second screen, at least part of the circular area in the center of the first screen and the target candidate In the case of overlap, the interface corresponding to the target candidate is displayed.
  • it may be set to display the display interface corresponding to the target candidate item when the overlap area of the target candidate item and the target area is greater than a preset value.
  • the preset area may at least partially overlap with multiple candidates, that is, there are multiple target candidates.
  • the preset candidates are 1, 2, and 3.
  • the electronic device receives the first input and controls the second screen to extend, and the first screen displays the numbers 1, 2, 3, 4, 5, 6, that is Candidates, and the candidates move along the extension direction of the second screen.
  • the target candidates are 1, 2, 3, and the target If the candidates 1, 2, and 3 match the preset candidates, the electronic device displays the unlocked interface.
  • the sequence of the target candidates may be determined according to a preset rule.
  • the electronic device receives the first input and controls the second screen to extend.
  • the first screen displays Icon 1, Icon 2, Icon 3, and Icon 4, which are candidates, and the candidates are along the first screen.
  • the extension direction of the second screen moves.
  • the circular area in the center of the first screen at least partially overlaps with icon 1, icon 2, and the target candidates are icon 1 and icon 2, then the electronic device will display icon 1 and icon on separate screens. 2 Corresponding display interface.
  • the electronic device includes a first screen and a second screen, where the second screen is a retractable screen, and the candidates can move according to the extension or retraction of the second screen, which matches the target candidate in the target area.
  • the display interface corresponding to the target candidate is displayed, and multiple target candidates can be selected by applying the method provided in this embodiment, which increases the user's usage scenario, can realize quick unlocking or start multiple applications, and improve the user experience.
  • control methods shown in each of the above figures are all exemplarily described in conjunction with a figure in the embodiment of the present invention.
  • the control method shown in each of the above figures can also be implemented in combination with any other figures illustrated in the above embodiments that can be combined, and will not be repeated here.
  • an embodiment of the present invention provides an electronic device 900.
  • the electronic device may include a receiving module 901, a processing module 902, and a first display module 903.
  • the receiving module 901 may be used to receive the first input.
  • the processing module 902 may be used to control the extension or retraction of the screen in response to the first input received by the receiving module 901, and display the candidates.
  • the first display module 903 may be used to select the target in the candidates. When the candidates meet the preset condition, the target interface corresponding to the target candidate is displayed.
  • the electronic device provided by the embodiment of the present invention may further include a second display module 904.
  • the second display module 904 can be used to display the target identifier.
  • the first display module 903 may be further configured to display a target interface corresponding to the target candidate item when the target identifier and the target candidate item in the candidate item at least partially overlap.
  • the second display module 904 may be specifically configured to display the target identifier in the first position of the screen before receiving the first input.
  • the first display module 903 can also be used to control the extension or retraction of the screen, display candidates, and display the target identifier in the second position of the screen.
  • the first position is different from the second position
  • the first display module 903 is further configured to control the screen to stretch out and display the first candidate.
  • the first display module 903 is also used to display second candidates; the second display module 904 is also used to display the length of the screen
  • the target interface corresponding to the target candidate is displayed, wherein the target candidate is an increase of the second candidate relative to the first candidate Candidate.
  • the electronic device further includes a first screen and a second screen
  • the first display module 903 is further configured to control the extension or retraction of the second screen, and display candidate screens on the first screen. Item and the candidate item moves on the first screen, wherein the moving distance of the candidate item is related to the extended length or retracted length of the second screen; the second display module 904 is also used for In the case where the target candidate in the candidate item overlaps the target area of the first screen, a target interface corresponding to the target candidate item is displayed.
  • the electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • An embodiment of the present invention provides an electronic device.
  • the target candidate is used for unlocking
  • the target candidate is acquired, and when the target candidate is the preset candidate, the unlocking is completed to realize the screen scaling process.
  • the unlocking can be completed in the middle, which reduces the time-consuming unlocking of electronic devices equipped with screens with retractable length or width, and increases the fun of unlocking.
  • the application interface or shortcut function interface corresponding to the target candidate can be opened, so as to achieve the first screen
  • the function of entering the application program interface can be completed during the extension process, which reduces the time consumption of starting the application on an electronic device equipped with a screen with a retractable length or width, and increases the interest and enhances the user experience.
  • FIG. 11 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 200 includes but is not limited to: a radio frequency unit 201, a network module 202, an audio output unit 203, an input unit 204, a sensor 205, a display unit 206, a user input unit 207, an interface unit 208, and a memory 209 , Processor 210, and power supply 211.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the processor 210 is configured to receive a first input, and in response to the first input, control the screen to extend or retract, and is also configured to control the display unit 206 to display candidates. When the target candidate among the candidate items meets a preset condition, the processor 210 is further configured to control the display unit 206 to display a target interface corresponding to the target candidate item.
  • the processor 210 is further configured to control the display unit 206 to display a target identifier. In the case that the target identifier and the target candidate in the candidates at least partially overlap, the processor 210 is further configured to control the display unit 206 to display the target identifier.
  • the processor 210 is further configured to respond to the first input, control the screen to extend or retract, and before displaying the candidates, control the display unit 206 to display the target identifier at the first position of the screen, and the processor 210 also Used to control the extension or retraction of the screen, and control the display unit 206 to display candidates, and display the target identifier in the second position of the screen, wherein the first position is different from the second position
  • the processor 210 is further configured to control the extension of the screen, and control the display unit 206 to display the first candidate when the extension length of the screen is less than a first preset value; If the length of the screen is greater than the first preset value, display a second candidate, and the second display module is further configured to: if the length of the screen remains unchanged for a period of time greater than the second preset value, the processor 210 further It is used to control the display unit 206 to display a target interface corresponding to the target candidate, wherein the target candidate is a candidate added to the second candidate compared to the first candidate.
  • the processor 210 is also used to control the second screen to extend or retract, and to control the display of candidates on the first screen and the candidates on the Move on the first screen, wherein the moving distance of the candidate item is related to the extended length or retracted length of the second screen;
  • the processor 210 is further configured to control and control the display unit 206 to display a target interface corresponding to the target candidate when the target candidate in the candidate overlaps the target area of the first screen.
  • An embodiment of the present invention provides an electronic device.
  • the target candidate is used for unlocking
  • the target candidate is acquired, and when the target candidate is the preset candidate, the unlocking is completed to realize the screen scaling process.
  • the unlocking can be completed in the middle, which reduces the time-consuming unlocking of the electronic device with the retractable flexible screen, and increases the unlocking fun.
  • the target candidate is used to indicate the entry of an application or shortcut function
  • the application interface or shortcut function interface corresponding to the target candidate can be opened to achieve the The function of entering the application program interface can be completed during the extension process, reducing the time-consuming of entering the application of the electronic device with a flexible screen, increasing the interest, and improving the user experience.
  • the radio frequency unit 201 can be used for receiving and sending signals during the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 210; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 201 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.
  • the radio frequency unit 201 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 202, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 203 can convert the audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into audio signals and output them as sounds. Moreover, the audio output unit 203 may also provide audio output related to a specific function performed by the electronic device 200 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 204 is used to receive audio or video signals.
  • the input unit 204 may include a graphics processing unit (GPU) 2041 and a microphone 2042, and the graphics processor 2041 is configured to monitor still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 206.
  • the image frame processed by the graphics processor 2041 may be stored in the memory 209 (or other storage medium) or sent via the radio frequency unit 201 or the network module 202.
  • the microphone 2042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 201 in the case of a telephone call mode for output.
  • the electronic device 200 further includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light.
  • the proximity sensor can turn off the display panel 2061 and the display panel 2061 when the electronic device 200 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; the sensor 205 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 206 is used to display information input by the user or information provided to the user.
  • the display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 207 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 207 includes a touch panel 2071 and other input devices 2072.
  • the touch panel 2071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 2071 or near the touch panel 2071. operate).
  • the touch panel 2071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 210, the command sent by the processor 210 is received and executed.
  • the touch panel 2071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 207 may also include other input devices 2072.
  • other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 2071 can be overlaid on the display panel 2061.
  • the touch panel 2071 detects a touch operation on or near it, it transmits it to the processor 210 to determine the type of the touch event, and then the processor 210 determines the type of touch event according to the touch
  • the type of event provides corresponding visual output on the display panel 2061.
  • the touch panel 2071 and the display panel 2061 are used as two independent components to realize the input and output functions of the electronic device, but in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 208 is an interface for connecting an external device and the electronic device 200.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 208 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 200 or can be used to connect the electronic device 200 to an external device. Transfer data between devices.
  • the memory 209 can be used to store software programs and various data.
  • the memory 209 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 209 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 210 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 209, and calls the data stored in the memory 209 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 210.
  • the electronic device 200 may also include a power source 211 (such as a battery) for supplying power to various components.
  • a power source 211 such as a battery
  • the power source 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 200 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor 210 as shown in FIG. 11, a memory 209, a computer program stored in the memory 209 and running on the processor 210, and the computer program is
  • the processor 210 implements the various processes of the foregoing method embodiments when executing, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • computer-readable storage media such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种显示方法及电子设备,该方法包括:接收第一输入,响应于第一输入,控制所述屏幕伸出或者缩回,并显示候选项,在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。

Description

显示方法及电子设备
相关申请的交叉引用
本申请主张在2020年4月3日在中国提交的中国专利申请号No.202010260738.7的优先权,其全部内容通过引用包含于此。
技术领域
本发明涉及通信技术领域,尤其是指一种显示方法及电子设备。
背景技术
随着科技的发展进步,电子设备越来越普及,并且电子设备所具备的功能越来越多样化。例如,通讯功能、拍照功能、摄像功能等都已经成为电子设备的必备功能。用户需要对于电子设备进行解锁从而进入主桌面中,电子设备的屏幕上可以显示各种应用的图标,对某个图标进行操作之后就可以打开相应的应用。
现有技术中,对于配备长度或宽度可伸缩的屏幕的电子设备,需要将电子设备的屏幕全部展开后,再根据屏上的内容进行操作。例如,配备长度或宽度可伸缩的屏幕的电子设备解锁之后显示的是待机桌面,而目前的解锁方式都是基于用户设置的密码、手势或者利用用户的指纹信息完成解锁,解锁方式单一无趣。另一方面,用户若需要进入某一应用界面,需要先展开屏幕,完成解锁后进入主桌面,再点击相应的图标进入图标对应的应用程序。操作繁琐,用户体验不好。
发明内容
本发明实施例提供一种方法及电子设备,以解决目前配备长度或宽度可伸缩的屏幕的电子设备在使用时操作繁琐,用户体验不好的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种显示方法,应用于电子设备,所述电子设备具有长度或宽度可伸缩的屏幕的。该方法包括:接收第一输入,响 应于所述第一输入,控制所述屏幕伸出或者缩回,并显示候选项,在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。
第二方面,本发明实施例提供了一种电子设备。该电子设备包括接收模块、响应模块和第一显示模块。接收模块,用于接收第一输入;响应模块,控制所述屏幕伸出或者缩回,并显示候选项;第一显示模块,用于在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现第一方面提供的显示方法的步骤。
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现第一方面提供的显示方法的步骤。
在本发明实施例中,电子设备具有长度或宽度可伸缩的屏幕,可以接收第一输入;响应于所述第一输入,控制所述屏幕伸出或者缩回,并显示候选项;在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。通过该方案,一方面,在目标候选项用于解锁的情况下,获取目标候选项与预设候选项时,则完成解锁,以实现在屏幕伸缩过程中即可完成解锁,减少配备长度或宽度可伸缩的屏幕的电子设备的解锁耗时,并增加解锁趣味性。另一方面,在目标候选项用于指示应用程序或快捷功能入口的情况下,获取目标候选项后,即可打开与目标候选项对应的应用程序界面或快捷功能界面,以实现在第一屏伸出过程中即可完成进入应用程序界面的功能,减少配备长度或宽度可伸缩的屏幕的电子设备启动应用的耗时,并增加趣味性,提升用户体验。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性 劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本发明实施例提供的一种显示方法流程示意图;
图3为本发明实施例提供的一种显示方法所应用的界面的示意图之一;
图4为本发明实施例提供的一种显示方法所应用的界面的示意图之二;
图5为本发明实施例提供的一种显示方法所应用的界面的示意图之三;
图6为本发明实施例提供的一种显示方法所应用的界面的示意图之四;
图7为本发明实施例提供的一种显示方法所应用的界面的示意图之五;
图8为本发明实施例提供的一种显示方法所应用的界面的示意图之六;
图9为本发明实施例提供的一种电子设备的结构示意图之一;
图10为本发明实施例提供的一种电子设备的结构示意图之二;
图11为本发明实施例提供的一种电子设备的结构示意图之三。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一区域和第二区域等是用于区别不同的区域,而不是用于描述区域的特定顺序。
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。
本发明实施例提供一种显示方法及电子设备,电子设备具有长度或宽度可伸缩的屏幕,可以接收第一输入;响应于所述第一输入,控制所述屏幕伸出或者缩回,并显示候选项;在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。通过该方案,一方面,在目标候选项用于解锁的情况下,获取目标候选项,在目标候选项与预设候选项匹配时,则完成解锁,以实现在屏幕伸缩过程中即可完成解锁,减少配备长度或宽度可伸缩的屏幕的电子设备的解锁耗时,并增加解锁趣味性。另一方面,在目标候选项用于指示应用程序或快捷功能入口的情况下,获取目标候选项后,即可打开与目标候选项对应的应用程序界面或快捷功能界面,以实现在第一屏伸出过程中即可完成进入应用程序界面的功能,减少配备长度或宽度可伸缩的屏幕的电子设备启动应用的耗时,并增加趣味性,提升用户体验。
本发明实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。
以安卓操作系统为例,介绍一下本发明实施例提供的显示方法所应用的软件环境。
如图1所示,为本发明实施例提供的一种安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最 底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的显示方法的软件程序,从而使得该显示方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的显示方法。
本发明实施例中的电子设备可以为移动终端设备,也可以为非移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。
现有技术中,对于配备长度或宽度可伸缩的屏幕的电子设备,需要将电子设备的屏幕全部展开后,再根据屏上的内容进行操作。例如,配备长度或宽度可伸缩的屏幕的电子设备解锁之后显示的是待机桌面,而目前的解锁方式都是基于用户设置的密码、手势或者利用用户的指纹信息完成解锁,解锁方式单一无趣。另一方面,用户若需要进入某一应用界面,需要先展开屏幕,完成解锁后进入主桌面,再点击相应的图标进入图标对应的应用程序。操作繁琐,用户体验不好。
为此,本发明实施例提供一种显示方法,当用户使用配备长度或宽度可伸缩的屏幕的电子设备时,控制电子设备的屏幕伸出或缩回,在屏幕上显示候选项(其中候选项可以对应于数字或字符用于解锁,也可以对应于应用图标,用于快捷打开应用界面),当候选项中的目标候选项满足预设条件时,显示所述目标候选项对应的界面,从而可以达到在展开屏幕时便可以解锁或打开应用界面,节省用户操作步骤,提高用户体验度。
为了更清楚地示意本发明实施例,下面是本发明提供的控制方法的两种应用场景:
第一种可能的场景为,用户希望在使用电子设备上时,能够实现快速解锁。用户可以预设用于匹配的候选项,该候选项的数量可以为一个或多个,该候选项的内容可以为数字,符号,符号等(例如设定用于匹配的候选项为1、2、正方形、图片1)。电子设备接收第一输入,控制屏幕伸出或缩回,在屏幕上显示候选项,需要说明的是屏幕上显示的候选项包括预设候选的内容以及非预设候选项的内容,对于候选项的顺序不做限定,在候选项中的目标候选项满足预设条件下(例如,接收用户对于目标候选项的输入),选中该目标候选项,在预设候选项为多个的情况下,用户选中目标候选项后可继续选择第二目标候选项(例如,用户第一次选择的目标候选项为1,用户可继续选择目标候选项2),在用户选择的一个或多个目标候选项与预设候选项匹配的情况,完成解锁,显示解锁后的目标界面。
第二种可能的场景为,用户希望在使用电子设备时,可快速进入应用界面或快捷功能界面。电子设备接收第一输入,控制屏幕伸出或缩回,在屏幕上显示候选项,候选项可以为应用图标,快捷功能图标或其他对应于应用界面的标识,需要说明的是,屏幕上显示的候选项可以为用户预先设定的内容,也可以为电子设备根据用户的使用情况,使用记录确定的,也可以为电子设备主桌面的所有内容,在候选项中的目标候选项满足预设条件下(例如,接收用户对于目标候选项的输入),选中该目标候选项(例如应用图标1),电子设备显示应用图标1对应的应用程序的显示界面。
下面以执行主体为电子设备为例,对本发明实施例提供的控制方法进行示例性的说明。
如图2所示,本发明实施例提供一种显示方法。该方法可以包括下述的S101至S103。
S101、电子设备接收第一输入。
可选的,上述第一输入可以为针对屏幕的伸出和缩回输入,如用户手持屏幕的边缘进行拉伸和推动,以使屏幕伸出或缩回。
可选的,上述第一输入可以为针对屏幕触控输入,电子设备接收到触控输入,从而控制屏幕伸出或缩回,如电子设备接收到用户的滑动输入则控制屏幕伸出,电子设备接收到用户的点击输入,则控制屏幕缩回。
可选的,上述第一输入可以为针对电子设备其他部分的输入,如电子设备检测到向左摇动输入,则控制屏幕伸出,电子设备检测到向右摇动输入,则控制屏幕收缩;如电子设备检测到屏幕向上的翻转输入,则控制屏幕伸出,检测到屏幕向下的翻转输入,则控制屏幕缩回。
可选的,上述第一输入还可以为电子设备接收到通知消息,来电等,具体的输入方式对应的电子设备的控制操作本实施例在此不做限制。
S102、响应于所述第一输入,控制所述屏幕伸出或者缩回,并显示候选项。
在本发明实施例中,上述候选项可以显示在伸出的屏幕区域,也可以显示在预设的屏幕区域。
在本发明实施例中,上述的候选项可以为字符,如文字,数字,符号等,上述候选项也可以为图像,图形等,上述候选项可以为应用图标,文件夹图标,快捷功能图标等。
举例说明,以具有屏幕的长度或宽度可收缩的电子设备为具有伸缩屏的手机为例,如图3所示,控制手机的第一屏伸出,在手机的第二屏上显示候选项,候选项为数字,如接收针对目标数字的输入,在目标数字与预设数字匹配的情况下,则显示解锁后的界面,如屏幕的主桌面。
可选的,控制手机的第一屏伸出后,在手机的第二屏上显示候选项,候选项为图形,如三角形,正方形,长方形,三角形与正方形的组合图形等,如接收到针对目标图形的输入,在目标图形与预设图形匹配的情况下,显示解锁后的界面。
可选的,控制手机的第一屏伸出后,在手机的第二屏上显示候选项,候选项为图形与数字的组合,如1、2、3、三角形、正方形、4、5······,如接收到目标对象(目标图形或目标数字)的输入,在目标数字与预设数字匹配的情况下,显示解锁后的界面。
在一种示例中,具有屏幕的长度或宽度可收缩的电子设备可以为具有柔性屏的手机,如图4所示,控制手机屏幕伸出,显示候选项可以为在屏幕伸出的区域显示候选项或在屏幕伸出的部分区域显示候选项,候选项可以为图像,如接收到针对目标图像的输入,在目标图像与预设图像匹配的情况下, 则显示解锁后的界面。
可选的,在候选项为图像的情况下,如接收到针对目标图像的输入,可以显示相册中对应目标图像的页面或其他系统中对应目标图像的页面。
可选的,图像可以为用户预设的图像,也可以为系统从网上获取的图像,也可以为系统从手机相册中获取的图像,对于图像的来源,本实施例在此不做限定。
在一种示例中,候选项为应用图标,如接收到针对目标图标输入,则显示目标图标对应的应用界面,如目标图标为应用商店,则显示应用商店的主界面或应用商店的子页面。
可选的,候选项为快捷功能图标,如接收到针对目标快捷功能图标的输入,则显示快捷功能图标对应的快捷功能界面,如目标快捷功能图标为支付图标,则显示支付主页面。
可选的,候选项可以为数字,图形,应用图标,快捷功能图标等至少一种,如接收到针对目标对象(目标数字、目标图形、目标应用图标、目标快捷功能图标等)的输入,则显示目标对象对应的显示界面。
在一种示例中,在第二屏上显示候选项的数量可与第一屏伸出的长度相关联,如,在第一屏伸出时,更新显示候选项,增加候选项的数量。
在本发明实施例中,上述的候选项具体内容可以由用户根据需求自行设定。例如,在需要展开屏幕的同时实现解锁,则候选项可以为数字,符号,图形等;在需要展开屏幕的同时实现快速打开应用界面,则候选项可以为应用图标、快捷功能图标、图像等。
S103、在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。
本发明实施例中,上述目标界面与目标候选项相关联,即电子设备根据用户选择的目标候选项显示与目标候选项对应的目标界面。可以理解的是,上述目标界面不一定为固定的界面,即对应于同一候选项,在不同情况下显示目标界面,目标界面可以为不同的界面。
例如:在解锁的情境下,设定候选项为图形,预设图形为正方形,接收到针对正方形的输入时,显示解锁后的目标界面,其中目标界面可以为电子设 备的主桌面,也可以为电子设备在锁定之前显示的应用界面。
又例如,在启动应用程序的情境下,设定候选项为应用图标,接收到针对目标应用图标的输入时,显示目标应用图标对应的目标界面,其中目标界面可以为目标应用图标对应的应用程序的主界面,也可以为目标应用图标对应的应用程序的后台缓存页面。
又例如,在启动快捷功能的情境下,设定候选项为快捷功能图标,接收到针对目标快捷功能图标的输入时,显示目标快捷功能图标对应的目标界面,其中目标界面可以为快捷功能主界面,也可以为对应于快捷功能的目标窗口界面,如目标快捷功能图标为支付图标,窗口界面包括扫一扫界面,支付码界面等。电子设备可根据历史记录或最近使用情况确定目标窗口界面。
上述预设条件可以为接收针对候选项的输入,从而确定目标候选项,显示与目标候选项对应的目标界面。也可以为目标候选项满足预设条件之后,显示与目标候选项对应的目标界面。
示例性的,如图3所示,电子设备接收到用户的第一输入,如拉伸屏幕的边缘使屏幕伸出,响应于该输入,电子设备控制屏幕伸出,并在屏幕伸出区域上显示数字,即候选项。上述接收针对候选项的输入可以为,如图3中所示,在电子设备接收用户对数字点击输入,如,用户点击数字3,则在预设数字为3的情况下,电子设备实现解锁,并显示解锁后的主界面。因此,电子设备可以实现在展开屏幕的过程中实现解锁。
可选的,在解锁的情境下,选择目标候选项(此处可认为为第一候选项)后,可继续接收用户的输入,继续选择目标候选项(此处可认为为第二候选项),在第一候选项与第二候选项的组合与预设候选项匹配的情况下,显示解锁后的界面。对于解锁场景下,设定的候选项数量,本实施例在此不做限制。
可选的,如图3所示,在选择目标候选后,可以在屏幕的预设区域显示目标候选项,以提示用户已选择的内容。
可选的,在选择目标候选项后,可以在屏幕的预设区域显示目标候选项,并在预设之间后隐藏目标候选项,以保护用户的隐私,隐藏方式可以为取消显示,也可以以第二形式显示。
可选的,在解锁情境下,设定的候选项数量不少于2时,在选择目标候 选项后,可接收用户的输入,删除选择的目标候选项,以使用户在选择错误后可以重新输入。
示例性的,电子设备接收到用户的第一输入,如拉伸屏幕的边缘使屏幕伸出,响应于该输入,电子设备控制屏幕伸出,在屏幕伸出区域上显示数字,即候选项,并显示目标标识。上述目标候选项满足预设条件可以为,如图5所示,在电子设备接收用户针对目标标识的拖动输入之后,在目标标识与目标候选项至少部分重叠的情况下显示目标界面,如,电子设备显示数字,即候选项,用户拖动目标标识,则在目标标识与数字为3至少部分重叠的情况下,可认为选择数字3,在预设数字为3的情况下,电子设备实现解锁,并显示解锁后的界面。
示例性的,在电子设备接收到用户的第一输入之前,电子设备在屏幕的第一位置显示目标标识,电子设备接收到用户的第一输入,响应于该输入,电子设备控制屏幕伸出,在屏幕显示应用图标,即候选项,并在第二位置显示目标标识,上述目标候选项满足预设条件可以为,在目标标识与目标应用图标部分重叠的情况下,显示目标应用图标对应的显示界面,如,电子设备在屏幕边缘处显示目标标识,电子设备接收用户在触摸屏上点击指示屏幕伸出的控件的输入,控制屏幕伸出,在屏幕的伸出区域上显示应用图标,且目标标识移动至第二位置,在目标标识与目标应用图标部分重叠的情况下,显示目标应用图标对应的显示界面。
可选的,上述目标标识与目标候选项至少部分重叠可以为,目标标识所在的第一区域与目标候选项所在的第二区域至少部分重叠。
在本发明实施例中,电子设备具有长度或宽度可伸缩的屏幕,可以接收第一输入;响应于所述第一输入,控制所述屏幕伸出或者缩回,并显示候选项;在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。通过该方案,一方面,在目标候选项用于解锁的情况下,获取目标候选项与预设候选项时,则完成解锁,以实现在屏幕伸缩过程中即可完成解锁,减少配备长度或宽度可伸缩的屏幕的电子设备的解锁耗时,并增加解锁趣味性。另一方面,在目标候选项用于指示应用程序或快捷功能入口的情况下,获取目标候选项后,即可打开与目标候选项对应的应用程序界面 或快捷功能界面,以实现在第一屏伸出过程中即可完成进入应用程序界面的功能,减少配备长度或宽度可伸缩的屏幕的电子设备启动应用的耗时,并增加趣味性,提升用户体验。
发明实施例示例性的,上述的步骤103之前,该方法还可以包括如下步骤104:
步骤104:显示目标标识。
目标标识可以为图形、控件、蒙版、选择框等,对于目标标识的具体形式,本实施例在此不做限定。
上述显示目标标识可以为在电子设备接收第一输入之前显示目标标识,也可以为在电子设备接收第一输入之后显示目标标识。
在第一种可能实现的方式中:
示例性的,电子设备为具有伸缩屏的电子设备,其中第二屏为伸缩屏,在电子设备接收第一输入之前,第一屏显示目标标识。电子设备接收第一输入后,控制第二屏伸出,在第一屏显示候选项。可以接收针对目标标识的输入,通过目标标识选择目标候选项,显示与所述目标候选项对应的目标界面。
可选的,上述通过目标标识选择目标候选项可以为,先点击目标标识,再点击候选项以确定目标候选项。可以为接收针对目标标识的输入,使目标标识发生移动,在目标标识与候选项至少部分重叠的情况下,确定目标候选项。对于通过目标标识选择目标候选项的方式,本实施例在此不做限定。
在第二种可能实现的方式中:
示例性的,电子设备为具有卷轴屏的电子设备,在接收第一输入之后,控制屏幕伸出,在屏幕伸出区域显示候选项,并显示目标标识。可以接收针对目标标识的输入,通过目标标识选择目标候选项,显示与目标候选项对应的目标界面。
需要说明的是,在电子设备接收第一输入后,可以同时显示目标标识与候选项,也可以先显示目标标识,后显示候选项,或先显示候选项,后显示目标标识,对于电子设备接收第一输入后,显示目标标识和候选项的顺序,本发明实施例在此不做限定。
示例性的,上述的步骤103具体可以包括如下步骤103a:
步骤103a:在所述目标标识与所述候选项中目标候选项至少部分重叠的情况下,显示与所述目标候选项对应的目标界面。
需要说明的是,上述目标标识与目标候选项至少部分重叠可以为目标标识所在的部分区域与所述目标候选项所在的目标区域至少部分重叠,本发明实施例对此不作限定。
示例性的,上述的电子设备在屏幕上显示候选项和目标标识,可以接收用户针对目标标识的输入,使目标标识发生移动,在目标标识与候选项中目标候选项至少部分重叠的情况下,显示与所述目标候选项对应的界面。
示例性的,如图6所示,上述的电子设备在屏幕上显示候选项和目标标识,可以接收用户针对候选项中目标候选项的输入,使候选项中目标候选项发生移动,在目标标识与候选项中目标候选项至少部分重叠的情况下,显示与所述目标候选项对应的界面。
可选的,可设置目标标识与目标候选项的重叠面积阈值,在所述目标标识与所述目标候选项重叠面积大于预设值的情况下,显示目标候选项对应的目标界面。如,设定所述目标标识与所述目标候选项完全重合的条件下,显示目标候选项对应的目标界面。
本发明实施例提供的显示方法增加了目标标识,在目标标识与目标候选项至少部分重叠的情况下,显示目标候选项对应的目标界面。本发明实施例的方法,在满足目标标识与目标候选项至少部分重叠的情况下,才能显示目标候选项对应的目标界面,减小了用户在使用过程中的误操作可能性,提升了用户体验。
示例性的,上述的步骤104具体可以包括如下步骤104a,步骤104a在上述的步骤102之前:
步骤104a:在所述屏幕的第一位置显示目标标识。
在本发明实施例中,上述第一位置可以为用户预设的位置,也可以为电子设备系统随机选择的位置。
示例性的,上述电子设备包括第一屏与第二屏,其中第二屏为可伸缩的屏幕。在所述屏幕的第一位置显示目标标识可以为在第一屏的中心区域显示目标标识,也可以为系统随机选择的区域如屏幕的边缘区域。
示例性的,上述的步骤102具体可以包括如下步骤102a:
步骤102a:控制所述屏幕伸出或者缩回,显示候选项,并在所述屏幕的第二位置显示所述目标标识,其中所述第一位置与所述第二位置不同。
本发明实施例中,上述第二位置与屏幕伸出或缩回有关。
示例性的,上述第二位置与屏幕伸出或缩回的长度有关。电子设备接收第一输入,控制屏幕伸出,如,屏幕的伸出长度为第一长度,则第二位置可以为沿着屏幕的伸出方向,距离第一位置第一长度的位置。也可以为与屏幕伸出方向相反的方向,距离第一位置第一长度的位置。
可选的,第二位置与第一位置的距离可以与屏幕的伸出长度具有预设比例关系,如预设比例为2:1,则在屏幕的伸出长度为第一长度的情况下,第二位置可以为沿着屏幕的伸出方向,距离第一位置2倍第一长度的位置。
对于第二位置与屏幕的伸出或缩回长度的对应关系,本实施例不做限定。
例如,结合图7,以具有第一屏和第二屏的电子设备为例,其中第二屏可伸缩。在第一屏上的边缘区域显示目标标识,电子设备接收用户第一输入,控制第二屏伸出5cm,显示应用图标,并在距离边缘区域5cm的位置(如图第二位置)显示目标标识,此时目标标识与目标应用图标部分重叠,电子设备显示目标应用图标对应的应用界面。
示例性的,上述第二位置与屏幕或缩回的所用的时间有关。预设移动速度为v,电子设备接收第一输入,控制屏幕伸出,如,屏幕伸出第一预设长度所用的时间为t,则第二位置可以为沿着屏幕伸出方向,距离第一位置t*v的位置。
可选的,计算第二位置与第一位置的距离时,可以选择屏幕伸出第二预设长度的平均速度v2,则第二位置可以为沿着屏幕伸出方向,距离第一位置t*v2的位置。
对于第二位置与屏幕的伸出或缩回时间的对应关系,本实施例不做限定。
例如,以具有第一屏和第二屏的电子设备为例,其中第二屏可伸缩。在第一屏上的边缘区域显示目标标识,电子设备接收用户第一输入,控制第二屏伸出,显示应用图标,其中第一预设长度为5cm,预设速度为1cm/s,第二屏伸出5cm所用时间为2s,则在距离边缘区域2cm的位置显示目标标识,此 时目标标识与目标应用图标部分重叠,电子设备显示目标应用图标对应的应用界面。
本发明实施例提供的显示方法,在控制屏幕伸出或缩回的过程中,改变目标标识的位置,在目标标识与目标候选项至少部分重叠的情况下,显示与目标候选项对应的显示界面。本发明实施例的方法由屏幕的伸出或缩回,触发改变目标标识的位置,而不需用户手动改变目标标识的位置,减少了打开目标界面的操作步骤,便于用户使用。
示例性的,上述的步骤102具体可以包括如下步骤102b:
步骤102b:控制所述屏幕伸出,显示第一候选项;在所述屏幕的伸出长度大于第一预设值的情况下,显示第二候选项;
本实施例中,第一候选项与第二候选项不同,其中第一候选项与第二候选项可以为部分不同,也可以为全部内容不同,对此,本实施例在此不做限定。
示例性的,第一候选项与第二候选项的内容为部分不同,即在屏幕伸出长度大于第一预设值后,候选项的内容进行部分更新。如控制屏幕伸出后,显示第一候选项,候选项内容为图标1,图标2,图标3,图标4,第一预设值为3cm,在屏幕的伸出长度大于3cm时,显示第二候选项,候选项的内容为图标2,图标3,图标4,图标5。
示例性的,第一候选项与第二候选项的内容为完全不同,即在屏幕伸出长度大于第二预设值后,候选项的内容全部更新。如控制屏幕伸出后,显示第一候选项,候选项内容为图标1,图标2,图标3,图标4,第一预设值为3cm,在屏幕的伸出长度大于3cm时,显示第二候选项,候选项的内容为图标5,图标6,图标7。
示例性的,上述的步骤103具体可以包括如下步骤103b:
步骤103b:在所述屏幕的长度保持不变的时长大于第二预设值的情况下,显示与所述目标候选项对应的目标界面,其中所述目标候选项为所述第二候选项相对于所述第一候选项增加的候选项。
本实施例中,所述屏幕的长度保持不变的时长即未接收到第一输入的时长,所述第二候选项相对于所述第一候选项增加的候选项可以为一个也可以 为多个。
示例性的,若第二候选项相对于所述第一候选项增加的候选项可以为一个,则增加的候选项为目标候选项,则在屏幕的长度保持不变的时长大于第二预设值的情况下,显示与目标候选项对应的界面。
示例性的,在解锁场景下,若增加的候选项为多个,则将多个候选项与预设候选项进行比较,若与预设候选项匹配则显示解锁后的界面。
可选的,多个候选项不做顺序的区分,即候选项的内容与预设候选项对应即可实现解锁。例如,第二预设值为2s,预设候选项为7、3、5、1。电子设备接收第一输入,显示的第一候选项为2、4、6,在电子设备的屏幕未发生改变的时长大于2s的情况下,显示的第二候选项内容为1、2、3、4、5、6、7,则第二候选项相对于第一候选项增加的内容为1、3、5、7,此时增加的候选项相对于预设候选项具有对应关系,因此电子设备解锁成功,显示解锁后的界面。
可选的,在第二候选项相对于第一候选项增加多个候选项的情况下,候选项的顺序可根据预设方向确定,例如,第二预设值为2s,预设候选项为7、3、5、1,预设方向为屏幕的伸出方向。电子设备接收第一输入,显示的第一候选项为2,4,6,在电子设备的屏幕未发生改变的时长大于2s的情况下,沿着屏幕伸出的方向,显示的第二候选项内容为1、2、3、4、5、6、7,则第二候选项相对于第一候选项增加的内容为1、3、5、7,此时增加的候选项与预设候选项不匹配,因此电子设备解锁失败。
示例性的,在打开应用界面的情况下,若增加的候选项为多个,则分屏显示目标候选项对应的目标界面。
例如,在第二候选项相对于第一候选项增加多个候选项的情况下,第二预设值为2s。电子设备接收第一输入,显示的第一候选项为图标1、图标2,在电子设备的屏幕未发生改变的时长大于2s的情况下,显示的第二候选项内容为图标3、图标4,则第二候选项相对于第一候选项增加的内容为图标3、图标4,此时屏幕分为两部分分别显示图标3和图标4对应的目标应用界面。
本实施例中,在电子设备的屏幕满足一定条件下,可对候选项的内容进行更新,以使在屏幕显示的候选项不包含用户需要的候选项时,可更新显示 的候选项,直至显示用户需要的候选项,提升用户体验。
示例性的,电子设备包括第一屏和第二屏,上述的步骤202具体可以包括如下步骤202c:
步骤202c:控制所述第二屏伸出或缩回,并在所述第一屏显示候选项且所述候选项在所述第一屏上移动,其中所述候选项的移动距离与所述第二屏的伸出长度或缩回长度相关。
本实施例中,第二屏为可以伸缩的屏幕,需要说明的是,本实施例中第一屏和第二屏可以均为刚性屏,可以均为柔性屏,也可以为一个柔性屏,一个刚性屏,对此,本实施例不做限定。
本实施例中,可以控制第二屏伸出或缩回,在第一屏显示候选项且候选项在第一屏上移动,也可以为先在第一屏上显示候选项,控制第二屏伸出或缩回后,移动候选项,也可以为接收第一输入后,控制第二屏伸出或缩回,显示候选项并移动候选项同时进行,对于第二屏伸出或缩回及显示候选项的顺序,本实施例不做限定。
本实施例中,第二屏可伸出和缩回其中所述候选项的移动距离与所述第二屏的伸出长度或缩回长度相关,可以为在第二屏伸出的情况下,候选项沿着屏幕的伸出方向移动,在第二屏缩回的情况下,候选项沿着屏幕的缩回方向移动,可以为在第二屏伸出的情况下,候选项沿着屏幕的伸出方向相反方向移动,在第二屏缩回的情况下,候选项沿着屏幕的缩回方向的相反方向移动,对于候选项的移动方向,本实施例不做限定。
本实施例中,所述候选项的移动距离与所述第二屏的伸出长度或缩回长度相关,可以为候选项的移动距离与第二屏的伸出长度或缩回长度相等,也可以为候选项的移动距离与第二屏的伸出长度或缩回长度具有预设比例。
例如,电子设备接收第一输入,控制第二屏伸出,第一屏在边缘显示候选项,获取第二屏伸出长度为3cm,则在候选项沿着第二屏的伸出方向移动3cm。
可选的,电子设备接收第一输入,控制第二屏伸出,第一屏显示候选项并移动候选项,其中第二屏的伸出速度与候选项的移动速度相同。
例如,设定预设比例为2:1,电子设备接收第一输入,控制第二屏伸出, 第一屏在边缘显示候选项,获取第二屏伸出长度为3cm,则在候选项沿着第二屏的伸出方向移动1.5cm。
可选的,设定预设比例为2:1,电子设备接收第一输入,控制第二屏伸出,第一屏显示候选项并移动候选项,其中第二屏的伸出速度为2cm/s,则候选项的移动速度为1cm/s。
示例性的,电子设备包括第一屏和第二屏,上述的步骤203具体可以包括如下步骤203c:
步骤203c:在所述候选项中的目标候选与所述第一屏的目标区域至少部分重叠的情况下,显示与所述目标候选项对应的目标界面
本实施例中,目标区域可以为预设的区域,也可以为在显示候选项后,用户对屏幕的触控输入确定的区域。目标区域的形状可以为正方形,圆形等任何形状,目标区域的大小可以为根据用户需求制定。
示例性的,如图8所示,预设的区域为位于第一屏圆形区域。电子设备接收第一输入,控制第二屏伸出,第一屏显示候选项,且候选项沿着第二屏的伸出方向移动,在第一屏中心的圆形区域与目标候选项至少部分重叠的情况下,显示目标候选项对应的界面。
可选的,可以设定目标候选项与目标区域的重叠面积大于预设值的情况下,显示目标候选项对应的显示界面。
可选的,预设区域可以与多个候选项至少部分重叠,即具有多个目标候选项。例如,在解锁场景下,预设候选项为1、2、3,电子设备接收第一输入,控制第二屏伸出,第一屏显示数字1、2、3、4、5、6,即候选项,且候选项沿着第二屏的伸出方向移动,在第一屏中心的圆形区域与1,2,3至少部分重叠的情况下,目标候选项为1、2、3,目标候选项1、2、3与预设候选项匹配,则电子设备显示解锁后的界面。
可选的,在多个目标候选项与预设区域至少部分重叠的情况下,可按预设规则确定目标候选项的顺序。
例如,在打开应用界面的场景下,电子设备接收第一输入,控制第二屏伸出,第一屏显示图标1、图标2、图标3、图标4,即候选项,且候选项沿着第二屏的伸出方向移动,在第一屏中心的圆形区域与图标1,图标2至少部 分重叠的情况下,目标候选项为图标1和图标2,则电子设备分屏显示图标1和图标2对应的显示界面。
本实施例中,电子设备包括第一屏和第二屏,其中第二屏为可伸缩的屏幕,候选项可根据第二屏的伸出或缩回移动,在目标区域与目标候选项匹配的情况下,显示目标候选项对应的显示界面,应用本实施例提供的方法可选择多个目标候选项,增加用户的使用场景,可实现快速解锁或启动多个应用程序,提高用户体验。
需要说明的是,本发明实施例中,上述各个附图所示的控制方法均是以结合本发明实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的控制方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。
如图9所示,本发明实施例提供一种电子设备900。该电子设备可以包括接收模块901、处理模块902和第一显示模块903。接收模块901,可以用于接收第一输入。处理模块902,可以用于响应于接收模块901接收的第一输入,控制所述屏幕伸出或者缩回,并显示候选项,第一显示模块903,可以用于在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。
可选的,结合图9,如图10所示,本发明实施例提供的电子设备还可以包括第二显示模块904。第二显示模块904,可以用于显示目标标识。第一显示模块903,还可以用于在所述目标标识与所述候选项中目标候选项至少部分重叠的情况下,显示与所述目标候选项对应的目标界面。
可选的,第二显示模块904,具体可以用于在接收第一输入之前,在所述屏幕的第一位置显示目标标识。第一显示模块903,还可以用于控制所述屏幕伸出或者缩回,显示候选项,并在所述屏幕的第二位置显示所述目标标识。
其中,所述第一位置与所述第二位置不同
可选的,第一显示模块903还用于,控制所述屏幕伸出,显示第一候选项。其中;在所述屏幕的伸出长度大于第一预设值的情况下,第一显示模块903还用于显示第二候选项;所述第二显示模块904还用于在所述屏幕的长度保持不变的时长大于第二预设值的情况下,显示与所述目标候选项对应的 目标界面,其中所述目标候选项为所述第二候选项相对于所述第一候选项增加的候选项。
可选的,所述电子设备还包括第一屏和第二屏,所述第一显示模块903还用于,控制所述第二屏伸出或缩回,并在所述第一屏显示候选项且所述候选项在所述第一屏上移动,其中所述候选项的移动距离与所述第二屏的伸出长度或缩回长度相关;所述第二显示模块904还用于在所述候选项中的目标候选与所述第一屏的目标区域重叠的情况下,显示与所述目标候选项对应的目标界面。
本发明实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
本发明实施例提供一种电子设备,一方面,在目标候选项用于解锁的情况下,获取目标候选项,在目标候选项与预设候选项时,则完成解锁,以实现在屏幕伸缩过程中即可完成解锁,减少配备长度或宽度可伸缩的屏幕的电子设备的解锁耗时,并增加解锁趣味性。另一方面,在目标候选项用于指示应用程序或快捷功能入口的情况下,获取目标候选项后,即可打开与目标候选项对应的应用程序界面或快捷功能界面,以实现在第一屏伸出过程中即可完成进入应用程序界面的功能,减少配备长度或宽度可伸缩的屏幕的电子设备启动应用的耗时,并增加趣味性,提升用户体验。
图11为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图11所示,该电子设备200包括但不限于:射频单元201、网络模块202、音频输出单元203、输入单元204、传感器205、显示单元206、用户输入单元207、接口单元208、存储器209、处理器210、以及电源211等部件。本领域技术人员可以理解,图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。
其中,处理器210,用于接收第一输入,响应于第一输入,控制所述屏幕伸出或者缩回,还用于控制显示单元206显示候选项。在所述候选项中的目标候选项满足预设条件下,处理器210还用于控制显示单元206显示与所述 目标候选项对应的目标界面。
处理器210还用于控制显示单元206显示目标标识,在所述目标标识与所述候选项中目标候选项至少部分重叠的情况下,处理器210还用于控制显示单元206显示与所述目标候选项对应的目标界面。
处理器210还用于响应所述第一输入,控制所述屏幕伸出或者缩回,并在显示候选项之前,控制显示单元206在所述屏幕的第一位置显示目标标识,处理器210还用于控制所述屏幕伸出或者缩回,并控制显示单元206显示候选项,并在所述屏幕的第二位置显示所述目标标识,其中,所述第一位置与所述第二位置不同
处理器210还用于控制所述屏幕伸出,并控制显示单元206在所述屏幕的伸出长度小于第一预设值的情况下,显示第一候选项;在所述屏幕的伸出长度大于第一预设值的情况下,显示第二候选项,所述第二显示模块还用于在所述屏幕的长度保持不变的时长大于第二预设值的情况下,处理器210还用于控制显示单元206显示与所述目标候选项对应的目标界面,其中所述目标候选项为所述第二候选项相对于所述第一候选项增加的候选项。
对于具有第一屏和第二屏的电子设备,处理器210还用于控制所述第二屏伸出或缩回,并控制在所述第一屏显示候选项且所述候选项在所述第一屏上移动,其中所述候选项的移动距离与所述第二屏的伸出长度或缩回长度相关;
处理器210还用于控制控制显示单元206在所述候选项中的目标候选与所述第一屏的目标区域重叠的情况下,显示与所述目标候选项对应的目标界面。
本发明实施例提供一种电子设备,一方面,在目标候选项用于解锁的情况下,获取目标候选项,在目标候选项与预设候选项时,则完成解锁,以实现在屏幕伸缩过程中即可完成解锁,减少具有伸缩柔性屏的电子设备的解锁耗时,并增加解锁趣味性。另一方面,在目标候选项用于指示应用程序或快捷功能入口的情况下,获取目标候选项后,即可打开与目标候选项对应的应用程序界面或快捷功能界面,以实现在第一屏伸出过程中即可完成进入应用程序界面的功能,减少具有柔性屏的电子设备的进入应用的耗时,并增加趣味 性,提升用户体验。
应理解的是,本发明实施例中,射频单元201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器210处理;另外,将上行的数据发送给基站。通常,射频单元201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元201还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元203可以将射频单元201或网络模块202接收的或者在存储器209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元203还可以提供与电子设备200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元203包括扬声器、蜂鸣器以及受话器等。
输入单元204用于接收音频或视频信号。输入单元204可以包括图形处理器(Graphics Processing Unit,GPU)2041和麦克风2042,图形处理器2041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元206上。经图形处理器2041处理后的图像帧可以存储在存储器209(或其它存储介质)中或者经由射频单元201或网络模块202进行发送。麦克风2042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元201发送到移动通信基站的格式输出。
电子设备200还包括至少一种传感器205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2061的亮度,接近传感器可在电子设备200移动到耳边时,关闭显示面板2061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、 敲击)等;传感器205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元206用于显示由用户输入的信息或提供给用户的信息。显示单元206可包括显示面板2061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板2061。
用户输入单元207可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元207包括触控面板2071以及其他输入设备2072。触控面板2071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2071上或在触控面板2071附近的操作)。触控面板2071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器210,接收处理器210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2071。除了触控面板2071,用户输入单元207还可以包括其他输入设备2072。具体地,其他输入设备2072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板2071可覆盖在显示面板2061上,当触控面板2071检测到在其上或附近的触摸操作后,传送给处理器210以确定触摸事件的类型,随后处理器210根据触摸事件的类型在显示面板2061上提供相应的视觉输出。虽然在图11中,触控面板2071与显示面板2061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板2071与显示面板2061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元208为外部装置与电子设备200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线 或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备200内的一个或多个元件或者可以用于在电子设备200和外部装置之间传输数据。
存储器209可用于存储软件程序以及各种数据。存储器209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器210是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器209内的软件程序和/或模块,以及调用存储在存储器209内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器210可包括一个或多个处理单元;可选的,处理器210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器210中。
电子设备200还可以包括给各个部件供电的电源211(比如电池),可选的,电源211可以通过电源管理系统与处理器210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备200包括一些未示出的功能模块,在此不再赘述。
可选的,本发明实施例还提供一种电子设备,包括如图11所示的处理器210,存储器209,存储在存储器209上并可在处理器210上运行的计算机程序,该计算机程序被处理器210执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算 机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例描述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (14)

  1. 一种显示方法,应用于电子设备,所述电子设备具有长度或宽度可伸缩的屏幕;所述方法包括:
    接收第一输入;
    响应于所述第一输入,控制所述屏幕伸出或者缩回,并显示候选项;
    在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。
  2. 根据权利要求1所述的方法,其中,所述在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面之前,所述方法包括:
    显示目标标识;
    所述在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面,包括:
    在所述目标标识与所述候选项中目标候选项至少部分重叠的情况下,显示与所述目标候选项对应的目标界面。
  3. 根据权利要求2所述的方法,其中,所述显示目标标识,包括:
    在响应所述第一输入,控制所述屏幕伸出或者缩回,并显示候选项之前,在所述屏幕的第一位置显示目标标识;
    所述控制所述屏幕伸出或者缩回,并显示候选项,包括:
    控制所述屏幕伸出或者缩回,显示候选项,并在所述屏幕的第二位置显示所述目标标识;
    其中,所述第一位置与所述第二位置不同。
  4. 根据权利要求1所述的方法,其中,所述控制所述屏幕伸出,并显示候选项,包括:
    控制所述屏幕伸出;
    在所述屏幕的伸出长度小于第一预设值的情况下,显示第一候选项;
    在所述屏幕的伸出长度大于第一预设值的情况下,显示第二候选项;
    所述在所述候选项中目标候选项满足预设条件下,显示与所述目标候选 项对应的目标界面,包括:
    在所述屏幕的长度保持不变的时长大于第二预设值的情况下,显示与所述目标候选项对应的目标界面,其中,所述目标候选项为所述第二候选项相对于所述第一候选项增加的候选项。
  5. 根据权利要求1所述的方法,其中,所述电子设备包括第一屏和第二屏,所述控制所述屏幕伸出或者缩回,并显示候选项,包括:
    控制所述第二屏伸出或缩回,在所述第一屏显示候选项,且所述候选项在所述第一屏上的显示位置随所述第二屏的伸出长度或缩回长度变化;
    所述在所述候选项中目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面,包括:
    在所述候选项中的目标候选项与所述第一屏的目标区域至少部分重叠的情况下,显示与所述目标候选项对应的目标界面。
  6. 一种电子设备,所述电子设备包括长度或宽度可伸缩的屏幕,所述电子设备还包括:
    接收模块,用于接收第一输入;
    响应模块,控制所述屏幕伸出或者缩回,并显示候选项;
    第一显示模块,用于在所述候选项中的目标候选项满足预设条件下,显示与所述目标候选项对应的目标界面。
  7. 根据权利要求6所述的电子设备,还包括:
    第二显示模块,用于显示目标标识;
    所述第一显示模块还用于,在所述目标标识与所述候选项中目标候选项至少部分重叠的情况下,显示与所述目标候选项对应的目标界面。
  8. 根据权利要求7所述的电子设备,其中,所述第二显示模块还用于在响应所述第一输入,控制所述屏幕伸出或者缩回,并显示候选项之前,在所述屏幕的第一位置显示目标标识;
    所述第一显示模块还用于控制所述屏幕伸出或者缩回,显示候选项,并在所述屏幕的第二位置显示所述目标标识;
    其中,所述第一位置与所述第二位置不同。
  9. 根据权利要求6所述的电子设备,其中:
    所述第一显示模块还用于,控制所述屏幕伸出;
    在所述屏幕的伸出长度小于第一预设值的情况下,显示第一候选项;
    在所述屏幕的伸出长度大于第一预设值的情况下,显示第二候选项;
    所述第二显示模块还用于在所述屏幕的长度保持不变的时长大于第二预设值的情况下,显示与所述目标候选项对应的目标界面,其中所述目标候选项为所述第二候选项相对于所述第一候选项增加的候选项。
  10. 根据权利要求6所述的电子设备,还包括第一屏和第二屏:
    所述第一显示模块还用于,控制所述第二屏伸出或缩回,并在所述第一屏显示候选项且所述候选项在所述第一屏上移动,其中所述候选项的移动距离与所述第二屏的伸出长度或缩回长度相关;
    所述第二显示模块还用于,在所述候选项中的目标候选与所述第一屏的目标区域重叠的情况下,显示与所述目标候选项对应的目标界面。
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的显示方法的步骤。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的显示方法的步骤。
  13. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5任一项所述的显示方法。
  14. 一种电子设备,被配置成用于执行如权利要求1-5任一项所述的显示方法。
PCT/CN2021/083911 2020-04-03 2021-03-30 显示方法及电子设备 WO2021197315A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2022555975A JP7469502B2 (ja) 2020-04-03 2021-03-30 表示方法及び電子機器
EP21779177.1A EP4130950A4 (en) 2020-04-03 2021-03-30 DISPLAY METHOD AND ELECTRONIC DEVICE
KR1020227037455A KR20220158816A (ko) 2020-04-03 2021-03-30 디스플레이 방법 및 전자 장치
US17/903,778 US20220415228A1 (en) 2020-04-03 2022-09-06 Display method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010260738.7A CN111459367B (zh) 2020-04-03 2020-04-03 一种显示方法及电子设备
CN202010260738.7 2020-04-03

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/903,778 Continuation US20220415228A1 (en) 2020-04-03 2022-09-06 Display method and electronic device

Publications (1)

Publication Number Publication Date
WO2021197315A1 true WO2021197315A1 (zh) 2021-10-07

Family

ID=71682313

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083911 WO2021197315A1 (zh) 2020-04-03 2021-03-30 显示方法及电子设备

Country Status (6)

Country Link
US (1) US20220415228A1 (zh)
EP (1) EP4130950A4 (zh)
JP (1) JP7469502B2 (zh)
KR (1) KR20220158816A (zh)
CN (1) CN111459367B (zh)
WO (1) WO2021197315A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459367B (zh) * 2020-04-03 2022-04-22 维沃移动通信有限公司 一种显示方法及电子设备
CN112269555A (zh) * 2020-11-16 2021-01-26 Oppo广东移动通信有限公司 显示控制方法、装置、存储介质及电子设备
CN112506404B (zh) * 2020-12-02 2023-12-22 维沃移动通信有限公司 屏幕解锁方法、装置、设备和存储介质
CN112698896B (zh) * 2020-12-25 2024-05-31 维沃移动通信有限公司 文本显示方法和电子设备
CN113204304B (zh) * 2021-04-28 2023-07-04 Oppo广东移动通信有限公司 控制方法及装置、计算机可读介质和电子设备
CN113835662A (zh) * 2021-09-24 2021-12-24 维沃移动通信有限公司 屏幕交互方法和装置
CN114125307B (zh) * 2021-12-30 2024-02-02 维沃移动通信有限公司 拍摄方法、装置、电子设备和可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201055A (zh) * 2015-05-27 2016-12-07 Lg电子株式会社 柔性显示装置及其操作方法
CN106484174A (zh) * 2015-08-26 2017-03-08 Lg电子株式会社 柔性显示装置及其操作方法
US20170255357A1 (en) * 2016-03-03 2017-09-07 Kyocera Document Solutions Inc. Display control device
CN107562336A (zh) * 2017-08-01 2018-01-09 努比亚技术有限公司 一种控制悬浮球的方法、设备及计算机可读存储介质
CN109597551A (zh) * 2018-11-21 2019-04-09 维沃移动通信有限公司 一种显示控制方法及终端设备
CN109725773A (zh) * 2018-12-29 2019-05-07 维沃移动通信有限公司 一种柔性屏的控制方法及终端
CN111459367A (zh) * 2020-04-03 2020-07-28 维沃移动通信有限公司 一种显示方法及电子设备

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5422993A (en) * 1991-12-17 1995-06-06 International Business Machines Corporation Method and system for performing direct manipulation operations in a computer system
US7760187B2 (en) * 2004-07-30 2010-07-20 Apple Inc. Visual expander
EP2060970A1 (en) 2007-11-12 2009-05-20 Research In Motion Limited User interface for touchscreen device
US9383775B2 (en) * 2012-02-07 2016-07-05 Lg Electronics Inc. Icon display method for a pull-out display device
US20130234951A1 (en) * 2012-03-09 2013-09-12 Jihwan Kim Portable device and method for controlling the same
KR102047690B1 (ko) * 2013-01-24 2019-11-22 엘지전자 주식회사 포터블 디바이스 및 그의 제어 방법
US9891662B2 (en) * 2013-03-04 2018-02-13 Lg Electronics Inc. Double unlocking apparatus of a portable device equipped with an expandable display and controlling method thereof
US8860656B1 (en) * 2013-04-18 2014-10-14 Lg Electronics Inc. Portable device and control method for the same
KR102319684B1 (ko) * 2015-06-22 2021-11-02 엘지전자 주식회사 변형 가능한 디스플레이 장치 및 그의 동작 방법
KR102485147B1 (ko) * 2015-07-06 2023-01-06 엘지전자 주식회사 변형 가능한 디스플레이 장치 및 그의 동작 방법
KR102500060B1 (ko) 2015-11-18 2023-02-16 삼성전자주식회사 전자 장치 및 이의 제어 방법
US20180137840A1 (en) 2016-11-17 2018-05-17 Fuji Xerox Co., Ltd. Terminal apparatus and non-transitory computer readable medium
CN106648382B (zh) * 2017-02-28 2019-03-01 维沃移动通信有限公司 一种图片浏览方法和移动终端
CN107705708B (zh) * 2017-10-19 2019-12-13 华勤通讯技术有限公司 显示屏的显示控制方法及系统
CN108536411A (zh) * 2018-04-12 2018-09-14 维沃移动通信有限公司 一种移动终端控制方法及移动终端
CN108810210B (zh) * 2018-06-29 2021-02-19 联想(北京)有限公司 电子设备及电子设备的变形方法
CN109116983B (zh) * 2018-07-23 2021-10-22 Oppo广东移动通信有限公司 移动终端控制方法、装置、移动终端及计算机可读介质
CN109325336B (zh) * 2018-10-19 2024-04-19 北京小米移动软件有限公司 解锁方法、装置及计算机可读存储介质
CN109976657A (zh) * 2019-03-28 2019-07-05 维沃移动通信有限公司 一种控制方法及移动终端
CN110764575A (zh) * 2019-10-08 2020-02-07 Oppo广东移动通信有限公司 显示控制方法、装置以及存储介质
CN110837296B (zh) * 2019-10-24 2021-09-17 维沃移动通信有限公司 一种应用分身管理方法及电子设备

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201055A (zh) * 2015-05-27 2016-12-07 Lg电子株式会社 柔性显示装置及其操作方法
CN106484174A (zh) * 2015-08-26 2017-03-08 Lg电子株式会社 柔性显示装置及其操作方法
US20170255357A1 (en) * 2016-03-03 2017-09-07 Kyocera Document Solutions Inc. Display control device
CN107562336A (zh) * 2017-08-01 2018-01-09 努比亚技术有限公司 一种控制悬浮球的方法、设备及计算机可读存储介质
CN109597551A (zh) * 2018-11-21 2019-04-09 维沃移动通信有限公司 一种显示控制方法及终端设备
CN109725773A (zh) * 2018-12-29 2019-05-07 维沃移动通信有限公司 一种柔性屏的控制方法及终端
CN111459367A (zh) * 2020-04-03 2020-07-28 维沃移动通信有限公司 一种显示方法及电子设备

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
JP2023519184A (ja) 2023-05-10
EP4130950A1 (en) 2023-02-08
CN111459367B (zh) 2022-04-22
CN111459367A (zh) 2020-07-28
JP7469502B2 (ja) 2024-04-16
US20220415228A1 (en) 2022-12-29
EP4130950A4 (en) 2023-10-18
KR20220158816A (ko) 2022-12-01

Similar Documents

Publication Publication Date Title
WO2021197315A1 (zh) 显示方法及电子设备
CN110462556B (zh) 显示控制方法及装置
WO2021083052A1 (zh) 对象分享方法及电子设备
WO2021104365A1 (zh) 对象分享方法及电子设备
CN111596845B (zh) 显示控制方法、装置及电子设备
WO2020063091A1 (zh) 一种图片处理方法及终端设备
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2021169959A1 (zh) 应用程序启动方法及电子设备
WO2021012931A1 (zh) 图标管理方法及终端
WO2021057337A1 (zh) 操作方法及电子设备
WO2021012927A1 (zh) 图标显示方法及终端设备
WO2021115278A1 (zh) 群组管理方法及电子设备
CN109828850B (zh) 一种信息显示方法及终端设备
CN108897473B (zh) 一种界面显示方法及终端
WO2020151460A1 (zh) 对象处理方法及终端设备
WO2021129536A1 (zh) 图标移动方法及电子设备
WO2020215950A1 (zh) 界面显示方法及终端设备
WO2021109961A1 (zh) 快捷标识生成方法、电子设备及介质
EP3964938A1 (en) Application interface displaying method and mobile terminal
WO2020001604A1 (zh) 显示方法及终端设备
CN108170329B (zh) 一种显示控制方法及终端设备
CN109901976B (zh) 一种应用程序的管理方法及终端设备
WO2020211596A1 (zh) 控制方法及终端设备
CN111338530A (zh) 应用程序图标的控制方法和电子设备
CN111026350A (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: 21779177

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022555975

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20227037455

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2021779177

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2021779177

Country of ref document: EP

Effective date: 20221103

NENP Non-entry into the national phase

Ref country code: DE