Display method and electronic device

The display method for stretchable screens in electronic devices addresses cumbersome operations by enabling simultaneous unlocking and application access through screen stretching, enhancing user engagement and efficiency.

JP7715867B2Active Publication Date: 2025-07-30VIVO MOBILE COMM CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024061130
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-04-03
Filing Date
2024-04-04
Publication Date
2025-07-30
Estimated Expiration
2041-03-30

AI Technical Summary

Technical Problem

The operation of electronic devices with stretchable screens is cumbersome and lacks user engagement due to monotonous unlocking methods and lengthy access processes to application screens.

Method used

A display method and electronic device that control the screen to stretch or shrink in response to user input, displaying candidate items for unlocking or accessing applications, and activate the target screen when a preset condition is met.

Benefits of technology

This method reduces unlocking time and enhances user experience by allowing simultaneous screen expansion and unlocking, as well as direct access to application screens, increasing the interest and efficiency of operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007715867000001
    Figure 0007715867000001
  • Figure 0007715867000002
    Figure 0007715867000002
  • Figure 0007715867000003
    Figure 0007715867000003
Patent Text Reader

Abstract

To solve the problem that conventionally, when an electronic apparatus provided with a screen with extensible and contractible length or width is used, operation is troublesome, and user experience is not good.SOLUTION: There are provided a display device and an electronic apparatus which include the steps of: accepting first input; controlling the extension and the contraction of the screen in response to the first input, and displaying candidate items; and displaying a target screen corresponding to the target candidate item, when a target candidate item among the candidate items satisfies a previously-set condition.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

Cross-reference to Related Applications

[0001] This application claims the priority of Chinese Patent Application No. 202010260738.7, filed in China on April 3, 2020, the entire content of which is incorporated herein by reference.

Technical Field

[0002] The present invention relates to the field of communication technologies, and in particular, to a display method and an electronic device.

Background Art

[0003] With the development and progress of science and technology, the popularity of electronic devices has been advancing, and the functions equipped in electronic devices have become diverse. For example, communication functions, photo shooting functions, video shooting functions, etc. have become essential functions of electronic devices. To access the home screen, the user needs to unlock the electronic device. Various application icons can be displayed on the screen of the electronic device, and when an icon is operated, the corresponding application can be opened.

[0004] In the prior art, for an electronic device equipped with a screen whose length or width is stretchable, after expanding the entire screen of the electronic device, it is necessary to operate according to the content on the screen. For example, an electronic device equipped with a screen whose length or width is stretchable displays a standby screen after being unlocked. As a conventional unlocking method, unlocking is completed based on the password set by the user, a gesture, or the fingerprint information of the user. The unlocking method is monotonous and not interesting. On the other hand, when the user tries to access a certain application screen, it is necessary to expand the screen to complete unlocking, then access the home screen, and then tap the corresponding icon to access the application corresponding to the icon. The operation is cumbersome and the user experience is not good.

Summary of the Invention

Problems to be Solved by the Invention

[0005] Embodiments of the present invention provide a method and an electronic device to solve the problem that when using an electronic device with a screen whose length or width is stretchable, the operation is cumbersome and the user experience is not good.

Means for Solving the Problem

[0006] To solve the above technical problem, the present invention is realized as follows.

[0007] In a first aspect, embodiments of the present invention provide a display method applied to an electronic device with a screen whose length or width is stretchable. The method includes: receiving a first input; in response to the first input, controlling the screen to stretch or shrink and displaying candidate items; and when a target candidate item among the candidate items meets a preset condition, displaying a target screen corresponding to the target candidate item.

[0008] In a second aspect, embodiments of the present invention provide an electronic device. The electronic device includes a reception module, a response module, and a first display module. The reception module is configured to receive a first input. The response module is configured to control the screen to stretch or shrink and display candidate items. The first display module is configured to display a target screen corresponding to the target candidate item when the target candidate item among the candidate items meets a preset condition.

[0009] In a third aspect, embodiments of the present invention provide an electronic device including a processor, a memory, and a computer program stored in the memory and executable by the processor. When the computer program is executed by the processor, the steps of the display method provided in the first aspect are realized.

[0010] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, realizes the steps of the display method provided in the first aspect.

Advantages of the Invention

[0011] In an embodiment of the present invention, an electronic device includes a screen whose length or width is stretchable, receives a first input, and in response to the first input, controls the screen to stretch or shrink, displays candidate items, and when a target candidate item among the candidate items meets a preset condition, can display a target screen corresponding to the target candidate item. According to this technical means, when the target candidate item is used for unlocking, when acquiring the target candidate item and a preset candidate item, the unlocking is completed, thereby enabling unlocking during the screen stretching and shrinking process, reducing the time taken for unlocking an electronic device with a screen whose length or width is stretchable, and realizing an increase in the interestingness of unlocking. On the other hand, when the target candidate item is used to indicate an application or a shortcut function entry, when the target candidate item is acquired, an application screen or a shortcut function screen corresponding to the target candidate item can be opened, thereby enabling the function of accessing the application screen during the process of the first screen stretching, reducing the time taken for starting an application in an electronic device with a screen whose length or width is stretchable, increasing the interestingness, and realizing an improvement in the user experience.

Brief Description of the Drawings

[0012] To more clearly illustrate the technical solution means of the embodiments of the present invention, the drawings necessary for describing the embodiments of the present invention are briefly described below. Of course, the drawings in the following description are only a part of the embodiments of the present invention, and those skilled in the art can conceive of other drawings from these drawings without creative effort.

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Embodiments for Carrying Out the Invention

[0013] Hereinafter, with reference to the drawings in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described. Of course, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present invention.

[0014] The "and / or" of technical terms in this specification is for describing the relevant relationships of relevant objects, indicating that three relationships are possible. For example, "A and / or B" may indicate three cases: only A exists, A and B exist simultaneously, and only B exists. The " / " of the reference signs in this specification indicates the "or" relationship between relevant objects. For example, "A / B" indicates A or B.

[0015] The technical terms such as "first", "second", etc. in the description and claims of the present invention are not for describing a specific order of objects, but for distinguishing different objects. For example, the first region, the second region, etc. are not for describing a specific order of regions, but for distinguishing different regions.

[0016] In the embodiments of the present invention, terms such as "exemplary" or "for example" are for indicating examples, illustrations or explanations. Any embodiment or design 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 designs. Strictly speaking, terms such as "exemplary" or "for example" are used for the purpose of indicating relevant concepts in a specific form.

[0017] In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "a plurality" is two or more. For example, a plurality of elements means two or more elements.

[0018] Embodiments of the present invention provide a display method and an electronic device. The electronic device includes a screen whose length or width is stretchable, receives a first input, and in response to the first input, controls the screen to stretch or shrink, displays candidate items, and when a target candidate item among the candidate items meets a preset condition, can display a target screen corresponding to the target candidate item. According to this technical means, when the target candidate item is used for unlocking, the target candidate item is acquired. When the target candidate item matches a preset candidate item, unlocking is completed. Thereby, unlocking is enabled during the screen stretching and shrinking process, reducing the time taken for unlocking an electronic device with a screen whose length or width is stretchable, and realizing an increase in the interestingness of unlocking. On the other hand, when the target candidate item is used to indicate an application or a shortcut function entry, when the target candidate item is acquired, an application screen or a shortcut function screen corresponding to the target candidate item can be opened. Thereby, the function of accessing the application screen during the stretching process of the first screen is achievable, reducing the time taken for starting an application in an electronic device with a screen whose length or width is stretchable, increasing the interestingness, and realizing an improvement in the user experience.

[0019] The electronic device in the embodiments of the present invention may be an electronic device having an operating system. The operating system may be an Android (registered trademark) operating system, an iOS operating system, or other possible operating systems, and is not specifically limited in the embodiments of the present invention.

[0020] Taking the Android operating system as an example, the software environment to which the display method provided by the embodiments of the present invention is applied will be described.

[0021] Figure 1 is an architectural schematic diagram of the Android operating system provided by an embodiment of the present invention. In Figure 1, the architecture of the Android operating system includes four layers, namely an application layer, an application framework layer, a system execution library layer, and a kernel layer (specifically, it may be a Linux (registered trademark) kernel layer).

[0022] The application layer includes each application (including system applications and third-party applications) within the Android operating system.

[0023] The application framework layer is the framework of the application. Developers can develop several applications based on the application framework layer while complying with the development principles of the application framework.

[0024] The system execution library layer includes libraries (also called system libraries) and the Android operating system execution environment. The libraries mainly provide various resources required by the Android operating system. The Android operating system execution environment is for providing a software environment for the Android operating system.

[0025] The kernel layer is the operating system layer of the Android operating system and is the lowest layer of the software hierarchy of the Android operating system. Based on the Linux (registered trademark) kernel, the kernel layer provides core system services and hardware-related driver programs for the Android operating system.

[0026] Taking the Android operating system as an example, in the embodiments of the present invention, a developer can develop a software program that implements the display method provided by the embodiments of the present invention based on the system architecture of the Android operating system shown in FIG. 1 described above. Thereby, the display method can be executed under the Android operating system as shown in FIG. 1. That is, a processor or an electronic device can implement the display method provided by the embodiments of the present invention by executing the software program in the Android operating system.

[0027] The electronic device in the embodiments of the present invention may be a portable terminal device or a non-portable terminal device. Exemplarily, the portable terminal device may be a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, an in-vehicle terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-portable terminal device may be a personal computer (PC), a television (TV), a cash dispenser, or a kiosk terminal, etc., and is not specifically limited in the embodiments of the present invention.

[0028] In the prior art, for an electronic device with a screen whose length or width is stretchable, after expanding the entire screen of the electronic device, it is necessary to operate according to the content on the screen. For example, an electronic device with a screen whose length or width is stretchable displays a standby screen after unlocking. However, as a conventional unlocking method, unlocking is completed based on a password set by the user, a gesture, or the fingerprint information of the user. The unlocking method is monotonous and uninteresting. On the other hand, when the user tries to access a certain application screen, it is necessary to expand the screen to complete unlocking, then access the home screen, and then tap the corresponding icon to access the application corresponding to the icon. The operation is cumbersome and the user experience is not good.

[0029] Therefore, in an embodiment of the present invention, when the user uses an electronic device with a screen whose length or width is stretchable, the screen of the electronic device is controlled to expand or contract, and candidate items (the candidate items may correspond to numbers or characters and be used for unlocking, or may correspond to application icons and be used for conveniently opening the application screen) are displayed on the screen. When a target candidate item among the candidate items meets a preset condition, the screen corresponding to the target candidate item is displayed, so that the lock can be unlocked while expanding the screen, or the application screen can be opened, saving the operation steps by the user and improving the user experience. A display method is provided.

[0030] To clarify the embodiments of the present invention more clearly, two use cases of the display method provided by the present invention are shown below.

