Information editing method, device, computer readable medium and electronic device

By obtaining and displaying controls for recommended information during the information editing process, and editing when the event is triggered, the problem of interference with recommended information is solved and the efficiency and user experience of information editing are improved.

CN114063848BActive Publication Date: 2024-09-17BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111162650.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2024-09-17
Estimated Expiration
2041-09-30

AI Technical Summary

Technical Problem

During the information editing process, when the user does not need or the recommended information does not meet the needs, the displayed recommended information may interfere with the user's editing operation and affect efficiency.

Method used

By obtaining recommended information for information editing, corresponding recommendation controls are generated, and information editing is performed in the interface when the corresponding event is triggered. The controls are only displayed after obtaining the recommended information to reduce visual interference and provide users with visual focus.

Benefits of technology

It improves the efficiency of information editing, reduces the visual interference of recommended controls to users, and provides users with reminders to enhance the convenience of information editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114063848B
    Figure CN114063848B
Patent Text Reader

Abstract

The embodiments of the present application provide an information editing method, device, computer-readable medium, and electronic device. The method includes: obtaining recommended information for information editing; generating a recommendation control corresponding to the recommended information, and displaying the recommendation control in an interface; when a recommendation event in the recommendation control in the interface is triggered, editing the information in the interface based on the recommendation information. The technical solution of the embodiments of the present application can improve the efficiency of editing information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer and data processing technology, and in particular to an information editing method, device, computer-readable medium and electronic device. Background Art

[0002] In the application scenario of information editing, for example, in the application scenario of text information editing, usually recommended information is directly displayed to the user in the interface based on the information that the user has edited. However, this information editing method is not reasonable. When the user does not need the recommended information, or the recommended information does not meet the user's needs, the displayed recommended information may affect the user's ongoing information editing operation, thereby affecting the efficiency of information editing. Based on this, how to improve the efficiency of information editing is a technical problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide an information editing method, apparatus, computer program product or computer program, computer-readable medium and electronic device, which can improve the efficiency of editing information at least to a certain extent.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0005] According to one aspect of an embodiment of the present application, a method for editing information is provided, the method comprising: obtaining recommended information for information editing; generating a recommendation control corresponding to the recommended information, and displaying the recommendation control in an interface; and when a recommendation event in the recommendation control in the interface is triggered, editing the information in the interface based on the recommendation information.

[0006] According to one aspect of an embodiment of the present application, there is provided an information editing device, comprising: an acquisition unit, used to acquire recommended information for information editing; a generation unit, used to generate a recommendation control corresponding to the recommended information and display the recommendation control in an interface; and an editing unit, used to edit information in the interface based on the recommendation information when a recommendation event in the recommendation control in the interface is triggered.

[0007] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit is configured to: acquire reference information in the interface, and determine at least one candidate recommendation information associated with the reference information; and select the recommendation information from the at least one candidate recommendation information.

[0008] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit is also configured to: in response to an information input operation in the interface, acquire input information, and use the input information as the reference information; or in response to an information marking operation in the interface, acquire marking information, and use the marking information as the reference information.

[0009] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit is also configured to: determine the degree of association between the reference information and each candidate recommendation information, wherein the degree of association is used to characterize the strength of association between the reference information and the candidate recommendation information; and select the recommendation information from the at least one candidate recommendation information based on the degree of association between the candidate recommendation information and the reference information.

[0010] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit is further configured to: determine the information type of each piece of candidate recommendation information; and determine the degree of association between the reference information and each piece of candidate recommendation information through the information type of each piece of candidate recommendation information.

[0011] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit is further configured to: identify the editing scenario of information editing, and determine the matching degree between the editing scenario and each information type; determine the matching degree as the correlation between the reference information and each candidate recommended information.

[0012] In some embodiments of the present application, based on the aforementioned scheme, the generation unit is configured to: obtain a control icon that matches the recommendation information, and the icon area of ​​the control icon is smaller than a predetermined threshold; and generate a recommended control corresponding to the recommendation information based on the control icon.

[0013] In some embodiments of the present application, based on the aforementioned scheme, the generating unit is further configured to: determine a target position in the interface, wherein the target position is independent of the layout position of the information already existing in the interface; and display the recommendation control at the target position in the interface.

[0014] In some embodiments of the present application, based on the aforementioned scheme, the generation unit is further configured to: obtain the layout position of existing information in the interface in the interface, and determine at least one blank position in the interface that is independent of the layout position; and select a position from the at least one blank position as the target position.

