Desktop operation assisting method and device based on context awareness, medium and equipment

By analyzing the user's operation intention and generating operation assistance information based on context-aware technology, the problem in the existing technology that the desktop operation assistance mode cannot correct incorrect operations in a timely manner is solved, and more efficient user operation guidance is achieved.

CN118567541APending Publication Date: 2024-08-30NINGBO HOLLYSHI INFORMATION SECURITY RES INST CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410739196.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing desktop operation assistance mode cannot promptly correct user operation errors, resulting in poor real-time response.

Method used

Using a method based on context awareness, by obtaining the terminal's desktop interface information and operation information, it analyzes the user's operation intention, generates targeted operation auxiliary information, and displays it on the interface in the form of a transparent layer to guide the user to correct wrong operations.

Benefits of technology

It improves the real-time response effect of desktop operation assistance, ensures the accuracy and efficiency of user operations, and reduces operation interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567541A
    Figure CN118567541A
Patent Text Reader

Abstract

The invention relates to a desktop operation assisting method and device based on context awareness, a medium and equipment, and relates to the technical field of desktop operation assistion.The method comprises the steps that desktop interface information and desktop operation information of a terminal of a user are obtained; determining corresponding context information based on a context sensing technology according to the desktop interface information and the desktop operation information; generating corresponding operation auxiliary information based on the context information and the current desktop operation of the user; and determining a display position corresponding to the operation auxiliary information in the terminal interface, and displaying the operation auxiliary information at the display position through a transparent layer. According to the invention, the desktop operation auxiliary real-time response effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of desktop operation assistance, and in particular to a desktop operation assistance method, device, medium and equipment based on context perception. Background Art

[0002] Context awareness is a technology that can understand and respond to user behavior and environmental information. Its core lies in the ability to collect and analyze user context information. Through context information, user needs and behaviors can be accurately predicted, thereby providing more personalized and accurate services. Desktop operation refers to the behavior of users interacting with computers through input devices such as mice and keyboards in a graphical user interface (GUI). Desktop operation assistance refers to a series of auxiliary functions provided on the computer desktop to help users perform daily tasks more easily and effectively, thereby improving the user's work efficiency and convenience of operation on the computer desktop.

[0003] At present, desktop operation assistance mode usually adopts a general wizard mode. The wizard mode is a user interaction mode that aims to guide users to complete complex tasks or processes through a series of step-by-step tutorial interfaces. This mode explains and instructs each step. When users operate according to the tutorial interface, if there is an error in a certain step, the wizard mode cannot guide the user correctly in time to make the correct desktop operation, resulting in poor real-time response effect of desktop operation assistance. Summary of the invention

[0004] In order to improve the effect of real-time response of desktop operation assistance, the present application provides a desktop operation assistance method, device, medium and equipment based on context perception.

[0005] In a first aspect of the present application, a desktop operation assistance method based on context perception is provided, which specifically includes: Obtaining desktop interface information and desktop operation information of the user's terminal; Determining corresponding context information based on the desktop interface information and the desktop operation information and context awareness technology; Based on the context information and the user's current desktop operation, generating corresponding operation auxiliary information; Determine a display position corresponding to the operation auxiliary information in the terminal interface, and display the operation auxiliary information in a transparent layer at the display position.

[0006] By adopting the above technical solution, after obtaining the desktop interface information and desktop operation information of the terminal, the context awareness technology is used to analyze and extract context information from the desktop interface information and desktop operation information, thereby reflecting the user's operation intention on the terminal to a certain extent. Then, based on the context information, the user's operation intention is analyzed and inferred, and combined with the user's current desktop operation, corresponding operation assistance information is generated, thereby determining the operation reminder that matches the user's operation intention, and finally determining the display position of the operation assistance information in the interface, and displaying it in the form of a transparent layer, which not only does not interfere with the user's desktop operation, but also enables the operation assistance information to be displayed in real time at the corresponding position in the terminal interface, and to provide targeted reminders or guidance for the user's desktop operation, thereby improving the effect of real-time response of desktop operation assistance.

[0007] Optionally, the generating corresponding operation auxiliary information based on the context information and the current desktop operation of the user specifically includes: Determining the next operation type of the user's next desktop operation based on the context information, and judging whether the user's current desktop operation is correct; If yes, then when the next operation type is a mouse click type, a next mouse click suggestion is generated and determined as operation auxiliary information; If not, when the operation type of the current desktop operation is a mouse click type, a correct mouse click suggestion is generated and determined as operation auxiliary information; When the operation type of the current desktop operation is a keyboard input type, correct keyboard input information is generated and determined as operation auxiliary information.

[0008] By adopting the above technical solution, if the user's current desktop operation is correct and the operation type of the next desktop operation is a mouse click type, it means that the desktop operation suggestion for the user should be the next correct mouse click operation, so the next mouse click suggestion is generated and determined as operation auxiliary information; if the user's current desktop operation is wrong, the correct operation suggestion should be displayed for the current desktop operation, then when the operation type of the current desktop operation is a mouse click type, the correct mouse click suggestion is determined as operation auxiliary information; when the operation type of the current desktop operation is a keyboard input type, the correct keyboard input information is determined as operation auxiliary information, thereby determining a targeted and real-time response based on the current desktop operation.

