Information display method and device, equipment and medium
By displaying target shortcut information and executing shortcut keys in the virtual keyboard area, the problem of users finding it difficult to quickly understand software functions is solved, enabling them to quickly master software operation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-09
- Publication Date
- 2026-03-10
AI Technical Summary
Users may find it difficult to quickly understand the software's functions and usage methods, which affects user experience and software efficiency.
By responding to the target operation, the target form information is determined, the target shortcut information is displayed in the virtual keyboard area, the shortcut key corresponding to the target shortcut information is executed, and the target shortcut information corresponding to the target form information is queried using a preset database.
This helps users quickly understand and master the functions of each window in the software and the supported keyboard shortcuts, thereby improving user experience, software efficiency, and ease of operation.
Smart Images

Figure CN121636033A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to an information display method, apparatus, device, and medium. Background Technology
[0002] Currently, a wide variety of software is emerging, with diverse functions, making it difficult for users to memorize and master them all in a short period. Users typically need a period of trial and error to understand the software's functions and usage methods, which negatively impacts user experience and reduces software efficiency.
[0003] Therefore, how to enable users to quickly understand the software's functions and usage methods is a problem that needs to be solved by those skilled in the art. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide an information display method, apparatus, device and medium so that users can quickly understand the relevant functions and usage methods of the software.
[0005] Firstly, this application provides an information display method, including:
[0006] In response to a target operation on the target component, determine the target form information corresponding to the target operation; the target form information is: the identification information of any form included in the target component;
[0007] Query the target shortcut information corresponding to the target form information in the preset database;
[0008] Display the target shortcut information in the virtual keyboard area;
[0009] In response to the execution operation of the target shortcut information, execute the shortcut key corresponding to the target shortcut information.
[0010] Optionally, the method further includes:
[0011] The startup or search operation targeting the target component is identified as the target operation; or, the triggering operation targeting the target function within the target component is identified as the target operation.
[0012] Optionally, the target form information corresponding to the target operation is determined, including:
[0013] If the target component is a browser, capture the URL information corresponding to the target operation and determine the target window information based on the URL information;
[0014] If the target component is not a browser, capture the window handle value corresponding to the target operation, and determine the target window information based on the window handle value.
[0015] Optionally, the target form information is determined based on the URL information, including:
[0016] Retrieve the target form information corresponding to the URL information from the database;
[0017] Accordingly, the target form information is determined based on the form handle value, including:
[0018] Call the form information retrieval function to obtain at least one of the form process name, form class name, and form title corresponding to the form handle value, and determine the target form information.
[0019] Optionally, it also includes:
[0020] In response to a target operation or a query command from the target component, query the database for the form hierarchy relationship within the target component;
[0021] Based on the form hierarchy and the forms included in the target component, a display catalog is constructed;
[0022] The catalog is displayed in the first display area of the virtual keyboard area;
[0023] In response to a trigger event from any form in the display catalog, the corresponding form's shortcut key information is highlighted on the virtual keyboard in the virtual keyboard area.
[0024] Optionally, it also includes:
[0025] If the cursor hovers over any key on the virtual keyboard, that key will be highlighted, and a pop-up window will display the key's associated shortcut key, shortcut key description, and execution method.
[0026] In response to the execution event of the associated shortcut key, execute the associated shortcut key.
[0027] Optionally, it also includes:
[0028] In response to online learning commands for the target component, users can query the corresponding shortcut key information and software description information online.
[0029] Secondly, this application provides an information display device, including...
[0030] The determination module is used to determine the target form information corresponding to the target operation in response to the target operation on the target component; the target form information is: the identification information of any form included in the target component;
[0031] The query module is used to query the target shortcut information corresponding to the target form information in the preset database;
[0032] The display module is used to display target shortcut information in the virtual keyboard area;
[0033] The execution module is used to respond to the execution operation of the target shortcut information and execute the shortcut key corresponding to the target shortcut information.
[0034] Optionally, the determination module is used for:
[0035] The startup or search operation targeting the target component is identified as the target operation; or, the triggering operation targeting the target function within the target component is identified as the target operation.
[0036] Optionally, the determination module is used for:
[0037] If the target component is a browser, capture the URL information corresponding to the target operation and determine the target window information based on the URL information;
[0038] If the target component is not a browser, capture the window handle value corresponding to the target operation, and determine the target window information based on the window handle value.
[0039] Optionally, the determination module is used for:
[0040] Retrieve the target form information corresponding to the URL information from the database;
[0041] Accordingly, the determination module is used for:
[0042] Call the form information retrieval function to obtain at least one of the form process name, form class name, and form title corresponding to the form handle value, and determine the target form information.
[0043] Optionally, it also includes:
[0044] The display module is used to query the form hierarchy in the target component in response to the target operation or query command of the target component; construct a display catalog according to the form hierarchy and the forms included in the target component; display the display catalog in the first display area of the virtual keyboard area; and highlight the form shortcut key information of the corresponding form in the virtual keyboard area in response to the trigger event of any form in the display catalog.
[0045] Optionally, it also includes:
[0046] The highlighting module is used to highlight any key on the virtual keyboard when the cursor is hovering over it, and to display the associated shortcut key, shortcut key description, and execution method in a pop-up window; in response to the execution event of the associated shortcut key, the associated shortcut key is executed.
[0047] Optionally, it also includes:
[0048] The learning module is used to respond to online learning commands for the target component and to query the corresponding shortcut key information and software description information for the target component online.
[0049] Thirdly, this application provides an electronic device, comprising:
[0050] Memory, used to store computer programs;
[0051] A processor is used to execute the computer program to implement the aforementioned disclosed information display method.
[0052] Fourthly, this application provides a non-volatile storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the aforementioned disclosed information display method.
[0053] Fifthly, this application provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the aforementioned disclosed information display method.
[0054] As can be seen from the above solutions, this application provides an information display method, including: in response to a target operation on a target component, determining the target window information corresponding to the target operation; the target window information is: the identification information of any window included in the target component; querying the target shortcut information corresponding to the target window information in a preset database; displaying the target shortcut information in a virtual keyboard area; and in response to the execution operation of the target shortcut information, executing the shortcut key corresponding to the target shortcut information.
[0055] As can be seen, this application can respond to target operations on a target component (i.e., application software), specifically including: determining the target window information corresponding to the target operation; wherein, the target window information is: the identification information of any window included in the target component; then querying the target shortcut information corresponding to the target window information in a preset database, thereby displaying the target shortcut information in the virtual keyboard area; subsequently, it can also respond to the execution operation of the target shortcut information and execute the shortcut key corresponding to the target shortcut information. Thus, based on the user's target operation on the target component (e.g., the user opening the target component, the user clicking on the target component, etc.), it can automatically identify and determine the target window information operated by the user in the target component (e.g., automatically identifying which window or function in the target component the user opened), and then automatically query and display the target shortcut information of the window opened by the user (e.g., the shortcut keys available in the current window); the user can then directly trigger it to execute the target shortcut information. This solution can help users quickly understand and master the relevant functions and usage methods of the software, such as understanding and mastering the functions of each window in the target component and the supported shortcut keys, thereby improving user experience, software efficiency, and ease of operation.
[0056] Correspondingly, the information display device, equipment and medium provided in this application also have the above-mentioned technical effects. Attached Figure Description
[0057] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0058] Figure 1 This is a flowchart of an information display method disclosed in this application;
[0059] Figure 2 This is a schematic diagram of the first type of virtual keyboard area disclosed in this application;
[0060] Figure 3 This is a schematic diagram of the second type of virtual keyboard area disclosed in this application;
[0061] Figure 4 This is a schematic diagram of the third type of virtual keyboard area disclosed in this application;
[0062] Figure 5 This is a schematic diagram of a learning information display disclosed in this application;
[0063] Figure 6 A server architecture diagram provided for this application;
[0064] Figure 7 A terminal structure diagram provided for this application. Detailed Implementation
[0065] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.
[0066] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0067] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0068] Currently, various software programs are emerging in large numbers, with diverse functions, making it difficult for users to memorize and master them all in a short period. Users typically need a period of trial and error to understand the software's functions and usage methods, which negatively impacts user experience and reduces software efficiency. Therefore, this application provides an information display solution that helps users quickly understand and master the functions of each window of a target component and the supported keyboard shortcuts, thereby improving user experience, software efficiency, and ease of operation.
[0069] See Figure 1 As shown in the figure, this application discloses an information display method, including:
[0070] S101. In response to a target operation on a target component, determine the target form information corresponding to the target operation; the target form information is: the identification information of any form included in the target component.
[0071] In this embodiment, the target component can be any application software, such as various APPs, executable files, etc. When a user opens the target component or performs some click operations on the target component, it constitutes a target operation on the target component. Therefore, in one implementation, a startup operation or search operation on the target component can be determined as a target operation; or, a trigger operation on a target function in the target component (such as opening a window in the target component) can be determined as a target operation.
[0072] It should be noted that a window is a form, so the identification information of any form included in the target component can be: form process name, form class name, and form title, etc.
[0073] In one example, the target component can be categorized as a browser and other software; when the target component is a browser, the corresponding target window information is determined based on the URL information; when the target component is other software, the corresponding target window information is determined based on the window handle value. Accordingly, in one implementation, determining the target window information corresponding to the target operation includes: if the target component is a browser, capturing the URL information corresponding to the target operation and determining the target window information based on the URL information; if the target component is not a browser, capturing the window handle value corresponding to the target operation and determining the target window information based on the window handle value.
[0074] The process of determining the target form information based on URL information includes: querying the target form information corresponding to the URL information in the database; correspondingly, the process of determining the target form information based on the form handle value includes: calling the form information acquisition function to obtain at least one of the form process name, form class name and form title corresponding to the form handle value, and determining the target form information.
[0075] S102. Query the target shortcut information corresponding to the target form information in the preset database.
[0076] In this embodiment, the pre-stored database contains: keyboard shortcuts supported by various windows of various software; and URL information of various browsers and their corresponding browser shortcuts. In one example, the target shortcut information can specifically be keyboard shortcuts.
[0077] When querying target form information in a preset database, you can select target characters (such as form process name, form class name, or form title) in the target form information to generate query keywords according to the preset keyword generation strategy, and then use these query keywords to perform the query.
[0078] S103. Display target shortcut information in the virtual keyboard area.
[0079] In one example, see the virtual keyboard area. Figure 2 When the target shortcut information is specifically the shortcut key supported by the window currently being operated by the user, Figure 2 The corresponding keys in the virtual keyboard area shown can be displayed in a preset color, or the corresponding keys in the virtual keyboard area can be made to flash.
[0080] like Figure 2 As shown, a search box is provided in the virtual keyboard area. Users can use this search box to search for relevant function windows and shortcut keys of software that is not currently open, and the relevant information is displayed in the virtual keyboard area. For example, if a user searches for the keyword of the software to be operated, such as Excel, and finds Excel in the returned results, clicking its option will display the window hierarchy corresponding to Excel in a drop-down list (this hierarchy information is pre-recorded in the database). When the user has not opened the software to be operated, it can be used as a learning and query software. Therefore, in one implementation, in response to a target operation or a query command of the target component, the window hierarchy relationship in the target component is queried in the database; a display directory is constructed according to the window hierarchy relationship and the windows included in the target component; the display directory is displayed in the first display area of the virtual keyboard area; in response to the trigger event of any window in the display directory, the window shortcut key information corresponding to the corresponding window is highlighted in the virtual keyboard of the virtual keyboard area. The display directory can specifically be... Figure 3The drop-down list shown is used to display the forms included in the target component according to the form hierarchy in the target component.
[0081] S104. In response to the execution operation of the target shortcut information, execute the shortcut key corresponding to the target shortcut information.
[0082] Please see Figure 2 or Figure 3 The virtual keyboard area shown allows users to click to execute relevant shortcuts; they can also press relevant shortcut keys on the physical keyboard to execute relevant shortcuts; or they can use a physical mouse to click the button on the virtual mouse in the virtual keyboard area to execute that button.
[0083] In one implementation, if the cursor hovers over any key on the virtual keyboard, that key is highlighted, and a pop-up window displays the key's associated shortcut key, shortcut key description, and execution method. In response to the execution event of the associated shortcut key, the associated shortcut key is executed. The pop-up window displaying the associated shortcut key, shortcut key description, and execution method for any key can be found in [reference needed]. Figure 4 Specific operations can also include: moving the mouse cursor over a highlighted key, such as Ctrl, will display a pop-up window showing several shortcut keys related to Ctrl (in this example, Ctrl+C and Ctrl+Shift+F4). Moving the mouse over another key will display a text description and instructions for that shortcut key stored in the background, as well as links to articles and videos explaining how to use it, allowing users to quickly find the shortcut. The key the mouse hovers over will then be highlighted again, perhaps with a different color to further distinguish it and indicate the required shortcut. The pop-up window can also display an execution button for the associated shortcut key. Clicking this button will automatically execute the shortcut, such as Ctrl+Shift+C, simulating keyboard input for easier one-handed operation.
[0084] like Figure 2 , Figure 3 , Figure 4 The virtual keyboard area shown can include an online learning input box. Users can use this input box to search for relevant function windows, shortcut keys, and software documentation information for any software, which will then be displayed on the virtual keyboard area. Therefore, in one implementation, in response to an online learning command for a target component, the system queries online for the corresponding shortcut key information and software documentation information.
[0085] As can be seen, this embodiment can respond to target operations on a target component (i.e., application software), specifically including: determining the target window information corresponding to the target operation; wherein, the target window information is: the identification information of any window included in the target component; then querying the target shortcut information corresponding to the target window information in a preset database, thereby displaying the target shortcut information in the virtual keyboard area; subsequently, it can also respond to the execution operation of the target shortcut information and execute the shortcut key corresponding to the target shortcut information. Thus, based on the user's target operation on the target component (e.g., the user opening the target component, the user clicking on the target component, etc.), the system can automatically identify and determine the target window information of the user's operation in the target component (e.g., automatically identifying which window or function in the target component the user opened), and then automatically query and display the target shortcut information of the window opened by the user (e.g., the shortcut keys available in the current window); the user can then directly trigger it to execute the target shortcut information. This solution can help users quickly understand and master the relevant functions and usage methods of the software, such as understanding and mastering the functions of each window in the target component and the supported shortcut keys, thereby improving user experience, software efficiency, and ease of operation.
[0086] It should be noted that the inventive concept provided in this application allows for the development of corresponding software tools that are compatible with any type of operating system, such as Windows, Mac, and Linux. When the target component is not a browser, the corresponding window acquisition function is called under different operating systems to obtain the target window information.
[0087] In one example, the methods for obtaining information about the window selected by the mouse in the Windows operating system include:
[0088] Method 1: (1) Use GetForegroundWindow() to directly obtain the window handle value hwnd; the corresponding triggering methods can be: use a timer to poll and trigger; subscribe to the global mouse hook by clicking the mouse, listen for the mouse press event and then call the function; or subscribe to the keyboard hook by using a keyboard shortcut, listen for the keyboard press or release event and trigger the function. (2) After knowing the window handle value hwnd, use GetWindowThreadProcessId, GetClassName, and GetWindowText functions to obtain the corresponding process, window class name and window title.
[0089] Method 2: (1) Register a system-level event hook using SetWinEventHook. When an event occurs that a window becomes the foreground window, obtain the corresponding window information through the WinEventCallback callback function and return the window handle value hwnd. (2) After knowing the window handle value hwnd, obtain the corresponding process, window class name and window title through the GetWindowThreadProcessId, GetClassName and GetWindowText functions.
[0090] Accordingly, the methods for obtaining information about the window over which the mouse hovers in the Windows operating system include: calling GetCursorPos to get the cursor coordinates, and using WindowFromPoint to get the handle value hwnd of the top-level window; after knowing the window handle value hwnd, using the GetWindowThreadProcessId, GetClassName, and GetWindowText functions to get the corresponding process, window class name, and window title.
[0091] In one example, the way to obtain information about the window selected by the mouse under the Mac operating system includes: obtaining a list of windows through the Quartz window service interface CGWindowListCopyWindowInfo, and filtering out the focus window and its ID based on attributes such as window hierarchy; and directly obtaining the process ID (PID) from the kCGWindowOwnerPID attribute of the focus window.
[0092] Accordingly, the ways to obtain information about the window that the mouse is hovering over under the Mac operating system include: obtaining the current coordinates of the mouse through CGEventGetLocation; calling CGWindowListCopyWindowInfo and combining coordinate filtering to obtain the kCGWindowNumber (window ID) of the window that the mouse is hovering over; and directly obtaining the process ID (PID) from the kCGWindowOwnerPID property of the focused window.
[0093] In one example, the Linux operating system obtains information about the window selected by the mouse in the following ways: It directly retrieves the ID of the window currently with input focus using the XGetInputFocus function from the Xlib library. Then, it queries the window's _NET_WM_PID attribute using the XGetWindowProperty function from the Xlib library to obtain its process ID (PID).
[0094] Accordingly, the ways to obtain information about the window that the mouse hovers over in the Mac operating system include: querying the mouse position and getting the window below it using XQueryPointer(); and querying the window's _NET_WM_PID property through the XGetWindowProperty function of the Xlib library to get its process ID (PID).
[0095] In one implementation, a window acquisition function is used to obtain the handle value of the currently operated window; based on the handle value, the window information of the currently operated window is obtained; the window information includes at least one of the following: window process name, window class name, and window title. Obtaining the handle value of the currently operated window using the window acquisition function includes: periodically polling the handle value using the window acquisition function; or, in response to a mouse click event, calling the window acquisition function to obtain the handle value; or, in response to a keyboard press event or keyboard release event, calling the window acquisition function to obtain the handle value; or, in response to a foreground window change event monitored by a hook function, calling the window acquisition function to obtain the handle value; or, obtaining the handle value based on the cursor coordinate position.
[0096] like Figure 2 , Figure 3 , Figure 4 The virtual keyboard area shown can be used to add a favorites button. Users can bookmark this button. Users can save the shortcut keys corresponding to the selected function window to their current user account. Subsequent users can quickly access the saved shortcut keys by clicking on the favorites.
[0097] In one example, this application supports identifying the software to which a window belongs as the window changes, then obtaining the shortcut key information of the currently operated window through a query operation, and highlighting the shortcut key information in the virtual keyboard area on the display interface. Furthermore, when a window within the same software changes, the shortcut key display interface changes accordingly, with the virtual keyboard area displaying the shortcut keys for one window at a time. Specifically, the effects are as follows: when a user switches software, the shortcut key display changes accordingly; when a user switches between different function windows within the same software, the shortcut key display also changes accordingly; when a user opens a webpage through an external browser, the application identifies the webpage's URL and captures the corresponding URL; based on the URL, the application extracts the domain name or path prefix as the identification key, obtains the name, window level, and other information of the corresponding URL B1 through a query operation, and then highlights the shortcut keys supported by the webpage in the virtual keyboard area on the display interface. In other embodiments, when the mouse selects a key in the virtual keyboard area, the shortcut key for that key can be displayed in a prominent floating color.
[0098] Please see Figure 2The virtual keyboard area can specifically include: a search box, a virtual keyboard, a drop-down list (window hierarchy selector), a horizontal category list (functional module navigation bar), and a web browser shortcut key display button.
[0099] The drop-down list displays the window hierarchy of a software selected by the user, such as Excel / [main form, VBA form]; WeChat Work / [main form, email form, document form].
[0100] The horizontal category list is used to display the functional modules of the current form of the software selected by the user, such as the formula, view, and tools modules on the Excel main form, or the email editing and viewing modules on the WeChat Work email form.
[0101] pass Figure 2 The online learning input box shown allows users to search for information about the software being used, including: feature introductions, usage tutorials, etc. For example, Figure 5 This application shows a detailed information page for a Word software provided. When the target software is Word, the related learning information can be an introduction to the Word software.
[0102] In one example, the functional modules included in the target component are displayed in a horizontally categorized list on the virtual keyboard area; in response to a mouse click event on any item name in the horizontally categorized list, the shortcut keys of the corresponding functional modules are displayed separately in the virtual keyboard area.
[0103] If the corresponding software tool A is implemented according to the inventive concept provided in this application, then after opening and running software tool A, and then operating other software (i.e., target components) within the same operating system, software tool A can display all shortcut key information for the currently operated window level in the virtual keyboard area. The display method is to highlight the keys whose shortcut key information has been recorded. For example, when a user opens Excel, the Excel window level includes: a spreadsheet window, a VBA window, and a PowerQuery window. After opening, clicking on the "spreadsheet window" window level, if this window level records shortcut keys such as Ctrl+Shift+C and Alt+Shift+S, then the corresponding Ctrl, Shift, Alt, Shift, C, and S keys will be highlighted in the virtual keyboard area. The user can click on functions in the horizontal list to filter the shortcut keys. After filtering, only the shortcut keys for the corresponding functions will be displayed. For example, clicking on "functions" will only display shortcut keys related to functions. The user can select the corresponding shortcut key on the physical keyboard based on the highlighted prompts on the virtual keyboard, thereby improving the efficiency of shortcut key retrieval.
[0104] Specifically, when a user operates on the window of another software, the window hierarchy of the operated software can be obtained in two ways: Method 1: When the user moves the mouse, the hover window is captured, its name is read, and the window hierarchy of the operated software is determined based on the hover window name and the current process name. The window name and process name are collected in the background. Method 2: Information about the software A1 that the user last activated with the mouse (other than this software) is obtained, the active window is captured, its name is read, and the window hierarchy of the operated software is determined based on the active window name and the current process name. When the operated software changes, the process name will change; when the window clicked by the user changes, the window name may change. Software tool A can know which software is open through the process name. Since different software may have the same window name, software tool A can determine the corresponding window hierarchy by obtaining the process name and window information.
[0105] After obtaining the process name and form name, software tool A matches the process name and form name with the pre-set database. It can retrieve the pre-recorded software name and window hierarchy information, highlight the shortcut keys corresponding to the pre-recorded window hierarchy in the virtual keyboard area, and display them in the drop-down list.
[0106] Specifically, when a user operates a browser window, they can open a webpage through an external browser. Software tool A then identifies the webpage's URL in the external browser and obtains the corresponding URL information, performing a query for window information based on this URL. Alternatively, the user can open any webpage using the browser included with software tool A, capturing the current URL. The domain name or path prefix is extracted as the identification key, and after matching it with the pre-defined database, the name and window hierarchy information of the pre-recorded URL B1 can be retrieved. The shortcut keys corresponding to that URL's window hierarchy are then highlighted and displayed in a drop-down list. For example, if a user opens https: / / doc.demo-1.com / 123.html, the backend identifies the domain doc.demo-1.com, compares it with the database, and finds it to be the online document page of the already recorded demo-1 website. The shortcut keys corresponding to the online document page are then highlighted, and its list information is displayed: demo-1 online document / [document, table, smart table]. The horizontal category selection function is also available in webpage shortcut key mode, which will not be elaborated upon here.
[0107] If a user switches between different function windows within the operating software, and software tool A does not recognize this switch (for example, the operating software changed the name of a function window after an update), the user can also click the drop-down list in the virtual keyboard area to switch windows, highlighting the corresponding window's shortcut key. If the user switches continuously between different software programs A1, A2, and An, the drop-down list will change accordingly to match the selected content; if it cannot recognize the function, it will return a message indicating that it cannot be recognized.
[0108] It should also be noted that users can freely choose to display one of the functional modules of the current form in the horizontal category list, such as the formulas on the Excel main form. Then, the virtual keyboard area will only display the shortcut keys related to that module to reduce interference from other modules. Once selected, the highlighted shortcut keys on the virtual keyboard will not change unless the external software being operated is clicked.
[0109] As can be seen, this embodiment supports automatic identification of the software being operated on or the target webpage, and displays the relevant information of the corresponding window of the software being operated on or the target webpage to prompt the user, which can improve the user's operating efficiency.
[0110] The following describes an information display device provided by an embodiment of this application. The information display device described below can be referred to in conjunction with other embodiments described herein.
[0111] This application discloses an information display device, including:
[0112] The determination module is used to determine the target form information corresponding to the target operation in response to the target operation on the target component; the target form information is: the identification information of any form included in the target component;
[0113] The query module is used to query the target shortcut information corresponding to the target form information in the preset database;
[0114] The display module is used to display target shortcut information in the virtual keyboard area;
[0115] The execution module is used to respond to the execution operation of the target shortcut information and execute the shortcut key corresponding to the target shortcut information.
[0116] In one implementation, the determining module is used to:
[0117] The startup or search operation targeting the target component is identified as the target operation; or, the triggering operation targeting the target function within the target component is identified as the target operation.
[0118] In one implementation, the determining module is used to:
[0119] If the target component is a browser, capture the URL information corresponding to the target operation and determine the target window information based on the URL information;
[0120] If the target component is not a browser, capture the window handle value corresponding to the target operation, and determine the target window information based on the window handle value.
[0121] In one implementation, the determining module is used to:
[0122] Retrieve the target form information corresponding to the URL information from the database;
[0123] Accordingly, the determination module is used for:
[0124] Call the form information retrieval function to obtain at least one of the form process name, form class name, and form title corresponding to the form handle value, and determine the target form information.
[0125] In one implementation, it further includes:
[0126] The display module is used to query the form hierarchy in the target component in response to the target operation or query command of the target component; construct a display catalog according to the form hierarchy and the forms included in the target component; display the display catalog in the first display area of the virtual keyboard area; and highlight the form shortcut key information of the corresponding form in the virtual keyboard area in response to the trigger event of any form in the display catalog.
[0127] In one implementation, it further includes:
[0128] The highlighting module is used to highlight any key on the virtual keyboard when the cursor is hovering over it, and to display the associated shortcut key, shortcut key description, and execution method in a pop-up window; in response to the execution event of the associated shortcut key, the associated shortcut key is executed.
[0129] In one implementation, it further includes:
[0130] The learning module is used to respond to online learning commands for the target component and to query the corresponding shortcut key information and software description information for the target component online.
[0131] For more detailed information on the working process of each module and unit in this embodiment, please refer to the relevant content disclosed in the foregoing embodiments, which will not be repeated here.
[0132] As can be seen, this embodiment provides an information display device that can help users quickly understand and master the functions of each window of the target component and the supported shortcut keys, thereby improving user experience, software efficiency, and ease of operation.
[0133] The following describes an electronic device provided by an embodiment of this application. The electronic device described below can be referred to in conjunction with other embodiments described herein.
[0134] This application discloses an electronic device, including:
[0135] Memory, used to store computer programs;
[0136] A processor is configured to execute the computer program to implement the methods disclosed in any of the above embodiments.
[0137] Furthermore, embodiments of this application also provide an electronic device. The aforementioned electronic device can be, for example,... Figure 6 The server shown can also be as follows: Figure 7 The terminal shown. Figure 6 and Figure 7 These are all diagrams illustrating the structure of an electronic device according to an exemplary embodiment. The content in the diagrams should not be considered as any limitation on the scope of this application.
[0138] Figure 6 This is a schematic diagram of a server structure provided in an embodiment of this application. The server may specifically include: at least one processor, at least one memory, a power supply, a communication interface, an input / output interface, and a communication bus. The memory stores a computer program, which is loaded and executed by the processor to implement the relevant steps in the information display disclosed in any of the foregoing embodiments.
[0139] In this embodiment, the power supply is used to provide operating voltage for each hardware device on the server; the communication interface can create a data transmission channel between the server and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0140] In addition, the memory, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored on it include operating system, computer programs and data, etc., and the storage method can be temporary storage or permanent storage.
[0141] The operating system is used to manage and control the various hardware devices and computer programs on the server, enabling the processor to perform operations and processes on the data in the memory. It can be Windows Server, Netware, Unix, Linux, etc. In addition to computer programs capable of performing the information display methods disclosed in any of the foregoing embodiments, the computer programs may further include computer programs capable of performing other specific tasks. The data may include application update information and application developer information.
[0142] Figure 7 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application. The terminal may include, but is not limited to, a smartphone, tablet computer, laptop computer, or desktop computer.
[0143] Typically, the terminal in this embodiment includes a processor and a memory.
[0144] The processor may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor can be implemented using at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor may also include a main processor and coprocessors. The main processor, also known as the CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor may also include an AI (Artificial Intelligence) processor, which handles computational operations related to machine learning.
[0145] The memory may include one or more computer non-volatile storage media, which may be non-transitory. The memory may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory is used to store at least the following computer program, which, after being loaded and executed by the processor, is capable of implementing the relevant steps in the information display method executed by the terminal side as disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory may also include operating systems and data, and the storage method may be temporary or permanent storage. The operating system may include Windows, Unix, Linux, etc. The data may include, but is not limited to, application update information.
[0146] In some embodiments, the terminal may further include a display screen, an input / output interface, a communication interface, a sensor, a power supply, and a communication bus.
[0147] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on the terminal and may include more or fewer components than illustrated.
[0148] The following describes a non-volatile storage medium provided in an embodiment of this application. The non-volatile storage medium described below can be referred to in conjunction with other embodiments described herein.
[0149] A non-volatile storage medium is provided for storing a computer program, wherein the computer program, when executed by a processor, implements the information display method disclosed in the foregoing embodiments. The non-volatile storage medium is a computer-readable non-volatile storage medium, which, as a carrier for resource storage, can be a read-only memory, random access memory, disk, or optical disk, etc. The resources stored thereon include an operating system, computer programs, and data, and the storage method can be temporary storage or permanent storage.
[0150] The following describes a computer program product provided by an embodiment of this application. The computer program product described below can be referred to in conjunction with other embodiments described herein.
[0151] A computer program product includes a computer program / instructions that, when executed by a processor, implement the steps of the aforementioned disclosed information display method.
[0152] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium for storing a computer program that, when executed by a processor, implements the steps in any of the above embodiments.
[0153] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0154] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of non-volatile storage medium known in the art.
[0155] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only intended to help understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. An information display method characterized by comprising: The method comprises: determining target form information corresponding to the target operation in response to a target operation on a target component; the target form information is identification information of any form included in the target component; querying target shortcut information corresponding to the target form information in a preset database; displaying the target shortcut information in a virtual keyboard area; executing a shortcut key corresponding to the target shortcut information in response to an execution operation of the target shortcut information.
2. The method of claim 1, wherein, The method further comprises: determining a start operation or a search operation on the target component as the target operation, or determining a trigger operation on a target function in the target component as the target operation.
3. The method of claim 1, wherein, Determining the target form information corresponding to the target operation comprises: if the target component is a browser, capturing URL information corresponding to the target operation, and determining the target form information based on the URL information; if the target component is not a browser, capturing a form handle value corresponding to the target operation, and determining the target form information based on the form handle value.
4. The method of claim 3, wherein, Determining the target form information based on the URL information comprises: querying the target form information corresponding to the URL information in the database; Correspondingly, determining the target form information based on the form handle value comprises: calling a form information acquisition function to acquire at least one of a form process name, a form class name, and a form title corresponding to the form handle value, and determining the target form information.
5. The method according to any one of claims 1 to 4, characterized in that, Further comprising: querying a form hierarchy relationship in the target component in the database in response to the target operation or in response to a query instruction of the target component; constructing a display directory according to the form hierarchy relationship and each form included in the target component; displaying the display directory in a first display area in the virtual keyboard area; highlighting display of form shortcut key information corresponding to a corresponding form in a virtual keyboard in the virtual keyboard area in response to a trigger event of any form in the display directory.
6. The method of claim 5, wherein, Further comprising: if a cursor stays at any key position of the virtual keyboard, highlighting display of the key, and displaying associated shortcut keys, shortcut key description information, and execution methods of the key in a pop-up window; executing the associated shortcut keys in response to an execution event of the associated shortcut keys.
7. The method according to any one of claims 1 to 4, characterized in that, Further comprising: in response to an online learning instruction on the target component, querying shortcut key information and software description information corresponding to the target component online.
8. An information display device, characterized by comprising: The method comprises: a determination module configured to determine target form information corresponding to a target operation in response to a target operation on a target component; the target form information is identification information of any form included in the target component; a query module configured to query target shortcut information corresponding to the target form information in a preset database; a display module configured to display the target shortcut information in a virtual keyboard area; an execution module configured to execute a shortcut key corresponding to the target shortcut information in response to an execution operation of the target shortcut information.
9. An electronic device, comprising: The method comprises: a memory configured to store a computer program; a processor for executing the computer program to implement the method of any one of claims 1 to 7.
10. A non-volatile storage medium, comprising: a computer program product for saving a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.