Method, device and equipment for filling in remark information and storage medium

By automatically filling in the notes field in friend request messages within the application, the inefficiency of manually filling in notes in existing technologies is solved, achieving more efficient user operation.

CN111258692BActive Publication Date: 2026-02-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010033924.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-13
Publication Date
2026-02-03
Estimated Expiration
2040-01-13

AI Technical Summary

Technical Problem

When adding friends in the application, the sender's notes need to be manually copied and filled into the corresponding notes by the recipient, resulting in low efficiency.

Method used

By automatically extracting notes from friend request messages from the application's user interface and populating them into the corresponding notes field, there is no need to manually copy and fill them in.

Benefits of technology

It improves user operation efficiency, simplifies the process of filling in remarks, and enhances information retrieval and operation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111258692B_ABST
    Figure CN111258692B_ABST
Patent Text Reader

Abstract

The application discloses a remark information filling method and device, equipment and a storage medium, and relates to the field of application programs. The method comprises the following steps: displaying a friend request message to be added by a contact on a first user interface of an application program; displaying at least one remark item of the contact on a second user interface of the application program in response to an add-friend instruction for adding the contact; and automatically filling remark information extracted from the friend request message into the remark item corresponding to the remark information in the second user interface. The method does not need to manually copy and fill the remark information into the remark item, and thus improves the operation efficiency of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of application programs, and in particular to a method, apparatus, device, and storage medium for filling in remarks information. Background Technology

[0002] Nowadays, many apps have social features, allowing users to add social friends within the app.

[0003] When adding friends on an application, the initiator typically adds a note to the friend request message to identify themselves to the recipient. Once the recipient accepts the friend request, the initiator and recipient become social friends. For example, in the business world, when initiating a friend request using social media, the initiator might add a note containing their name, company name, company address, and phone number to the friend request message to identify themselves to the recipient. After receiving and accepting the friend request, the recipient and initiator become social friends.

[0004] However, the recipient needs to copy and paste each note into the corresponding note item one by one to save the initiator's notes, which is extremely inefficient for users. Summary of the Invention

[0005] This application provides a method, apparatus, device, and storage medium for filling in remarks information. When a terminal receives a friend request, the remarks information from the friend request message is automatically filled into the corresponding remarks field, eliminating the need for the recipient to manually copy and fill in the remarks information, thus improving operational efficiency. The technical solution is as follows:

[0006] According to one aspect of this application, a method for filling in remarks information is provided, the method comprising:

[0007] The application's first user interface is displayed, showing friend request messages sent by contacts that are yet to be added.

[0008] In response to an add friend command for adding a contact, a second user interface of the application is displayed, the second user interface including at least one note item for the contact;

[0009] The notes extracted from the friend request message will be populated into the notes field corresponding to the notes in the second user interface.

[0010] According to another aspect of this application, a method for filling in remarks information is provided, the method comprising:

[0011] The application's first user interface is displayed, showing friend request messages sent by contacts that are yet to be added.

[0012] In response to the add friend command for adding a contact, a second user interface of the application is displayed. The second user interface includes at least one note item for the contact and a note editing area. The note editing area displays n candidate word groups, which are obtained by segmenting the friend request message.

[0013] In response to the first selection instruction of the target phrase item among n candidate phrase items, the selected target phrase item is displayed in the note editing area, along with m fill controls corresponding to the target phrase item, and each fill control has a corresponding note item.

[0014] In response to a second selection instruction for the target fill control among m fill controls, the target phrase item is filled into the corresponding note item of the target fill control;

[0015] The number of fill controls is less than or equal to the number of notes, where m and n are positive integers.

[0016] According to another aspect of this application, a device for filling in remarks information is provided, the device comprising:

[0017] The first display module is used to display the application's first user interface, which displays friend request messages sent by contacts to be added.

[0018] A first display module is configured to display a second user interface of the application in response to an add friend command for adding a contact, the second user interface including at least one note item for the contact;

[0019] The first filling module is used to fill the notes information extracted from the friend request message into the notes items corresponding to the notes information in the second user interface.

[0020] According to another aspect of this application, a device for filling in remarks information is provided, the device comprising:

[0021] The second display module is used to display the application's first user interface, which displays friend request messages sent by contacts to be added.

[0022] The second display module is used to display the application's second user interface in response to the add friend instruction for adding a contact. The second user interface includes at least one note item for the contact and a note editing area. The note editing area displays n candidate word groups, which are obtained by segmenting the friend request message.

[0023] The second display module is used to respond to the first selection instruction of the target phrase item among n candidate phrase items, and to display the selected target phrase item in the remarks editing area, as well as m fill controls corresponding to the target phrase item, each fill control having a one-to-one corresponding remarks item;

[0024] The second fill module is used to fill the target phrase item into the corresponding note item of the target fill control in response to the second selection instruction of the target fill control among the m fill controls;

[0025] The number of fill controls is less than or equal to the number of notes.

[0026] According to another aspect of this application, a terminal is provided, the terminal comprising:

[0027] Memory;

[0028] A processor connected to memory;

[0029] The processor is configured to load and execute executable instructions to implement the method for filling in remarks information as described in the previous aspect and its optional embodiments, or the method for filling in remarks information as described in the other aspect and its optional embodiments.

[0030] According to another aspect of this application, a computer-readable storage medium is provided, which stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement the method for filling in remarks information as described in the foregoing aspect and its optional embodiments, or the method for filling in remarks information as described in the other aspect and its optional embodiments.

[0031] The beneficial effects of the technical solutions provided in this application include at least the following:

[0032] The application's first user interface displays friend request messages from contacts to be added; in response to an add friend command, at least one note for the contact is displayed on the application's second user interface; the note information extracted from the friend request message is automatically populated into the note item corresponding to the note information in the second user interface, eliminating the need to manually copy and populate the note information, thus improving user efficiency. Attached Figure Description

[0033] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 This is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application;

[0035] Figure 2 This is a schematic diagram of the structure of a computer system provided in an exemplary embodiment of this application;

[0036] Figure 3 This is a flowchart of a method for filling in remarks information provided in an exemplary embodiment of this application;

[0037] Figure 4 This is a schematic diagram of the interface for filling in remarks information provided in an exemplary embodiment of this application;

[0038] Figure 5 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0039] Figure 6 This is a flowchart of a method for filling in remarks information provided in another exemplary embodiment of this application;

[0040] Figure 7 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0041] Figure 8 This is a flowchart of a method for filling in remarks information provided in another exemplary embodiment of this application;