[0031] In a first possible use case, when using an electronic device, the user expects to be able to quickly unlock it. The user may preset candidate items for matching, and the number of the candidate items may be one or more, and the content of the candidate items may be numbers, symbols, etc. (for example, set 1, 2, square, and Photo 1 as candidate items for matching). The electronic device receives a first input, controls the screen to stretch or shrink, displays the candidate items on the screen, and as necessary for explanation, the candidate items displayed on the screen include the content of the preset candidate items and the content of the non-preset candidate items. The order of the candidate items is not limited. When the target candidate item among the candidate items meets the preset conditions (for example, the user's input to the target candidate item is received), the target candidate item is selected. When there are multiple preset candidate items, after the user selects the target candidate item, the user can continuously select a second target candidate item (for example, if the target candidate item selected by the user for the first time is 1, the user can continuously select the target candidate item 2). When one or more target candidate items selected by the user match the preset candidate items, the unlocking is completed and the target screen after unlocking is displayed.

[0032] In a second possible use case, when using the electronic device, the user expects to be able to quickly access the application screen or the shortcut function screen. The electronic device receives a first input, controls the screen to stretch or shrink, displays candidate items on the screen, and the candidate items may be application icons, shortcut function icons, or other identifiers corresponding to the application screen. As necessary for explanation, the candidate items displayed on the screen may be those preset by the user, or those determined by the electronic device based on the user's usage situation and usage records, or all the contents of the home screen of the electronic device. When a target candidate item among the candidate items meets a preset condition (for example, receives an input from the user to the target candidate item), the target candidate item (for example, application icon 1) is selected, and the electronic device displays the display screen of the application corresponding to application icon 1.

[0033] Hereinafter, taking the execution entity as an electronic device as an example, the control method provided by the embodiments of the present invention will be exemplarily described.

[0034] As shown in FIG. 2, an embodiment of the present invention provides a display method. The method may include the following steps S101 to S103.

[0035] In step S101, the electronic device receives a first input.

[0036] Optionally, the first input may be an input for stretching or shrinking the screen. For example, the user may use their hand to hold and pull or press the edge of the screen to stretch or shrink the screen.

[0037] Optionally, the first input may be a touch input to the screen. When the electronic device receives the touch input, it controls the screen to expand or contract. For example, when the electronic device receives a swipe input from the user, it controls the screen to expand, and when it receives a tap input from the user, it controls the screen to contract.

[0038] Optionally, the first input may be an input to other parts of the electronic device. For example, when the electronic device detects a leftward swing input, it controls the screen to expand, when it detects a rightward swing input, it controls the screen to contract, when it detects an input to flip the screen upward, it controls the screen to expand, and when it detects an input to flip the screen downward, it controls the screen to contract.

[0039] Optionally, the first input may further be the reception of a notification message, an incoming call, etc. by the electronic device. The control operation of the electronic device corresponding to the specific input method is not limited in this embodiment.

[0040] In step S102, in response to the first input, the screen is controlled to expand or contract, and candidate items are displayed.

[0041] In an embodiment of the present invention, the candidate items may be displayed in the expanded screen area or in a preset screen area.

[0042] In an embodiment of the present invention, the candidate items may be, for example, characters such as Chinese characters, numbers, symbols, etc., or images, patterns, etc. The candidate items may also be application icons, folder icons, shortcut function icons, etc.

[0043] To illustrate with an example, taking a mobile phone with a telescopic screen as an electronic device whose screen length or width is contractible, as shown in FIG. 3, the first screen of the mobile phone is controlled to extend, and candidate items which are numbers are displayed on the second screen of the mobile phone. For example, when an input to a target number is received and the target number matches a preset number, a screen after unlocking, such as the home screen of the screen, is displayed.

[0044] Optionally, after controlling the first screen of the mobile phone to extend, candidate items which are patterns such as triangles, squares, rectangles, patterns combining triangles and squares, etc. are displayed on the second screen of the mobile phone. For example, when an input to a target pattern is received and the target pattern matches a preset pattern, a screen after unlocking may be displayed.

[0045] Optionally, after controlling the first screen of the mobile phone to extend, candidate items which are combinations of patterns and numbers such as 1, 2, 3, triangles, squares, 4, 5... are displayed on the second screen of the mobile phone. For example, when an input to a target object (target pattern or target number) is received and the target number matches a preset number, a screen after unlocking may be displayed.

[0046] In one example, the electronic device with a screen whose length or width is contractible may be a mobile phone with a flexible screen. As shown in FIG. 4, controlling the screen of the mobile phone to extend and displaying candidate items may be to display candidate items in the extended area of the screen, or to display candidate items in a partial extended area of the screen. The candidate items may be images. For example, when an input to a target image is received and the target image matches a preset image, a screen after unlocking is displayed.

[0047] Optionally, when the candidate item is an image, for example, when an input to the target image is received, a page corresponding to the target image in the album or another page corresponding to the target image in the system may be displayed.

[0048] Optionally, the image may be an image pre-set by the user, an image acquired by the system from the network, or an image acquired by the system from the album of the mobile phone. The source of the image is not limited in this embodiment.

[0049] In one example, the candidate item is an application icon. For example, when an input to the target icon is received, an application screen corresponding to the target icon is displayed. If the target icon is the application store, the home screen of the application store or a sub-page of the application store is displayed.

[0050] Optionally, the candidate item is a shortcut function icon. For example, when an input to the target shortcut function icon is received, a shortcut function screen corresponding to the target shortcut function icon is displayed. If the target shortcut function icon is a payment icon, a payment home screen may be displayed.

[0051] Optionally, the candidate item may be at least one of a number, a pattern, an application icon, a shortcut function icon, etc. When an input to the target object (target number, target pattern, target application icon, target shortcut function icon, etc.) is received, a display screen corresponding to the target object may be displayed.

[0052] In one example, the quantity of candidate items displayed on the second screen may be associated with the elongation length of the first screen. For example, when the first screen elongates, the candidate items are updated and displayed, and the quantity of the candidate items is increased.

[0053] In an embodiment of the present invention, the specific content of the above candidate items can be set by the user as needed. For example, when trying to achieve unlocking while expanding the screen, the candidate items may be numbers, symbols, patterns, etc. When trying to quickly open the application screen while expanding the screen, the candidate items may be application icons, shortcut function icons, images, etc.

[0054] In step S103, when the target candidate item among the candidate items satisfies the preset condition, the target screen corresponding to the target candidate item is displayed.

[0055] In an embodiment of the present invention, the above target screen is associated with the target candidate item, that is, the electronic device displays the target screen corresponding to the target candidate item selected by the user according to the target candidate item. As can be understood, the above target screen is not necessarily a fixed screen. That is, as corresponding to the same candidate item, in some cases, the target screen to be displayed may be different screens.

[0056] For example, when unlocking, if a pattern is set as the candidate item and the preset pattern is a square and the input to the square is accepted, the target screen after unlocking is displayed. Here, the target screen may be the home screen of the electronic device or the application screen displayed before the electronic device is locked.

[0057] Furthermore, for example, when starting an application, if an application icon is set as the candidate item and the input to the target application icon is accepted, the target screen corresponding to the target application icon is displayed. Here, the target screen may be the home screen of the application corresponding to the target application icon or the back buffer page of the application corresponding to the target application icon.

[0058] Furthermore, for example, when activating the shortcut function, a shortcut function icon is set as a candidate item. When an input to the target shortcut function icon is received, a target screen corresponding to the target shortcut function icon is displayed. Here, the target screen may be a shortcut function home screen or a target window screen corresponding to the shortcut function. If the target shortcut function icon is a payment icon, the window screen includes a scan screen, a payment code screen, etc. The electronic device can determine the target window screen according to the history record or the recent usage status.

[0059] The above preset condition may also be that an input to the candidate item has been received, thereby determining the target candidate item and displaying the target screen corresponding to the target candidate item. Also, after the target candidate item satisfies the preset condition, the target screen corresponding to the target candidate item may be displayed.

[0060] As an example, as shown in FIG. 3, the electronic device receives, for example, a first input from the user who pulls the edge of the screen to extend the screen. In response to this input, the electronic device controls the screen to extend and displays numbers, i.e., candidate items, in the extended area of the screen. Regarding the reception of the input to the above candidate item, as shown in FIG. 3, when the electronic device receives a tap input from the user to a number, for example, when the user taps the number 3, if the preset number is 3, the unlocking of the electronic device may be realized, and the home screen after unlocking may be displayed. Therefore, the electronic device can realize unlocking while expanding the screen.

[0061] Optionally, when unlocking, after selecting a target candidate item (here considered as the first candidate item), the user input can continue to be received and the target candidate item (here considered as the second candidate item) can continue to be selected. When the combination of the first candidate item and the second candidate item matches the preset candidate item, the screen after unlocking may be displayed. The quantity of the candidate items set in the case of unlocking is not limited in this embodiment.

[0062] Optionally, as shown in FIG. 3, after selecting a target candidate item, the target candidate item can be displayed in a preset area of the screen to notify the user of the selected content.

[0063] Optionally, after selecting a target candidate item, the target candidate item can be displayed in a preset area of the screen. Also, after a predetermined time has elapsed to protect the user's privacy, the target candidate item can be made invisible. As the invisible method, the display can be cancelled or it can be displayed in a second format.

[0064] Optionally, when unlocking, when the quantity of the set candidate items is not less than 2, after a target candidate item is selected, the user input can be received and the selected target candidate item can be deleted, so that the user can re-enter after accidentally selecting.

[0065] As an example, when the electronic device receives the user's first input, for example, when pulling the edge of the screen to extend the screen, in response to the input, the electronic device controls the screen to extend, displays candidate items which are numbers in the extended area of the screen, and also displays a target identifier. That the above target candidate item meets the preset condition means that, as shown in FIG. 5, after the electronic device receives the user's drag input to the target identifier, when the target identifier at least partially overlaps with the target candidate item, the target screen may be displayed. For example, when the electronic device displays candidate items which are numbers, the user drags the target identifier, and when the target identifier at least partially overlaps with the number 3, it is considered that the number 3 is selected. When the preset number is 3, unlocking is realized on the electronic device, and the screen after unlocking is displayed.

[0066] As an example, before the electronic device receives the user's first input, the electronic device displays a target identifier at a first position on the screen. When the electronic device receives the user's first input, in response to the input, the electronic device controls the screen to extend, displays candidate items which are application icons on the screen, and also displays the target identifier at a second position. That the above target candidate item meets the preset condition means that when the target identifier partially overlaps with the target application icon, the display screen corresponding to the target application icon may be displayed. For example, when the electronic device displays the target identifier at the edge of the screen, and the electronic device receives an input where the user taps a control that instructs to extend the screen on the touch panel, the electronic device controls the screen to extend, displays application icons in the extended area of the screen, and also, when the target identifier moves to the second position and the target identifier at least partially overlaps with the target application icon, the display screen corresponding to the target application icon is displayed.

[0067] Optionally, the situation where the above target identifier at least partially overlaps with the target candidate item may be such that the first region where the target identifier is located at least partially overlaps with the second region where the target candidate item is located.

[0068] In an embodiment of the present invention, the electronic device includes a screen whose length or width is stretchable, receives a first input, and in response to the first input, controls the screen to stretch or shrink, displays candidate items, and when a target candidate item among the candidate items meets a preset condition, can display a target screen corresponding to the target candidate item. According to this technical means, when the target candidate item is used for unlocking, when acquiring the target candidate item and the preset candidate item, the unlocking is completed, thereby enabling unlocking during the screen stretching and shrinking process, reducing the time taken for unlocking an electronic device provided with a screen whose length or width is stretchable, and realizing an increase in the interestingness of unlocking. On the other hand, when the target candidate item is used to indicate an application or a shortcut function entry, when the target candidate item is acquired, the application screen or the shortcut function screen corresponding to the target candidate item can be opened, thereby enabling the function of accessing the application screen during the process of the first screen stretching, reducing the time taken for starting an application in an electronic device provided with a screen whose length or width is stretchable, increasing the interestingness, and realizing an improvement in the user experience.

[0069] As an example, before the above step S103, the method may include a step S104 of displaying a target identifier.

[0070] The target identifier may be a pattern, a control, a mask, a selection frame, etc., and the specific form of the target identifier is not limited in this embodiment.

[0071] Regarding the display of the above-mentioned target identifier, the target identifier may be displayed before the electronic device receives the first input, or the target identifier may be displayed after the electronic device receives the first input.

[0072] In a first possible implementation form, for example, the electronic device is an electronic device equipped with a telescopic screen, in which the second screen is a telescopic screen, and before the electronic device receives the first input, the target identifier is displayed on the second screen. When the electronic device receives the first input, the second screen is controlled to extend, and candidate items are displayed on the second screen. By receiving an input to the target identifier, a target candidate item can be selected by the target identifier, and a target screen corresponding to the target candidate item can be displayed.

[0073] Optionally, regarding the selection of the target candidate item by the above-mentioned target identifier, after tapping the target identifier and then tapping the candidate item to determine the target candidate item, or receiving an input to the target identifier, moving the target identifier, and when the target identifier at least partially overlaps with the candidate item, the target candidate item may be determined. The selection method of the target candidate item by the target identifier is not limited in this embodiment.

[0074] In a second possible implementation form, for example, the electronic device is an electronic device equipped with a retractable screen. When the first input is received, the screen is controlled to extend, candidate items are displayed in the extended area of the screen, and the target identifier is also displayed. By receiving an input to the target identifier, a target candidate item can be selected by the target identifier, and a target screen corresponding to the target candidate item can be displayed.

[0075] As necessary to explain, when the electronic device receives the first input, the target identifier and the candidate items may be displayed simultaneously, or the candidate items may be displayed after the target identifier is displayed, or the target identifier may be displayed after the candidate items are displayed. The order of displaying the target identifier and the candidate items when the electronic device receives the first input is not limited in the embodiments of the present invention.

[0076] As an example, specifically, step S103 above may include step S103a of displaying a target screen corresponding to the target candidate item when the target identifier at least partially overlaps with the target candidate item among the candidate items.

[0077] As is necessary to explain, the fact that the above target identifier at least partially overlaps with the target candidate item may be such that a part of the area where the target identifier is located at least partially overlaps with the target area where the target candidate item is located, and it is not limited in the embodiments of the present invention.

[0078] As an example, when the above electronic device displays candidate items and a target identifier on the screen, it may receive an input to the target identifier by the user, move the target identifier, and when the target identifier at least partially overlaps with the target candidate item among the candidate items, display the screen corresponding to the target candidate item.

[0079] As an example, as shown in FIG. 6, when the above electronic device displays candidate items and a target identifier on the screen, receives an input to the target candidate item among the candidate items by the user, moves the target candidate item among the candidate items, and when the target identifier at least partially overlaps with the target candidate item among the candidate items, the screen corresponding to the target candidate item can be displayed.

[0080] Optionally, a threshold value for the overlapping area between the target identifier and the target candidate item can be set, and when the overlapping area between the target identifier and the target candidate item becomes larger than a preset value, the target screen corresponding to the target candidate item may be displayed. For example, under the condition that the target identifier completely overlaps with the target candidate item, it may be set to display the target screen corresponding to the target candidate item.

[0081] In the display method provided by an embodiment of the present invention, when a target identifier is added and the target identifier at least partially overlaps with a target candidate item, a target screen corresponding to the target candidate item is displayed. According to the method of the embodiment of the present invention, the target screen corresponding to the target candidate item can be displayed only when it satisfies that the target identifier at least partially overlaps with the target candidate item, which reduces the possibility of the user accidentally operating during the use process and improves the user experience.

[0082] As an example, specifically, step S104 described above may include step S104a below, which is the step before step S102 described above.

[0083] In step S104a, a target identifier is displayed at the first position of the screen.

[0084] In an embodiment of the present invention, the first position may be a position preset by the user or a position randomly selected by the electronic device system.

[0085] As an example, the electronic device includes a first screen and a second screen, wherein the second screen is a telescopic screen. Displaying a target identifier at the first position of the screen may be to display the target identifier in the central area of the first screen, or the system randomly selects an area, for example, to display the target identifier in the edge area of the screen.

[0086] As an example, specifically, step S102 described above may include step S102a of controlling the screen to expand or contract, displaying candidate items, and displaying the target identifier at the second position of the screen, wherein the first position and the second position are different.

[0087] In an embodiment of the present invention, the second position is related to the expansion or contraction of the screen.

[0088] As an example, the second position is related to the length by which the screen extends or contracts. When the electronic device receives a first input and controls the screen to extend, if the extension length of the screen is the first length, the second position may be a position that is separated from the first position by the first length along the extension direction of the screen. It may also be a position that is separated from the first position by the first length along the direction opposite to the extension direction of the screen.

[0089] Optionally, the distance between the second position and the first position may have a predetermined ratio relationship with respect to the extension length of the screen. For example, the predetermined ratio is 2:1. In this way, when the extension length of the screen is the first length, the second position may be a position that is separated from the first position by twice the first length along the extension direction of the screen.

[0090] The correspondence relationship between the second position and the length by which the screen extends or contracts is not limited in this embodiment.

[0091] For example, based on FIG. 7, taking an electronic device including a first screen and a second screen as an example, among them, the second screen is stretchable. A target identifier is displayed in the edge area of the first screen. The electronic device receives a first input from the user, controls the second screen to extend by 5 cm, displays an application icon, and displays the target identifier at a position 5 cm away from the edge area (the second position in the figure). At this time, the target identifier partially overlaps with the target application icon, and an application screen corresponding to the target application icon is displayed on the electronic device.

[0092] As an example, the second position is related to the time used for the screen to extend or contract. If the preset moving speed is v, and the electronic device receives a first input and controls the screen to extend. For example, if the time used for the screen to extend by the first preset length is t, the second position may be a position that is separated from the first position by t*v along the extension direction of the screen.

[0093] Optionally, when calculating the distance between the second position and the first position, the average speed v2 at which the screen extends by a second preset length may be selected. In this way, the second position may be a position that is t*v2 away from the first position along the screen extension direction.

[0094] The correspondence between the second position and the time when the screen extends or contracts is not limited in this embodiment.

[0095] For example, taking an electronic device equipped with a first screen and a second screen as an example, where the second screen is stretchable. A target identifier is displayed in the edge area of the first screen. The electronic device receives a first input from the user, controls the second screen to extend, and displays an application icon. Among them, the first preset length is 5 cm, the preset speed is 1 cm / s, and the time used for the second screen to extend by 5 cm is 2 s. In this way, the target identifier is displayed at a position 2 cm away from the edge area. At this time, the target identifier partially overlaps with the target application icon, and the application screen corresponding to the target application icon is displayed on the electronic device.

[0096] According to the display method provided by the embodiments of the present invention, in the process of controlling the screen to extend or contract, the position of the target identifier is changed. When the target identifier at least partially overlaps with the target candidate item, the display screen corresponding to the target candidate item is displayed. According to the method of the embodiments of the present invention, instead of the user manually changing the position of the target identifier, the extension or contraction of the screen triggers the change of the position of the target identifier, reducing the operation steps to open the target screen and making it convenient for the user to use.

[0097] As an example, step S102 specifically described above may include step S102b of controlling the screen to extend, displaying a first candidate item, and displaying a second candidate item when the extension length of the screen is greater than a first preset value.

[0098] In this embodiment, the first candidate item and the second candidate item are different. Among them, the first candidate item and the second candidate item may be partially different or completely different, which is not limited in this embodiment.

[0099] For example, when the contents of the first candidate item and the second candidate item are partially different, that is, when the screen extension length is greater than the first preset value, the contents of the candidate item are partially updated. For example, when the screen is controlled to extend, the first candidate item is displayed, and the candidate item contents are icon 1, icon 2, icon 3, and icon 4. When the first preset value is 3 cm and the screen extension length is greater than 3 cm, the second candidate item is displayed, and the candidate item contents are icon 2, icon 3, icon 4, and icon 5.

[0100] For example, when the contents of the first candidate item and the second candidate item are completely different, that is, when the screen extension length is greater than the second preset value, the contents of the candidate item are all updated. For example, when the screen is controlled to extend, the first candidate item is displayed, and the candidate item contents are icon 1, icon 2, icon 3, and icon 4. When the first preset value is 3 cm and the screen extension length is greater than 3 cm, the second candidate item is displayed, and the candidate item contents are icon 5, icon 6, and icon 7.

[0101] For example, specifically, step S103 may include step S103b of displaying the target screen corresponding to the target candidate item when the time duration during which the length of the screen does not change is greater than the second preset value. The target candidate item is the candidate item that has increased in the second candidate item compared to the first candidate item.

[0102] In this embodiment, the time duration during which the length of the screen does not change is, that is, the time duration during which the first input is not received. The candidate item that has increased in the second candidate item compared to the first candidate item may be one or more.

[0103] For example, if there is one candidate item that has increased in the second candidate item compared to the first candidate item, the increased candidate item becomes the target candidate item. When the length of time during which the screen does not change in this way is greater than the second preset value, the screen corresponding to the target candidate item is displayed.

[0104] For example, when unlocking, if there are multiple increased candidate items, the multiple candidate items are compared with preset candidate items. When they match the preset candidate items, the screen after unlocking is displayed.

[0105] Optionally, no order is assigned to the multiple candidate items, that is, if the content of the candidate item corresponds to the preset candidate item, unlocking can be achieved. For example, the second preset value is 2s, and the preset candidate items are 7, 3, 5, 1. The first candidate items displayed after the electronic device receives and displays the first input are 2, 4, 6. When the length of time during which the screen of the electronic device does not change becomes greater than 2s, the content of the second candidate items displayed is 1, 2, 3, 4, 5, 6, 7. Therefore, the content that has increased in the second candidate item compared to the first candidate item is 1, 3, 5, 7. At this time, since the increased candidate items have a corresponding relationship with the preset candidate items, it is assumed that the unlocking of the electronic device is successful, and the screen after unlocking is displayed.

[0106] Optionally, when a plurality of candidate items increase in the second candidate item compared to the first candidate item, the order of the candidate items may be determined according to a preset direction. For example, the second preset value is 2s, the preset candidate items are 7, 3, 5, 1, and the preset direction is the stretching direction of the screen. When the first candidate items displayed by the electronic device after receiving and displaying the first input are 2, 4, 6, and the length of time during which the screen of the electronic device does not change is greater than 2s, the content of the second candidate items displayed along the stretching direction of the screen is 1, 2, 3, 4, 5, 6, 7. Therefore, the content that increases in the second candidate item compared to the first candidate item is 1, 3, 5, 7. At this time, since the increased candidate items do not match the preset candidate items, it is assumed that the unlocking of the electronic device fails.

[0107] As an example, when opening an application screen, if there are a plurality of increased candidate items, the target screen corresponding to the target candidate item is displayed by splitting it into multiple screens.

[0108] For example, when a plurality of candidate items increase in the second candidate item compared to the first candidate item, the second preset value is 2s. When the first candidate items displayed by the electronic device after receiving and displaying the first input are icon 1 and icon 2, and the content of the second candidate items displayed when the length of time during which the screen of the electronic device does not change is greater than 2s is icon 3 and icon 4. Therefore, the content that increases in the second candidate item compared to the first candidate item is icon 3 and icon 4. At this time, the screen is split into two parts, and the target application screens corresponding to icon 3 and icon 4 are respectively displayed.

[0109] In this embodiment, when the screen of the electronic device meets a predetermined condition, the content of the candidate items can be updated. As a result, when the candidate items displayed on the screen do not include the candidate items required by the user, the candidate items can be updated and displayed until the candidate items required by the user are displayed, improving the user experience.

[0110] As an example, the electronic device includes a first screen and a second screen. Specifically, step S102 above may include step S102c of controlling the second screen to extend or contract, and displaying candidate items for moving the first screen on the first screen, and the moving distance of the candidate items is related to the extension length or contraction length of the second screen.

[0111] In this embodiment, the second screen is a stretchable screen. As necessary for the description, in this embodiment, both the first screen and the second screen may be rigid screens, or may be flexible screens, or one may be a flexible screen and the other may be a rigid screen, which is not limited in this embodiment.

[0112] In this embodiment, the second screen may be controlled to extend or contract, and candidate items may be displayed on the first screen and the candidate items may be moved on the first screen. Alternatively, candidate items may be first displayed on the first screen, the second screen may be controlled to extend or contract, and then the candidate items may be moved. Alternatively, after receiving the first input, the second screen may be controlled to extend or contract, and the candidate items may be moved while being displayed. The order of the extension and contraction of the second screen and the display of the candidate items is not limited in this embodiment.

[0113] In this embodiment, the second screen is stretchable. Among them, the fact that the moving distance of the candidate items is related to the extension length or contraction length of the second screen means that when the second screen extends, the candidate items may move along the extension direction of the screen, and when the second screen contracts, the candidate items may move along the contraction direction of the screen. Or when the second screen extends, the candidate items may move along the direction opposite to the extension direction of the screen, and when the second screen contracts, the candidate items may move along the direction opposite to the contraction direction of the screen. The moving direction of the candidate items is not limited in this embodiment.

[0114] In this embodiment, the movement distance of the candidate item being related to the elongation length or contraction length of the second screen may mean that the movement distance of the candidate item is equal to the elongation length or contraction length of the second screen, or the movement distance of the candidate item may have a predetermined ratio to the elongation length or contraction length of the second screen.

[0115] For example, when the electronic device receives a first input and controls the second screen to elongate, the first screen displays a candidate item at the edge, and the elongation length of the second screen is obtained as 3 cm, the candidate item is moved 3 cm along the elongation direction of the second screen.

[0116] Optionally, when the electronic device receives a first input and controls the second screen to elongate, the candidate item is displayed on the first screen and the candidate item is moved, and among them, the elongation speed of the second screen is the same as the movement speed of the candidate item.

[0117] For example, when the predetermined ratio is set to 2:1, the electronic device receives a first input and controls the second screen to elongate, the first screen displays a candidate item at the edge, and the elongation length of the second screen is obtained as 3 cm, the candidate item is moved 1.5 cm along the elongation direction of the second screen.

[0118] Optionally, when the predetermined ratio is set to 2:1, the electronic device may receive a first input and control the second screen to elongate, display the candidate item on the first screen and move the candidate item. Among them, if the elongation speed of the second screen is 2 cm / s, the movement speed of the candidate item is 1 cm / s.

[0119] As an example, the electronic device includes a first screen and a second screen. Specifically, step S103 may include step S103c of displaying a target screen corresponding to the target candidate item when the target candidate item among the candidate items at least partially overlaps with the target area of the first screen.

[0120] In this embodiment, 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 candidate items are displayed. The shape of the target area may be any shape such as a square or a circle, and the size of the target area may be determined according to the user's requirements.

[0121] As an example, as shown in FIG. 8, the preset area is a circular area on the first screen. When the electronic device receives a first input, controls the second screen to extend, displays candidate items on the first screen, and moves the candidate items along the extension direction of the second screen, when the circular area at the center of the first screen at least partially overlaps with the target candidate item, the screen corresponding to the target candidate item is displayed.

[0122] Optionally, when the overlapping area between the target candidate item and the target area is larger than a preset value, the display screen corresponding to the target candidate item may be set to be displayed.

[0123] Optionally, the preset area may at least partially overlap with a plurality of candidate items, that is, have a plurality of target candidate items. For example, when unlocking, the preset candidate items are 1, 2, and 3. When the electronic device receives a first input, controls the second screen to extend, displays candidate items numbered 1, 2, 3, 4, 5, and 6 on the first screen, and moves the candidate items along the extension direction of the second screen. When the circular area at the center of the first screen at least partially overlaps with 1, 2, and 3, the target candidate items are 1, 2, and 3. Since the target candidate items 1, 2, and 3 match the preset candidate items, the screen after the electronic device is unlocked is displayed.

[0124] Optionally, when a plurality of target candidate items at least partially overlap with the preset area, the order of the target candidate items may be determined according to a preset rule.

[0125] For example, when opening an application screen, an electronic device receives a first input, controls the second screen to expand, displays candidate items which are icon 1, icon 2, icon 3, and icon 4 on the first screen, and moves the candidate items along the expansion direction of the second screen. When the circular area at the center of the first screen at least partially overlaps with icon 1 and icon 2, the target candidate items are icon 1 and icon 2. In this way, the electronic device divides the display into multiple screens and displays the display screens corresponding to icon 1 and icon 2.

[0126] In this embodiment, the electronic device includes a first screen and a second screen. Among them, the second screen is a stretchable screen. By stretching or shrinking the second screen, the candidate items can move. When the target area matches the target candidate items, the display screen corresponding to the target candidate items is displayed. According to the method provided by this embodiment, multiple target candidate items can be selected to increase the user's use cases, and it is possible to quickly unlock or start multiple applications, thereby improving the user experience.

[0127] In the embodiments of the present invention, it is necessary to explain that the control methods shown in the above respective drawings are all exemplarily described by taking one of the drawings in the embodiments of the present invention as an example. When specifically implemented, the control methods shown in the above respective drawings can be further implemented based on any other referenceable drawings shown in the above embodiments, and detailed descriptions are omitted here.

[0128] As shown in FIG. 9, an embodiment of the present invention provides an electronic device 900. The electronic device may include a reception module 901, a response module 902, and a first display module 903. The reception module 901 is used to receive a first input. The response module 902 is used to control the screen to expand or contract in response to the first input received by the reception module 901 and to display candidate items. The first display module 903 is used to display a target screen corresponding to the target candidate item when the target candidate item among the candidate items meets a preset condition.

[0129] Optionally, as shown in FIGS. 9 and 10, the electronic device provided by the embodiment of the present invention may further include a second display module 904. The second display module 904 is used to display a target identifier. The first display module 903 is further used to display a target screen corresponding to the target candidate item when the target identifier at least partially overlaps with the target candidate item among the candidate items.

[0130] Optionally, specifically, the second display module 904 is used to display a target identifier at a first position of the screen before receiving the first input. The first display module 903 is further used to control the screen to expand or contract, display candidate items, and display the target identifier at a second position of the screen.

[0131] Here, the first position is different from the second position.

[0132] Optionally, the first display module 903 is further configured to control the screen to extend and display the first candidate item. Among them, when the extension length of the screen is greater than a first preset value, the first display module 903 is further configured to display a second candidate item. The second display module 904 is further configured to display a target screen corresponding to the target candidate item when the length of time the screen remains unchanged is greater than a second preset value. The target candidate item is a candidate item that has increased in the second candidate item compared to the first candidate item.

[0133] Optionally, the electronic device further includes a first screen and a second screen. The first display module 903 is further configured to control the second screen to extend or contract, and display candidate items that move the first screen on the first screen. The moving distance of the candidate item is related to the extension length or contraction length of the second screen. The second display module 904 is further configured to display a target screen corresponding to the target candidate item when the target candidate item among the candidate items at least partially overlaps with the target area of the first screen.

[0134] The electronic device provided by the embodiments of the present invention can implement each step realized by the electronic device in the above method embodiments. For the sake of avoiding repeated description, detailed description is omitted here.

[0135] Embodiments of the present invention provide an electronic device that, when a target candidate item is used for unlocking, acquires the target candidate item. When the target candidate item matches a preset candidate item, unlocking is completed, thereby enabling unlocking during the screen expansion and contraction process, reducing the time required for unlocking an electronic device with a screen whose length or width is expandable and contractible, and realizing an increase in the interestingness of unlocking. On the other hand, when the target candidate item is used to indicate an application or a shortcut function entry, when the target candidate item is acquired, the application screen or the shortcut function screen corresponding to the target candidate item can be opened, thereby enabling the function of accessing the application screen during the process of the first screen expanding, reducing the time required for starting an application in an electronic device with a screen whose length or width is expandable and contractible, increasing the interestingness, and realizing an improvement in the user experience.

[0136] FIG. 11 is a schematic diagram of the hardware configuration of an electronic device for implementing each embodiment of the present invention. As shown in FIG. 11, the electronic device 200 includes, but is not limited to, components such as a high-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, a memory 209, a processor 210, and a power supply 211. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 11 does not limit the electronic device, and the electronic device may include more or fewer components than shown in the figure, or a combination of some components, or different component arrangements. In embodiments of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a personal digital assistant, an in-vehicle electronic device, a wearable device, and a pedometer, etc.

[0137] Among them, the processor 210 is configured to receive a first input and, in response to the first input, control the screen to expand or contract, and is further configured to control the display unit 206 to display candidate items. When a target candidate item among the candidate items meets a preset condition, the processor 210 is further configured to control the display unit 206 to display a target screen corresponding to the target candidate item.

[0138] The processor 210 is further configured to control the display unit 206 to display a target identifier. When the target identifier at least partially overlaps with a target candidate item among the candidate items, the processor 210 is further configured to control the display unit 206 to display a target screen corresponding to the target candidate item.

[0139] The processor 210 is further configured to control the screen to expand or contract in response to the first input, and to control the display unit 206 to display a target identifier at a first position of the screen before displaying the candidate items. The processor 210 is further configured to control the screen to expand or contract and display the candidate items, and to control the display unit 206 to display the target identifier at a second position of the screen, where the first position and the second position are different.

[0140] The processor 210 is further configured to control the screen to extend, and to control the display unit 206 to display a first candidate item when the extension length of the screen is less than a first preset value, and to display a second candidate item when the extension length of the screen is greater than the first preset value. Further, when the duration during which the length of the screen remains unchanged is greater than a second preset value, the processor 210 is further configured to control the display unit 206 to display a target screen corresponding to the target candidate item, where the target candidate item is a candidate item that has increased in the second candidate item compared to the first candidate item.

[0141] In an electronic device including a first screen and a second screen, the processor 210 is further configured to control the second screen to extend or contract, and to control the display unit 206 to display candidate items for moving the first screen on the first screen, where the moving distance of the candidate items is related to the extension length or contraction length of the second screen.

[0142] The processor 210 is further configured to control the display unit 206 to display a target screen corresponding to the target candidate item when the target candidate item among the candidate items overlaps with the target area of the first screen.

[0143] Embodiments of the present invention provide an electronic device. When a target candidate item is used for unlocking, the target candidate item is acquired. When the target candidate item matches a preset candidate item, unlocking is completed. Thereby, it is possible to complete unlocking during the screen stretching process, reduce the time taken for unlocking an electronic device equipped with a stretchable flexible screen, and increase the interestingness of unlocking. On the other hand, when the target candidate item is used to indicate an application or a shortcut function entry, when the target candidate item is acquired, the application screen or the shortcut function screen corresponding to the target candidate item can be opened. Thereby, it is possible to achieve the function of accessing the application screen during the process of the first screen stretching, reduce the time taken for accessing an application in an electronic device equipped with a flexible screen, increase the interestingness, and improve the user experience.

[0144] It should be understood that in the embodiments of the present invention, the high-frequency unit 201 can be used for receiving and transmitting information or transmitting and receiving signals in a call process. Specifically, after receiving downlink data from a base station, it is processed by the processor 210, and uplink data is also transmitted to the base station. Usually, the high-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, etc. Also, the high-frequency unit 201 can communicate with a network and other devices via a wireless communication system.

[0145] The electronic device provides the user with wireless broadband Internet access through the network module 202 to assist, for example, in sending and receiving emails, browsing web pages, and accessing streaming media.

[0146] The audio output unit 203 can convert the audio data received by the high-frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output it as sound. In addition, the audio output unit 203 can also provide audio output related to specific functions executed 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.

[0147] The input unit 204 is used to receive an audio or video signal. The input unit 204 may include a graphics processing unit (GPU) 2041 that processes still image or video image data acquired by an image capture device (for example, a camera) in video capture mode or image capture mode, and a microphone 2042. The processed image frame can be displayed on the display unit 206. The image frame processed by the graphics processing unit 2041 can be stored in the memory 209 (or another storage medium), or transmitted by the high-frequency unit 201 or the network module 202. The microphone 2042 can receive sound, and such sound can be processed as audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station by the high-frequency unit 201 in the telephone call mode and output.

[0148] The electronic device 200 further includes at least one sensor 205 such as an optical sensor, a motion sensor, and other sensors. Specifically, the optical sensor includes an ambient light sensor that can adjust the brightness of the display panel 2061 according to the brightness of the ambient light, and a proximity sensor that can turn off the display panel 2061 and / or the backlight when the electronic device 200 is moved close to the ear. As one of the motion sensors, the acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when at rest, and can be used for the recognition of the posture of the electronic device (for example, switching between landscape and portrait of the screen, related games, magnetometer posture calibration), vibration recognition related functions (for example, pedometer, tap), etc. The sensor 205 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will be omitted here for the sake of brevity.

[0149] 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 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0150] The user input unit 207 can be used to receive input numerical or character information and generate key signal inputs for user settings and function control in the electronic device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. The touch panel 2071 is also called a touch screen and can detect a user's touch operation thereon or in its vicinity (for example, an operation performed by the user on or in the vicinity of the touch panel 2071 using a finger, a stylus, or any other appropriate object or accessory). The touch panel 2071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects signals caused by the touch operation, and transmits them to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, transmits it to the processor 210, and receives and executes instructions transmitted from the processor 210. Also, the touch panel 2071 can be implemented in various forms such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 2071, the user input unit 207 may further include other input devices 2072. Specifically, the other input devices 2072 may include a physical keyboard, function buttons (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, an operation lever, but are not limited thereto, and the description thereof is omitted here.