[0009] Optionally, determining a display position corresponding to the operation auxiliary information in the terminal interface, and displaying the operation auxiliary information in a transparent layer at the display position specifically includes: Parsing the desktop interface information to obtain at least one interface element; If the current desktop operation is correct, then when the next operation type is a mouse click type, determining a first interface element corresponding to the next mouse click suggestion from each of the interface elements; Determine the position of the first interface element as a first display position of corresponding operation auxiliary information in the terminal interface, and display the corresponding operation auxiliary information in a transparent layer at the first display position; If the current desktop operation is wrong, then when the operation type of the current desktop operation is a mouse click type, determining a second interface element corresponding to the correct mouse click suggestion from each of the interface elements; The position of the second interface element is determined as a second display position of the corresponding operation auxiliary information in the terminal interface, and the corresponding operation auxiliary information is displayed in a transparent layer at the second display position.

[0010] By adopting the above technical solution, if the current desktop operation is correct and the next operation type is a mouse click type, it means that based on the user's operation intention, the next desktop operation is a mouse click operation, then the first interface element corresponding to the next mouse click suggestion is determined, that is, the interface element to be clicked by the mouse in the next step, and further, the operation auxiliary information is displayed at the location of the first interface element; if the current desktop operation is wrong, and the operation type of the current desktop operation is a mouse click type, it means that based on the user's operation intention, the current mouse click operation is wrong, then according to the correct mouse click suggestion, the interface element that the user should click, that is, the second interface element, is determined. Finally, the operation auxiliary information is displayed at the location of the second interface element, thereby providing the user with accurate and personalized operation reminders for the next desktop operation.

[0011] Optionally, displaying the operation auxiliary information in a transparent layer at the display position specifically includes: When the operation assistance information is a mouse click suggestion for a target interface element, a first group type of the user is obtained, a first transparency range corresponding to the first group type is matched from a preset transparency recommendation table, and the corresponding operation assistance information is displayed at the display position with a first transparent layer of a first transparency, wherein the transparency recommendation table includes different group types and corresponding transparency ranges, the first transparency is the lowest transparency in the first transparency range, and the target interface element is the interface element at the display position; If the user is not detected clicking the target interface element for more than a first preset time, then the actual number of clicks of the user on the target interface element within a preset range is counted; When the actual number of clicks is not less than a preset number threshold, the first transparency is increased to a target transparency based on the first transparency range, and corresponding operation auxiliary information is displayed at the display position with a target transparent layer of the target transparency; If the actual number of clicks is less than the number threshold, obtaining a second group type sent by the terminal, and replacing the first transparency with a second transparency in a second transparency range corresponding to the second group type, where the second transparency is the lowest transparency in the second transparency range; The corresponding operation auxiliary information is displayed at the display position using a second transparent layer with the second transparency.

[0012] By adopting the above technical solution, if the actual number of clicks is not less than the preset number threshold, it means that the user has clicked a lot of times on the area near the target interface element, which means that the first transparency is too low and the target interface element is seriously blocked. Then, within the first transparency range, the first transparency is increased to improve the problem of blocking the target interface element. If the actual number of clicks is less than the number threshold, the user has clicked a little on the area near the target interface element, which means that the user has not seen the first transparent layer from the beginning and does not know the position of the first transparent layer in the terminal interface. This further indicates that the current first transparency range does not fit the user. It may be that there is a deviation when determining the first group type of this user. Then, the first transparency is replaced with the second transparency, so that the user can easily observe the transparent layer that displays the operation auxiliary information.

[0013] Optionally, the mouse click suggestion includes a mouse click suggestion action on the target interface element, and after the corresponding operation auxiliary information is displayed at the display position in the second transparent layer with the second transparency, the method further includes: If the user is not detected clicking the target interface element with the mouse suggested click action for more than a second preset time period, obtaining the first interface color of the display position; Calculating a first contrast ratio between the first interface color and the color of the operation auxiliary information displayed in the second transparent layer; If the first contrast is lower than a preset first contrast threshold, the color of the operation auxiliary information displayed in the second transparent layer is adjusted to a first target color, and the contrast between the first target color and the first interface color is not lower than the first contrast threshold.

[0014] By adopting the above technical solution, if the user is not detected clicking the target interface element according to the mouse suggested click action within the second preset time, it means that there is a high probability that the user cannot clearly see the operation auxiliary information displayed in the second transparent layer, resulting in the user not clicking the target interface element according to the mouse suggested click action, then the first contrast is determined, if the first contrast is lower than the preset first contrast threshold, it means that the contrast between the first interface color and the color of the operation auxiliary information is low, and the colors are close, resulting in the user being unable to see the operation auxiliary information clearly, then the color of the operation auxiliary information is adjusted to the first target color, so that the user can easily observe the operation auxiliary information in the first transparent layer.

[0015] Optionally, after displaying the corresponding operation auxiliary information at the display position with the second transparent layer of the second transparency, the method further includes: If the user is not detected clicking the target interface element for more than a third preset time period, obtaining a second interface color of the display position; Calculating a second contrast ratio between the second interface color and the color of the second transparent layer; If the second contrast is lower than a preset second contrast threshold, the second transparency is restored to the first transparency, and the color of the first transparent layer is adjusted to a preset second target color, and the contrast between the second target color and the second interface color is not lower than the second contrast threshold.

[0016] By adopting the above technical solution, if the user is not detected clicking the target interface element for more than the third preset time, it means that the user may not be able to view the second transparent layer. Further, if the second contrast is lower than the preset second contrast threshold, it means that the second transparent layer is not easy to be viewed by the user because the color of the second transparent layer is close to the color of the second interface, and it is not caused by the mismatch between the first transparency range and the user. In this case, the second transparency is restored to the first transparency, and the color of the first transparent layer is adjusted, so that the first transparent layer is easy to be observed by the user, thereby improving the auxiliary effect on the user's desktop operation.

