Interaction control method

By adjusting the display mode of the function menu in interactive control and combining interactive controls, the problems of complex operation and poor user experience in the prior art are solved, and the convenience of simplifying operation and content adjustment is achieved.

CN120353367APending Publication Date: 2025-07-22LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510217351.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

The existing interactive control methods are complex in operation and poor user experience, and it is impossible to adjust content output after activating the function menu.

Method used

By receiving target interaction, the target content in the target response area is determined, and the display mode of the function menu is adjusted under the set interactive conditions, and the second function menu associated with the target content is displayed, including interactive controls, simplifying the operation process and providing content adjustment functions.

Benefits of technology

It has achieved simplified operational processes and improved user experience. Users can activate the function menu without learning new gestures, and adjust the content through interactive controls, improving the convenience and applicability of interactive control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120353367A_ABST
    Figure CN120353367A_ABST
Patent Text Reader

Abstract

The invention provides an interaction control method. The method comprises the following steps: receiving a target interaction operation; in response to the target interaction operation, determining target content in a target response area of the electronic equipment and displaying a first function menu in a first display mode; the target response area is at least part of a display area, used for displaying the target content, of the electronic equipment; in response to the condition that the set interaction condition is met, adjusting the display mode of the first function menu into a second display mode, and displaying a second function menu corresponding to the target content, the first function menu is different from the second function menu, the second function menu at least comprises an interaction control, and the interaction control is used for calling a function associated with the target content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to computer technology, and in particular to an interaction control method. Background Art

[0002] The current interaction control method is to first activate the function menu, and then input the content to be adjusted into the input box corresponding to the function menu for interaction control. And the content output by the function menu cannot be adjusted during the interaction control process. In the current interaction method, when activating and using the function menu, the user needs to perform a variety of complex operations, and the content output by the function cannot be adjusted during the interaction control process, resulting in problems of high operation complexity of interaction control and poor user experience. Summary of the Invention

[0003] An embodiment of this application provides an interaction control method.

[0004] According to a first aspect of this application, an interaction control method is provided, and the method includes: receiving a target interaction operation; in response to the target interaction operation, determining target content within a target response area of an electronic device and displaying a first function menu in a first display manner; the target response area is at least part of a display area of the electronic device for displaying the target content; in response to meeting a set interaction condition, adjusting the display manner of the first function menu to a second display manner and displaying a second function menu corresponding to the target content; the first function menu is different from the second function menu, and the second function menu includes at least interaction controls for invoking functions associated with the target content.

[0005] According to an embodiment of this application, the step of in response to meeting a set interaction condition, adjusting the display manner of the first function menu to a second display manner and displaying a second function menu corresponding to the target content includes: obtaining a duration of the target interaction operation; in response to the duration meeting a set time threshold, adjusting the display manner of the first function menu to a second display manner and displaying a second function menu corresponding to the target content.

[0006] According to an embodiment of the present application, in response to meeting a set interaction condition, adjusting the display mode of the first function menu to a second display mode and displaying a second function menu corresponding to the target content includes: after displaying the first function menu in the first display mode, obtaining a second interaction operation; the second interaction operation includes an additional operation added during the continuous progress of the first interaction operation, or an interaction operation obtained when the first interaction operation is interrupted; in response to the second interaction operation meeting the set operation condition, adjusting the display mode of the first function menu to the second display mode and displaying the second function menu corresponding to the target content.

[0007] According to an embodiment of the present application, displaying the second function menu corresponding to the target content includes: determining the application environment where the target content is located; based on the attribute information of the application environment, determining a second target control corresponding to the application environment; the second target control is used to call a function matching the application environment of the target content, and different attribute information calls different functions; displaying the second function menu, where the second function menu includes the second target control.

[0008] According to an embodiment of the present application, displaying the second function menu corresponding to the target content includes: determining the data category of the target content; based on the data category, determining a first target control corresponding to the data category; the first target control is used to call a function matching the data category of the target content, and different data categories call different functions; displaying the second function menu, where the second function menu includes the first target control.

[0009] According to an embodiment of the present application, the method further includes: obtaining a selection instruction for the interaction control; in response to the selection instruction, calling a target model corresponding to the interaction control to perform data processing on the target content to obtain a data processing result; outputting the data processing result.

[0010] According to an embodiment of the present application, the method further includes: displaying an adjustment control corresponding to the interaction control in the second function menu; the adjustment control is used to adjust the data processing result; receiving an adjustment instruction for the adjustment control; in response to the adjustment instruction, adjusting the data processing result generated by the target model to obtain a second data processing result; outputting the second data processing result.