[0015] In some embodiments of the present application, based on the aforementioned scheme, when it is detected that the display time of the recommendation control in the interface exceeds a predetermined threshold, or when a trigger operation for the recommendation control is detected, a recommendation event for the recommendation control in the interface is triggered.

[0016] In some embodiments of the present application, based on the aforementioned scheme, the editing unit is configured to: display the recommendation information guided by the recommendation control on the interface; and edit the selected recommendation information into the interface in response to a selection operation on the recommendation information.

[0017] In some embodiments of the present application, based on the aforementioned scheme, the editing unit is also configured to: obtain the basic information that has been edited in the interface, and determine the association relationship between the recommended information and the basic information; determine the target editing method for editing the recommended information into the interface based on the association relationship; edit the recommended information into the interface according to the target editing method to obtain new basic information.

[0018] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the information editing method described in the above embodiments.

[0019] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the information editing method as described in the above embodiment is implemented.

[0020] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the information editing method as described in the above embodiments.

[0021] In the technical solutions provided in some embodiments of the present application, by acquiring recommendation information for information editing, generating a recommendation control corresponding to the recommendation information, and displaying the recommendation control in an interface, when a recommendation event in the recommendation control in the interface is triggered, information editing can be performed in the interface based on the recommendation information. Based on this, on the one hand, the recommendation control corresponding to the recommendation information is displayed in the interface only after the recommendation information is acquired, which can reduce the visual interference of the recommendation control to the user. On the other hand, after the recommendation information is acquired, the recommendation control corresponding to the recommendation information is displayed in the interface, which can provide a visual focus for the user to remind the user to pay attention to the recommended information for information editing. On this basis, when a recommendation event in the recommendation control is triggered, the information can be edited in the interface based on the recommendation information, thereby improving the efficiency of editing the information. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0023] Figure 1 A schematic diagram showing an exemplary hardware environment to which the technical solution of the embodiments of the present application can be applied;

[0024] Figure 2 A flowchart of an information editing method according to an embodiment of the present application is shown;

[0025] Figure 3 A detailed flow chart of obtaining recommended information for information editing according to an embodiment of the present application is shown;

[0026] Figure 4 An interface demonstration diagram showing reference information in an acquisition interface according to an embodiment of the present application is shown;

[0027] Figure 5 A detailed flow chart of selecting the recommendation information from the at least one piece of candidate recommendation information according to an embodiment of the present application is shown;

[0028] Figure 6 A detailed flow chart of generating a recommendation control corresponding to the recommendation information according to an embodiment of the present application is shown;

[0029] Figure 7 A detailed flow chart of displaying the recommendation control in the interface according to an embodiment of the present application is shown;

[0030] Figure 8 A detailed flow chart of determining a target position in the interface according to an embodiment of the present application is shown;

[0031] Fig. 9 An interface demonstration diagram for determining a target position in the interface according to an embodiment of the present application is shown;

[0032] Fig.10 A detailed flow chart of information editing in the interface based on the recommendation information according to an embodiment of the present application is shown;

[0033] Fig.11 An interface demonstration diagram showing the display of recommendation information guided by the recommendation control on the interface according to an embodiment of the present application is shown;

[0034] Fig.12 A detailed flow chart of information editing in the interface based on the recommendation information according to an embodiment of the present application is shown;

[0035] Fig.13 A block diagram of an information editing device according to an embodiment of the present application is shown;

[0036] Fig.14 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0037] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0038] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0039] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0040] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0041] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the objects used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those shown or described.

[0043] The embodiments in this application involve technologies related to artificial intelligence, that is, fully automated processing of data (such as information data) is achieved through artificial intelligence. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that the machines have the functions of perception, reasoning and decision-making.

[0044] Figure 1 A schematic diagram of an exemplary hardware environment to which the technical solution of the embodiments of the present application can be applied is shown.

[0045] like Figure 1 As shown, the implementation environment of the technical solution of the embodiment of the present application may include a terminal device. For example, including Figure 1 Any one of the smart phone 101, tablet computer 102, touch display 103 and portable computer 104 shown in the figure may of course be other electronic devices with touch or non-touch display functions, etc.

[0046] In one embodiment of the present application, the user can use a PC with a touch or non-touch display function to implement the technical solution of the embodiment of the present application, for example Figure 1 The portable computer 104 shown in FIG. Specifically, the screen of the portable computer can display an interface, and information editing can be performed in the interface displayed on the screen.

[0047] Further, such as Figure 1 Any terminal device shown can obtain recommended information for information editing, then generate a recommendation control corresponding to the recommended information, and display the recommendation control in the interface. When a recommendation event in the recommendation control in the interface is triggered, information editing is performed in the interface based on the recommendation information.

[0048] In this embodiment, after obtaining the recommended information for information editing, a recommendation control corresponding to the recommended information can be generated and displayed in the interface. On the one hand, the recommendation control corresponding to the recommended information is displayed in the interface only after the recommended information is obtained, which can reduce the visual interference of the recommendation control to the user. On the other hand, after obtaining the recommended information, the recommendation control corresponding to the recommended information is displayed in the interface, which can provide a visual focus for the user to remind the user to pay attention to the recommended information for information editing. On this basis, when a recommendation event for the recommendation control is triggered, the information can be edited in the interface based on the recommended information, thereby improving the efficiency of editing the information.

[0049] The following will be Figure 2 The information editing scheme proposed in this application is described.

[0050] like Figure 2 , shows a flow chart of an information editing method according to an embodiment of the present application, the information editing method can be executed by a device having a computing processing function, such as Figure 1 Refer to the terminal device shown in Figure 2 As shown, the information editing method at least includes steps 220 to 260:

[0051] Step 220: Obtain recommended information for information editing.

[0052] Step 240: Generate a recommendation control corresponding to the recommendation information, and display the recommendation control in the interface.

[0053] Step 260: When a recommendation event in a recommendation control in the interface is triggered, information is edited in the interface based on the recommendation information.

[0054] It should be noted that the interface listed in this embodiment may be a mobile phone interface, a PC interface, or a tablet computer interface. It is understandable that the interface mentioned here may refer to any interface with interactive functions.

[0055] The following Figure 2 The implementation details of the technical solution shown are described in detail:

[0056] In step 220, recommended information for information editing is obtained.

[0057] In the present application, it should be noted that the recommended information mentioned in the present application may include text information (such as associative completion text, symbol text, proofreading text, translation text, explanation text, etc.), image information (such as emoticon images), audio information, video information, and multiple combinations of text information, image information, audio information, and video information.

[0058] In one embodiment of step 220, the recommended information for information editing may be obtained as follows: Figure 3 Follow the steps shown.

[0059] See also Figure 3 , shows a detailed flow chart of obtaining recommended information for information editing according to an embodiment of the present application. Specifically, it includes steps 221 to 222:

[0060] In step 221, reference information in the interface is acquired, and at least one piece of candidate recommendation information associated with the reference information is determined.

[0061] In step 222, the recommendation information is selected from the at least one candidate recommendation information.

[0062] In step 221 of this embodiment, obtaining the reference information in the interface can be achieved in any of the following ways:

[0063] The first one is to obtain input information in response to an information input operation in the interface, and use the input information as the reference information.

[0064] The second method is to obtain marked information in response to an information marking operation in the interface, and use the marked information as the reference information.

[0065] In order to enable those skilled in the art to better understand this embodiment, the text information will be used as reference information. Figure 4 The following description is given in the PC interface environment.

[0066] See also Figure 4 , shows an interface demonstration diagram for obtaining reference information in an interface according to an embodiment of the present application.

[0067] like Figure 4 As shown, in interface 401, after entering text information 402 of "admit mistakes and correct them", the text information can be determined as reference information; in another interface 403, after selecting and marking text information 404 of "everything is ready", the text information can also be determined as reference information.

[0068] It can be seen that obtaining reference information through the above two methods can enhance the interactivity between the user and the interface, and can also enhance the convenience of obtaining reference information.

[0069] In step 220, at least one candidate recommendation information associated with the reference information is determined, specifically by inputting the reference information into a pre-trained machine learning model, and having the machine learning model output at least one candidate recommendation information associated with the reference information. Alternatively, at least one candidate recommendation information associated with the reference information is intelligently matched from a pre-built target database.

[0070] In the present application, other information such as associative completion information, symbol information, emoticon information, translation information, and proofreading information associated with the reference information may be determined as the candidate recommendation information.

[0071] In such Figure 3 In one embodiment of step 222, the recommendation information is selected from the at least one candidate recommendation information in the following manner: Figure 5 Follow the steps shown.

[0072] See also Figure 5 , shows a detailed flow chart of selecting the recommended information from the at least one candidate recommended information according to an embodiment of the present application. Specifically comprising steps 2221 to 2222:

[0073] In step 2221, the degree of association between the reference information and each piece of candidate recommendation information is determined, where the degree of association is used to characterize the strength of association between the reference information and the candidate recommendation information.