[0151] Furthermore, the touch panel 2071 may cover the display panel 2061. When the touch panel 2071 detects a touch operation thereon or in its vicinity, it transmits it to the processor 210 to identify the type of touch event. Then, the processor 210 provides a corresponding visual output on the display panel 2061 according to the type of touch event. In FIG. 11, the touch panel 2071 and the display panel 2061 realize the input and output functions of the electronic device as two independent members. However, in some embodiments, the touch panel 2071 and the display panel 2061 may be integrated to realize the input and output functions of the electronic device, and the specific details are not limited here.

[0152] The interface unit 208 is an interface for connecting an external device to the electronic device 200. For example, the external device may include a wired or wireless headphone port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device equipped with a recognition module, an audio input / output (I / O) port, a video I / O port, an earphone port, and the like. The interface unit 208 can receive an input (e.g., data information, power, etc.) from the external device and transmit the received input to one or more members within the electronic device 200, or can be used to transmit data between the electronic device 200 and the external device.

[0153] The memory 209 can be used to store software programs and various data. The memory 209 may mainly include a program storage area capable of storing an operating system, applications required for at least one function (e.g., an audio playback function, an image playback function, etc.), and a data storage area capable of storing data created according to the use of the mobile phone (e.g., audio data, a phone book, etc.). Further, the memory 209 may include a high-speed random access memory, and may further include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0154] The processor 210 is the control center of the electronic device, connects each part of the entire electronic device through various interfaces and lines, operates or executes the software programs and / or modules stored in the memory 209, and calls the data stored in the memory 209, thereby executing various functions and data processing of the electronic device, and thereby monitoring the entire electronic device. The processor 210 may include one or more processing units. Optionally, the processor 210 can integrate an application processor mainly processing the operating system, user interface, applications, etc., and a modem processor mainly processing wireless communication. It can be understood that the above modem processor may not be integrated into the processor 210.