[0042] Figure 9 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0043] Figure 10 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0044] Figure 11 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0045] Figure 12 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0046] Figure 13 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0047] Figure 14 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0048] Figure 15 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0049] Figure 16 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0050] Figure 17 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0051] Figure 18 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0052] Figure 19 This is a flowchart of a method for filling in remarks information provided in another exemplary embodiment of this application;

[0053] Figure 20 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0054] Figure 21 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0055] Figure 22 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0056] Figure 23 This is a schematic diagram of the interface for filling in remarks information provided in another exemplary embodiment of this application;

[0057] Figure 24 This is a block diagram of a device for filling in remarks information provided in an exemplary embodiment of this application;

[0058] Figure 25 This is a block diagram of a device for filling in remarks information provided in another exemplary embodiment of this application;

[0059] Figure 26 This is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application. Detailed Implementation

[0060] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0061] The following is an explanation of several terms used in this application:

[0062] Semantic type: refers to the type of classification based on the semantics of words; illustratively, in this application, the remarks information may include mobile phone number, company name, department name, name, etc., then the semantic type may include mobile phone number, organization name, and name.

[0063] When an application receives a friend request message from a contact, which includes notes, the recipient needs to manually copy and paste the notes into the corresponding notes field. This process is cumbersome and reduces the recipient's operational efficiency. Therefore, this application provides a method for filling in notes to solve the above-mentioned technical problem. For detailed implementation of this method, please refer to the following embodiments.

[0064] Please refer to Figure 1 The diagram illustrates the structure of a terminal provided in an exemplary embodiment of this application. The terminal may be a laptop computer, mobile phone, tablet computer, e-book reader, video game console, Moving Picture Experts Group Audio Layer IV (MP4) player, etc.

[0065] Regarding the hardware structure, the aforementioned terminal includes a display screen 120, a memory 140, a processor 160, and an input device 180. Optionally, the input device 180 includes at least one of a touchscreen and physical buttons. The touchscreen may include a capacitive touchscreen or a resistive touchscreen, and the touchscreen may support at least one of capacitive touch and pressure touch control operations.

[0066] Among them, capacitive touch refers to controlling applications by responding to gestures through changes in the capacitance value on the screen; pressure touch refers to controlling applications by responding to gestures through changes in the pressure value on the screen.

[0067] The aforementioned touchscreen can be used to enable interaction between the terminal and the user. In the embodiments of this application, the terminal receives a user-triggered "add friend" command for adding a contact via the touchscreen, such as long-pressing, dragging, or clicking the "add friend" control, to trigger the "add friend" command on the terminal. It should be noted that the aforementioned touchscreen can function as both a display screen and an input device.

[0068] The physical buttons described above can also be used to enable interaction between the terminal and the user. In an embodiment of this application, the terminal can input an "add friend" command to add a contact via the physical buttons.

[0069] The memory 140 may include one or more computer-readable storage media. These computer storage media include at least one of random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory. An operating system 12 and application programs 14 are installed in the memory 140.

[0070] The operating system 12 mentioned above is the foundational software that provides secure access to the computer hardware for the application 14. The operating system can be Android or iOS.

[0071] The aforementioned application 14 includes an application with social functions, allowing users to add social friends within the application. Illustratively, the application may include instant messaging software, financial software, game software, shopping software, video playback software, etc., and this application does not limit the type of application. For example, the application could be a shopping app where users can add social friends to share their online shopping experiences and find good deals; or, for instance, the application could be a game app where users can add game friends to team up for dungeons, create guilds, etc.

[0072] Processor 160 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Optionally, processor 160 may be a general-purpose processor, such as a central processing unit (CPU) or a network processor (NP). Processor 160 is used to execute different commands corresponding to different operations based on control operations input by input device 180. Illustratively, in this application, processor 160 is used to receive control operations from an application, display a first user interface of the application on a terminal, the first user interface displaying a friend request message sent by a contact to be added; in response to an add friend instruction for adding a contact, displaying a second user interface of the application, the second user interface including at least one note item for the contact; and filling the note information extracted from the friend request message into the note item corresponding to the note information in the second user interface.

[0073] For example, the contact addition interface (i.e., the first user interface) of a social software displays friend request messages sent by contacts to be added. The friend request messages include the name and mobile phone number. In response to the add friend command for adding a contact, the contact notes interface (i.e., the second user interface) of the social software is displayed. The contact notes interface includes notes filled with the name and mobile phone number. The name and mobile phone number in the notes are extracted from the friend request messages and filled into the notes.

[0074] In some embodiments, the second user interface further includes a candidate editing area displaying candidate word groups, which can be selected and added to the corresponding notes. These candidate word groups are generated by the backend server segmenting the friend request message and sending the result back to the terminal; (Illustrative example, such as...) Figure 2 Terminal 210 sends friend request message 21 to backend server 220; after receiving friend request message 21, backend server 220 performs word segmentation on friend request message 21 to obtain n candidate word groups, and sends the above n candidate word groups to terminal 210; after receiving n candidate word groups, terminal 210 displays n candidate word groups 23 in the candidate editing area 22, where n is a positive integer.

[0075] Please refer to Figure 3 The flowchart illustrates a method for filling in remarks information according to an exemplary embodiment of this application. Taking the application of this method in a terminal as an example, the method includes:

[0076] Step 301: Display the application's first user interface on the terminal.

[0077] An application with social networking features is installed and running on the terminal. A first account is logged into the application. During the process of adding friends, after the terminal receives a friend request message from the contact to be added via a second account to the first account, the friend request message is displayed on the first user interface. The second account refers to the user account of the aforementioned application owned by the contact to be added.

[0078] It should be noted that after launching the application, the application's main user interface is displayed on the terminal. If the main user interface is not the primary user interface, you can access the primary user interface through controls set within the application. For example, in social networking software, a contact list exists; the contact list's user interface 31 is displayed on the terminal. Figure 4The user interface 31 includes a viewing control 32 displaying "New Contacts". The terminal receives a trigger operation from the viewing control 32 and displays the user interface 33 corresponding to the "New Contacts". The user interface 33 displays message list items 34, each corresponding to a friend request message. Each message list item 34 also has a message viewing control 35, and each message list item 34 corresponds to one message viewing control 35. When the terminal receives a trigger operation from the message viewing control 35, it displays the application's first user interface 36, which displays friend request messages 37 sent by the contact to be added. For example, if the message list item 34 displays the nickname of a second account, and the terminal receives a trigger operation on the message viewing control 35 corresponding to the nickname "Guoguo", then the first user interface 36 displays a friend request message for "Guoguo", with the message content "I am Guoguofiggfgggffffghh haha, I am Lao Zhang from Shandong, 176xxxxxxxx".