[0074] In step 2222, the recommendation information is selected from the at least one piece of candidate recommendation information based on the degree of association between the candidate recommendation information and the reference information.

[0075] In such Figure 5 In one embodiment of step 2221 shown, the correlation between the reference information and each piece of candidate recommendation information is determined by first determining the information type of each piece of candidate recommendation information, and then determining the correlation between the reference information and each piece of candidate recommendation information based on the information type of each piece of candidate recommendation information.

[0076] In the present application, a piece of candidate recommendation information may correspond to an information type, for example, the information type corresponding to symbol information is the symbol type, the information type corresponding to translation information is the translation type, and the information type corresponding to expression information is the expression type.

[0077] Specifically, in one implementation of the present embodiment, the degree of association between the reference information and each piece of candidate recommendation information is determined by the information type of each piece of candidate recommendation information. This may be by first identifying the editing scenario of the information editing, and determining the degree of match between the editing scenario and each information type, and then determining the degree of match as the degree of association between the reference information and each piece of candidate recommendation information.

[0078] For example, the editing scene of information editing can be identified by capturing the current editing interface image and parsing the captured editing interface image, or by detecting the type of software currently running on the system. For example, the editing scene of information editing can be a writing editing scene, a chatting editing scene, a translation editing scene, a review editing scene, and the like.

[0079] In the present application, the matching degree between the editing scene and each information type can be set in advance. For example, the translation editing scene and the translation information type are set to a higher matching degree, the chat editing scene and the emoticon information type are set to a higher matching degree, the review editing scene and the proofreading information type are set to a higher matching degree, and so on.

[0080] In addition, in the present application, the matching degree between the editing scenario and each information type can also be determined by a pre-trained machine learning model.

[0081] In another implementation of the present embodiment, the degree of association between the reference information and each piece of candidate recommendation information is determined by the information type of each piece of candidate recommendation information, or it may be determined by the priority corresponding to each information type. For example, a higher priority may be set for the information type of the proofreading class. Correspondingly, when there is candidate recommendation information of the proofreading class in the candidate recommendation information, a higher degree of association may be determined between the reference information and the candidate recommendation information of the proofreading class.

[0082] In another implementation of the present embodiment, the degree of association between the reference information and each piece of candidate recommendation information is determined by the information type of each piece of candidate recommendation information, and may also be determined based on the historical selection record for the candidate recommendation information. For example, if the user has historically frequently selected recommendation information of the information type of the translation type, then a higher degree of association may be determined between the reference information and the candidate recommendation information of the translation type.

[0083] It should be noted that the association degree proposed in this application can be measured by several levels, such as high-level association, medium-level association, and low-level association. The association degree can also be quantified into a specific value, such as an association degree of any value between 1% and 100%, and the higher the value, the higher the association degree.

[0084] In such Figure 5 In the step 2222 shown, the recommendation information is selected from the at least one candidate recommendation information based on the strength of association between the candidate recommendation information and the reference information. The recommendation information may be a piece of candidate recommendation information with the highest degree of association selected from the at least one candidate recommendation information as the recommendation information, or multiple pieces of candidate recommendation information with the highest degree of association selected from the at least one candidate recommendation information as the recommendation information.

[0085] In the present application, by determining the correlation between the reference information and each candidate recommendation information, and selecting the recommendation information from the at least one candidate recommendation information based on the correlation, the advantage is that the recommendation information that better matches the reference information can be screened out, thereby improving the accuracy of the recommendation information.

[0086] Continue to refer to Figure 2 In step 240, a recommendation control corresponding to the recommendation information is generated, and the recommendation control is displayed in the interface.

[0087] In one embodiment of step 240, a recommendation control corresponding to the recommendation information is generated as follows: Figure 6 Follow the steps shown.

[0088] See also Figure 6 , shows a detailed flow chart of generating a recommendation control corresponding to the recommendation information according to an embodiment of the present application. Specifically, it includes steps 241 to 242:

[0089] In step 241, a control icon matching the recommendation information is obtained, and the icon area of ​​the control icon is smaller than a predetermined threshold.

[0090] In step 242, a recommendation control corresponding to the recommendation information is generated based on the control icon.

[0091] In this embodiment, the control icon can be obtained from pre-designed icons or randomly generated according to the user's interface style. The advantage of randomly generating control icons according to the user's interface style is that it can increase the coordination between the interface and the recommended controls.