[0155] The electronic device 200 may further include a power supply 211 (for example, a battery) that supplies power to each component. Optionally, the power supply 211 is logically connected to the processor 210 by a power management system, and the power management system can further realize functions such as charge and discharge management and power consumption management.

[0156] Note that the electronic device 200 includes some functional modules not shown here, and detailed descriptions thereof are omitted here.

[0157] Optionally, the embodiment of the present invention further provides an electronic device including the processor 210 shown in FIG. 11, the memory 209, and a computer program stored in the memory 209 and executable by the processor 210. When the computer program is executed by the processor 210, each step of the above method embodiment can be realized, and the same technical effects can be achieved. To avoid repeated description, details are omitted here.

[0158] Embodiments of the present invention further provide a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement each step of the method embodiments described above and achieve similar technical effects. For the sake of brevity, details are omitted here. Among them, the computer-readable storage medium may be, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0159] It should be noted that in this specification, the term "including", "consisting of" or any other variation thereof is intended to include non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such a process, method, article or device. Unless otherwise specified, the elements limited by the phrase "including one..." do not exclude the further existence of the same other elements in the process, method, article or device including the element.

[0160] From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented in the form of a combination of software and the necessary common hardware platform. Of course, it may also be implemented by hardware, but in many cases the former is a more preferred embodiment. Based on such an understanding, the technical solution of the present invention, in essence or the part contributing to the prior art, can be implemented in the form of a software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for causing an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present invention.

[0161] Although the embodiments of the present invention have been described above with reference to the drawings, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely exemplary and not restrictive. Based on the suggestion of the present invention, many forms that those skilled in the art can achieve without departing from the spirit of the present invention and the protection scope of the claims all belong to the protection scope of the present invention.

Claims

1. A display method applied to an electronic device equipped with a screen whose length or width is stretchable, comprising: a step of receiving a first input; a step of controlling the screen to expand or contract in response to the first input and displaying candidate items; a step of displaying a target screen corresponding to the target candidate item when the target candidate item among the candidate items satisfies a preset condition, including: The step of controlling the screen to expand and display candidate items includes: a step of controlling the screen to expand; a step of displaying a first candidate item when the expansion length of the screen is smaller than a first preset value; a step of displaying a second candidate item when the expansion length of the screen is larger than a first preset value; When the target candidate item among the candidate items satisfies a preset condition, the step of displaying a target screen corresponding to the target candidate item includes: a step of displaying a target screen corresponding to the target candidate item when the time duration during which the length of the screen remains unchanged is greater than a second preset value, wherein the target candidate item is a candidate item that has increased compared to the first candidate item among the second candidate items. The display method.

2. Before the step of displaying a target screen corresponding to the target candidate item when the target candidate item among the candidate items satisfies a preset condition, including a step of displaying a target identifier; When the target candidate item among the candidate items satisfies a preset condition, the step of displaying a target screen corresponding to the target candidate item includes: The method according to claim 1, including a step of displaying a target screen corresponding to the target candidate item when the target identifier at least partially overlaps with the target candidate item among the candidate items.