[0011] According to an embodiment of the present application, adjusting the data processing result generated by the target model to obtain a second data processing result includes: in response to receiving an input operation on the adjustment control, determining an adjustment weight of the prompt corresponding to the target model; the adjustment weight represents the adjustment degree of the prompt; adjusting the prompt based on the adjustment weight to obtain an adjusted prompt; and generating the second data processing result by using the adjusted prompt and the target content with the target model.

[0012] According to an embodiment of the present application, obtaining a selection instruction for the interaction control includes: receiving a touch operation on the interaction control to generate the selection instruction; or, in response to receiving a drag operation and the target of the drag operation is the interaction control, generating the selection instruction.

[0013] According to an embodiment of the present application, the adjustment control includes at least a first type of sub-control and a second type of sub-control; the first type of sub-control is used to perform hierarchical adjustment on the expression mode of the data processing result based on a set adjustment level; the second type of sub-control is used to perform stepless adjustment on the expression mode of the data processing result based on a set adjustment range. Description of the Drawings

[0014] By referring to the following detailed description with reference to the accompanying drawings, the above and other objects, features, and advantages of the exemplary embodiments of the present application will become readily understandable. In the drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein:

[0015] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.

[0016] Figure 1 Shows the processing flow diagram of the interaction control method provided by the embodiment of the present application Figure 1 ;

[0017] Figure 2 Shows the processing flow diagram of the interaction control method provided by the embodiment of the present application Figure 2 ;

[0018] Figure 3 Shows the processing flow diagram of the interaction control method provided by the embodiment of the present application Figure 3 ;

[0019] Figure 4 Shows the processing flow diagram of the interaction control method provided by the embodiment of the present application Figure 4 ;

[0020] Figure 5Shows the processing flow diagram of the interaction control method provided by the embodiments of the present application Figure 5 ;

[0021] Figure 6 Shows an application scenario diagram of the interaction control method provided by the embodiments of the present application;

[0022] Figure 7 Shows another application scenario diagram of the interaction control method provided by the embodiments of the present application;

[0023] Figure 8 Shows yet another application scenario diagram of the interaction control method provided by the embodiments of the present application;

[0024] Figure 9 Shows the schematic diagram of the composition structure of the electronic device provided by the embodiments of the present application. Detailed implementation manners

[0025] To make the objectives, features, and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present application.

[0026] In the following description, "some embodiments" are involved, which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0027] In the following description, the terms "first / second" involved are only used to distinguish similar objects, and do not represent a specific order for the objects. It can be understood that "first / second" can be interchanged with a specific order or sequence when allowed, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.

[0029] The processing flow in the interaction control method provided by the embodiments of the present application will be described. Refer to Figure 1 , Figure 1 is the processing flow diagram of the interaction control method provided by the embodiments of the present application Figure 1 , and will be combined with Figure 1The steps S101 - S103 shown will be described.

[0030] Step S101, receive a target interaction operation.

[0031] In some embodiments, the target interaction operation may include: a drag - selection operation or a click operation after selection.

[0032] Step S102, in response to the target interaction operation, determine the target content within the target response area of the electronic device and display a first function menu in a first display manner; the target response area is at least part of the display area of the electronic device for displaying the target content.

[0033] In some embodiments, the first function menu may include a system function menu corresponding to the target content. For example, in a document - editing application, the first function menu may include menus for basic functions such as copy, paste, cut, font settings, and paragraph formatting. In a picture - viewing application, the first function menu may include menus for basic functions such as saving pictures, sharing pictures, and setting as wallpaper. The first display manner may include display manners such as displaying with minimum transparency and enhancing visual interactivity display. The second display manner may include display manners such as displaying with maximum transparency, turning off the display, and weakening visual interactivity display. Embodiments of the present application do not limit the specific first display manner and second display manner.

[0034] In some embodiments, when the user selects a certain target content through a drag - selection operation, the electronic device can recognize and respond to this drag - selection operation, and then determine the target content within the target response area of the electronic device and display the first function menu in a first display manner. For example, in a document - editing interface, the user drags a finger on the screen to select a paragraph of text. After the electronic device detects this drag - selection operation, it determines the target response area where the selected text is located. The target response area is at least part of the display area of the electronic device for displaying the target content. When the user selects a certain target content through a drag - selection operation, the electronic device can recognize and respond to this operation, and then determine the target content within the target response area of the electronic device and display the first function menu in a first display manner.