[0092] In this embodiment, the icon area of ​​the control icon can be smaller than a predetermined threshold. The advantage of this approach is that it can reduce the area occupied by subsequent recommended controls in the interface, improve the simplicity of the interface, and thus reduce the degree of interference to users when editing information in the interface.

[0093] In the present application, in the scenario where there is only one piece of recommended information, the control icon can be determined based on the information type of the recommended information. For example, when the information type of the recommended information is emoticons, a "dog head" control icon can be determined, when the information type of the recommended information is translation, a "cat head" control icon can be determined, and when the information type of the recommended information is proofreading, a "pig head" control icon can be determined. The advantage of determining the control icon based on the information type of the recommended information is that it can enhance the recognizability of the recommended controls generated subsequently. Users can understand the information type of the recommended information in advance based on the icon of the recommended control, and thus decide whether to be interested in the recommended information, thereby improving the efficiency of information editing.

[0094] In one embodiment of step 240, the recommendation control is displayed in the interface, and the following steps can be performed: Figure 7 Follow the steps shown.

[0095] See also Figure 7 , shows a detailed flow chart of displaying the recommendation control in the interface according to an embodiment of the present application. Specifically including steps 243 to 244:

[0096] In step 243, a target position is determined in the interface, and the target position is independent of the layout position of the information already existing in the interface.

[0097] In step 244, the recommendation control is displayed at a target location in the interface.

[0098] In such Figure 7 In one embodiment of step 243, the target position is determined in the interface as follows: Figure 8 Follow the steps shown.

[0099] See also Figure 8 , shows a detailed flow chart of determining the target position in the interface according to an embodiment of the present application. Specifically including steps 2431 to 2432:

[0100] In step 2431, the layout position of the existing information in the interface is obtained, and at least one blank position independent of the layout position is determined in the interface.

[0101] In step 2432, a position is selected from the at least one blank position as the target position.

[0102] In order to enable those skilled in the art to better understand this embodiment, the text information will be used as reference information. Fig. 9 The following description is given in the PC interface environment.

[0103] See also Fig. 9 , showing an interface demonstration diagram for determining a target position in the interface according to an embodiment of the present application.

[0104] like Fig. 9 As shown, after inputting the text information of "knowing mistakes and being able to correct them" (ie, reference information) in the editing area in the interface, determining the recommended information corresponding to the text information, and generating a recommendation control corresponding to the recommended information, such as Fig. 9 The "dog head" control 902 shown in the interface, on this basis, obtains the layout position of the existing information in the interface, including position "A", position "C" and position "E", and further, at least one blank position independent of the layout position includes position "B" and position "D", based on this, the "dog head" control 902 can be displayed in position "B" or position "D".

[0105] Furthermore, the target position may be selected as a blank position close to the actual editing area in the interface.

[0106] In the present application, the recommendation control is displayed in a target position in the interface that is independent of the layout position of the existing information in the interface. The advantage is that the recommendation control can be prevented from obstructing the existing information in the interface, thereby reducing the interference of the recommendation control on the user when editing information in the interface.

[0107] Continue to refer to Figure 2 In step 260, when a recommendation event in a recommendation control in the interface is triggered, information is edited in the interface based on the recommendation information.

[0108] In the present application, after the recommendation control is displayed at the target position in the interface, a recommendation event for the recommendation control in the interface may be triggered in any of the following ways:

[0109] In one embodiment, when it is detected that the display time of the recommendation control in the interface exceeds a predetermined threshold, a recommendation event for the recommendation control in the interface is triggered.

[0110] In this method, the predetermined threshold can be set in advance. For example, the predetermined time is set to 3 seconds. Then, after the recommendation control is displayed at the target position in the interface, if no other operations are detected in the interface within 3 seconds, a recommendation event for the recommendation control in the interface is triggered.

[0111] Furthermore, after a cursor (such as a mouse) stays within a preset range centered on the recommendation control for a predetermined time, a recommendation event for the recommendation control in the interface may be triggered.

[0112] In another manner, when a trigger operation on the recommendation control is detected, a recommendation event on the recommendation control in the interface is triggered.

[0113] In this manner, a recommendation event in the recommendation control in the interface may be triggered by clicking a mouse within a preset range centered on the recommendation control.

[0114] In one embodiment of step 260, information editing is performed in the interface based on the recommended information, and the following steps can be performed: Fig.10 Follow the steps shown.

[0115] See also Fig.10 , shows a detailed flow chart of information editing in the interface based on the recommended information according to an embodiment of the present application. Specifically including steps 261 to 262:

[0116] In step 261, the recommendation information guided by the recommendation control is displayed on the interface.