[0079] Optionally, the aforementioned friend request message is automatically generated by the backend server based on the social relationship between the adder and the addee, using a deep learning algorithm. Among these, there are at least two different types of social relationships that generate different friend request messages.

[0080] In other words, during the generation of a friend request message, the backend server analyzes relevant information about the person adding and the person being added, such as mutual friends, to determine the social relationship between them. Each type of social relationship corresponds to a different message type for the friend request message, and the backend server uses a deep learning algorithm to automatically generate the friend request message corresponding to that social relationship. This social relationship can include at least one of the following: family / friends, colleagues, classmates, and business partners.

[0081] For illustrative purposes, if the social relationship between the person adding the friend and the person being added is that of relatives or friends, the friend request message automatically generated by the backend server can be "Hello Zhang San! Your relative or friend Li Si requests to add you as a friend"; if the social relationship between the person adding the friend and the person being added is that of a business partner, the friend request message automatically generated by the backend server can be "Hello Zhang San! Your business partner Li Si at XXYY Company requests to add you as a friend. Li Si's mobile phone number is 188xxxxxxxx".

[0082] Step 302, in response to the add friend instruction for adding a contact, displays the application's second user interface.

[0083] The terminal receives the "add friend" command input via physical buttons, and in response, displays the application's second user interface.

[0084] Alternatively, a friend-adding control may be provided on the first user interface. When the terminal receives an add friend instruction triggered by the friend-adding control, it responds to the add friend instruction and displays the application's second user interface, wherein the second user interface includes at least one note item for the contact.

[0085] The remarks section is used to fill in relevant information about the contact to be added, such as the contact's name, mobile phone number, company, employer, and company address, and the relationship between the contact (the holder of the second account) and the user (the holder of the first account).

[0086] Step 303: The notes extracted from the friend request message are filled into the notes field corresponding to the notes in the second user interface.

[0087] The aforementioned notes are set according to semantic types, and notes of different semantic types can be automatically filled into the corresponding notes. Optionally, the terminal obtains the notes extracted from the friend request message and the semantic type of the notes, and fills the notes into the notes corresponding to the semantic type in the second user interface. That is, the terminal extracts k notes from the friend request message and obtains the semantic type of each note; determines the target notes that match the semantic type of the i-th note, and automatically fills the i-th note into the target notes; i is less than or equal to k, and i and k are positive integers.

[0088] Optionally, the second user interface includes a first note item, the semantic type of which is a mobile phone number; then, in response to the semantic type of the note information being a mobile phone number, the terminal fills the note information into the first note item corresponding to the mobile phone number in the second user interface.

[0089] Optionally, the second user interface includes a second note item, the semantic type of which is the organization name; then, in response to the semantic type of the note information being the organization name, the terminal fills the note information into the second note item in the second user interface that corresponds to the organization type.

[0090] Optionally, the second user interface includes a third note item, and the semantic type of the third note item is name; then, in response to the semantic type of the note information being name, the terminal fills the note information into the third note item corresponding to the name in the second user interface.

[0091] Indicative, such as Figure 5The application's first user interface 36 displays a friend-adding control 38 marked "Verified". The terminal receives the friend-adding command triggered by the friend-adding control 38 and responds to the friend-adding command, displaying the application's second user interface 39. The second user interface 39 includes notes "Note Name", "Company", "Phone Number", and "Tags". The terminal extracts the name and phone number of the contact to be added from the friend request message "I am Guoguofiggfgggffffghh haha ​​I am Lao Zhang from Shandong 176xxxxxxxx", which correspond to the notes "Note Name" and "Phone Number" respectively, and automatically fills them into the two notes. That is, the note "Note Name" is filled with "Guoguo" and the note "Phone Number" is filled with "176xxxxxxxx".

[0092] The terminal also responds to the note setting completion command, confirming that the contact to be added has been successfully added; that is, a social friend relationship is established between the first account and the second account. (Illustrative example, such as...) Figure 5 The terminal receives a note setting completion command triggered by a control marked "Completed", confirming that the contact to be added has been successfully added.

[0093] Optionally, the terminal can also obtain the remarks information of the contact to be added from the backend server and fill the remarks information into the corresponding remarks field. For example, if the phone number of the contact to be added is not present in the friend request message, but the phone number of the contact to be added is stored in the backend server, the terminal can obtain the phone number of the contact to be added from the backend server and fill it into the corresponding remarks field. It should be noted that the above-mentioned remarks information is information set by the contact to be added and bound to the account, and access to the above-mentioned remarks information is granted during the process of adding a friend.

[0094] In summary, the method for filling in notes provided in this embodiment displays a friend request message sent by a contact to be added on the first user interface of the application; in response to an add friend instruction for adding a contact, at least one note item for the contact is displayed on the second user interface of the application; the note information extracted from the friend request message is automatically filled into the note item corresponding to the note information in the second user interface, eliminating the need to manually copy and fill the note information into the note item, greatly improving the efficiency of information extraction and user operation efficiency.

[0095] It should be noted that the application also allows users to first set notes for the contacts to be added, and then submit a friend request from the contact to be added. (Example:) Figure 6The flowchart illustrates a method for filling in remarks information according to another exemplary embodiment of this application. Taking the application of this method in a terminal as an example, the method includes:

[0096] Step 401: Display the application's first user interface on the terminal.

[0097] For detailed implementation information, please refer to step 301; it will not be repeated here.

[0098] Step 402, in response to the instruction to set notes for the contact to be added, displays the application's third user interface.

[0099] The terminal receives a note setting command input via physical keys, and in response to the note setting command, displays the application's third user interface.

[0100] Alternatively, the first user interface may also include a notes setting control. When the terminal receives a notes setting instruction triggered by the notes setting control, it responds to the notes setting instruction and displays the application's third user interface, wherein the third user interface includes at least one notes item for the contact.

[0101] Step 403: The notes extracted from the friend request message are filled into the notes field corresponding to the notes in the third user interface.

[0102] The third-party user interface includes at least two fields for notes, such as name, date of birth, gender, age, phone number, residential address, company name, company address, occupation, professional field, job title, hobbies, and collaborative projects. Optionally, these at least two fields may include notes based on semantic types set by the note information. (Illustrative example, such as...) Figure 7 A friend request message 42 is displayed on the first user interface 41. The message content is "I am Guoguofiggfgggffffghh haha, I am Lao Zhang from Shandong, 176xxxxxxxx". A note setting control 43 is also displayed on the first user interface 41. The terminal receives the note setting instruction triggered by the note setting control 43 and displays the application's third user interface 44. The third user interface 44 includes a first note item "Note Name", a second note item "Company", and a third note item "Phone Number". The terminal extracts the name "Guoguo" of the contact to be added from the friend request message 42 and adds it to the first note item. It also extracts the phone number "176xxxxxxxx" of the contact to be added and adds it to the third note item.