[0035] In some embodiments, when the user determines the target content through a click operation after selection, the electronic device receives the target interaction operation. For example, in a picture - viewing application, the user first selects a specific picture through a left - mouse - button selection operation, and then performs a right - mouse - button click operation on the picture after the selection operation. The electronic device responds to the click operation, determines the picture - display area as the target response area, which is at least part of the display area of the electronic device for displaying the target content. Then it determines the target content within the target response area and displays the first function menu in a first display manner.

[0036] Step S103, in response to meeting a set interaction condition, adjust the display mode of the first function menu to a second display mode, and display a second function menu corresponding to the target content; the first function menu is different from the second function menu, and the second function menu includes at least interaction controls, and the interaction controls are used to call functions associated with the target content.

[0037] In some embodiments, meeting the set interaction condition may include: the target interaction operation meets the set interaction condition. The set interaction condition may also include: subsequent operations of the target interaction operation meet the set interaction condition. The second function menu may include interaction controls. Specifically, the second function menu may be an AI (Artificial Intelligence) function menu related to the target content. The interaction controls may specifically include: elements that can be directly manipulated by the user, such as elements like buttons, sliders, and scroll bars. The interaction controls can be used to call functions associated with the target content.

[0038] The method of the embodiment of the present application combines the function activation process with the operation process of the user selecting content, realizes the function usage experience of "select first, then activate", integrates the activation of the second function menu into the "long press to select" operation that the user is already familiar with. The user can activate the second function menu after the default function menu of the system or application without learning new gestures, thereby minimizing the learning cost and maximizing the usage convenience. The operation of the interaction control is relatively simple, and the content output by the function during the interaction control process can be adjusted through the interaction controls, improving the user experience.

[0039] In some embodiments, a schematic diagram of the processing flow of the interaction control method Figure 2 , such as Figure 2 shown, in step S103, in response to meeting the set interaction condition, adjusting the display mode of the first function menu to the second display mode and displaying the second function menu corresponding to the target content may include:

[0040] Step S201, obtain the operation duration of the target interaction operation.

[0041] In this embodiment, the operation duration may include: the total operation duration of the target interaction operation. The operation duration may also include: the duration of the target interaction operation after the system function menu is displayed in the first display mode.

[0042] Step S202, in response to the operation duration meeting the set time threshold, adjust the display mode of the first function menu to the second display mode and display the second function menu corresponding to the target content.

[0043] In this embodiment, the time threshold may include a preset duration. When the operation duration is greater than or equal to the time threshold, it is determined that the set interaction condition is met, the display mode of the first function menu is adjusted to the second display mode, and the second function menu corresponding to the target content is displayed.

[0044] As an example, in a document editing application, the user selects a paragraph of text in the document through a long-press operation, and the system starts to calculate the operation duration of the target interaction operation, that is, the total duration of the long-press operation. A time threshold is preset, for example, 3 seconds. If the user continues to long-press the operation after the system function menu is displayed and the operation duration reaches or exceeds 3 seconds, it is determined that the set interaction condition is met, the display mode of the first function menu is adjusted to the second display mode, and the second function menu corresponding to the target content is displayed.

[0045] As an example, in a document editing application, the user selects a paragraph of text in the document through a long-press operation, and the electronic device displays the system function menu in the first display mode, and the menu contains basic function options such as copy, paste, and font settings. At this time, the operation duration of the target interaction operation starts to be calculated. A time threshold is preset, for example, 2 seconds. If the user continues to long-press the operation after the system function menu is displayed and the operation duration reaches or exceeds 2 seconds, it is determined that the set interaction condition is met, the display mode of the first function menu is adjusted to the second display mode, and the second function menu corresponding to the target content is displayed.

[0046] The method of the embodiment of the present application triggers the function menu through a simple long-press operation without performing additional complex operations. The setting of the operation duration enables the user to flexibly activate the function menu without changing the original operation habits. The operation of the interaction control is relatively simple, and the content of the function output during the interaction control process can be adjusted through the interaction control, further improving the operation convenience and user experience.

[0047] In some embodiments, the processing flow of the interaction control method is schematically shown Figure 3 , such as Figure 3 shown, the interaction control method may further include:

[0048] Step S301, after the first function menu is displayed in the first display mode, obtain a second interaction operation.

[0049] Step S302, in response to the second interaction operation meeting the set operation condition, adjust the display mode of the first function menu to the second display mode, and display the second function menu corresponding to the target content.

