[go: up one dir, main page]

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

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN112269614A
CN112269614A CN202011158465.1A CN202011158465A CN112269614A CN 112269614 A CN112269614 A CN 112269614A CN 202011158465 A CN202011158465 A CN 202011158465A CN 112269614 A CN112269614 A CN 112269614A
Authority
CN
China
Prior art keywords
message
terminal device
terminal equipment
user
target terminal
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.)
Pending
Application number
CN202011158465.1A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011158465.1A priority Critical patent/CN112269614A/en
Publication of CN112269614A publication Critical patent/CN112269614A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a message processing method and device and electronic equipment, and belongs to the technical field of electronic equipment. The method is applied to a first terminal device, the first terminal device is respectively in communication connection with a plurality of second terminal devices, and when any one of the plurality of second terminal devices receives a message, the message is forwarded to the first terminal device. According to the method and the device, the message is only displayed in the target terminal device, so that the situation that multiple times of disturbance are caused to a user when a plurality of devices receive the displayed message at the same time can be avoided; the target terminal device is a device which is convenient for the user to check the new message and is determined from the first terminal device and the plurality of second terminal devices according to the priority and the message type of the new message, so that the problems that the user cannot check the message in time easily caused by the existing mode of receiving and displaying the message by using a single device and the user is easily disturbed for many times by the mode of simultaneously receiving and displaying the message by using the plurality of devices are solved.

Description

