CN113141292B - Message processing method and device and electronic equipment - Google Patents

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN113141292B
CN113141292B CN202010051542.7A CN202010051542A CN113141292B CN 113141292 B CN113141292 B CN 113141292B CN 202010051542 A CN202010051542 A CN 202010051542A CN 113141292 B CN113141292 B CN 113141292B
Authority
CN
China
Prior art keywords
message
electronic device
electronic
electronic equipment
class
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010051542.7A
Other languages
Chinese (zh)
Other versions
CN113141292A (en
Inventor
杜滨源
常良玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Shanghai Xiaodu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd, Shanghai Xiaodu Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010051542.7A priority Critical patent/CN113141292B/en
Publication of CN113141292A publication Critical patent/CN113141292A/en
Application granted granted Critical
Publication of CN113141292B publication Critical patent/CN113141292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The application discloses a message processing method, a message processing device and electronic equipment, and relates to the field of message processing in the field of computers. The specific implementation scheme is as follows: a method of message processing, comprising: receiving a first message sent by first electronic equipment, wherein the first message is a message received by the first electronic equipment through a network; determining second electronic equipment in at least one piece of electronic equipment corresponding to the first electronic equipment, wherein each piece of electronic equipment in the at least one piece of electronic equipment logs in a first account, and the first account is an account logged in by the first electronic equipment; sending the first message to the second electronic device, so that the second electronic device outputs the first message. The message processing method, the message processing device, the electronic equipment and the computer readable storage medium can solve the problem that message notification is not timely in the prior art.

Description

Message processing method and device and electronic equipment
Technical Field
The present application relates to the field of message processing in the field of computers, and in particular, to a message processing method and apparatus, and an electronic device.
Background
In the prior art, people usually keep in touch with the outside through electronic equipment, and when people are in a familiar environment, such as being located at home, people do not have to carry the electronic equipment with them, so that when the electronic equipment receives an external message, a user may not be able to timely know the external message. Therefore, the problem that the message notification is not timely exists at present.
Disclosure of Invention
The embodiment of the application provides a message processing method and device and electronic equipment, and can solve the problem that message notification is not timely in the prior art.
In order to solve the above technical problem, the present application provides a message processing method, applied to a server, the method including:
receiving a first message sent by first electronic equipment, wherein the first message is a message received by the first electronic equipment through a network;
determining second electronic equipment in at least one piece of electronic equipment corresponding to the first electronic equipment, wherein each piece of electronic equipment in the at least one piece of electronic equipment logs in a first account, and the first account is an account logged in by the first electronic equipment;
sending the first message to the second electronic device, so that the second electronic device outputs the first message.
Therefore, when the first electronic equipment receives the first message through the network, the second electronic equipment corresponding to the first electronic equipment is determined, and the first message is sent to the second electronic equipment, so that the second electronic equipment outputs the first message, and a user can know the first message through the second electronic equipment, thereby overcoming the problem of untimely message notification in the prior art, and further achieving the technical effect of timely forwarding the external message received by the electronic equipment to the user.
Optionally, the determining a second electronic device in at least one electronic device corresponding to the first electronic device includes:
identifying a message type of the first message;
selecting a second electronic device supporting the message type from the at least one electronic device.
In this embodiment, by identifying the message type of the first message and selecting the electronic device supporting the message type from the at least one electronic device as the second electronic device, it is ensured that the second electronic device can output the first message after receiving the first message.
Optionally, the selecting, from the at least one electronic device, a second electronic device that supports the message type includes:
and selecting a second electronic device which supports the message type and is in a working state from the at least one electronic device.
In this embodiment, the electronic device that supports the message type and is currently in the operating state is selected from the at least one electronic device as the second electronic device, so that it is ensured that the selected second electronic device can successfully receive the first message, and also that the second electronic device successfully outputs the first message, and meanwhile, since the second electronic device is the electronic device in the operating state, it is also possible to improve the success rate of the second electronic device forwarding the first message to the user.
Optionally, the determining, by the at least one electronic device corresponding to the first electronic device, a second electronic device includes:
identifying message content of the first message;
and selecting a second electronic device matched with the message content from the at least one electronic device according to the message content.
In this embodiment, the message content of the first message is identified, and the electronic device matching the message content is selected from the at least one electronic device as the second electronic device according to the message content. In this way, it can be ensured that the second electronic device can successfully display the message content of the first message. And simultaneously, according to the message content of the first message and the corresponding relation between the message content preset by the user and the electronic equipment, selecting second electronic equipment matched with the message content from at least one electronic equipment.
Optionally, after the sending the first message to the second electronic device, the method further includes:
receiving a second message sent by the second electronic device, wherein the second message is a reply message of the second electronic device to the first message;
and sending the second message to the first electronic equipment.
In this embodiment, when the first message is a text message or a language message received through social software, after the user receives the first message through the second electronic device, the user can directly reply to the first message through the second electronic device, so that convenience of the user in replying to the first message is improved.
Optionally, the method further comprises:
receiving a request message sent by a third electronic device, where the request message is used to request to display target multimedia content in the first electronic device, and the third electronic device is a device in the at least one electronic device;
sending the request message to the first electronic device;
receiving the target multimedia content sent by the first electronic equipment in response to the request message;
transmitting the target multimedia content to a fourth electronic device of the at least one electronic device.
In this embodiment, a user may send a request message requesting to display the target multimedia content in the first electronic device to the first electronic device through the third electronic device, and after receiving the request message, the first electronic device transmits the target multimedia content to the fourth electronic device in response to the request message, so that the user can view the target multimedia content in the first electronic device conveniently.
In order to solve the same technical problem, the present application further provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method.
To solve the same technical problem, the present application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the method.
In another aspect of the present application, a computer program product is provided, which includes a computer program, and the computer program realizes the message processing method provided by the embodiments of the present application when being executed by a processor.
One embodiment in the above application has the following advantages or benefits: when first electronic equipment receives a first message through a network, second electronic equipment corresponding to the first electronic equipment is determined, and the first message is sent to the second electronic equipment, so that the second electronic equipment outputs the first message, and a user can know the first message through the second electronic equipment, thereby overcoming the problem of untimely message notification in the prior art, and further achieving the technical effect of timely forwarding an external message received by the electronic equipment to the user.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a flow chart of a message processing method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of connections between electronic devices in an embodiment of the present application;
FIG. 3 is a flow chart of a process of receiving a first message in an embodiment of the present application;
FIG. 4 is a flow chart of a process of replying to a second message in an embodiment of the present application;
FIG. 5 is a flow chart of a process of receiving a notification message in an embodiment of the present application;
FIG. 6 is a flow chart of a process for requesting presentation of targeted multimedia content in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a message processing apparatus in an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a determination module in an embodiment of the present application;
fig. 9 is a block diagram of an electronic device for implementing a message processing method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Referring to fig. 1, fig. 1 is a message processing method provided by the present application, applied to a server, where the method includes:
the method comprises the step of S101, receiving a first message sent by first electronic equipment, wherein the first message is a message received by the first electronic equipment through a network.
The server may be a cloud server, and the first electronic Device may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like. The first electronic device may be installed with social software and an application program that is capable of receiving various notification messages, where the first message may be a social message, for example, a text message, a voice call request message, a video call request message, a telephone notification message, and other social messages received by the first electronic device; in addition, the first message may also be notification messages issued by various platforms and received by the first electronic device, for example, a notification message issued by a life service platform that the balance of water and electricity is insufficient, or an earthquake early warning message issued by a municipal service platform, or the like.
Step S102, determining second electronic equipment in at least one piece of electronic equipment corresponding to the first electronic equipment, wherein a first account is logged in each piece of electronic equipment in the at least one piece of electronic equipment, and the first account is the account logged in by the first electronic equipment.
The electronic device corresponding to the first electronic device may be: the other electronic devices associated with the first electronic device, for example, the first electronic device and at least one other electronic device may be associated with the other electronic devices by logging in to the same account at the same time. The electronic equipment can be an intelligent terminal or various household appliances, such as a tablet personal computer, an intelligent sound box, an intelligent television, an intelligent electric lamp, an intelligent floor sweeping robot, an intelligent refrigerator, an intelligent earphone and other electric equipment. The first account may be an account used for establishing a connection between the server and various electronic devices, such as a hundred-degree account, a 360-degree account, and the like, and since each electronic device of the at least one electronic device logs in the first account, and the first account is an account logged in by the first electronic device, a connection between each electronic device and the server is established, that is, a correspondence relationship between the first electronic device and the at least one electronic device is established. The second electronic device may be an electronic device currently used by a user in at least one other electronic device, and the second electronic device and the first electronic device may be the same electronic device.
Step S103, the first message is sent to the second electronic device, so that the second electronic device outputs the first message.
After the second electronic device currently used by the user is determined through the step S102, the first message is sent to the second electronic device, so that the second electronic device outputs the first message, thereby conveniently and timely forwarding the first message received by the first electronic device to the user.
In addition, since a home may include a plurality of first electronic devices, the plurality of first electronic devices may respectively log in the first account to respectively establish an association between the plurality of first electronic devices and the at least one electronic device, and when any one of the plurality of first electronic devices receives the first message, the first message may be forwarded through the second electronic device.
In the embodiment of the application, when the first electronic device receives the first message through the network, the second electronic device corresponding to the first electronic device is determined, and the first message is sent to the second electronic device, so that the second electronic device outputs the first message, and a user can know the first message through the second electronic device, thereby overcoming the problem of untimely message notification in the prior art, and further achieving the technical effect of timely forwarding the external message received by the electronic device to the user.
Optionally, the determining a second electronic device in at least one electronic device corresponding to the first electronic device includes:
identifying a message type of the first message;
selecting a second electronic device supporting the message type from the at least one electronic device.
The message type of the first message may be a text type message, a voice type message, a picture type message, a video type message, and the like, and the electronic devices do not necessarily support output of various types of messages, for example, the smart audio usually supports output of only a voice type message, and therefore, when determining the second electronic device, it is necessary to select an electronic device capable of supporting output of the message type of the first message to act on the second electronic device.
In order to select an electronic device capable of supporting outputting a message type of a first message, it is therefore necessary to identify the message type of the first message, wherein a conversational artificial intelligence system may be provided in the server to identify the message type of the first message. In addition, when the user logs in the first account on each electronic device, the message types supported by each electronic device can be manually set, so that the server collects and stores the message types supported by each electronic device input by the user, and after the message type of the first message is identified, the second electronic device can be determined from the electronic devices supporting the message type, and therefore the first message can be output by the second electronic device.
In addition, the priority of response can be set for all the electronic devices, and when at least two electronic devices can be used as the second electronic device, the electronic device with the higher priority can be further selected as the second electronic device, so that the output effect of the first message is improved.
Specifically, each electronic device may be classified according to the type of the message that can be output by the electronic device, for example: the method comprises the following steps of classifying equipment capable of outputting voice messages such as an intelligent television, an intelligent sound box, a tablet personal computer and a small family into a first class, classifying equipment capable of simultaneously outputting text messages, voice messages, picture messages and video messages such as the intelligent television, the tablet personal computer and the small family into a second class, and classifying equipment capable of outputting corresponding prompt information according to respective performances such as an intelligent electric lamp, an intelligent sweeping robot and an intelligent refrigerator into a third class; then, setting priorities of response sequences for each type of equipment respectively, for example, for the first type of equipment, priority setting can be performed according to sound effects, and higher priority is set for the equipment with good sound, for example, the priority of the intelligent sound box is set to be the highest priority in the first type of equipment; for the second type of device, the priority is set in turn according to the size of the screen, for example, the priority of the smart television can be set to be the highest, and in addition, the user can set the priority of the response of each electronic device according to personal habits, for example, the priority of the frequently-used device is set to be higher than the priority with low use frequency.
Optionally, the selecting, from the at least one electronic device, a second electronic device that supports the message type includes:
and selecting a second electronic device which supports the message type and is in a working state from the at least one electronic device.
In order to further ensure that the first message can be output by the second electronic device, after the electronic devices supporting the message type determined according to the message type of the first message, the electronic devices in the operating state can be further selected from the determined electronic devices supporting the message type, and the second electronic device can be selected from the selected electronic devices in the operating state. The reason why the success rate of transferring the first message to the user by the second electronic device is better improved by selecting the electronic device in the working state is that when a certain electronic device is in the working state, it indicates that the user is using the electronic device, for example, when the smart television is in the working state, the user is watching the television, and when the smart sound box is in the playing state, the user is listening to music, so that selecting the electronic device in the working state as the second electronic device not only can ensure that the first message can be output by the second electronic device, but also can improve the success rate of transferring the first message to the user by the second electronic device.
In addition, in some cases, the message type of the first message may be further converted, for example, when only the smart television is currently in the working state, if the first message is a voice message, in order to avoid directly playing the voice message to influence the user on watching the television, the voice message may be first converted into a text message, and the text message may be displayed on the smart television.
Optionally, the determining a second electronic device in at least one electronic device corresponding to the first electronic device includes:
identifying message content of the first message;
and selecting a second electronic device matched with the message content from the at least one electronic device according to the message content.
Wherein, the second electronic device may be determined as the electronic device corresponding to the message content by recognizing the message content of the first message, for example, when the first message is a notification message about the utility charge arrearage, the second electronic device may be determined as the electronic device corresponding to the notification message about the utility charge arrearage, and at least one of the electronic devices corresponding to the notification message about the utility charge arrearage may be used as the second electronic device, when at least two second electronic devices receive the notification message about the utility charge arrearage, a part of the second electronic devices may directly output the notification message about the utility charge arrearage, and another part of the electronic devices may output the information corresponding to the notification message about the utility charge arrearage, for example, when the smart tv may directly display the notification message about the utility charge arrearage on a screen, the smart lamp may flash to prompt the user of the notification message about the utility charge arrearage; for another example, when the first message is an early warning message about a disaster such as an earthquake issued by a government affair service platform, all the electronic devices may be used as devices corresponding to the early warning message, and at the same time, all the electronic devices may be used as the second electronic devices, and the first message may be sent to all the second electronic devices, and when each of the second electronic devices receives the first message, the first message or information corresponding to the first message may be output, and specifically, the user may set, in advance, a form in which each of the electronic devices responds after receiving the first message on the first electronic device or the electronic device.
Optionally, after the sending the first message to the second electronic device, the method further includes:
receiving a second message sent by the second electronic device, wherein the second message is a reply message of the second electronic device to the first message;
and sending the second message to the first electronic equipment.
When the first message is a text message or a language message received through social software, the user can directly reply to the first message through the second electronic device after receiving the first message through the second electronic device, for example, when the second electronic device has a language receiving function, the second message can be a voice message, the user can directly reply to the first message through the second electronic device, the second electronic device sends the second message to the server after receiving the second message for sending, the server sends the second message to the first electronic device, and the first electronic device directly sends the second message to the sending end of the first message after receiving the second message, so that the reply process of the first message is completed. In addition, when the second electronic device has a text input function, the second message may also be a text message, wherein a specific reply of the second electronic device after receiving the second message in the text form input by the user is the same as a reply process in which the second message is a voice message, and is not described herein again to avoid repetition.
Optionally, the method further comprises:
receiving a request message sent by a third electronic device, where the request message is used to request to display target multimedia content in the first electronic device, and the third electronic device is a device in the at least one electronic device;
sending the request message to the first electronic device;
receiving the target multimedia content sent by the first electronic equipment in response to the request message;
transmitting the target multimedia content to a fourth electronic device of the at least one electronic device.
The third electronic device and the fourth electronic device may be the same electronic device or different electronic devices, the third electronic device may be any one of the electronic devices capable of receiving a user instruction, the fourth electronic device may be any one of the electronic devices capable of outputting multimedia content, and the number of the fourth electronic devices may be multiple, that is, the target multimedia content is simultaneously displayed on multiple fourth electronic devices. The target multimedia content can be picture content, video content or text content, and the like, the user can send a request message requesting to display the target multimedia content in the first electronic device to the first electronic device through the third electronic device, and the first electronic device responds to the request message after receiving the request message and transmits the target multimedia content to the fourth electronic device, so that the user can conveniently view the target multimedia content in the first electronic device.
In addition, a same wake-up word "such as: the electronic device in the wake-up state may receive a voice instruction of the user, and execute a corresponding action according to the voice instruction of the user, for example, the user may control the first electronic device to automatically dial a phone of a certain contact through the voice instruction, or may control the function of the floor sweeping robot to work through the voice instruction. When detecting that intelligent earphone is in operating condition, can prefer to select intelligent earphone as second electronic equipment to through the first message of intelligent earphone output, can effectual protection user's privacy, avoid user and contact's chat content to be listened to by other people. In order to further improve the safety and avoid that other people except the user control the electronic equipment through voice, the identity information of the user can be determined in a mode of recognizing the voiceprint of the user, and corresponding actions can be executed only after the voiceprint information is verified to pass.
In order to facilitate understanding of the above embodiments of the present application, please refer to fig. 2, and the above embodiments are explained in detail with a specific embodiment, where the first electronic device is a mobile phone of a user B, the at least one electronic device includes a small-sized sound box, a small-sized home smart television with a conversational artificial intelligence system (DuerOS), a smart headset, a smart refrigerator, and other hundred-sized electronic intelligence devices, the first electronic device and the electronic device may both log in a hundred-sized account to achieve connection with the server, the server is a cloud server, and a conversational artificial intelligence system (DuerOS) may also be loaded in the server, and the DuerOS in the server includes a semantic recognition module, a semantic parsing module, and a structured data module, where when a message received by the DuerOS is a semantic message, the voice message may be converted into a text message through the semantic recognition module, and a meaning indicated in the text message may be recognized through the semantic parsing module, and then a result recognized by the structured data module may be converted into a computer universal language.
Referring to fig. 3, after the mobile phone of the user B receives the first message sent by the user a through the mini App, the mobile phone of the user B sends the first message to the server, after the DuerOS in the server identifies the first message, the server selects the mini speaker as the second electronic device according to the identification processing result, and since the mini speaker can only output intra-audio messages in general, the first message can be converted into an audio message through the structured data module, and then the processed first message is sent to the mini speaker, and the mini speaker outputs the first message.
Specifically, please refer to fig. 4, after receiving the audio information of the user, the mini sound box uploads the audio information to the server, the DuerOS in the server processes the audio information and sends the processed audio information to the mobile phone of the user B, and then the processed audio information is sent to the terminal device of the user a through the mini App in the mobile phone.
Referring to fig. 5, fig. 5 is a schematic view of a scenario in which the above embodiment is applied to receiving notification information, when a first electronic device receives the notification information, the content of the notification information is identified by DuerOS in a server, and after the content of the notification information is identified, at least one electronic device is determined from intelligent hardware as the second electronic device, and the notification information is output or prompt information corresponding to the notification information is output.
Referring to fig. 6, fig. 6 is a schematic view of a scene for referring to the target multimedia content in the first electronic device according to the above embodiment. Specifically, a user may send a request message requesting to display the target multimedia content in the first electronic device to the first electronic device through the third electronic device, and after receiving the request message, the first electronic device transmits the target multimedia content to the fourth electronic device in response to the request message, so that the user may view the target multimedia content in the first electronic device conveniently. In addition, the user can upload the multimedia content in the first electronic device to the hundred-degree network disk in advance, when the user sends a request message requesting for displaying the target multimedia content in the first electronic device through the third electronic device, the server directly sends the request message to the hundred-degree network disk, and the hundred-degree network disk responds to the request message and sends corresponding data to the fourth electronic device, so that the user can conveniently view the target multimedia content in the first electronic device.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application, where the message processing apparatus 700 includes:
a receiving module 701, configured to receive a first message sent by a first electronic device, where the first message is a message received by the first electronic device through a network;
a determining module 702, configured to determine a second electronic device in at least one electronic device corresponding to the first electronic device, where a first account is logged in each of the at least one electronic device, and the first account is an account logged in by the first electronic device;
the sending module 703 is configured to send the first message to the second electronic device, so that the second electronic device outputs the first message.
Optionally, referring to fig. 8, the determining module 702 includes:
an identifying submodule 7021 configured to identify a message type of the first message;
a selecting submodule 7022 is configured to select a second electronic device supporting the message type from the at least one electronic device.
Optionally, the selecting sub-module 7022 is further configured to select, from the at least one electronic device, a second electronic device that supports the message type and is currently in an operating state.
Optionally, the identifying sub-module 7021 is further configured to identify a message content of the first message;
the selecting sub-module 7022 is further configured to select, according to the message content, a second electronic device that matches the message content from the at least one electronic device.
Optionally, the receiving module 701 is further configured to receive a second message sent by the second electronic device, where the second message is a reply message of the second electronic device to the first message;
the sending module 703 is further configured to send the second message to the first electronic device.
Optionally, the receiving module 701 is further configured to receive a request message sent by a third electronic device, where the request message is used to request to display the target multimedia content in the first electronic device, and the third electronic device is a device in the at least one electronic device;
the sending module 703 is further configured to send the request message to the first electronic device;
the receiving module 701 is further configured to receive the target multimedia content sent by the first electronic device in response to the request message;
the sending module 703 is further configured to send the target multimedia content to a fourth electronic device of the at least one electronic device.
It should be noted that the message processing apparatus 700 in this embodiment may be a message processing apparatus in any implementation manner in the method embodiment in this embodiment, and any implementation manner of the message processing apparatus in the method embodiment in this embodiment may be implemented by the message processing apparatus 700 in this embodiment, and achieve the same beneficial effects, which is not described herein again.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 9 is a block diagram of an electronic device according to the message processing method of the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 9, the electronic apparatus includes: one or more processors 901, memory 902, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 9 illustrates an example of a processor 901.
Memory 902 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the message processing method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the message processing method provided by the present application.
Memory 902, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the message processing methods in the embodiments of the present application (e.g., receiving module 701, determining module 702, and sending module 703 shown in fig. 7). The processor 901 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 902, that is, implements the message processing method in the above-described method embodiment.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device of the message processing method, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include a memory remotely located from the processor 901, and such remote memory may be connected to the electronic device of the message processing method through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the message processing method may further include: an input device 903 and an output device 904. The processor 901, the memory 902, the input device 903 and the output device 904 may be connected by a bus or other means, and fig. 9 illustrates the connection by a bus as an example.
The input device 903 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device of the message processing method, for example, an input device such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output devices 904 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
The present application provides a computer program product comprising a computer program which, when executed by a processor, implements the message processing method provided by the embodiments of the present application.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (8)

1. A message processing method is applied to a server and comprises the following steps:
receiving a first message sent by first electronic equipment, wherein the first message is a message received by the first electronic equipment through a network;
determining second electronic equipment in at least one piece of electronic equipment corresponding to the first electronic equipment, wherein each piece of electronic equipment in the at least one piece of electronic equipment logs in a first account, and the first account is an account logged in by the first electronic equipment;
sending the first message to the second electronic device, so that the second electronic device outputs the first message;
the determining a second electronic device in at least one electronic device corresponding to the first electronic device includes:
identifying a message type of the first message;
selecting a second electronic device supporting the message type from the at least one electronic device;
classifying the at least one electronic device according to the type of the message which can be output by the electronic device, wherein the classification comprises a first class and a second class, the first class comprises the electronic devices which can output voice messages, and the second class comprises the electronic devices which can simultaneously output text messages, voice messages, picture messages and video messages;
determining the priority of the electronic equipment in the first class according to the sound effect, wherein the priority of the electronic equipment in the first class is positively correlated with the sound effect;
determining the priority of the electronic equipment in the second class according to the screen size, wherein the priority of the electronic equipment in the second class is positively correlated with the screen size;
in the case that at least two electronic devices are available as the second electronic device, determining the electronic device with the highest priority level in the at least two electronic devices as the second electronic device;
and under the condition that the second electronic equipment is the intelligent television and the first message is the voice message, converting the voice message into a text message and displaying the text message on the intelligent television.
2. The method of claim 1, wherein the selecting a second electronic device from the at least one electronic device that supports the message type comprises:
and selecting a second electronic device which supports the message type and is in a working state from the at least one electronic device.
3. The method of claim 1, wherein the determining a second electronic device in at least one electronic device corresponding to the first electronic device comprises:
identifying message content of the first message;
and selecting a second electronic device matched with the message content from the at least one electronic device according to the message content.
4. The method of claim 1, wherein after the sending the first message to the second electronic device, the method further comprises:
receiving a second message sent by the second electronic device, wherein the second message is a reply message of the second electronic device to the first message;
and sending the second message to the first electronic equipment.
5. The method of claim 1, wherein the method further comprises:
receiving a request message sent by a third electronic device, where the request message is used to request to display target multimedia content in the first electronic device, and the third electronic device is a device in the at least one electronic device;
sending the request message to the first electronic device;
receiving the target multimedia content sent by the first electronic equipment in response to the request message;
transmitting the target multimedia content to a fourth electronic device of the at least one electronic device.
6. A message processing apparatus comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a first message sent by first electronic equipment, and the first message is a message received by the first electronic equipment through a network;
the determining module is used for determining a second electronic device in at least one electronic device corresponding to the first electronic device, wherein each electronic device in the at least one electronic device logs in a first account, and the first account is an account logged in by the first electronic device;
a sending module, configured to send the first message to the second electronic device, so that the second electronic device outputs the first message;
the determining module comprises:
the identification submodule is used for identifying the message type of the first message;
a selection submodule for selecting a second electronic device supporting the message type from the at least one electronic device;
classifying the at least one electronic device according to the type of the message which can be output by the electronic device, wherein the classification comprises a first class and a second class, the first class comprises the electronic devices which can output voice messages, and the second class comprises the electronic devices which can simultaneously output text messages, voice messages, picture messages and video messages;
determining the priority of the electronic equipment in the first class according to the sound effect, wherein the priority of the electronic equipment in the first class is positively correlated with the sound effect;
determining the priority of the electronic equipment in the second class according to the screen size, wherein the priority of the electronic equipment in the second class is positively correlated with the screen size;
in the case that at least two electronic devices are available as the second electronic device, determining the electronic device with the highest priority level in the at least two electronic devices as the second electronic device;
and under the condition that the second electronic equipment is the intelligent television and the first message is the voice message, converting the voice message into a text message and displaying the text message on the intelligent television.
7. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
8. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202010051542.7A 2020-01-17 2020-01-17 Message processing method and device and electronic equipment Active CN113141292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010051542.7A CN113141292B (en) 2020-01-17 2020-01-17 Message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010051542.7A CN113141292B (en) 2020-01-17 2020-01-17 Message processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113141292A CN113141292A (en) 2021-07-20
CN113141292B true CN113141292B (en) 2023-03-03

Family

ID=76808392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010051542.7A Active CN113141292B (en) 2020-01-17 2020-01-17 Message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113141292B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014176738A1 (en) * 2013-04-28 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method and device for transmitting and forwarding a message
CN105812315A (en) * 2014-12-29 2016-07-27 北京奇虎科技有限公司 Multi-terminal message transmission method and device based on user login accounts
CN106230647A (en) * 2016-09-14 2016-12-14 广东欧珀移动通信有限公司 A kind of message treatment method, equipment, server and message handling system
CN106357513A (en) * 2016-09-14 2017-01-25 广东欧珀移动通信有限公司 Message processing method, device, server and message processing system
CN106464573A (en) * 2014-06-24 2017-02-22 谷歌公司 Cross-device notifications

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110271202A1 (en) * 2010-04-30 2011-11-03 Yahoo!, Inc. Notifications for multiple points of presence
RU2580438C2 (en) * 2014-09-02 2016-04-10 Общество С Ограниченной Ответственностью "Яндекс" Method (versions) of processing incoming electronic message and the server (versions)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014176738A1 (en) * 2013-04-28 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method and device for transmitting and forwarding a message
CN106464573A (en) * 2014-06-24 2017-02-22 谷歌公司 Cross-device notifications
CN105812315A (en) * 2014-12-29 2016-07-27 北京奇虎科技有限公司 Multi-terminal message transmission method and device based on user login accounts
CN106230647A (en) * 2016-09-14 2016-12-14 广东欧珀移动通信有限公司 A kind of message treatment method, equipment, server and message handling system
CN106357513A (en) * 2016-09-14 2017-01-25 广东欧珀移动通信有限公司 Message processing method, device, server and message processing system

Also Published As

Publication number Publication date
CN113141292A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
US11626116B2 (en) Contingent device actions during loss of network connectivity
CN111192591B (en) Awakening method and device of intelligent equipment, intelligent sound box and storage medium
US20210092195A1 (en) Information push method and device
EP2984578B1 (en) Load-balanced, persistent connection techniques
CN106973330B (en) Screen live broadcasting method, device and system
CN111261159B (en) Information indication method and device
CN111638928B (en) Operation guiding method, device and equipment of application program and readable storage medium
CN110557699B (en) Intelligent sound box interaction method, device, equipment and storage medium
CN112003778B (en) Message processing method, device, equipment and computer storage medium
CN103701994A (en) Automatic responding method and automatic responding device
US20210350805A1 (en) Method, apparatus, device and computer storage medium for processing voices
CN111128201A (en) Interaction method, device, system, electronic equipment and storage medium
CN113141292B (en) Message processing method and device and electronic equipment
CN113067769A (en) Router restarting method, device, equipment and storage medium
US20150294639A1 (en) Method and system for switching a mode of an electronic device
CN112069137A (en) Method and device for generating information, electronic equipment and computer readable storage medium
US20130030682A1 (en) Identification of a person located proximite to a contact identified in an electronic communication client
CN113765939B (en) Calling method, device, equipment and storage medium
CN112489659A (en) Data processing method, system, server and terminal equipment based on input method
CN111986682A (en) Voice interaction method, device, equipment and storage medium
CN112037794A (en) Voice interaction method, device, equipment and storage medium
CN113839854B (en) Message forwarding method, device, equipment, storage medium and program product
KR102527067B1 (en) system that provides an integrated call connection service using multiple channels
CN113079188B (en) Client identification processing method, device, terminal, server, system and medium
CN110896427A (en) Communication interception processing method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant