WO2022213943A1 - Message sending method, message sending apparatus, electronic device, and storage medium - Google Patents
Message sending method, message sending apparatus, electronic device, and storage medium Download PDFInfo
- Publication number
- WO2022213943A1 WO2022213943A1 PCT/CN2022/085136 CN2022085136W WO2022213943A1 WO 2022213943 A1 WO2022213943 A1 WO 2022213943A1 CN 2022085136 W CN2022085136 W CN 2022085136W WO 2022213943 A1 WO2022213943 A1 WO 2022213943A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- target
- voice
- historical
- type
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000004891 communication Methods 0.000 claims abstract description 85
- 230000004044 response Effects 0.000 claims abstract description 8
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 238000002716 delivery method Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 238000007599 discharging Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/216—Handling conversation history, e.g. grouping of messages in sessions or threads
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/226—Delivery according to priorities
Definitions
- the present application belongs to the field of communication technologies, and specifically relates to a message sending method, a message sending apparatus, an electronic device and a storage medium.
- the user can select historical messages or forward chat messages with other objects.
- the purpose of the embodiments of the present application is to provide a message sending method, a message generating device, an electronic device and a storage medium.
- the target message can be processed according to the communication record stored in the electronic device. Forwarding, and the type of the forwarded target message is associated with the type of the message in the communication record, so that after the user only needs to forward the target message, the type of the target message to be forwarded and the type of the message in the communication record can be guaranteed.
- the user does not need to perform other operations on the target message, which solves the problem that how to reduce the operation steps of the user on the original message when forwarding the message has become an urgent problem to be solved.
- an embodiment of the present application provides a method for sending a message, including:
- the type of the first message is associated with the type of the message included in the communication record, and the first message is a voice message or a text message.
- an embodiment of the present application provides an apparatus for sending a message, including: a receiving module, configured to receive a first input from a user to a target message, where the first input is a forwarding operation directed to the target object; a sending module, configured to respond to the first input of the target message; Upon input, send a first message corresponding to the target message to the target object according to the communication record between the user and the target object.
- an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor.
- the program or instruction is executed by the processor, the implementation of the first aspect provides The steps of the message sending method.
- the embodiments of the present application provide a readable storage medium on which programs or instructions are stored, and when the programs or instructions are executed by a processor, the steps of the message sending method provided in the first aspect are implemented.
- an embodiment of the present application provides a chip, where the provided chip includes a processor and a communication interface, the provided communication interface is coupled with the provided processor, and the provided processor is used to run a program or an instruction, and the implementation is as described in the first aspect. Provides the steps of the message sending method.
- the first input is a forwarding instruction
- the target object pointed to by the first input is determined.
- a communication record between the user and the target object is acquired, and the first message is converted into a corresponding message type according to the historical communication record between the user and the target object.
- the first message after the converted message type is forwarded to the target object to complete the forwarding of the target message to the target object. It realizes the automatic type conversion of the target message that the user needs to forward, without the need for the user to manually convert the type of the target message, and realizes that the user only needs to send the message forwarding instruction, and directly send the message associated with the communication record to the target object. , which reduces the operation steps for users when forwarding messages.
- FIG. 1 shows one of the flow charts of a message sending method according to an embodiment of the present application
- FIG. 2 shows one of the display interfaces of the electronic device according to an embodiment of the present application
- FIG. 3 shows the second display interface of the electronic device according to the embodiment of the present application
- FIG. 4 shows the second flowchart of the method for sending a message according to an embodiment of the present application
- FIG. 5 shows the third flowchart of the method for sending a message according to an embodiment of the present application
- FIG. 6 shows the fourth flowchart of the method for sending a message according to an embodiment of the present application
- FIG. 7 shows the third display interface of the electronic device according to the embodiment of the present application.
- FIG. 8 shows one of the structural block diagrams of a message sending apparatus according to an embodiment of the present application.
- FIG. 9 shows the second structural block diagram of a message sending apparatus according to an embodiment of the present application.
- FIG. 10 shows a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
- FIG. 1 shows one of the flowcharts of a message sending method according to an embodiment of the present application. Specifically, as shown in FIG. 1 , the message sending method specifically includes the following steps:
- Step 102 receiving the user's first input to the target message, where the first input is a forwarding operation pointing to the target object;
- the target message is the message to be forwarded
- the first input may be a forwarding input to the target message
- the first input may also be a screen capture input of an interface where the target message is located.
- the first input when the first input is a forwarding input to the target message, the first input further includes a selection input of the target object. For example, after receiving the forwarding input of the target message "Do you know where we are going?" from the user, a contact selection interface will be displayed. "The operation of forwarding the target message to Huawei (target object).
- the first input further includes a selection input of the target object.
- a selection input of the target object For example, after receiving the user's input of the target message "Do you know where we are going?" interface screenshot, a contact selection interface can be displayed, and the user can select the target object: Xiao Ming to realize the inclusion of "Do you know where we are going?" Where is the action of sending a screenshot of the target message to Xiao Ming (target).
- the target message is a voice message
- the first input is a screen shot input of the interface where the target message is located
- the target message can be converted into a text message first, and then the screen shot including the text message corresponding to the voice message is taken.
- the picture is sent to the target object.
- FIG. 2 and FIG. 3 in the case where the target message 21 is voice, a screen shot input of the interface 20 is received, and the screen shot picture shown in FIG. 3 will be generated, that is, the target message 21 will be The voice is converted into a text message and displayed below the position of the voice message, and the screenshot shown in Figure 3 is sent to the target object.
- the target message is voice and the first input is a screenshot input of the interface where the target message is located
- the text message is displayed near the target message, so that the target object can view the forwarding clearly and clearly target message. Avoid the problem that the target object lacks trust in the authenticity of the target message because the target object cannot receive the original target message data.
- Step 104 in response to the first input, according to the communication record between the user and the target object, send a first message corresponding to the target message to the target object;
- the type of the first message is associated with the type of the message included in the communication record, and the first message is a voice message or a text message.
- the communication record between the user and the target object is the historical communication record with the target object.
- the target message may be a voice message or a text message.
- the voice message can be forwarded to the target object in the form of voice according to the historical communication record with the target object, or it can be based on the historical communication record with the target object, Convert the voice message to text and forward the text to the target audience.
- the target message is a text message
- the text message can be forwarded to the target object in the form of text according to the historical communication record with the target object, or the text message can be forwarded to the target object according to the historical communication record with the target object.
- the message is converted into the corresponding voice and forwarded to the target object in the form of voice.
- the type of the first message is associated with the type of the message contained in the communication record, which means that the communication habits with different target objects can be determined according to the historical communication records with the target object, thereby choose the most appropriate message type to send a message to the target object. For example, if the target object is a parent, the historical communication records with the parent are mostly voice messages, then regardless of whether the target message is a voice message or a text message, if the forwarding object is a parent, the target message will be converted into voice and then forward the first message.
- the first input is a forwarding instruction
- the target object pointed to by the first input is determined.
- a communication record between the user and the target object is acquired, and the first message is converted into a corresponding message type according to the historical communication record between the user and the target object.
- the first message after the converted message type is forwarded to the target object to complete the forwarding of the target message to the target object. It realizes the automatic type conversion of the target message that the user needs to forward, without the need for the user to manually convert the type of the target message, and realizes that the user only needs to send the message forwarding instruction, and directly send the message associated with the communication record to the target object. , which reduces the operation steps for users when forwarding messages.
- the communication record between the user and the target object send the first message corresponding to the target information to the target object, specifically including:
- Step 202 obtain the parameters of the historical message in the communication record
- the selection rule of the historical message in the communication record is set according to the actual needs of the user. It can be selected to select the most recent historical message in the communication record, or it can be selected to select the historical message in the most recent period of time in the communication record.
- Step 204 determining the type of the first message according to the parameters of the historical message
- Step 206 sending a first message corresponding to the target message to the target object
- the parameters of the historical message include at least one of the following: message type of the historical message, number of messages corresponding to each type of historical message, time of the historical message, and the type of the first message includes voice and text.
- the message type of the historical message refers to which type each historical message belongs to, and the specific message type may be text message, voice message, picture message, link message and so on.
- the number of messages corresponding to each type of historical message refers to the number of the respective types of messages, such as the number of text messages and voice messages.
- the time of the historical message refers to the time when the message was received or sent.
- the historical messages in the communication record are read, and the parameters of all the historical messages in the communication record are determined.
- the type of the first message to be sent by the user to the target object can be determined according to parameters of all historical messages, and the target information is converted into the first message of this type, and then the first message is sent to the target object. It is also possible to obtain only some parameters of the historical messages to determine the type of the first message that the user needs to send to the target object. Exemplarily, all message parameters of all messages recorded with the target object may be acquired, or only message parameters of messages of the target object in the last week may be acquired. After determining the type of the first message, it is necessary to determine whether to perform type conversion on the target message. If the type of the target message is the same as the type of the first message, the target message is optionally directly forwarded to the target object as the first message. If the type of the target message is different from the type of the first message, the target message is converted by type to obtain the first message.
- the type of the target message is a voice type
- the type of the first message is determined to be a text type according to historical message parameters
- the target message is converted into a text type first message
- the first message is converted into a text type first message. Forward to the target object.
- the type of the target message is text, and it is determined according to historical message parameters that the type of the first message is also text, and the target message is taken as the first message and forwarded to the target object.
- the parameters of the historical message may further include a language type, and before sending the first message, the language type of the first message is converted according to the language type.
- the language type of the historical message is acquired, the target language type is determined according to the language type of the historical message, and before the first message is sent, the first message is translated according to the target language type to obtain the first message output in the target language.
- the automatic translation of the forwarded message is realized, and the user does not need to manually translate the message before sending it, which further improves the convenience for the user to forward the message.
- the target language type is English
- the first message in Chinese is translated into English, and the type of the first message is kept unchanged.
- the communication habit between the user and the target object can be obtained through the parameters of the historical message in the communication record, and the type of the first message can be determined according to the obtained communication habit, and the type of the first message to be sent can be guaranteed.
- the target message is automatically converted into the first message of this type and sent, without the need for the user to perform other operations such as manual conversion of the message type. It is ensured that the forwarded message conforms to the communication habits between the user and the target object.
- the type of the first message is determined according to the parameters of the historical message, including:
- Step 302 according to the parameters of the historical message, determine the priority relationship between the voice historical message and the textual historical message;
- the rule for determining the priority relationship between the speech-type historical message and the text-type historical message is related to the parameters of the historical message.
- the priority relationship between the speech class and the text class is determined according to the message type, the number of messages and the message time.
- all the historical messages in a period of time are acquired, and the quantitative relationship between the historical messages of the text type and the historical messages of the voice type in the period of time is compared. If the number of voice history messages is larger than the number of text history messages, it is determined that the priority of the voice class is higher, and the type of the first message is determined to be the voice class. , then it is determined that the priority of the text category is higher, and the type of the first message is determined to be the text category.
- the priority of the message type may also be judged according to the message time of the text-type historical message and the voice-type historical message.
- the most recent historical message in the communication record from the current time point is obtained, and if the type of the most recent historical message is a voice type, it is determined that the message time of the voice type historical message is later than that of the text type. The message time of the historical message. If the type of the most recent historical message is text, it is determined that the time of the text historical message is later than the message time of the voice historical message. The message type of the latest historical message is used as the message type with higher priority.
- the user when the user receives a voice message from the target object, and when forwarding the target message, it is detected that the last message type of the communication record is a voice type, and then it is determined that the priority of the voice type historical message is higher than that of the text type historical message. priority.
- the time information on which the first input is received is acquired, and the type of the historical message in the communication record corresponding to the time information is searched for according to the time information.
- obtain the time information when the user executes the forwarding instruction on the target message obtain the type and quantity of historical messages corresponding to the time information in the communication record, and obtain the type and number of historical messages corresponding to the time information according to the The quantity determines the priority relationship between the voice-type historical message and the text-type historical message.
- the user forwards the target message at 9:00 pm. If the number of textual historical messages sent and received from 8:00 pm to 10:00 pm in the communication record is 50 and the number of voice-based historical messages is 3, it is determined that the priority of text-based historical messages is higher than that of voice-based historical messages priority.
- Step 304 when the priority of the voice class is higher than the priority of the text class, determine that the type of the first message is the voice class; or when the priority of the text class is higher than the priority of the voice class, determine the first message type.
- a message is of type literal.
- the priority relationship between the voice historical message and the textual historical message can be determined according to the parameters of the historical message, and the first message is selected to be textual or voiced according to the priority relationship.
- the communication habits between the user and the target object can be determined according to the parameters of the historical message, so as to obtain the relationship between the priority of the text category and the priority of the voice category.
- the first message is selected as the corresponding type of message, which realizes the effect of intelligently selecting the message type of the forwarded message, and makes the forwarded first message more suitable for the user. requirements, further improving the user experience.
- the priority relationship between the speech class and the text class is determined according to the message type and the number of messages.
- the priority of the voice-type historical messages is higher than the priority of the text-type historical messages
- the priority relationship between the text class and the phonetic class is determined by comparing the number of voice-type historical messages and the number of text-type historical messages, and then the type of the first message is determined according to the priority relationship, so that the forwarded first message The type matches the type of most of the historical messages in the communication log.
- the message time of the text-based historical message is later than the message time of the voice-based historical message, it is determined that the priority of the text-based historical message is higher than the priority of the voice-based historical message.
- the type of the forwarded first message is made consistent with the type of the most recent historical message sent and received.
- the user may select a specific method for judging the priority.
- the method before sending the first message to the target object, the method further includes:
- Step 402 determine that the type of the first message is a voice class
- Step 404 converting the target message into a first message corresponding to the target speech parameter
- the target speech parameter is the user's speech parameter.
- the step of obtaining the target voice parameter is performed, and the target voice parameter is obtained according to the target voice parameter. Convert the target message.
- the target speech parameter is the user's speech parameter, and the user's speech parameter specifically includes parameters such as the user's voiceprint feature and intonation.
- the text type target message is converted into a voice type first message with the user's voiceprint feature; If the type is voice, and the type of target message is also voice, then the target message of voice is converted into the first message of voice with the characteristics of the user's voiceprint, so that the first message received by the target object is in line with the user's voice. language habits.
- the semantics in the target message are parsed, the corresponding first message is generated according to the semantics and the target speech parameters, and the first message is forwarded to the target object.
- training the acoustic model according to the historical voice messages in the message record and inputting the target message into the acoustic model can quickly convert the target message into the first message with the features of the user's voiceprint.
- the user's voice parameter is used as the target voice parameter, and the corresponding first message is output according to the target voice parameter. It is realized that the first message sent to the target object has the characteristics of the user's voice, so that the first message of the voice type to be sent is more natural.
- prompt information is output according to the type of the first message and the type of the target message.
- the screen capture input of the interface 20 is received, and the image shown in FIG. 7 will be generated.
- the prompt information 22 is generated, the prompt information 22 is displayed in the form of a floating window, and the floating window of the prompt information 22 can select whether to convert the target message 21 in response to the user's selection instruction.
- prompt information is generated and displayed, so that the user can freely choose whether to convert the target message, and the user can directly trigger the displayed prompt information operation, which simplifies the user's operation steps.
- the execution body may be a message sending apparatus, or a control module in the message sending apparatus for executing the message sending method.
- the message sending device provided by the embodiment of the present application is described by taking a message sending device executing a message sending method as an example.
- FIG. 8 shows a structural block diagram of a message sending apparatus 500 according to an embodiment of the present application.
- the message sending apparatus 500 includes:
- the receiving module 510 is configured to receive the first input of the user to the target message, where the first input is a forwarding operation directed to the target object;
- the target message is the message to be forwarded
- the first input may be a forwarding input to the target message
- the first input may also be a screen capture input of an interface where the target message is located.
- the sending module 520 is configured to, in response to the first input, send a first message corresponding to the target message to the target object according to the communication record between the user and the target object;
- the type of the first message is associated with the type of the message included in the communication record, and the first message is a voice message or a text message.
- the communication record between the user and the target object is the historical communication record with the target object.
- the target message may be a voice message or a text message.
- the first input is a forwarding instruction
- the target object pointed to by the first input is determined.
- a communication record between the user and the target object is acquired, and the first message is converted into a corresponding message type according to the historical communication record between the user and the target object.
- the first message after the converted message type is forwarded to the target object to complete the forwarding of the target message to the target object. It realizes the automatic type conversion of the target message that the user needs to forward, without the need for the user to manually convert the type of the target message, and realizes that the user only needs to send the message forwarding instruction, and directly send the message associated with the communication record to the target object. , which reduces the operation steps for users when forwarding messages.
- the sending module 520 includes:
- Obtaining unit 522 for obtaining the parameter of the historical message in the communication record
- the selection rule of the historical message in the communication record is set according to the actual needs of the user. It can be selected to select the most recent historical message in the communication record, or it can be selected to select the historical message in the most recent period of time in the communication record.
- determining unit 524 for determining the type of the first message according to the parameters of the historical message
- a sending unit 526 configured to send a first message corresponding to the target message to the target object
- the parameters of the historical message include at least one of the following: message type of the historical message, number of messages corresponding to each type of historical message, time of the historical message, and the type of the first message includes voice and text.
- the communication habit between the user and the target object can be obtained through the parameters of the historical message in the communication record, and the type of the first message can be determined according to the obtained communication habit, and the type of the first message to be sent can be guaranteed.
- the target message is automatically converted into the first message of this type and sent, without the need for the user to perform other operations such as manual conversion of the message type. It is ensured that the forwarded message conforms to the communication habits between the user and the target object.
- the determining unit 524 is specifically configured to determine the priority relationship between the voice historical message and the textual historical message according to the parameters of the historical message;
- the rule for determining the priority relationship between the speech type history message and the text type history message is related to the parameters of the selected history message.
- the priority relationship between the speech class and the text class is determined according to the message type, the number of messages and the message time.
- the priority relationship between the voice historical message and the textual historical message can be determined according to the parameters of the historical message, and the first message is selected to be textual or voiced according to the priority relationship.
- the communication habits between the user and the target object can be determined according to the parameters of the historical message, so as to obtain the relationship between the priority of the text category and the priority of the voice category.
- the first message is selected as the corresponding type of message, which realizes the effect of intelligently selecting the message type of the forwarded message, and makes the forwarded first message more suitable for the user. requirements, further improving the user experience.
- the determining unit 524 is further configured to:
- the priority relationship between the text class and the phonetic class is determined by comparing the number of voice-type historical messages and the number of text-type historical messages, and then the type of the first message is determined according to the priority relationship, so that the forwarded first message The type matches the type of most of the historical messages in the communication log.
- the message time of the text-based historical message is later than the message time of the voice-based historical message, it is determined that the priority of the text-based historical message is higher than the priority of the voice-based historical message.
- the type of the forwarded first message is made consistent with the type of the most recent historical message sent and received.
- the user may select a specific method for judging the priority.
- the message sending apparatus 500 further includes:
- the conversion module 530 is configured to convert the target message into a first message corresponding to a target voice parameter when the type of the first message is determined to be a voice type, wherein the target voice parameter is a user's voice parameter.
- the step of obtaining the target voice parameter is performed, and the target voice parameter is obtained according to the target voice parameter. Convert the target message.
- the target speech parameter is the user's speech parameter, and the user's speech parameter specifically includes parameters such as the user's voiceprint feature and intonation.
- the first input is a screenshot input of the interface where the target message is located, and the first message is a picture message; the sending module 520 is specifically configured to send the target object the interface where the target message is located when the target message is a text message.
- a screenshot or, specifically, when the target message is a voice message, sending a screenshot including a text message corresponding to the target message to the target object.
- the target message is a voice message
- the target message after receiving the first input, the target message can be converted into a corresponding text message, and then a screenshot including the text message corresponding to the target message is sent to the target object.
- the user's voice parameter is used as the target voice parameter, and the corresponding first message is output according to the target voice parameter. It is realized that the first message sent to the target object has the characteristics of the user's voice, so that the first message of the voice type to be sent is more natural.
- the message sending apparatus in this embodiment of the present application may be an apparatus, and may also be a component, an integrated circuit, or a chip in a terminal.
- the apparatus may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- assistant, PDA personal digital assistant
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- the message sending apparatus in this embodiment of the present application may be an apparatus having an operating system.
- the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
- FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, a first input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, Memory 609, processor 610 and other components.
- the user input unit 607 is used to receive the first input.
- the memory 609 is used to store the message sending method.
- the processor 610 is further configured to: obtain the parameters of the historical message in the communication record; determine the type of the first message according to the parameters of the historical message; send the first message corresponding to the target message to the target object; wherein the parameters of the historical message include the following At least one item: the message type of the historical message, the number of messages corresponding to each type of historical message, the time of the historical message, and the type of the first message includes a voice type and a text type.
- the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
- a power source such as a battery
- the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
- the memory 609 stores application programs and an operating system
- the input unit 604 may include a graphics processor 6041 and a microphone 6042
- the display unit 606 includes a display panel 6061 .
- the processor 610 is configured to: receive a first input from the user to the target message, where the first input is a forwarding operation directed to the target object; in response to the first input, according to the communication record between the user and the target object, send a message to the target object.
- the target object sends a first message corresponding to the target message; wherein the type of the first message is associated with the type of the message contained in the communication record, and the first message is a voice message or a text message.
- the processor 610 is further configured to: determine, according to the parameters of the historical message, the priority relationship between the speech-type historical message and the text-type historical message; when the priority of the speech-type is higher than the priority of the text-type Next, the type of the first message is determined to be the voice type; or in the case that the priority of the text type is higher than the priority of the voice type, the type of the first message is determined to be the text type.
- the processor 610 is further configured to: if the number of voice-type historical messages is greater than the number of text-type historical messages, determine that the priority of the voice-type historical message is higher than that of the text-type historical message; or,
- the priority of the audio history message is determined to be higher than that of the text history message.
- the message time of the text-based historical message is later than the message time of the voice-based historical message, it is determined that the priority of the text-based historical message is higher than the priority of the voice-based historical message.
- the processor 610 is further configured to: convert the target message into a first message corresponding to the target voice parameter in the case that the type of the first message is determined to be a voice type;
- the target speech parameter is the user's speech parameter.
- the first input is a screenshot input of an interface where the target message is located, and the first message is a picture message; the processor 610 is specifically configured to send the target message to the target object when the target message is a text message A screenshot of the interface where it is located; or, specifically, when the target message is a voice message, sending a screenshot of the text message corresponding to the target message to the target object.
- the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the method for sending a message can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here.
- the processor is the processor in the electronic device in the above embodiment.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction to implement each process of the above-mentioned embodiment of the message sending method, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
- the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (17)
- 一种消息发送方法,包括:A message sending method, comprising:接收用户对目标消息的第一输入,所述第一输入为指向目标对象的转发操作;receiving a first input from the user to the target message, where the first input is a forwarding operation directed to the target object;响应于所述第一输入,根据用户与所述目标对象的通信记录,向所述目标对象发送与所述目标消息对应的第一消息;In response to the first input, send a first message corresponding to the target message to the target object according to the communication record between the user and the target object;其中,所述第一消息的类型与所述通信记录包含的消息的类型相关联,所述第一消息为语音消息、图片消息或文字消息。Wherein, the type of the first message is associated with the type of the message included in the communication record, and the first message is a voice message, a picture message or a text message.
- 根据权利要求1所述的消息发送方法,其中,所述根据用户与所述目标对象的通信记录,向所述目标对象发送与所述目标消息对应的第一消息,具体包括:The message sending method according to claim 1, wherein the sending a first message corresponding to the target message to the target object according to the communication record between the user and the target object specifically includes:获取所述通信记录中历史消息的参数;Obtain the parameters of the historical message in the communication record;根据所述历史消息的参数,确定第一消息的类型;Determine the type of the first message according to the parameters of the historical message;向所述目标对象发送与所述目标消息对应的第一消息;sending a first message corresponding to the target message to the target object;其中,所述历史消息的参数包括以下至少一项:历史消息的消息类型,各类型的历史消息对应的消息数量,历史消息的时间;所述第一消息的类型包括语音类和文字类。The parameters of the historical message include at least one of the following: message type of the historical message, the number of messages corresponding to each type of historical message, and the time of the historical message; the types of the first message include voice type and text type.
- 根据权利要求2所述的消息发送方法,其中,所述根据所述历史消息的参数,确定第一消息的类型,包括:The message sending method according to claim 2, wherein the determining the type of the first message according to the parameters of the historical message comprises:根据所述历史消息的参数,确定语音类历史消息和文字类历史消息的优先级关系;According to the parameters of the historical message, determine the priority relationship between the voice historical message and the textual historical message;在所述语音类的优先级高于所述文字类的优先级的情况下,确定所述第一消息的类型为语音类;或In the case that the priority of the speech class is higher than the priority of the text class, determine that the type of the first message is a speech class; or在所述文字类的优先级高于所述语音类的优先级的情况下,确定所述第一消息的类型为文字类。In the case that the priority of the text class is higher than the priority of the voice class, it is determined that the type of the first message is the text class.
- 根据权利要求3所述的消息发送方法,其中,所述根据所述消息类型和所述消息数量,确定所述语音类和所述文字类的优先级关系,包括:The method for sending a message according to claim 3, wherein the determining the priority relationship between the voice class and the text class according to the message type and the number of messages includes:若所述语音类历史消息的数量大于所述文字类历史消息的数量,则确定所述语音类历史消息的优先级高于所述文字类历史消息的优先级;或,If the number of the voice history messages is greater than the number of the text history messages, it is determined that the priority of the voice history messages is higher than the priority of the text history messages; or,若所述语音类历史消息的消息时间晚于所述文字类历史消息的消息时间,则确定所述语音类历史消息的优先级高于所述文字类历史消息的优先级;或,If the message time of the voice history message is later than the message time of the text history message, it is determined that the priority of the voice history message is higher than the priority of the text history message; or,若所述文字类历史消息的数量大于所述语音类历史消息的数量,则确定所述文字类历史消息的优先级高于所述语音类历史消息的优先级;或,If the number of the text-based historical messages is greater than the number of the voice-based historical messages, it is determined that the priority of the text-based historical messages is higher than the priority of the voice-based historical messages; or,若所述文字类历史消息的消息时间晚于所述语音类历史消息的消息时间,则确定所述文字类历史消息的优先级高于所述语音类历史消息的优先级。If the message time of the text-based historical message is later than the message time of the voice-based historical message, it is determined that the priority of the text-based historical message is higher than the priority of the voice-based historical message.
- 根据权利要求2所述的消息发送方法,其中,所述向所述目标对象发送所述第一消息之前,还包括:The method for sending a message according to claim 2, wherein before the sending the first message to the target object, the method further comprises:在确定所述第一消息的类型为语音类的情况下,将所述目标消息转换为目标语音 参数对应的第一消息;When it is determined that the type of the first message is a voice class, the target message is converted into the first message corresponding to the target voice parameter;其中,所述目标语音参数为用户的语音参数。Wherein, the target voice parameter is the user's voice parameter.
- 根据权利要求1所述的消息发送方法,其中,所述第一输入为对所述目标消息所在界面的截屏输入,所述第一消息为所述图片消息;The message sending method according to claim 1, wherein the first input is a screen shot input of an interface where the target message is located, and the first message is the picture message;所述向所述目标对象发送与所述目标消息对应的第一消息,包括:The sending the first message corresponding to the target message to the target object includes:在所述目标消息为文字消息的情况下,向所述目标对象发送所述目标消息所在界面的截屏图片;In the case that the target message is a text message, sending a screenshot of the interface where the target message is located to the target object;在所述目标消息为语音消息的情况下,向所述目标对象发送包括所述目标消息对应的文字消息的截屏图片。In the case that the target message is a voice message, a screen shot including a text message corresponding to the target message is sent to the target object.
- 一种消息发送装置,包括:A message sending device, comprising:接收模块,用于接收用户对目标消息的第一输入,所述第一输入为指向目标对象的转发操作A receiving module, configured to receive the user's first input to the target message, where the first input is a forwarding operation directed to the target object发送模块,用于响应于所述第一输入,根据用户与所述目标对象的通信记录,向所述目标对象发送与所述目标消息对应的第一消息。A sending module, configured to, in response to the first input, send a first message corresponding to the target message to the target object according to the communication record between the user and the target object.
- 根据权利要求7所述的消息发送装置,其中,所述发送模块包括:The message sending apparatus according to claim 7, wherein the sending module comprises:获取单元,用于获取所述通信记录中历史消息的参数;an acquisition unit for acquiring parameters of historical messages in the communication record;确定单元,用于根据所述历史消息的参数,确定第一消息的类型;a determining unit, configured to determine the type of the first message according to the parameters of the historical message;发送单元,用于向所述目标对象发送与所述目标消息对应的第一消息;a sending unit, configured to send a first message corresponding to the target message to the target object;其中,所述历史消息的参数包括以下至少一项:历史消息的消息类型,各类型的历史消息对应的消息数量,历史消息的时间;所述第一消息的类型包括语音类和文字类。The parameters of the historical message include at least one of the following: message type of the historical message, the number of messages corresponding to each type of historical message, and the time of the historical message; the types of the first message include voice type and text type.
- 根据权利要求8所述的消息发送装置,其中,所述确定单元具体用于:The message sending apparatus according to claim 8, wherein the determining unit is specifically configured to:根据所述历史消息的参数,确定语音类历史消息和文字类历史消息的优先级关系;According to the parameters of the historical message, determine the priority relationship between the voice historical message and the textual historical message;在所述语音类的优先级高于所述文字类的优先级的情况下,确定所述第一消息的类型为语音类;或In the case that the priority of the speech class is higher than the priority of the text class, determine that the type of the first message is a speech class; or在所述文字类的优先级高于所述语音类的优先级的情况下,确定所述第一消息的类型为文字类。In the case that the priority of the text class is higher than the priority of the voice class, it is determined that the type of the first message is the text class.
- 根据权利要求9所述的消息发送装置,其中,所述确定单元还用于:The message sending apparatus according to claim 9, wherein the determining unit is further configured to:若所述语音类历史消息的数量大于所述文字类历史消息的数量,则确定所述语音类历史消息的优先级高于所述文字类历史消息的优先级;或,If the number of the voice history messages is greater than the number of the text history messages, it is determined that the priority of the voice history messages is higher than the priority of the text history messages; or,若所述文字类历史消息的数量大于所述语音类历史消息的数量,则确定所述文字类历史消息的优先级高于所述语音类历史消息的优先级;或,If the number of the text-based historical messages is greater than the number of the voice-based historical messages, it is determined that the priority of the text-based historical messages is higher than the priority of the voice-based historical messages; or,若所述语音类历史消息的消息时间晚于所述文字类历史消息的消息时间,则确定所述语音类历史消息的优先级高于所述文字类历史消息的优先级;或,If the message time of the voice history message is later than the message time of the text history message, it is determined that the priority of the voice history message is higher than the priority of the text history message; or,若所述文字类历史消息的消息时间晚于所述语音类历史消息的消息时间,则确定 所述文字类历史消息的优先级高于所述语音类历史消息的优先级。If the message time of the text-based historical message is later than the message time of the voice-based historical message, it is determined that the priority of the text-based historical message is higher than the priority of the voice-based historical message.
- 根据权利要求8所述的消息发送装置,其中,还包括:The message sending apparatus according to claim 8, further comprising:转换模块,用于在确定所述第一消息的类型为语音类的情况下,将所述目标消息转换为目标语音参数对应的第一消息;a conversion module, configured to convert the target message into a first message corresponding to a target speech parameter when it is determined that the type of the first message is a voice class;其中,所述目标语音参数为用户的语音参数。Wherein, the target voice parameter is the user's voice parameter.
- 根据权利要求7所述的消息发送装置,其中,所述第一输入为对所述目标消息所在界面的截屏输入,所述第一消息为所述图片消息;The message sending apparatus according to claim 7, wherein the first input is a screen shot input of an interface where the target message is located, and the first message is the picture message;所述发送模块,具体用于在所述目标消息为文字消息的情况下,向所述目标对象发送所述目标消息所在界面的截屏图片;或者,具体用于在所述目标消息为语音消息的情况下,向所述目标对象发送包括所述目标消息对应的文字消息的截屏图片。The sending module is specifically configured to send a screenshot of the interface where the target message is located to the target object when the target message is a text message; or, is specifically configured to send a screenshot of the interface where the target message is located to the target object; In this case, a screenshot image including the text message corresponding to the target message is sent to the target object.
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6中任一项所述的消息发送方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1 to 6 The steps of any one of the message sending methods.
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6中任一项所述的消息发送方法的步骤。A readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the message sending method according to any one of claims 1 to 6 are implemented.
- 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至6中任一项所述的消息发送方法。A computer software product executed by at least one processor to implement the message sending method of any one of claims 1 to 6.
- 一种电子设备,包括电子设备被配置成用于执行如权利要求1至6中任一项所述的消息发送方法。An electronic device comprising an electronic device configured to perform the message sending method of any one of claims 1 to 6.
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至6中任一项所述的消息发送方法。A chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement a message as claimed in any one of claims 1 to 6 delivery method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110370298.5A CN113079086B (en) | 2021-04-07 | 2021-04-07 | Message transmission method, message transmission device, electronic device, and storage medium |
CN202110370298.5 | 2021-04-07 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022213943A1 true WO2022213943A1 (en) | 2022-10-13 |
Family
ID=76615211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/085136 WO2022213943A1 (en) | 2021-04-07 | 2022-04-02 | Message sending method, message sending apparatus, electronic device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113079086B (en) |
WO (1) | WO2022213943A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113079086B (en) * | 2021-04-07 | 2023-06-27 | 维沃移动通信有限公司 | Message transmission method, message transmission device, electronic device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006270891A (en) * | 2005-03-25 | 2006-10-05 | Nec Corp | Message conversion system, message conversion method and program |
CN106550146A (en) * | 2016-10-28 | 2017-03-29 | 努比亚技术有限公司 | A kind of chat message dispensing device and method |
CN109412932A (en) * | 2018-09-28 | 2019-03-01 | 维沃移动通信有限公司 | A kind of screenshotss method and terminal |
CN110083687A (en) * | 2019-04-28 | 2019-08-02 | 上海盛付通电子支付服务有限公司 | A kind of information conversion method, equipment and storage medium |
CN113079086A (en) * | 2021-04-07 | 2021-07-06 | 维沃移动通信有限公司 | Message transmitting method, message transmitting device, electronic device, and storage medium |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7653691B2 (en) * | 2000-11-15 | 2010-01-26 | Pacific Datavision Inc. | Systems and methods for communicating using voice messages |
US9491249B2 (en) * | 2013-10-25 | 2016-11-08 | Dorin ROSENSHINE | Integrating offsite activities related to chat and text messaging with online data records |
CN107103899B (en) * | 2017-04-24 | 2020-06-19 | 北京小米移动软件有限公司 | Method and apparatus for outputting voice message |
US10425373B2 (en) * | 2017-07-19 | 2019-09-24 | Citrix Systems, Inc. | Systems and methods for prioritizing messages for conversion from text to speech based on predictive user behavior |
CN107995101B (en) * | 2017-11-30 | 2021-03-23 | 上海掌门科技有限公司 | Method and equipment for converting voice message into text message |
CN108307043A (en) * | 2017-12-28 | 2018-07-20 | 努比亚技术有限公司 | Speech message conversion method, mobile terminal and computer readable storage medium |
CN109068276B (en) * | 2018-06-28 | 2020-09-11 | 维沃移动通信有限公司 | Message conversion method and terminal |
CN110096701A (en) * | 2019-04-16 | 2019-08-06 | 珠海格力电器股份有限公司 | Message conversion processing method and device, storage medium and electronic equipment |
CN112311654A (en) * | 2019-07-29 | 2021-02-02 | 腾讯科技(深圳)有限公司 | Instant messaging message processing method, device, medium and electronic equipment |
CN112035878B (en) * | 2020-08-31 | 2024-07-05 | 维沃移动通信(杭州)有限公司 | Information display method and device and electronic equipment |
CN112287162A (en) * | 2020-10-27 | 2021-01-29 | 维沃移动通信有限公司 | Message searching method and device and electronic equipment |
CN112578965A (en) * | 2020-12-25 | 2021-03-30 | 维沃移动通信有限公司 | Processing method and device and electronic equipment |
-
2021
- 2021-04-07 CN CN202110370298.5A patent/CN113079086B/en active Active
-
2022
- 2022-04-02 WO PCT/CN2022/085136 patent/WO2022213943A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006270891A (en) * | 2005-03-25 | 2006-10-05 | Nec Corp | Message conversion system, message conversion method and program |
CN106550146A (en) * | 2016-10-28 | 2017-03-29 | 努比亚技术有限公司 | A kind of chat message dispensing device and method |
CN109412932A (en) * | 2018-09-28 | 2019-03-01 | 维沃移动通信有限公司 | A kind of screenshotss method and terminal |
CN110083687A (en) * | 2019-04-28 | 2019-08-02 | 上海盛付通电子支付服务有限公司 | A kind of information conversion method, equipment and storage medium |
CN113079086A (en) * | 2021-04-07 | 2021-07-06 | 维沃移动通信有限公司 | Message transmitting method, message transmitting device, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113079086A (en) | 2021-07-06 |
CN113079086B (en) | 2023-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210295842A1 (en) | Word-level correction of speech input | |
US10489112B1 (en) | Method for user training of information dialogue system | |
US10217463B2 (en) | Hybridized client-server speech recognition | |
KR102108500B1 (en) | Supporting Method And System For communication Service, and Electronic Device supporting the same | |
US9111539B1 (en) | Editing voice input | |
JP2019520644A (en) | Providing a state machine to a personal assistant module that can be selectively traced | |
US11527235B2 (en) | Text independent speaker recognition | |
CN112291203A (en) | Locally saving data for voice actions with selective offline capability | |
US11854533B2 (en) | Speaker awareness using speaker dependent speech model(s) | |
CN113168336A (en) | Client application of phone based on experiment parameter adaptation function | |
CN111742311A (en) | Intelligent assistant method | |
CN114760387A (en) | Method and device for managing maintenance | |
CN117882365A (en) | Verbal menu for determining and visually displaying calls | |
WO2022213943A1 (en) | Message sending method, message sending apparatus, electronic device, and storage medium | |
CN114064943A (en) | Conference management method, conference management device, storage medium and electronic equipment | |
US11783836B2 (en) | Personal electronic captioning based on a participant user's difficulty in understanding a speaker | |
US10847161B2 (en) | Processing system using intelligent messaging flow markers based on language data | |
CN111968630B (en) | Information processing method and device and electronic equipment | |
US20240169979A1 (en) | Action topic ontology | |
US11722572B2 (en) | Communication platform shifting for voice-enabled device | |
TWI857714B (en) | An intelligent message reply and delivery system based on generative ai |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22784009 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22784009 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22784009 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28.11.2023) |