[0103] The third user interface 44 also includes a fourth note item, "Description," in which users can manually add descriptive phrases or statements for the contact to be added. For example, it could be a description of the contact's appearance or occupation. Users can also manually fill in the contact's business card or related images in this note item.

[0104] In summary, the method for filling in notes provided in this embodiment displays a friend request message sent by a contact to be added on the first user interface of the application; in response to the note setting instruction of the contact to be added, at least one note item of the contact is displayed on the third user interface of the application; the note information extracted from the friend request message is automatically filled into the note item corresponding to the note information in the third user interface, without the need to manually copy and fill the note information into the note item, which greatly improves the efficiency of information extraction and improves the efficiency of user operation.

[0105] The friend request message includes notes, which are extracted by the terminal and filled into the corresponding notes field. In addition, the friend request message also includes other descriptive information, which users can select from to fill into the notes field. To facilitate user selection of other descriptive information, candidate word groups obtained after word segmentation of the friend request message can be displayed on the terminal. Figure 3 or Figure 4 In the illustrated embodiment, the second user interface also displays the aforementioned candidate word groups for the user to select and add to the notes section; as shown Figure 8 The method of filling the remarks item with the other descriptive information mentioned above as remarks information is applied to... Figure 3 The illustrated embodiment is used as an example for detailed explanation. For illustrative purposes, steps 304 to 305 are added after step 303, and the steps are as follows:

[0106] Step 304: In response to the first selection instruction for the target phrase item among the n candidate phrase items, the selected target phrase item and the m fill controls corresponding to the target phrase item are displayed in the notes editing area.

[0107] The second user interface also includes a notes editing area, displaying n candidate word groups, where n is a positive integer. Optionally, a first distance and a second distance are pre-set in the terminal; the n candidate word groups displayed in the notes editing area are spaced apart by the first distance between any two adjacent candidate word groups, and by the second distance between any two adjacent rows of candidate word groups. These spacings can prevent accidental touches when the user selects candidate word groups, improving operational efficiency.

[0108] In the notes editing area, n candidate word groups are displayed in an unselected state. The terminal receives a first selection instruction for a target word group among the n candidate word groups, and in response to the first selection instruction, displays the selected target word group in the notes editing area. Optionally, the selected at least two target word groups may include at least one of the following:

[0109] Among n candidate phrase items, at least two adjacent phrase items are included;

[0110] Among n candidate phrase items, there are at least two non-adjacent phrase items in the same row;

[0111] At least two phrases from different rows out of n candidate phrases.

[0112] Optionally, if selecting j consecutive target phrases, the terminal receives a first sliding operation on the j consecutive target phrases. The first sliding operation instructs the generation of a first selection command in the terminal. In response to the first selection command for the j consecutive target phrases, the terminal displays the j consecutive target phrases in the selected state in the remarks editing area, where j is a positive integer.

[0113] Optionally, the terminal receives a second sliding operation on j target phrase items that are selected. The second sliding operation instructs the terminal to generate a selection cancellation instruction. In response to the selection cancellation instruction on the j consecutive target phrase items, the terminal displays the j consecutive target phrase items that are not selected in the remarks editing area. The second sliding operation is a sliding operation in the opposite direction to the first sliding operation.

[0114] Optionally, candidate word groups that are not selected are displayed on the terminal in a first color, and target word groups that are selected are displayed in a second color. Optionally, the second color is obtained by inverting the first color.

[0115] The terminal also displays m fill controls corresponding to the target phrase item on the second user interface. Each fill control has a corresponding note item, where m is a positive integer. Optionally, based on the semantic type of the target phrase item, the terminal determines m first candidate note items from t note items and displays the m fill controls corresponding to the m first candidate note items, where t is a positive integer; that is, the terminal displays the fill controls corresponding to the target semantic type on the second user interface based on the target semantic type to which the target phrase item belongs. For example, if the semantic type of the target phrase item is "address," the fill control corresponding to the address note item is displayed.

[0116] Optionally, based on the filled note items, the terminal determines m second candidate note items from the t note items and displays m filling controls corresponding to the m second candidate note items. Schematically, the terminal identifies the filled note items, removes the filled note items from the t note items, determines the remaining m note items in the t note items as the second candidate note items, and displays m filling controls corresponding to the m second candidate note items.

[0117] Optionally, based on the unfilled note items, the terminal determines m third candidate note items from the t note items and displays m filling controls corresponding to the m third candidate note items. Schematically, the terminal identifies m unfilled note items in the t note items and displays m filling controls corresponding to the m unfilled note items; or, the terminal identifies the unfilled note items in the t note items, determines m third candidate note items from the unfilled note items, and displays m filling controls corresponding to the m third candidate note items, where the above m third candidate note items can be randomly determined from the unfilled note items or determined according to a preset priority.

[0118] Schematically, as Figure 9 , 18 candidate phrase items of the friend request message 37 are displayed on the note editing area 52 of the second user interface 51, and the above 18 candidate phrase items are in an unselected state. The user can select adjacent target phrase items through a click operation, such as Figure 9 , the selected target phrase items are adjacent "Shandong" and "de"; the user can select non-adjacent target phrase items in the same row through a click operation, such as Figure 10 , the selected target phrase items are non-adjacent "Shandong" and "Lao Zhang"; the user can select target phrase items in different rows through a click operation, such as Figure 11 , the selected target phrase items are "Shandong" and "176xxxxxxxx" in different rows; the user can select multiple consecutive target phrase items through a sliding operation, such as Figure 12 , the selected target phrase items are consecutive "from", "Shandong", "de", "Lao Zhang" and "classmate". As Figure 9 , at least two filling controls 53 are also displayed in a superimposed form on the second user interface. The terminal can, in response to a selection instruction on any of the at least two filling controls 53, fill the selected target phrase items into the note item corresponding to the selected filling control.

[0119] The above candidate phrase items are obtained by segmenting the friend request message; optionally, the terminal receives a word segmentation instruction triggered on the note editing area; displays n candidate phrase items in the note editing area according to the word segmentation instruction; where the word segmentation instruction is triggered by at least one of a two-finger open sliding operation, a click operation, a knuckle tapping operation, and a long press operation on the note editing area.

