CN114281226A - User interface operation method and device and storage medium - Google Patents

User interface operation method and device and storage medium Download PDF

Info

Publication number
CN114281226A
CN114281226A CN202111615227.3A CN202111615227A CN114281226A CN 114281226 A CN114281226 A CN 114281226A CN 202111615227 A CN202111615227 A CN 202111615227A CN 114281226 A CN114281226 A CN 114281226A
Authority
CN
China
Prior art keywords
objects
response
cursor
order
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111615227.3A
Other languages
Chinese (zh)
Inventor
周文欢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Zhilian Beijing Technology Co Ltd
Original Assignee
Apollo Zhilian Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apollo Zhilian Beijing Technology Co Ltd filed Critical Apollo Zhilian Beijing Technology Co Ltd
Priority to CN202111615227.3A priority Critical patent/CN114281226A/en
Publication of CN114281226A publication Critical patent/CN114281226A/en
Pending legal-status Critical Current

Links

Images

Abstract

The disclosure provides an operation method of a user interface, and relates to the technical field of car networking and intelligent cabins. The implementation scheme is as follows: the user interface comprises a first display area for displaying a first plurality of objects and a second display area for displaying a second plurality of objects, and wherein the user interface is provided with cursor movement means, the method comprising: in response to a first operation of the cursor moving device along a first direction by a user, moving a cursor in an order corresponding to the first direction to select a first object in the first plurality of objects; and in response to a second operation of the cursor movement device by the user in the first direction and in response to determining that the first object is the last object in the first plurality of objects in the order, moving the cursor to select a second object in the second plurality of objects.

Description

