Chat content processing method and apparatus

By associating the text related to geolocation in the chat content with map information in the chat application, and displaying map information on the chat interface after the user enters it, the problem of inefficient users to find geolocation information in chat is solved, and the function of conveniently obtaining geolocation is realized, improving user experience and communication efficiency.

WO2025051087A1PCT designated stage expired Publication Date: 2025-03-13VIVO MOBILE COMM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/116292
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-08
Filing Date
2024-09-02
Publication Date
2025-03-13

AI Technical Summary

Technical Problem

During the chat process, users need to spend a lot of time and energy to find the geographical location information mentioned in the chat content, resulting in inefficiency and poor user experience.

Method used

By associating the target text related to the geographical location in the chat content with map information and receiving user input to display map information in the chat interface, the function of conveniently obtaining geographical location is achieved.

Benefits of technology

Users can instantly and conveniently obtain the geographical location mentioned in the chat content in the chat interface to avoid chat interruptions and improve communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024116292_13032025_PF_FP_ABST
    Figure CN2024116292_13032025_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of communication devices. Disclosed are a chat content processing method and apparatus. The method comprises: associating target text in chat content with map information, wherein the target text is related to a geographical location; receiving a first input for the target text; and in response to the first input, displaying the map information in a chat interface in a preset mode.
Need to check novelty before this filing date? Find Prior Art

Description

Chat content processing method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on September 8, 2023, with application number 202311163958.8 and titled “Method and Device for Processing Chat Content,” the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application belongs to the field of communication technology, and specifically relates to a method and device for processing chat content. Background Art

[0004] With the rapid development of social media and internet technology, people are more accustomed to using chat apps to exchange information, share their daily lives, and plan events. However, during chats, users often include information about specific locations, such as tourist attractions, restaurants, and gathering places. Users often need to push these locations separately or search for them on map apps. When chats are overloaded with content, users need to spend more time and energy searching for relevant information, which is inefficient and interrupts the current conversation, resulting in a poor user experience.

[0005] Summary of the Invention

[0006] The purpose of the embodiments of the present application is to provide a method and device for processing chat content, which can solve the current problem of being unable to conveniently obtain the geographical location mentioned in the chat content.

[0007] In a first aspect, an embodiment of the present application provides a method for processing chat content, the method comprising:

[0008] Associating target text in the chat content with map information, wherein the target text is related to the geographic location;

[0009] receiving a first input of the target text;

[0010] In response to the first input, the map information is displayed in a preset manner in the chat interface.

[0011] In a second aspect, an embodiment of the present application provides a chat content processing device, the device comprising:

[0012] A first processing module is configured to associate target text in the chat content with map information, wherein the target text is related to a geographic location;

[0013] A first receiving module, configured to receive a first input of the target text;

[0014] The first response module is used to display the map information in a preset manner in the chat interface in response to the first input.

[0015] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0017] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.

[0018] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.

[0019] In a seventh aspect, an embodiment of the present application provides an electronic device, which is configured to execute the method described in the first aspect.

[0020] In an embodiment of the present application, target text related to a geographic location in a chat content is associated with map information; a first input of the target text is received; and in response to the first input, the map information is displayed in a predetermined manner in the chat interface. This allows users to conveniently access the geographic location mentioned in the chat content within the chat interface without interrupting the chat, and improves communication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] FIG1 is a flowchart of a method for processing chat content in an embodiment of the present application;

[0022] FIG2 is a schematic diagram of a chat interface in an embodiment of the present application;

[0023] FIG3 is a second schematic diagram of a chat interface in an embodiment of the present application;

[0024] FIG4 is a third schematic diagram of a chat interface in an embodiment of the present application;

[0025] FIG5 is a fourth schematic diagram of a chat interface in an embodiment of the present application;

[0026] FIG6 is a fifth schematic diagram of a chat interface in an embodiment of the present application;

[0027] FIG7 is a sixth schematic diagram of a chat interface in an embodiment of the present application;

[0028] FIG8 is a seventh schematic diagram of a chat interface in an embodiment of the present application;

[0029] FIG9 is an eighth schematic diagram of a chat interface in an embodiment of the present application;

[0030] FIG10 is a schematic diagram of a chat list in an embodiment of the present application;

[0031] FIG11 is a ninth schematic diagram of a chat interface in an embodiment of the present application;