[0050] In this embodiment, the second interaction operation may include an additional operation added while the first interaction operation is ongoing, or an interaction operation obtained when the first interaction operation is interrupted. The additional operation added while the first interaction operation is ongoing may include: while the user is performing the first interaction operation (such as a drag selection operation or a click operation after selection), simultaneously performing additional operations such as long pressing, double clicking, and specific gestures. The interaction operation obtained when the first interaction operation is interrupted may include: after the user performs the first interaction operation and the operation is interrupted (such as releasing a finger or a stylus), then performing a new interaction operation such as clicking again, dragging, and specific gestures.

[0051] As an example, in a document editing application, first, a paragraph of text in the document is selected through a drag selection operation. At this time, the electronic device displays a first function menu in a first display manner. Then, while continuously dragging to select the text, a click operation is received simultaneously, meeting the set operation conditions. After the electronic device detects this second interaction operation of the click operation, it adjusts the display manner of the first function menu to a second display manner and displays a second function menu corresponding to the target content. The second function menu at least includes interaction controls for invoking functions such as an AI answering function, an AI summarizing function, and an AI continuing writing function.

[0052] As an example, in a picture viewing application, first, a certain picture is selected through a mouse click operation. At this time, the electronic device displays a first function menu in a first display manner. Subsequently, after clicking on the picture and releasing the mouse, a double click operation is performed on the picture. The double click operation meets the set operation conditions. After the electronic device detects this second interaction operation of the double click operation, it adjusts the display manner of the first function menu to a second display manner and displays a second function menu corresponding to the target content. The second function menu at least includes interaction controls for invoking functions such as an AI beautifying function, an AI splicing function, and an AI redrawing function.

[0053] The method of the embodiment of the present application triggers the function menu by adding an additional operation on the basis of the original operation or performing a new operation after the operation is interrupted, without the need for additional complex operations. The user can flexibly activate the function menu without changing the original operation habits. The operation of the interaction control is relatively simple, and the content of the function output during the interaction control process can be adjusted through the interaction control, further improving the convenience of the operation and the user experience.

[0054] In some embodiments, the display of the second function menu corresponding to the target content in step S103 may include: determining the application environment where the target content is located; based on the attribute information of the application environment, determining the second target control corresponding to the application environment; the second target control is used to call a function that matches the application environment of the target content, and different attribute information calls different functions; displaying the second function menu, and the second function menu includes the second target control.

[0055] As an example, in a document editing application, the user selects a table in the document through a drag and select operation. The electronic device determines that the application environment where the table is located is the document editing environment, and the attribute information of the document editing environment includes: attributes such as the table contains numbers, text, and formulas. Based on this attribute information, the electronic device determines the second target control corresponding to the application environment, which may include: AI sorting function control, AI filtering function control, AI automatic calculation function control, and other controls. The second target control can be used to call functions that match the table in the document editing application environment, such as performing AI automatic sorting, AI automatic filtering, and AI automatic formula operations on the table data. Then, the electronic device displays the second function menu, and the second function menu includes the above-mentioned second target control.

[0056] The method of the embodiments of the present application calls functions that match the application environment of the target content, and different attribute information calls different functions. The function menu can provide more accurate content according to different application environments, improving the applicability and practicality of the function menu, and enabling users to obtain a better user experience in different application scenarios. Users can flexibly activate the function menu without changing their original operation habits. The operation of interactive control is relatively simple, and the content of the function output during the interactive control process can be adjusted through the interactive control, further improving the convenience of operation and the user experience.

[0057] In some embodiments, the display of the second function menu corresponding to the target content in step S103 may include: determining the data category of the target content; based on the data category, determining the first target control corresponding to the data category; the first target control is used to call a function that matches the data category of the target content, and different data categories call different functions; displaying the second function menu, and the second function menu includes the first target control.

[0058] As an example, in a spreadsheet application, the data categories of a cell range may include: text data, numeric data, date data, time data, etc. Different data categories call different functions. For example, numeric data can call functions such as summation and average calculation, while text data can call functions such as concatenation, find and replace, etc. The user selects a cell range containing data through a selection operation, and the electronic device determines that the data category of the cell range is "numeric data". Based on this data category, the electronic device determines the first target control corresponding to the data category. The first target control may include controls such as an AI automatic summation control, an AI automatic average calculation control, and an AI chart generation control. The first target control can be used to call functions matching the numeric data, such as functions of automatically calculating the sum by AI, automatically calculating the average by AI, and automatically generating a data chart by AI. Subsequently, the electronic device displays a second function menu, and the first target control is included in the second function menu.