[0117] In step 262, in response to a selection operation on the recommendation information, the selected recommendation information is edited into the interface.

[0118] In the present application, when the number of the recommended information is one, the detailed content of the recommended information can be directly displayed on the interface. When the number of the recommended information is multiple, the information label of the information type corresponding to each piece of recommended information is displayed on the interface, and when a triggering event for the information label is detected, the detailed content of the recommended information corresponding to the triggered information label is directly displayed on the interface.

[0119] In order to enable those skilled in the art to better understand this embodiment, the text information will be used as reference information. Fig.11 The following description is given in the PC interface environment.

[0120] See also Fig.11 , shows an interface demonstration diagram of displaying recommendation information guided by the recommendation control on the interface according to an embodiment of the present application.

[0121] like Fig.11As shown, when a recommendation event in the recommendation control 1102 (i.e., the "dog head" control) in the interface 1101 is triggered, the information label of the recommended information guided by the recommendation control 1102 is displayed in the interface 1101, and when a trigger event for the information label "Association" is detected, the detailed content of the recommended information corresponding to the information label "Association" guided by the recommendation control 1105 is displayed in the interface 1104 (i.e., "There is no greater virtue than to admit one's mistakes and correct them"), and when the detailed content is clicked, the "There is no greater virtue than to admit one's mistakes and correct them" in the editing area 1103 in the interface is changed to "There is no greater virtue than to admit one's mistakes and correct them" in the editing area 1106 in the interface.

[0122] In such Fig.10 In one embodiment of step 262, the selected recommendation information is edited into the interface, and the method can be as follows: Fig.12 Follow the steps shown.

[0123] See also Fig.12 , shows a detailed flow chart of information editing in the interface based on the recommended information according to an embodiment of the present application. Specifically including steps 2621 to 2623:

[0124] In step 2621, the basic information that has been edited in the interface is obtained, and the association relationship between the recommended information and the basic information is determined.

[0125] In step 2622, a target editing method for editing the recommendation information into the interface is determined based on the association relationship.

[0126] In step 2623, the recommended information is edited into the interface according to the target editing method to obtain new basic information.

[0127] In the present application, the basic information may refer to information that has been edited in the information editing area in the interface.

[0128] In this embodiment, taking the recommendation information and the basic information as text information as an example, the association relationship may include any one of a similarity association relationship, a previous association relationship, a following association relationship, and an explanatory association relationship.

[0129] Specifically, when the association relationship is a similarity association relationship, a target editing method of replacing the basic information with the recommended information can be determined; when the association relationship is a context association relationship, a target editing method of merging the recommended information before the basic information can be determined; when the association relationship is a context association relationship, a target editing method of merging the recommended information after the basic information can be determined; when the association relationship is an explanatory association relationship, a target editing method of inserting the recommended information into an appropriate position in the basic information can be determined.

[0130] In this embodiment, through the association relationship between the recommended information and the basic information, a target editing method suitable for editing the recommended information into the information editing area in the interface can be determined, thereby ensuring the rationality of editing the information and further improving the efficiency of editing the information.

[0131] In the technical solutions provided in some embodiments of the present application, by acquiring recommendation information for information editing, generating a recommendation control corresponding to the recommendation information, and displaying the recommendation control in an interface, when a recommendation event in the recommendation control in the interface is triggered, information editing can be performed in the interface based on the recommendation information. Based on this, on the one hand, the recommendation control corresponding to the recommendation information is displayed in the interface only after the recommendation information is acquired, which can reduce the visual interference of the recommendation control to the user. On the other hand, after the recommendation information is acquired, the recommendation control corresponding to the recommendation information is displayed in the interface, which can provide a visual focus for the user to remind the user to pay attention to the recommended information for information editing. On this basis, when a recommendation event in the recommendation control is triggered, the information can be edited in the interface based on the recommendation information, thereby improving the efficiency of editing the information.

[0132] The following describes an apparatus embodiment of the present application, which can be used to execute the information editing method in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the above-mentioned embodiment of the information editing method of the present application.

[0133] Fig.13 A block diagram of an information editing device according to an embodiment of the present application is shown.

[0134] Reference Fig.13 As shown, according to an embodiment of the present application, an information editing device 1300 includes: an acquisition unit 1301 , a generation unit 1302 and an editing unit 1303 .

[0135] Among them, the acquisition unit 1301 is used to acquire recommendation information for information editing; the generation unit 1302 is used to generate a recommendation control corresponding to the recommendation information and display the recommendation control in the interface; the editing unit 1303 is used to edit information in the interface based on the recommendation information when a recommendation event in the recommendation control in the interface is triggered.