[0120] Schematic, such as Figure 13 , taking the example that the word segmentation instruction is triggered by a two-finger opening sliding operation on the note editing area. The terminal receives a two-finger separation sliding operation on the friend request message in the note editing area 52, which triggers the generation of a word segmentation instruction. The terminal displays 18 candidate phrase items in the note editing area 52 according to the word segmentation instruction.

[0121] Optionally, a word segmentation algorithm is set in the terminal; in response to the word segmentation instruction for the friend request message, the terminal calls the above word segmentation algorithm to perform word segmentation processing on the friend request message, obtains n candidate phrase items, and displays the above n candidate phrase items in the note editing area of the second user interface.

[0122] Alternatively, in response to the word segmentation instruction for the friend request message, the terminal sends the friend request message to the background server; a word segmentation algorithm is set in the background server. The background server receives the friend request message, calls the above word segmentation algorithm to perform word segmentation processing on the friend request message, obtains n candidate phrase items, and feeds back the above n candidate phrase items to the terminal; the terminal receives the n candidate phrase items fed back by the background server and displays the above n candidate phrase items in the note editing area of the second user interface. Among them, the above n candidate phrase items are arranged in the semantic order of the friend request message, and the above arrangement method enables users to organize phrases or sentences more quickly.

[0123] Schematic, after the terminal receives the word segmentation instruction, word segmentation is performed by the terminal or the background server, and finally candidate phrase items are displayed in the note editing area, such as Figure 14 , a word segmentation control 54 is displayed on the second user interface 51. In response to the word segmentation instruction triggered on the word segmentation control 54, the terminal or the background server performs word segmentation processing on the friend request message, obtains candidate phrase items, and finally displays 18 candidate phrase items obtained by word segmentation in the note editing area 52 of the second user interface 51.

[0124] Schematic, the above word segmentation algorithm can be a word segmentation algorithm based on deep learning, which can perform more accurate word segmentation processing on the friend request message. For example, such as Figure 15 , if the above word segmentation algorithm based on deep learning is not used in the left figure, then the name is segmented into three candidate phrase items: "Ma", "Mu", and "Mu"; if the above word segmentation algorithm based on deep learning is used in the right figure, then the name is segmented into "Mamumu", and the word segmentation result of the name is more accurate.

[0125] Schematic, the above word segmentation algorithm based on deep learning also supports a dynamically updated word library, which can more accurately identify some specific nouns, such as Figure 16, if the above-mentioned deep learning-based word segmentation algorithm is not used in the left figure, then the name of the emerging enterprise is segmented into four candidate phrase items: "small", "small", "science", and "technology"; in the right figure, when the above-mentioned deep learning-based word segmentation algorithm is used, the name of the emerging enterprise is segmented into "Xiaoxiao Technology", making the word segmentation result more accurate.

[0126] Step 305, in response to a second selection instruction for a target filling control among the m filling controls, fill the target phrase item into the note item corresponding to the target filling control.

[0127] The terminal receives a second selection instruction for a target filling control among the m filling controls, and in response to the second selection instruction, fills the target phrase item into the note item corresponding to the target filling control.

[0128] Optionally, if there is original note information in the target filling control, the terminal clears the original note information in the note item corresponding to the target filling control; fills the target phrase item into the cleared note item. Schematically, for example Figure 17 , on the second user interface 61, there are target phrase items "Shandong" and "Lao Zhang" in a selected state, and there is also a label filling control 63 marked as "Fill in label" and a note name filling control 64 marked as "Fill in note name"; the terminal responds to a second selection instruction for the label filling control 63 and fills "Shandong Lao Zhang" in the label note item 62 marked as "Label" corresponding to the label filling control 63. Since there is original note information in the label note item 62 and the content of the original note information is "Add label", the terminal first clears the original note information "Add label", and then fills "Shandong Lao Zhang" into the label note item 62.

[0129] Optionally, if there is original note information in the target filling control, the terminal determines the end position of the original note information in the note item corresponding to the target filling control; fills the target phrase item after the end position. Schematically, for example Figure 18 , on the second user interface 6C, there are target phrase items "Shandong" and "Lao Zhang" in a selected state, and there is also a note name filling control 64 marked as "Fill in note name" and an enterprise name filling control 65 marked as "Fill in enterprise name"; the terminal responds to a second selection instruction for the note name filling control 64 and fills "Shandong Lao Zhang" in the note name note item 66 marked as "Note name" corresponding to the note name filling control 64. Since there is original note information in the note name note item 66 and the content of the original note information is "Guoguo", the terminal first determines the end position of the original note information "Guoguo", and then fills "Shandong Lao Zhang" after the end position, obtaining note information "Guoguo Shandong Lao Zhang".

[0130] In summary, the method for filling in remarks provided in this embodiment displays candidate word groups after word segmentation of the friend request message on the second user interface. In response to a first selection instruction for the target word group among the n candidate word groups, the selected target word group and m fill controls corresponding to the target word group are displayed in the remarks editing area. In response to a second selection instruction for the target fill control among the m fill controls, the target word group is filled into the remarks item corresponding to the target fill control. It eliminates the need to manually copy and fill each selected target word group into the corresponding remarks item. The set fill controls enable one-click filling of multiple target word groups, improving user operation efficiency and human-computer interaction efficiency.

[0131] This method does not restrict whether there are other candidate word groups between the target word groups or whether they span multiple lines, thus enabling users to freely select candidate word groups. This allows users to arbitrarily combine candidate word groups in friend request messages, satisfying users' needs for customizing notes.

[0132] This method uses a sliding gesture to set the selection state of consecutive target phrase items, or to deselect them, greatly improving the efficiency of marking target phrase items as selected or deselected. The method also uses different colors to mark selected and unselected phrase items, allowing users to clearly distinguish between them and avoid duplicate selections.

[0133] During the process of filling in the remarks information, while displaying the second user interface, the candidate word groups after word segmentation of the friend request message can also be displayed on the second user interface, thereby reducing user operations. For illustration purposes, please refer to [the relevant documentation]. Figure 19 The flowchart illustrates a method for filling in remarks information according to another exemplary embodiment of this application. Taking the application of this method in a terminal as an example, the method includes:

[0134] Step 501: Display the first user interface of the application on the terminal.

[0135] For detailed implementation information, please refer to step 301; it will not be repeated here.

[0136] Step 502, in response to the add friend instruction for adding a contact, displays the application's second user interface.

[0137] The second user interface includes at least one note item for a contact, as well as a note editing area; the note editing area displays n candidate word groups, which are obtained by segmenting the friend request message into words, where n is a positive integer.