User interface operation method and device and storage medium
Technical Field
The present disclosure relates to the field of car networking and intelligent cabin technologies, and in particular, to a user interface operation method, apparatus, electronic device, computer-readable storage medium, and computer program product.
Background
Users often need to frequently select different applications when using a user interface that includes an in-vehicle device. For example, multiple applications may be installed in the in-vehicle device, and the positions of icons on the display screen of the applications may be initially arranged by a manufacturer according to the type of the applications and/or the consideration of the functional area. The user needs to perform corresponding operations on the interface to locate the application desired to be selected. Such an operation can be relatively complicated, in particular with the aid of physical operating means, such as knobs, push buttons or the like.
The approaches described in this section are not necessarily approaches that have been previously conceived or pursued. Unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, unless otherwise indicated, the problems mentioned in this section should not be considered as having been acknowledged in any prior art.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for operating a user interface.
According to an aspect of the present disclosure, there is provided a method of operation of a user interface comprising a first display area for displaying a first plurality of objects and a second display area for displaying a second plurality of objects, and wherein the user interface is provided with a cursor movement device, the method comprising: in response to a first operation of the cursor movement device by a user in a first direction, moving the cursor in an order corresponding to the first direction to select a first object of the first plurality of objects; and in response to a second operation of the cursor movement device by the user in the first direction and in response to determining that the first object is the last object in the first plurality of objects in the order, moving the cursor to select a second object in the second plurality of objects.
According to an aspect of the present disclosure, there is provided a user interface device, the user interface comprising a first display area for displaying a first plurality of objects and a second display area for displaying a second plurality of objects, and wherein the user interface is provided with a cursor movement device, the device comprising: a first unit configured to move the cursor in an order corresponding to a first direction to select a first object of the first plurality of objects in response to a first operation of the cursor moving device in the first direction by a user; and a second unit configured to move the cursor to select a second object of the second plurality of objects in response to a second operation of the cursor moving device in the first direction by the user and in response to a determination that the first object is a last object in the order among the first plurality of objects.
According to an aspect of the present disclosure, there is provided an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method according to the present disclosure.
According to an aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform a method according to the present disclosure.
According to an aspect of the disclosure, a computer program product is provided, comprising a computer program, wherein the computer program realizes the method according to the disclosure when executed by a processor.
According to one or more embodiments of the present disclosure, an interactive operation between a user and a car-mounted device may be completed through a simple operation using only a single button.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the embodiments and, together with the description, serve to explain the exemplary implementations of the embodiments. The illustrated embodiments are for purposes of illustration only and do not limit the scope of the claims. Throughout the drawings, identical reference numbers designate similar, but not necessarily identical, elements.
FIG. 1 illustrates a schematic diagram of an exemplary system in which various methods described herein may be implemented, according to an embodiment of the present disclosure;
FIG. 2 shows a flow diagram of a method of user interface operation according to an embodiment of the present disclosure;
FIG. 3 shows a block diagram of a user interface operating device according to an embodiment of the present disclosure;
FIG. 4 shows a flow diagram of a focus movement flow diagram according to an embodiment of the present disclosure;
FIG. 5 shows a design class diagram in accordance with an embodiment of the present disclosure;
FIG. 6 illustrates a single junction schematic in accordance with an embodiment of the present disclosure;
FIG. 7 illustrates a block diagram of an apparatus for a linked list structure diagram according to an embodiment of the present disclosure;
FIG. 8 shows a schematic diagram of a quick update of an icon, according to an embodiment of the present disclosure;
FIG. 9 shows a schematic diagram of icon precision updating, according to an embodiment of the present disclosure;
FIG. 10 shows a schematic diagram of focus switching in the same display area, according to an embodiment of the present disclosure;
FIG. 11 shows a schematic diagram of focus switching at different display regions according to an embodiment of the present disclosure; and
FIG. 12 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the present disclosure, unless otherwise specified, the use of the terms "first", "second", and the like to describe various elements is not intended to limit the positional relationship, the temporal relationship, or the importance relationship of the elements, and such terms are used only to distinguish one element from another. In some examples, a first element and a second element may refer to the same instance of the element, and in some cases, based on the context, they may also refer to different instances.
The terminology used in the description of the various described examples in this disclosure is for the purpose of describing particular examples only and is not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the elements may be one or more. Furthermore, the term "and/or" as used in this disclosure is intended to encompass any and all possible combinations of the listed items.
Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 illustrates a schematic diagram of an exemplary system 100 in which various methods and apparatus described herein may be implemented in accordance with embodiments of the present disclosure. Referring to fig. 1, the system 100 includes one or more client devices 101, 102, 103, 104, 105, and 106, a server 120, and one or more communication networks 110 coupling the one or more client devices to the server 120. Client devices 101, 102, 103, 104, 105, and 106 may be configured to execute one or more applications.
In embodiments of the present disclosure, the server 120 may run one or more services or software applications that enable proper noun error correction methods to be performed.
In some embodiments, the server 120 may also provide other services or software applications that may include non-virtual environments and virtual environments. In certain embodiments, these services may be provided as web-based services or cloud services, for example, provided to users of client devices 101, 102, 103, 104, 105, and/or 106 under a software as a service (SaaS) model.
In the configuration shown in fig. 1, server 120 may include one or more components that implement the functions performed by server 120. These components may include software components, hardware components, or a combination thereof, which may be executed by one or more processors. A user operating a client device 101, 102, 103, 104, 105, and/or 106 may, in turn, utilize one or more client applications to interact with the server 120 to take advantage of the services provided by these components. It should be understood that a variety of different system configurations are possible, which may differ from system 100. Accordingly, fig. 1 is one example of a system for implementing the various methods described herein and is not intended to be limiting.
The user may use client devices 101, 102, 103, 104, 105, and/or 106 to implement proper noun error correction functionality, such as receiving and/or transmitting input data that may require proper noun error correction processing. The client device may provide an interface that enables a user of the client device to interact with the client device. The client device may also output information to the user via the interface. Although fig. 1 depicts only six client devices, those skilled in the art will appreciate that any number of client devices may be supported by the present disclosure.
Client devices 101, 102, 103, 104, 105, and/or 106 may include various types of computer devices, such as portable handheld devices, general purpose computers (such as personal computers and laptops), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, gaming systems, thin clients, various messaging devices, sensors or other sensing devices, and so forth. These computer devices may run various types and versions of software applications and operating systems, such as MICROSOFT Windows, APPLE iOS, UNIX-like operating systems, Linux, or Linux-like operating systems (e.g., GOOGLE Chrome OS); or include various Mobile operating systems such as MICROSOFT Windows Mobile OS, iOS, Windows Phone, Android. Portable handheld devices may include cellular telephones, smart phones, tablets, Personal Digital Assistants (PDAs), and the like. Wearable devices may include head-mounted displays (such as smart glasses) and other devices. The gaming system may include a variety of handheld gaming devices, internet-enabled gaming devices, and the like. The client device is capable of executing a variety of different applications, such as various Internet-related applications, communication applications (e.g., email applications), Short Message Service (SMS) applications, and may use a variety of communication protocols.
Network 110 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including but not limited to TCP/IP, SNA, IPX, etc. By way of example only, one or more networks 110 may be a Local Area Network (LAN), an ethernet-based network, a token ring, a Wide Area Network (WAN), the internet, a virtual network, a Virtual Private Network (VPN), an intranet, an extranet, a Public Switched Telephone Network (PSTN), an infrared network, a wireless network (e.g., bluetooth, WIFI), and/or any combination of these and/or other networks.
The server 120 may include one or more general purpose computers, special purpose server computers (e.g., PC (personal computer) servers, UNIX servers, mid-end servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and/or combination. The server 120 may include one or more virtual machines running a virtual operating system, or other computing architecture involving virtualization (e.g., one or more flexible pools of logical storage that may be virtualized to maintain virtual storage for the server). In various embodiments, the server 120 may run one or more services or software applications that provide the functionality described below.
The computing units in server 120 may run one or more operating systems including any of the operating systems described above, as well as any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and/or middle tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, and the like.
In some implementations, the server 120 may include one or more applications to analyze and consolidate data feeds and/or event updates received from users of the client devices 101, 102, 103, 104, 105, and/or 106. Server 120 may also include one or more applications to display data feeds and/or real-time events via one or more display devices of client devices 101, 102, 103, 104, 105, and/or 106.
In some embodiments, the server 120 may be a server of a distributed system, or a server incorporating a blockchain. The server 120 may also be a cloud server, or a smart cloud computing server or a smart cloud host with artificial intelligence technology. The cloud Server is a host product in a cloud computing service system, and is used for solving the defects of high management difficulty and weak service expansibility in the traditional physical host and Virtual Private Server (VPS) service.
The system 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as audio files and video files. The database 130 may reside in various locations. For example, the database used by the server 120 may be local to the server 120, or may be remote from the server 120 and may communicate with the server 120 via a network-based or dedicated connection. The database 130 may be of different types. In certain embodiments, the database used by the server 120 may be, for example, a relational database. One or more of these databases may store, update, and retrieve data to and from the database in response to the command.
In some embodiments, one or more of the databases 130 may also be used by applications to store application data. The databases used by the application may be different types of databases, such as key-value stores, object stores, or regular stores supported by a file system.
The system 100 of fig. 1 may be configured and operated in various ways to enable application of the various methods and apparatus described in accordance with the present disclosure.
In the related art, a plurality of buttons or a plurality of operation mechanisms are usually required to be arranged in the in-vehicle device for performing interactive operation, wherein each button corresponds to a different instruction. For example, one button is an instruction for causing a cursor to move a large range across a function region on a screen, and one button is an instruction for causing a cursor to move a small range within a certain function region on a screen. However, if the number of device buttons is too large, the structure of the in-vehicle device becomes complicated, and the operation complexity increases.
FIG. 2 shows a flow diagram of a method of user interface operation, according to an embodiment of the present disclosure.
As shown in fig. 2, the user interface includes a first display area for displaying a first plurality of objects and a second display area for displaying a second plurality of objects, and wherein the user interface is provided with a cursor moving device, the method comprising: step S201, responding to a first operation of a user on the cursor moving device along a first direction, moving the cursor according to a sequence corresponding to the first direction to select a first object in the first plurality of objects; and a step S202, in response to a second operation of the cursor moving device by the user along the first direction and in response to determining that the first object is the last object in the first plurality of objects in the order, moving the cursor to select a second object in the second plurality of objects.
When using an electronic device with a display screen (e.g., a car-mounted device), a user can arrange application software in the device according to software types, for example, icons of video software are collectively placed in a certain area of the display screen and are used as a video software area, i.e., the first display area, or icons of navigation software are collectively placed in another area of the display screen and are used as a navigation software area, i.e., the second display area. It should be understood that, in the above partitioning process, the user is not limited to be involved, and different areas may be set in the original factory. When a user wants to watch a video, the corresponding software is selected from the video software area to run quickly, and the situation that the needed software is not easy to find quickly due to disorder arrangement of various types of software is avoided.
When the display area is too small and the number of software icons serving as the objects is too large, the display area cannot simultaneously display all the software icons, and traversal needs to be realized by operating the knob, so that icons which are not displayed originally appear in the display area.
Illustratively, the user interface may be a display screen of the in-vehicle device. In reality, some car-mounted devices adopt a combination of a non-touch screen and an entity button, and a user interacts with the car-mounted devices through operation of the entity button. It can be understood that, due to the physical buttons, the user cannot directly select the required software through clicking operation. Therefore, in a scenario of using the entity button, it is necessary to remind the user whether the required software is accurately selected by a cursor, where the cursor may be a focus point, a software icon as the focus point is enlarged and displayed, and the cursor may also be a dotted line frame, and the software icon as the focus point is surrounded by the dotted line frame. The user may select various cursors according to preferences.
In this embodiment, the physical buttons may be implemented as knobs. If the knob is rotated clockwise, the cursor in the interface may sequentially select the corresponding icons, but is not limited thereto.
For example, when the user wishes to start the navigation function, the cursor can be moved from the video software area to the navigation software area only by a rotation operation. In the process, the user only needs to use the rotary button, so that only one entity button can be arranged, the operation mode is simplified to single rotary operation, and the user can use the car machine equipment by going to the home without learning.
According to some embodiments, the first display region comprises a first number of display positions, and the method further comprises: in response to a third operation of the cursor movement device by the user in the first direction, moving the cursor in the order to select a third object of the first plurality of objects, wherein the third object is displayed at a last display position in the order of the first number of display positions; and in response to a fourth operation by the user of the cursor movement device in the first direction and in response to determining that the number of objects of the first plurality of objects that follow the third object in the order is not less than the first number, refreshing the first display area to display the first number of objects in the order from the third object.
As previously mentioned, in some cases, the screen cannot display all icons simultaneously, and for a large number of icons that are not displayed in the screen, if only one new icon is updated into the screen at a time, the user needs to perform multiple rotations of the knob to switch to the target icon. The present disclosure addresses this issue by updating a plurality of icons simultaneously in response to a scrolling operation by a user, thereby speeding up the efficiency with which the user browses icons.
According to some embodiments, in response to a fifth operation of the cursor moving device by the user in the first direction and in response to a determination that the number of objects of the first plurality of objects that are located after the third object in the order is less than the first number, the plurality of objects displayed in the first display region are respectively moved by one display position in a reverse direction of the order, and a next object located after the third object in the order is displayed at the last display position.
In an actual scene using the car machine equipment, a user often has misoperation of rotating too much in the process of browsing icons, and at the moment, if the sensitivity of icon updating is too high, a target icon is lost. Setting a precise scrolling mechanism: when an icon near the end of the display area is updated, the update speed of the icon is slowed down, thereby preventing the focus from being switched to the wrong display area due to a user's misoperation.
According to some embodiments, the first plurality of objects is stored as a first bidirectional child chain table, wherein the first bidirectional child chain table comprises two first empty nodes at ends and a first plurality of object nodes between the two first empty nodes, wherein the first plurality of object nodes respectively correspond to the first plurality of objects; the second plurality of objects is stored as a second bidirectional child chain table, wherein the second bidirectional child chain table includes two second empty nodes at ends and a second plurality of object nodes between the two second empty nodes, wherein the second plurality of object nodes respectively correspond to the second plurality of objects; and wherein the first bidirectional child chain table and the second bidirectional child chain table are associated with a first parent node and a second parent node, respectively, of a parent chain table.
Therefore, the storage position sequence of the data can correspond to the arrangement sequence of the icons in the interface, so that the corresponding data can be read quickly in response to the operation of moving the cursor by a user.
And the last node in the first sublink along the second direction is a null node.
According to some embodiments, a linked list structure comprising the parent linked list, a first bidirectional child list, and a second bidirectional child list is provided with a parent pointer and a child pointer, and wherein said moving the cursor to select a second object of the second plurality of objects in response to a second operation of the cursor movement device by the user in the first direction and in response to determining that the first object is a last object of the first plurality of objects in the order comprises: in response to determining that the first object node corresponding to the first object is the last object node in the first bidirectional child list in the order, moving the parent pointer from the first parent node to the second parent node and moving the child pointer to a second object node in the second bidirectional child list corresponding to the second object.
Corresponding pointers are provided for both the case where the focus (cursor) moves between different areas and the case where the cursor moves between the same areas, thereby facilitating the data required for the focus to be quickly read by the pointers.
Illustratively, when the knob is rotated clockwise, the pointer points to the next node and the cursor moves downward, and when the knob is rotated counterclockwise, the pointer points to the previous node and the cursor moves upward.
Fig. 3 shows a block diagram of a structure of a user interface operation apparatus according to an embodiment of the present disclosure.
A user interface apparatus 300 as shown in fig. 3, the user interface comprising a first display area for displaying a first plurality of objects and a second display area for displaying a second plurality of objects, and wherein the user interface is provided with a cursor movement apparatus 301, the apparatus comprising: a first unit 302 configured to, in response to a first operation of the cursor moving device by a user in a first direction, move the cursor in an order corresponding to the first direction to select a first object of the first plurality of objects; and a second unit 303 configured to move the cursor to select a second object of the second plurality of objects in response to a second operation of the cursor moving device in the first direction by the user and in response to a determination that the first object is a last object in the order among the first plurality of objects.
According to some embodiments, the first display area comprises a first number of display positions, the apparatus further comprising: a third unit configured to move the cursor in the order to select a third object of the first plurality of objects in response to a third operation of the cursor moving device in the first direction by the user, wherein the third object is displayed at a last display position in the order among the first number of display positions; and a fourth unit configured to refresh the first display area to display the first number of objects in the order from the third object in response to a fourth operation of the cursor moving device in the first direction by the user and in response to a determination that the number of objects located after the third object in the order among the first plurality of objects is not less than the first number.
According to some embodiments, the apparatus further comprises: a fifth unit configured to, in response to a fifth operation of the cursor moving device by the user in the first direction and in response to a determination that the number of objects positioned after the third object in the order among the first plurality of objects is smaller than the first number, respectively move the plurality of objects displayed in the first display area by one display position in a reverse direction of the order and display a next object positioned after the third object in the order at the last display position.
It will be appreciated that the icons described above need to be displayed in the display screen by way of a view. Wherein the view is an existing program system that displays data in a device display screen in a visual manner. And the view is a visual operating system for user interaction and data display, and is not limited to an android view control, and may also be, for example, a Windows operating system. By inputting data containing one or more icons into the view, the corresponding icons are displayed in the screen. Through the view, the user can run the application program in a visualized operation. Herein, the object of the display area is an icon of an application program, and the icon of the application program is displayed in the display area of the display screen through the view. The view may also retrieve data related to the displayed focus (cursor) and display the focus (cursor) in the display screen.
Fig. 4 illustrates a flow diagram of a focus movement flow diagram according to an embodiment of the present disclosure.
As shown in fig. 4, the device screen 400 is divided into an area 401, an area 402, and an area 403. The respective regions may display icons through view controls provided by Android (Android), for example. In the present embodiment, the black square is an icon of the application software. The user moves a cursor (focus) 404 along an arrow between icons of the respective application software by rotating the button.
FIG. 5 shows a design class diagram in accordance with an embodiment of the present disclosure.
Basic class S50: containing a plurality of program code that performs various functions.
The algorithm of step S51 is used to obtain the focus, specifically, whether it is forward search, and it needs to transmit the value for the region returned by the findNext pointer, otherwise it transmits the false value.
The algorithm of step S52 is used to clear status and make callbacks when focus is lost.
The algorithm of step S53 is used to find the next view that can get focus, specifically, if no return null is found.
The algorithm of step S54 is used to find the next view that can obtain focus, specifically, find the last view that can obtain focus, and return null if not found.
The algorithm of step S55 is used to calculate the distance to a given location, specifically, the return distance based on the abscissa parameter and the ordinate parameter.
As shown in FIG. 5, a plurality of android View controls are provided, respectively a View control 501, a ViewGroup control 502, a ViewPager control 503, a ViewList control 504, a ScrollView control 505, a RecycleView control 506, and other android View controls 507.
And S51-S55 in the basic class function shared by the android view controls, so that the migration cost of the user interface operation method among different controls is reduced.
The android view control is an existing program system for displaying data in a display screen in a visual manner, and data for display needs to be input into the android view control. However, in general, the code for invoking data is different from each other in different android view controls, for example. In the disclosure, codes for calling data are unified for different android view controls, that is, all the android view controls can call data through the same code.
Different android view controls are often used in different areas of the device screen, thereby meeting the display requirements of different scenes. In the conventional scheme, a plurality of program codes are required to be prepared for different android view controls, so that a plurality of redundant codes with repeated functions exist in the whole codes. In the disclosure, all android view controls share the codes of the steps S51 to S55, so that the codes are concise as a whole.
FIG. 6 illustrates a single node schematic in a linked list according to an embodiment of the disclosure.
As shown in fig. 6, the linked list node 600 includes: a front pointer field 601 for providing a storage location of a previous node; a data field 602 for storing data required for each view; and a backpointer region 603 for providing a storage location for the next node.
FIG. 7 is a block diagram of an apparatus for a linked list structure diagram according to an embodiment of the disclosure.
As shown in FIG. 7, linked list 700 includes: node 701, which is structurally similar to the linked list node 600; and empty nodes 702, located at both ends of linked list 700, which do not store the data needed for each view, as compared to node 701.
Fig. 8 shows a schematic diagram of icon fast update according to an embodiment of the present disclosure.
As shown in fig. 8, through the android view control 800, there are displayed: a window 801 exemplarily displaying icons of 3 application software; an icon 802, which is located in a solid line box as a window 801, is one of the icons exemplarily displaying 3 pieces of application software; and an icon 803 to be displayed, which is located outside the solid line box as the window 801. It will be appreciated that outside the solid line box, 3 icons are to be displayed.
Step S800: in response to a clockwise rotation of the cursor movement device by a user, moving the cursor in a downward order to select an icon 802 of the plurality of icons, wherein icon 802 is displayed in a last display position in the downward order of 3 display positions; and in response to further clockwise rotation of the cursor movement device by the user and in response to determining that the number of icons of the plurality of icons that follow the icon 802 in the downward order is not less than 3, refreshing the window 801 to display 3 icons in the downward order from the icon 802.
It is understood that before step S800 is executed, the number of icons displayed is 3, and the number of icons to be displayed is 3, and therefore, it is necessary to move 2 icons below the icon 802 into the solid frame as the window 801. And, as the cursor moving device rotates clockwise, the cursor moves downward.
As shown in fig. 8, after step S800 is performed, 2 icons to be displayed are moved into the visual window.
Fig. 9 shows a schematic diagram of icon precision updating according to an embodiment of the present disclosure.
As shown in fig. 9, through the android view control 900, the display includes: a window 901, which exemplarily displays icons of 3 application software; an icon 902, which is located in a solid frame as a window 901, is one of the icons exemplarily displaying 3 pieces of application software; and an icon 803 to be displayed, which is located outside the solid line box as the window 801. It will be appreciated that outside the solid line box there are 2 icons to be displayed.
Step S900: in response to a clockwise rotation of the cursor movement device by the user and in response to determining that the number of icons of the plurality of icons that follow icon 902 in the downward order is less than 3, respectively moving the plurality of icons displayed in the window 901 one display position in a reverse direction of the downward order and displaying a next icon following icon 902 in the downward order at the last display position.
It is understood that before step S900 is executed, the window can simultaneously display 3 icons at most, and the number of icons to be displayed is 2, so that the icons to be displayed are moved into the window 901 one by one.
As shown in fig. 9, after step S900 is performed, 1 icon to be displayed is moved into a solid frame as a window 901.
Fig. 10 illustrates a schematic diagram of focus switching in the same display area according to an embodiment of the present disclosure.
As shown in fig. 10, the left side of the device screen has an area 1000, and in the area 1000, there are vertically arranged icons 1001 and 1002.
Step S1000: in response to a first operation of the cursor moving device by the user to rotate clockwise, the cursor is moved corresponding to the downward order to select an icon 1001 of the plurality of icons.
As shown in fig. 10, after step S1000 is performed, the cursor is moved from the icon 1001 to the icon 1002.
Fig. 11 shows a schematic diagram of focus switching at different display regions according to an embodiment of the present disclosure.
As shown in fig. 11, there is an area 1100 on the left side of the device screen and an area 1100' on the right side of the device screen. Icon 1101 is located at the lowermost part of region 1100, and icon 1101 'is located at the uppermost part of region 1100'.
Step S1100: in response to a second operation by the user of a clockwise rotation of the cursor movement device, and in response to determining that the icon 1101 is the last icon in the downward order of the plurality of icons, moving the cursor to select the icon 1101' of the plurality of icons.
As shown in fig. 11, after step S1100, the cursor is moved from icon 1101 to icon 1101'.
According to an embodiment of the present disclosure, there is also provided an electronic device, a readable storage medium, and a computer program product.
Referring to fig. 12, a block diagram of a structure of an electronic device 1200, which may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 12, the apparatus 1200 includes a computing unit 1201 which can perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)1202 or a computer program loaded from a storage unit 1208 into a Random Access Memory (RAM) 1203. In the RAM1203, various programs and data required for the operation of the device 1200 may also be stored. The computing unit 1201, the ROM 1202, and the RAM1203 are connected to each other by a bus 1204. An input/output (I/O) interface 1205 is also connected to bus 1204.
Various components in the device 1200 are connected to the I/O interface 1205 including: an input unit 1206, an output unit 1207, a storage unit 1208, and a communication unit 1209. The input unit 1206 may be any type of device capable of inputting information to the device 1200, and the input unit 1206 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device, and may include, but is not limited to, a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and/or a remote control. Output unit 1207 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. Storage unit 1208 may include, but is not limited to, magnetic or optical disks. The communication unit 1209 allows the device 1200 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, 802.11 devices, WiFi devices, WiMax devices, cellular communication devices, and/or the like.
The computing unit 1201 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 1201 executes the respective methods and processes described above, such as the user interface operation method. For example, in some embodiments, the user interface operation methods may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 1208. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 1200 via the ROM 1202 and/or the communication unit 1209. When the computer program is loaded into the RAM1203 and executed by the computing unit 1201, one or more steps of the user interface operation methods described above may be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured in any other suitable manner (e.g., by way of firmware) to perform the user interface operation method.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be performed in parallel, sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
Although embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it is to be understood that the above-described methods, systems and apparatus are merely exemplary embodiments or examples and that the scope of the present invention is not limited by these embodiments or examples, but only by the claims as issued and their equivalents. Various elements in the embodiments or examples may be omitted or may be replaced with equivalents thereof. Further, the steps may be performed in an order different from that described in the present disclosure. Further, various elements in the embodiments or examples may be combined in various ways. It is important that as technology evolves, many of the elements described herein may be replaced with equivalent elements that appear after the present disclosure.