[0032] FIG12 is a second flowchart of a method for processing chat content in an embodiment of the present application;

[0033] FIG13 is a structural block diagram of a device for processing chat content in an embodiment of the present application;

[0034] FIG14 is a structural block diagram of an electronic device in an embodiment of the present application;

[0035] FIG15 is a schematic diagram of the hardware structure of the electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0037] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0038] The following describes in detail the chat content processing method provided by the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0039] Referring to FIG1 , an embodiment of the present application provides a method for processing chat content, comprising the following steps:

[0040] Step 101: Associating target text in the chat content with map information, where the target text is related to the geographic location.

[0041] Step 102: Receive a first input of the target text.

[0042] Among them, the first input is a pre-set input, and the first input may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the first input can be one of the above inputs, or it can be a combination input of two or more of them.

[0043] Step 103: In response to the first input, the map information is displayed in a preset manner in the chat interface.

[0044] Optionally, the preset method includes at least one of the following:

[0045] Map information is the location information displayed in the map window.

[0046] Map information is address information in text form.

[0047] Map information is address information in the form of images.

[0048] Exemplarily, the target text and the map information are associated in a manner similar to a hyperlink, so that when the user clicks on the target text, the map information associated with the target text is displayed on the chat interface.

[0049] In the above embodiment, by associating target text related to a geographic location in a chat with map information, upon receiving a first input of the target text, the map information is displayed in the chat interface in response to the first input. This allows users to conveniently access the geographic location mentioned in the chat content within the chat interface without interrupting the chat, thereby improving communication efficiency.

[0050] In one embodiment, in step 101, associating the target text in the chat content with the map information includes:

[0051] When a first user activates a first chat assistance function, identifying at least one target text related to a geographic location in a chat content, and associating the target text with map information; the chat content is located in a chat interface between the first user and the second user;

[0052] Among them, the first chat assistance function includes: automatically identifying target text related to geographic location in the chat content, and associating the identified target text with map information.

[0053] For example, assuming that the first user is "Xiao Ming" and the second user is "Xiao Hong", Figure 2 shows the chat interface of "Xiao Ming" and "Xiao Hong". When "Xiao Ming" starts the first chat auxiliary function, the chat content in the chat interface is obtained: "Where are you going to play today?" and "I'm going to Huangshan today". Through the text recognition algorithm, the target text related to the geographical location: "Huangshan" is obtained from the chat content, and the map information of Huangshan is associated with the target text "Huangshan".

[0054] In the above embodiment, by starting the first chat assistance function, it is possible to automatically identify the target text related to the geographical location in the chat content and associate the target text with the map information.

[0055] In one embodiment, in step 101, associating the target text in the chat content with the map information includes:

[0056] When the first user starts the first chat assistance function, receiving a second input of the target text;

[0057] In response to the second input, displaying a first control;

[0058] receiving a third input to the first control;

[0059] In response to the third input, displaying a map interface;

[0060] receiving a fourth input on the map interface;

[0061] In response to the fourth input, the map information is determined, and the target text is associated with the map information.

[0062] Among them, the second input, the third input and the fourth input are pre-set inputs, which may include but are not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the second input, the third input and the fourth input can be one of the above inputs respectively, or a combination input of two or more of them.

[0063] For example, assuming the first user is "Xiao Ming" and the second user is "Xiao Hong", Figure 3 shows the chat interface between "Xiao Ming" and "Xiao Hong". When "Xiao Ming" activates the first chat auxiliary function, if Xiao Ming sends a chat content: "I just had clay pot porridge at Tang Ji Seafood, it's really good", after sending the above information, if the target text related to the geographic location in the chat content is not recognized, "Xiao Ming" can long press to select the keyword information "Tang Ji Seafood". Based on "Xiao Ming's" long press input, a prompt box is displayed. Clicking the "Associate" button (first control) in the prompt box displays a map window as shown in Figure 4. In the map window, the user can slide and zoom to view the location and its surrounding information. After the user selects the specific map location corresponding to "Tang Ji Seafood" in the map window, click the "Mark" button displayed in the map window to associate "Tang Ji Seafood" with the selected map location, allowing the user to manually associate the target text with the map information. Optionally, if the location selection is incorrect, the "Modify" button can be clicked to complete the modification of the associated information.