3. The step of displaying a target identifier includes: In response to the first input, before controlling the screen to expand or contract and display candidate items, including a step of displaying a target identifier at a first position of the screen; The step of controlling the screen to expand or contract and display candidate items includes: Controlling the screen to expand or contract, displaying candidate items, and displaying the target identifier at a second position of the screen, The method according to claim 2, wherein the first position and the second position are different.

4. An electronic device comprising a screen whose length or width is stretchable, A reception module configured to receive a first input, A response module configured to control the screen to expand or contract and display candidate items, A first display module configured to display a target screen corresponding to the target candidate item when the target candidate item among the candidate items satisfies a preset condition, Controlling the screen to expand and display candidate items includes Controlling the screen to expand, When the expansion length of the screen is smaller than a first preset value, displaying a first candidate item, When the expansion length of the screen is larger than a first preset value, displaying a second candidate item, When the target candidate item among the candidate items satisfies a preset condition, displaying the target screen corresponding to the target candidate item includes When the time duration during which the length of the screen remains unchanged is greater than a second preset value, including the step of displaying the target screen corresponding to the target candidate item, wherein the target candidate item is a candidate item that has increased compared to the first candidate item among the second candidate items. An electronic device.

5. Further comprising a second display module configured to display a target identifier, The electronic device according to claim 4, wherein the first display module is further configured to display a target screen corresponding to the target candidate item when the target identifier at least partially overlaps with the target candidate item among the candidate items.

6. The second display module is further configured to control the screen to expand or contract in response to the first input and display the target identifier at a first position of the screen before displaying the candidate items, The response module is further configured to control the screen to expand or contract, display candidate items, and display the target identifier at a second position of the screen. The electronic device according to claim 5, wherein the first position and the second position are different.

7. An electronic device comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the display method according to any one of claims 1-3 are realized.

8. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the steps of the display method according to any one of claims 1-3 are realized.

9. A computer program product executed by at least one processor to realize the display method according to any one of claims 1-3.

Citation Information

Patent Citations

  • A display control method and terminal equipment

    CN109597551A

  • User interface for touchscreen device

    JP2009123208A

  • Display control device, and control method of display control device

    JP2015176549A

  • Terminal device and program

    JP2018084790A

  • Portable device and method for controlling the same

    US20130234951A1