[0138] Indicative, such as Figure 20 The application's first user interface 71 displays a friend request message 72 and a note setting control 73; in response to the note setting instruction received on the note setting control 73, the terminal displays the application's second user interface 74; the note editing area 75 of the second user interface 74 displays 18 candidate word groups corresponding to the friend request message 72.

[0139] Optionally, the aforementioned n candidate word groups can be obtained by word segmentation processing at the terminal or by word segmentation processing at the backend server. If obtained by word segmentation processing at the backend server, the terminal sends the friend request message to the backend server; the backend server performs word segmentation processing on the friend request message to obtain n candidate word groups, and feeds back the aforementioned n candidate word groups to the terminal; the terminal receives the n candidate word groups fed back by the backend server.

[0140] Step 503: In response to the first selection instruction for the target phrase item among the n candidate phrase items, the selected target phrase item and the m fill controls corresponding to the target phrase item are displayed in the notes editing area.

[0141] Each fill control has a corresponding note; for example, such as Figure 21 In response to the first selection instruction of the target phrase item among the 18 candidate phrase items, the terminal displays the target phrase item in the selected state in the remarks editing area 75. For example, in the left figure, the candidate phrase item "classmate" is in an unselected state 78, and in the right figure, the target phrase item "classmate" is in a selected state 77. At the same time, three fill controls 76 are also displayed on the second user interface 74. In the right figure, the three fill controls 76 include three fill controls labeled "Enter Remark Name", "Enter Company Name", and "Enter Description" respectively.

[0142] Optionally, the target phrase item includes at least one of the following:

[0143] Among n candidate phrase items, at least two adjacent phrase items are included;

[0144] Among n candidate phrase items, there are at least two non-adjacent phrase items in the same row;

[0145] At least two phrases from different rows out of n candidate phrases.

[0146] Indicative, such as Figure 21 In the text, the target phrase "from" is adjacent to "Shandong", "Shandong" and "Lao Zhang" are in the same row but not adjacent, and "classmate" and "176xxxxxxxx" are in different rows.

[0147] Step 504: In response to the second selection instruction for the target fill control among the m fill controls, fill the target phrase item into the note item corresponding to the target fill control.

[0148] Optionally, in response to a second selection instruction for the target fill control among the m fill controls, the terminal clears the original note information in the note item corresponding to the target fill control and fills the target phrase item into the cleared note item.

[0149] Indicative, such as Figure 22 The second user interface 74 displays the selected target phrases "I", "is", "Shandong", "of", and "Lao Zhang", as well as three fill controls labeled "Enter Note Name", "Enter Company Name", and "Enter Description". Responding to the second selection command on the description fill control 79 labeled "Enter Description", the terminal displays the existing note information "Add more notes" in the description note item corresponding to the description fill control 79 labeled "Description". The terminal then clears the existing note information and fills the description note item with "I", "is", "Shandong", "of", and "Lao Zhang", as shown in the right figure. The description note item displays the content "I am Lao Zhang from Shandong".

[0150] Optionally, in response to a second selection instruction for the target fill control among the m fill controls, the terminal determines the end position of the original note information in the note item corresponding to the target fill control; and fills the target phrase item to the end position.

[0151] Indicative, such as Figure 23 The second user interface 74 displays the selected target phrases "Shandong" and "Lao Zhang", as well as three fill controls labeled "Enter Note Name", "Enter Company Name", and "Enter Description". In response to the second selection instruction on the fill control 80 labeled "Enter Note Name", the terminal displays the original note information "Guoguo" in the note name note item corresponding to the fill control 80 labeled "Note Name". The terminal then fills in "Shandong" and "Lao Zhang" at the end of the original note information, as shown in the right figure, and displays the content "Guoguo Shandong Lao Zhang" in the note name note item.

[0152] In summary, the method for filling in remarks information provided in this embodiment displays candidate word groups after word segmentation of the friend request message on the second user interface. In response to a first selection instruction for a target word group among the n candidate word groups, the selected target word group and m corresponding fill controls are displayed in the remarks editing area. In response to a second selection instruction for a target fill control among the m fill controls, the target word group is filled into the remarks item corresponding to the target fill control. This eliminates the need to manually copy and fill each selected target word group into its corresponding remarks item. The set fill controls enable one-click filling of multiple target word groups, improving user efficiency and enhancing human-computer interaction efficiency. Furthermore, by segmenting and displaying the friend request message, this method solves the problem of difficulty in precise operation when selecting partial content due to the limited screen display area of ​​the terminal.

[0153] This method automatically clears existing notes during the note information filling process, eliminating the need for manual clearing and improving information retrieval efficiency. Furthermore, it automatically fills new notes after existing ones during the process, further improving filling efficiency without requiring manual placement.

[0154] It should also be noted that after the target phrase is filled into the remarks field, the target phrase automatically returns to the unselected state from the selected state, without the need to manually deselect it. This reduces the number of steps and greatly improves the efficiency of filling in multi-field information, thus improving the user's operational efficiency.

[0155] Please refer to Figure 24 This diagram illustrates a block diagram of a note information input device provided in an exemplary embodiment of this application. The device, implemented as part or all of a terminal via software, hardware, or a combination of both, includes:

[0156] The first display module 601 is used to display the first user interface of the application, which displays friend request messages sent by contacts to be added.

[0157] The first display module 601 is configured to display a second user interface of the application in response to an add friend instruction for adding a contact, the second user interface including at least one note item for the contact;

[0158] The first filling module 602 is used to fill the memo information extracted from the friend request message into the memo item corresponding to the memo information in the second user interface.

[0159] In some embodiments, the first filling module 602 includes:

[0160] The first acquisition submodule 6021 is used to acquire the notes information extracted from the friend request message and the semantic type of the notes information;

[0161] The first filling submodule 6022 is used to fill the memo information into the memo item corresponding to the semantic type in the second user interface.

[0162] In some embodiments, the first filling submodule 6022 is used to fill the remarks information into the first remarks item corresponding to the mobile phone number in the second user interface in response to the semantic type being a mobile phone number.

[0163] Alternatively, in response to the semantic type being an organization name, the memo information is populated into the second memo field in the second user interface that corresponds to the organization name;

[0164] Alternatively, in response to the semantic type being "name", the notes information is populated into the third notes field corresponding to the name in the second user interface.

[0165] In some embodiments, the second user interface further includes a note editing area, which displays n candidate word groups, which are obtained by segmenting the friend request message into words.

[0166] The first display module 601 is also used to respond to a first selection instruction for a target phrase item among n candidate phrase items, and to display the selected target phrase item in the remarks editing area, as well as m fill controls corresponding to the target phrase item, each fill control having a one-to-one corresponding remarks item;