[0064] Optionally, when the first user activates the first chat assistance function, if the target text is not recognized in the chat interface, a prompt message is displayed to prompt the user to perform manual association.

[0065] In the above embodiment, when the user activates the first chat assistance function, if the target text is not recognized in the chat interface, the user can manually select the target text in the chat content and associate the target text with the map information.

[0066] In one embodiment, before the step 101 of associating the target text with the map information, the method further includes:

[0067] Displaying a first function entrance in the chat interface;

[0068] receiving a fifth input to the first function entry;

[0069] In response to the fifth input, displaying a first interface, wherein the first interface includes a second control;

[0070] receiving a sixth input to the second control;

[0071] The first chat assistance function is activated in response to the sixth input.

[0072] Among them, the fifth input and the sixth input are pre-set inputs, which may include but are not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the fifth input and the sixth input can be one of the above inputs respectively, or a combination of two or more of them.

[0073] For example, referring to the chat interface shown in Figures 2 and 3, the first function entrance is the setting icon a displayed in the chat interface in Figures 2 and 3. After receiving the user's click input on the setting icon a, the first interface shown in Figure 5 is displayed. The first interface includes a second control b. The click input on the second control b is received to choose to turn on or off the first chat auxiliary function. The first chat auxiliary function is used to intelligently identify target text related to the geographic location in the chat content and associate the target text with map information.

[0074] In the above embodiment, by adding a first function entrance in the chat interface, when the user needs the first chat auxiliary function, he can enter the first interface based on the first function entrance and complete the setting of turning on or off the first chat auxiliary function.

[0075] In one embodiment, the first interface further includes a second function entry; and the chat content processing method further includes:

[0076] receiving a seventh input to the second functional entry;

[0077] In response to the seventh input, a second interface is displayed, wherein the second interface includes a target text list associated with the map information.

[0078] Among them, the seventh input is a pre-set input, which may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the seventh input can be one of the above inputs, or a combination of two or more of them.

[0079] Exemplarily, Figure 5 shows a schematic diagram of a first interface, which includes a second control b and a second function entry in text form of "Search for marked location information". After the user clicks the second function entry, he enters the second interface as shown in Figure 6, which includes a list of target texts associated with the map information, such as: "Huangshan", "Tang Ji Seafood" and "The Bund".

[0080] In the above embodiment, by providing the second function entry in the first interface, the user can conveniently obtain the target text associated with the map information.

[0081] In one embodiment, after the above step 101 of associating the target text in the chat content with the map information, the following steps are further included:

[0082] When the first user enables the second chat assistance function, a first prompt message is displayed when the electronic device where the first user is located is at a preset distance from the geographical location corresponding to the target text.

[0083] Optionally, the first prompt information may include at least one of the following: sound, text, and vibration.

[0084] Optionally, the preset distance may be preset by the user or a preset default value.

[0085] In the above embodiment, the user can be promptly reminded that the current location is close to the geographical location corresponding to the target text based on the first prompt information, thereby preventing the user from missing the location mentioned in the chat.

[0086] In one embodiment, the second interface includes at least one third function entry, each third function entry corresponding to one of the target texts in the target text list; and the chat content processing method further includes:

[0087] Receiving an eighth input to a target function entry; wherein the target function entry is one of the at least one third function entry;

[0088] In response to the eighth input, displaying a third interface, wherein the third interface includes a third control;

[0089] receiving a ninth input to the third control;

[0090] In response to the ninth input, a second chat assistance function is activated.

[0091] Among them, the eighth input and the ninth input are pre-set inputs, which may include but are not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the eighth input and the ninth input can be one of the above inputs respectively, or a combination of two or more of them.

[0092] Exemplarily, in the second interface shown in Figure 6, the second interface includes: a third function entrance d1 corresponding to "Huangshan", a third function entrance d2 corresponding to "Tang Ji Seafood", and a third function entrance d3 corresponding to "The Bund"; assuming that the user clicks the third function entrance d1 corresponding to "Huangshan", the third interface as shown in Figure 5 is displayed, and the third interface includes a third control c as shown in Figure 7. Based on the input operation of the third control c, the second chat assistance function can be turned on or off. When the second chat assistance function is turned on, the first prompt information is displayed when the user's electronic device is at a preset distance from the geographical location associated with "Huangshan".

