CN115086888A - Message notification method and device and electronic equipment - Google Patents

Message notification method and device and electronic equipment Download PDF

Info

Publication number
CN115086888A
CN115086888A CN202110263321.0A CN202110263321A CN115086888A CN 115086888 A CN115086888 A CN 115086888A CN 202110263321 A CN202110263321 A CN 202110263321A CN 115086888 A CN115086888 A CN 115086888A
Authority
CN
China
Prior art keywords
message
notification
indication information
equipment
target
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.)
Granted
Application number
CN202110263321.0A
Other languages
Chinese (zh)
Other versions
CN115086888B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110263321.0A priority Critical patent/CN115086888B/en
Publication of CN115086888A publication Critical patent/CN115086888A/en
Application granted granted Critical
Publication of CN115086888B publication Critical patent/CN115086888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a message notification method and device and electronic equipment, wherein the method comprises the following steps: the method comprises the steps that source equipment acquires a first message and/or first indication information to be notified, wherein the first indication information is used for indicating whether electronic equipment in an equipment group is suitable for executing notification of the first message; the source device determines a target device for executing the notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message; the source device controls the target device to perform the notification of the first message. Therefore, the embodiment of the application is beneficial to realizing that the other electronic devices in the device group except the source device assist (or cooperate) to notify the first message, avoiding that the user cannot check the first message in time, further realizing the message cooperation notification among the devices, improving the cooperation processing capability among the devices, ensuring the personalized message notification of the user, and improving the use experience of the user.

Description