[0059] The method of the embodiment of the present application calls functions matching the data category of the target content, and different data categories call different functions. The function menu can provide more accurate content according to different data categories, improving the applicability and practicality of the function menu, and enabling users to obtain a better usage experience when processing different types of data. Users can flexibly activate the function menu without changing their original operation habits. The operation of interactive control is relatively simple, and the content of the function output during the interactive control process can be adjusted through the interactive control, further enhancing the convenience of operation and the user experience.

[0060] In some embodiments, the processing flow of the interactive control method is schematically shown Figure 4 , such as Figure 4 shown, the interactive control method may further include:

[0061] Step S401, obtain a selection instruction for the interactive control.

[0062] Step S402, in response to the selection instruction, call the target model corresponding to the interactive control to perform data processing on the target content, and obtain a data processing result.

[0063] Step S403, output the data processing result.

[0064] In this embodiment, the interactive control can be an element in the second function menu. The interactive control can be used to trigger specific AI functions. The interactive control can specifically include elements such as buttons, menu items, and icons. By interacting with the interactive control, the corresponding AI model can be called. The target model may include models such as machine learning models, deep learning models, natural language processing models, and computer vision models. The embodiment of the present application does not limit the specific target model.

[0065] In step S401 of this embodiment, obtaining a selection instruction for an interaction control may include: receiving a touch operation on the interaction control and generating a selection instruction; or, generating a selection instruction in response to receiving a drag operation and the target of the drag operation being the interaction control.

[0066] The selection instruction may specifically include: a click selection instruction and a long-press and drag selection instruction. The click selection instruction may include: a selection instruction generated by clicking on the "AI Optimization" button in the second function menu, which is an interaction control. The long-press and drag selection instruction may include: a selection instruction generated by long-pressing the target content and dragging it to the "AI Polishing" button in the second function menu, which is an interaction control.

[0067] As an example, when editing a document, by clicking on the "AI Optimization" button in the second function menu, which is an interaction control, to generate a selection instruction, in response to the selection instruction, the AI model corresponding to the "AI Optimization" button is called to perform AI optimization on the target content, and the text content after AI optimization is displayed.

[0068] As an example, when editing a document, by long-pressing the target content and dragging it to the "AI Polishing" button in the second function menu, which is an interaction control, to generate a selection instruction, in response to the selection instruction, the AI model corresponding to the "AI Polishing" button is called to polish the target content, and the polished text content is output. Outputting the polished text content may include: replacing the target content according to the polished text content.

[0069] The method of this application embodiment combines the AI function activation process with the operation process of the user selecting content, realizing the function usage experience of "select first, then activate". It integrates the activation of the AI function into the "long-press to select" operation that the user is already familiar with. The user can activate the AI function after the default function menu of the system or application without learning new gestures, thus minimizing the learning cost and maximizing the usage convenience. The operation of the interaction control is relatively simple, and the content output by the AI function during the interaction control process can be adjusted through the interaction control, improving the user experience.

[0070] In some embodiments, the processing flow of the interaction control method is schematically shown Figure 5 , such as Figure 5 shown, the interaction control method may further include:

[0071] Step S501, displaying an adjustment control corresponding to the interaction control in the second function menu; the adjustment control is used to adjust the data processing result.

[0072] In some embodiments, the adjustment control may include a first type of sub-control and a second type of sub-control. Among them, the first type of sub-control can be used to perform hierarchical adjustment on the expression mode of the data processing result based on a set adjustment level. The second type of sub-control is used to perform non-hierarchical adjustment on the expression mode of the data processing result based on a set adjustment range. Hierarchical adjustment may include: adjusting the expression mode of the data processing result based on a preset adjustment level. Non-hierarchical adjustment may include: performing smooth adjustment on the expression mode of the data processing result based on a continuous adjustment range.

[0073] As an example, in the AI polishing function of a document editing software, the style of the output data processing result is adjusted through the adjustment control. The adjustment control includes a first type of sub-control and a second type of sub-control. The first type of sub-control provides three preset style levels: concise, formal, and literary. For example, selecting the "concise" level will reduce the modifiers in the data processing result. The second type of sub-control can be a slider, and the style intensity of the text is adjusted by dragging. The range of the slider is from 0 to 100, and the slider can be set at any position. The style of the data processing result is smoothly adjusted according to the position of the slider. For example, setting the slider at 30 will slightly adjust the style of the data processing result, while setting it at 70 will make a more significant adjustment to the data processing result.