[0017] Optionally, displaying the operation auxiliary information in a transparent layer at the display position specifically includes: Determining a distance between the display position and a center of a screen of the terminal; Comparing the distance with a preset distance threshold, and if the distance is less than the distance threshold, obtaining a third group type of the user; According to the third group type, determining a third transparency of the transparent layer at which the user can easily observe, and displaying the operation auxiliary information at the display position with the third transparent layer of the third transparency; If the distance is not less than the distance threshold, the fourth transparency of the transparent layer is determined to be easy for the user to observe based on the distance, and the operation assistance information is displayed at the display position with the fourth transparent layer of the fourth transparency, and the greater the distance, the lower the fourth transparency.

[0018] By adopting the above technical solution, if the distance is less than the distance threshold, it means that the display position of the operation auxiliary information is more in line with the user's visual habit of viewing the screen, and it is more reasonable to determine the transparency suitable for the user according to the user group type; if the distance is not less than the distance threshold, it means that the display position is far from the center of the screen and does not conform to the user's visual habit of viewing the screen. If the transparency of the transparent layer is too high and is easily ignored by the user, it is more reasonable to determine the transparency suitable for the user according to the distance. This makes it easier for the user to see the transparent layer and perform desktop operations according to the operation auxiliary information.

[0019] In a second aspect of the present application, a desktop operation auxiliary device based on context perception is provided, which specifically includes: An information acquisition module is used to acquire desktop interface information and desktop operation information of a user's terminal; A context perception module, used to determine corresponding context information based on the desktop interface information and the desktop operation information and context perception technology; An auxiliary generation module, used to generate corresponding operation auxiliary information based on the context information and the user's current desktop operation; The operation assistance module is used to determine the display position corresponding to the operation assistance information in the terminal interface, and display the operation assistance information in a transparent layer at the display position.

[0020] By adopting the above technical solution, after the information acquisition module obtains the desktop interface information and desktop operation information, the upper and lower perception module determines the corresponding context information based on the context perception technology, and then the auxiliary generation module generates matching operation auxiliary information based on the context information and the current desktop operation. Finally, the operation auxiliary module displays this operation auxiliary information in the form of a transparent layer at the corresponding display position.

[0021] In a third aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is loaded and executed by a processor, the method steps described in any one of the first aspects are performed.

[0022] In a fourth aspect of the present application, an electronic device is provided, specifically comprising: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the processor is used to load and execute the computer program stored in the memory so that the electronic device performs the method as described in any one of the first aspects.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: after obtaining the desktop interface information and desktop operation information of the terminal, the context awareness technology is used to analyze and extract context information from the desktop interface information and desktop operation information, thereby reflecting the user's operation intention on the terminal to a certain extent. Then, based on the context information, the user's operation intention is analyzed and inferred, and combined with the user's current desktop operation, corresponding operation assistance information is generated to determine the operation reminder that matches the user's operation intention. Finally, the display position of the operation assistance information in the interface is determined, and displayed in the form of a transparent layer. Not only will it not interfere with the user's desktop operation, but it can also enable the operation assistance information to be displayed in real time at the corresponding position in the terminal interface, and provide targeted reminders or guidance for the user's desktop operation, thereby improving the effect of real-time response of desktop operation assistance. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a flowchart of a desktop operation assistance method based on context perception provided by an embodiment of the present application; Figure 2 It is a flowchart of another desktop operation assistance method based on context perception provided by an embodiment of the present application; Figure 3 is a structural schematic diagram of a desktop operation auxiliary device based on context perception provided in an embodiment of the present application; Figure 4 It is a structural schematic diagram of another context-aware desktop operation auxiliary device provided in an embodiment of the present application.

[0025] Explanation of the accompanying drawings: 11. Information acquisition module; 12. Up and down perception module; 13. Auxiliary generation module; 14. Operation auxiliary module; 15. First color adjustment module; 16. Second color adjustment module. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0027] In the description of the embodiments of the present application, words such as "illustrative", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "illustrative", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "illustrative", "for example" or "for example" is intended to present related concepts in a concrete way.

[0028] In the description of the embodiments of the present application, the term "and / or" is only a kind of association relationship describing the associated objects, indicating that there may be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0029] See also Figure 1 The present application embodiment discloses a flowchart of a desktop operation assistance method based on context perception, which can be implemented by a computer program or run on a desktop operation assistance device based on context perception based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application, specifically including: S101: Acquire desktop interface information and desktop operation information of a user's terminal.

[0030] Specifically, in an embodiment of the present application, the execution subject of the context-aware desktop operation assistance method is a server, and the terminal is a tablet computer or a personal computer. The server and the terminal can be directly or indirectly connected via a wired or wireless network. A client related to desktop operation assistance is installed in the terminal, and the server can be a background server of the client, which can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. When the user opens the client related to the desktop operation assistance, the server executes the context-aware desktop operation assistance method, thereby providing the user with real-time and targeted desktop operation assistance, so that the user has a better desktop operation experience.

[0031] Furthermore, the desktop interface information can be understood as the display information in the screen of the terminal, which can include pictures and text information. In other embodiments, the display information can also include interface elements, which refer to various visual components in the terminal interface, which together constitute the interface for the user to interact with the terminal system. Exemplarily, the interface elements can be menu bars, toolbars, buttons, text boxes, etc. In addition, the desktop operation information refers to the operation behavior information of the user on the desktop, which can be mouse click behavior information or keyboard input information.