[0167] The first fill module 602 is used to fill the target phrase item into the note item corresponding to the target fill control in response to a second selection instruction for the target fill control among m fill controls;

[0168] The number of fill controls is less than or equal to the number of notes.

[0169] In some embodiments, the number m of fill controls is less than the number t of notes;

[0170] The first display module 601 is also used to determine m first candidate notes from t notes based on the semantic type of the target phrase item, and display m fill controls corresponding to the m first candidate notes;

[0171] Alternatively, based on the already filled notes, determine m second candidate notes from t notes, and display m fill controls corresponding to the m second candidate notes;

[0172] Alternatively, based on the unfilled notes, determine m third candidate notes from the t notes, and display the m fill controls corresponding to the m third candidate notes.

[0173] In some embodiments, the first display module 601 is further configured to receive a word segmentation instruction triggered on the note editing area, wherein the word segmentation instruction is triggered by at least one of a two-finger swipe operation, a click operation, a knuckle tap operation, and a long press operation on the note editing area; and display n candidate word groups in the note editing area according to the word segmentation instruction.

[0174] In some embodiments, the target phrase item includes at least one of the following:

[0175] Among n candidate phrase items, at least two adjacent phrase items are included;

[0176] Among n candidate phrase items, there are at least two non-adjacent phrase items in the same row;

[0177] At least two phrases from different rows out of n candidate phrases.

[0178] In some embodiments, the first filling module 602 further includes:

[0179] The first clear submodule is used to clear the original remarks information in the remarks item corresponding to the target fill control;

[0180] The first fill submodule 6022 is used to fill the target phrase item into the cleared notes item.

[0181] In some embodiments, the first filling module 602 further includes:

[0182] The first determination submodule is used to determine the end position of the original remarks information in the remarks item corresponding to the target fill control;

[0183] The first fill submodule 6022 is used to fill the target phrase item to the end position.

[0184] In some embodiments, the device further includes:

[0185] The first sending module 603 is used to send friend request messages to the backend server;

[0186] The first receiving module 604 is used to receive n candidate word groups from the backend server. The candidate word groups are obtained by the backend server after segmenting the friend request message into words.

[0187] In some embodiments, friend request messages are automatically generated by a backend server based on the social relationship between the adder and the addee, using a deep learning algorithm. There are at least two different types of social relationships that generate different friend request messages.

[0188] In summary, the note information filling device provided in this embodiment displays friend request messages sent by contacts to be added on the first user interface of the application; in response to the add friend instruction for adding a contact, it displays at least one note item for the contact on the second user interface of the application; the note information extracted from the friend request message is automatically filled into the note item corresponding to the note information in the second user interface, eliminating the need to manually copy and fill the note information into the note item, greatly improving the efficiency of information extraction and user operation efficiency.

[0189] Please refer to Figure 25 This diagram illustrates a block diagram of a note information input device provided in an exemplary embodiment of this application. The device, implemented as part or all of a terminal via software, hardware, or a combination of both, includes:

[0190] The second display module 701 is used to display the first user interface of the application, which displays friend request messages sent by contacts to be added.

[0191] The second display module 701 is used to display the second user interface of the application in response to the add friend instruction for adding a contact. The second user interface includes at least one note item for the contact and a note editing area. The note editing area displays n candidate word groups, which are obtained by segmenting the friend request message into words.

[0192] The second display module 701 is used to respond to the first selection instruction of the target phrase item among n candidate phrase items, and to display the selected target phrase item in the remarks editing area, as well as m fill controls corresponding to the target phrase item, each fill control having a one-to-one corresponding remarks item;

[0193] The second fill module 702 is used to fill the target phrase item into the note item corresponding to the target fill control in response to a second selection instruction for the target fill control among m fill controls;

[0194] The number of fill controls is less than or equal to the number of notes.

[0195] In some embodiments, the number m of fill controls is less than the number t of notes;

[0196] The second display module 701 is also used to determine m first candidate notes from t notes based on the semantic type of the target phrase item, and display m fill controls corresponding to the m first candidate notes;

[0197] Alternatively, based on the already filled notes, determine m second candidate notes from t notes, and display m fill controls corresponding to the m second candidate notes;

[0198] Alternatively, based on the unfilled notes, determine m third candidate notes from the t notes, and display the m fill controls corresponding to the m third candidate notes.

[0199] In some embodiments, the second display module 701 is further configured to receive a word segmentation instruction triggered on the note editing area, wherein the word segmentation instruction is triggered by at least one of a two-finger swipe operation, a click operation, a knuckle tap operation, and a long press operation on the note editing area; and to display n candidate word groups in the note editing area according to the word segmentation instruction.

[0200] In some embodiments, the target phrase item includes at least one of the following:

[0201] Among n candidate phrase items, at least two adjacent phrase items are included;

[0202] Among n candidate phrase items, there are at least two non-adjacent phrase items in the same row;

[0203] At least two phrases from different rows out of n candidate phrases.

[0204] In some embodiments, the second filling module 702 includes:

[0205] The second clearing submodule 7021 is used to clear the original remarks information in the remarks item corresponding to the target fill control;

[0206] The second fill submodule 7022 is used to fill the target phrase item into the cleared notes item.

[0207] In some embodiments, the second filling module 702 includes:

[0208] The second determining submodule 7023 is used to determine the end position of the original remarks information in the remarks item corresponding to the target fill control;

[0209] The second fill submodule 7022 is used to fill the target phrase item to the end position.

[0210] In some embodiments, the device further includes:

[0211] The second sending module 703 is used to send friend request messages to the backend server;

[0212] The second receiving module 704 is used to receive n candidate word groups from the backend server. The candidate word groups are obtained by the backend server after segmenting the friend request message into words.

[0213] In some embodiments, friend request messages are automatically generated by a backend server based on the social relationship between the adder and the addee, using a deep learning algorithm. There are at least two different types of social relationships that generate different friend request messages.

[0214] In summary, the note information filling device provided in this embodiment displays candidate word groups after word segmentation processing of friend request messages on a second user interface. In response to a first selection instruction for a target word group among n candidate word groups, the selected target word group and m corresponding fill controls are displayed in the note editing area. In response to a second selection instruction for a target fill control among the m fill controls, the target word group is filled into the note item corresponding to the target fill control. This eliminates the need to manually copy and fill each selected target word group into its corresponding note item. The fill controls enable one-click filling of multiple target word groups, improving user efficiency and enhancing human-computer interaction efficiency.

[0215] Please refer to Figure 26 This diagram illustrates a structural block diagram of a terminal 800 provided in an exemplary embodiment of this application. The terminal 800 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 800 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0216] Typically, terminal 800 includes a processor 801 and a memory 802.