Message processing method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a message processing method and device and electronic equipment.
Background
Currently, with the development of science and technology, a user often has a plurality of smart devices, such as smart watch, smart phone, computer, intelligent bracelet etc. Each intelligent device is a carrier of the message and can provide the user with the message specific to the intelligent device.
However, because some messages are only received at a single device, if the user does not use the device at that time, the user may not be able to view some important messages in a timely manner. In addition, some messages can be received at different devices at the same time, which is easy to cause multiple disturbance to users; meanwhile, when the user uses any receiving device of the message, the user needs to read or process the message, which is easy to bring inconvenience to the user.
Disclosure of Invention
The embodiment of the application aims to provide a message processing method, which can solve the problems that a user cannot check messages in time easily due to the existing message receiving and displaying mode of a terminal device, and the user is easily disturbed for many times.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message processing method, where the method includes:
when first terminal equipment receives a first message, acquiring the equipment type of each terminal equipment and a first distance between each terminal equipment and a user, wherein each terminal equipment comprises the first terminal equipment and a plurality of second terminal equipment in communication connection with the first terminal equipment, and when any one of the plurality of second terminal equipment receives the message, forwarding the message to the first terminal equipment;
determining the priority of each terminal device according to the device type of each terminal device and the corresponding first distance;
determining target terminal equipment from each terminal equipment according to the priority and the message type of the first message;
and sending a second message to the target terminal device, wherein the second message is used for indicating the target terminal device to display the first message.
In a second aspect, an embodiment of the present application provides a message processing apparatus, where the apparatus includes:
an obtaining module, configured to obtain, when a first terminal device receives a first message, a device type of each terminal device and a first distance between each terminal device and a user, where each terminal device includes the first terminal device and a plurality of second terminal devices in communication connection with the first terminal device, and when any one of the plurality of second terminal devices receives a message, forward the message to the first terminal device;
the first determining module is used for determining the priority of each terminal device according to the device type of each terminal device and the corresponding first distance;
a second determining module, configured to determine a target terminal device from each terminal device according to the priority and the message type of the first message;
a first sending module, configured to send a second message to the target terminal device, where the second message is used to instruct the target terminal device to display the first message.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, when a first message is received, a first terminal device acquires the device type of each terminal device in the first terminal device and the plurality of second terminal devices, and a first distance between each terminal device and a user; determining the priority of each terminal device according to the device type of each terminal device and the corresponding first distance; then, determining target terminal equipment from each terminal equipment according to the priority and the message type of the first message; and sending a second message for indicating the target terminal equipment to display the first message to the target terminal equipment, so that the message is displayed on the target terminal equipment. Because the message is only displayed in the target terminal equipment, the situation that a plurality of devices receive the displayed message simultaneously to cause a plurality of disturbances to the user can be avoided; the target terminal device is a device which is determined from the first terminal device and the plurality of second terminal devices according to the priority and the message type of the first message and is convenient for the user to view the first message, so that the problems that the user cannot view the message in time easily caused by the existing mode of receiving and displaying the message by using a single device and the user is easily disturbed for many times by the mode of simultaneously receiving and displaying the message by using the plurality of devices are solved.
Drawings
Fig. 1 is a flowchart illustrating steps of a message processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a message collection process of a plurality of terminal devices in an embodiment of the present application;
fig. 3 is a schematic message output flow diagram of a plurality of terminal devices in the embodiment of the present application;
fig. 4 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The message processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart illustrating steps of a message processing method according to an embodiment of the present application is shown, where as shown in fig. 1, the method may include steps S100 to S400.
Step S100, when a first terminal device receives a first message, obtaining a device type of each terminal device and a first distance between each terminal device and a user, where each terminal device includes the first terminal device and a plurality of second terminal devices communicatively connected to the first terminal device, and when any one of the plurality of second terminal devices receives the message, forwarding the message to the first terminal device.
In the embodiment of the application, the first terminal device and the second terminal device are both terminal devices which can generate messages, receive messages, send messages and display messages, and are owned by a user or associated with the same user; such as a smart watch, a smart phone, a tablet computer, a laptop computer, a smart bracelet, etc. The first terminal device is a core processing device predefined by a user, has high-frequency use, can be in communication connection with other terminal devices, and has an information processing function, and the second terminal device is a smart phone by default.
In addition, in practical applications, the first terminal device may also be a remote server, and the remote server is in communication connection with a plurality of second terminal devices, and may receive messages of the second terminal devices, forward the messages to other second terminal devices, and send indication messages related to message display to the second terminal devices.
In the step S100, the device type is determined based on the difference between the types of the displayable messages of the devices. Specifically, it may be of a type determined based on the presence or absence of a screen and the size of the screen. Because the types of messages that can be displayed by terminal devices with different screen sizes are different, it is necessary to classify each terminal device first to determine the types of messages that can be displayed by the terminal device. For example, a terminal device without a display screen cannot display email information, chat text information, and the like, but can display non-screen messages such as timed reminders and non-text notifications.
Accordingly, the message of the terminal device can be divided into a non-screen message, a small-screen message and a large-screen message according to the requirement of the message on the screen of the device when the message is displayed. The non-screen message refers to a message which does not need to be displayed on a screen, such as non-text communication, timing reminding and the like; a small screen message refers to a message suitable for display on a small screen device, such as an incoming call reminder, a short text message notification, etc.; a large screen message refers to a message suitable for display by a large screen device, such as mail messages, chat text, and the like.
In practical application, the terminal devices can be classified according to whether the terminal devices have display screens or not and the size of the display screens, and the terminal devices are divided into non-screen devices, small-screen devices, large-screen devices and ultra-large-screen devices and pass through the screens. For example, a terminal device without a display screen is used as a non-screen device, a terminal device with a screen size smaller than 2 inches is used as a small-screen device, a terminal device with a screen size greater than or equal to 2 inches and smaller than 12 inches is used as a large-screen device, and a device with a screen size greater than or equal to 12 inches is used as a large-screen device. The non-screen device can display non-screen messages, the small-screen device can display non-screen messages, small-screen messages and thumbnail messages, and the large-screen device and the super-large-screen device can display non-screen messages, small-screen messages and large-screen messages.
In the step S100, the first distance between each terminal device and the user refers to a current actual distance between the terminal device and the user, which is used to define a degree of convenience for the user to view the message through the terminal device.
In the step S100, because the first terminal device communicates with the plurality of second terminal devices, and when any one of the plurality of second terminal devices receives the message, the message is forwarded to the first terminal device, the first message may be directly generated by the first terminal device or forwarded by the second terminal device, but no matter the source of the first message is the first terminal device or the second terminal device, a message alert needs to be performed on the user, so that the device type of each terminal device and the first distance between each terminal device and the user need to be obtained, so as to determine the specific terminal device displaying the message in the following step.
Step S200, determining the priority of each terminal device according to the device type of each terminal device and the corresponding first distance.
In the step S200, the priority refers to a sequence value of the same message viewed by each terminal device, the sequence value is determined by how fast and convenient the user views the message through the terminal device currently, and the higher the fast and convenient program for viewing the message is, the higher the priority of the corresponding terminal device is. Because the convenience degree of the user for viewing the message through the terminal device is related to the device type of the terminal device and the distance between the user and the terminal device, that is, the priority can be determined by the device type of the terminal device and the first distance between the terminal device and the user. If the screen of the terminal device is larger and the distance from the terminal device to the user is shorter, the convenience degree of the user for viewing the message through the terminal device is higher.
Specifically, priority ═ device type priority + device viscosity priority; the device type priority refers to the convenience degree of the different types of terminal devices for viewing the messages at the same distance, and the device viscosity priority refers to the convenience degree of the different types of terminal devices for viewing the messages at the different distances. The larger the screen is, the higher the priority of the device type of the terminal device is; the closer the terminal equipment is to the user, the higher the priority of the corresponding equipment and the current viscosity of the user is.
In addition, considering terminal devices with different screen sizes, the influence degree of the change of the distance between the terminal devices and the user on the message viewed by the user is different, so the viscosity priority of the terminal devices with different screen types is calculated in different modes.
In practical application, a first corresponding relation is established between the device type and the device type priority.
For example, the device type priority of the ultra-large screen device may be set to 20, the device type priority of the large screen device to 18, the device type priority of the small screen device to 10, and the device type priority of the non-screen device to 5.
In practical application, a second corresponding relation is established among the equipment viscosity priority, the equipment type and the first distance. Specifically, for large-screen equipment or ultra-large-screen equipment, the viscosity priority is equal to a first basic value + a preset parameter/the distance between a user and the terminal equipment; for the small-screen device, the viscosity priority is equal to a second base value + a preset parameter/the distance between the user and the terminal device; for the non-screen device, the viscosity priority is the third basic value + the preset parameter/the distance between the user and the terminal device; wherein the first base value is greater than the second base value, and the second base value is greater than the third base value.
For example, a first base value of 20, a second base value of 10, a third base value of 2 and a preset parameter of 1.5 may be set.
Step S300, determining target terminal equipment from each terminal equipment according to the priority and the message type of the first message.
In the step S300, selecting a terminal device which is convenient for the user to view the first message from the terminal devices according to the priority determined in the step S200; meanwhile, determining the message type of the first message according to the source channel, the content and the message characteristics of the first message, and determining terminal equipment suitable for displaying the first message according to the message type; the terminal device which is convenient for the user to view the first message is combined with the terminal device which is determined by the message type and can display the first message, namely the terminal device which is convenient for the user to view the first message and can display the message type to be displayed, namely the target terminal device.
Step S400, sending a second message to the target terminal device, where the second message is used to instruct the target terminal device to display the first message.
In the step S400, after receiving the message, each second terminal device forwards the message to the first terminal device for backup storage, so that after determining the target terminal device, the first terminal device may directly send the second message related to the first message to the target terminal device, and the target terminal device may display the first message.
It should be noted that, if the first terminal device is the target terminal device, the first terminal device directly displays the message.
In the message processing method provided by the embodiment of the application, when a message is received, a first terminal device acquires the device type of each terminal device in the first terminal device and the plurality of second terminal devices and a first distance between each terminal device and a user; determining the priority of each terminal device according to the device type of each terminal device and the corresponding first distance; then, determining target terminal equipment from each terminal equipment according to the priority and the message type of the first message; and sending a second message for indicating the target terminal equipment to display the first message to the target terminal equipment, so that the message is displayed on the target terminal equipment. Because the message is only displayed in the target terminal equipment, the situation that a plurality of devices receive the displayed message simultaneously to cause a plurality of disturbances to the user can be avoided; the target terminal device is a device which is determined from the first terminal device and the plurality of second terminal devices according to the priority and the message type of the first message and is convenient for the user to view the first message, so that the problems that the user cannot view the message in time easily caused by the existing mode of receiving and displaying the message by using a single device and the user is easily disturbed for many times by the mode of simultaneously receiving and displaying the message by using the plurality of devices are solved.
Optionally, in an embodiment, in the step S100, the step of acquiring the first distance between the single terminal device and the user includes steps S101 to S103.
Step S101, under the condition that the terminal equipment is provided with a camera, detecting a first distance between the terminal equipment and a user through the camera.
In step S101, when a terminal device having a camera needs to determine a first distance between the terminal device and a user, the camera of the terminal device is started, and an actual distance between the terminal device and the user is automatically detected by the camera as the first distance. When the actual distance between the terminal device and the user is smaller than the lower limit value of the conventional distance range when the user uses the terminal device, the change of the actual distance does not affect the convenience of the user for using the terminal device any more, so that the first distance can be set as the lower limit value when the actual distance between the terminal device and the user is smaller than the lower limit value of the conventional distance range; similarly, when the actual distance between the terminal device and the user is greater than the upper limit value of the conventional distance range in which the user uses the terminal device, the change in the size of the actual distance no longer affects the convenience of the user in using the terminal device, and therefore, when the actual distance between the terminal device and the user is greater than the upper limit value, the first distance may be set to the upper limit value. For example, the lower limit value of the regular distance range may be set to 0.1m, and the upper limit value of the regular distance range may be set to 5 m.
Step S102, under the condition that the terminal equipment is wearable equipment, determining a first distance between the terminal equipment and the user according to the wearing state of the terminal equipment.
In the step S102, for the wearable device, when the user wears the wearable device, the user can conveniently use the wearable device to view the message; when the user does not wear the device, the user is not convenient to use the device to check the message, and at the moment, under the non-wearing state, the actual distance between the wearable device and the user has small influence on the convenience of the user in using the device. Therefore, for the wearable device, when the wearable device is in a wearing state, the first distance is set to be a first preset value; when the wearing state is not reached, setting the first distance as a second preset value; wherein the second preset value is larger than the first preset value.
In practical application, when the wearable device is in a wearing state, the wearable device is within a conventional distance range when a user uses the terminal device; when the wearable device is not in a wearing state, the wearable device exceeds the conventional distance range when the user uses the terminal device; it is thus also possible to set the first preset value as the lower limit value of the above-mentioned conventional terminal distance range and the second preset value as the upper limit value of the above-mentioned conventional terminal distance range.
Step S103, under the condition that the terminal device does not have a camera and is not a wearable device, determining that a first distance between the terminal device and the user is a preset distance.
In step S103, because the terminal device that does not have a camera and is not a wearable device cannot detect the actual distance from the user through the camera, and cannot determine whether the user conveniently uses the terminal device to view the message through the wearing state, the first distance between the terminal device and the user may be set as the preset distance, so as to calculate the device viscosity priority of the terminal device. For example, the preset distance may be 5 m.
According to the embodiment, the determination mode for determining the first distance between the terminal device and the user is determined according to the type of the terminal device, so that the first distance between the terminal device and the user can be determined more reasonably, and the viscosity priority of the terminal device can be calculated.
Optionally, in an embodiment, the step S300 includes steps S301 to S302.
Step S301, determining a third terminal device in each terminal device, which is matched with the message type of the first message.
In step S301, according to the type of the message received by the first terminal device, a terminal device capable of displaying the message type, that is, the third terminal device matched with the message type of the first message is found from the first terminal device and each of the second terminal devices.
Step S302, when there are a plurality of third terminal devices, determining the third terminal device with the highest priority as the target terminal device.
In the step S302, when the plurality of terminal devices can display the first message, the third terminal device with the highest priority is used as the target terminal device for displaying the first message, so that the user can view the message most conveniently. And in the case that only one terminal device can display the first message, directly taking the terminal device capable of displaying the first message as the target terminal device.
Through the implementation mode, the target terminal device which is convenient for the user to check can be used for displaying the message, and multiple times of disturbance on the user caused by the fact that a plurality of devices receive the displayed message at the same time are avoided.
Optionally, in an embodiment, the step S400 includes steps S401 to S402.
Step S401, when the target terminal device is not the forwarding terminal device of the first message, the first message is sent to the target terminal device to instruct the target terminal device to display the first message.
In the step S401, since each second terminal device forwards the message to the first terminal device when receiving the message, after the first terminal device determines the target terminal device displaying the first message through the step S300, the first terminal device may determine whether the message is from the target terminal device through the source channel of the first message, that is, determine whether the target terminal device is a forwarding device for the first message; if the target terminal device is not the forwarding device of the first message, because the message is not stored at the target terminal device, and the target terminal device is in communication connection with the first terminal device, the first message can be sent to the target terminal device by the first terminal device, and then the first message can be displayed by the target terminal device.
Step S402, when the target terminal device is the forwarding terminal device of the first message, sending a display signal to the target terminal device to instruct the target terminal device to display the first message.
In the above step S402, when the target terminal device determined in step S300 is the forwarding device of the first message, because the first message is already stored in the target terminal device, and the target terminal device is in communication connection with the first terminal device, the first terminal device may send the display signal of the message to the target terminal device, and when receiving the display signal of the first message, the target terminal device displays the first message, so that the user can view the first message.
If the target terminal device is the forwarding device of the first message, the first message will not be displayed if the display signal of the first message sent by the first terminal device is not received.
In the embodiment, when the target terminal device is not the forwarding terminal device of the first message, the first message is directly sent to the target terminal device for display, and when the target terminal device is the forwarding terminal device of the first message, only the display signal indicating the second message of the target terminal device needs to be sent to the target terminal device, so that the message can be displayed on the target terminal device, and unnecessary message data repeated transmission is reduced.
Optionally, in an implementation manner, the message processing method provided in the embodiment of the present invention, after the step S402, further includes the step S500:
step S500, when receiving a reading signal fed back by the target terminal device, sending the reading signal to a forwarding terminal device of the first message, so that the forwarding terminal device updates the first message from an unread state to a read state, where the reading signal is used to indicate that the first message has been read.
In the step S500, when any of the plurality of second terminal devices is the target terminal device, after receiving the instruction of the user to check the first message, the reading signal of the first message is fed back to the first terminal device; if the first terminal device is not the forwarding terminal device of the first message, the first terminal device sends the reading signal to the forwarding terminal device of the first message to inform that the forwarding terminal device is checked by the user, and the state of the first message can be updated from the unread state to the read state, so that the problems that the user is unnecessarily reminded to read or process the first message when the user uses the forwarding terminal device again, and the user is disturbed and inconvenient to use are caused are avoided; and when the first terminal equipment is the forwarding terminal equipment, the first terminal equipment directly updates the state of the first message from the unread state to the read state.
And when the first terminal device is used as the target terminal device, the first terminal device directly generates a reading signal of the message after receiving an instruction of a user for checking the first message, and sends the reading signal to the forwarding terminal device of the first message, and then the forwarding terminal device updates the state of the first message from an unread state to a read state.
In the above embodiment, when the message is read and checked, the target terminal device feeds back a reading signal of the message to the first terminal device, and the first terminal device sends the reading signal to the forwarding terminal device of the message, so that the state of the message in the forwarding terminal device can be updated from an unread state to a read state in time, and the problems that the message is reminded to a user at a plurality of terminal devices, and the user is disturbed and inconvenient to use are effectively avoided.
Referring to fig. 2, a schematic diagram of a message collection process of multiple terminal devices in an embodiment of the present application is shown.
As shown in fig. 2, in step S201, the notification device is a device that ultimately notifies the user of the message; in this step, when each terminal device receives a message, the first terminal device determines whether the device currently receiving the message is a notification device for the user to view the message, that is, the target terminal device; if the current device is not the notification device of the message, step S202 is entered; if the current device is the notification device of the message, step S203 is entered;
in step S202, when the current device is not a notification device of the message, the message is sent to the first terminal device for backup, so that the first terminal device can forward the message to the notification device for display;
in step S203, if the current device is a notification device of the message, the message communication process is entered, that is, the first terminal device notifies the current device to present the message.
Referring to fig. 3, a message output flow diagram of a plurality of terminal devices in the embodiment of the present application is shown.
As shown in fig. 3, in step S311, the first terminal device pushes the newly received unread message to the notification device, so that the user can view and read the message on the notification device;
in step S312, if the notification device detects whether the user has read the message, in case it is detected that the user has read the message, the process proceeds to step S313;
in step S313, the notification device feeds back a reading signal of the message to the first terminal device, so as to inform the first terminal device that the current information is read, and the forwarding terminal device that can notify the message of the first terminal device updates the state of the message from the unread state to the read state.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution main body may be a message processing terminal, or a control module in the message processing terminal, which is used for executing the loading message processing method. In the embodiment of the present application, a message processing terminal executes a method for processing a loading message, which is taken as an example, to describe the message processing method provided in the embodiment of the present application.
Referring to fig. 4, a schematic structural diagram of a message processing apparatus according to an embodiment of the present application is shown, where the message processing apparatus, as shown in fig. 4, includes:
an obtaining module 41, configured to obtain, when a first terminal device receives a first message, a device type of each terminal device and a first distance between each terminal device and a user, where each terminal device includes the first terminal device and a plurality of second terminal devices in communication connection with the first terminal device, and when any one of the plurality of second terminal devices receives a message, forward the message to the first terminal device;
a first determining module 42, configured to determine a priority of each terminal device according to the device type of each terminal device and the corresponding first distance;
a second determining module 43, configured to determine a target terminal device from each terminal device according to the priority and the message type of the first message;
a first sending module 44, configured to send a second message to the target terminal device, where the second message is used to instruct the target terminal device to display the first message.
Optionally, in the message processing apparatus, the first sending module 44 specifically includes:
a first sending unit, configured to send the first message to the target terminal device to instruct the target terminal device to display the first message when the target terminal device is not a forwarding terminal device of the first message;
a second sending unit, configured to send a display signal to the target terminal device to instruct the target terminal device to display the first message when the target terminal device is a forwarding terminal device of the first message.
Optionally, the apparatus further comprises:
and the second sending module is used for sending the first message to the target terminal equipment to indicate the target terminal equipment to display the first message after the step of sending the first message to the target terminal equipment when receiving a reading signal fed back by the target terminal equipment, and sending the reading signal to the forwarding terminal equipment of the first message so that the forwarding terminal equipment can update the first message from an unread state to a read state, wherein the reading signal is used for indicating that the first message is read.
Optionally, in the message processing apparatus, the second determining module 43 includes:
a first determining unit, configured to determine a third terminal device, which is in each terminal device and matches with the message type of the first message;
a second determining unit, configured to determine, when the number of the third terminal devices is multiple, the third terminal device with the highest priority as the target terminal device.
Optionally, in the message processing apparatus, the obtaining module 41 includes:
the terminal equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for detecting a first distance between the terminal equipment and a user through a camera under the condition that the terminal equipment is provided with the camera;
a third determining unit, configured to determine, according to a wearing state of the terminal device, a first distance between the terminal device and the user when the terminal device is a wearable device;
a fourth determining unit, configured to determine that the first distance between the terminal device and the user is a preset distance when the terminal device does not have a camera and is not a wearable device.
The message processing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message processing apparatus in the 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, and embodiments of the present application are not limited specifically.
The message processing apparatus provided in the embodiment of the present application can implement each process implemented by the message processing method in the method embodiments of fig. 1 to fig. 3, and is not described here again to avoid repetition.
In the embodiment of the application, because the message is only displayed in the target terminal equipment, multiple times of disturbance on a user caused by the fact that a plurality of pieces of equipment receive the displayed message simultaneously can be avoided; the target terminal device is a device which is convenient for the user to check the message and is determined from the first terminal device and the plurality of second terminal devices according to the priority and the message type of the message, so that the problems that the user cannot check the message in time easily caused by the existing mode of receiving and displaying the message by a single device and the user is easily disturbed for many times by the mode of simultaneously receiving and displaying the message by a plurality of devices are solved.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction, when executed by the processor, implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 50 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 50 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 510 is configured to, when a first terminal device receives a first message, obtain a device type of each terminal device and a first distance between each terminal device and a user, where each terminal device includes the first terminal device and a plurality of second terminal devices communicatively connected to the first terminal device, and when any one of the plurality of second terminal devices receives a message, forward the message to the first terminal device; determining the priority of each terminal device according to the device type of each terminal device and the corresponding first distance; determining target terminal equipment from each terminal equipment according to the priority and the message type of the first message; and sending a second message to the target terminal device, wherein the second message is used for indicating the target terminal device to display the first message.
According to the electronic equipment provided by the embodiment of the application, because the message is only displayed in the target terminal equipment, multiple times of disturbance on a user caused by the fact that a plurality of pieces of equipment receive the displayed message simultaneously can be avoided; the target terminal device is a device which is determined from the first terminal device and the plurality of second terminal devices according to the priority and the message type of the first message and is convenient for the user to view the first message, so that the problems that the user cannot view the message in time easily caused by the existing mode of receiving and displaying the message by using a single device and the user is easily disturbed for many times by the mode of simultaneously receiving and displaying the message by using the plurality of devices are solved.
Optionally, the processor 510 is specifically configured to, when the target terminal device is not the forwarding terminal device of the first message, send the first message to the target terminal device, so as to instruct the target terminal device to display the first message; and when the target terminal equipment is the forwarding terminal equipment of the first message, sending a display signal to the target terminal equipment to indicate the target terminal equipment to display the first message.
Optionally, the processor 510 is further configured to, when the target terminal device is not the forwarding device of the first message, send the first message to the target terminal device to indicate that the target terminal device displays the first message, and when a reading signal fed back by the target terminal device is received, send the reading signal to the forwarding terminal device of the first message, so that the forwarding terminal device updates the first message from an unread state to a read state, where the reading signal is used to indicate that the first message has been read.
Optionally, the processor 510 is specifically configured to determine a third terminal device, which is in each terminal device and is matched with the message type of the first message; and under the condition that the number of the third terminal equipment is multiple, determining the third terminal equipment with the highest priority as the target terminal equipment.
Optionally, the processor 510 is specifically configured to, in a case that the terminal device has a camera, detect a first distance between the terminal device and a user through the camera; under the condition that the terminal equipment is wearable equipment, determining a first distance between the terminal equipment and the user according to the wearing state of the terminal equipment; determining that a first distance between the terminal device and the user is a preset distance under the condition that the terminal device does not have a camera and is not a wearable device.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A method of message processing, the method comprising:
when first terminal equipment receives a first message, acquiring the equipment type of each terminal equipment and a first distance between each terminal equipment and a user, wherein each terminal equipment comprises the first terminal equipment and a plurality of second terminal equipment in communication connection with the first terminal equipment, and when any one of the plurality of second terminal equipment receives the message, forwarding the message to the first terminal equipment;
determining the priority of each terminal device according to the device type of each terminal device and the corresponding first distance;
determining target terminal equipment from each terminal equipment according to the priority and the message type of the first message;
and sending a second message to the target terminal device, wherein the second message is used for indicating the target terminal device to display the first message.
2. The message processing method according to claim 1, wherein the step of sending the second message to the target terminal device specifically includes:
when the target terminal equipment is not forwarding terminal equipment of the first message, sending the first message to the target terminal equipment to instruct the target terminal equipment to display the first message;
and when the target terminal equipment is the forwarding terminal equipment of the first message, sending a display signal to the target terminal equipment to indicate the target terminal equipment to display the first message.
3. The message processing method according to claim 2, wherein after the step of sending the first message to the target terminal device to instruct the target terminal device to display the first message when the target terminal device is not a forwarding device of the first message, the method further comprises:
and when a reading signal fed back by the target terminal equipment is received, sending the reading signal to the forwarding terminal equipment of the first message, so that the forwarding terminal equipment updates the first message from an unread state to a read state, wherein the reading signal is used for indicating that the first message is read.
4. The method of claim 1, wherein the determining a target terminal device from the core terminal device and the plurality of peripheral terminal devices according to the priority and the message type of the first message comprises:
determining a third terminal device which is matched with the message type of the first message in each terminal device;
and under the condition that the number of the third terminal equipment is multiple, determining the third terminal equipment with the highest priority as the target terminal equipment.
5. The message processing method of claim 1, wherein the step of obtaining the first distance between the single terminal device and the user comprises:
under the condition that the terminal equipment is provided with a camera, detecting a first distance between the terminal equipment and a user through the camera;
under the condition that the terminal equipment is wearable equipment, determining a first distance between the terminal equipment and the user according to the wearing state of the terminal equipment;
determining that a first distance between the terminal device and the user is a preset distance under the condition that the terminal device does not have a camera and is not a wearable device.
6. A message processing apparatus, characterized in that the apparatus comprises:
an obtaining module, configured to obtain, when a first terminal device receives a first message, a device type of each terminal device and a first distance between each terminal device and a user, where each terminal device includes the first terminal device and a plurality of second terminal devices in communication connection with the first terminal device, and when any one of the plurality of second terminal devices receives a message, forward the message to the first terminal device;
the first determining module is used for determining the priority of each terminal device according to the device type of each terminal device and the corresponding first distance;
a second determining module, configured to determine a target terminal device from each terminal device according to the priority and the message type of the first message;
a first sending module, configured to send a second message to the target terminal device, where the second message is used to instruct the target terminal device to display the first message.
7. The message processing apparatus according to claim 6, wherein the first sending module specifically comprises:
a first sending unit, configured to send the first message to the target terminal device to instruct the target terminal device to display the first message when the target terminal device is not a forwarding terminal device of the first message;
a second sending unit, configured to send a display signal to the target terminal device to instruct the target terminal device to display the first message when the target terminal device is a forwarding terminal device of the first message.
8. The message processing apparatus according to claim 7, wherein the apparatus further comprises:
and the second sending module is used for sending the first message to the target terminal equipment to indicate the target terminal equipment to display the first message after the step of sending the first message to the target terminal equipment when receiving a reading signal fed back by the target terminal equipment, and sending the reading signal to the forwarding terminal equipment of the first message so that the forwarding terminal equipment can update the first message from an unread state to a read state, wherein the reading signal is used for indicating that the first message is read.
9. The message processing apparatus of claim 6, wherein the second determining module comprises:
a first determining unit, configured to determine a third terminal device, which is in each terminal device and matches with the message type of the first message;
a second determining unit, configured to determine, when the number of the third terminal devices is multiple, the third terminal device with the highest priority as the target terminal device.
10. The message processing method according to claim 6, wherein the obtaining module comprises:
the terminal equipment comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for detecting a first distance between the terminal equipment and a user through a camera under the condition that the terminal equipment is provided with the camera;
a third determining unit, configured to determine, according to a wearing state of the terminal device, a first distance between the terminal device and the user when the terminal device is a wearable device;
a fourth determining unit, configured to determine that the first distance between the terminal device and the user is a preset distance when the terminal device does not have a camera and is not a wearable device.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the message processing method as claimed in claims 1-5.
CN202011158465.1A 2020-10-26 2020-10-26 Message processing method and device and electronic equipment Pending CN112269614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011158465.1A CN112269614A (en) 2020-10-26 2020-10-26 Message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011158465.1A CN112269614A (en) 2020-10-26 2020-10-26 Message processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112269614A true CN112269614A (en) 2021-01-26

Family

ID=74341442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011158465.1A Pending CN112269614A (en) 2020-10-26 2020-10-26 Message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112269614A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125048A (en) * 2021-11-16 2022-03-01 Oppo广东移动通信有限公司 Message push setting method and device, storage medium and electronic equipment
CN115695653A (en) * 2021-07-23 2023-02-03 Oppo广东移动通信有限公司 Message prompting method and device, electronic equipment and readable storage medium
CN116418911A (en) * 2021-12-29 2023-07-11 Oppo广东移动通信有限公司 Message viewing method and related device
WO2023216908A3 (en) * 2022-05-07 2024-04-04 华为技术有限公司 Message pushing method, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955846A (en) * 2014-05-08 2014-07-30 上海亿动信息技术有限公司 Control method and device for controlling multi-terminal intelligent feedback in information processing system
CN104394061A (en) * 2014-10-31 2015-03-04 小米科技有限责任公司 Communication message pushing method and device
CN105847155A (en) * 2016-03-14 2016-08-10 北京小米移动软件有限公司 Method and device for transmitting notification message
US20170131964A1 (en) * 2015-11-06 2017-05-11 Samsung Electronics Co., Ltd. Method for displaying virtual object in plural electronic devices and electronic device supporting the method
CN107645600A (en) * 2017-09-26 2018-01-30 上海爱优威软件开发有限公司 A kind of method for information display, terminal, wearable device and system
CN109377987A (en) * 2018-08-31 2019-02-22 百度在线网络技术(北京)有限公司 Exchange method, device, equipment and the storage medium of intelligent sound equipment room
CN111161515A (en) * 2018-11-07 2020-05-15 奇酷互联网络科技(深圳)有限公司 Reminding information pushing method, terminal equipment and computer readable storage medium
CN111614705A (en) * 2019-02-25 2020-09-01 华为技术有限公司 Method and system for service decision distribution among multiple terminal devices

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955846A (en) * 2014-05-08 2014-07-30 上海亿动信息技术有限公司 Control method and device for controlling multi-terminal intelligent feedback in information processing system
CN104394061A (en) * 2014-10-31 2015-03-04 小米科技有限责任公司 Communication message pushing method and device
US20170131964A1 (en) * 2015-11-06 2017-05-11 Samsung Electronics Co., Ltd. Method for displaying virtual object in plural electronic devices and electronic device supporting the method
CN105847155A (en) * 2016-03-14 2016-08-10 北京小米移动软件有限公司 Method and device for transmitting notification message
CN107645600A (en) * 2017-09-26 2018-01-30 上海爱优威软件开发有限公司 A kind of method for information display, terminal, wearable device and system
CN109377987A (en) * 2018-08-31 2019-02-22 百度在线网络技术(北京)有限公司 Exchange method, device, equipment and the storage medium of intelligent sound equipment room
CN111161515A (en) * 2018-11-07 2020-05-15 奇酷互联网络科技(深圳)有限公司 Reminding information pushing method, terminal equipment and computer readable storage medium
CN111614705A (en) * 2019-02-25 2020-09-01 华为技术有限公司 Method and system for service decision distribution among multiple terminal devices

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695653A (en) * 2021-07-23 2023-02-03 Oppo广东移动通信有限公司 Message prompting method and device, electronic equipment and readable storage medium
CN114125048A (en) * 2021-11-16 2022-03-01 Oppo广东移动通信有限公司 Message push setting method and device, storage medium and electronic equipment
CN114125048B (en) * 2021-11-16 2024-05-17 Oppo广东移动通信有限公司 Message push setting method and device, storage medium and electronic equipment
CN116418911A (en) * 2021-12-29 2023-07-11 Oppo广东移动通信有限公司 Message viewing method and related device
WO2023216908A3 (en) * 2022-05-07 2024-04-04 华为技术有限公司 Message pushing method, and electronic device

Similar Documents

Publication Publication Date Title
CN112269614A (en) Message processing method and device and electronic equipment
EP2879037B1 (en) Mobile terminal and controlling method thereof
CN106557330B (en) Method and device for processing notification information of notification bar of mobile terminal system and mobile terminal
US20190205187A1 (en) System and methods for launching an application on an electronic device
CN109769065B (en) Message display method and device, mobile terminal and storage medium
US9485632B2 (en) Activity-aware intelligent alerting and delivery of electronic short messages, and related methods, apparatuses, and computer-readable media
US20100223569A1 (en) Method for providing a notification on a portable electronic device
US11899924B2 (en) Notification message display control method and apparatus, electronic device, and readable storage medium
US9197730B2 (en) Mobile terminal and controlling method thereof
US9485364B2 (en) Method of displaying icons according to service usage states and mobile terminal supporting the same
EP3531290A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
US9549374B2 (en) Mobile terminal operating based on use pattern and controlling method thereof
EP4206913A1 (en) Function execution method and apparatus
CN107766548B (en) Information display method and device, mobile terminal and readable storage medium
EP3582450B1 (en) Message notification method and terminal
CN110716676A (en) Message reminding method and terminal
CN108229920B (en) Affair reminding method and mobile terminal
US20240045566A1 (en) Notification message display method and apparatus, device, readable storage medium, and chip
EP3035657A1 (en) Method for controlling communication setting of mobile terminal and mobile terminal
WO2022012662A1 (en) Notification display method and apparatus, and electronic device
EP2763373B1 (en) Mobile terminal and controlling method thereof
CN108235237B (en) Data reporting method and device, mobile terminal and computer readable medium
EP2224324A1 (en) Method for providing a notification on a portable electronic device
CN107346483A (en) Alarm setting method, device, storage medium and electronic equipment
CN106302101B (en) Message reminding method, terminal and server

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