[0074] Step S502, receive an adjustment instruction for the adjustment control.

[0075] Step S503, in response to the adjustment instruction, adjust the data processing result generated by the target model to obtain a second data processing result.

[0076] In this embodiment, step S503 may include: in response to receiving an input operation for the adjustment control, determine the adjustment weight of the prompt corresponding to the target model; the adjustment weight represents the adjustment degree of the prompt; adjust the prompt based on the adjustment weight to obtain an adjusted prompt; based on the adjusted prompt and the target content, use the target model to generate a second data processing result.

[0077] In this embodiment, the adjustment control can be used to adjust the style or parameters of the data processing result. Specifically, the adjustment control can be a drag bar, and different styles or parameters can be selected by dragging the drag bar. The input operations can include: touch input operations and device input operations, etc. Touch input operations can include: finger touch input operations and stylus input operations. Device input operations can include: mouse input operations and touchpad input operations. The embodiments of the present application do not limit the specific input operations. The prompt word can be used to guide the target model to generate keywords of a specific style or content. For example, in the AI summary function, the prompt word may be "concise" or "detailed", which is used to guide the AI model to generate a summary text of the corresponding style. The adjustment weight can be used to represent the degree of adjustment of the prompt word by the user. For example, in the case of dragging the adjustment control, the adjustment weight will change according to the dragged position, thereby affecting the style of the prompt word.

[0078] Step S504, output the second data processing result.

[0079] As an example, in a document editing application, by clicking on the "AI Summary" interactive control in the second function menu, the function of the AI model to summarize the selected target content is triggered, and then the adjustment control corresponding to the "AI Summary" interactive control is displayed. The adjustment control can include a drag style adjustment bar. By receiving the input operation for the drag style adjustment bar, a style in an intermediate state is determined between "concise summary" and "key point summary". After determining that the style corresponding to the adjustment instruction is the style in the intermediate state, after the electronic device receives the adjustment instruction, it adjusts the style of the initial summary result generated by the AI model to obtain the second data processing result, that is, a summary content with a moderate style, and replaces the data processing result with the second data processing result for output.

[0080] The method of the embodiments of the present application finely adjusts the prompt word by adjusting the weight, so that the AI function generates content that better meets the user's needs. The user can choose hierarchical adjustment or stepless adjustment according to their own needs, providing a more flexible adjustment method, meeting the user's needs for different adjustment precisions, fine-tuning the content generated by the AI function, providing an intuitive operation method, facilitating the user to make a more detailed stylistic selection, making the content generated by the AI closer to the user's tone, and improving the user experience.

[0081] Figure 6 FIG. shows an application scenario diagram of the interactive control method provided by the embodiments of the present application.

[0082] Reference Figure 6, An application scenario of the interaction control method provided by the embodiments of the present application is applied to display a second function menu corresponding to the target content. Among them, the second function menu may include: a primary interface and a secondary interface. The primary interface includes at least three interaction controls, and the interaction controls are used to call functions associated with the target content. When the target content is text, the function corresponding to the interaction component of AI function 1 is to answer. The function corresponding to the interaction component of AI function 2 is to summarize. The function corresponding to the interaction component of AI function 3 is to continue writing. The secondary interface corresponding to the interaction control is displayed in the second function menu. The secondary interface includes at least adjustment controls. The adjustment controls corresponding to the interaction component of AI function 3 include two first-type sub-controls and a second-type sub-control. The first-type sub-controls are used to perform hierarchical adjustment on the expression mode of the data processing result based on the set adjustment level. Figure 6 The first-type sub-controls in it are the "formal writing style" sub-control and the "daily writing style" sub-control. The second-type sub-control is used to perform non-hierarchical adjustment on the expression mode of the data processing result based on the set adjustment range. Figure 6 The second-type sub-control in it is a drag bar between the "formal writing style" sub-control and the "daily writing style" sub-control. The drag bar can be set at any position, and the style of the data processing result is smoothly adjusted according to the position of the drag bar. For example, setting the drag bar at "neutral" will adjust the style of the data processing result in a "neutral" style, while setting it between "very formal writing style" and "relatively formal writing style" will adjust the style of the data processing result in the set style.

[0083] It can be understood that Figure 6 The application scenario of the interaction control method is only some exemplary implementation manners in the embodiments of the present application. The application scenarios of the interaction control method in the embodiments of the present application include but are not limited to Figure 6 the application scenario of the interaction control method shown.