[0032] A feasible way to obtain desktop interface information is: if the operating system of the terminal is a Linux system, then the desktop interface information is obtained in real time through the preset ffmpeg tool or simplescreenrecorder tool; if the operating system of the terminal is a Windows system, then the desktop interface information can be obtained in real time using Windows Terminal. In addition, a feasible way to obtain the desktop operation information of the terminal is: through the Remote Desktop Protocol (RDP), the desktop operation information of the user at the terminal is obtained in real time. It should be noted that in an embodiment of the present application, the desktop interface information and desktop operation information of the terminal within a preset time can be obtained, and the preset time can be minutes. In other embodiments, multiple desktop interface information and desktop operation information from the time the user opens the client to the current time can also be obtained. In another embodiment, the desktop interface information and desktop operation information of the current time can also be obtained.

[0033] S102: Determine corresponding context information according to the desktop interface information and the desktop operation information based on context awareness technology.

[0034] Specifically, after the desktop interface information and desktop operation information are determined, context information is extracted from the desktop interface information and desktop operation information based on context-aware technology and using an information extraction unit (IEU). In an embodiment of the present application, context information is information that characterizes the user's desktop operation intention. Among them, context-aware technology refers to a technology that enables a computer system to understand and respond to context information in a user environment. In addition, the information extraction unit is a component used to extract key information in natural language processing (Natural Language Processing, NLP). Further, the information extraction unit usually includes multiple components that work together to parse context-related information. In an embodiment of the present application, the information extraction unit includes a context information extractor (Context Information Extractor, CIE). In other embodiments, the information extraction unit may also include a self-attention unit (Self-Attention Unit). For example, if the user is processing an email, the extracted context information may include the sender, subject, and body information of the email.

[0035] S103: Generate corresponding operation assistance information based on the context information and the user's current desktop operation.

[0036] In an achievable implementation, based on the context information, the next operation type of the user's next desktop operation is determined, and whether the user's current desktop operation is correct is determined; If yes, when the next operation type is a mouse click type, a next mouse click suggestion is generated and determined as operation auxiliary information; If not, when the operation type of the current desktop operation is a mouse click type, a correct mouse click suggestion is generated and determined as operation auxiliary information; When the operation type of the current desktop operation is a keyboard input type, correct keyboard input information is generated and determined as operation auxiliary information.

[0037] Specifically, the operation auxiliary information is an operation suggestion or prompt generated in real time based on the user's current operation on the desktop. After the context information is determined, the context information is input into the analysis model based on the context perception technology to determine the user's operation intention. In an embodiment of the present application, the analysis model can adopt the GPT model of the Transformer architecture, and in other embodiments, it can also be a BERT model of the Transformer architecture, which can understand and analyze the context information, capture the user's operation intention on the terminal, and determine the user's current correct desktop operation and the next operation type of the next desktop operation based on this operation intention. Among them, the next operation type is the operation type of the user's next desktop operation, and the operation type is divided into a mouse click type and a keyboard input type. The mouse click type refers to the operation type in the user's desktop operation that involves triggering or executing a certain operation or function by clicking an event with a mouse. The keyboard input type refers to the operation type of performing a certain operation by text input through a keyboard key. Exemplarily, if the user's operation intention is software installation, then the next operation type is a mouse click type.

[0038] Furthermore, the user's current desktop operation, that is, whether the current desktop operation is correct, is determined by comparing the correct desktop operation with the current desktop operation. If they are consistent, it means that the current user's desktop operation is correct. Then, when the next operation type is a mouse click type, based on the current desktop operation and the operation intention, the analysis model is used to analyze the correct position and click action of the next mouse click by the user, that is, the next mouse click suggestion, and the next mouse click suggestion is determined as operation auxiliary information. In other embodiments, if the next operation type is a keyboard input type, and the user is not detected to input text for more than a preset interval, the text entered by the user is analyzed by the analysis model to generate the suggested content for the next input and determine it as operation auxiliary information.

[0039] Furthermore, if the current desktop operation is wrong, it means that there is an error in the desktop operation of the current user. When the operation type of the current desktop operation is a mouse click type, then according to the operation intention and the previous desktop operation, the current correct mouse click suggestion is generated by analyzing the model, and it is determined as operation auxiliary information, and a first error reminder is issued. The first error reminder is used to remind the user that there is an error in the current mouse click operation; when the operation type of the current desktop operation is a keyboard input type, it means that there is an error in the currently input text. Then, according to the text information that has been entered, the correct keyboard input information is generated by analyzing the model, and it is determined as operation auxiliary information, and a second error reminder is issued.

[0040] S104: Determine a display position corresponding to the operation auxiliary information in the terminal interface, and display the operation auxiliary information in a transparent layer at the display position.

[0041] Specifically, after the operation auxiliary information is determined, it is necessary to determine the display position of the operation auxiliary information in the terminal interface, so as to interact with the user in real time by displaying the operation auxiliary information, and then provide real-time reminders and suggestions for the user's operation behavior. A feasible determination method is: the desktop interface information is parsed through the preset pywinauto library to obtain various interface elements on the terminal interface. If the current desktop operation is correct and the next operation type is a mouse click type, it means that based on the user's operation intention, the next desktop operation is a mouse click operation, and it is necessary to remind the user of the action and position of the next mouse click, that is, the next mouse click suggestion. Then, according to the position of the next mouse click, the first interface element of the user's next correct mouse click is determined, and then the position of the first interface element is determined as the first display position of the operation auxiliary information in the terminal interface, and finally the operation auxiliary information is displayed in a transparent layer at the first display position, so as to guide the user's next desktop operation in real time and accurately.