Message notification method and device and electronic equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a message notification method and apparatus, and an electronic device.
Background
With the development of the internet of things, a user may have multiple electronic devices at the same time, and the electronic devices may have multiple forms, such as a mobile phone, a computer, a tablet, a television, a watch, and the like, and different devices may be equipped with different operating systems, software and hardware architectures, and the like. For example, a computer may be equipped with a system such as Windows or Mac, and a mobile phone may be equipped with a system such as Android or IOS.
In addition, human-computer interaction is an important way for communication between a user and a device, and message notification is a passive human-computer interaction, i.e., an electronic device actively reminds the user to attract the attention of the user to perform interaction. However, when a user owns a plurality of electronic devices at the same time, the user may not view a message delivered to a certain electronic device in time. Therefore, how the device performs the message notification still needs further research.
Disclosure of Invention
The embodiment of the application provides a message notification method and device and electronic equipment, so that the notification of a first message is assisted (or cooperated) by other electronic equipment except a source device in an equipment group, the situation that a user cannot check the first message in time is avoided, further the message cooperative notification among the equipment is realized, the cooperative processing capability among the equipment is improved, the personalized message notification of the user is ensured, and the use experience of the user is improved.
In a first aspect, an embodiment of the present application provides a message notification method, which is applied to a source control device, where the source device is an electronic device in a device group; the method comprises the following steps:
acquiring a first message and/or first indication information to be notified, wherein the first indication information is used for indicating whether electronic equipment in the equipment group is suitable for executing notification of the first message;
determining a target device for performing notification of the first message from the device group according to the important notification degree of the first message and/or the first indication information;
controlling the target device to perform the notification of the first message.
In a second aspect, an embodiment of the present application provides a message notification apparatus, which is applied to a source device, where the source device is an electronic device in a device group; the apparatus comprises a processing unit to:
acquiring a first message and/or first indication information to be notified, wherein the first indication information is used for indicating whether electronic equipment in the equipment group is suitable for executing notification of the first message;
determining a target device for executing the notification of the first message from the device group according to the important notification degree of the first message and/or the first indication information;
controlling the target device to perform the notification of the first message.
In a third aspect, an embodiment of the present application provides an electronic device, which is a source device and includes a processor, a memory and a communication interface, where the memory stores one or more programs, and the one or more programs are executed by the processor, and the one or more programs are used for executing the instructions of the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program is operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, the present application provides a computer program product, where the computer program product includes a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, first, a source device acquires a first message and/or first indication information to be notified, where the first indication information is used to indicate whether electronic devices in a device group are suitable for executing notification of the first message; secondly, the source device determines a target device for executing the notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message; finally, the source device controls the target device to perform the notification of the first message. The target device may include at least one electronic device in the device group for executing the notification of the first message, so that the notification of the first message is facilitated to be performed by the other electronic devices in the device group except the source device through the important notification degree and/or the first indication information of the first message, the user is prevented from failing to check the first message in time, the message collaborative notification among the devices is further achieved, the collaborative processing capability among the devices is improved, the personalized message notification of the user is ensured, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It is to be expressly understood that the drawings described below are only illustrative of some embodiments of the invention. It is also possible for a person skilled in the art to derive other figures from these figures without inventive effort.
Fig. 1 is a schematic architecture diagram of a device group according to an embodiment of the present application;
fig. 2 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a message notification method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a further message notification method according to an embodiment of the present application;
fig. 6 is a schematic view of a scenario of a message notification provided in an embodiment of the present application;
fig. 7 is a schematic view of a further scenario of message notification provided in an embodiment of the present application;
fig. 8 is a schematic view of a further scenario of message notification provided in an embodiment of the present application;
fig. 9 is a block diagram illustrating functional units of a message notification apparatus according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions of the present application, the following description is given for clarity and completeness in conjunction with the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the description of the embodiments of the present application without inventive step, are within the scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, software, product or apparatus that comprises a list of steps or elements is not limited to those listed but may alternatively include other steps or elements not listed or inherent to such process, method, product or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Before describing the technical solutions of the embodiments of the present application, the following will first introduce related concepts, device groups, software and hardware structures of electronic devices, and the like, which may be related to the present application.
The message notification method provided by the embodiment of the application can be applied to the equipment group. The electronic devices in the device group can communicate with each other through a wireless network or a wired network. In addition, in the embodiments of the present application, a scenario of a device group may also be referred to as a multi-device scenario. In the multi-device scenario, the same user can perform human-computer interaction with multiple devices.
Specifically, the wireless network may include a mobile cellular network (e.g., a fifth generation 5G mobile communication network), a satellite communication network, an internet of things, a Wireless Local Area Network (WLAN), a Wide Area Network (WAN), Bluetooth (BT), wireless fidelity (Wi-Fi), Zigbee (Zigbee), Near Field Communication (NFC), Ultra Wide Band (UWB), visible light communication (LiFi), infrared technology (IR), and the like; the wired network may be a network constructed by data lines such as a High Definition Multimedia Interface (HDMI) data line and a Universal Serial Bus (USB) data line.
For example, each electronic device in the device group may be connected to the same WLAN network through a relay device (e.g., a router).
Specifically, the electronic device according to the embodiment of the present application may be a handheld device, a vehicle-mounted device, a wearable device, an Augmented Reality (AR) device, a Virtual Reality (VR) device, a projection device, a projector, or other devices connected to a wireless modem, or may be various User Equipments (UEs), terminal devices (terminal devices), mobile phones, smart phones (smart phones), smart screens, smart tvs, smart watches, notebook computers, smart refrigerators, smart air conditioners, smart sounds, cameras, game pads, microphones, stations (stations, STAs), Access Points (APs), Mobile Stations (MSs), Personal Digital Assistants (PDAs), personal computers (personal computers, PCs), or relay devices.
For example, please refer to fig. 1. The device group 110 includes a cell phone 1101, a smart television 1102, a notebook 1103, a smart watch 1104, and the like. Meanwhile, each electronic device in the device group 110 is communicatively connected to each other through a wireless network or a wired network.
Further, each electronic device in the device group may be a device under the same user account. For example, when a user logs in a mobile phone, a desktop computer, a smart screen, a notebook computer, a relay device and a smart watch using the same user account, the device group includes the mobile phone, the desktop computer, the smart screen, the notebook computer, the relay device and the smart watch, and the mobile phone, the desktop computer, the smart screen, the notebook computer, the relay device and the smart watch can communicate with each other through a wireless network.
Further, each electronic device in the device group may be associated with user identification information of the same user. The user identification information may include at least one of physiological characteristic information (such as hand shape, fingerprint, voiceprint, iris, face, and the like), and user account information (such as a user account number, and the like). That is, each electronic device in the device group may be a device under the same user account. For example, a user logs in each electronic device in the registered device using the same user account; the user has unlocked or authenticated each electronic device in the registered device using voice/face/fingerprint/gesture, etc.
Further, each electronic device in the device group may be connected to the same WLAN network through a relay device (e.g., a router). For example, when a user accesses a mobile phone, a desktop computer, a smart screen, a notebook computer and a smart watch to a Wi-Fi network provided by a relay device, the at least two electronic devices 110 include the mobile phone, the desktop computer, the smart screen, the notebook computer, the relay device and the smart watch, and the mobile phone, the desktop computer, the smart screen, the notebook computer, the relay device and the smart watch form a WLAN network, so that the devices in the WLAN network can communicate with each other through the relay device.
Further, each electronic device in the device group may form a Peer-to-Peer (P2P) network through a wireless communication manner (e.g., bluetooth, Zigbee, NFC, UWB, etc.). For example, a user forms a P2P network by scanning NFC tags with devices such as a mobile phone, a notebook computer, and a smart watch, and all devices in the P2P network may communicate with each other.
Further, the electronic devices in the device group may store device identification information of each other. The device identification information may include a Media Access Control (MAC) address, an Internet Protocol (IP) address, a Serial Number (SN), and the like. Therefore, a certain electronic device in the device group can cooperatively operate the other electronic device through the device identification information of the other electronic device stored in the electronic device group (for example, cooperatively operate the other electronic device to notify the message to be notified of the electronic device), so that the cooperative operation capability among multiple devices is realized.
Further, the device group may include a source device. It should be noted that each electronic device in the device group may be installed with an application or manager (e.g., a message manager or a notification manager) for generating a message, and the application or manager may generate a message to be notified (or reminded) when a set event is met (e.g., a control command for message generation issued by the server). When an electronic device in the device group acquires a message to be notified, the electronic device may be referred to as a source device. For example, when the mobile phone receives a control command of a short message sent by the server, the operating system in the mobile phone responds to the control command to generate the short message to be notified. If the user sets the silent notification for the short message notification function of the mobile phone, the mobile phone executes the notification of the short message in a silent notification mode.
Further, the device group may include a target device, which may include one or more electronic devices in the device group for performing notification of the message. It will be appreciated that the target device may comprise the source device described above.
The following describes the structure of the electronic device in the embodiment of the present application in detail with reference to fig. 2, and it should be understood that the structure illustrated in fig. 2 does not specifically limit the device. In other embodiments of the present application, the apparatus may also include more or fewer components than illustrated in FIG. 2, or some components may be combined, some components may be split, or a different arrangement of components. In addition, the components illustrated in FIG. 2 may be implemented in hardware, software, or a combination of software and hardware.
Referring to fig. 2, the electronic device may include a processor 210, an antenna 1, an antenna 2, a mobile communication module 220, a wireless communication module 230, an audio module 240, a sensor module 250, a display module 260, a camera module 270, a charging management module 280, an internal memory 2901, an external memory interface 2902, and the like.
In particular, processor 210 may include one or more processing units. For example, the processor 210 may include a Central Processing Unit (CPU), an Application Processor (AP), a modem processor, a Graphic Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), an application-specific integrated circuit (ASIC), a baseband processor and/or a neural Network Processor (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors.
Further, a memory may be disposed within processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 210. If the processor 210 needs to reuse the instruction or data, it can be called directly from the memory, thereby avoiding repeated accesses and reducing the latency of the processor 210 to improve system efficiency.
Further, the processor 210 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, and the like.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 220, the wireless communication module 230, the modem processor, the baseband processor, and the like. Wherein the antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in an electronic device may be used to cover a single or multiple communication bands. In addition, different antennas can be multiplexed to improve the utilization rate of the antennas. For example, antenna 1 is multiplexed as a diversity antenna for a wireless local area network.
Specifically, the mobile communication module 220 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied to the electronic device. The mobile communication module 220 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like.
Further, the mobile communication module 220 may receive the electromagnetic wave from the antenna 1, and filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem for demodulation. In addition, the mobile communication module 220 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave.
Further, at least a part of the functional modules of the mobile communication module 220 may be disposed in the processor 210; alternatively, at least some of the functional modules of the mobile communication module 220 may be disposed in the same device as some of the modules of the processor 210.
Specifically, the wireless communication module 230 may provide a solution for wireless communication applied to the electronic device, including Bluetooth (BT), Wireless Local Area Network (WLAN), wireless fidelity (Wi-Fi) network, Near Field Communication (NFC), infrared technology (IR), and the like.
Further, the wireless communication module 230 may be one or more devices integrating at least one communication processing module. The wireless communication module 230 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 230 may also receive a signal to be transmitted from the processor 210, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic wave radiation by the antenna 2.
It should be noted that the electronic device may implement an audio function through the audio module 240, the speaker 2401, the receiver 2402, the microphone 2403, the earphone interface 2404, the processor 210, and the like. Such as music/video playback, recording, etc.
Specifically, the audio module 240 may be configured to convert digital audio information into an analog audio signal for output, and may also be configured to convert an analog audio input into a digital audio signal. In addition, the audio module 240 may also be used to encode and decode an audio signal. In some possible examples, the audio module 240 may be disposed in the processor 210, or some functional modules of the audio module 240 may be disposed in the processor 210.
In particular, speaker 2401 may be used to convert electrical audio signals into sound signals. The electronic apparatus can listen to sound played in music/video through the speaker 2401, or listen to a handsfree call, or the like.
In particular, receiver 2402 may be used to convert an electrical audio signal into an acoustic signal. When the electronic device receives a call or voice information, the receiver 2402 can be close to the ear to receive voice.
In particular, microphone 2403 may be used to convert acoustic signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 2403 by sounding a voice signal near the microphone 2403 through the mouth of the user. In addition, the electronic device may be provided with at least one microphone 2403. In some possible examples, the electronic device may be provided with two microphones 2403, which may implement a noise reduction function in addition to collecting sound signals; in some possible examples, the electronic device may further provide three, four or more microphones 2403, which may be used to identify the sound source to implement directional recording function, etc. besides acquiring sound signals or reducing noise, and the invention is not limited in this respect.
In particular, the headset interface 2404 may be used to connect wired headsets. The headset interface 2404 may be a USB interface 2803, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface, or the like.
Specifically, the sensor module 250 may include an inertial sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, an ultra-wideband UWB sensor, a near field communication NFC sensor, a laser sensor, a visible light sensor, and/or the like.
The electronic device may implement a display function through the GPU, the display module 260, the processor 210, and the like. The GPU may be configured to perform mathematical and geometric calculations and perform graphics rendering, among other things. Additionally, the GPU may be a microprocessor for image processing and connect the display module 260 and the processor 210. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
In particular, the display module 260 may be a display screen for displaying images, videos, and the like. The display module 260 may include a display panel, among others. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a quantum dot light-emitting diode (QLED), or the like. In some possible examples, the electronic device may include 1 or more display modules 260.
The electronic device may implement a shooting function through the ISP, the DSP, the camera module 270, the video codec, the GPU, the display module 260, the processor 210, and the like. The ISP may be configured to process data fed back by the camera module 270. For example, when a photo is taken, the shutter is opened first, then light is transmitted to the camera photosensitive element through the lens, so that an optical signal is converted into an electrical signal, and finally the electrical signal is transmitted to the ISP through the camera photosensitive element to be processed so as to be converted into an image visible to naked eyes. In addition, the ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some possible examples, the ISP or DSP may be provided in the camera module 270.
In particular, the camera module 270 may be a camera for capturing still/moving images or video. The object generates an optical image through a lens and projects the optical image onto a photosensitive element, and the photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then transmitted to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some possible examples, the electronic device may include 1 or more camera modules 270.
In particular, the charge management module 280 may be configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some possible examples, the charging management module 280 may receive charging input of a wired charger through the USB interface 2803. In some possible examples, the charging management module 280 may receive the wireless charging input through a wireless charging coil of the electronic device. While the charging management module 280 charges the battery 2801, power may also be supplied to the electronic device through the power management module 2802.
It is noted that the power management module 2802 may be used to connect the battery 2801, the charge management module 280, and the processor 210. The power management module 2802 receives input from the battery 2801 and/or the charge management module 280, and provides power to various modules in the electronic device, the processor 210, and the like.
Specifically, the power management module 2802 may also be configured to monitor parameters such as battery capacity, battery cycle count, and battery state of health (leakage, impedance). In some possible examples, the power management module 2802 may also be disposed in the processor 210; in some possible examples, the power management module 2802 and the charge management module 280 may also be disposed in the same device.
It is noted that internal memory 2901 can be utilized to store computer-executable program code, including instructions. The processor 210 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 2901. In some possible examples, the internal memory 2901 stores program codes that execute the technical solutions of the embodiments of the present application.
Specifically, the internal memory 2901 may include a program storage area and a data storage area. The storage program area may store an operating system, application programs (e.g., a sound playing function, an image playing function, etc.) required for at least one function, and the like. The storage data area may store data (e.g., audio data, a phonebook, etc.) created during use of the electronic device, and the like. In addition, the internal memory 2901 can include high-speed random access memory, and can also include non-volatile memory. Such as at least one magnetic disk storage device, flash memory device, Universal Flash Storage (UFS), etc.
Specifically, the external memory interface 2902 can be used for connecting an external memory card, such as a micro SD card, to implement expansion of the storage capability of the electronic device. The external memory card communicates with the processor 210 through the external memory interface 2902, implementing data storage functionality. For example, files such as music, video, and the like are saved in an external memory card.
In this embodiment, a software system of a master device or a controlled device (hereinafter referred to as a device) may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the following, the embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of a master control device.
Fig. 3 is a schematic diagram of an architecture of a software and hardware system with an Android system. The internal memory 2901 may store a kernel layer 320, a system runtime layer 340, an application framework layer 360, and an application layer 380. The layers communicate with each other through a software interface, and the kernel layer 320, the system runtime layer 340 and the application framework layer 360 belong to an operating system space.
Specifically, the application layer 380 belongs to a user space, and at least one application program (or simply "application") runs in the application layer 380, and the application program may be a native application program carried by an operating system itself or a third-party application program developed by a third-party developer. For example, the application layer 380 may include applications for cameras, galleries, calendars, conversations, maps, navigation, WLAN, Bluetooth, music, messaging, video, and short messages.
It should be noted that the application framework layer 360 provides various Application Programming Interfaces (APIs) and programming frameworks that may be used by the application programs that build the application layer, so that developers can build their own application programs by using these APIs. For example, a window manager (window manager), a content provider (content providers), a view system (view system), a telephone manager (telephone manager), a resource manager, a notification manager (notification manager), a message manager, an activity manager (activity manager), a package manager (package manager), a location manager (location manager), and an NFC service, etc.
In particular, a window manager may be used to manage the windowing program. The window manager can obtain the size of the display screen and judge whether a status bar, a lock screen, a capture screen and the like exist.
In particular, the content provider may be used to store and retrieve data and make the data accessible to applications. The data may include, among other things, video, images, audio, calls made and answered, browsing history and bookmarks, phone books, and the like. In addition, the content provider may enable an application to access data of another application, such as a contacts database, or to share their own data.
In particular, the view system includes visual controls. For example, controls for displaying text, controls for displaying pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
In particular, the phone manager is used to provide communication functions for the electronic device. For example, management of call status (e.g., on, off, etc.).
In particular, the resource manager may provide various resources for the application. Such as localized strings, icons, pictures, layout files, video files, etc.
Specifically, the notification manager enables the application to display notification messages and the like in the status bar, can be used to convey the message type of the notification messages, and can disappear automatically after a short dwell, without user interaction. For example, a notification manager is used to inform about download completion, message alerts, message notifications, and the like. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system. Additionally, the notification of the application running in the background may also be a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, a prompt tone is sounded, the electronic device vibrates, indicator lights flash, and the like.
Specifically, the message manager may be configured to store data of messages reported by each application program, and process the data reported by each application program.
In particular, the campaign manager may be used to manage application lifecycle and provide common navigation fallback functionality. In one possible example, the message manager may be part of the notification manager.
It should be noted that the system runtime library layer 340 provides a main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system Runtime layer 340 is an Android Runtime library (Android Runtime), which mainly provides some core libraries capable of allowing developers to write Android applications using the Java language.
Specifically, the kernel layer 320 may provide underlying drivers for various hardware of the electronic device, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, a power management, an NFC driver, a UWB driver, and the like.
With the development of the internet of things, a user may have multiple electronic devices at the same time, and the electronic devices may have multiple forms, such as a mobile phone, a computer, a tablet, a television, a watch, and the like, and different devices may be equipped with different operating systems, software and hardware architectures, and the like. For example, a computer may be equipped with a system such as Windows or Mac, and a mobile phone may be equipped with a system such as Android or IOS.
In addition, human-computer interaction is an important way for communication between a user and a device, and message notification is a passive human-computer interaction, i.e., an electronic device actively reminds the user to attract the attention of the user to perform interaction. However, it is very important how to effectively perform the message notification. However, when a user owns a plurality of electronic devices at the same time, the user may not view a message delivered to a certain electronic device in time. Therefore, how to perform message notification among multiple devices still needs further research.
In conjunction with the above description, the steps performed by the message notification method will be described below from the perspective of a method example, please refer to fig. 4. Fig. 4 is a flowchart illustrating a message notification method according to an embodiment of the present application, where the method includes:
s410, the source device obtains a first message to be notified and/or first indication information.
Wherein the source device may be one electronic device in the device group.
Wherein the first indication information may be used to indicate whether the electronic devices in the device group are suitable for performing the collaborative notification of the first message.
It should be noted that, as can be seen from the above description, first, each electronic device in the device group may be associated with the user identification information of the same user. The user identification information may include at least one of physiological characteristic information (such as hand shape, fingerprint, voiceprint, iris, face, and the like), and user account information (such as a user account number, and the like).
Second, the electronic devices in the device group may store device identification information of each other. The device identification information may include a MAC address, an IP address, a SN, and the like. Therefore, the source device in the device group can cooperatively operate the other electronic devices through the device identification information of the other electronic devices stored therein (for example, cooperatively operate the other electronic devices to notify the first message to be notified to implement notification of the first message), thereby implementing cooperative operation capability among multiple devices.
Finally, each electronic device in the device group may be installed with an application or manager (e.g., a message manager or a notification manager) for generating a message, and the application or manager may generate a message to be notified (or reminded) when a set condition is met (e.g., a server issues a control command for message generation, etc.). When an electronic device in the device group acquires a message to be notified, the electronic device may be referred to as a source device.
Specifically, the first indication information may include at least one of device service status indication information and device execution status indication information.
Further, the device service state indication information may be used to indicate whether the current device service state of the source device is suitable for performing the notification of the first message.
It should be noted that, first, the current device service state may be used to indicate the current device state (also referred to as current usage state) of the source device, the currently executed service function, and the like. For example, the current device state is a power-on state, a power-off state, a screen-off state (or screen-off state), a screen-locking state, a screen-lighting state, the amount of remaining power, a vibration mode, a mute mode, and the like; the currently executed service function is that video playing or music playing or the like is currently being executed. The service function may refer to at least one predetermined action operation that the electronic device may perform by calling an internal application program or instruction. For example, when the electronic device is a smart phone, the smart phone may perform video playing, music playing, phone dialing, e-mail receiving and sending, weather information receiving, multimedia information displaying, game screen manipulation, photo shooting, screen projection, and the like by calling an internal application program or instruction.
Secondly, the service function executed at present is taken as one of the judgment conditions of the message notification between the devices, so that the situation that the use experience of the user is influenced by the message notification can be effectively avoided. For example, when the source device is a cell phone, the user is watching a video, playing a game, reading text, etc. through the cell phone, and thus it is not desirable that the notification of the message affect the viewing experience.
Finally, the device service state indication information can be determined by the current device service state of the source device, so that the device service state indication information is obtained through the current device service state of the source device, and the device service state is used as one of judgment conditions for message notification among devices. For example, if the current device service state is a mute state, a screen is off, a remaining power is low, a video is being played, etc., the current device service state of the source device is not suitable for performing the notification of the first message. The device service status indication information is described as an example.
Illustratively, the device service status indication information x satisfies:
Figure BDA0002970387010000081
wherein x ═ 1 indicates that the current device service state of the source device is appropriate for performing the notification of the first message; x-0 indicates that the current device service state of the source device is not suitable for performing the notification of the first message.
Further, the device execution status indication information may be used to indicate whether other electronic devices in the device group than the source device are suitable for executing the notification of the first message.
It should be noted that, when a user owns multiple electronic devices at the same time, that is, the multiple electronic devices form the device group according to the embodiment of the present application, the user may not timely view a message issued for a certain electronic device. Therefore, the embodiment of the application considers that the device execution state indication information is introduced to serve as one of the judgment conditions for message notification among the devices, and the device execution state execution information is used for judging whether other electronic devices except the source device are suitable for cooperatively notifying the first message, so that the first message is notified through as many devices as possible, and the situation that a user cannot timely view the first message is avoided.
Second, the device execution state indication information may be determined by user attention information, associated device information of the source device, and the like. Wherein the user attention information may be used to indicate whether the user attention is on other electronic devices than the source device. The associated device information of the source device may be used to indicate that the source device is an associated other electronic device (by whether a communication connection is established with each other or whether respective device identification information is stored). For example, when the source device is a mobile phone, the user may connect the mobile phone to a smart watch (or a smart headset) through bluetooth matching (i.e., establish an association). Therefore, the user can view the message notification and the like on the mobile phone through the smart watch.
Finally, the embodiment of the application can judge whether the attention of the user is on the electronic equipment through a recognition-oriented algorithm, an eyeball recognition algorithm, a face recognition algorithm and the like so as to acquire the attention information of the user. For example, if the user faces the electronic device a (or the user looks at the electronic device a, the face of the user faces the electronic device), the electronic device a may capture an image frame through a camera and analyze the image frame using a face-oriented recognition algorithm (or an eyeball recognition algorithm, a face recognition algorithm) to determine that the user is attentive to the electronic device a.
S420, the source device determines a target device for executing the notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message.
Wherein the target device may include at least one electronic device of the device group for performing the notification of the first message. It is understood that the target device may include the source device and may also include other electronic devices in the device group other than the source device.
It should be noted that, when a user owns multiple electronic devices at the same time, that is, the multiple electronic devices form the device group according to the embodiment of the present application, the user may not timely view a message issued for a certain electronic device. Therefore, the embodiment of the present application considers that the target device is determined from the device group according to the important notification degree and/or the first indication information of the first message. The target device may include at least one electronic device in the device group for executing the notification of the first message, which is beneficial to implementing the notification of the first message assisted (or cooperatively) by other electronic devices in the device group except the source device, so as to avoid that the user fails to view the first message in time, thereby implementing the message cooperative notification among the devices, improving the cooperative processing capability among the devices, ensuring the personalized message notification of the user, and improving the use experience of the user.
Specifically, before S420, the method may further include the following steps: a degree of importance notification of the first message is determined.
It should be noted that the importance notification degree of the first message may be used to indicate the importance level (or priority level) of the first message that needs to be notified. That is, if the important notification degree of a message is higher (the importance level or priority level is higher), i.e., the message is more important to the user, the user needs to immediately (or timely) process or view the message; if the message is of a lower notification importance (lower importance level or priority level), i.e. the message is not very important to the user, the user may not need to immediately process or view the message. Therefore, the important notification degree of the first message is used as one of judgment conditions of message notification among devices, so that the situation that a user cannot check the first message in time is avoided, personalized message notification of the user is realized, and the use experience of the user is improved.
In addition, the degree of importance notification of the first message may be represented by a numerical value. For example, if the value is (60,100), it indicates that the importance level (or priority level) to be notified of the first message is "high" and the larger the value is, the higher the importance level (or priority level) is, and if the value is (0, 60), it indicates that the importance level to be notified of the first message is "low" and the smaller the value is, the lower the importance level (or priority level) is.
Wherein the important notification degree of the first message can be determined by at least one of the following modes: the message type of the first message, the message content of the first message, a specific keyword in the first message, and the application type to which the first message belongs.
It should be noted that, first, the important notification degree of the first message may be determined by the message type of the first message. The important notification degree of the first message can be determined from a preset mapping table according to the message type of the first message, where the first preset mapping table is used to indicate a mapping relationship between the message type and the important notification degree (or the above-mentioned value). The first preset mapping table may be a system preset or a user dynamic setting. For example, the message type of the first message may include a transaction-type message, a payment-type message, a trip-type message, a short-message-type message, a password-authentication-type message, a notification-type message of a general application, and the like is very important to the user (i.e., the important notification degree is high).
Second, the importance of the first message may be informed by the message content of the first message. In the embodiment of the present application, the important notification degree of the first message may be determined from a second preset mapping table according to a keyword in a message content of the first message, where the second preset mapping table is used to indicate a mapping relationship between the keyword and the important notification degree (or the above numerical value).
Again, the degree of importance notification of the first message may be determined by the type of application to which the first message belongs. The important notification degree of the first message can be determined according to the application type of the first message. Since the application type to which the first message belongs may reflect the message type of the first message, the above-mentioned scheme of "message type of first message" may be applied. For example, if the message content or the message is from a news-class application, i.e. the application to which the message belongs is a news-class application, the message type of the message is a news-class message.
Finally, the important notification degree of the first message can be determined by at least one of the message type of the first message, the message content of the first message, and the application type to which the first message belongs, so that joint determination is ensured in multiple ways to ensure that the determined important notification degree of the first message is more accurate.
Therefore, the important notification degree of the first message can be determined in different modes, so that the diversity of the scheme is ensured, and the accuracy is improved.
Specifically, determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message may include: determining a target device for performing notification of the first message from the device group according to the important notification degree of the first message and the first indication information (i.e., the subsequent "case one"); or, determining the target device from the device group according to the first indication information (i.e. the subsequent "case two" and "case three"); alternatively, the target device is determined from the device group based on the importance of the first message (i.e., the subsequent "case four").
It is understood that the embodiments of the present application may adopt various technical solutions to determine the target device for performing the notification of the first message. The following is a detailed description.
The first situation is as follows:
in one possible example, determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message may include: determining a comparison result of the important notification degree of the first message and a preset threshold value; and determining the target equipment from the equipment group according to the comparison result and the first indication information.
The comparison result may be one of the important notification degree of the first message being greater than a preset threshold and the important notification degree of the first message being less than or equal to the preset threshold.
It should be noted that, in case one, the embodiment of the present application considers that the importance level (or priority level) of the first message to be notified is divided into two levels, i.e., "important" and "unimportant" by comparing the importance notification degree of the first message with the preset threshold (such as "60" described above). If the important notification degree of the first message is greater than the preset threshold value, it is indicated that the important notification degree of the first message is 'important', namely the first message is important for the user; if the important notification degree of the first message is less than or equal to the preset threshold value, the important notification degree of the first message is 'unimportant', that is, the first message is not very important for the user. Then, the target device is determined from the device group based on the ranking result ("important" or "unimportant") indicated by the comparison result and the first indication information. The target device comprises at least one electronic device used for executing the notification of the first message in the device group, so that the notification of the first message is facilitated to be assisted (or cooperated) by other electronic devices except the source device in the device group through the important notification degree and the first indication information of the first message, the situation that a user cannot check the first message in time is avoided, the message cooperative notification among the devices is further realized, the cooperative processing capability among the devices is improved, the personalized message notification of the user is ensured, and the use experience of the user is improved.
Sub-case 1:
specifically, determining the target device from the device group according to the comparison result and the first indication information may include the following steps: if the comparison result is that the important notification degree of the first message is larger than a preset threshold value, acquiring equipment service state indication information in the first indication information; and determining the target equipment from the equipment group according to the equipment service state indication information.
It should be noted that, if the comparison result shows that the important notification degree of the first message is greater than the preset threshold, it indicates that the important notification degree of the first message is "important", that is, the first message is important for the user. Thus, users desire to be able to process or view important messages immediately (or in a timely manner). In order to ensure that a user can immediately (or timely) process or view important messages and avoid failing to process or view the first message in time, the embodiment of the application introduces the device service state indication information in the first indication information.
In addition, as can be known from the above description of the "device service state indication information", the device service state indication information may be used to indicate whether the current device service state of the source device is suitable for executing the notification of the first message, so that it is determined, through the device service state indication information, that one or more appropriate electronic devices in the device group (i.e., multiple appropriate devices are made as possible) cooperate to notify the first message, thereby implementing message cooperation notification among devices, improving cooperation processing capability among devices, ensuring personalized message notification for a user, and improving user experience.
Further, determining the target device from the device group according to the device service status indication information may include the following steps: if the equipment service state indication information indicates that the current equipment service state of the source equipment is not suitable for executing the notification of the first message, acquiring equipment execution state indication information in the first indication information; determining target equipment from the equipment group according to the equipment execution state indication information; or, if the device service state indication information indicates that the current device service state of the source device is suitable for executing the notification of the first message, the source device is taken as the target device.
It can be understood that, in the embodiment of the present application, it is considered that whether the source device is suitable for executing the notification of the first message is determined first, and then whether other electronic devices except the source device are suitable for executing the notification of the first message is determined, so that the message notification between the devices is implemented through two determinations. If the source device is suitable for executing the notification of the first message, the source device directly executes the notification without judging whether other electronic devices are suitable, so that the cooperative processing efficiency of the message notification among the devices is improved.
Further, determining the target device from the device group according to the device execution status indication information may include: if the device execution state indication information indicates that the first electronic device except the source device in the device group is suitable for executing the notification of the first message, taking the first electronic device as a target device; or, if the device execution state indication information indicates that all electronic devices in the device group except the source device are not suitable for the notification of the first message, the source device is taken as the target device.
It can be understood that, in the embodiment of the present application, it is considered to determine whether other electronic devices except the source device are suitable for executing the notification of the first message, so that the message collaborative notification between the devices is realized through the determination process.
Sub-case 2:
specifically, determining the target device from the device group according to the comparison result and the first indication information may include the following steps: if the comparison result is that the important notification degree of the first message is greater than the preset threshold value, acquiring equipment execution state indication information in the first indication information; and determining the target equipment from the equipment group according to the equipment execution state indication information.
It should be noted that, in order to ensure that a user can immediately (or timely) process or view an important message and avoid failing to timely process or view the first message, the device execution state indication information in the first indication information is introduced in the embodiment of the present application. In combination with the above description, it can be known that the device execution state indication information may be used to indicate whether other electronic devices in the device group except the source device are suitable for executing the notification of the first message, that is, whether other electronic devices are needed to assist in performing the notification of the first message, so that one or more suitable electronic devices in the device group (that is, a plurality of suitable devices are made as possible) are determined to cooperatively notify the first message through the device execution state indication information, thereby implementing message cooperative notification among devices, improving cooperative processing capability among devices, ensuring personalized message notification of a user, and improving user experience.
Further, determining the target device from the device group according to the device execution status indication information may include: if the device execution state indication information indicates that the first electronic device except the source device in the device group is suitable for executing the notification of the first message, taking the first electronic device as a target device; or, if the device execution state indication information indicates that all electronic devices in the device group except the source device are not suitable for the notification of the first message, the source device is taken as the target device.
It can be understood that, in the embodiment of the present application, it is considered to determine whether other electronic devices except the source device are suitable for executing the notification of the first message, so that the message collaborative notification between the devices is realized through the determination process.
Sub-case 3:
specifically, determining the target device from the device group according to the comparison result and the first indication information may include the following steps: and if the comparison result is that the important notification degree of the first message is less than or equal to a preset threshold value, taking the source device as the target device.
It should be noted that, if the important notification degree of the first message is less than or equal to the preset threshold, it indicates that the important notification degree of the first message is "unimportant", that is, the first message is not very important for the user. Therefore, the user may not need to immediately (or timely) process or view important messages, and thus the notification of the first message is directly performed by the source device without judging whether the source device or other electronic devices are suitable, and thus the efficiency of cooperative processing of message notifications among devices is improved.
Case two:
in one possible example, determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message may include: acquiring equipment service state indicating information in the first indicating information, wherein the equipment service state indicating information is used for indicating whether the current equipment service state of the source equipment is suitable for executing the notification of the first message; and determining the target equipment from the equipment group according to the equipment service state indication information.
It should be noted that, unlike the above-mentioned "scenario one", the "scenario two" does not need to consider the important notification degree of the first message, but directly determines one or more electronic devices in the device group (i.e., multiple devices that are suitable as much as possible) according to the device service status indication information to cooperatively notify the first message, thereby implementing message cooperative notification among the devices, improving the cooperative processing capability among the devices, ensuring personalized message notification of the user, and improving the user experience of the user.
Further, determining the target device from the device group according to the device service status indication information may include the following steps: if the device service state indication information indicates that the current device service state of the source device is not suitable for executing the notification of the first message, acquiring device execution state indication information in the first indication information; determining target equipment from the equipment group according to the equipment execution state indication information; or, if the device service state indication information indicates that the current device service state of the source device is suitable for executing the notification of the first message, the source device is taken as the target device.
It can be understood that, in the embodiment of the present application, it is considered that whether the source device is suitable for executing the notification of the first message is determined first, and then it is determined whether other electronic devices except the source device are suitable for executing the cooperative notification of the first message, so that the message cooperative notification between the devices is implemented through two determinations. If the source device is suitable for executing the notification of the first message, the source device directly executes the notification without judging whether other electronic devices are suitable, so that the cooperative processing efficiency of the message notification among the devices is improved.
Further, determining the target device from the device group according to the device execution status indication information may include: if the device execution state indication information indicates that first electronic devices except the source device in the device group are suitable for executing the notification of the first message, taking the first electronic devices as target devices; or, if the device execution state indication information indicates that all electronic devices in the device group except the source device are not suitable for the notification of the first message, the source device is taken as the target device.
It can be understood that, in the embodiment of the present application, it is considered to determine whether other electronic devices except the source device are suitable for executing the notification of the first message, so that the message collaborative notification between the devices is realized through the determination process.
Case three:
in one possible example, determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message may include: acquiring device execution state indication information in the first indication information, wherein the device execution state indication information can be used for indicating whether other electronic devices in the device group except the source device are suitable for executing the notification of the first message; and determining the target equipment from the equipment group according to the equipment execution state indication information.
It should be noted that, unlike the above-mentioned "case one," case three "does not need to consider the important notification degree of the first message, but directly determines one or more electronic devices in the device group according to the device execution state indication information (i.e., multiple devices that are suitable as much as possible) to cooperatively notify the first message, thereby implementing message cooperative notification among the devices, improving the cooperative processing capability among the devices, ensuring personalized message notification of the user, and improving the user experience of the user.
Further, determining the target device from the device group according to the device execution status indication information may include: if the device execution state indication information indicates that first electronic devices except the source device in the device group are suitable for executing the notification of the first message, taking the first electronic devices as target devices; or, if the device execution state indication information indicates that all electronic devices in the device group except the source device are not suitable for the notification of the first message, the source device is taken as the target device.
It can be understood that, in the embodiment of the present application, it is considered to determine whether other electronic devices except the source device are suitable for executing the cooperative notification of the first message, so that the message cooperative notification between the devices is realized through the determination process.
Case four:
in one possible example, determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message may include: and if the important notification degree of the first message is less than or equal to a preset threshold value, taking the source device as the target device.
It should be noted that, if the important notification degree of the first message is less than or equal to the preset threshold, it indicates that the important notification degree of the first message is "unimportant", that is, the first message is not very important for the user. Therefore, the user may not need to immediately (or timely) process or view important messages, and thus the notification of the first message is directly performed by the source device without judging whether the source device or other electronic devices are suitable, and thus the efficiency of cooperative processing of message notifications among devices is improved.
In combination with the above descriptions of "case one", "case two", "case three", and case four ", the embodiments of the present application mainly achieve the following objectives: for unimportant messages or messages with low priority levels, the method mainly only performs message notification by the source device, and reduces the influence of the message notification on the user experience; for important messages or messages with high priority levels, not only the source device is considered to execute message notification, but also other electronic devices except the source device are considered to execute message cooperative notification, so that the problem that a user cannot immediately (or timely) process (or view) the message notification is avoided; for the source device is not suitable for executing the message notification, it needs to be considered that other electronic devices except the source device execute the message notification, so as to avoid that the user cannot immediately (or timely) process (or view) the message notification; for the source device to be adapted to perform the message notification, the message notification performed by the source device is mainly considered, and the message notification may also be performed by other electronic devices besides the source device.
S430, the source device controls the target device to perform the notification of the first message.
Specifically, before S430, the method further includes: and the source equipment determines the notification type mode of the first message according to the important notification degree and/or the first indication information of the first message.
It is to be understood that the notification type manner of the first message may be determined by the important notification degree of the first message and/or the first indication information.
The notification type mode can comprise negative one-screen display notification, banner notification, status bar notification, screen locking notification, vibration notification, ring notification, popup notification, display notification and silence notification.
It should be noted that, first, in the embodiment of the present application, a notification type manner of the first message may be determined according to an important notification degree of the first message. If the important notification degree of the first message is "important", a notification type manner that can attract the attention of the user more (for example, pop-up notification of the first message, vibration notification of the first message, ring notification of the first message, etc.) can be selected; if the notification level of importance of the first message is "unimportant," a notification type manner that does not affect the user (e.g., silent notification of the first message, status bar notification of the first message, banner notification of the first message, etc.) may be selected.
Secondly, the notification type mode of the first message can be determined according to the first indication information. If the device service state indication information in the first indication information indicates that the current device service state of the source device is suitable for executing the notification of the first message, a notification type mode which does not affect the user (such as silent notification of the first message, status bar notification of the first message, banner notification of the first message, and the like) can be selected. This is because, although the source device is suitable for execution, there is a possibility that the source device is currently executing video playback or music playback, etc., and a notification type manner that does not affect the user can be selected.
Finally, the notification type mode of the first message can be determined according to the important notification degree of the first message and the first indication information.
Further, controlling the target device to perform the notification of the first message may include: the control target device performs notification of the first message in a notification type manner.
Consistent with the above embodiments, the following embodiments of the present application further provide a message notification method, please refer to fig. 5.
S501, the source device obtains a first message to be notified and first indication information.
Wherein the source device may be one electronic device in the device group.
The source device receives a first message to be notified and triggers the source device to perform cooperative notification operation of the first message. For example, a mobile phone receives a short message, and the general procedure is to receive the message content of the short message and then notify the short message to a user in a popup mode through a corresponding application.
Wherein the first indication information may be used to indicate whether the electronic devices in the device group are suitable for executing the notification of the first message.
Specifically, the first indication information may include at least one of device service status indication information and device execution status indication information.
Further, the device service state indication information may be used to indicate whether the current device service state of the source device is suitable for performing the notification of the first message.
Further, the device execution status indication information may be used to indicate whether other electronic devices in the device group than the source device are suitable for executing the notification of the first message.
S502, the source device determines the important notification degree of the first message.
The importance notification degree of the first message is determined, and the importance notification degree is mainly used for judging the importance level (or priority level) of the first message, and the importance level and the priority level can be divided into "high" and "low". It should be noted that, in one aspect, the present application determines the important notification degree of the first message according to the message content. For example, the priority level of the transaction type message, the trip type message, etc. is "high", and the priority level of the notification type message of the general application is "low". On the other hand, the priority level of the messages defined by the user can be determined, for example, the priority level of the short message of a certain contact and the message containing a certain keyword is high. In addition, the user can also adjust the preset priority level scheme according to the requirement.
S503, the source device judges the importance level of the first message according to the importance notification degree of the first message.
If the importance notification degree of the first message is greater than the preset threshold, the importance level of the first message is "high", and S505 is executed; if the importance notification degree of the first message is less than or equal to the preset threshold, the importance level of the first message is "low", and S504 is performed.
S504, the source device judges whether the source device is suitable for executing the notification of the first message according to the first indication information.
If yes, executing S507; if no, S506 is executed.
And S505, the source equipment executes the notification of the first message.
S506, the source device determines that the user attention of the user is on the first electronic device according to the first indication information.
How to judge the attention of the user is a simple way to judge whether the electronic equipment is in a screen turning state. If the mobile terminal is in the screen turning-off state, the attention of the user is not paid to the electronic equipment; otherwise, the user is attentive to the electronic device. In addition, more complex algorithms, such as recognition-oriented techniques, eyeball recognition techniques, and the like, can be used to determine whether the user's attention is on the electronic device.
S507, the source device executes the notification of the first message.
S508, the source device judges whether the first electronic device is suitable for executing the notification of the first message according to the first indication information.
If yes, executing S510; if it is determined to be "no", S509 is executed.
S509, the source device performs notification of the first message.
S510, the source device controls the first electronic device to perform the notification of the first message.
It should be noted that, the description of each embodiment in the present application has a respective emphasis, and therefore, a part that is not described in detail in the embodiment illustrated in fig. 5 may refer to the description related to the embodiment illustrated in fig. 4, and is not described again.
In conjunction with the above description, the following embodiments of the present application will exemplarily illustrate a device group including a smart phone, a smart watch, a smart speaker, and a smart phone.
For example, referring to fig. 6, the device group includes a smart phone 6101, a smart watch 6102, a smart speaker 6103, and a smart tv 6104. Wherein, the smart phone 6101 receives a message to be notified. The smart phone 6101 determines that the important notification level of the message is "unimportant" (low importance level or low priority level) based on the message content of the message, or the message coming from a news-like application (i.e., news-like message). If the smartphone 6101 is adapted to perform notification of a message (although the user's 620 attention is on the smartphone 6101, the user 620 is facing the smartphone 6101, or the user 620 is using the smartphone 6101 to watch a video, etc., the user 620 sets that it can perform notification), the smartphone 6101 can perform notification of the message in a background notification bar without employing a popup-type notification (i.e., a silent notification to not affect video viewing). If the smart phone 6101 is suitable for executing message notification, since the smart phone 6101 is associated with the smart watch 6102 (i.e., is associated with the user identification information of the user 620 or is connected with each other by communication), and the user sets up that the smart watch 6102 can execute the message notification function (i.e., the smart watch 6102 is suitable for executing notification of the message), so that the smart watch 6102 notifies the user 620 of the message by vibration. In the scene, the aim of the interaction mode between the user and the equipment is to avoid interrupting the user to watch the video by the message notification as much as possible.
For example, referring to fig. 7, the device group includes a smart phone 7101, a smart watch 7102, a smart speaker 7103, and a smart tv 7104. The smart phone 7101 receives a message to be notified. Since the message is a message of a bank card transaction, the smart phone 7101 determines that the important notification degree of the message is "important" (the importance level is high or the priority level is high) according to the message type or the message content of the message. At this point, since the smartphone 7101 is in a video playing service, and the message is an important message. If the smart phone 7101 is suitable for performing the message notification function (although the user of the user 720 is attentive to the smart phone 7101, the user 720 is facing the smart phone 7101, or the user 720 is watching a video using the smart phone 7101, etc., the user 720 sets that notification can be performed), the smart phone 7101 notifies the user 720 of the message by a ringing method. At the same time, the smartphone 7101 may also control the smart watch 7102 to notify the user 720 of the message in a vibratory manner. If the smart phone 7101 is not suitable for performing the message notification function, the smart phone 7101 needs to control the smart watch 7102 to notify the user 720 of the message in a vibration manner.
Illustratively, referring to fig. 8, the set of devices includes a smart phone 8101, a smart watch 8102, a smart speaker 8103, and a smart television 8104. Wherein, the smart phone 8101 receives a message to be notified. Since the message is a message for password authentication, the mobile phone 8101 determines that the important notification degree of the message is "important" (the importance level is high or the priority level is high) according to the message content or the message type of the message. At this time, since the smart phone 8101 is in the off-screen state (i.e., the user of the user 820 is not attentive to the smart phone 8101 or the user 820 is not using the smart phone 8101), it is necessary to determine whether the smart watch 8102, the smart speaker 8103, and the smart tv 8104 in the device group are suitable for executing the notification of the message (i.e., determine whether the user of the user 820 is attentive to the electronic devices). For example, the determination may be made by whether a service (video playback, etc.) is being performed on the electronic devices or by using techniques such as face orientation. Since the smart tv 8104 is playing video, the smart phone 8101 determines that the user's attention of the user 820 may be on the smart tv 8104, and thus the message is being notified on the smart phone 8101 and on the smart tv 8104.
It can be seen that, in the embodiment of the present application, first, a source device obtains a first message and/or first indication information to be notified, where the first indication information is used to indicate whether an electronic device in a device group is suitable for executing notification of the first message; secondly, the source device determines a target device for executing the notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message; finally, the source device controls the target device to perform the notification of the first message. The target device may include at least one electronic device in the device group for executing the notification of the first message, so that the notification of the first message is facilitated to be performed by the other electronic devices in the device group except the source device through the important notification degree and/or the first indication information of the first message, the user is prevented from failing to check the first message in time, the message collaborative notification among the devices is further achieved, the collaborative processing capability among the devices is improved, the personalized message notification of the user is ensured, and the use experience of the user is improved.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the units in the embodiment of the present application is illustrative, and is only one division of the logic functions, and there may be another division in actual implementation.
In the case of an integrated unit, fig. 9 provides a block diagram of functional units of a message notification apparatus. The message notification apparatus 900 is applied to a source device, and specifically includes: a processing unit 920 and a communication unit 930. Processing unit 920 is configured to control and manage actions of the source device, for example, processing unit 920 is configured to support the source device to perform some or all of the steps in fig. 4 and other processes for the techniques described herein. The communication unit 930 is used to support communication of the source device with other devices. The message notification apparatus 900 may further include a storage unit 910 for storing program codes and data of the message notification apparatus 900.
The processing unit 920 may be a processor or a controller, such as a CPU, general purpose processor, DSP, ASIC, FPGA, transistor logic, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the embodiments disclosed herein. Additionally, processing unit 920 can also be a combination that performs computing functions, including for example, one or more microprocessor combinations, DSPs, and microprocessors. The communication unit 930 may be a communication interface, a transceiver, a transceiving circuit, and the like. The storage unit 910 may be a memory. When the processing unit 920 is a processor, the communication unit 930 is a communication interface, and the storage unit 910 is a memory, the message notification apparatus 900 according to the embodiment of the present application may be an electronic device shown in fig. 10.
Specifically, the processing unit 920 is configured to perform any step performed by the source device in the above method embodiment, and when performing data transmission such as sending, optionally invoke the communication unit 930 to complete the corresponding operation. The details will be described below.
The processing unit 920 is configured to: acquiring a first message and/or first indication information to be notified, wherein the first indication information is used for indicating whether electronic equipment in an equipment group is suitable for executing notification of the first message; determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message; controlling a target device to perform the notification of the first message.
It should be noted that, for specific implementation of each operation performed by the message notification apparatus 900, reference may be made to the corresponding description of the method embodiment shown in fig. 4, and details are not described herein again.
It can be seen that, in the embodiment of the present application, first, by acquiring a first message and/or first indication information to be notified, the first indication information is used to indicate whether electronic devices in a device group are suitable for executing notification of the first message; secondly, determining target equipment for executing the notification of the first message from the equipment group according to the important notification degree and/or the first indication information of the first message; finally, the notification of the first message is performed by controlling the target device. The target device may include at least one electronic device in the device group for executing the notification of the first message, so that the notification of the first message is facilitated to be performed by the other electronic devices in the device group except the source device through the important notification degree and/or the first indication information of the first message, the user is prevented from failing to check the first message in time, the message collaborative notification among the devices is further achieved, the collaborative processing capability among the devices is improved, the personalized message notification of the user is ensured, and the use experience of the user is improved.
In one possible example, in terms of determining a target device for performing notification of the first message from the device group according to the important notification degree of the first message and/or the first indication information, the processing unit 920 is specifically configured to: determining a comparison result of the important notification degree of the first message and a preset threshold value; and determining the target equipment from the equipment group according to the comparison result and the first indication information.
In one possible example, in terms of determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message, the processing unit 920 is specifically configured to: acquiring equipment service state indicating information in the first indicating information, wherein the equipment service state indicating information is used for indicating whether the current equipment service state of the source equipment is suitable for executing the notification of the first message; and determining the target equipment from the equipment group according to the equipment service state indication information.
In one possible example, in terms of determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message, the processing unit 920 is specifically configured to: acquiring device execution state indication information in the first indication information, wherein the device execution state indication information can be used for indicating whether other electronic devices in the device group except the source device are suitable for executing the notification of the first message; and determining the target equipment from the equipment group according to the equipment execution state indication information.
In one possible example, in terms of determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message, the processing unit 920 is specifically configured to: and if the important notification degree of the first message is less than or equal to a preset threshold value, taking the source equipment as the target equipment.
In one possible example, in terms of determining the target device from the device group according to the comparison result and the first indication information, the processing unit 920 is specifically configured to: if the comparison result is that the important notification degree of the first message is larger than a preset threshold value, acquiring equipment service state indication information in the first indication information; and determining the target equipment from the equipment group according to the equipment service state indication information.
In one possible example, in terms of determining the target device from the device group according to the comparison result and the first indication information, the processing unit 920 is specifically configured to: if the comparison result is that the important notification degree of the first message is greater than a preset threshold value, acquiring equipment execution state indication information in the first indication information; and determining the target equipment from the equipment group according to the equipment execution state indication information.
In one possible example, in terms of determining the target device from the device group according to the comparison result and the first indication information, the processing unit 920 is specifically configured to: and if the comparison result is that the important notification degree of the first message is less than or equal to a preset threshold value, taking the source device as the target device.
In one possible example, in terms of determining the target device from the device group according to the device service status indication information, the processing unit 920 is specifically configured to: if the equipment service state indication information indicates that the current equipment service state of the source equipment is not suitable for executing the notification of the first message, acquiring equipment execution state indication information in the first indication information; and determining the target equipment from the equipment group according to the equipment execution state indication information.
In one possible example, in terms of determining the target device from the device group according to the device service status indication information, the processing unit 920 is specifically configured to: and if the equipment service state indication information indicates that the current equipment service state of the source equipment is suitable for executing the notification of the first message, taking the source equipment as the target equipment.
In one possible example, in terms of determining the target device from the device group according to the device execution status indication information, the processing unit 920 is specifically configured to: and if the device execution state indication information indicates that the first electronic device except the source device in the device group is suitable for executing the notification of the first message, taking the first electronic device as a target device, or taking the first electronic device and the source device as target devices.
In one possible example, in terms of determining the target device from the device group according to the device execution status indication information, the processing unit 920 is specifically configured to: and if the device execution state indication information indicates that all electronic devices except the source device in the device group are not suitable for executing the notification of the first message, taking the source device as the target device.
In one possible example, before controlling the target device to perform the notification of the first message, the processing unit 920 is further configured to: and determining the notification type mode of the first message according to the important notification degree and/or the first indication information of the first message.
In one possible example, the notification type manner of the first message is determined by the important notification degree and/or the first indication information of the first message.
In one possible example, in terms of controlling the target device to perform the notification of the first message, the processing unit 920 is specifically configured to: the control target device performs notification of the first message in a notification type manner.
In one possible example, before determining the target device for performing the notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message, the processing unit 920 is further configured to: a degree of importance notification of the first message is determined.
In one possible example, the importance notification level of the first message is determined by at least one of: the message type of the first message, the message content of the first message, and the application type to which the first message belongs.
A schematic structural diagram of an electronic device provided in an embodiment of the present application is described below, as shown in fig. 10. The electronic device 1000 includes a processor 1010, a memory 1020, a communication interface 1030, and at least one communication bus connecting the processor 1010, the memory 1020, and the communication interface 1030.
The processor 1010 may be one or more central processing units CPU. In the case where the processor 1010 is a single CPU, the CPU may be a single-core CPU or a multi-core CPU. The Memory 1020 includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), or a portable Read-Only Memory (CD-ROM), and the Memory 1020 is used for storing related instructions and data. The communication interface 1030 is used for receiving and transmitting data.
The processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for performing the following steps: acquiring a first message and/or first indication information to be notified, wherein the first indication information is used for indicating whether electronic equipment in an equipment group is suitable for executing notification of the first message; determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message; controlling the target device to perform the notification of the first message.
It should be noted that, for specific implementation of each operation performed by the electronic device 1000, reference may be made to the corresponding description of the method embodiment shown in fig. 4, and details are not described here again.
It can be seen that, in the embodiment of the present application, first, the electronic device obtains a first message to be notified and first indication information, where the first indication information is used to indicate whether the electronic devices in the device group are suitable for executing notification of the first message; secondly, the electronic equipment determines target equipment for executing the notification of the first message from the equipment group according to the important notification degree and/or the first indication information of the first message; finally, the electronic device controls the target device to perform the notification of the first message. The target device may include at least one electronic device in the device group for executing the notification of the first message, so that the notification of the first message is facilitated to be performed by the other electronic devices in the device group except the source device through the important notification degree and/or the first indication information of the first message, the user is prevented from failing to check the first message in time, the message collaborative notification among the devices is further achieved, the collaborative processing capability among the devices is improved, the personalized message notification of the user is ensured, and the use experience of the user is improved.
In one possible example, in terms of determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: determining a comparison result of the important notification degree of the first message and a preset threshold value; and determining the target equipment from the equipment group according to the comparison result and the first indication information.
In one possible example, in terms of determining a target device for performing notification of the first message from the device group according to the important notification degree of the first message and/or the first indication information, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: acquiring equipment service state indicating information in the first indicating information, wherein the equipment service state indicating information is used for indicating whether the current equipment service state of the source equipment is suitable for executing the notification of the first message; and determining the target equipment from the equipment group according to the equipment service state indication information.
In one possible example, in terms of determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: acquiring device execution state indication information in the first indication information, wherein the device execution state indication information can be used for indicating whether other electronic devices in the device group except the source device are suitable for executing the notification of the first message; and determining the target equipment from the equipment group according to the equipment execution state indication information.
In one possible example, in terms of determining a target device for performing notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: and if the important notification degree of the first message is less than or equal to a preset threshold value, taking the source device as the target device.
In one possible example, in terms of determining a target device from the device group based on the comparison result and the first indication information, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: if the comparison result is that the important notification degree of the first message is larger than a preset threshold value, acquiring equipment service state indication information in the first indication information; and determining the target equipment from the equipment group according to the equipment service state indication information.
In one possible example, in terms of determining a target device from the device group according to the comparison result and the first indication information, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: if the comparison result is that the important notification degree of the first message is greater than a preset threshold value, acquiring equipment execution state indication information in the first indication information; and determining the target equipment from the equipment group according to the equipment execution state indication information.
In one possible example, in terms of determining a target device from the device group according to the comparison result and the first indication information, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: and if the comparison result is that the important notification degree of the first message is less than or equal to a preset threshold value, taking the source device as the target device.
In one possible example, in determining a target device from a device group based on device service status indication information, a processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in a memory 1020 for performing the following steps: if the device service state indication information indicates that the current device service state of the source device is not suitable for executing the notification of the first message, acquiring device execution state indication information in the first indication information; and determining the target equipment from the equipment group according to the equipment execution state indication information.
In one possible example, in determining a target device from a device group based on device service status indication information, a processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in a memory 1020 for performing the following steps: and if the equipment service state indication information indicates that the current equipment service state of the source equipment is suitable for executing the notification of the first message, taking the source equipment as the target equipment.
In one possible example, in terms of determining a target device from a device group according to the device execution status indication information, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: and if the device execution state indication information indicates that the first electronic device except the source device in the device group is suitable for executing the notification of the first message, taking the first electronic device as a target device, or taking the first electronic device and the source device as target devices.
In one possible example, in terms of determining a target device from a device group according to the device execution status indication information, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: and if the device execution state indication information indicates that all electronic devices except the source device in the device group are not suitable for executing the notification of the first message, taking the source device as the target device.
In one possible example, before controlling the target device to perform the notification of the first message, the processor 1010 in the electronic device 1000 is further configured to read one or more programs 1021 stored in the memory 1020 to perform the steps of: and determining the notification type mode of the first message according to the important notification degree and/or the first indication information of the first message.
In one possible example, the notification type manner of the first message is determined by the important notification degree and/or the first indication information of the first message.
In one possible example, in terms of controlling the target device to perform the notification of the first message, the processor 1010 in the electronic device 1000 is configured to read one or more programs 1021 stored in the memory 1020 for specifically performing the following steps: the control target device performs notification of the first message in a notification type manner.
In one possible example, before determining the target device for performing the notification of the first message from the device group according to the important notification degree and/or the first indication information of the first message, the processor 1010 in the electronic device 1000 is further configured to read one or more programs 1021 stored in the memory 1020 and perform the following steps: a degree of importance notification of the first message is determined.
In one possible example, the importance notification level of the first message is determined by at least one of: the message type of the first message, the message content of the first message, and the application type to which the first message belongs.
Embodiments of the present application further provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, the computer program being operable to cause a computer to perform part or all of the steps of any one of the methods as set forth in the above-mentioned method embodiments.
Embodiments of the present application also provide a computer program product, where the computer program product includes a computer program operable to cause a computer to perform part or all of the steps of any one of the methods as described in the above method embodiments. The computer program product may be a software installation package.
For simplicity of description, each of the above method embodiments is described as a series of combinations of operations. Those skilled in the art should appreciate that the present application is not limited by the order of acts described, as some steps in the embodiments of the present application may occur in other orders or concurrently. Moreover, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that acts and modules referred to are not necessarily required to implement the embodiments of the application.
In the above embodiments, the description of each embodiment in the present application has a respective emphasis, and reference may be made to related descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
In the several embodiments provided in the present application, it should be understood by those skilled in the art that the described apparatus can be implemented in other ways. It will be appreciated that the above described apparatus embodiments are merely illustrative. For example, the division of the unit is only one logic function division, and actually, other division modes can be provided. That is, multiple units or components may be combined or integrated into another software, and some features may be omitted or not implemented. In addition, the shown or discussed mutual coupling, direct coupling or communication connection and the like can be an indirect coupling or communication connection through some interfaces, devices or units, and can also be an electric or other form.
The above-mentioned units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer-readable storage medium. It will be appreciated that the solution of the present application (which form a part of or all or part of the prior art) may be embodied in the form of a computer software product. The computer software product is stored in a memory and includes several instructions for causing a computer device (personal computer, server, network device, etc.) to perform all or part of the steps of the embodiments of the present application. The computer-readable storage medium may be stored in various memories such as a usb disk, a ROM, a RAM, a removable hard disk, a magnetic disk, or an optical disk.
While the embodiments of the present application have been described in detail, it should be understood by those skilled in the art that the embodiments of the present application are only used for assisting understanding of the core concept of the technical solutions of the present application, and therefore, the embodiments of the present application may be changed in terms of the specific implementation and the application scope. The contents described in the present specification should not be construed as limiting the scope of the present application. In addition, any modification, equivalent replacement, improvement and the like made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.

Claims (10)

1. A message notification method is applied to a source device, wherein the source device is an electronic device in a device group; the method comprises the following steps:
acquiring a first message and/or first indication information to be notified, wherein the first indication information is used for indicating whether electronic equipment in the equipment group is suitable for executing notification of the first message;
determining a target device for executing the notification of the first message from the device group according to the important notification degree of the first message and/or the first indication information;
controlling the target device to perform the notification of the first message.
2. The method according to claim 1, wherein the determining a target device for performing notification of the first message from the device group according to the important notification degree of the first message and/or the first indication information comprises:
determining a comparison result of the important notification degree of the first message and a preset threshold value; determining the target equipment from the equipment group according to the comparison result and the first indication information; or,
acquiring device service state indication information in the first indication information, wherein the device service state indication information is used for indicating whether the current device service state of the source device is suitable for executing the notification of the first message; determining the target equipment from the equipment group according to the equipment service state indication information; or,
acquiring device execution state indication information in the first indication information, where the device execution state indication information may be used to indicate whether or not other electronic devices in the device group except the source device are suitable for executing the notification of the first message; determining the target equipment from the equipment group according to the equipment execution state indication information; or,
and if the important notification degree of the first message is less than or equal to the preset threshold, taking the source device as the target device.
3. The method of claim 2, wherein the determining the target device from the device group according to the comparison result and the first indication information comprises:
if the comparison result is that the important notification degree of the first message is greater than the preset threshold value, acquiring the equipment service state indication information in the first indication information; determining the target equipment from the equipment group according to the equipment service state indication information; or,
if the comparison result is that the important notification degree of the first message is greater than the preset threshold value, acquiring the equipment execution state indication information in the first indication information; determining the target equipment from the equipment group according to the equipment execution state indication information; or,
and if the comparison result is that the important notification degree of the first message is smaller than or equal to the preset threshold, taking the source device as the target device.
4. The method according to claim 2 or 3, wherein the determining the target device from the device group according to the device service status indication information comprises:
if the device service state indication information indicates that the current device service state of the source device is not suitable for executing the notification of the first message, acquiring the device execution state indication information in the first indication information; determining the target equipment from the equipment group according to the equipment execution state indication information; or,
and if the equipment service state indication information indicates that the current equipment service state of the source equipment is suitable for executing the notification of the first message, taking the source equipment as the target equipment.
5. The method according to any of claims 2-4, wherein the determining the target device from the device group according to the device execution status indication information comprises:
if the device execution state indication information indicates that a first electronic device in the device group, except the source device, is suitable for executing the notification of the first message, the first electronic device is taken as the target device, or the first electronic device and the source device are taken as the target device; or,
and if the device execution state indication information indicates that all electronic devices in the device group except the source device are not suitable for executing the notification of the first message, taking the source device as the target device.
6. The method according to any of claims 1-5, wherein the notification type manner of the first message is determined by the important notification degree of the first message and/or the first indication information;
the controlling the target device to perform the notification of the first message includes:
controlling the target device to execute the cooperative notification of the first message according to the notification type.
7. The method according to any of claims 1-6, wherein the notification importance level of the first message is determined by at least one of: a message type of the first message, a message content of the first message, and an application type to which the first message belongs.
8. The message notification device is applied to a source device, wherein the source device is one electronic device in a device group; the apparatus comprises a processing unit to:
acquiring a first message and/or first indication information to be cooperatively notified, wherein the first indication information is used for indicating whether electronic equipment in the equipment group is suitable for executing notification of the first message;
determining a target device for executing the notification of the first message from the device group according to the important notification degree of the first message and/or the first indication information;
controlling the target device to perform the notification of the first message.
9. An electronic device, characterized in that the electronic device is a source device, comprising a processor, a memory and a communication interface, the memory storing one or more programs, and the one or more programs being executed by the processor, the one or more programs comprising instructions for performing the steps in the method according to any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program is operable to cause a computer to perform the method according to any one of claims 1-7.
CN202110263321.0A 2021-03-10 2021-03-10 Message notification method and device and electronic equipment Active CN115086888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110263321.0A CN115086888B (en) 2021-03-10 2021-03-10 Message notification method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110263321.0A CN115086888B (en) 2021-03-10 2021-03-10 Message notification method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN115086888A true CN115086888A (en) 2022-09-20
CN115086888B CN115086888B (en) 2023-10-31

Family

ID=83240436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110263321.0A Active CN115086888B (en) 2021-03-10 2021-03-10 Message notification method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115086888B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024060925A1 (en) * 2022-09-23 2024-03-28 荣耀终端有限公司 Notification message processing system, method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7155729B1 (en) * 2000-03-28 2006-12-26 Microsoft Corporation Method and system for displaying transient notifications
CN108093138A (en) * 2017-12-20 2018-05-29 珠海市魅族科技有限公司 A kind of coordinate prompt method, device, terminal and readable storage medium storing program for executing
KR20180094359A (en) * 2017-02-15 2018-08-23 삼성전자주식회사 Method for providing notification and electronic device for the same
US20200099545A1 (en) * 2018-09-21 2020-03-26 Samsung Electronics Co., Ltd. Method and apparatus for providing notification by interworking plurality of electronic devices
CN111404802A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Notification processing system and method and electronic equipment
CN112039991A (en) * 2020-09-01 2020-12-04 平安付科技服务有限公司 Notification information processing method, device, computer system and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7155729B1 (en) * 2000-03-28 2006-12-26 Microsoft Corporation Method and system for displaying transient notifications
KR20180094359A (en) * 2017-02-15 2018-08-23 삼성전자주식회사 Method for providing notification and electronic device for the same
CN108093138A (en) * 2017-12-20 2018-05-29 珠海市魅族科技有限公司 A kind of coordinate prompt method, device, terminal and readable storage medium storing program for executing
US20200099545A1 (en) * 2018-09-21 2020-03-26 Samsung Electronics Co., Ltd. Method and apparatus for providing notification by interworking plurality of electronic devices
CN111404802A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Notification processing system and method and electronic equipment
CN112039991A (en) * 2020-09-01 2020-12-04 平安付科技服务有限公司 Notification information processing method, device, computer system and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024060925A1 (en) * 2022-09-23 2024-03-28 荣耀终端有限公司 Notification message processing system, method and apparatus

Also Published As

Publication number Publication date
CN115086888B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN112291764B (en) Content connection system
EP3787298A1 (en) Flexible screen display method and terminal
CN112394895B (en) Picture cross-device display method and device and electronic device
US11683850B2 (en) Bluetooth reconnection method and related apparatus
CN112398855B (en) Method and device for transferring application contents across devices and electronic device
EP4060475A1 (en) Multi-screen cooperation method and system, and electronic device
US11893359B2 (en) Speech translation method and terminal when translated speech of two users are obtained at the same time
CN116360725B (en) Display interaction system, display method and device
WO2021000817A1 (en) Ambient sound processing method and related device
WO2022161119A1 (en) Display method and electronic device
US20230368710A1 (en) Vr display control method, electronic device, and computer-readable storage medium
CN110989961A (en) Sound processing method and device
CN114489529A (en) Screen projection method of electronic device, medium thereof and electronic device
WO2022135157A1 (en) Page display method and apparatus, and electronic device and readable storage medium
WO2022143180A1 (en) Collaborative display method, terminal device, and computer readable storage medium
CN116137639A (en) Cross-equipment audio data transmission method and electronic equipment
CN115086888B (en) Message notification method and device and electronic equipment
CN115119048B (en) Video stream processing method and electronic equipment
WO2023005900A1 (en) Screen projection method, electronic device, and system
CN111586433B (en) Code rate adjusting method, device, equipment and storage medium
CN113380240A (en) Voice interaction method and electronic equipment
WO2024109481A1 (en) Window control method and electronic device
WO2023197999A1 (en) Display method and electronic device
WO2024037542A1 (en) Touch input method, system, electronic device, and storage medium
CN117631950A (en) Split screen display method and related device

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