Application display method, apparatus, device, and storage medium
By determining the relative position information of applications and the taskbar, the display position of each application in the taskbar is updated in real time, which solves the problem that the display status of applications in the taskbar affects the user experience, and achieves a reasonable arrangement of target applications in the taskbar and improves the user experience.
Patent Information
- Application Number
- CN202111579089.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-22
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2041-12-22
AI Technical Summary
When multiple computer applications are running simultaneously, the display status of applications in the operating system taskbar affects the user experience. Existing technologies cannot meet users' needs for the display of a target application in a specific location in the taskbar.
By determining the relative position information of the first application and the taskbar, and combining it with the display update request, the display position of each application in the taskbar is updated in real time to ensure that the special position requirements of the target application in the taskbar are met, while other applications are arranged reasonably.
While maintaining the relative position of the target application and the taskbar, the applications in the taskbar are arranged in a reasonable and orderly manner, which improves the user experience, avoids application display clutter, and meets the user's special display needs for the target application.
Smart Images

Figure CN114281655B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of computer, and particularly relates to the technical field of interface interaction. BACKGROUND
[0002] With the increasing development of computer industry, the number of computer applications is also increasing. Users often need to use dozens or dozens of computers or more when working. In the scenario of using multiple computer applications at the same time, the display state of the application in the operating system taskbar will greatly affect the user experience. SUMMARY
[0003] The present disclosure provides an application display method, device, equipment and storage medium.
[0004] According to an aspect of the present disclosure, an application display method is provided, comprising:
[0005] In response to a start instruction of a first application program, relative position information between the first application program and a taskbar is determined;
[0006] In the case of receiving a display update request sent by a second application program, the display positions of the application programs in the taskbar are determined according to the display update request and the relative position information between the first application program and the taskbar.
[0007] According to another aspect of the present disclosure, an application display device is provided, comprising:
[0008] A position information determination module is configured to determine relative position information between a first application program and a taskbar in response to a start instruction of the first application program;
[0009] A display position determination module is configured to determine the display positions of the application programs in the taskbar according to a display update request and the relative position information between the first application program and the taskbar in the case of receiving the display update request sent by a second application program.
[0010] According to another aspect of the present disclosure, an electronic device is provided, comprising:
[0011] At least one processor; and
[0012] A memory connected in communication with the at least one processor; wherein
[0013] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method in any embodiment of the present disclosure.
[0014] According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method in any of the embodiments of the present disclosure.
[0015] According to another aspect of the present disclosure, there is provided a computer program product comprising computer programs / instructions which, when executed by a processor, implement the method in any of the embodiments of the present disclosure.
[0016] According to the technology of the present disclosure, the display positions of the applications in the taskbar can be updated in real time according to the relative position information of the first application and the taskbar and the display update request of the applications in the taskbar, the display of the applications in the taskbar is updated under the premise of maintaining the relative position of the first application, i.e., the target application, and the taskbar, the display effect of the target application in the taskbar is improved, and the user has a better experience.
[0017] It should be understood that the content described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent through the following description. BRIEF DESCRIPTION OF DRAWINGS
[0018] The accompanying drawings are used to better understand the present scheme and do not limit the present disclosure. Among them:
[0019] Figure 1 is a flowchart of an application display method according to an embodiment of the present disclosure Figure One ;
[0020] Figure 2 is a flowchart of an application display method according to an embodiment of the present disclosure Figure Two ;
[0021] Figure 3 is a flowchart of an application display method according to an embodiment of the present disclosure Figure Three ;
[0022] Figure 4 is a flowchart of an application display method according to an embodiment of the present disclosure Figure Four ;
[0023] Figure 5 is a specific running schematic diagram of an application display method between an operating system and an application according to an embodiment of the present disclosure
[0024] Figure 6 is a schematic diagram of an application display device according to an embodiment of the present disclosure Figure One ;
[0025] Figure 7is a schematic diagram of an application display device according to an embodiment of the present disclosure Figure Two ;
[0026] Figure 8 is a schematic diagram of an application display device according to an embodiment of the present disclosure Figure Three ;
[0027] Figure 9 is a schematic diagram of an application display device according to an embodiment of the present disclosure Figure Four ;
[0028] Figure 10 is a block diagram of an electronic device for implementing an application display method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to assist in understanding them. These should be considered as merely exemplary. Thus, those of ordinary skill in the art will recognize various changes and modifications of the embodiments described herein, which do not depart from the scope and spirit of the present disclosure. Also, descriptions of known functions and constructions are omitted in the following description for clarity and conciseness.
[0030] In the context of current computer operating systems, the display area of application programs in the taskbar often has many limitations. For example, in the Windows 10 operating system, applications can only be displayed in the area of the taskbar application area other than the system application, task view, and search box, etc. When a user has special display requirements for a target application program, for example, the target application program needs to be displayed in the taskbar before the system application, task view, etc. or fixed in the middle of the taskbar application area, the current functions of various operating systems cannot meet the user's needs. Therefore, in some embodiments of the present disclosure, the position requirements of the user for the target application program can be met while ensuring the reasonable and orderly arrangement of other application programs in the taskbar.
[0031] Figure 1 is a flowchart of an application display method according to an embodiment of the present disclosure, comprising:
[0032] S110, in response to the starting instruction of the first application program, determining the relative position information between the first application program and the taskbar;
[0033] S120, in the case of receiving the display update request sent by the second application program, determining the display position of each application program in the taskbar according to the display update request and the relative position information between the first application program and the taskbar.
[0034] Exemplarily, the first application program can be a target application program which has special display requirements of the user. The first application program can be displayed in the taskbar. The second application program can include an application program in the taskbar of the operating system, or an application program to be added to the taskbar. In actual application, the second application program can be the first application program. The relative position information between the first application program and the taskbar can include the rightmost, leftmost or middle of the first application program in the taskbar, etc. In actual application, the first application program is the position requirement information of the first application program itself, or the position information customized by the user last time.
[0035] After receiving the display update request sent by the application program in the taskbar each time, the display update request and the relative position information between the first application program and the taskbar are integrated, that is, the display update request and the position requirement of the target application program in the taskbar are integrated, to determine the display positions of the application programs in the taskbar.
[0036] By using the method of the above embodiment, the display positions of the application programs in the taskbar can be updated according to the display update request of each application program in the taskbar while maintaining the relative position between the first application program, that is, the target application program, and the taskbar, so as to guarantee the display effect of the target application program in the taskbar and improve the user experience.
[0037] Exemplarily, as shown in Figure 2 step S120, in the case of receiving the display update request sent by the second application program, the display positions of the application programs in the taskbar are determined according to the display update request and the relative position information between the first application program and the taskbar, including:
[0038] S210, the relative position information between the application programs in the taskbar is determined according to the display update request;
[0039] S220, the display positions of the application programs in the taskbar are determined based on the relative position information between the application programs and the relative position information between the first application program and the taskbar.
[0040] When the position of the taskbar itself changes (e.g., the taskbar is moved from the bottom of the display interface to the top or the left or right side) or the size of the taskbar itself changes (e.g., the taskbar is changed from displaying applications in a single row to displaying applications in two rows), the applications in the taskbar need to send a display update request for changing the position of the taskbar itself to adapt to the change of the taskbar; when the position of the applications in the taskbar is changed, at least one application in the taskbar is closed, or a new application is added to the taskbar, the applications need to send a display update request for changing the position or changing the position and the display length to adapt to the change of the number or position of the applications in the taskbar; for example, when the display and hiding of the system application or the system search box in the windows system and the change of the size of the space occupied by the target application in the taskbar occur, the applications in the taskbar need to send a display update request to adaptively display according to the change of the display area of the applications in the taskbar.
[0041] After receiving the display update request sent by the applications in the taskbar, the relative position information between the applications in the taskbar is confirmed according to the display update request, and the display position of each application in the taskbar is determined according to the relative position information between the first application and the taskbar.
[0042] By using the method of the above embodiment, the display position of each application in the taskbar is determined by comprehensively considering the relative position information between the applications in the taskbar and the relative position information between the first application and the taskbar, so that the applications in the taskbar can be reasonably and orderly arranged while maintaining the relative position between the first application (i.e., the target application) and the taskbar, and the position requirement of the target application can be compatible with other applications, thereby providing a better operation experience for the user.
[0043] In step S220, the display position of each application in the taskbar is determined based on the relative position information between the applications and the relative position information between the first application and the taskbar, and the step S220 includes:
[0044] The total display length of the applications in the taskbar is determined.
[0045] The display position of each application in the taskbar is determined based on the total display length, the relative position information between the applications, and the relative position information between the first application and the taskbar.
[0046] In the process of determining the display positions of the applications in the taskbar, the total display length of the applications in the taskbar needs to be counted, and when the number of the applications is large, the display length of the applications other than the target application in the taskbar also needs to be adjusted according to the total number of the applications (for example, when there is a new application to be added to the taskbar or an application in the taskbar is closed, the display length of the applications in the taskbar needs to be adjusted), and the relative position information between the applications in the taskbar and the relative position information between the first application and the taskbar are comprehensively considered, so that all the applications can be reasonably and orderly displayed in the taskbar.
[0047] In an embodiment, as shown in Figure 3 The application display method of the present disclosure further includes the receiving process of the display update request.
[0048] S310, in the case of receiving a system message from a message processing system, sending the system message to the second application; wherein the message processing system is used to call a preset function to obtain the system message;
[0049] S320, receiving a display update request triggered by the system message from the second application.
[0050] Exemplarily, in the case of receiving a system message from a message processing system, the system message is sent to the applications in the taskbar, and the behavior triggered by the applications in the taskbar after receiving the system message can be the change of pure self data (such as display content, etc.), or can be the request to change the position of the self in the taskbar. Therefore, after receiving the display update request triggered by the system message from the applications in the taskbar, the foregoing step of determining the display positions of the applications in the taskbar can be performed.
[0051] In an embodiment, as shown in Figure 4 The application display method of the present disclosure further includes:
[0052] S410, in response to the closing instruction of the first application, hiding the first application and updating the display positions of the applications in the taskbar based on the latest determined relative position information between the applications in the taskbar.
[0053] Exemplarily, in response to the closing instruction of the target application, the target application needs to be hidden first, and the relative position information between the applications in the taskbar in the state that the target application is not started is simulated, and the display positions of the applications in the taskbar are updated based on the simulation on the display interface of the operating system, and then the hidden target application is closed.
[0054] By using the method of the above embodiment, the target application program can be hidden before the target application program is closed, the display positions of the application programs in the taskbar are updated according to the display of the application programs in the taskbar in the unstarted state of the target application program, and the display disorder of the application programs in the taskbar caused by the direct exit of the target application program is avoided, so that the special display position requirement of the target application program does not adversely affect other application programs.
[0055] Figure 5 Taking the windows 10 operating system as an example, the specific running of the application display method provided in the above embodiment between the operating system and the application program is shown.
[0056] As shown in Figure 5 , the message processing system, the position maintenance system and the keep-alive system are functional components for implementing the application display method in the embodiments of the present disclosure. Among them, the message processing system and the windows system complete the message interaction, and forward the system message to the Cortana system application program or other application programs including the target application program through the position maintenance system;
[0057] When the system message triggers the application program to generate a display position update request, the application program sends the display position update request to the position maintenance system, and the position maintenance system modifies and maintains the registry field according to the demand intention of each application program and on the premise of comprehensively considering the relative position information between the target application program and the taskbar, so as to reasonably and orderly arrange the application programs in the taskbar while maintaining the relative position of the target application program and the taskbar.
[0058] The keep-alive system is used to restart the message processing system when it is detected that the message processing system is invalid, for example, due to a conflict with other application programs, so as to ensure that the display position requirement of the target application program is not affected during the running of the target application program.
[0059] The above describes the specific settings and implementation modes of the embodiments of the present application from different angles. By using the method provided in the above embodiment, the application programs in the taskbar can be reasonably and orderly arranged while maintaining the special position requirement of the target application program in the taskbar; the display requirements of the target application program and other application programs are compatible during the entire running period (including starting, continuous working and closing) of the target application program, which avoids the disorder of the operating system caused by the conflict of multiple application programs, meets the special display requirement of the user to the target application, greatly improves the user experience, and facilitates the user to use the computer application program for office and life.
[0060] As an implementation of the above method, the present disclosure further provides an application display device.
[0061] Figure 6 This is a schematic diagram of an application display device according to an embodiment of the present disclosure, the device comprising:
[0062] The location information determination module 610 is used to determine the relative location information between the first application and the taskbar in response to the launch command of the first application;
[0063] The display position determination module 620 is used to determine the display position of each application in the taskbar based on the display update request and the relative position information between the first application and the taskbar when a display update request is received from the second application.
[0064] For example, such as Figure 7 As shown, the display position determination module 620 includes:
[0065] The relative position determination unit 710 is used to determine the relative position information between each application in the taskbar according to the display update request;
[0066] The display position determination unit 720 is used to determine the display position of each application in the taskbar based on the relative position information between each application and the relative position information between the first application and the taskbar.
[0067] The display position determination unit 720 is used for:
[0068] Determine the total display length of all applications in the taskbar;
[0069] Based on the total display length, the relative position information between each application, and the relative position information between the first application and the taskbar, the display position of each application in the taskbar is determined.
[0070] For example, such as Figure 8 As shown, the application display device also includes:
[0071] The message sending module 810 is used to send a system message to a second application when a system message is received from the message processing system; wherein, the message processing system is used to call a preset function to obtain the system message;
[0072] The request receiving module 820 is used to receive a display update request triggered by a system message from a second application.
[0073] For example, such as Figure 9 As shown, the application display device also includes:
[0074] The closing instruction response module 910 is configured to, in response to the closing instruction of the first application program, hide the first application program and update display positions of the application programs in the task bar based on the latest determined relative position information between the application programs in the task bar.
[0075] The functions of each unit, module or sub-module in each device of the embodiments of the present disclosure can be referred to the corresponding description in the method embodiments, with the corresponding beneficial effects, which will not be repeated here
[0076] In the technical solutions of the present disclosure, the acquisition, storage and application of user personal information comply with relevant laws and regulations and do not violate public order and good customs.
[0077] According to the embodiments of the present disclosure, the present disclosure further provides an electronic device, a readable storage medium and a computer program product.
[0078] Figure 10 A schematic block diagram of an example electronic device 800 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.
[0079] As shown in Figure 10 The device 1000 includes a computing unit 1001 that can perform various appropriate actions and processes in accordance with a computer program stored in a read-only memory (ROM) 1002 or a computer program loaded from a storage unit 1008 into a random access memory (RAM) 1003. Various programs and data required for the operation of the device 1000 can also be stored in the RAM 1003. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other through a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0080] A number of the components in device 1000 are connected to the I / O interface 1005, including an input unit 1006, such as a keyboard, mouse, etc.; an output unit 1007, such as various types of displays, speakers, etc.; a storage unit 1008, such as a disk, a CD, etc.; and a communication unit 1009, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1009 allows device 1000 to exchange information / data with other devices over a computer network, such as the Internet, and / or various telecommunication networks.
[0081] The computing unit 1001 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 1001 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 appropriate processor, controller, microcontroller, etc. The computing unit 1001 performs various methods and processes described above, such as the application display method. For example, in some embodiments, the application display method can be implemented as a computer software program tangibly embodied in a machine-readable medium, such as the storage unit 1008. In some embodiments, part or all of the computer program can be loaded and / or installed onto device 1000 via the ROM 1002 and / or the communication unit 1009. When the computer program is loaded onto the RAM 1003 and executed by the computing unit 1001, one or more steps of the application display method described above can be performed. Alternatively, in other embodiments, the computing unit 1001 can be configured, by way of firmware or software, to perform the application display method.
[0082] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (PLD), a computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0083] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a standalone software package, or entirely on a remote machine or server.
[0084] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can 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 the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0085] 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 the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; 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 can be received in any form, including acoustic, speech, or tactile input.
[0086] 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 a local area network (LAN), a wide area network (WAN), and the Internet.
[0087] The computer system can include clients and servers. This relationship can be. The servers are typically remote from the clients with the interactions between them occurring over a communication network. The relationship between client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The servers can be cloud servers, servers of a distributed system, or servers incorporating blockchain.
[0088] It should be understood that the steps shown in the various forms above can be reordered, added to, or removed. For example, the steps recited in the present disclosure can be performed in parallel, in series, or in a different order, as long as the desired results of the technology disclosed in the present disclosure are achieved, and the present disclosure is not limited herein.
[0089] The specific embodiments described above are not intended to be limiting. One of skill in the art will understand that various modifications, combinations, sub-combinations, and alternatives can be made to the specific embodiments described above without departing from the spirit and principles of this disclosure. Any further modifications, changes, or improvements that come within the spirit and principles of the disclosure are intended to fall within the scope of the disclosure.
Claims
1. An application display method, comprising: In response to the launch command of the first application, determine the relative position information between the first application and the taskbar; Upon receiving a display update request from a second application, the display position of each application in the taskbar is determined based on the display update request and the relative position information between the first application and the taskbar, and the relative position between the first application and the taskbar is maintained. Determining the display position of each application in the taskbar based on the display update request and the relative position information between the first application and the taskbar includes: Based on the display update request, determine the relative position information between the applications in the taskbar; Based on the relative position information between the applications and the relative position information between the first application and the taskbar, the display position of each application in the taskbar is determined. Determining the display position of each application in the taskbar based on the relative position information between the applications and the relative position information between the first application and the taskbar includes: Determine the total display length of all applications in the taskbar; Based on the total display length, the relative position information between the applications, and the relative position information between the first application and the taskbar, the display position of each application in the taskbar is determined.
2. The method according to claim 1, wherein, Also includes: Upon receiving a system message from the message processing system, the system message is sent to the second application; wherein the message processing system is used to call a preset function to obtain the system message; Receive a display update request triggered by the system message from the second application.
3. The method according to any one of claims 1-2, wherein, Also includes: In response to the closing command of the first application, the first application is hidden and the display position of each application in the taskbar is updated based on the latest determined relative position information between the applications in the taskbar.
4. An application display device, comprising: The location information determination module is used to determine the relative location information between the first application and the taskbar in response to the launch command of the first application; The display position determination module is used to determine the display position of each application in the taskbar based on the display update request and the relative position information between the first application and the taskbar when a display update request is received from the second application, and to maintain the relative position between the first application and the taskbar. The display position determination module includes: A relative position determination unit is used to determine the relative position information between each application in the taskbar based on the display update request. The display position determination unit is used to determine the display position of each application in the taskbar based on the relative position information between the applications and the relative position information between the first application and the taskbar. The display position determination unit is used for: Determine the total display length of all applications in the taskbar; Based on the total display length, the relative position information between the applications, and the relative position information between the first application and the taskbar, the display position of each application in the taskbar is determined.
5. The apparatus according to claim 4, wherein, Also includes: A message sending module is used to send a system message to the second application when a system message is received from a message processing system; wherein the message processing system is used to call a preset function to obtain the system message; The request receiving module is used to receive a display update request triggered by the system message from the second application.
6. The apparatus according to any one of claims 4-5, wherein, Also includes: The close command response module is used to respond to the close command of the first application, hide the first application, and update the display position of each application in the taskbar based on the latest determined relative position information between each application in the taskbar.
7. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, the instructions being executed by the at least one processor. The processor executes the method according to any one of claims 1-3.
8. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-3.
9. A computer program product comprising a computer program or instructions that, when executed by a processor, implement the method according to any one of claims 1-3.
Citation Information
Patent Citations
Taskbar control method and electronic equipment
CN111026483A