[0042] If the current desktop operation is wrong, and the operation type of the current desktop operation is a mouse click type, it means that there is an error in the current mouse click operation based on the user's operation intention. Then, according to the correct mouse click suggestion in the operation auxiliary information, the correct mouse click suggestion includes the position and action of the correct mouse click, and the interface element that the user should click is determined, that is, the second interface element corresponding to the correct mouse click suggestion. Finally, the position of the second interface element is determined as the second display position of the corresponding operation auxiliary information in the terminal interface, and the corresponding operation auxiliary information is displayed in a transparent layer at the second display position, so as to provide real-time error reminders and correction suggestions for the user's desktop operation, thereby realizing targeted assistance to the user's desktop operation in real time. It should be noted that in the embodiment of the present application, the transparent layer is mainly created by Python's Tkinter library, and the created transparent layer is non-restrictive and will not interfere with any operation of the user on the desktop. Among them, the transparent layer is a feature in the graphical user interface, which allows windows or specific UI elements to have transparency, and the transparency of the transparent layer is adjustable.

[0043] In other embodiments, after the display position is determined, in the process of displaying the operation auxiliary information in a transparent layer at the display position, an achievable implementation method is: when the operation auxiliary information is a mouse click suggestion for the target interface element, it is explained that this operation auxiliary information is intended to remind the user to perform the correct mouse click operation, then the first group type of this user is obtained, and a feasible determination method is: obtain the historical desktop operation information of this user from the cache record in the database, and then input the historical desktop operation information into the type recognition model to predict the first group type corresponding to this user. The first group type can be a student group, an elderly group, etc. The type recognition model is a trained convolutional neural network model. The training process is: use the historical desktop operation information of different known groups as training samples and input them into the convolutional neural network model so that the model continues to converge and finally obtains the type recognition model. Among them, the target interface element is the interface element at the display position. The mouse click suggestion includes a mouse click action for the target interface element. For example, the mouse click suggestion can be: "Click the "Set" button and click the left mouse button." "Click the left mouse button" is a mouse click action.

[0044] Then, the first transparency range corresponding to the first group type is matched from the transparency recommendation table preset in the database. The transparency recommendation table includes different group types and corresponding transparency ranges, which are all set based on human experience. In addition, the transparency range is a range interval of suitable transparency of the transparent layer that is easy for people of the corresponding group type to observe. Further, the transparency of the transparent layer is set to the first transparency, and the corresponding operation auxiliary information is displayed at the display position with the first transparent layer of the first transparency, wherein the first transparency is the lowest transparency in the first transparency range, and the higher the transparency, the less likely it is to be viewed on the screen. It should be noted that the setting or adjustment method of the transparency of the transparent layer is: adjusting the transparency by adjusting the alpha property of the transparent layer.

[0045] Furthermore, the duration of time that the target interface element is not clicked is counted. If the user is not detected clicking the target interface element with the mouse after the first preset duration, it means that the user may not see the first transparent layer and cannot know the mouse click position prompted by the operation auxiliary information, or the first transparent layer seriously blocks the target interface element on the screen, resulting in the user being unable to accurately click the corresponding position. Then the actual number of clicks of the user on the target interface element within the preset range is counted. If the actual number of clicks is not less than the preset number threshold, it means that the user has clicked a lot of times on the area near the target interface element, indicating that the first transparency is too low and the target interface element is seriously blocked. Then, within the first transparency range, the first transparency is increased to improve the blocking problem of the target interface element and increase it to the preset target transparency, so that the user can accurately click the target interface element according to the operation auxiliary information. Finally, the corresponding operation auxiliary information is displayed at the display position with the target transparent layer of the target transparency.

[0046] If the actual number of clicks is less than the number threshold, the user clicks less on the area near the target interface element, which means that the user has not seen the first transparent layer from the beginning and does not know the position of the first transparent layer in the terminal interface. This further indicates that the current first transparency range does not fit the user, and there may be a deviation when determining the first group type of this user. In this case, a group type collection pop-up window is displayed on the terminal to further obtain the second group type sent by the terminal, so that the user's group type is more accurate. Finally, the second transparency in the second transparency range corresponding to the second group type replaces the current first transparency to obtain the second transparent layer, and the corresponding operation auxiliary information is displayed in the second transparent layer at the display position.

[0047] In other embodiments, if the user is not detected clicking the target interface element according to the mouse suggested click action for more than the second preset time, it means that the user is most likely unable to clearly see the operation auxiliary information displayed in the second transparent layer, then the first interface color and the color of the operation auxiliary information at the display position are obtained through the GUI tool, and the first contrast between the first interface color and the color of the operation auxiliary information is calculated. The first contrast is mainly calculated through the preset ColorBox tool. If the first contrast is lower than the preset first contrast threshold, it means that the contrast between the first interface color and the color of the operation auxiliary information is low, and the colors are close, resulting in the user being unable to see the operation auxiliary information clearly. Further, the color of the operation auxiliary information, that is, the text color, is adjusted to the preset first target color, and the contrast between the first target color and the first interface color is not lower than the first contrast threshold.

[0048] In another embodiment, after the corresponding operation auxiliary information is displayed in the second transparent layer at the display position, if the user is not detected clicking the target interface element for more than a third preset time, the second interface color of the display position is obtained, and the second contrast between the second interface color and the color of the second transparent layer is calculated. If the second contrast is lower than the preset second contrast threshold, it means that the second transparent layer is not easy to be viewed by the user because the color of the second transparent layer is close to the second interface color, and it is not caused by the mismatch between the first transparency range and the user. Then, the second transparency is restored to the first transparency, and the color of the first transparent layer is adjusted to the preset second target color, and the contrast between the second target color and the second interface color is not lower than the second contrast threshold.