Claims (11)

1. A method of operation of a user interface comprising a first display area for displaying a first plurality of objects and a second display area for displaying a second plurality of objects, and wherein the user interface is provided with a cursor movement device, the method comprising:
in response to a first operation of the cursor movement device by a user in a first direction, moving the cursor in an order corresponding to the first direction to select a first object of the first plurality of objects; and
in response to a second operation of the cursor movement device by the user in the first direction, and in response to determining that the first object is the last object in the order in the first plurality of objects, moving the cursor to select a second object in the second plurality of objects.
2. The method of claim 1, wherein the first display area includes a first number of display positions, and further comprising:
in response to a third operation of the cursor movement device by the user in the first direction, moving the cursor in the order to select a third object of the first plurality of objects, wherein the third object is displayed at a last display position in the order of the first number of display positions; and
in response to a fourth operation by the user of the cursor movement device in the first direction and in response to determining that a number of objects of the first plurality of objects that follow the third object in the order is not less than the first number, refreshing the first display region to display the first number of objects in the order from the third object.
3. The method of claim 1 or 2, further comprising:
in response to a fifth operation of the cursor moving device by the user in the first direction and in response to a determination that the number of objects of the first plurality of objects that are located after the third object in the order is less than the first number, respectively moving the plurality of objects displayed in the first display region by one display position in a reverse direction of the order and displaying a next object located after the third object in the order at the last display position.
4. The method of any one of claims 1 to 3,
the first plurality of objects is stored as a first bidirectional child chain table, wherein the first bidirectional child chain table includes two first empty nodes at ends and a first plurality of object nodes between the two first empty nodes, wherein the first plurality of object nodes respectively correspond to the first plurality of objects;
the second plurality of objects is stored as a second bidirectional child chain table, wherein the second bidirectional child chain table includes two second empty nodes at ends and a second plurality of object nodes between the two second empty nodes, wherein the second plurality of object nodes respectively correspond to the second plurality of objects; and wherein the one or more of the one or more,
the first bidirectional child chain table and the second bidirectional child chain table are respectively associated with a first parent node and a second parent node of a parent chain table.
5. The method of claim 4, wherein a linked list structure comprising the parent linked list, a first bidirectional child list, and a second bidirectional child list is provided with a parent pointer and a child pointer, and wherein the moving the cursor to select a second object of the second plurality of objects in response to a second operation of the cursor movement device by a user in the first direction and in response to determining that the first object is a last object of the first plurality of objects in the order comprises:
in response to determining that the first object node corresponding to the first object is the last object node in the first bidirectional child list in the order, moving the parent pointer from the first parent node to the second parent node and moving the child pointer to a second object node in the second bidirectional child list corresponding to the second object.
6. A user interface device, the user interface comprising a first display area for displaying a first plurality of objects and a second display area for displaying a second plurality of objects, and wherein the user interface is provided with a cursor movement device, the device comprising:
a first unit configured to move the cursor in an order corresponding to a first direction to select a first object of the first plurality of objects in response to a first operation of the cursor moving device in the first direction by a user; and
a second unit configured to move the cursor to select a second object of the second plurality of objects in response to a second operation of the cursor moving device in the first direction by the user and in response to a determination that the first object is a last object in the order of the first plurality of objects.
7. The apparatus of claim 6, the first display area comprising a first number of display positions, the apparatus further comprising:
a third unit configured to move the cursor in the order to select a third object of the first plurality of objects in response to a third operation of the cursor moving device in the first direction by the user, wherein the third object is displayed at a last display position in the order among the first number of display positions; and
a fourth unit configured to refresh the first display area to display the first number of objects in the order from the third object in response to a fourth operation of the cursor moving device in the first direction by the user and in response to a determination that the number of objects located after the third object in the order among the first plurality of objects is not less than the first number.
8. The apparatus of claim 6 or 7, further comprising:
a fifth unit configured to, in response to a fifth operation of the cursor moving device by the user in the first direction and in response to a determination that the number of objects positioned after the third object in the order among the first plurality of objects is smaller than the first number, respectively move the plurality of objects displayed in the first display area by one display position in a reverse direction of the order and display a next object positioned after the third object in the order at the last display position.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 5.
10. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1 to 5.
11. A computer program product comprising a computer program, wherein the computer program realizes the method according to any one of claims 1 to 5 when executed by a processor.
CN202111615227.3A 2021-12-27 2021-12-27 User interface operation method and device and storage medium Pending CN114281226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111615227.3A CN114281226A (en) 2021-12-27 2021-12-27 User interface operation method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111615227.3A CN114281226A (en) 2021-12-27 2021-12-27 User interface operation method and device and storage medium