[0136] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit 1301 is configured to: acquire reference information in the interface, and determine at least one candidate recommendation information associated with the reference information; and select the recommendation information from the at least one candidate recommendation information.

[0137] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit 1301 is also configured to: in response to an information input operation in the interface, acquire input information, and use the input information as the reference information; or in response to an information marking operation in the interface, acquire marking information, and use the marking information as the reference information.

[0138] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit 1301 is also configured to: determine the degree of association between the reference information and each candidate recommendation information, wherein the degree of association is used to characterize the strength of association between the reference information and the candidate recommendation information; and select the recommendation information from the at least one candidate recommendation information based on the degree of association between the candidate recommendation information and the reference information.

[0139] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit 1301 is further configured to: determine the information type of each piece of candidate recommendation information; and determine the degree of association between the reference information and each piece of candidate recommendation information through the information type of each piece of candidate recommendation information.

[0140] In some embodiments of the present application, based on the aforementioned scheme, the acquisition unit 1301 is further configured to: identify the editing scenario of information editing, and determine the matching degree between the editing scenario and each information type; determine the matching degree as the correlation between the reference information and each candidate recommended information.

[0141] In some embodiments of the present application, based on the aforementioned scheme, the generation unit 1302 is configured to: obtain a control icon that matches the recommendation information, and the icon area of ​​the control icon is smaller than a predetermined threshold; and generate a recommended control corresponding to the recommendation information based on the control icon.

[0142] In some embodiments of the present application, based on the aforementioned scheme, the generation unit 1302 is further configured to: determine a target position in the interface, where the target position is independent of the layout position of the information already existing in the interface; and display the recommendation control at the target position in the interface.

[0143] In some embodiments of the present application, based on the aforementioned scheme, the generation unit 1302 is also configured to: obtain the layout position of the existing information in the interface in the interface, and determine at least one blank position in the interface that is independent of the layout position; and select a position from the at least one blank position as the target position.

[0144] In some embodiments of the present application, based on the aforementioned scheme, when it is detected that the display time of the recommendation control in the interface exceeds a predetermined threshold, or when a trigger operation for the recommendation control is detected, a recommendation event for the recommendation control in the interface is triggered.

[0145] In some embodiments of the present application, based on the aforementioned scheme, the editing unit 1303 is configured to: display the recommendation information guided by the recommendation control on the interface; and edit the selected recommendation information into the interface in response to a selection operation on the recommendation information.

[0146] In some embodiments of the present application, based on the aforementioned scheme, the editing unit 1303 is also configured to: obtain the basic information that has been edited in the interface, and determine the association relationship between the recommended information and the basic information; according to the association relationship, determine the target editing method for editing the recommended information into the interface; edit the recommended information into the interface according to the target editing method to obtain new basic information.

[0147] Fig.14 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.

[0148] It should be noted that Fig.14 The computer system 1400 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0149] like Fig.14 As shown, the computer system 1400 includes a central processing unit (CPU) 1401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1402 or the program loaded from the storage part 1408 to the random access memory (RAM) 1403, such as executing the method described in the above embodiment. In the RAM 1403, various programs and data required for system operation are also stored. The CPU 1401, the ROM 1402 and the RAM 1403 are connected to each other through the bus 1404. The input / output (I / O) interface 1405 is also connected to the bus 1404.

[0150] The following components are connected to the I / O interface 1405: an input section 1406 including a keyboard, a mouse, etc.; an output section 1407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1408 including a hard disk, etc.; and a communication section 1409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1409 performs communication processing via a network such as the Internet. A drive 1410 is also connected to the I / O interface 1405 as needed. A removable medium 1411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1410 as needed so that a computer program read therefrom is installed into the storage section 1408 as needed.

[0151] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1409, and / or installed from a removable medium 1411. When the computer program is executed by a central processing unit (CPU) 1401, various functions defined in the system of the present application are executed.

[0152] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0153] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0154] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0155] As another aspect, the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the information editing method described in the above embodiment.

[0156] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the information editing method described in the above embodiment.

[0157] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0158] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0159] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0160] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. An information editing method, characterized in that: The method comprises: Get recommended information for information editing; Generating a recommendation control corresponding to the recommendation information, and displaying the recommendation control in an interface; When a recommendation event in a recommendation control in the interface is triggered, displaying recommendation information guided by the recommendation control in the interface; In response to a selection operation on the recommended information, basic information that has been edited in the interface is acquired, and an association relationship between the recommended information and the basic information is determined; according to the association relationship, a target editing method for editing the recommended information into the interface is determined; and the recommended information is edited into the interface according to the target editing method to obtain new basic information; If the association relationship is a similarity association relationship, determine a target editing method of replacing the basic information with the recommended information; or, if the association relationship is a context association relationship, determine a target editing method of merging the recommended information before the basic information; or, if the association relationship is a context association relationship, determine a target editing method of merging the recommended information after the basic information; or, if the association relationship is an explanatory association relationship, determine a target editing method of inserting the recommended information into an appropriate position in the basic information.

2. The method according to claim 1, characterized in that The obtaining of recommended information for information editing includes: Acquire reference information in the interface, and determine at least one candidate recommendation information associated with the reference information; The recommendation information is selected from the at least one piece of candidate recommendation information.

3. The method according to claim 2, characterized in that The reference information in the acquisition interface includes any of the following: In response to an information input operation in the interface, acquiring input information, and using the input information as the reference information; In response to an information marking operation in the interface, marking information is acquired and used as the reference information.

4. The method according to claim 2, characterized in that: The selecting the recommendation information from the at least one piece of candidate recommendation information includes: Determine a correlation degree between the reference information and each piece of candidate recommendation information, wherein the correlation degree is used to characterize the correlation strength between the reference information and the candidate recommendation information; The recommendation information is selected from the at least one piece of candidate recommendation information based on the degree of association between the candidate recommendation information and the reference information.

5. The method according to claim 4, characterized in that Determining the relevance between the reference information and each piece of candidate recommendation information includes: Determining the information type of each piece of candidate recommendation information; The degree of association between the reference information and each piece of candidate recommendation information is determined according to the information type of each piece of candidate recommendation information.

6. The method according to claim 5, characterized in that The determining, by using the information type of each piece of candidate recommendation information, the degree of association between the reference information and each piece of candidate recommendation information includes: Identifying an editing scenario for information editing, and determining a degree of matching between the editing scenario and each information type; The matching degree is determined as the association degree between the reference information and each piece of candidate recommendation information.

7. The method according to claim 1, characterized in that The generating a recommendation control corresponding to the recommendation information includes: Acquire a control icon matching the recommendation information, wherein the icon area of ​​the control icon is smaller than a predetermined threshold; A recommendation control corresponding to the recommendation information is generated based on the control icon.

8. The method according to claim 1, characterized in that The displaying the recommendation control in the interface includes: Determining a target position in the interface, wherein the target position is independent of a layout position of information already existing in the interface; The recommendation control is displayed at a target location in the interface.

9. The method according to claim 8, characterized in that Determining the target position in the interface includes: Acquire the layout position of the existing information in the interface, and determine at least one blank position in the interface that is independent of the layout position; A position is selected from the at least one blank position as the target position.

10. The method according to claim 1, characterized in that The trigger is for a recommendation event in a recommendation control in the interface, including: When it is detected that the display time of the recommendation control in the interface exceeds a predetermined threshold, or when a trigger operation for the recommendation control is detected, a recommendation event for the recommendation control in the interface is triggered.

11. An information editing device, characterized in that: The device comprises: An acquisition unit, used to acquire recommended information for information editing; A generating unit, used to generate a recommendation control corresponding to the recommendation information, and display the recommendation control in an interface; an editing unit, configured to, when a recommendation event in a recommendation control in the interface is triggered, display the recommendation information guided by the recommendation control in the interface; in response to a selection operation on the recommendation information, obtain the basic information that has been edited in the interface, and determine the association relationship between the recommendation information and the basic information; determine a target editing mode for editing the recommendation information into the interface according to the association relationship; and edit the recommendation information into the interface according to the target editing mode to obtain new basic information; If the association relationship is a similarity association relationship, determine a target editing method of replacing the basic information with the recommended information; or, if the association relationship is a context association relationship, determine a target editing method of merging the recommended information before the basic information; or, if the association relationship is a context association relationship, determine a target editing method of merging the recommended information after the basic information; or, if the association relationship is an explanatory association relationship, determine a target editing method of inserting the recommended information into an appropriate position in the basic information.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the operations performed by the information editing method according to any one of claims 1 to 10.

13. An electronic device, characterized in that: The electronic device includes one or more processors and one or more memories, wherein the one or more memories store at least one program code, and the at least one program code is loaded and executed by the one or more processors to implement the operations performed by the information editing method as described in any one of claims 1 to 10.