[0049] See also Figure 2 The present application embodiment discloses a flowchart of another context-aware desktop operation assistance method, which can be implemented by a computer program or run on a context-aware desktop operation assistance device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application, specifically including: S201: Acquire desktop interface information and desktop operation information of a user's terminal.

[0050] S202: Determine corresponding context information according to the desktop interface information and the desktop operation information based on context awareness technology.

[0051] S203: Generate corresponding operation assistance information based on the context information and the user's current desktop operation.

[0052] For details, please refer to steps S101-S103, which will not be described in detail here.

[0053] S204: Determine a display position corresponding to the operation auxiliary information in the terminal interface, and determine a distance between the display position and the center of the terminal screen.

[0054] S205: Compare the distance with a preset distance threshold, and if the distance is less than the distance threshold, obtain a third group type of the user.

[0055] S206: Determine, according to the third group type, a third transparency of the transparent layer at which the user can easily observe, and display the operation assistance information at the display position in the third transparent layer with the third transparency.

[0056] S207: If the distance is not less than the distance threshold, determine, based on the distance, a fourth transparency of the transparent layer that is easy for the user to observe, and display the operation assistance information at the display position in the fourth transparent layer with the fourth transparency.

[0057] Specifically, the display position of the operation auxiliary information is determined, and the details can be referred to step S104, which will not be repeated here. The distance from the display position to the center of the terminal screen is calculated. The smaller the distance, the closer to the center of the screen, and the more in line with the user's visual field habits. A feasible calculation method is: using a preset Photoshop tool to determine the screen coordinates of the display position and the center of the screen respectively, and finally substituting the screen coordinates of the display position and the center of the screen into the Euclidean distance formula to obtain it. The distance is compared with the preset distance threshold. If the distance is less than the distance threshold, it means that the display position of the operation auxiliary information is more in line with the user's visual habit of viewing the screen. According to the user's group type, it is more reasonable to determine the transparency suitable for the user. Then the third group type of the user is obtained, and according to the preset transparency recommendation table, the third transparency of the transparent layer is determined so that the user can easily observe it, and the transparency of the transparent layer is set to the third transparency to obtain the third transparent layer, and the operation auxiliary information is displayed at the display position with the third transparent layer of the third transparency; if the distance is not less than the distance threshold, it means that the display position is far from the center of the screen and does not meet the user's visual habit of viewing the screen. If the transparency of the transparent layer is high, it is easy to be ignored by the user, then it is more reasonable to determine the transparency suitable for the user according to the distance, and match the fourth transparency corresponding to this distance from the preset distance transparency matching table. The greater the distance, the lower the fourth transparency. The distance transparency matching table includes different distances and corresponding transparencies, which are all set based on human experience. Finally, the operation auxiliary information is displayed at the display position with the fourth transparent layer of the fourth transparency, so that the user can more easily see the transparent layer and perform desktop operations according to the operation auxiliary information.

[0058] The implementation principle of the context-aware desktop operation assistance method in the embodiment of the present application is as follows: after obtaining the desktop interface information and desktop operation information of the terminal, the context-aware technology is used to analyze and extract context information from the desktop interface information and desktop operation information, thereby reflecting the user's operation intention on the terminal to a certain extent. Then, based on the context information, the user's operation intention is analyzed and inferred, and combined with the user's current desktop operation, corresponding operation assistance information is generated, thereby determining an operation reminder that matches the user's operation intention. Finally, the display position of the operation assistance information in the interface is determined, and displayed in the form of a transparent layer. Not only will it not interfere with the user's desktop operation, but it can also enable the operation assistance information to be displayed in real time at the corresponding position in the terminal interface, and provide targeted reminders or guidance for the user's desktop operation, thereby improving the effect of real-time response of desktop operation assistance.

[0059] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0060] See also Figure 3, which is a schematic diagram of the structure of a desktop operation auxiliary device based on context perception provided in an embodiment of the present application. The desktop operation auxiliary device based on context perception can be implemented as all or part of the device through software, hardware or a combination of both. The device includes an information acquisition module 11, a top-bottom perception module 12, an auxiliary generation module 13 and an operation auxiliary module 14.

[0061] The information acquisition module 11 is used to acquire the desktop interface information and desktop operation information of the user's terminal; A context sensing module 12, for determining corresponding context information based on desktop interface information and desktop operation information and context sensing technology; The auxiliary generation module 13 is used to generate corresponding operation auxiliary information based on the context information and the user's current desktop operation; The operation assistance module 14 is used to determine the display position corresponding to the operation assistance information in the terminal interface, and display the operation assistance information in a transparent layer at the display position.

[0062] Optionally, the auxiliary generation module 13 is specifically used for: Based on the context information, determine the next operation type of the user's next desktop operation and judge whether the user's current desktop operation is correct; If so, when the next operation type is a mouse click type, a next mouse click suggestion is generated and determined as operation auxiliary information; If not, when the operation type of the current desktop operation is a mouse click type, a correct mouse click suggestion is generated and determined as the operation auxiliary information; When the operation type of the current desktop operation is a keyboard input type, correct keyboard input information is generated and determined as operation auxiliary information.