[0084] Figure 7 Fig. shows another application scenario diagram of the interaction control method provided by the embodiments of the present application.

[0085] Refer to Figure 7 , Another application scenario of the interaction control method provided by the embodiments of the present application is applied to the interaction control process for text content. The interaction control process may include:

[0086] Step S1, for a certain place name on the screen, it is desired to be explained using AI functions. Specifically, the user hopes to explain the text displayed on the screen of the electronic device through AI functions. The user can perform a long-press operation on this place name at a single level.

[0087] Step S2, receive the long-press operation on the place name word.

[0088] Step S3: First, the default function menu is displayed, which is provided by the application in which it is located. Specifically, in response to a long - press operation lasting up to 0.5 seconds, the default function menu of the system or application is displayed.

[0089] Step S4: After maintaining the long - press operation for a period of time, the AI function is activated and the primary interface is presented. Specifically, in response to maintaining the long - press operation lasting up to 2 seconds, the primary interface of the second function menu is displayed. The primary interface includes interaction controls, and the interaction controls are used to call functions associated with the target content.

[0090] Step S5a: Receive a click operation on the AI function control in the primary interface.

[0091] Step S5b: Maintain the long - press operation and drag it to the AI function control in the primary interface.

[0092] Step S6: When the selected AI function has a style orientation, a secondary interface is displayed. Specifically, when the selected AI function has a style orientation, the secondary interface corresponding to the interaction control is displayed in the second function menu. The secondary interface includes at least adjustment controls.

[0093] Step S7: Receive a drag operation on the adjustment control in the secondary interface to adjust the style of the AI function. Specifically, the adjustment control can be used to perform stepless adjustment on the expression mode of the data processing result based on the set adjustment range. The adjustment control can be a drag bar. The drag bar can be set at any position, and the style of the data processing result is smoothly adjusted according to the position of the drag bar.

[0094] Step S8: According to the adjusted AI function style, the AI function is used to interpret the place - name word. Specifically, after interpreting the place - name word through the AI function, an interpretation text is obtained, and the interpretation text of the place - name word is displayed in the electronic device.

[0095] It can be understood that Figure 7 the application scenarios of the interaction control method are only some exemplary implementation manners in the embodiments of the present application. The application scenarios of the interaction control method in the embodiments of the present application include but are not limited to Figure 7 the application scenarios of the interaction control method shown.

[0096] Figure 8 Fig. shows another application scenario diagram of the interaction control method provided by the embodiments of the present application.

[0097] Refer to Figure 8 Another application scenario of the interaction control method provided by the embodiments of the present application is applied to display the second function menu corresponding to the target content. Displaying the second function menu corresponding to the target content may include:

[0098] Step L1, receive a long - press and drag selection operation for target content on the screen. Specifically, receive a long - press and drag selection operation in which the user presses and selects the content with any finger.

[0099] Step L2, display the default function menu, which is provided by the application in which it is located.

[0100] Step L3, while maintaining the long - press and drag selection operation, receive another click operation. Specifically, the user can press and select the content with any finger and use another finger to perform a touch - click operation on the screen. For example, when holding a tablet - type device with both hands, the user can use one thumb to select the content and use the other thumb to perform a touch - click operation on the screen.

[0101] Step S4, activate the AI function and present a primary interface. Specifically, display the second function menu corresponding to the target content. Among them, the second function menu may include: a primary interface. The primary interface includes at least interaction controls. The primary interface may specifically be an AI function menu related to the target content. The interaction controls may specifically include: elements that the user can directly manipulate, such as buttons, sliders, and scroll bars, etc. The interaction controls can be used to invoke the AI function associated with the target content.

[0102] According to an embodiment of the present application, the present application further provides an electronic device and a non - transitory computer - readable storage medium.

[0103] Figure 9 FIG. shows a schematic block diagram of an exemplary electronic device 800 that can be used to implement the embodiments of the present application. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.

[0104] As Figure 9As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to computer programs stored in a read-only memory (ROM) 802 or computer programs loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0105] A plurality of components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a magnetic disk, an optical disc, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0106] The computing unit 801 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 801 executes the various methods and processes described above, such as the interaction control method. For example, in some embodiments, the interaction control method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the interaction control method described above can be executed. Alternatively, in other embodiments, the computing unit 801 can be configured to execute the interaction control method in any other appropriate way (e.g., by means of firmware).

