Display method, device, equipment and storage medium
By obtaining the trajectory information entered by the user and matching the preset trajectory mapping collection, the rapid switching of multiple desktop layouts solves the problem of cumbersome operation and poor user experience in existing technology, and improves the convenience of privacy and multi -user use.
Patent Information
- Application Number
- CN202210342260.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2042-03-31
AI Technical Summary
The existing multi-desktop layout technology provides multiple personal use, and the operation is complicated and the user experience is poor, making it difficult to meet the privacy needs of users.
By obtaining the trajectory information input by the user, the display status of the current interface is determined, and the preset trajectory mapping set is determined based on the status. When the trajectory information matches the preset trajectory, the display layout of the current interface is determined to achieve quick switching of the display layout.
Simplified user operations, improved the use experience, can effectively meet the user's privacy needs and multi -user desktop layout switching needs.
Smart Images

Figure CN114816201B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic technology, and relate to but are not limited to a display method, device, equipment and storage medium. Background Art
[0002] When terminals such as computers, tablets or mobile phones are provided for multiple people to use, different desktop layouts are set for different users to meet the needs of users using the same terminal without interfering with each other, or applications that users need to hide are hidden in the same desktop layout to meet the privacy needs of users.
[0003] The existing solutions for multiple desktop layouts currently require different users to log in and use different desktop layouts; displaying or hiding applications is achieved by setting passwords, face information recognition, and nine-square gestures. The above methods are cumbersome to implement and the user experience is poor. Summary of the invention
[0004] In view of this, embodiments of the present application provide a display method, apparatus, device, and storage medium.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a display method, the method comprising: obtaining trajectory information input by a user; determining a display state of a current interface; determining a preset trajectory mapping set based on the display state of the current interface; and when it is determined that the trajectory information matches any preset trajectory in the preset trajectory mapping set, determining a display layout of the current interface based on the trajectory information.
[0007] In a second aspect, an embodiment of the present application provides a display device, comprising: a first acquisition module, used to acquire trajectory information input by a user; a first determination module, used to determine the display state of a current interface; a second determination module, used to determine a preset trajectory mapping set based on the display state of the current interface; and a third determination module, used to determine the display layout of the current interface based on the trajectory information when it is determined that the trajectory information matches any preset trajectory in the preset trajectory mapping set.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and the processor implements the above method when executing the program.
[0009] In a fourth aspect, an embodiment of the present application provides a storage medium storing executable instructions for causing a processor to execute and implement the above method.
[0010] In the embodiment of the present application, the trajectory information input by the user is first obtained; the display state of the current interface is determined; then the preset trajectory mapping set is determined based on the display state of the current interface; finally, when it is determined that the trajectory information matches any preset trajectory in the preset trajectory mapping set, the display layout of the current interface is determined based on the trajectory information. In this way, the user only needs to input the trajectory that matches the display layout, and the display layout corresponding to the trajectory can be displayed. The operation is simple and easy, which effectively improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A schematic diagram of an implementation flow of a display method provided in an embodiment of the present application;
[0012] Figure 2 A schematic diagram of an implementation flow of a display method provided in an embodiment of the present application;
[0013] Figure 3 A schematic diagram of an implementation flow of a display method provided in an embodiment of the present application;
[0014] Figure 4 A schematic diagram of an implementation flow of a method for determining a mapping relationship in a trajectory mapping set provided in an embodiment of the present application;
[0015] Figure 5 A schematic diagram of the structure of a display device provided in an embodiment of the present application;
[0016] Figure 6 A hardware entity schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the embodiments of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0018] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0019] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0021] The present application embodiment provides a display method, such as Figure 1 As shown, the method includes:
[0022] Step S110, obtaining trajectory information input by the user;
[0023] Here, the user may input the trajectory information on the screen of the electronic device, wherein the user inputs the trajectory information in at least one of the following ways: inputting the trajectory information on the screen using a stylus, the user directly inputting the trajectory information on the screen using a finger, and the user inputting the trajectory information through a touch pad. Here, there is no restriction on the way of inputting the trajectory.
[0024] In some embodiments, the track information may be a user's handwriting or a track inputted using a touch pad. For example, a user may input a track of a Chinese character, a phrase, or a sentence on the screen of an electronic device using a stylus; or may input a track information of a Chinese character, a phrase, or a sentence on the screen of an electronic device using a touch pad.
[0025] Step S120, determining the display status of the current interface;
[0026] Here, the display status of the interface includes the login status and the working status, wherein the login status interface can be the interface where the user is waiting to log in, that is, the interface where the user has not yet entered the working status; the working status can be the interface where the user has completed the login, that is, the interface where the user can start working by clicking on the application displayed on the interface.
[0027] Step S130, determining a preset trajectory mapping set based on the display state of the current interface;
[0028] In some embodiments, the preset track mapping set may be a set of mapping relationships between tracks and layouts to be displayed. Here, the tracks in the set may include tracks corresponding to text and / or letters, or tracks of symbols input by the user personally, and the tracks may be standard text and / or letters, or text, letters or symbols corresponding to personal handwriting input by the user in advance.
[0029] In some embodiments, when it is determined that the current interface is in a login state, it can be determined that the track mapping relationship in the preset track mapping set can include a mapping relationship between the interface to be logged in and the track, that is, it can include a mapping relationship between the desktop layout to be logged in and the track. For example, the preset track mapping set can include a mapping relationship between a desktop layout preset by a user and a text track preset by the user.
[0030] In some embodiments, when it is determined that the current interface is in the working state, the track mapping relationship in the preset track mapping set may be determined, that is, the mapping relationship between the interface to be logged in and the track, and the mapping relationship between the application to be hidden / displayed and the track. For example, the preset track mapping set may include a mapping relationship between a desktop layout preset by a user and a text track preset by the user, and may also include a mapping relationship between one or more associated applications preset by the user and a text track preset by the user.
[0031] Step S140: When it is determined that the trajectory information matches any preset trajectory in the preset trajectory mapping set, determine a display layout of the current interface based on the trajectory information.
[0032] In some embodiments, when the trajectory in the preset trajectory mapping set is standard text and / or letters, the text and / or letters corresponding to the trajectory can be first identified based on the trajectory input by the user, and then the identified text and / or letters can be matched with the standard text and / or letters in the set to determine the display layout of the current interface.
[0033] In some embodiments, when the trajectory in the preset trajectory mapping set includes text, letters or symbols corresponding to the personal exclusive handwriting input in advance by the user, the text corresponding to the trajectory can be matched with the text in the set based on the set, and the handwriting corresponding to the trajectory can be matched with the handwriting corresponding to the text in the set. During the implementation process, there is no order requirement for matching text content and handwriting matching. For example, when the trajectory input in advance by the user is text and / or letters, the trajectory can be first identified as text and / or letters, and then matched with standard text and / or letters in the set; the trajectory can also be matched with personal handwriting in the set first, and then the text and / or letters corresponding to the trajectory can be matched; when the trajectory input in advance by the user is a personal exclusive symbol, only the handwriting needs to be matched, and content recognition is not required.
[0034] In some embodiments, when it is determined that the current interface is in a login state, and when it is determined that the trajectory information matches any preset trajectory in a preset trajectory mapping set, a desktop layout to be displayed can be determined based on the trajectory information. For example, a user can manage a desktop layout with his or her own name, so that when the user enters his or her own name in the login state interface, the corresponding desktop layout can be displayed.
[0035] In some embodiments, when it is determined that the current interface is in working state, and when it is determined that the trajectory information matches any preset trajectory in the preset trajectory mapping set, the desktop layout to be displayed can be determined based on the trajectory information. For example, a user can manage a desktop layout with his or her own name, so that when the user enters his or her own name in the working state interface, the corresponding desktop layout can be switched. The user can also establish a mapping relationship between an application and a letter, so that when the user enters the letter in the working state interface, the application can be hidden if the application is already displayed in the interface; and the application can be displayed if the application is hidden in the interface.
[0036] In the implementation process, the above steps S110 to S140 can be implemented in the desktop launcher (Launcher) program. The Launcher listens to the words written by the user on the desktop. Once the words in the settings are matched, the corresponding operations are performed to hide / show the application or switch the layout.
[0037] In the embodiment of the present application, the trajectory information input by the user is first obtained; the display state of the current interface is determined; then the preset trajectory mapping set is determined based on the display state of the current interface; finally, when it is determined that the trajectory information matches any preset trajectory in the preset trajectory mapping set, the display layout of the current interface is determined based on the trajectory information. In this way, the user only needs to input the trajectory that matches the display layout, and the display layout corresponding to the trajectory can be displayed. The operation is simple and easy, which effectively improves the user experience. When applied to touch-screen electronic devices such as tablets, since touch-screen electronic devices such as tablets lack keyboards, it is particularly convenient for users to switch display layouts through handwriting.
[0038] In some embodiments, the trajectory information includes handwriting; the preset trajectory mapping set includes preset handwriting; the above step S140 "determining the display layout of the current interface based on the trajectory information when it is determined that the trajectory information matches any preset trajectory in the preset trajectory mapping set" can be implemented by the following steps:
[0039] Step 141, obtaining a handwriting matching instruction;
[0040] In some embodiments, a prompt can be displayed on the interface to prompt the user whether it is necessary to turn on the handwriting matching instruction, and then wait for the user's reply based on the handwriting matching instruction to determine whether it is necessary to turn on the handwriting matching; an analog switch for the handwriting matching instruction can also be set on the interface, and then determine whether it is necessary to turn on the handwriting matching based on the user's choice.
[0041] In some embodiments, for scenarios with privacy requirements, in addition to matching text, a switch for turning on handwriting matching can be provided. When turned on, in addition to matching the corresponding text, the handwriting will also be matched. Only when the handwriting match is successful will the application be hidden / displayed or the layout be switched.
[0042] Step 142, in response to the handwriting matching instruction, determining whether the handwriting matches any preset handwriting in the preset trajectory mapping set;
[0043] During the implementation process, when handwriting matching is enabled, it is necessary to compare not only the content of the track writing, but also to further determine whether the handwriting matches.
[0044] In some embodiments, the handwriting of each preset trajectory of the user can be obtained in advance to achieve handwriting matching. For example, the user can pre-store the mapping relationship between the handwritten "game" handwriting and the matching application of the handwritten "game", and then match the trajectory input by the user with the pre-stored handwritten "game".
[0045] In some embodiments, at least one handwriting of the user can be obtained in advance. When handwriting matching is required, a handwriting for comparing other written content can be virtualized based on at least one handwriting of the user to achieve handwriting matching. For example, the user can store the handwriting of his own name in advance. When the user inputs "game" by handwriting, the handwriting of "game" is virtualized based on the handwriting of his own name stored in advance, and finally the trajectory input by the user is matched with the virtualized "game" handwriting. In this way, there is no need to store a one-to-one mapping relationship between handwriting handwriting and display layout, and only at least one handwriting needs to be stored, so that the handwriting matching can be effectively completed.
[0046] Step 143: determine the display layout of the current interface based on the handwriting.
[0047] In the embodiment of the present application, a handwriting matching instruction is first obtained; then, in response to the handwriting matching instruction, it is determined that the handwriting matches any preset handwriting in the preset trajectory mapping set; finally, the display layout of the current interface is determined based on the handwriting. In this way, not only the user's handwriting content is matched, but also the user's handwriting is matched, which effectively improves the security and privacy of the user's display layout and meets the user's more stringent privacy requirements.
[0048] The present application embodiment provides a display method, such as Figure 2 As shown, the method includes:
[0049] Step S210, obtaining the trajectory information input by the user;
[0050] Step S220, determining the display status of the current interface;
[0051] Step S230: when it is determined that the display state is a login state, determining the preset track mapping set as a first preset track mapping set based on the login state, wherein the first preset track in the first preset track mapping set corresponds to a track for switching the desktop layout;
[0052] Here, the interface displayed in the login state may be an interface for the user to enter the operating system. For example, the interface displayed in the login state may be a login interface displayed after the electronic device is started, or a switch login interface displayed when the login user needs to be switched.
[0053] The first preset track in the first preset track mapping set corresponds to the track for switching the desktop layout, that is, the first preset track in the first preset track mapping set is a track for switching the desktop layout. In this way, determining the preset track mapping set as the first preset track mapping set based on the login state can effectively improve the efficiency of track matching.
[0054] Step S240: When it is determined that the trajectory information matches any first preset trajectory in the first preset trajectory mapping set, display the desktop layout corresponding to the trajectory information on the current interface.
[0055] For example, a family can use the same login username and unlock password when using a tablet computer, but children, parents, and spouses can all use the tablet computer. Everyone has different usage habits. In order to distinguish their desktop from other users, they can set a Chinese character, a phrase, or a sentence, and then associate it with a desktop layout that they set. Before writing on the tablet computer's desktop, you can set a mapping relationship between the text and the corresponding desktop layout. The user can enter the set text on the tablet computer again to switch to the desktop layout corresponding to the text. In this way, everyone in the family can use their own desktop. In this way, the steps of setting a login username or setting an unlock password are eliminated, and the operation is simpler and easier.
[0056] In an embodiment of the present application, firstly, the trajectory information input by the user is obtained; the display state of the current interface is determined; then, when it is determined that the display state is a login state, the preset trajectory mapping set is determined to be a first preset trajectory mapping set based on the login state, wherein the first preset trajectory in the first preset trajectory mapping set corresponds to the trajectory of switching the desktop layout; finally, when it is determined that the trajectory information matches any first preset trajectory in the first preset trajectory mapping set, the desktop layout corresponding to the trajectory information is displayed on the current interface. In this way, determining the preset trajectory mapping set as the first preset trajectory mapping set based on the login state can effectively improve the efficiency of trajectory matching. When applied to touch-sensitive electronic devices such as tablets, since touch-sensitive electronic devices such as tablets lack keyboards, it is particularly convenient for users to switch multi-user desktop layouts by handwriting.
[0057] The present application embodiment provides a display method, such as Figure 3 As shown, the method includes:
[0058] Step S310: obtaining the trajectory information input by the user;
[0059] Step S320: determining the display status of the current interface;
[0060] Step S330: when it is determined that the display state is the working state, determining the preset track mapping set as a second preset track mapping set based on the working state, wherein the second preset track in the second preset track mapping set corresponds to a track of hiding or displaying an application;
[0061] Here, the interface displayed in the working state may be an interface including at least one application program (application), and the user may select and use the application program in the interface displayed in the working state. For example, when the user completes the login of the electronic device, the user may select and use the application program displayed on the screen of the electronic device.
[0062] Since when the display state of the current interface is the working state, the user can determine to hide or display the application based on the trajectory that matches the application, and can also determine to switch the desktop layout based on the trajectory that matches the desktop layout, so the second preset trajectory in the second preset trajectory mapping set corresponds to the trajectory of hiding or displaying the application and / or the trajectory of switching the desktop layout. In this way, the user can determine the second preset trajectory in the second preset trajectory mapping set according to actual conditions. For example, when the second preset trajectory needs to be used to correspond to hiding or displaying the application, the second preset trajectory is corresponding to the trajectory of hiding or displaying the application; when the second preset trajectory needs to be used to correspond to switching the desktop layout, the second preset trajectory is corresponding to the trajectory of switching the desktop layout; when the second preset trajectory needs to correspond to hiding or displaying the application and switching the desktop layout at the same time, the second preset trajectory is corresponding to the trajectory of hiding or displaying the application and / or the trajectory of switching the desktop layout. In this way, the second preset trajectory can be determined according to actual needs, which can meet the matching needs of the user and effectively improve the matching efficiency.
[0063] Step S340: When it is determined that the trajectory information matches any second preset trajectory in the second preset trajectory mapping set, an application corresponding to the trajectory information is hidden or displayed on the current interface.
[0064] In some embodiments, the user can set the application to be hidden each time the screen is locked according to actual needs, or the hidden application can be displayed until the text corresponding to the application is entered again, otherwise the application will be hidden.
[0065] In the embodiment of the present application, firstly, the trajectory information input by the user is obtained; the display state of the current interface is determined; then, when it is determined that the display state is a working state, the preset trajectory mapping set is determined to be a second preset trajectory mapping set based on the working state, wherein the second preset trajectory in the second preset trajectory mapping set corresponds to the trajectory of hiding or displaying the application and / or the trajectory of switching the desktop layout; finally, when it is determined that the trajectory information matches any second preset trajectory in the second preset trajectory mapping set, the application corresponding to the trajectory information is hidden or displayed on the current interface or the desktop layout corresponding to the trajectory information is displayed on the current interface. In this way, it can be effectively realized that when the display state of the electronic device is a working state, both the application can be hidden or displayed, and the desktop layout can be switched. When applied to touch-sensitive electronic devices such as tablets, since touch-sensitive electronic devices such as tablets lack keyboards, it is particularly convenient for users to obtain or hide applications through handwriting.
[0066] In some embodiments, the above step S340 of "hiding or displaying the application corresponding to the track information on the current interface" can be implemented by the following steps:
[0067] Step 341: When hiding the application, adjust the positions of other applications in the current interface so that the position of the hidden application is filled by other applications;
[0068] In some embodiments, when it is determined that an application needs to be hidden, since the application needs to occupy a position on the interface when displayed on the interface, the positions of other applications in the current interface can be adjusted so that the position of the hidden application is filled by other applications. In this way, other users will not easily discover that the application is hidden when using the electronic device, which effectively improves the privacy of the hidden application.
[0069] Step 342: When displaying the application, based on the location information of the trajectory information, display the application at a preset location of the current interface, or display the application in the current interface in the form of a floating window.
[0070] In some embodiments, the application can be displayed below the trajectory information input by the user. For example, the user inputs "game" in the lower right corner of the screen, and the application corresponding to the "game" can be displayed in the lower right corner of the screen.
[0071] In some embodiments, in order to prevent the application to be displayed from covering the application already existing in the current display interface, the application to be displayed may be displayed in a preset blank position, or the application to be displayed may be displayed in the form of a floating window.
[0072] In the embodiment of the present application, when the application is hidden, the positions of other applications in the current interface are adjusted so that the position of the hidden application is filled by other applications. In this way, when other users use the electronic device, it is not easy to find that the application is hidden, which effectively improves the privacy of the hidden application.
[0073] In the embodiment of the present application, when displaying the application, based on the location information of the track information, the application is displayed at a preset location of the current interface, or the application is displayed in the current interface in the form of a floating window. In this way, the location of the application to be displayed can be set according to the needs of the user to meet the different needs of different users for displaying applications.
[0074] In some embodiments, before step S110 "obtaining the trajectory information input by the user", a method for determining the mapping relationship in the trajectory mapping set is also included, such as Figure 4 As shown, the method can be implemented by the following steps:
[0075] Step S410: determining a display layout of the interface based on the display state of the interface;
[0076] In some embodiments, when the display state is a login state, the desktop layout to be switched can be determined as the display layout.
[0077] In some embodiments, when the display state is the working state, the layout of one or more associated applications to be hidden / displayed may be determined as the display layout, and the desktop layout to be switched may also be determined as the display layout.
[0078] Step S420, obtaining a preset track corresponding to the display layout of the interface;
[0079] In some embodiments, the user may input a trajectory using a stylus or a finger, so that the electronic device acquires a preset trajectory corresponding to the display layout.
[0080] In some embodiments, the trajectory information includes text, phrases, or sentences.
[0081] Step S430, determining a mapping relationship between the display layout of the interface and the preset trajectory;
[0082] During implementation, a mapping relationship is established between the display layout and the preset trajectory input by the user.
[0083] Step S440: adding the mapping relationship to the preset trajectory mapping set corresponding to the display state.
[0084] In the embodiment of the present application, firstly, the display layout of the interface is determined based on the display state of the interface; then, the preset track corresponding to the display layout of the interface is obtained; the mapping relationship between the display layout of the interface and the preset track is determined; finally, the mapping relationship is added to the preset track mapping set corresponding to the display state. In this way, the mapping relationship can be added to the preset track mapping set corresponding to the display state in advance according to the user's display layout requirements, so as to achieve the matching of the output track with the preset track by using the preset track mapping set, and display the display layout required by the user.
[0085] In some embodiments, the above step S410 "determining the display layout of the interface based on the display state of the interface" can be implemented by the following steps:
[0086] Step 411: when the display state is the working state, group at least one application based on the characteristics of each application to obtain grouped applications;
[0087] Here, since there is a user's need to hide / display a group of applications with common features at the same time, at least one application can be grouped based on the features of an application. For example, applications with game functions can be grouped together, and applications with shopping functions can be grouped together. Users can also determine a group of applications that need to be hidden / displayed at the same time according to their own needs.
[0088] Step 412: Based on the grouped applications, determine a group of display applications having common features;
[0089] Step 413: determine the group of display applications having common features as the display layout of the interface.
[0090] During implementation, a group of display applications having common features are determined as the display layout of the interface, so that a group of applications can be hidden / displayed at the same time.
[0091] In the embodiment of the present application, first, when the display state is the working state, at least one application is grouped based on the characteristics of each application to obtain grouped applications; then, based on the grouped applications, a group of display applications with common characteristics is determined; finally, the group of display applications with common characteristics is determined as the display layout of the interface. In this way, applications can be grouped based on their characteristics, and users can select a group of applications with common characteristics to hide / display according to actual needs.
[0092] Based on the foregoing embodiments, an embodiment of the present application provides a display device, which includes the modules included, each module includes sub-modules, and can be implemented by a processor in an electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.
[0093] Figure 5 A schematic diagram of the structure of a display device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the device 500 includes:
[0094] A first acquisition module 510 is used to acquire trajectory information input by a user;
[0095] A first determination module 520 is used to determine the display state of the current interface;
[0096] A second determination module 530, configured to determine a preset trajectory mapping set based on a display state of a current interface;
[0097] The third determination module 540 is configured to determine a display layout of the current interface based on the trajectory information when it is determined that the trajectory information matches any preset trajectory in the preset trajectory mapping set.
[0098] In some embodiments, the trajectory information includes handwriting; the preset trajectory mapping set includes preset handwriting; the third determination module 540 includes a first acquisition submodule, a first determination submodule and a second determination submodule, wherein the first acquisition submodule is used to obtain a handwriting matching instruction; the first determination submodule is used to determine, in response to the handwriting matching instruction, whether the handwriting matches any preset handwriting in the preset trajectory mapping set; the second determination submodule is used to determine the display layout of the current interface based on the handwriting.
[0099] In some embodiments, the second determination module 530 is further used to, when it is determined that the display state is a login state, determine that the preset trajectory mapping set is a first preset trajectory mapping set based on the login state, wherein the first preset trajectory in the first preset trajectory mapping set corresponds to a trajectory for switching the desktop layout; correspondingly, the third determination module 540 is further used to, when it is determined that the trajectory information matches any first preset trajectory in the first preset trajectory mapping set, display the desktop layout corresponding to the trajectory information on the current interface.
[0100] In some embodiments, the second determination module 530 is further used to, when it is determined that the display state is the working state, determine that the preset trajectory mapping set is a second preset trajectory mapping set based on the working state, wherein the second preset trajectory in the second preset trajectory mapping set corresponds to the trajectory of hiding or displaying the application; correspondingly, the third determination module 540 is further used to, when it is determined that the trajectory information matches any second preset trajectory in the second preset trajectory mapping set, hide or display the application corresponding to the trajectory information on the current interface.
[0101] In some embodiments, the third determination module 540 includes an adjustment submodule and a display submodule, wherein the adjustment submodule is used to adjust the positions of other applications in the current interface when hiding the application, so that the position of the hidden application is filled by other applications; the display submodule is used to display the application at a preset position of the current interface based on the position information of the trajectory information when displaying the application, or to display the application in the current interface in the form of a floating window.
[0102] In some embodiments, the device also includes a fourth determination module, a second acquisition module, a fifth determination module and an adding module, wherein the fourth determination module is used to determine the display layout of the interface based on the display state of the interface; the second acquisition module is used to obtain a preset trajectory corresponding to the display layout of the interface; the fifth determination module is used to determine the mapping relationship between the display layout of the interface and the preset trajectory; and the adding module is used to add the mapping relationship to the preset trajectory mapping set corresponding to the display state.
[0103] In some embodiments, the fourth determination module includes a grouping submodule, a third determination submodule and a fourth determination submodule, wherein the grouping submodule is used to group at least one application based on the characteristics of each application to obtain grouped applications when the display state is a working state; the third determination submodule is used to determine a group of display applications with common characteristics based on the grouped applications; and the fourth determination submodule is used to determine the group of display applications with common characteristics as the display layout of the interface.
[0104] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0105] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0106] Correspondingly, an embodiment of the present application provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the display method provided in the above embodiment are implemented.
[0107] Correspondingly, an embodiment of the present application provides an electronic device, which may be a tablet computer, a laptop computer, or a desktop computer; Figure 6A hardware entity diagram of an electronic device provided in an embodiment of the present application, such as Figure 6 As shown, the hardware entity of the device 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores a computer program that can be run on the processor 602, and the processor 602 implements the steps in the display method provided in the above embodiment when executing the program.
[0108] The memory 601 is configured to store instructions and applications executable by the processor 602, and can also cache data to be processed or processed by the processor 602 and various modules in the electronic device 600 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented through flash memory (FLASH) or random access memory (Random Access Memory, RAM).
[0109] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0110] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0111] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0112] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0113] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0114] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0115] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.
[0116] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0117] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0118] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0119] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0120] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A display method, the method comprising: Get the handwriting input by the user; Determine the display status of the current interface; Determine a preset trajectory mapping set based on the display state of the current interface; Get handwriting matching instructions; In response to the handwriting matching instruction, when it is determined that the handwriting matches any preset handwriting in the preset trajectory mapping set, a display layout of the current interface is determined based on the handwriting.
2. The method according to claim 1, wherein determining a preset trajectory mapping set based on a display state of a current interface comprises: In the case where it is determined that the display state is a login state, determining the preset track mapping set as a first preset track mapping set based on the login state, wherein a first preset track in the first preset track mapping set corresponds to a track for switching desktop layout; Correspondingly, in the case of determining that the handwriting matches any preset handwriting in the preset trajectory mapping set, determining the display layout of the current interface based on the handwriting includes: When it is determined that the handwriting matches any first preset track in the first preset track mapping set, the desktop layout corresponding to the handwriting is displayed on the current interface.
3. The method according to claim 1, wherein determining a preset trajectory mapping set based on a display state of a current interface comprises: In the case where it is determined that the display state is the working state, determining the preset track mapping set as a second preset track mapping set based on the working state, wherein the second preset track in the second preset track mapping set corresponds to a track of hiding or displaying an application; Correspondingly, in the case of determining that the handwriting matches any preset handwriting in the preset trajectory mapping set, determining the display layout of the current interface based on the handwriting includes: When it is determined that the handwriting trace matches any second preset track in the second preset track mapping set, the application corresponding to the handwriting trace is hidden or displayed on the current interface.
4. The method according to claim 3, wherein hiding or displaying the application corresponding to the handwriting on the current interface comprises: When hiding the application, adjusting the positions of other applications in the current interface so that the position of the hidden application is filled by other applications; When displaying the application, the application is displayed at a preset position of the current interface based on the position information of the handwriting, or the application is displayed in the current interface in the form of a floating window.
5. The method according to any one of claims 1 to 4, before obtaining the handwriting input by the user, the method further comprises: Determining a display layout of the interface based on the display state of the interface; Acquire a preset track corresponding to the display layout of the interface; Determining a mapping relationship between a display layout of the interface and the preset trajectory; The mapping relationship is added to the preset track mapping set corresponding to the display state.
6. The method according to claim 5, wherein determining the display layout of the interface based on the display state of the interface comprises: When the display state is the working state, grouping at least one application based on the characteristics of each application to obtain grouped applications; Based on the grouped applications, determining a group of display applications having common characteristics; A group of display applications having common characteristics is determined as a display layout of the interface.
7. A display device, comprising: A first acquisition module, used to acquire handwriting input by a user; A first determination module, used to determine the display state of the current interface; A second determination module, configured to determine a preset trajectory mapping set based on a display state of a current interface; A third determination module is used to obtain a handwriting matching instruction; In response to the handwriting matching instruction, when it is determined that the handwriting matches any preset handwriting in the preset trajectory mapping set, a display layout of the current interface is determined based on the handwriting.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps in the method according to any one of claims 1 to 6 are implemented.
9. A storage medium, characterized in that: Executable instructions are stored, which are used to cause a processor to execute and implement the steps in any one of the methods described in claims 1 to 6.
Citation Information
Patent Citations
Vehicle, simulation game implementation method, vehicle-mounted display terminal and medium
CN112569583A
Game function interface control method and device, electronic equipment and medium
CN113332705A