[0093] In one embodiment, associating the target text in the chat content with the map information includes:

[0094] When the chat content includes multiple target texts, displaying a fourth control;

[0095] receiving a tenth input to the fourth control;

[0096] In response to the tenth input, displaying a control list in the chat interface; wherein each control in the control list corresponds to one target text;

[0097] receiving an eleventh input to a target control in the control list;

[0098] In response to the eleventh input, the target text corresponding to the target control is associated with map information.

[0099] For example, assuming the first user is "Xiao Ming" and the second user is "Xiao Hong", Figure 8 shows the chat interface between "Xiao Ming" and "Xiao Hong". When "Xiao Ming" activates the first chat auxiliary function, if Xiao Ming sends the chat content: "I like to go for a walk in Lujiazui, Shanghai, to see the skyscrapers and the night view of the Huangpu River", based on the chat content, three geographical location-related nouns "Shanghai", "Lujiazui" and "Huangpu River" can be recognized. A fourth control e is displayed in the lower right corner of the chat message. The user clicks the fourth control e, and multiple text controls corresponding to the geographical location are displayed in the form of floating windows, including: a control corresponding to "Shanghai", a control corresponding to "Huangpu River", and a control corresponding to "Lujiazui" in Figure 8; if the user clicks the text control corresponding to "Shanghai", the interface shown in Figure 9 is displayed, in which the target text "Shanghai" in the chat content is associated with the map information. Optionally, when there are too many controls in the control list, the control list supports page turning.

[0100] In the above embodiment, when multiple target texts are identified in the chat content, a control list is displayed so that each target text corresponds to a control one by one. In this way, the user can selectively determine the target text that needs to be associated with the map information based on the control list to meet the user's usage needs.

[0101] In one embodiment, the third interface further includes a fourth function entry; and the method for processing chat content further includes:

[0102] receiving a twelfth input to the fourth function entry;

[0103] In response to the twelfth input, the preset distance is set.

[0104] Among them, the twelfth input is a pre-set input, which may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the twelfth input can be one of the above inputs, or it can be a combination input of two or more of them.

[0105] For example, in the third interface shown in FIG7 , a fourth function entry in text form of “Distance Setting” is included. The user can edit and set the preset distance based on the fourth function entry to display the first prompt information when the electronic device held by the user is at a preset distance from the geographical location corresponding to the target function entry.

[0106] In one embodiment, the third interface further includes a fifth function entry; and the method for processing chat content further includes:

[0107] receiving a thirteenth input to the fifth function entry;

[0108] In response to the thirteenth input, the target chat content is located in the chat interface; wherein, the target chat content is the chat content where the target text corresponding to the target function entry is located.

[0109] Among them, the thirteenth input is a pre-set input, which may include but is not limited to at least one of click input, press input, long press input, pinch input, drag input, slide input and swipe input. That is to say, the thirteenth input can be one of the above inputs, or it can be a combination input of two or more of them.

[0110] For example, in the third interface displayed for the target text "Huangshan" as shown in Figure 7, the fifth function entrance "Locate chat location" is included. After receiving the user's input operation on the fifth function entrance, the chat interface is displayed and the chat content where the target text "Huangshan" is located, as well as the context chat content, is displayed in the chat interface, that is, the chat content where the target text "Huangshan" is located is located in the chat interface.

[0111] In the above embodiment, by providing a fifth function entrance, it is convenient for users to search for chat records that have been associated with map information.

[0112] In one embodiment, the chat content processing method further includes:

[0113] When a first user receives chat content sent by a second user, if the target text in the chat content is associated with a mark with map information, the target text is displayed as an associated mark in the chat interface between the first user and the second user.

[0114] Optionally, the associated mark state may include: color highlight state, highlight display state, bold display state, underline display state, etc. For example, as shown in Figures 2 and 9, "Huangshan" and "Shanghai" associated with map information are marked in bold and underline states.

[0115] In the above embodiment, by displaying the target text in the associated mark state, the user can quickly identify the target text associated with the map information, and thus conveniently obtain the map information associated with the target text by inputting the target text.

[0116] In one embodiment, the chat content processing method further includes:

[0117] When a first user receives chat content sent by a second user, if the chat content is associated with the map information and the first user has not entered the chat interface with the second user, a reminder message is displayed in the chat list interface of the first user.

[0118] For example, in the chat list interface shown in Figure 10, user "Xiaohong" receives a chat message sent by user "Xiaohong". Since the target text in the chat message is associated with map information, a reminder message "[Associated location] The other party marked a message" is displayed in the chat list interface of user "Xiaohong". This allows the user to promptly obtain the map information associated with the chat message. Furthermore, user "Xiaohong" enters the chat interface with user "Xiaoming", as shown in Figure 11, which shows a schematic diagram of the chat interface. When the user clicks on the target text "Tangji Seafood", a map window associated with "Tangji Seafood" is displayed on the chat interface, and the location information of "Tangji Seafood" is marked in the map window.

[0119] Furthermore, in one embodiment, after receiving a first input of the target text from the user, the method further includes:

[0120] In response to the first input, a map window is displayed, and map information is marked in the map window; wherein the map window further includes: a fifth control;

[0121] receiving a fourteenth input to the fifth control;

[0122] In response to the fourteenth input, the second chat assistance function is activated.

[0123] For example, as shown in Figure 11, after receiving the user's first input of the target text, a map window is displayed in the form of a floating window. The user can slide and zoom in the map window to view the marked map information and surrounding information; the fifth control is the icon control f shown in the map window. The user can start the second chat auxiliary function by inputting an operation on the icon control f, so that the first prompt information is displayed when the user's electronic device is at a preset distance (which can be a default value, such as 500m) from the geographical location corresponding to "Tang Ji Seafood". Optionally, the user can also enter the first interface as shown in Figure 5 based on the second control b in the chat interface, and further enter the second interface as shown in Figure 6 through the first interface, and modify the preset distance accordingly for the marked target text.

[0124] The following describes the chat content processing method provided by this application in conjunction with FIG12. Specifically, the method may include the following steps:

[0125] Step 1: Enable the smart location recognition function (the first chat assistance function);

[0126] Step 2: Intelligently identify target text related to geographic location in the chat content;

[0127] Step 3: Determine whether the target text is recognized; if so, proceed to step 4; if not, proceed to step 5;

[0128] Step 4: Associate the target text with the map information;

[0129] Step 5: Manually select the target text and associate it with the map information;

[0130] Step 6: Whether to set a proximity reminder (i.e., whether to set a second chat auxiliary function); if yes, proceed to step 7; if no, end;

[0131] Step 7: Determine whether the preset distance is reached; if so, proceed to step 8; if not, end;

[0132] Step 8: Vibrate and ring to remind.

[0133] In the above embodiment, the location information in the chat content is intelligently associated with the map, which is more practical in chat scenarios such as travel, itinerary planning, etc., and is more user-friendly while allowing users to more conveniently understand and find relevant location information.

[0134] The chat content processing method provided in the embodiment of the present application can be executed by a chat content processing device. In the embodiment of the present application, the chat content processing device provided in the embodiment of the present application is described by taking the chat content processing method executed by the chat content processing device as an example.

[0135] Referring to FIG. 13 , an embodiment of the present application provides a chat content processing device 1300, including:

[0136] A first processing module 1301 is configured to associate target text in the chat content with map information, where the target text is related to a geographic location;

[0137] A first receiving module 1302 is configured to receive a first input of the target text;

[0138] The first response module 1303 is used to display the map information in a preset manner in the chat interface in response to the first input.

[0139] Optionally, the first processing module 1301 includes:

[0140] The first processing submodule is configured to, when a first user activates a first chat assistance function, identify at least one target text related to a geographic location in a chat content and associate the target text with map information; the chat content is located in a chat interface between the first user and the second user; wherein the first chat assistance function includes: automatically identifying target text related to a geographic location in the chat content and associating the identified target text with map information; or

[0141] The second processing submodule is used to receive a second input to the target text when the first user starts the first chat assistance function; display the first control in response to the second input; receive a third input to the first control; display the map interface in response to the third input; receive a fourth input to the map interface; determine the map information in response to the fourth input, and associate the target text with the map information.

[0142] Optionally, the apparatus 1300 further includes:

[0143] The first display module is used to display a first prompt message when the first user enables the second chat assistance function and the electronic device where the first user is located is at a preset distance from the geographical location corresponding to the target text.

[0144] Optionally, the apparatus 1300 further includes:

[0145] A second display module is used to display a first function entrance in the chat interface;

[0146] a second receiving module, configured to receive a fifth input to the first function entry;

[0147] A second response module, configured to display a first interface in response to the fifth input, where the first interface includes a second control;

[0148] a third receiving module, configured to receive a sixth input to the second control;

[0149] A third response module is used to start the first chat assistance function in response to the sixth input.

[0150] Optionally, the first interface further includes a second function entrance;

[0151] The apparatus 1300 further includes:

[0152] a fourth receiving module, configured to receive a seventh input to the second function entry;

[0153] The fourth response module is configured to display a second interface in response to the seventh input, where the second interface includes a target text list associated with the map information.

[0154] Optionally, the second interface includes at least one third function entry, each of the third function entry corresponds to one of the target texts in the target text list;

[0155] The apparatus 1300 further includes:

[0156] a fifth receiving module, configured to receive an eighth input of a target function entry; wherein the target function entry is one of the at least one third function entry;

[0157] a fifth response module, configured to display a third interface in response to the eighth input, wherein the third interface includes a third control;

[0158] a sixth receiving module, configured to receive a ninth input to the third control;

[0159] The sixth response module is used to start the second chat assistance function in response to the ninth input.

[0160] Optionally, the first processing module 1301 includes:

[0161] A third processing submodule, configured to display a fourth control when the chat content includes multiple target texts;

[0162] a fourth processing submodule, configured to receive a tenth input to the fourth control;

[0163] a fifth processing submodule, configured to display a control list in the chat interface in response to the tenth input; wherein each control in the control list corresponds to one target text;

[0164] A sixth processing submodule, configured to receive an eleventh input to a target control in the control list;

[0165] The seventh processing submodule is configured to associate the target text corresponding to the target control with map information in response to the eleventh input.

[0166] The chat content processing device in the embodiments of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application do not specifically limit it.

[0167] The chat content processing device in the embodiment of the present application can be a device having an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0168] The chat content processing device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 12. To avoid repetition, they will not be described here.

[0169] Optionally, as shown in Figure 14, an embodiment of the present application also provides an electronic device 1400, including a processor 1401 and a memory 1402, and the memory 1402 stores a program or instruction that can be run on the processor 1401. When the program or instruction is executed by the processor 1401, the various steps of the above-mentioned chat content processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0170] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0171] FIG15 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0172] The electronic device 1500 includes but is not limited to components such as a radio frequency unit 1501 , a network module 1502 , an audio output unit 1503 , an input unit 1504 , a sensor 1505 , a display unit 1506 , a user input unit 1507 , an interface unit 1508 , a memory 1509 , and a processor 1510 .

[0173] Those skilled in the art will appreciate that the electronic device 1500 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 1510 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG15 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0174] The processor 1510 is configured to associate target text in the chat content with map information, where the target text is related to a geographic location;

[0175] A user input unit 1507 is configured to receive a first input of the target text;

[0176] The display unit 1506 is used to display the map information in a preset manner in the chat interface in response to the first input.

[0177] Optionally, the processor 1510 is specifically configured to, when the first user activates the first chat assistance function, identify at least one target text related to the geographic location in the chat content, and associate the target text with map information; the chat content is located in the chat interface between the first user and the second user; wherein, the first chat assistance function includes: identifying the target text related to the geographic location in the chat content, and associating the identified target text with the map information; or, when the first user activates the first chat assistance function, receiving a second input to the target text; displaying a first control in response to the second input; receiving a third input to the first control; displaying a map interface in response to the third input; receiving a fourth input to the map interface; determining the map information in response to the fourth input, and associating the target text with the map information.

[0178] Optionally, the display unit 1506 is further configured to display a first prompt message when the first user enables the second chat assistance function and the electronic device where the first user is located is at a preset distance from the geographical location corresponding to the target text.

[0179] Optionally, the display unit 1506 is further configured to display a first function entrance in the chat interface;

[0180] The user input unit 1507 is further configured to receive a fifth input to the first function entry;

[0181] The display unit 1506 is further configured to display a first interface in response to the fifth input, where the first interface includes a second control;

[0182] The user input unit 1507 is further configured to receive a sixth input to the second control;

[0183] Processor 1510 is further configured to activate the first chat assistance function in response to the sixth input.

[0184] Optionally, the first interface further includes a second function entrance;

[0185] The user input unit 1507 is further configured to receive a seventh input to the second function entry;

[0186] The display unit 1506 is further configured to display a second interface in response to the seventh input, where the second interface includes a target text list associated with the map information.

[0187] Optionally, the second interface includes at least one third function entry, each of the third function entry corresponds to one of the target texts in the target text list;

[0188] The user input unit 1507 is further configured to receive an eighth input to a target function entry; wherein the target function entry is one of the at least one third function entry;

[0189] The display unit 1506 is further configured to display a third interface in response to the eighth input, where the third interface includes a third control;

[0190] The user input unit 1507 is further configured to receive a ninth input to the third control;

[0191] Processor 1510 is further configured to activate a second chat assistance function in response to the ninth input.

[0192] Optionally, the display unit 1506 is further configured to display a fourth control when the chat content includes multiple target texts;

[0193] The user input unit 1507 is further configured to receive a tenth input to the fourth control;

[0194] The display unit 1506 is further configured to display a control list in the chat interface in response to the tenth input; wherein each control in the control list corresponds to one target text;

[0195] The user input unit 1507 is further configured to receive an eleventh input to a target control in the control list;

[0196] The processor 1510 is further configured to, in response to the eleventh input, associate the target text corresponding to the target control with map information.

[0197] The electronic device provided in an embodiment of the present application associates target text related to a geographic location in a chat with map information; receives a first input of the target text; and, in response to the first input, displays the map information within a chat interface. This allows users to conveniently access the geographic location mentioned in the chat within the chat interface without interrupting the chat and with high efficiency.

[0198] It should be understood that in an embodiment of the present application, the input unit 1504 may include a graphics processing unit (GPU) 15041 and a microphone 15042, and the graphics processor 15041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072. The touch panel 15071 is also called a touch screen. The touch panel 15071 may include two parts: a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0199] The memory 1509 can be used to store software programs and various data. The memory 1509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1509 may include volatile memory or non-volatile memory, or the memory 1509 may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 1509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0200] Processor 1510 may include one or more processing units. Optionally, processor 1510 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1510.

[0201] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned chat content processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0202] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0203] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned chat content processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0204] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0205] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned chat content processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0206] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0207] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0208] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A method for processing chat content, wherein: include: Associating target text in the chat content with map information, wherein the target text is related to the geographic location; receiving a first input of the target text; In response to the first input, the map information is displayed in a preset manner in the chat interface.

2. The method for processing chat content according to claim 1, wherein: The associating the target text in the chat content with the map information includes: In the case where the first user activates the first chat auxiliary function, identifying at least one target text related to the geographic location in the chat content, and associating the target text with the map information; the chat content is located in the chat interface between the first user and the second user; wherein the first chat auxiliary function includes: identifying the target text related to the geographic location in the chat content, and associating the identified target text with the map information; or, When the first user starts the first chat assistance function, a second input to the target text is received; in response to the second input, a first control is displayed; a third input to the first control is received; in response to the third input, a map interface is displayed; a fourth input to the map interface is received; in response to the fourth input, the map information is determined, and the target text is associated with the map information.

3. The method for processing chat content according to claim 1, wherein: After associating the target text in the chat content with the map information, the method further includes: When the first user enables the second chat assistance function, a first prompt message is displayed when the electronic device where the first user is located is at a preset distance from the geographical location corresponding to the target text.

4. The method for processing chat content according to claim 2, wherein: The method further comprises: Displaying a first function entrance in the chat interface; receiving a fifth input to the first functional entry; In response to the fifth input, displaying a first interface, wherein the first interface includes a second control; receiving a sixth input to the second control; In response to the sixth input, the first chat assistance function is activated.

5. The method for processing chat content according to claim 4, wherein: The first interface also includes a second function entrance; The method further comprises: receiving a seventh input to the second functional entry; In response to the seventh input, a second interface is displayed, wherein the second interface includes the map information associated with the map information. List of target texts.

6. The method for processing chat content according to claim 5, wherein: The second interface includes at least one third function entry, each of the third function entry corresponds to one of the target texts in the target text list; The method further comprises: Receiving an eighth input to a target function entry; wherein the target function entry is one of at least one of the third function entries; In response to the eighth input, displaying a third interface, wherein the third interface includes a third control; receiving a ninth input to the third control; In response to the ninth input, a second chat assistance function is activated.

7. The method for processing chat content according to claim 1, wherein: The associating the target text in the chat content with the map information includes: When the chat content includes a plurality of target texts, displaying a fourth control; receiving a tenth input to the fourth control; In response to the tenth input, displaying a control list in the chat interface; wherein each control in the control list corresponds to one target text; receiving an eleventh input to a target control in the control list; In response to the eleventh input, the target text corresponding to the target control is associated with map information.

8. A device for processing chat content, wherein: include: A first processing module, used to associate a target text in the chat content with map information, wherein the target text is related to a geographic location; A first receiving module, used for receiving a first input of the target text; The first response module is used to display the map information in a preset manner in the chat interface in response to the first input.

9. The chat content processing device according to claim 8, wherein: The first processing module comprises: The first processing submodule is used to identify at least one target text related to the geographic location in the chat content and associate the target text with the map information when the first user starts the first chat auxiliary function; the chat content is located in the chat interface between the first user and the second user; wherein the first chat auxiliary function includes: automatically identifying the target text related to the geographic location in the chat content, and associating the identified target text with the map information; or, The second processing submodule is used for receiving the target when the first user starts the first chat auxiliary function. receiving a second input of a target text; displaying a first control in response to the second input; receiving a third input of the first control; displaying a map interface in response to the third input; receiving a fourth input of the map interface; determining the map information in response to the fourth input, and associating the target text with the map information.

10. The chat content processing device according to claim 8, wherein: The device also includes: The first display module is used to display a first prompt message when the first user enables the second chat assistance function and the electronic device where the first user is located is at a preset distance from the geographical location corresponding to the target text.

11. The chat content processing device according to claim 9, wherein: The device also includes: A second display module, used to display a first function entrance in the chat interface; A second receiving module, configured to receive a fifth input to the first function entry; A second response module, configured to display a first interface in response to the fifth input, wherein the first interface includes a second control; A third receiving module, configured to receive a sixth input to the second control; A third response module is used to start the first chat assistance function in response to the sixth input.

12. The chat content processing device according to claim 11, wherein: The first interface also includes a second function entrance; The device also includes: a fourth receiving module, configured to receive a seventh input to the second function entry; The fourth response module is used to display a second interface in response to the seventh input, wherein the second interface includes a target text list associated with the map information.

13. The chat content processing device according to claim 12, wherein: The second interface includes at least one third function entry, each of the third function entry corresponds to one of the target texts in the target text list; The device also includes: a fifth receiving module, configured to receive an eighth input of a target function entry; wherein the target function entry is one of at least one of the third function entries; a fifth response module, configured to display a third interface in response to the eighth input, wherein the third interface includes a third control; A sixth receiving module, configured to receive a ninth input to the third control; The sixth response module is used to start the second chat assistance function in response to the ninth input.

14. The chat content processing device according to claim 8, wherein: The first processing module comprises: A third processing submodule, configured to display a fourth control when the chat content includes a plurality of target texts; a fourth processing submodule, configured to receive a tenth input to the fourth control; a fifth processing submodule, configured to display a control list in the chat interface in response to the tenth input; wherein each control in the control list corresponds to one target text; A sixth processing submodule, configured to receive an eleventh input to a target control in the control list; The seventh processing submodule is used to associate the target text corresponding to the target control with map information in response to the eleventh input.

15. An electronic device, wherein: It includes a processor and a memory, the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for processing chat content as described in any one of claims 1-7 are implemented.

16. A readable storage medium, wherein: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the method for processing chat content as described in any one of claims 1-7 are implemented.

17. A chip, wherein: The chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method for processing chat content as described in any one of claims 1-7.

18. A computer program product, wherein: The program product is stored in a non-transitory storage medium, and the program product is executed by at least one processor to implement the steps of the method for processing chat content according to any one of claims 1 to 7.

19. An electronic device, wherein: The electronic device is configured to execute the steps of the method for processing chat content as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Positioning result display method and device as well as electronic equipment

    CN106993085A

  • Text processing method and electronic equipment

    CN111124709A

  • Chat content processing method and device and electronic equipment

    CN112818094A

  • Chat content processing method and device

    CN117193916A

  • Method and apparatus for presenting geographical location

    US20160294958A1