[0107] The various embodiments of the systems and techniques described above in this specification can be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which may be a special-purpose or general-purpose programmable processor that receives data and instructions from, and transmits data and instructions to, a storage system, at least one input device, and at least one output device.

[0108] The program code for implementing the methods of this application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable interactive control device such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

[0109] In the context of this application, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0110] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).

[0111] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.

[0112] A computer system can include a client and a server. The client and the server are generally far from each other and typically interact through a communication network. The client - server relationship is created by computer programs running on the respective computers and having a client - server relationship with each other. The server can be a cloud server, or a server of a distributed system, or a server incorporating blockchain.

[0113] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in this application can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this application can be achieved. No limitation is imposed herein.

[0114] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" can explicitly or implicitly include at least one of the features. In the description of this application, "a plurality" means two or more unless otherwise specifically defined.

[0115] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claimed rights.

Claims

1. An interactive control method, comprising: Receiving a target interactive operation; In response to the target interactive operation, determining target content within a target response area of an electronic device and displaying a first function menu in a first display manner; The target response area is at least part of a display area of the electronic device for displaying the target content; In response to meeting a set interactive condition, adjusting the display manner of the first function menu to a second display manner and displaying a second function menu corresponding to the target content; the first function menu is different from the second function menu, and the second function menu at least includes interactive controls for invoking functions associated with the target content.

2. The method according to claim 1, wherein the adjusting the display manner of the first function menu to a second display manner and displaying a second function menu corresponding to the target content in response to meeting a set interactive condition comprises: Obtaining an operation duration of the target interactive operation; In response to the operation duration meeting a set time threshold, adjusting the display manner of the first function menu to a second display manner and displaying a second function menu corresponding to the target content.

3. The method according to claim 1, wherein the adjusting the display manner of the first function menu to a second display manner and displaying a second function menu corresponding to the target content in response to meeting a set interactive condition comprises: After displaying the first function menu in the first display manner, obtaining a second interactive operation; The second interactive operation includes an additional operation added during continuous progress of the first interactive operation, or an interactive operation obtained when the first interactive operation is interrupted; In response to the second interactive operation meeting a set operation condition, adjusting the display manner of the first function menu to a second display manner and displaying a second function menu corresponding to the target content.

4. The method according to claim 1, wherein the displaying a second function menu corresponding to the target content comprises: Determining an application environment where the target content is located; Based on attribute information of the application environment, determining a second target control corresponding to the application environment; The second target control is used to invoke a function matching the application environment of the target content, and different attribute information invokes different functions; Displaying the second function menu, the second function menu including the second target control.

5. The method according to claim 1, wherein the displaying a second function menu corresponding to the target content comprises: Determining a data category of the target content; Based on the data category, determining a first target control corresponding to the data category; The first target control is used to invoke a function matching the data category of the target content, and different data categories invoke different functions; Displaying the second function menu, the second function menu including the first target control.

6. The method according to claim 1, the method further comprising: Obtaining a selection instruction for the interactive control; In response to the selection instruction, call the target model corresponding to the interactive control to process the target content, and obtain a data processing result; Output the data processing result.

7. The method according to claim 6, wherein the method further comprises: Display an adjustment control corresponding to the interactive control in the second function menu; the adjustment control is used to adjust the data processing result; Receive an adjustment instruction for the adjustment control; In response to the adjustment instruction, adjust the data processing result generated by the target model to obtain a second data processing result; Output the second data processing result.

8. The method according to claim 7, wherein adjusting the data processing result generated by the target model to obtain a second data processing result comprises: In response to receiving an input operation for the adjustment control, determine an adjustment weight for a prompt word corresponding to the target model; The adjustment weight represents the degree of adjustment of the prompt word; Adjust the prompt word based on the adjustment weight to obtain an adjusted prompt word; Based on the adjusted prompt word and the target content, use the target model to generate the second data processing result.

9. The method according to claim 6, wherein obtaining the selection instruction for the interactive control comprises: Receive a touch operation for the interactive control to generate the selection instruction; Alternatively, in response to receiving a drag operation and the target of the drag operation is the interactive control, generate the selection instruction.

10. The method according to claim 7, wherein the adjustment control at least comprises a first type of sub-control and a second type of sub-control; The first type of sub-control is used to perform hierarchical adjustment on the expression mode of the data processing result based on a set adjustment level; The second type of sub-control is used to perform stepless adjustment on the expression mode of the data processing result based on a set adjustment range.