Publications (1)

Publication Number Publication Date
CN114281226A true CN114281226A (en) 2022-04-05

Family

ID=80876351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111615227.3A Pending CN114281226A (en) 2021-12-27 2021-12-27 User interface operation method and device and storage medium

Country Status (1)

Country Link
CN (1) CN114281226A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133622A (en) * 2014-06-16 2014-11-05 康佳集团股份有限公司 Intelligent terminal with touch panel and cursor control method and system thereof
CN105630266A (en) * 2014-10-28 2016-06-01 深圳富泰宏精密工业有限公司 Icon display system and method
CN108810604A (en) * 2018-03-16 2018-11-13 青岛海信电器股份有限公司 Edit methods and display terminal when sorting between multiple objects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133622A (en) * 2014-06-16 2014-11-05 康佳集团股份有限公司 Intelligent terminal with touch panel and cursor control method and system thereof
CN105630266A (en) * 2014-10-28 2016-06-01 深圳富泰宏精密工业有限公司 Icon display system and method
CN108810604A (en) * 2018-03-16 2018-11-13 青岛海信电器股份有限公司 Edit methods and display terminal when sorting between multiple objects

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TECH喵: "‘CarPlay小技巧’车技这颗大旋钮你会用么?这个视频不要错过", pages 112, Retrieved from the Internet <URL:《https://www.bilibili.com/video/av464729357/?vd_source=f9e2cecb0d7289a4f31f0f1121599318》> *