[0063] Optionally, the operation auxiliary module 14 is specifically used for: Parsing the desktop interface information to obtain at least one interface element; If the current desktop operation is correct, then when the next operation type is a mouse click type, determine the first interface element corresponding to the next mouse click suggestion from each interface element; Determine the position of the first interface element as the first display position of the corresponding operation auxiliary information in the terminal interface, and display the corresponding operation auxiliary information in a transparent layer at the first display position; If the current desktop operation is wrong, then when the operation type of the current desktop operation is a mouse click type, determine a second interface element corresponding to the correct mouse click suggestion from each interface element; The position of the second interface element is determined as the second display position of the corresponding operation auxiliary information in the terminal interface, and the corresponding operation auxiliary information is displayed in a transparent layer at the second display position.

[0064] Optionally, the operation auxiliary module 14 is specifically used for: When the operation auxiliary information is a mouse click suggestion for a target interface element, a first group type of the user is obtained, a first transparency range corresponding to the first group type is matched from a preset transparency recommendation table, and the corresponding operation auxiliary information is displayed at a display position with a first transparent layer of a first transparency, the transparency recommendation table includes different group types and corresponding transparency ranges, the first transparency is the lowest transparency in the first transparency range, and the target interface element is the interface element at the display position; If the user is not detected clicking the target interface element for more than the first preset time, the actual number of clicks of the user on the target interface element within the preset range is counted; When the actual number of clicks is not less than the preset number threshold, the first transparency is increased to a target transparency based on the first transparency range, and the corresponding operation auxiliary information is displayed at the display position in a target transparent layer with the target transparency; If the actual number of clicks is less than the number threshold, obtain the second group type sent by the terminal, and replace the first transparency with the second transparency in the second transparency range corresponding to the second group type, where the second transparency is the lowest transparency in the second transparency range; The corresponding operation auxiliary information is displayed at the display position with a second transparent layer of a second transparency.

[0065] Optional, such as Figure 4 As shown, the device also includes a first color adjustment module 15, which is specifically used for: If the user is not detected clicking the target interface element with the mouse suggested click action for more than the second preset time, the first interface color of the display position is obtained; Calculating a first contrast ratio between the first interface color and the color of the operation auxiliary information displayed in the second transparent layer; If the first contrast is lower than a preset first contrast threshold, the color of the operation auxiliary information displayed in the second transparent layer is adjusted to a first target color, and the contrast between the first target color and the first interface color is not lower than the first contrast threshold.

[0066] Optionally, the device further includes a second color adjustment module 16, which is specifically used for: If the user is not detected clicking the target interface element for more than the third preset time, the second interface color of the display position is obtained; Calculating a second contrast ratio between the second interface color and the color of the second transparent layer; If the second contrast is lower than the preset second contrast threshold, the second transparency is restored to the first transparency, and the color of the first transparent layer is adjusted to the preset second target color, and the contrast between the second target color and the second interface color is not lower than the second contrast threshold.

[0067] Optionally, the operation auxiliary module 14 is specifically used for: Determine the distance between the display position and the center of the terminal screen; Compare the distance with a preset distance threshold, and if the distance is less than the distance threshold, obtain the third group type of the user; determining, according to the third group type, a third transparency of the transparent layer at which the user can easily observe it, and displaying the operation assistance information at the display position in the third transparent layer with the third transparency; If the distance is not less than the distance threshold, the fourth transparency of the transparent layer is determined to be easy for the user to observe according to the distance, and the operation auxiliary information is displayed in the fourth transparent layer with the fourth transparency at the display position. The greater the distance, the lower the fourth transparency.

[0068] It should be noted that the desktop operation assistance device based on context perception provided in the above embodiment only uses the division of the above functional modules as an example when executing the desktop operation assistance method based on context perception. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the desktop operation assistance device based on context perception provided in the above embodiment and the desktop operation assistance method embodiment based on context perception belong to the same concept. The implementation process thereof is detailed in the method embodiment and will not be repeated here.

[0069] An embodiment of the present application further discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, a desktop operation assistance method based on context perception of the above embodiment is adopted.

[0070] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the computer-readable medium includes but is not limited to the above-mentioned components.

[0071] Among them, through this computer-readable storage medium, a context-aware desktop operation assistance method of the above embodiment is stored in a computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the above method.

[0072] An embodiment of the present application further discloses an electronic device, in which a computer program is stored in a computer-readable storage medium. When the computer program is loaded and executed by a processor, the above-mentioned desktop operation assistance method based on context perception is adopted.

[0073] The electronic device may be a desktop computer, a laptop computer, a cloud server or other electronic device, and the electronic device includes but is not limited to a processor and a memory. For example, the electronic device may also include input and output devices, a network access device, and a bus.

[0074] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.

[0075] Among them, the memory can be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device, or it can be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the electronic device. Moreover, the memory can also be a combination of an internal storage unit and an external storage device of the electronic device. The memory is used to store computer programs and other programs and data required by the electronic device. The memory can also be used to temporarily store data that has been output or is to be output, and this application does not impose any restrictions on this.

[0076] Among them, through this electronic device, a context-aware desktop operation assistance method of the above embodiment is stored in the memory of the electronic device, and is loaded and executed on the processor of the electronic device for easy use.

[0077] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A desktop operation assistance method based on context perception, characterized in that: The method comprises: Obtaining desktop interface information and desktop operation information of the user's terminal; Determining corresponding context information based on the desktop interface information and the desktop operation information and context awareness technology; Based on the context information and the user's current desktop operation, generating corresponding operation auxiliary information; Determine a display position corresponding to the operation auxiliary information in the terminal interface, and display the operation auxiliary information in a transparent layer at the display position.