[0217] Processor 801 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 801 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 801 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 801 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 801 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0218] The memory 802 may include one or more computer-readable storage media, which may be non-transitory. The memory 802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 802 are used to store at least one instruction, which is executed by the processor 801 to implement the note information filling method provided in the method embodiments of this application.

[0219] In some embodiments, the terminal 800 may also optionally include a peripheral device interface 803 and at least one peripheral device. The processor 801, memory 802, and peripheral device interface 803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 803 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 804, a display screen 805, an audio circuit 806, and a power supply 807.

[0220] Peripheral device interface 803 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 801 and memory 802. In some embodiments, processor 801, memory 802 and peripheral device interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 801, memory 802 and peripheral device interface 803 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0221] The radio frequency (RF) circuit 804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 804 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 804 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 8G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 804 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0222] Display screen 805 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 805 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 801 for processing. In this case, display screen 805 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 805, which serves as the front panel of terminal 800; in other embodiments, there may be at least two display screens, respectively disposed on different surfaces of terminal 800 or in a folded design; in still other embodiments, display screen 805 may be a flexible display screen, disposed on a curved or folded surface of terminal 800. Furthermore, display screen 805 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 805 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).

[0223] The audio circuit 806 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 801 for processing, or input to the radio frequency circuit 804 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal 800. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 806 may also include a headphone jack.

[0224] Power supply 807 is used to power the various components in terminal 800. Power supply 807 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 807 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0225] Those skilled in the art will understand that Figure 26 The structure shown does not constitute a limitation on terminal 800 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0226] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0227] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0228] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for filling in remarks information, characterized in that, The method includes: The application's first user interface is displayed, showing friend request messages sent by contacts to be added. In response to an add friend instruction for adding the contact, a second user interface of the application is displayed. The second user interface includes at least one note item for the contact and a note editing area. The note editing area displays n candidate word groups, which are obtained by segmenting the friend request message. In response to a first selection instruction for a target phrase item among the n candidate phrase items, the selected target phrase item and m fill controls corresponding to the target phrase item are displayed in the note editing area, and each fill control has a corresponding note item. In response to a second selection instruction for a target fill control among the m fill controls, the target phrase item is filled into the note item corresponding to the target fill control; Wherein, the number of fill controls is less than or equal to the number of remarks items, and m and n are positive integers.

2. The method according to claim 1, characterized in that, The number of fill controls m is less than the number of remark items t, where t is a positive integer; The process of displaying m fill controls corresponding to the target phrase item in the remarks editing area includes: Based on the semantic type of the target phrase item, m first candidate notes are determined from t notes, and the m fill controls corresponding to the m first candidate notes are displayed; or, Based on the already filled remarks, m second candidate remarks are determined from t remarks, and the m fill controls corresponding to the m second candidate remarks are displayed; or, Based on the unfilled remarks, m third candidate remarks are determined from the t remarks, and the m fill controls corresponding to the m third candidate remarks are displayed.

3. The method according to claim 1, characterized in that, The response prior to the first selection instruction for the target phrase item among the n candidate phrase items includes: Receive word segmentation instructions triggered on the note editing area, wherein the word segmentation instructions are triggered by at least one of the following: a two-finger swipe operation, a click operation, a knuckle tap operation, and a long press operation on the note editing area; The n candidate word groups are displayed in the remarks editing area according to the word segmentation instructions.

4. The method according to claim 1, characterized in that, The target phrase includes at least one of the following: At least two adjacent phrases among the n candidate phrases; Among the n candidate word phrases, at least two word phrases in the same row are not adjacent; At least two phrases from different rows among the n candidate phrases.

5. The method according to claim 1, characterized in that, The step of filling the target phrase item into the note item corresponding to the target fill control includes: Clear the original remarks information in the remarks item corresponding to the target fill control; Fill the target phrase into the cleared remarks field.

6. The method according to claim 1, characterized in that, The step of filling the target phrase item into the note item corresponding to the target fill control includes: Determine the end position of the original remarks information in the remarks item corresponding to the target fill control; The target phrase is filled after the end position.

7. The method according to claim 1, characterized in that, The method further includes: Send the friend request message to the backend server; The system receives the n candidate word groups from the backend server, which are obtained by the backend server after segmenting the friend request message into words.

8. The method according to any one of claims 1 to 7, characterized in that, The friend request message is automatically generated by the backend server based on the social relationship between the adder and the addee, using a deep learning algorithm. Among them, there are at least two different types of social relationships that generate different friend request messages.

9. The method according to any one of claims 1 to 7, characterized in that, The method further includes: The notes extracted from the friend request message are filled into the notes field corresponding to the notes in the second user interface.

10. The method according to claim 9, characterized in that, The step of filling the memo information extracted from the friend request message into the memo item corresponding to the memo information in the second user interface includes: Obtain the remarks information extracted from the friend request message and the semantic type of the remarks information; The remarks information is filled into the remarks item corresponding to the semantic type in the second user interface.

11. The method according to claim 10, characterized in that, The step of filling the remarks information into the remarks item corresponding to the remarks information in the second user interface includes: In response to the semantic type being a mobile phone number, the remarks information is filled into the first remarks field corresponding to the mobile phone number in the second user interface; or, In response to the semantic type being an organization name, the remarks information is filled into the second remarks field in the second user interface corresponding to the organization name; or, In response to the semantic type being a name, the remarks information is filled into the third remarks item corresponding to the name in the second user interface.

12. A device for filling in remarks information, characterized in that, The device includes: The second display module is used to display the application's first user interface, which displays friend request messages sent by contacts to be added. The second display module is used to display a second user interface of the application in response to an add friend instruction for adding the contact. The second user interface includes at least one note item for the contact and a note editing area. The note editing area displays n candidate word groups, which are obtained by segmenting the friend request message. The second display module is used to respond to a first selection instruction for a target phrase item among the n candidate phrase items, and to display the selected target phrase item and m fill controls corresponding to the target phrase item in the note editing area, wherein each fill control has a corresponding note item. The second fill module is used to fill the target phrase item into the note item corresponding to the target fill control in response to a second selection instruction for the target fill control among the m fill controls; The number of fill controls is less than or equal to the number of notes.

13. A terminal, characterized in that, The terminal includes: Memory; A processor connected to the memory; The processor is configured to load and execute executable instructions to implement the method for filling in remarks information as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one instruction, at least one program, code set, or instruction set; the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method for filling in remarks information as described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Contact person labeling method and device

    CN107193453A

  • Communication method, server and communication system

    CN110149269A