Similar Documents

Publication Publication Date Title
US10691299B2 (en) Display of hierarchical datasets using high-water mark scrolling
US10936568B2 (en) Moving nodes in a tree structure
US11579830B2 (en) Displaying a window of a remote desktop computer on a mobile device with a native layout
US10664245B2 (en) Guided web-application generation
CN114491089B (en) Address acquisition method, address acquisition device, electronic equipment and medium
CN110520848A (en) Emerge application relevant to task in isomery tabs environment
CN113986788A (en) Data processing method and device, chip, electronic device and medium
CN113791834A (en) Information display apparatus
US10156957B2 (en) Semi-modal interaction blocker
CN114924862A (en) Task processing method, device and medium implemented by integer programming solver
CN113641936A (en) Method and device for page jump, electronic equipment and storage medium
CN114510308B (en) Method, device, equipment and medium for storing application page by mobile terminal
CN114281226A (en) User interface operation method and device and storage medium
CN114266031A (en) Man-machine verification method and device and electronic equipment
CN114241092A (en) Multi-graph typesetting method, multi-graph typesetting device and electronic equipment
CN113126928A (en) File moving method and device, electronic equipment and medium
CN114281970A (en) Text editing method and device, electronic equipment and medium
US20240111408A1 (en) Drag and drop interactions for an object tracking software application
US20210240339A1 (en) Unified hover implementation for touch screen interfaces
CN112908329B (en) Voice control method and device, electronic equipment and medium
CN114296609B (en) Interface processing method and device, electronic equipment and storage medium
CN113961189A (en) Webpage editing method and device
CN113254469A (en) Data screening method and device, equipment and medium
CN113961633A (en) Data processing method, system, electronic device and computer storage medium
CN116129245A (en) Image deconvolution method and device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination