Data processing method and device, computer storage medium and computer program product
By receiving voice input data in the instant communication tool for text conversion and target object recognition, and automatically performing session marking processing, the complexity of session message reminder is solved and the user experience is improved.
Patent Information
- Application Number
- CN202411148124.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-19
AI Technical Summary
In the conversation scenario of the instant messaging tool, when sending messages through voice to text, reminding the specified members to view messages is too complicated and the user experience is poor.
Receive user's voice input data through the session window, perform text conversion and preset object recognition, determine the target object with session capabilities, and then perform session marking processing on the target object's text data, automatically reminding the target object to view the converted text data .
It simplifies user operations, and users can easily send text messages through voice, automatically reminding target objects with conversational capabilities to view messages, without manually performing cumbersome reminder operations, improving user experience.
Smart Images

Figure CN118982005A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a data processing method, device, computer storage medium, and computer program product. Background Art
[0002] In the context of an instant messaging tool conversation, in order to facilitate user operations and improve user experience, the relevant technology provides a voice-to-text function, by which a user can quickly send a text message to a conversation window by voice.
[0003] However, when participating in a conversation in the above manner, if one wants to remind a designated member to check the sent conversation message in the conversation window, the current operation method is relatively complicated. Summary of the invention
[0004] In view of this, an embodiment of the present application provides a data processing solution to at least partially solve the above-mentioned problem.
[0005] According to a first aspect of an embodiment of the present application, a data processing method is provided, the method comprising:
[0006] Receiving user's voice input data through the conversation window, and converting the voice input data into text;
[0007] Performing preset object recognition on the successfully converted text data to determine a target object in the text data, wherein the preset object is a target object with conversation capability;
[0008] The text data corresponding to the target object is processed with a session mark, so as to remind the target object to check the text data converted from the voice input data through the session mark.
[0009] According to the second aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method described in the first aspect.
[0010] According to a third aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in the first aspect is implemented.
[0011] According to the data processing scheme provided by the embodiment of the present application, after receiving the voice input data input by the user through the conversation window, the voice input data is converted into text, and the successfully converted text data is subjected to a preset object recognition operation, thereby determining the target object with conversation capability contained in the text data; and then the text data corresponding to the identified target object is subjected to a conversation tag processing, and the target object is reminded to view the text data after the text conversion through the preset conversation tag. Through the embodiment of the present application, the user can conveniently send a text-based conversation message to the conversation window by voice, and when the conversation message involves a target object with conversation capability, the user does not need to manually perform a cumbersome conversation object reminder operation, but automatically performs a conversation tag processing, and achieves the purpose of reminding the target object to promptly view the text conversation message sent by voice based on the conversation tag. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0013] Figure 1 A schematic diagram of an exemplary system for a data processing method according to an embodiment of the present application;
[0014] Figure 2 A flowchart of a data processing method according to Embodiment 1 of the present application;
[0015] Figure 3 A schematic diagram of a scenario for receiving user voice input data;
[0016] Figure 4 This is a schematic diagram of a scenario corresponding to the first embodiment of the present application;
[0017] Figure 5 is a structural block diagram of a data processing device according to Embodiment 2 of the present application;
[0018] Figure 6 This is a schematic diagram of the structure of an electronic device according to the third embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.
[0020] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.
[0021] See also Figure 1 , Figure 1 This is a schematic diagram of an exemplary system for the data processing method of the embodiment of the present application. For ease of understanding, first combine Figure 1 The application scenario of the data processing method provided in Example 1 of the present application is explained.
[0022] like Figure 1 As shown, the system 100 may include a server 102, a communication network 104 and / or one or more user devices (ie, client devices) 106. Figure 1 The example in FIG. 1 is a plurality of user devices.
[0023] The server 102 may be any suitable device for processing session data, including but not limited to a distributed storage system device, a server cluster, a computing cloud server cluster, etc. In some embodiments, the server 102 may perform any suitable function. For example, in some embodiments, the server 102 may be used to receive session data sent by a user device 106, and forward the received session data to another user device 106 in the same session.
[0024] In some embodiments, the communication network 104 can be any suitable combination of one or more wired and / or wireless networks. For example, the communication network 104 can include any one or more of the following: the Internet, an intranet, a wide area network (WAN), a local area network (LAN), a wireless network, a digital subscriber line (DSL) network, a frame relay network, an asynchronous transfer mode (ATM) network, a virtual private network (VPN) and / or any other suitable communication network. The user device 106 can be connected to the communication network 104 via one or more communication links (e.g., communication link 112), and the communication network 104 can be linked to the service end 102 via one or more communication links (e.g., communication link 114). The communication link can be any communication link suitable for transmitting data between the user device 106 and the service end 102, such as a network link, a dial-up link, a wireless link, a hard-wired link, any other suitable communication link or any suitable combination of such links.
[0025] User equipment 106 may include any one or more user equipment suitable for providing session services. In some embodiments, user equipment 106 may include any suitable type of equipment. For example, in some embodiments, user equipment 106 may include a mobile phone, a tablet computer, and / or any other suitable type of user equipment.
[0026] Based on the above system, an embodiment of the present application provides a data processing method, which is described below through multiple embodiments.
[0027] Embodiment 1
[0028] Reference Figure 2 , Figure 2 The following is a flowchart of a data processing method according to the first embodiment of the present application. The present application embodiment provides a data processing method, which can be Figure 1 The user device 106 (ie, the client device) in the system shown in the figure executes. Specifically, the data processing method provided in this embodiment includes the following steps:
[0029] Step 202: receiving the user's voice input data through the conversation window, and converting the voice input data into text.
[0030] Specifically, in the case of instant messaging software, a conversation window component can usually be provided in the user interface to enable message exchange between users or user groups through the window. In the embodiment of the present application, the user can input input data in the form of voice in the conversation window. For example: Figure 3 As shown, in the group conversation window containing multiple conversation objects, a "Press and Speak" sub-control is displayed. When the conversation object wants to send a conversation message in the group conversation, he can click the above "Press and Speak" sub-control. After that, the device will collect audio and use the collected audio data as the voice input data received in this step. It should be noted that Figure 3 A specific method for receiving voice input data is shown in the figure, which does not constitute a limitation on the method for receiving voice input data in the embodiment of the present application. The specific receiving method can be customized according to actual conditions.
[0031] After receiving the user's voice input data, the voice input data can be converted into text to obtain text data. In the embodiment of the present application, there is no limitation on the specific conversion method used for text conversion, and a suitable conversion method can be selected according to the actual situation, for example, a rule-based speech recognition method, a hidden Markov model, a deep neural network model, etc. can be used.
[0032] Step 204 , performing preset object recognition on the successfully converted text data to determine a target object in the text data, wherein the preset object is a target object with conversation capability.
[0033] Specifically, after the voice input data is converted into text data, the obtained text data is subjected to a preset object recognition process in this step to recognize a target object with conversation capability from the obtained text data.
[0034] The target object in the embodiment of the present application may be any object with conversation capability, for example, it may be an object involved in the current conversation window, that is, an object participating in the current conversation; or it may be an object not participating in the current conversation window but in the contact list corresponding to the instant messaging application where the current conversation window is located.
[0035] As a feasible recognition method, the identification information of the target object with conversation capability can be obtained, and then based on the obtained identification information, named entity recognition is performed on the converted text data, so as to obtain the target object contained in the text data. For example, the three conversation objects involved in the current conversation window have identification information of: conversation object 1, conversation object 2, and conversation object 3, respectively. Then, based on the above three identification information, named entity recognition can be performed on the text data obtained in step 202, so as to obtain the target object contained in the current text data.
[0036] In the embodiments of the present application, there is no limitation on the specific recognition algorithm used when identifying preset objects. For example, a traditional fuzzy recognition algorithm may be used, such as a rule-based method and an unsupervised learning method, etc.; a more accurate machine learning algorithm may also be used, such as the BERT algorithm, a Transformer-based model algorithm, etc.
[0037] Step 206: Perform session marking processing on the text data corresponding to the target object, so as to remind the target object to check the text data converted from the voice input data through the session marking.
[0038] Specifically, performing session tag processing on the text data corresponding to the target object can be understood as adding a preset session tag to the text data corresponding to the target object in a preset manner. The effect of performing the above processing is that when the text data containing the session tag is sent to the session window, the target object with conversation capability can be reminded to view the text data based on the session tag.
[0039] In the embodiment of the present application, the specific form and content of the session marker are not limited and can be customized according to actual conditions. For example, one or several special characters (for example, the character "@") can be set as session markers in advance, or a special icon can be set as a session marker, etc.
[0040] The data processing method provided in the embodiment of the present application, after receiving the voice input data input by the user through the conversation window, performs text conversion on the voice input data, and performs a preset object recognition operation on the successfully converted text data, thereby determining the target object with conversation capability contained in the text data; and then performs conversation marking processing on the text data corresponding to the identified target object, and reminds the target object to view the text data after text conversion through the preset conversation mark.
[0041] Through the embodiments of the present application, a user can conveniently send a conversation message in text form to a conversation window by voice, and when the conversation message involves a target object with conversation capabilities, the user does not need to manually perform tedious conversation object reminder operations, but automatically performs conversation marking processing, and achieves the purpose of reminding the target object to check the text conversation message sent by voice in a timely manner based on the conversation mark.
[0042] Optionally, in some of the embodiments, the process of performing session marking processing on the text data corresponding to the target object to remind the target object to view the text data converted from the voice input data through the session marking may include:
[0043] The text data corresponding to the target object is converted into a conversation tag for the target object, so as to remind the target object in the conversation window to view the text data converted from the voice input data through the conversation tag.
[0044] Specifically, for example, in a group conversation scenario, for data input by a certain conversation object through voice, if the text data after text conversion obtained through step 202 is "Our company will officially launch the annual energy conservation and emission reduction publicity campaign tomorrow, and Zhang San will be the planning person in charge of this activity.", for the above text data, through step 204, it is identified that the conversation object Zhang San in the group conversation is included in the text data, then the text character "Zhang San" in the above text data can be converted into a conversation tag for Zhang San (exemplarily, the character "@" is used as the conversation tag), and the converted text data becomes "Our company will officially launch the annual energy conservation and emission reduction publicity campaign tomorrow, and @Zhang San will be the planning person in charge of this activity.", and then, if the converted text data is sent to the group conversation, Zhang San in the group conversation can be reminded to check the text data based on the conversation tag "@".
[0045] In the above embodiment of the present application, the text data is converted into a session tag for the target object, so that the target object located in the same session window as the sender of the text data is reminded to view the text data through the session tag obtained by the conversion, thereby conveniently and quickly realizing the reminder of the session object in the same session window, and effectively improving the user's session experience.
[0046] Optionally, in some other embodiments, the process of performing session marking processing on the text data corresponding to the target object to remind the target object to view the text data converted from the voice input data through the session marking may also include:
[0047] A session mark is added to the text data corresponding to the target object, so as to remind the target object in the instant messaging application where the session window is located to view the text data converted from the voice input data through the session mark.
[0048] Specifically, taking the above-mentioned group conversation scenario, the text data after text conversion is "The company will officially launch the annual energy conservation and emission reduction publicity campaign tomorrow, and Zhang San is the planning person in charge of this event." As an example, according to the above-mentioned embodiments of the present application, a preset session mark (such as a lightning icon or other specific icons) can be added to a certain position of the text data (such as: the text header, the text tail, the top or bottom of the text data, etc.). Afterwards, if the above-mentioned converted text data is sent to the group conversation, Zhang San in the instant communication application can be reminded in time to view the text data based on the session mark. For example, an independent session window with the target object (Zhang San) can be constructed separately, and an independent reminder message containing the text data can be sent to the target object through the session window to remind the target object to view the text data.
[0049] In the above embodiment, a session tag for the target object is added to the text data, so that the target object in the instant messaging application where the session window is located is reminded to view the text data through the added session tag, thereby conveniently and quickly realizing the reminder of the target object in the same instant messaging application (the target object may not be in the session window involved in step 204), further effectively improving the user's session experience.
[0050] Optionally, in some of the embodiments, performing session tagging processing on text data corresponding to the target object includes:
[0051] Detecting the user's preset reminder confirmation operation;
[0052] In response to detecting a preset reminder confirmation operation, session marking processing is performed on text data corresponding to the target object.
[0053] Specifically, in the above-mentioned embodiment of the present application, before automatically implementing the session marking processing operation on the text data, the user's reminder confirmation operation is first detected, and when the preset reminder confirmation operation is detected, the session marking processing operation is executed; on the contrary, if the above-mentioned reminder confirmation operation is not detected within the preset time period, or when the user's preset text sending confirmation operation is detected, the subsequent session marking processing is no longer executed, but the text data obtained by text conversion is sent to the session window.
[0054] In the embodiment of the present application, the specific content of the preset reminder confirmation operation is not limited, and can be customized according to actual conditions. For example, it can be a single click operation, double click operation, long press operation, etc. of a physical button of the user device executing the embodiment of the present application.
[0055] Furthermore, in order to better prompt the user, after the successfully converted text data is obtained, the text data can also be displayed, wherein the target object identified in the text data is highlighted (such as by underlining, highlighting, etc.), and at the same time, a session mark processing reminder control is displayed at a preset position in the session window (such as near the highlighted target object), and when the user's preset operation on the control is detected, the subsequent session mark processing operation is executed.
[0056] In the above embodiment of the present application, the subsequent session mark processing operation is performed according to the user's reminder confirmation operation, thereby achieving the effect of reminding the target object. In other words, in the embodiment of the present application, the subsequent operation is automatically performed to achieve the effect of reminding the target object only when the user gives clear instructions. Therefore, the phenomenon of false reminders that violate the user's wishes can be effectively avoided. In summary, the embodiment of the present application can effectively improve the user experience.
[0057] Optionally, in some of the embodiments, the process of performing preset object recognition on the successfully converted text data to determine the target object in the text data may include:
[0058] During the text conversion process, the successfully converted text data is subjected to preset object recognition to determine the target object in the text data.
[0059] Specifically, in the above-mentioned embodiment of the present application, during the text conversion process, a preset object recognition operation is performed in parallel to determine the target object therein, thereby effectively utilizing computing resources and improving the overall processing efficiency.
[0060] Optionally, in some other embodiments, the process of performing preset object recognition on the successfully converted text data to determine the target object in the text data may also include:
[0061] After the text conversion is completed, the successfully converted text data is subjected to preset object recognition to determine the target object in the text data.
[0062] Specifically, the above process performs the preset object recognition operation after the complete text conversion operation, that is, the text conversion operation and the preset object recognition operation are connected in series. For the voice input data input by the user, in order to improve the accuracy of the text conversion, as the text conversion operation proceeds, the text data converted in the early stage may be continuously corrected based on the newly converted text data. In other words, before the text conversion operation is completed, the converted text data may be dynamically adjusted because it cannot accurately correspond to the voice input data. Therefore, in the above embodiment of the present application, after the text conversion operation is completed and relatively accurate text data is obtained, the preset object recognition operation is performed, which can effectively improve the accuracy of the recognition result, and then improve the accuracy of the subsequent reminder operation.
[0063] Optionally, in some of the embodiments, the data processing method further includes:
[0064] Receiving text input data from a user, where the text input data includes a session tag for a target object;
[0065] In response to detecting a preset conversion confirmation operation of the user, the session mark contained in the text input data is converted into an identifier of the target object to obtain plain text data, and the plain text data is sent in the session window.
[0066] Specifically, in some scenarios, the user may input text input data containing a session tag through cumbersome manual operations, but before the data is sent to the session window, the user may change his mind and no longer want to remind the target object targeted by the session tag. For the above scenario, the traditional approach is: the user manually deletes the above session tag and replaces the tag with the identification information of the target object. However, the above approach requires the user to perform cumbersome operations, so the user experience is poor.
[0067] In the above embodiment of the present application, in addition to receiving the voice input data input by the user and converting it into text, and automatically realizing the reminder of the target object involved therein, in the above embodiment of the present application, when receiving the text input data input by the user containing the session mark, the session mark contained in the text input data can be automatically converted into the target object identifier in the form of plain text without the user performing cumbersome text conversion operations, so as to send the converted plain text data to the conversation window. Compared with the traditional method, the above embodiment of the present application can further improve the user experience.
[0068] Optionally, in some of the embodiments, the process of performing preset object recognition on the successfully converted text data to determine the target object in the text data may include:
[0069] Get the nickname information of the preset object;
[0070] Calculate the similarity between the successfully converted text data and each nickname information, determine the target character string in the text data, and the target object corresponding to the target character string, and the similarity between the target character string and the nickname information of the target object is greater than a preset similarity threshold;
[0071] Performing session tagging processing on the text data corresponding to the target object, so as to remind the target object to view the text data converted from the voice input data through the session tag, including:
[0072] The target character string in the text data is processed with a conversation tag, so as to remind the target object to view the text data converted from the voice input data through the conversation tag.
[0073] Specifically, due to different communication habits of users, in certain conversation scenarios, some users may not use the formal nickname of the preset object for conversational communication, but instead use other words that are closer to the above nickname to replace the above formal nickname.
[0074] In order to provide users with an automated conversation object reminder service in the above conversation scenario, in the above embodiment of the present application, when the preset object is recognized in the text data, the nickname of the preset object is similar to the character string in the text data. When the similarity is high, it is confirmed that the text data contains the target object, and the target object is reminded to view the text data by means of a conversation tag. In the above embodiment of the present application, when the preset object is recognized, a fault tolerance threshold (that is, the above similarity threshold) is set, so that when the text data is identified to contain a character string with a high degree of similarity to the nickname information, the automatic message reminder function for the preset object is triggered, which can further enhance the user's conversation experience.
[0075] For example, the nickname of a preset object is ABC. During the conversation, the user may use words such as "BC", "CC", "Little C", "Ah C" to replace the nickname "ABC". In this case, through the above embodiment of the present application, the words "BC", "CC", "Little C", "Ah C" and so on can be quickly identified from the text data, and it is determined that the above words all correspond to the target object with the nickname "ABC". After that, the target object with the nickname "ABC" can be reminded through the conversation mark to check the text data sent by the user.
[0076] In the embodiment of the present application, there is no limitation on the specific calculation method used in similarity calculation and the specific value of the preset similarity threshold, which can be customized according to actual conditions.
[0077] Optionally, in some of the embodiments, the nickname information of the preset object includes: a standard nickname, and a corresponding non-standard nickname;
[0078] Performing session tag processing on the target character string in the text data, so as to remind the target object to view the text data converted from the voice input data through the session tag, including:
[0079] The target character string in the text data is converted into a standard nickname of the target object, and a session tag is added to the converted standard nickname, so as to remind the target object to view the text data converted from the voice input data through the session tag.
[0080] Specifically, the standard nickname of the preset object may be the nickname of the preset object noted in the conversation window, and the non-standard nickname may be other nicknames commonly used by the preset object except the noted nickname.
[0081] In the conversation window, the preset objects with conversation capabilities usually correspond one to one with the standard nicknames annotated therein. That is to say, to accurately implement the message reminder function for a preset object in the conversation window, the standard nickname of the preset object annotated in the conversation window should usually be reflected in the text data. Therefore, in the above-mentioned embodiment of the present application, in order to accurately remind the target object, after determining the target string from the text data, the target string can be converted into the standard nickname of the target object, and then the reminder function of the target object can be accurately implemented by adding a conversation mark to the standard nickname.
[0082] In the embodiment of the present application, there is no limitation on the method for obtaining the non-standard nickname of the preset object, and any suitable method may be used. For example, a human-computer interaction interface may be provided to the user, so that the non-standard nickname may be obtained through user input, or the non-standard nickname of the preset object may be obtained by analyzing historical session data, and so on.
[0083] As for the method of obtaining non-standard nicknames by analyzing historical session data:
[0084] Optionally, in some of the embodiments, the process of obtaining the non-standard nickname of the preset object may include:
[0085] Get historical session data;
[0086] If the number of replies from the preset object to the conversation message containing the preset character string is greater than a preset first number threshold, the preset character string is determined as a non-standard nickname of the preset object.
[0087] Specifically, after obtaining the historical conversation data, conversation messages containing a certain string can be screened out. Furthermore, the number of replies of each preset object in the conversation window to the above conversation message can be counted; if a preset object replies to the above conversation message a large number of times, it indicates that there is a high possibility that the preset object is associated with the above string. Therefore, the above string contained in the above conversation message can be determined as a non-standard nickname of the preset object.
[0088] Optionally, in some other embodiments, the process of obtaining the non-standard nickname of the preset object includes:
[0089] Get historical session data;
[0090] For a conversation message containing a preset string, if based on the user's preset reminder confirmation operation, it is determined that the number of times the preset object is reminded to view the conversation message through the conversation mark is greater than a preset second number threshold, the preset string is determined as a non-standard nickname of the preset object.
[0091] Specifically, as another feasible method, after filtering out the conversation messages containing a certain string, the number of times the user manually reminds the preset object to view the above conversation messages can also be counted; if the number is large, it also indicates that there is a high possibility that there is a correlation between the preset object and the above string. Therefore, the above string contained in the above conversation message can also be determined as the non-standard nickname of the preset object.
[0092] The above process of obtaining the non-standard nickname of the preset object does not require the user to manually perform information input operations, but is automatically obtained based on intelligent analysis of historical session data. Therefore, a relatively accurate non-standard nickname can be obtained without the user's perception, further improving the user experience.
[0093] See also Figure 4 , Figure 4 This is a schematic diagram of the scene corresponding to the first embodiment of the present application. Figure 3 The data processing process of the above-mentioned embodiment 1 of the present application is explained as follows:
[0094] See also Figure 4A and B in the example, assuming that in a work group conversation scenario of a company, user Wang Wu clicks the "Press and Talk" control in the conversation window and starts to speak, and the user device collects audio; then, the collected audio data is subjected to text recognition to obtain the text data "The company will officially launch the annual energy conservation and emission reduction publicity campaign tomorrow, and Zhang San is the planning person in charge of this campaign"; the above text data is subjected to preset object recognition to determine that the text data contains the target object "Zhang San" with conversation capability, and then the above text data is displayed in the conversation window, where "Zhang San" is displayed to the user in an underlined manner (see Figure 4 C in the figure), and at the same time, a session tag processing reminder control is also displayed below the text "Zhang San" displayed in the underlined manner (see the "Convert text to @" control in D); when it is detected that the user clicks the above session tag processing reminder control, the session tag processing operation is performed, see E, and the processed text data is presented as "The company will officially launch the annual energy conservation and emission reduction publicity campaign tomorrow, and @Zhang San will serve as the planning person in charge of this activity"; in addition, a plain text conversion reminder control can also be displayed in the window (see the "Convert @ to text" control in E), through which the user can easily restore "@Zhang San" to the plain text character "Zhang San" to avoid reminding Zhang San; if the user does not click the above plain text conversion reminder control, but clicks the "√" confirmation control, then the "The company will officially launch the annual energy conservation and emission reduction publicity campaign tomorrow, and @Zhang San will serve as the planning person in charge of this activity" containing the session tag @ can be sent to the company's work group (see Figure 4 F), at the same time, the conversation mark "@" is used to remind Zhang San in the same work group to check the above text data sent by Wang Wu.
[0095] Embodiment 2
[0096] See also Figure 5 , Figure 5 1 is a structural block diagram of a data processing device according to Embodiment 2 of the present application. The data processing device provided in the embodiment of the present application includes:
[0097] The voice conversion module 502 is used to receive the user's voice input data through the conversation window and convert the voice input data into text;
[0098] The recognition module 504 is used to perform preset object recognition on the successfully converted text data to determine the target object in the text data, wherein the preset object is a target object with conversation ability;
[0099] The session mark processing module 506 is used to perform session mark processing on the text data corresponding to the target object, so as to remind the target object to check the text data converted from the voice input data through the session mark.
[0100] Optionally, in some embodiments, the session tag processing module 506 is specifically configured to:
[0101] The text data corresponding to the target object is converted into a conversation tag for the target object, so as to remind the target object in the conversation window to view the text data converted from the voice input data through the conversation tag.
[0102] Optionally, in some embodiments, the session tag processing module 506 is specifically configured to:
[0103] A session mark is added to the text data corresponding to the target object, so as to remind the target object in the instant messaging application where the session window is located to view the text data converted from the voice input data through the session mark.
[0104] Optionally, in some embodiments, the session tag processing module 506, when executing the step of performing session tag processing on the text data corresponding to the target object, is specifically configured to:
[0105] Detecting the user's preset reminder confirmation operation;
[0106] In response to detecting a preset reminder confirmation operation, session marking processing is performed on text data corresponding to the target object.
[0107] Optionally, in some embodiments, the identification module 504 is specifically configured to:
[0108] During the text conversion process, the successfully converted text data is subjected to preset object recognition to determine the target object in the text data.
[0109] Optionally, in some embodiments, the identification module 504 is specifically configured to:
[0110] After the text conversion is completed, the successfully converted text data is subjected to preset object recognition to determine the target object in the text data.
[0111] Optionally, in some of the embodiments, the data processing module further includes:
[0112] A text data processing module, used for receiving text input data from a user, wherein the text input data includes a session tag for a target object;
[0113] In response to detecting a preset conversion confirmation operation of the user, the session mark contained in the text input data is converted into an identifier of the target object to obtain plain text data, and the plain text data is sent in the session window.
[0114] The data processing device of this embodiment is used to implement the corresponding data processing device method in the above-mentioned embodiment 1, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here. In addition, the functional implementation of each module in the data processing device of this embodiment can refer to the description of the corresponding part in the above-mentioned method embodiment 1, which will not be repeated here.
[0115] Embodiment 3
[0116] Reference Figure 6 , shows a schematic diagram of the structure of an electronic device according to the third embodiment of the present application. The specific embodiment of the present application does not limit the specific implementation of the electronic device.
[0117] like Figure 6 As shown, the electronic device may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0118] in:
[0119] The processor 602 , the communication interface 604 , and the memory 606 communicate with each other via a communication bus 608 .
[0120] The communication interface 604 is used to communicate with other electronic devices or servers.
[0121] The processor 602 is used to execute the program 610, and specifically can execute the relevant steps in the above method embodiment.
[0122] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0123] The processor 602 may be a CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0124] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0125] The program 610 may include multiple computer instructions. Specifically, the program 610 may enable the processor 602 to execute operations corresponding to the method described in any of the aforementioned method embodiments through the multiple computer instructions.
[0126] The specific implementation of each step in program 610 can refer to the corresponding description of the corresponding steps and units in the above method embodiment, and has corresponding beneficial effects, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above method embodiment, which will not be repeated here.
[0127] The present application also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the method described in any of the above-mentioned multiple method embodiments is implemented. The computer storage medium includes but is not limited to: a compact disk (CD-ROM), a random access memory (RAM), a floppy disk, a hard disk or a magneto-optical disk, etc.
[0128] An embodiment of the present application also provides a computer program product, including computer instructions, which instruct a computing device to execute operations corresponding to any one of the above-mentioned multiple method embodiments.
[0129] In addition, it should be noted that the user-related information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to sample data used to train the model, data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0130] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0131] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor or programmable or dedicated hardware (such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA)). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (for example, a random access memory (RAM), a read-only memory (ROM), a flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the method described herein is implemented. In addition, when a general purpose computer accesses code for implementing the methods shown herein, the execution of the code transforms the general purpose computer into a special purpose computer for executing the methods shown herein.
[0132] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
[0133] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.
Claims
1. A data processing method, the method comprising: Receiving user's voice input data through the conversation window, and converting the voice input data into text; Performing preset object recognition on the successfully converted text data to determine a target object in the text data, wherein the preset object is a target object with conversation capability; The text data corresponding to the target object is processed with a session mark, so as to remind the target object to check the text data converted from the voice input data through the session mark.
2. The method according to claim 1, wherein: The performing session marking processing on the text data corresponding to the target object so as to remind the target object to view the text data converted from the voice input data through the session marking includes: The text data corresponding to the target object is converted into a session tag for the target object, so as to remind the target object in the session window to view the text data converted from the voice input data through the session tag.
3. The method according to claim 1, wherein: The performing session marking processing on the text data corresponding to the target object so as to remind the target object to view the text data converted from the voice input data through the session marking includes: A session mark is added to the text data corresponding to the target object, so as to remind the target object in the instant messaging application where the session window is located to view the text data converted from the voice input data through the session mark.
4. The method according to claim 1, wherein: The performing session marking processing on the text data corresponding to the target object includes: Detecting the user's preset reminder confirmation operation; In response to detecting the preset reminder confirmation operation, session marking processing is performed on the text data corresponding to the target object.
5. The method according to any one of claims 1 to 4, wherein: The performing preset object recognition on the successfully converted text data to determine the target object in the text data includes: During the text conversion process, preset object recognition is performed on the successfully converted text data to determine the target object in the text data.
6. The method according to any one of claims 1 to 4, wherein: The performing preset object recognition on the successfully converted text data to determine the target object in the text data includes: After the text conversion is completed, preset object recognition is performed on the successfully converted text data to determine the target object in the text data.
7. The method according to any one of claims 1 to 4, wherein: The method further comprises: Receiving text input data from a user, wherein the text input data includes a session tag for a target object; In response to detecting a preset conversion confirmation operation of the user, the session mark contained in the text input data is converted into an identifier of the target object to obtain plain text data, and the plain text data is sent in the session window.
8. The method according to any one of claims 1 to 4, wherein: The performing preset object recognition on the successfully converted text data to determine the target object in the text data includes: Get the nickname information of the preset object; Calculating similarity between the successfully converted text data and each nickname information, determining a target character string in the text data, and a target object corresponding to the target character string, wherein the similarity between the target character string and the nickname information of the target object is greater than a preset similarity threshold; The performing session marking processing on the text data corresponding to the target object so as to remind the target object to view the text data converted from the voice input data through the session marking includes: A session mark process is performed on the target character string in the text data, so as to remind the target object to check the text data converted from the voice input data through the session mark.
9. The method according to claim 8, wherein: The nickname information of the preset object includes: a standard nickname and a corresponding non-standard nickname; The performing session marking processing on the target character string in the text data to remind the target object to view the text data converted from the voice input data through the session marking includes: The target character string in the text data is converted into a standard nickname of the target object, and a session mark is added to the converted standard nickname, so as to remind the target object to view the text data converted from the voice input data through the session mark.
10. The method according to claim 9, wherein: The process of obtaining the non-standard nickname of the preset object includes: Get historical session data; If the number of replies from the preset object to the conversation message containing the preset character string is greater than a preset first number threshold, the preset character string is determined as a non-standard nickname of the preset object.
11. The method according to claim 9, wherein: The process of obtaining the non-standard nickname of the preset object includes: Get historical session data; For a conversation message containing a preset string, if, based on the user's preset reminder confirmation operation, it is determined that the number of times the preset object is reminded to view the conversation message through the conversation mark is greater than a preset second number threshold, the preset string is determined as a non-standard nickname of the preset object.
12. An electronic device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the method according to any one of claims 1-11.
13. A computer storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
14. A computer program product, comprising computer instructions, wherein the computer instructions instruct a computing device to execute operations corresponding to the method according to any one of claims 1 to 11.
