Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first and second locations, etc. are for distinguishing between different locations and are not intended to describe a particular order of locations.
The object display method and the terminal device provided by the embodiment of the invention can receive the first input of a user to the folding screen; and in response to the first input, determining a folding parameter of the folding screen; determining a target object corresponding to the folding parameters from the target list; to display the target object on the folded screen; wherein the folding parameter is used to indicate at least one of: the folding angle of the folding screen, the changing numerical value of the folding angle of the folding screen along with the first input and the folding direction of the folding screen; the target list is a list of objects in a desktop of the terminal device, or the target list is a list of objects in a first page displayed on the folding screen before the first input is received. Based on the method, due to the fact that the folding angle of the folding screen is good in controllability, a user can conveniently fold the folding angle of the folding screen into the folding angle required by the user, and therefore the target object which is determined by the subsequent terminal equipment and corresponds to the folding parameters is the object meeting the requirements of the user. Therefore, even if the number of objects in the desktop of the terminal device is large or the number of objects in the first page displayed by the terminal device is large, the user can trigger the terminal device to quickly and accurately display the target object through the convenient first input. Therefore, the problem that the process of updating the content of the user control terminal equipment is complicated and time-consuming is solved.
The terminal device in the embodiment of the invention can be a mobile terminal device and can also be a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
It should be noted that, in the object display method provided in the embodiment of the present invention, the execution main body may be a terminal device, or a Central Processing Unit (CPU) of the terminal device, or a control module in the terminal device for executing the object display method. In the embodiment of the present invention, an object display method executed by a terminal device is taken as an example to describe the object display method provided in the embodiment of the present invention.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the object display method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application. For example, applications such as a system setup application, a system chat application, and a system camera application. And the third-party setting application, the third-party camera application, the third-party chatting application and other application programs.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the object display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the object display method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the object display method provided by the embodiment of the invention by running the software program in the android operating system.
The following describes in detail an object display method provided by an embodiment of the present invention with reference to a flowchart of the object display method shown in fig. 2. Wherein, although the logical order of the object display methods provided by embodiments of the present invention is illustrated in method flow diagrams, in some cases, the steps shown or described may be performed in an order different than here. For example, the object display method illustrated in fig. 2 may include S201-S204:
s201, receiving a first input of a user to the folding screen by the terminal equipment.
Optionally, in the embodiment of the present invention, the folding screen of the terminal device may include two or more display areas. The display areas in the two or more display areas are adjacent to each other in pairs, so that the two or more display areas can be folded into the whole display area.
Optionally, in the case that the terminal device is a single-screen terminal device, two or more display areas in the folded screen are different display areas in one display screen, and the display screen may be a flexible screen. In the case that the terminal device is a multi-screen terminal device, two or more display areas in the folded screen may be respectively located in different display screens, and each of the different display screens may be a rigid screen or a flexible screen.
For example, in the following embodiments, a terminal device is taken as a single-screen terminal device, and a folded screen of the terminal device includes two display areas (such as a first display area and a second display area), which are taken as examples, to describe the object display method provided by the embodiments of the present invention. The folding angle of the folding screen is an included angle between two display areas in the folding screen, such as an included angle between the back surfaces of the two display areas.
Specifically, the first input may be a folding input of the folding screen by a user, and is used to trigger a change of a folding angle of the folding screen, that is, to trigger a change of an included angle between two display areas in the folding screen.
Alternatively, the state of the folding screen may include a folded state and an unfolded state, and the folding angle of the folding screen may be an angle between [0, 360] degrees. Specifically, in the case where the folding screen is in the folded state, the folding angle of the folding screen may be in the range of [0, 180) degrees or (180, 360) degrees, i.e., the two display regions in the folding screen are in different planes. In the case where the folding screen is in the folded state, the folding angle of the folding screen may be 180 degrees, i.e., two display regions in the folding screen are in the same plane.
Specifically, in example 1, when the terminal device receives a first input by the user, the terminal device may display one object (denoted as initial object 1) on the entire area in the folded screen.
In example 2, when the terminal device receives the first input of the user, an object (denoted as an initial object 2) displayed on the first display area of the folding screen by the terminal device is different from an object (denoted as an initial object 3) displayed on the second display area. For example, the terminal device displays an interface in a desktop on a first display area, and displays a web page object in a browser application on a second display area.
It is understood that the initial object (e.g., initial object 1) displayed on the folding screen before the terminal device receives the first input may be any object, which is not particularly limited in this embodiment of the present invention.
It should be noted that, in the embodiment of the present invention, the terminal device receives the first input at a first time, and a time before receiving the first input at this time may be a second time having a smaller difference from the first time. Such as a value within 5 seconds(s) of the difference between the first time and the second time.
S202, the terminal equipment responds to the first input and determines folding parameters of the folding screen.
Wherein the folding parameter is used to indicate at least one of: the folding angle of the folding screen, the changing numerical value of the folding angle of the folding screen along with the first input and the folding direction of the folding screen.
It can be understood that the terminal device may determine the folding angle of the folding screen in real time when receiving a folding input of the folding screen by the user.
Specifically, when the folding parameter is the folding angle of the folding screen, the terminal device may determine the folding angle of the folding screen when the first input is ended. When the folding parameter is a value of the folding angle of the folding screen changing with the first input, the terminal device may determine the folding angle of the folding screen at the start of the first input, the folding angle of the folding screen at the end of the first input, and a difference between the two folding angles (i.e., a value of the folding angle of the folding screen changing with the first input).
It is emphasized that the folding angle of the folding screen can be quantified, so that the controllability of the folding angle of the folding screen is better, i.e. the user can control the change of the folding angle of the folding screen more easily. For example, the user may easily trigger the fold angle of the folding screen to increase by 1 degree, or trigger the fold angle of the folding screen to decrease by 1 degree. Therefore, the user can control the folding angle of the folding screen to be the folding angle required by the user through the first input, namely the accuracy of the folding angle determined by the first input is higher.
S203, the terminal device determines a target object corresponding to the folding parameter from the target list.
The target list is a list of objects in a desktop of the terminal device, or the target list is a list of objects in a first page displayed on a folding screen before responding to the first input.
In scenario 1 provided in the embodiment of the present invention, the target list is a list of objects in a desktop of the terminal device. The objects in the desktop include objects such as icons of application programs in the desktop and icons of folders in the desktop. Specifically, the terminal device may arrange the objects in the desktop into a target list according to a target arrangement rule in advance.
For example, the target arrangement rule may be any one of the following arrangement rules 1 to 4:
the arrangement rule 1, the display positions of the objects are in order from left to right and from top to bottom on the desktop.
The arrangement rule 2 is the order of the display positions of the objects from right to left and from bottom to top on the desktop.
The order of the rule 3, the usage parameters of the objects is from large to small.
The usage parameter of the object may be a usage duration or a usage frequency of the object. Specifically, the usage duration of the object may be a duration that the terminal device continuously operates the object last time, and the usage frequency of the object may be a number of times that the terminal device operates the object for a period of time (e.g., 1 day) last. For example, the use duration of an icon of an application program is the duration of the last time that the interface of the application function program is continuously displayed in the foreground, and the use frequency of the icon of an application program is the number of times that the icon is clicked within the last period of time.
Arrangement rule 4, order of object random arrangement.
Optionally, the terminal device may default to which of rule 1 to rule 4 the arrangement rule is set. Alternatively, the terminal device may provide some setting options in the setting application for supporting the user to select the arrangement rule from rules 1 to 4.
In scenario 2 provided in the embodiment of the present invention, the target list is a list of objects in a first page displayed on the folding screen before the terminal device receives the first input. The first page may be a page including multiple items of objects, for example, the first page is a web page including multiple items of push objects (e.g., a page of a news-type application or a music-type application), or a setting page including multiple setting options, and the like.
It can be understood that, in the embodiment of the present invention, the size of the first page is generally large (for example, the length of the first page is long), while the size of the folding screen of the terminal device is limited, and the terminal device cannot completely display all the objects in the first page at the same time. Specifically, the terminal device may scroll and display different portions of the objects in the first page on the folding screen to provide the user with all the objects in the first page.
In scene 2, the target object is an object invisible to the user in the first page displayed on the folding screen before the terminal device receives the first input. At this time, the first input is used to trigger the terminal device to scroll the object in the first page on the folded screen to scroll out the target object (even if the target object changes from invisible to visible to the user) and display the target object.
Accordingly, when the terminal device scrolls and displays the target object in the first page on the folding screen, a part of the object in the first page, which is displayed in the same size as the target object, is changed from being visible to the user to being invisible to the user.
Optionally, a target function is set in the terminal device, and the target function is used to indicate: the folding input of the user to the folding screen of the terminal device can trigger the terminal device to display the target object corresponding to the folding parameter on the folding screen.
Specifically, the target function includes at least one of a first function and a second function. The first function is folding input of a user to a folding screen of the terminal device, and is used for triggering the terminal device to display an object in a desktop corresponding to the folding parameter on the folding screen. The second function is folding input of the user to the folding screen of the terminal device, and is used for triggering the terminal device to display the object in the first page corresponding to the folding parameter on the folding screen.
Further, a function switch for the target function may be provided in the setting application of the terminal device to support a user to select whether to allow the terminal device to execute the target function.
It is understood that, in a case where the function switch of the target function is in the off state, the terminal device does not perform the step of determining the target object corresponding to the folding parameter even after receiving the folding input of the user to the folding screen. And under the condition that the function switch of the target function is in the opening state, after the terminal equipment receives the folding input of the folding screen by the user, the step of determining the target object corresponding to the folding parameter can be executed.
Further, optionally, the terminal device may support a user to select whether the terminal device performs the first function or the second function of the target functions, which is not described in detail herein.
And S204, the terminal equipment displays the target object on the folding screen.
Alternatively, the terminal device may display the target object on the entire area of the folding screen, or display the target object on one of the first display area or the second display area of the folding screen.
The display area for displaying the target object is a default display area or a display area facing the user (for example, a camera corresponding to the display area may acquire a face image of the owner user). In the following embodiments, the second display area is taken as an example of an area for displaying a target object.
It is understood that, in connection with example 1 above, after the terminal device responds to the first input, the initial object 1 may be displayed on the first display region of the folded screen and the target object may be displayed on the second display region of the folded screen. That is, after the terminal device responds to the first input, the object originally displayed on the whole area of the folding screen can be updated and displayed on one part of the display area, and the target object can be displayed on the other part of the display area.
In addition, in connection with example 2 described above, the terminal device may update the display target object on the second display area after responding to the first input.
Alternatively, the target object may be displayed suspended on the folding screen. The target object is displayed on the folding screen in a floating mode, or the target object is located in one window displayed on the folding screen in a floating mode.
The number of objects included in the target object is one or more. For example, the target object includes one or more icons in a desktop, or the target object includes one or more objects in a first page.
Further, the user may perform an input (e.g., click input) on a target object displayed on the folding screen by the terminal device to manipulate the target object.
In addition, the user inputs a target object displayed on the folding screen by the terminal device to trigger the terminal device to cancel displaying the target object. For example, when the user does not need to manipulate the target object, the user may drag the target object, which is displayed on the folding screen in a suspended manner by the terminal device, to the edge of the folding screen, and trigger the terminal device to cancel displaying the target object.
The object display method provided by the embodiment of the invention can receive the first input of a user to the folding screen; and in response to the first input, determining a folding parameter of the folding screen; determining a target object corresponding to the folding parameters from the target list; to display the target object on the folded screen; wherein the folding parameter is used to indicate at least one of: the folding angle of the folding screen, the changing numerical value of the folding angle of the folding screen along with the first input and the folding direction of the folding screen; the target list is a list of objects in a desktop of the terminal device, or the target list is a list of objects in a first page displayed on the folding screen before the first input is received. Based on the method, due to the fact that the folding angle of the folding screen is good in controllability, a user can conveniently fold the folding angle of the folding screen into the folding angle required by the user, and therefore the target object which is determined by the subsequent terminal equipment and corresponds to the folding parameters is the object meeting the requirements of the user. Therefore, even if the number of objects in the desktop of the terminal device is large or the number of objects in the first page displayed by the terminal device is large, the user can trigger the terminal device to quickly and accurately display the target object through the convenient first input. Therefore, the problem that the process of updating the content of the user control terminal equipment is complicated and time-consuming is solved.
In one possible implementation, the folding parameter is a first parameter. Specifically, S203 may be implemented by S203 a:
s203a, the terminal device takes the kth object in the object list as the object,
wherein the target list includes K objects, M is used to represent the total number of objects included in the target list,
is used for representing the maximum value of the variation range of the folding parameter, theta is used for representing the folding parameter, K and M are positive integers, and K is less than or equal to M, theta and
are all values less than or equal to 360 degrees, and theta is less than or equal to
Example of application in scenario 1:
illustratively, the folding angle of the folding screen may vary in the range of [0, 180]]Degree (i.e. the
) The total number of objects (such as icons (app icons) of application programs) in the desktop of the terminal device is 180 (i.e., M is 180), that is, 180 icons are included in the desktop. The objects in the target list may be arranged according to an arrangement rule 1.
In the case where there are both an icon of an application and an icon of a folder on the desktop of the terminal device, the icon of the folder may be placed in the target list as one object. For example, a desktop in a terminal device has a video-type folder that includes icons for one or more video applications.
For example, when θ is 45 degrees, the terminal device determines K180/180 × 45 to 45, that is, determines the 45 th icon of the 180 icons in the target list as the target object. By analogy, when θ is 90 degrees, the terminal device determines that K is 180/180 × 90 is 90, that is, the 90 th icon of the 180 icons in the target list is determined as the target object.
Specifically, as shown in fig. 3 (a), an object 31 of the gallery (i.e., an initial object 1) is displayed on the entire area of the folding screen of the terminal device, and the folding angle θ of the folding screen is 180 degrees. Subsequently, after the terminal device receives an input (i.e., a first input) for controlling the folding of the folding screen by the user, the folding angle θ of the folding screen of the terminal device is changed to 90 degrees as shown in (B) of fig. 3, and the terminal device displays the object 31 on the first display area a and the 90 th icon 32 on the second display area B in a floating manner.
Application example in scenario 2:
illustratively, the folding angle of the folding screen may vary in the range of [0, 180]]Degree (i.e. the
) The number of items of the object included in the first page (e.g., the setting page of the setting application) is 90 (i.e., M is 90), that is, 90 items of the object are included in the first page. The arrangement order of the 90 items of objects in the target list is the arrangement order from top to bottom in the first page.
For example, when θ is 90 degrees, the terminal device determines K90/180 × 90 45, that is, determines the 45 th icon as the target object from 90 objects in the target list.
In this way, since different folding angles of the folding screen may correspond to different objects in the target list, the terminal device may trigger the terminal device to display the target object corresponding to the folding parameter on the folding screen by controlling the folding angle of the folding screen.
In one possible implementation, the folding parameter is a first parameter. Specifically, S203 may be implemented by S203 b:
s203b, when the value of the folding parameter is in the first angle range, the terminal device determines the object corresponding to the first angle range in the target list as the target object.
The target list comprises N groups of objects, each group of objects in the N groups of objects corresponds to different angle ranges in the N angle ranges, the target object is one group of objects in the N groups of objects, and the first angle range is one angle range in the N angle ranges.
Specifically, the terminal device may divide M objects in the target list into N groups of objects, where each group of objects includes one or more objects, and M is greater than or equal to N.
It will be appreciated that the user may define a correspondence between the fold angle of the folded screen and the objects in the target list, such that fold angles at different angular ranges correspond to different objects. Specifically, the terminal device may set a correspondence between the N groups of objects and the N angle ranges.
Illustratively, the terminal device sequentially divides M objects in the target list into N groups of objects according to the arrangement order, so that the number of objects included in each group of objects in the N groups of objects is the same.
For example, when θ is [0, 5] degrees (denoted as angle range 1), a group of objects in the angle range 1 is the 1 st icon to the 5 th icon among the above 180 icons. When θ is [6, 10] degrees (denoted as angle range 2), a group of objects in the angle range 2 is the 6 th icon to the 10 th icon among the 180 icons. By analogy, when θ is [176, 180] degrees (denoted as angle range 3), the set of objects in angle range 3 is 176 th icon to 180 th icon of the above 180 icons. In this case, N is 36, and the number of objects included in each of the N groups of objects is 5.
Therefore, the user can trigger the terminal device to display the plurality of objects in the target list on the folding screen through the first input, so that the user can acquire the plurality of objects simultaneously. And moreover, the flexibility of updating the content on the folding screen by the terminal equipment can be improved.
Optionally, in the embodiment of the present invention, the object types of each group of objects in the N groups of objects are the same.
Specifically, each of the N sets of objects corresponds to an object type.
Optionally, in this embodiment of the present invention, the object type of the object may be a social type, a music type, a video type, a tool type, a photography type, a news type, or the like. The object of one type may be an icon of an application of the object type, for example, the object of a social type may be an icon of an application of a social type.
Specifically, what object type objects correspond to different angle ranges may be defined by the user, including how large the angle range is, for example, an angle range of 0 to 30 degrees or an angle range of 0 to 10 degrees.
Illustratively, when θ is at [0, 30 ] degrees (denoted as angle range 4), the set of objects corresponding to angle range 4 is social-type objects; when θ is at [30, 60] degrees (denoted as angle range 5), a group of objects corresponding to the angle range 5 is an object of the video type; when θ is at [60, 90 ] degrees (denoted as angle range 6), a group of objects corresponding to the angle range 6 is an object of a music genre; when θ is at [90, 120 ] degrees (denoted as angle range 7), a group of objects corresponding to the angle range 7 is news-type objects; when θ is [120, 150 ] degrees (denoted as an angle range 8), a group of objects corresponding to the angle range 8 is an object of a photographing type; when θ is at [150, 180] degrees (denoted as angle range 9), the set of objects corresponding to angle range 9 is the object of the tool type. In this case, N is 6.
For example, when the user controls θ to be 88 degrees through the first input, that is, θ is in the angle range 7, the terminal device may determine that the object of the news type is the target object, and then display the object of the news type on the folding screen.
It should be noted that, in the embodiment of the present invention, the description of the N angle ranges and the N groups of objects may be any other realizable schemes besides the above examples, and this is not specifically limited in the embodiment of the present invention.
Therefore, the user can conveniently trigger the terminal equipment to display the target object of one object type on the folding screen through the first input, and the flexibility of updating the content of the terminal equipment is further improved.
In a possible implementation manner, the folding parameter provided by the embodiment of the invention is used for indicating the variation value of the folding angle of the folding screen along with the first input or the folding direction of the folding screen. Specifically, S203 in the above embodiment may be implemented by S203 c:
s203c, when the value of the folding parameter is the target value, the terminal device determines the object at the first position in the target list as the target object.
And the first position is a position adjacent to the second position in the target list, and the second position is a position of the object displayed on the folding screen in the target list before the first input is received.
It will be appreciated that the object in the second position is an object visible to the user that was displayed on the folded screen prior to the terminal device receiving the first input. The object in the first position is an object which is invisible to the user before the terminal device receives the first input and visible to the user after receiving the first input and displayed on the folding screen.
Optionally, the target value is a positive number or a negative number; the first position is a position before the second position, or the first position is a position after the second position.
For example, if the target value is a positive number, the first position is a position after the second position; if the target value is negative, the first position is a position before the second position.
Under the condition that the folding parameter is used for indicating a change value of the folding angle of the folding screen along with the first input, the target value is a positive number and represents that the folding angle of the folding screen is reduced; the target value is a negative number, which indicates that the folding angle of the folding screen is increased.
Under the condition that the folding parameters are used for indicating the folding direction of the folding screen, the target numerical value is a positive number and represents that the folding direction of the folding screen is the direction from the second display area to the first display area; the target value is a negative number indicating that the folding direction of the folding screen is a direction from the first display area to the second display area.
In addition, the size of the target value is used to indicate the number of objects included in the target object, i.e., the number of items of the object in the first position.
For example, assuming that the target value is 1 or-1, the number of objects included in the target object is 1. In addition, 90 objects are included in the first page. The objects displayed on the screen are folded from 45 th object to 60 th object among the 90 objects before the terminal device receives the first input.
For example, when the folding parameter value determined by the terminal device in response to the first input is 1, the terminal device determines that the 61 st object of the 90 objects is the target object. Subsequently, the terminal device may display the objects on the folding screen including the 46 th object to the 61 st object, that is, the terminal device may make the 61 st object visible to the user and make the 45 th object invisible to the user. At this time, the second position is a position where 45 th to 60 th objects in the target list are located, and the first position is a position where 61 st object in the target list is located.
For example, when the folding parameter determined by the terminal device in response to the first input takes a value of-1, the terminal device determines that the 44 th object of the 90 objects is the target object. Subsequently, the terminal device may display the objects on the folding screen including the 44 th object to the 89 th object, that is, the terminal device may make the 44 th object visible to the user and make the 90 th object invisible to the user. At this time, the second position is a position where 45 th to 60 th objects in the target list are located, and the first position is a position where 44 th object in the target list is located.
It should be noted that, in the embodiment of the present invention, the description of the target value and the target object may be any other realizable schemes besides the above examples, and the embodiment of the present invention is not particularly limited to this.
It should be noted that, in the embodiment of the present invention, the terminal device may be triggered to update the display object on the folding screen quickly and accurately through the first input (for example, update and display an object invisible to the user in the first page on the folding screen), so that the accuracy and flexibility of updating the content of the terminal device are further improved.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. Fig. 4 shows a terminal device 40 including a folding screen, and the terminal device 40 further includes: a receiving module 4a, a determining module 4b and a display module 4 c; the receiving module 4a is used for receiving a first input of a user to the folding screen; a determining module 4b, configured to determine a folding parameter of the folding screen in response to the first input received by the receiving module 4 a; determining a target object corresponding to the folding parameters from the target list; a display module 4c for displaying the target object determined by the determination module 4b on the folding screen; wherein the folding parameter is used to indicate at least one of: the folding angle of the folding screen, the changing numerical value of the folding angle of the folding screen along with the first input and the folding direction of the folding screen; the target list is a list of objects in a desktop of the terminal device, or the target list is a list of objects in a first page displayed on the folding screen before the first input is received.
Optionally, the folding parameter is used for indicating a folding angle of the folding screen; a determining
module 4b, specifically configured to use the kth object in the target list as the target object,
wherein M is used to represent the total number of objects included in the target list,
is used for representing the maximum value of the variation range of the folding parameter, theta is used for representing the folding parameter, K and M are positive integers, and K is less than or equal to M, theta and
are all values less than or equal to 360 degrees, and theta is less than or equal to
Optionally, the folding parameter is used for indicating a folding angle of the folding screen; the determining module 4b is specifically configured to determine, as the target object, an object in the target list corresponding to the first angle range when the numerical value of the folding parameter is in the first angle range; the target list comprises N groups of objects, each group of objects in the N groups of objects corresponds to different angle ranges in the N angle ranges, the target object is one group of objects in the N groups of objects, the first angle range is one angle range in the N angle ranges, and N is a positive integer.
Optionally, the object types of each group of objects in the N groups of objects are the same.
Optionally, the folding parameter is used to indicate a variation value of the folding angle of the folding screen with the first input or a folding direction of the folding screen; the determining module 4b is specifically configured to determine, when the value of the folding parameter is the target value, an object at a first position in the target list as a target object; and the first position is a position adjacent to the second position in the target list, and the second position is a position of the object displayed on the folding screen in the target list before the first input is received.
Optionally, the target value is a positive number or a negative number; the first position is a position before the second position, or the first position is a position after the second position.
The terminal device 40 provided in the embodiment of the present invention can implement each process implemented by the terminal device in the foregoing method embodiments, and for avoiding repetition, details are not described here again.
The terminal equipment provided by the embodiment of the invention can receive the first input of a user to the folding screen; and in response to the first input, determining a folding parameter of the folding screen; determining a target object corresponding to the folding parameters from the target list; to display the target object on the folded screen; wherein the folding parameter is used to indicate at least one of: the folding angle of the folding screen, the changing numerical value of the folding angle of the folding screen along with the first input and the folding direction of the folding screen; the target list is a list of objects in a desktop of the terminal device, or the target list is a list of objects in a first page displayed on the folding screen before the first input is received. Based on the method, due to the fact that the folding angle of the folding screen is good in controllability, a user can conveniently fold the folding angle of the folding screen into the folding angle required by the user, and therefore the target object which is determined by the subsequent terminal equipment and corresponds to the folding parameters is the object meeting the requirements of the user. Therefore, even if the number of objects in the desktop of the terminal device is large or the number of objects in the first page displayed by the terminal device is large, the user can trigger the terminal device to quickly and accurately display the target object through the convenient first input. Therefore, the problem that the process of updating the content of the user control terminal equipment is complicated and time-consuming is solved.
Fig. 5 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention, where the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 5 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The user input unit 107 is used for receiving a first input of a user to the folding screen; a processor 110 for determining a folding parameter of the folding screen in response to a first input received by the user input unit 107; determining a target object corresponding to the folding parameters from the target list; a display unit 106 for displaying the target object determined by the processor 110 on a folding screen; wherein the folding parameter is used to indicate at least one of: the folding angle of the folding screen, the changing numerical value of the folding angle of the folding screen along with the first input and the folding direction of the folding screen; the target list is a list of objects in a desktop of the terminal device, or the target list is a list of objects in a first page displayed on the folding screen before the first input is received.
The terminal equipment provided by the embodiment of the invention can receive the first input of a user to the folding screen; and in response to the first input, determining a folding parameter of the folding screen; determining a target object corresponding to the folding parameters from the target list; to display the target object on the folded screen; wherein the folding parameter is used to indicate at least one of: the folding angle of the folding screen, the changing numerical value of the folding angle of the folding screen along with the first input and the folding direction of the folding screen; the target list is a list of objects in a desktop of the terminal device, or the target list is a list of objects in a first page displayed on the folding screen before the first input is received. Based on the method, due to the fact that the folding angle of the folding screen is good in controllability, a user can conveniently fold the folding angle of the folding screen into the folding angle required by the user, and therefore the target object which is determined by the subsequent terminal equipment and corresponds to the folding parameters is the object meeting the requirements of the user. Therefore, even if the number of objects in the desktop of the terminal device is large or the number of objects in the first page displayed by the terminal device is large, the user can trigger the terminal device to quickly and accurately display the target object through the convenient first input. Therefore, the problem that the process of updating the content of the user control terminal equipment is complicated and time-consuming is solved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 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. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 5, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 110, a memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the above-mentioned embodiment of the object display method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the object display method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.