2. The desktop operation assistance method based on context perception according to claim 1, characterized in that: The generating corresponding operation auxiliary information based on the context information and the current desktop operation of the user specifically includes: Based on the context information, determine the next operation type of the user's next desktop operation, and judge whether the user's current desktop operation is correct; If yes, then when the next operation type is a mouse click type, a next mouse click suggestion is generated and determined as operation auxiliary information; If not, when the operation type of the current desktop operation is a mouse click type, a correct mouse click suggestion is generated and determined as operation auxiliary information; When the operation type of the current desktop operation is a keyboard input type, correct keyboard input information is generated and determined as operation auxiliary information.

3. The context-aware desktop operation assistance method according to claim 2, characterized in that: The determining a display position corresponding to the operation auxiliary information in the terminal interface, and displaying the operation auxiliary information in a transparent layer at the display position specifically includes: Parsing the desktop interface information to obtain at least one interface element; If the current desktop operation is correct, then when the next operation type is a mouse click type, determining a first interface element corresponding to the next mouse click suggestion from each of the interface elements; Determine the position of the first interface element as a first display position of corresponding operation auxiliary information in the terminal interface, and display the corresponding operation auxiliary information in a transparent layer at the first display position; If the current desktop operation is wrong, then when the operation type of the current desktop operation is a mouse click type, determining a second interface element corresponding to the correct mouse click suggestion from each of the interface elements; The position of the second interface element is determined as a second display position of the corresponding operation auxiliary information in the terminal interface, and the corresponding operation auxiliary information is displayed in a transparent layer at the second display position.

4. The desktop operation assistance method based on context perception according to claim 1, characterized in that: The step of displaying the operation auxiliary information in a transparent layer at the display position specifically includes: When the operation assistance information is a mouse click suggestion for a target interface element, a first group type of the user is obtained, a first transparency range corresponding to the first group type is matched from a preset transparency recommendation table, and the corresponding operation assistance information is displayed at the display position with a first transparent layer of a first transparency, wherein the transparency recommendation table includes different group types and corresponding transparency ranges, the first transparency is the lowest transparency in the first transparency range, and the target interface element is the interface element at the display position; If the user is not detected clicking the target interface element for more than a first preset time, then the actual number of clicks of the user on the target interface element within a preset range is counted; When the actual number of clicks is not less than a preset number threshold, the first transparency is increased to a target transparency based on the first transparency range, and corresponding operation auxiliary information is displayed at the display position in a target transparent layer with the target transparency; If the actual number of clicks is less than the number threshold, obtaining a second group type sent by the terminal, and replacing the first transparency with a second transparency in a second transparency range corresponding to the second group type, where the second transparency is the lowest transparency in the second transparency range; The corresponding operation auxiliary information is displayed at the display position using a second transparent layer with the second transparency.

5. The desktop operation assistance method based on context perception according to claim 4 is characterized in that: The mouse click suggestion includes a mouse click action suggested for the target interface element, and after the corresponding operation auxiliary information is displayed at the display position in the second transparent layer with the second transparency, the method further includes: If the user is not detected clicking the target interface element with the mouse suggested click action for more than a second preset time period, obtaining the first interface color of the display position; Calculating a first contrast ratio between the first interface color and the color of the operation auxiliary information displayed in the second transparent layer; If the first contrast is lower than a preset first contrast threshold, the color of the operation auxiliary information displayed in the second transparent layer is adjusted to a first target color, and the contrast between the first target color and the first interface color is not lower than the first contrast threshold.

6. The context-aware desktop operation assistance method according to claim 4, characterized in that: After the corresponding operation auxiliary information is displayed at the display position with the second transparent layer of the second transparency, the method further includes: If the user is not detected clicking the target interface element for more than a third preset time period, obtaining a second interface color of the display position; Calculating a second contrast ratio between the second interface color and the color of the second transparent layer; If the second contrast is lower than a preset second contrast threshold, the second transparency is restored to the first transparency, and the color of the first transparent layer is adjusted to a preset second target color, and the contrast between the second target color and the second interface color is not lower than the second contrast threshold.

7. The desktop operation assistance method based on context perception according to claim 1, characterized in that: The step of displaying the operation auxiliary information in a transparent layer at the display position specifically includes: Determining a distance between the display position and a center of a screen of the terminal; Comparing the distance with a preset distance threshold, and if the distance is less than the distance threshold, obtaining a third group type of the user; According to the third group type, determining a third transparency of the transparent layer at which the user can easily observe, and displaying the operation auxiliary information at the display position with the third transparent layer of the third transparency; If the distance is not less than the distance threshold, the fourth transparency of the transparent layer is determined to be easy for the user to observe based on the distance, and the operation assistance information is displayed at the display position with the fourth transparent layer of the fourth transparency. The greater the distance, the lower the fourth transparency.

8. A desktop operation auxiliary device based on context perception, characterized in that: include: An information acquisition module (11), used to acquire desktop interface information and desktop operation information of a user's terminal; A context perception module (12) is used to determine corresponding context information based on the desktop interface information and the desktop operation information and context perception technology; An auxiliary generation module (13), used to generate corresponding operation auxiliary information based on the context information and the user's current desktop operation; An operation assistance module (14) is used to determine a display position corresponding to the operation assistance information in the terminal interface, and to display the operation assistance information in a transparent layer at the display position.

9. A computer-readable storage medium having a computer program stored therein, characterized in that: When the computer program is loaded and executed by a processor, the method according to any one of claims 1 to 7 is adopted.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor loads and executes the computer program, the method according to any one of claims 1 to 7 is adopted.

Citation Information

Cited By

  • Auxiliary operation method, electronic device, storage medium, and product

    WO2026123342A1