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

Message notification method and device and electronic equipment Download PDF

Info

Publication number
CN115086888B
CN115086888B CN202110263321.0A CN202110263321A CN115086888B CN 115086888 B CN115086888 B CN 115086888B CN 202110263321 A CN202110263321 A CN 202110263321A CN 115086888 B CN115086888 B CN 115086888B
Authority
CN
China
Prior art keywords
message
notification
indication information
equipment
source device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110263321.0A
Other languages
Chinese (zh)
Other versions
CN115086888A (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

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 obtains a first message to be notified and/or first indication information, 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 of the first message and/or the first indication information; the source device controls the target device to perform notification of the first message. Therefore, the embodiment of the application is beneficial to realizing that other electronic equipment except the source equipment in the equipment group can assist (or cooperate) in notifying the first message, avoiding that the user fails to view the first message in time, further realizing message cooperation notification among the equipment, improving the cooperation processing capability among the equipment, ensuring 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 method and an apparatus for notifying a message, and an electronic device.
Background
With the development of the internet of things, a user may have a plurality of electronic devices at the same time, and the electronic devices may have various forms, such as a mobile phone, a computer, a tablet, a television, a watch, etc., and different operating systems, software and hardware architectures, etc., may be mounted on different devices. For example, a system such as Windows or Mac may be installed on a computer, and a system such as Android or IOS may be installed on a mobile phone.
Additionally, human-machine interaction is an important way of communicating between a user and a device, while messaging is a passive human-machine interaction, i.e. an electronic device actively alerts the user to draw the attention of the user to interact. However, when a user has a plurality of electronic devices at the same time, there may be a case where the user does not view a message issued for a certain electronic device in time. Thus, further research is still needed on how the device performs message notification.
Disclosure of Invention
The embodiment of the application provides a message notification method and device and electronic equipment, which aim to realize that other electronic equipment except source equipment in an equipment group assist (or cooperate) in notifying a first message, so that a user is prevented from failing to view the first message in time, further realize message cooperation notification among the equipment, improve the cooperation processing capacity among the equipment, ensure personalized message notification of the user and improve the use experience of the user.
In a first aspect, an embodiment of the present application provides a message notification method, which is applied to a source device, where the source device is an electronic device in a device group; the method comprises the following steps:
acquiring a first message to be notified and/or first indication information, wherein the first indication information is used for indicating whether the electronic equipment in the equipment group is suitable for executing the 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;
the target device is controlled to perform 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 for:
acquiring a first message to be notified and/or first indication information, wherein the first indication information is used for indicating whether the electronic equipment in the equipment group is suitable for executing the 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;
The target device is controlled to perform notification of the first message.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device 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, where the one or more programs are configured to execute instructions of steps in the first aspect of the embodiment of the present application.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program for electronic data exchange, the computer program being operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, wherein the computer program product comprises a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiments 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 obtains a first message to be notified and/or first indication information, 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 of the first message and/or the first indication information; finally, the source device controls the target device to perform notification of the first message. The target device can comprise 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 assisted (or cooperated) by other electronic devices except the source device in the device group through the important notification degree and/or the first indication information of the first message, the fact that the user fails to view the first message in time is avoided, the message cooperated notification among devices is further realized, the cooperated processing capacity among devices is improved, the personalized message notification of the user is guaranteed, 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 will be apparent that the figures described below are merely some embodiments of the application. Other figures can be obtained from these figures without inventive effort for the person skilled in the art.
Fig. 1 is a schematic diagram of an architecture of a device group according to an embodiment of the present application;
fig. 2 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic software structure of an electronic device according to an embodiment of the present application;
fig. 4 is a flow chart of a message notification method according to an embodiment of the present application;
FIG. 5 is a flowchart of another message notification method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a message notification scenario provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a scenario of yet another message notification provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of a scenario of yet another message notification provided by an embodiment of the present application;
FIG. 9 is a block diagram showing the functional units of a message notification apparatus according to an embodiment of the present application;
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For better understanding of the technical solutions of the present application by those skilled in the art, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the description of the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, software, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may alternatively include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases 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. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Before describing the technical scheme of the embodiment of the present application, the related concepts, device groups, software and hardware structures of electronic devices, etc. possibly related to the present application are described below.
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, the embodiment of the application can also refer to a scene of the equipment group as a multi-equipment scene. In the multi-device scene, the same user can perform man-machine interaction with multiple devices.
Specifically, the wireless network may include a mobile cellular network (such as a fifth generation 5G mobile communication network), a satellite communication network, an internet of things, a wireless local area network (wireless local area network, WLAN), a wide area network (wide area network, WAN), bluetooth (BT), wireless fidelity (wireless fidelity, wi-Fi), zigbee, near field wireless communication (near field communication, NFC), ultra Wideband (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 (high definition multimedia interface, HDMI) data line and a universal serial bus (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 (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 specific forms of User Equipment (UE), a terminal device (terminal device), a mobile phone, a smart phone (smart phone), a smart screen, a smart television, a smart watch, a notebook, a smart refrigerator, a smart air conditioner, a smart stereo, a camera, a game pad, a microphone, a Station (STA), an Access Point (AP), a Mobile Station (MS), a personal digital assistant (personal digital assistant, PDA), a personal computer (personal computer, PC), or a relay device.
For example, please refer to fig. 1. The device group 110 includes a cell phone 1101, a smart tv 1102, a notebook 1103, a smart watch 1104, and the like. Meanwhile, each electronic device in the device group 110 is connected to each other by 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, etc.), user account information (such as user account number, etc.). That is, each electronic device in the device group may be a device under the same user account. For example, a user logs in to each electronic device in a registered device using the same user account; the user turns on each of the registered devices, etc., using a sound/face/fingerprint/gesture unlock or verify function.
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 cell 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 include the cell phone, the desktop computer, the smart screen, the notebook computer, the relay device, and the smart watch, and the cell phone, the desktop computer, the smart screen, the notebook computer, the relay device, and the smart watch form one WLAN network, so that communication between the respective devices within the WLAN network can be achieved 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 (such as bluetooth, zigbee, NFC, UWB, etc.). For example, a user forms a P2P network from a mobile phone, a notebook computer, a smart watch and other devices by scanning NFC tags, and all devices in the P2P network can communicate with each other.
Further, device identification information of each other may be stored between each electronic device in the device group. The device identification information may include, among other things, a media access control (media access control address, MAC) address, an internet protocol (internet protocol, IP) address, a device Serial Number (SN), etc. Therefore, a certain electronic device in the device group can perform cooperative control on other electronic devices through the device identification information of the other electronic devices stored in the device group (such as cooperative control on the other electronic devices to notify the other electronic devices of a message to be notified), so that cooperative control 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 (such as a message manager or notification manager) for generating a message, and the application or manager may generate a message to be notified (or reminded) when a set item (such as a control command generated by a server issuing a message) is satisfied. When a certain 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, an operating system in the mobile phone responds to the control command to generate the short message to be notified. If the user sets the short message notification function of the mobile phone to be silent notification, the mobile phone executes the notification of the short message by adopting 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 structure of the electronic device according to the embodiment of the present application will be described in detail with reference to fig. 2, and it will be understood that the structure illustrated in fig. 2 does not constitute a specific limitation on the device. In other embodiments of the application, the apparatus may also include more or fewer components than illustrated in FIG. 2, or certain components may be combined, certain components may be separated, or different arrangements of components. In addition, the components illustrated in fig. 2 may be implemented by 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 charge management module 280, an internal memory 2901, an external memory interface 2902, and the like.
In particular, the processor 210 may include one or more processing units. For example, the processor 210 may include a central processor (central processing unit, CPU), an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a field programmable gate array (field programmable gate array, FPGA), an application-specific integrated circuit (ASIC), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
Further, a memory may be provided in the 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 the processor 210 has just used or recycled. 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 increase system efficiency.
Further, the processor 210 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
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 the electronic device may be used to cover a single or multiple communication bands. In addition, different antennas can also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 is multiplexed into a diversity antenna of a wireless local area network.
In particular, the mobile communication module 220 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied to an electronic device. The mobile communication module 220 may include at least one filter, switch, power amplifier and low noise amplifier (low noise amplifier, LNA), etc.
Further, the mobile communication module 220 may receive electromagnetic waves from the antenna 1, perform processes such as filtering and amplifying on the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. In addition, the mobile communication module 220 may amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves.
Further, at least part of the functional modules of the mobile communication module 220 may be provided in the processor 210; alternatively, at least part of the functional modules of the mobile communication module 220 may be provided in the same device as part of the modules of the processor 210.
In particular, the wireless communication module 230 may provide solutions for wireless communication including Bluetooth (BT), wireless local area network (wireless local area networks, WLAN), wireless fidelity (wireless fidelity, wi-Fi) network, near field wireless communication (near field communication, NFC), infrared (IR), etc. applied on electronic devices.
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, modulates the electromagnetic wave signals, filters the 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, frequency modulate and amplify the signal, and then convert the signal into electromagnetic waves by the antenna 2.
The electronic device may implement audio functions 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 play, recording, etc.
In particular, the audio module 240 may be used to convert digital audio information to an analog audio signal output, and may also be used to convert an analog audio input to a digital audio signal. In addition, the audio module 240 may also be used to encode and decode audio signals. 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, the speaker 2401 may be used to convert audio electrical signals into sound signals. The electronic device can listen to sound played in music/video, or listen to hands-free conversation, etc., through the speaker 2401.
In particular, the receiver 2402 may be used to convert an audio electrical signal into a sound signal. When the electronic device receives a call or voice message, the phone 2402 can be closed to the ear to receive voice.
In particular, the microphone 2403 may be used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 2403 through the mouth, inputting a sound signal to the microphone 2403. 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 be provided with three, four, or more microphones 2403, and may identify a sound source to implement a directional recording function or the like in addition to collecting a sound signal or reducing noise, without being particularly limited thereto.
In particular, the headphone interface 2404 may be used to connect wired headphones. The headset interface 2404 may be a USB interface 2803, or may be a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american 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, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, an ultrawideband UWB sensor, a near field communication NFC sensor, a laser sensor, a visible light sensor, and/or the like.
It should be noted that, the electronic device may implement the display function through the GPU, the display module 260, the processor 210, and the like. Among other things, GPUs may be used to perform mathematical and geometric calculations and perform graphics rendering. In addition, 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 change 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 employ a liquid crystal display (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 (quantum dot light emitting diodes, QLED), or the like. In some possible examples, the electronic device may include 1 or more display modules 260.
It should be noted that the electronic device may implement the photographing function through the ISP, DSP, camera module 270, video codec, GPU, display module 260, processor 210, and the like. Wherein the ISP may be used to process the data fed back by the camera module 270. For example, when photographing, the shutter is opened first, then light is transmitted to the camera photosensitive element through the lens, so that the optical signal is converted into an electric signal, and finally the electric signal is transmitted to the ISP through the camera photosensitive element for processing so as to be converted into an image visible to naked eyes. In addition, ISP can also carry out algorithm optimization on 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, an ISP or DSP may be provided in the camera module 270.
In particular, the camera module 270 may be a camera that captures still/moving images or video. Wherein the object is projected through a lens to generate an optical image to a photosensitive element, which may be a charge coupled device (charge coupled device, CCD) or a complementary metal oxide semiconductor (complementary metal-oxide-semiconductor, CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP for conversion into a digital image signal. 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 the like 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 a charge input from a charger. The charger can be a wireless charger or a wired charger. In some possible examples, the charge management module 280 may receive a charge input of a wired charger through the USB interface 2803. In some possible examples, the charge management module 280 may receive wireless charge input through a wireless charging coil of the electronic device. The charge management module 280 may also provide power to the electronic device through the power management module 2802 while charging the battery 2801.
It should be 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, among other things, receives inputs from the battery 2801 and/or the charge management module 280, and provides power to various modules in the electronic device and the processor 210, etc.
In particular, the power management module 2802 may also be used to monitor parameters such as battery capacity, battery cycle times, battery health (leakage, impedance), etc. 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 provided in the same device.
It should be noted that the internal memory 2901 may be used to store computer executable program code including instructions. Among other things, the processor 210 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 2901. In some possible examples, internal memory 2901 stores program code that performs the technical aspects of embodiments of the application.
In particular, the internal memory 2901 may include a stored program area and a stored data area. The storage program area may store, among other things, an operating system, application programs required for at least one function (e.g., a sound playing function, an image playing function, etc.), and the like. The storage data area may store data created during use of the electronic device (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 2901 may include a high-speed random access memory, and may also include a nonvolatile memory. Such as at least one disk storage device, flash memory device, universal flash memory (universal flash storage, UFS), etc.
In particular, the external memory interface 2902 may be used to connect external memory cards, such as micro SD cards, to enable expanding the memory capabilities of the electronic device. The external memory card communicates with the processor 210 through an external memory interface 2902 to implement data storage functions. For example, files such as music, video, and the like are stored in an external memory card.
In the embodiment of the present application, a software system of a master control 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 application takes an Android system with a layered architecture as an example, and illustrates a software structure of a master control device.
The architecture diagram of the software and hardware system provided with the Android system is shown in fig. 3. Therein, the internal memory 2901 may have stored therein a kernel layer 320, a system runtime layer 340, an application framework layer 360, and an application layer 380. Wherein the layers communicate 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 referred to as an "application") is running in the application layer 380, where the application programs may be native application programs of an operating system, or may be third party application programs developed by a third party developer. For example, the application layer 380 may include applications such as cameras, gallery, calendar, talk, map, navigation, WLAN, bluetooth, music, messaging, video, and short messages.
It should be noted that the application framework layer 360 provides various application programming interfaces (application programming interface, APIs) and programming frameworks that may be used by applications that build the application layer, so that developers can also build their own applications by using these APIs. For example, a window manager (window manager), a content provider (content providers), a view system (view system), a phone manager (telephony 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), an NFC service, and the like.
In particular, a window manager may be used to manage window programs. The window manager may obtain the size of the display screen, determine if there is a status bar, lock the screen, intercept the screen, etc.
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 received, browsing history and bookmarks, phone books, etc. In addition, the content provider may enable an application to access data of another application, such as a contact database, or share their own data.
In particular, the view system includes visual controls. For example, a control for displaying characters and a control for displaying pictures. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
In particular, the telephony 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 localization 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 for conveying the message types of the notification messages, can automatically disappear after a short stay, and does not need user interaction. For example, notification managers are used to inform of download completion, message alerts, message notifications, and the like. The notification manager may also be a notification that appears in the system top status bar in the form of a chart or scroll bar text. In addition, 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, a text message is presented in a status bar, a warning tone is emitted, and the electronic device vibrates, and the indicator lights blink, etc.
Specifically, the message manager may be configured to store data of the messages reported by each application program, and process the data reported by each application program.
In particular, the activity manager may be used to manage application lifecycle and provide common navigation rollback functionality. In one possible example, the message manager may be part of a notification manager.
It should be noted that, the system runtime layer 340 provides main feature support for the Android system through some C/c++ libraries. For example, the SQLite library provides support for databases, the OpenGL/ES library provides support for 3D graphics, the Webkit library provides support for browser kernels, and the like. Also provided in the system Runtime layer 340 is a An Zhuoyun Runtime (Android run) that provides mainly some core libraries that can allow developers to write Android applications using the Java language.
In particular, kernel layer 320 may provide underlying drivers for various hardware of the electronic device, such as display drivers, audio drivers, camera drivers, bluetooth drivers, wi-Fi drivers, power management, NFC drivers, UWB drivers, and the like.
With the development of the internet of things, a user may have a plurality of electronic devices at the same time, and the electronic devices may have various forms, such as a mobile phone, a computer, a tablet, a television, a watch, etc., and different operating systems, software and hardware architectures, etc., may be mounted on different devices. For example, a system such as Windows or Mac may be installed on a computer, and a system such as Android or IOS may be installed on a mobile phone.
Additionally, human-machine interaction is an important way of communicating between a user and a device, while messaging is a passive human-machine interaction, i.e. an electronic device actively alerts the user to draw the attention of the user to interact. However, how to efficiently perform message notification is very important. However, when a user has a plurality of electronic devices at the same time, there may be a case where the user does not view a message issued for a certain electronic device in time. Thus, further research is still needed on how to perform message notification among multiple devices.
In connection with the above description, the following will describe the execution steps of the message notification method from the viewpoint of a method example, referring to fig. 4.
Fig. 4 is a flow chart of a message notification method according to an embodiment of the present application, where the method includes:
s410, the source equipment acquires a first message and/or first indication information to be notified.
Wherein the source device may be one electronic device of a device group.
The first indication information may be used to indicate whether the electronic devices in the device group are suitable for performing collaborative notification of the first message.
It should be noted that, in conjunction with the above description, first, 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, etc.), user account information (such as user account number, etc.).
Second, device identification information of each other may be stored between the electronic devices in the device group. The device identification information may include a MAC address, an IP address, SN, etc. Therefore, the source device in the device group can cooperatively control other electronic devices through the device identification information of the other electronic devices stored in the source device (such as cooperatively controlling the other electronic devices to notify the first message to be notified to realize notification of the first message), so that cooperative control capability among multiple devices is realized.
Finally, each electronic device in the device group may be installed with an application or manager (e.g., a message manager or notification manager, etc.) for generating messages that will generate messages to be notified (or reminded) when a set item (e.g., a control command issued by the server to generate the message, etc.) is met. When a certain 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 status indication information may be used to indicate whether the current device service status 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 represent the current device state (may also be referred to as the current usage state) of the source device, the currently executed service function, and the like. For example, the current device state is on, off (or off), lock, bright, how much power is left, vibration mode, mute mode, etc.; the currently performed service function is that video playback or music playback or the like is currently being performed. Wherein a service function may refer to at least one predetermined action operation that an electronic device may perform by invoking an internal application or instruction. For example, when the electronic device is a smart phone, the phone may perform video playing, music playing, making a call, email receiving and sending, weather information receiving, multimedia information displaying, game screen manipulation, photo taking, screen throwing, and the like by calling an internal application or instruction.
Secondly, the embodiment of the application can effectively avoid the situation that the notification of the message influences the use experience of the user by taking the currently executed service function as one of the judging conditions of the message notification among the devices. For example, when the source device is a cell phone, the user is watching video, playing a game, or reading text, etc. through the cell phone, and thus notification of a message is not desired to 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 judging conditions for message notification among devices. For example, if the current device service state is a mute state, a screen is turned off, the remaining power is low, a video is being played, etc., the current device service state of the source device is not suitable for performing notification of the first message. An exemplary description of the device service status indication information is provided below.
Illustratively, the device service status indication information x satisfies:
wherein x=1 indicates that the current device service state of the source device is suitable for performing notification of the first message; x=0 indicates that the current device service state of the source device is not suitable for performing 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 a device group in the embodiment of the present application, the user may not look at a message issued by a certain electronic device in time. Therefore, the embodiment of the application considers that the device execution state indication information is introduced to serve as one of judging conditions of message notification among devices, and judges whether other electronic devices except the source device are suitable for cooperatively notifying the first message according to the device execution state indication information, so that the first message is notified through as many devices as possible, and the situation that a user fails to view the first message in time is avoided.
Second, the device execution status 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 (either by establishing a communication connection with each other or by storing respective device identification information). For example, when the source device is a mobile phone, the user may communicatively connect (i.e., establish an association relationship) the mobile phone with a smart watch (or a smart headset, etc.) through bluetooth matching. Thus, the user can view a message notification on the cell phone, etc. through the smart watch.
Finally, the embodiment of the application can judge whether the attention of the user is on the electronic equipment or not through a face recognition 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 is facing the electronic device a (or the user is looking at the electronic device a in front, the face of the user is facing the electronic device), the electronic device a may acquire an image frame through the camera and analyze the image frame using a face-to-eye recognition algorithm (or an eyeball recognition algorithm, a face recognition algorithm) to determine that the user is focusing on 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 of the first message and/or the first indication information.
Wherein the target device may comprise at least one electronic device of the device group for performing the notification of the first message. It will be appreciated that the target device may comprise a source device, or may comprise other electronic devices in the device group 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 a device group in the embodiment of the present application, the user may not look at a message issued by a certain electronic device in time. Therefore, the embodiment of the application considers that the target device is determined from the device group according to the important notification degree of the first message and/or the first indication information. The target device can comprise 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 carried out by other electronic devices except the source device in the device group, the situation that the user fails to view the first message in time is avoided, the message collaborative notification among devices is further realized, the collaborative processing capability among devices is improved, the personalized message notification of the user is ensured, and the use experience of the user is improved.
Specifically, before S420, the method may further include the steps of: an important notification level of the first message is determined.
It should be noted that the importance notification level of the first message may be used to indicate an importance level (or priority level) to which the first message needs to be notified. That is, if the importance notification level 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 importance of a message is notified to a lower degree (the importance level or priority level is lower), 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 the judgment conditions of the message notification among the devices, so that the situation that the user fails to view 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 importance notification level of the first message may be represented by a numerical value. For example, if the value is at (60, 100), it indicates that the importance level (or priority level) to which the first message needs to be notified is "high", and the larger the value, the higher the importance level (or priority level), and if the value is at (0,60), it indicates that the importance level to which the first message needs to be notified is "low", and the smaller the value, the lower the importance level (or priority level).
Wherein the importance notification level of the first message may be determined by at least one of: the message type of the first message, the message content of the first message, the specific keyword in the first message, and the application type to which the first message belongs.
It should be noted that, first, the importance notification level of the first message may be determined by the message type of the first message. The embodiment of the application can determine the important notification degree of the first message from the preset mapping table according to the message type of the first message, wherein the first preset mapping table is used for indicating the mapping relationship between the message type and the important notification degree (or the numerical 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 travel type message, a short message type message, a password authentication type message, a general application notification type message, etc., which are very important to the user (i.e., important notification degree is high).
Second, the importance notification level of the first message may be determined by the message content of the first message. The embodiment of the application can determine the important notification degree of the first message from a second preset mapping table according to the keywords in the message content of the first message, wherein the second preset mapping table is used for indicating the mapping relation between the keywords and the important notification degree (or the numerical value).
Again, the degree of importance notification of the first message may be determined by the application type to which the first message belongs. The embodiment of the application can determine the important notification degree of the first message according to the application type to which the first message belongs. Since the application type to which the first message belongs may reflect the message type of the first message, the above scheme of "message type of the 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 importance 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 a plurality of ways to ensure that the determined importance notification degree of the first message is more accurate.
Therefore, the embodiment of the application can determine the important notification degree of the first message in different modes, thereby ensuring the diversity of schemes and improving the accuracy.
Specifically, determining the 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 may include: determining a target device (i.e., the subsequent "case one") for performing notification of the first message from the device group based on the importance notification level of the first message and the first indication information; or determining the target device (namely the subsequent 'case two' and 'case three') from the device group according to the first indication information; alternatively, the target device is determined from the device group based on the importance notification level of the first message (i.e., the subsequent "case four").
It may be appreciated that the embodiments of the present application may take various technical solutions to determine the target device for performing the notification of the first message. The following is a detailed description.
Case one:
in one possible example, determining a target device for performing notification of the first message from the device group according to the importance notification level of the first message and/or the first indication information may include the steps of: 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 importance notification level of the first message being greater than a preset threshold value and the importance notification level of the first message being less than or equal to the preset threshold value.
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 level of the first message with a preset threshold (e.g., "60") as described above. If the important notification degree of the first message is greater than a preset threshold value, the important notification degree of the first message is indicated as important, namely the first message is important to the user; if the importance notification level of the first message is less than or equal to the preset threshold value, the importance notification level of the first message is indicated as 'unimportant', i.e. the first message is not very important to the user. Then, a target device is determined from the device group based on the ranking result indicated by the comparison result ("important" or "unimportant") 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 assisted (or cooperated) by other electronic devices except the source device in the device group through the important notification degree of the first message and the first indication information, the situation that the user fails to view the first message in time is avoided, the message cooperated notification among devices is further realized, the cooperated processing capacity among 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 shows that the important notification degree of the first message is larger than the preset threshold value, acquiring equipment service state indication information in the first indication information; and determining the target device from the device group according to the device service state indication information.
It should be noted that, if the comparison result is that the importance notification degree of the first message is greater than the preset threshold, it is indicated that the importance notification degree of the first message is "important", that is, the first message is important to the user. Thus, users want to be able to immediately (or timely) process or view important messages. 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 a first message, the embodiment of the application introduces the equipment service state indication information in the first indication information.
In addition, as can be seen from the description of the "device service state indication information" above, 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 the device service state indication information is used to determine one or more suitable electronic devices (i.e. a plurality of devices as suitable as possible) in the device group to cooperatively notify the first message, thereby implementing message cooperative notification between devices, improving cooperative processing capability between devices, ensuring personalized message notification of the user, and improving use 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 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 a target device from the device group according to the device 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 performing 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 first determined, 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 realized through two determinations. If the source device is suitable for executing the notification of the first message, the notification is directly executed by the source device without judging whether other electronic devices are suitable, so that the cooperative processing efficiency of 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 the following steps: 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, the first electronic device is used as the target device; or if the device executes the notification that the state indication information indicates that all electronic devices except the source device in the device group are not suitable for the first message, the source device is taken as the target device.
It can be understood that the embodiment of the application considers that whether other electronic devices except the source device are suitable for executing the notification of the first message is judged, so that the message cooperation notification among the devices is realized through the judging 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 shows that the important notification degree of the first message is larger 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 a first message, the embodiment of the present application introduces device execution status indication information in the first indication information. In combination with the above-mentioned "device execution status indication information", the device execution status indication information may be used to indicate whether other electronic devices in the device group, except for the source device, are suitable for executing the notification of the first message, i.e. determine whether other electronic devices are needed to assist in notifying the first message, so that the device execution status indication information is used to determine one or more suitable electronic devices (i.e. let a plurality of suitable devices as much as possible) in the device group to cooperatively notify the first message, thereby implementing message cooperative notification between devices, improving cooperative processing capability between devices, ensuring personalized message notification of a user, and improving user experience of the user.
Further, determining the target device from the device group according to the device execution status indication information may include the following steps: 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, the first electronic device is used as the target device; or if the device executes the notification that the state indication information indicates that all electronic devices except the source device in the device group are not suitable for the first message, the source device is taken as the target device.
It can be understood that the embodiment of the application considers that whether other electronic devices except the source device are suitable for executing the notification of the first message is judged, so that the message cooperation notification among the devices is realized through the judging 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 shows that the important notification degree of the first message is smaller than or equal to the preset threshold value, the source equipment is used as the target equipment.
It should be noted that, if the importance notification level of the first message is less than or equal to the preset threshold, it is indicated that the importance notification level of the first message is "unimportant", that is, the first message is not very important to the user. Therefore, the user may not need to immediately (or timely) process or view the important message, so that the notification of the first message is directly performed by the source device, and whether the source device or other electronic devices are suitable or not is not needed, thereby improving the co-processing efficiency of message notification among the devices.
And a second case:
in one possible example, determining a target device for performing notification of the first message from the device group according to the importance notification level of the first message and/or the first indication information may include the steps of: acquiring equipment service state indication information in the first indication information, wherein the equipment service state indication 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 device from the device group according to the device service state indication information.
It should be noted that, unlike the above-mentioned "case one", the "case two" does not need to consider the important notification degree of the first message, but directly determines one or more electronic devices (i.e. let a plurality of devices fit as much as possible) in the device group according to the device service status indication information to cooperatively notify the first message, thereby implementing message cooperative notification between devices, improving cooperative processing capability between devices, ensuring personalized message notification of the user, and improving use 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 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 a target device from the device group according to the device 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 performing 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, 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 collaborative notification of the first message is determined, so that the message collaborative notification between the devices is realized through two determinations. If the source device is suitable for executing the notification of the first message, the notification is directly executed by the source device without judging whether other electronic devices are suitable, so that the cooperative processing efficiency of 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 the following steps: 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, the first electronic device is used as the target device; or if the device executes the notification that the state indication information indicates that all electronic devices except the source device in the device group are not suitable for the first message, the source device is taken as the target device.
It can be understood that the embodiment of the application considers that whether other electronic devices except the source device are suitable for executing the notification of the first message is judged, so that the message cooperation notification among the devices is realized through the judging 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 importance notification level of the first message and/or the first indication information may include the steps of: 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 except the source device in the device group are suitable for executing the notification of the first message; and determining the target device from the device group according to the device execution state indication information.
It should be noted that, unlike the above-mentioned "case one", the "case three" does not need to consider the important notification degree of the first message, but directly determines one or more electronic devices (i.e. let a plurality of devices fit as much as possible) in the device group according to the device execution state indication information to cooperatively notify the first message, thereby implementing message cooperative notification between devices, improving cooperative processing capability between devices, ensuring personalized message notification of the user, and improving use experience of the user.
Further, determining the target device from the device group according to the device execution status indication information may include the following steps: 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, the first electronic device is used as the target device; or if the device executes the notification that the state indication information indicates that all electronic devices except the source device in the device group are not suitable for the first message, the source device is taken as the target device.
It can be understood that the embodiment of the application considers that whether other electronic devices except the source device are suitable for executing the collaborative notification of the first message is judged, so that the message collaborative notification among the devices is realized through the judging 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 importance notification level of the first message and/or the first indication information may include the steps of: and if the important notification degree of the first message is smaller than or equal to a preset threshold value, the source equipment is used as the target equipment.
It should be noted that, if the importance notification level of the first message is less than or equal to the preset threshold, it is indicated that the importance notification level of the first message is "unimportant", that is, the first message is not very important to the user. Therefore, the user may not need to immediately (or timely) process or view the important message, so that the notification of the first message is directly performed by the source device, and whether the source device or other electronic devices are suitable or not is not needed, thereby improving the co-processing efficiency of message notification among the devices.
In combination with the description of "case one", "case two", "case three" and "case four" above, the following objects are mainly achieved in the embodiments of the present application: for unimportant messages or messages with low priority, the message notification is mainly executed by the source equipment, and the influence of the message notification on the user experience is reduced; for important messages or messages with high priority, not only the message notification is considered to be executed by the source device, but also other electronic devices except the source device are considered to execute message collaborative notification, so that the user is prevented from failing to immediately (or timely) process (or view) the message notification; for the source device not suitable for executing the message notification, other electronic devices except the source device need to be considered to execute the message notification, so that the user is prevented from failing to immediately (or timely) process (or view) the message notification; for the source device to be suitable for performing the message notification, it is mainly considered that the message notification is performed by the source device, and the message notification may also be performed by other electronic devices besides the source device at the same time.
S430, the source device controls the target device to perform notification of the first message.
Specifically, before S430, the method further includes: the source equipment determines the notification type mode of the first message according to the important notification degree of the first message and/or the first indication information.
It will be appreciated that the notification type manner of the first message may be determined by the importance of the notification level 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, lock screen notification, vibration notification, bell notification, popup window notification, display notification and silence notification.
It should be noted that, first, the embodiment of the present application may determine the notification type manner of the first message according to the important notification degree of the first message. If the importance notification degree of the first message is "important", a notification type manner that can more draw attention of the user (such as popup notification of the first message, vibration notification of the first message, ringing notification of the first message, etc.) may be selected; if the 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 embodiment of the application can determine the notification type mode of the first message according to the first indication information. If the device service status indication information in the first indication information indicates that the current device service status of the source device is suitable for performing notification of the first message, a notification type manner (such as silent notification of the first message, status bar notification of the first message, banner notification of the first message, etc.) that does not affect the user may be selected. This is because, although the source device is suitable for execution, it is possible that the source device is currently executing video playback, music playback, or the like, and the notification type manner that does not affect the user can be selected.
Finally, the embodiment of the application can determine the notification type mode of the first message according to the important notification degree of the first message and the first indication information.
Further, controlling the target device to perform notification of the first message may include the steps of: the control-target device performs notification of the first message in a notification type manner.
In accordance 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 equipment acquires a first message to be notified and first indication information.
Wherein the source device may be one electronic device of a device group.
The source equipment receives a first message to be notified and triggers the source equipment to carry out collaborative notification operation of the first message. For example, when a mobile phone receives a short message, the general steps are that the content of the short message is received, and then the short message is notified to a user in a popup window 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 performing 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 status indication information may be used to indicate whether the current device service status 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 is mainly used for judging the importance level (or priority level) of the first message, and the importance notification degree can be classified into high and low. It should be noted that, on the one hand, the present application determines the important notification degree of the first message according to the message content. For example, the priority level of transaction class messages, travel class messages, etc. is "high", and the priority level of notification class messages applied in general is "low". On the other hand, the application can be determined according to the priority level of the user-defined message, for example, the priority level of the short message of a certain contact person and the message containing a certain keyword is 'high'. In addition, the user can also automatically adjust the preset priority level scheme according to the own requirements.
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 level 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, S507 is executed; if the determination is "no", S506 is executed.
S505, the source device performs 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.
The simple way how to judge the attention of the user is to judge whether the electronic equipment is in the screen-off state. If the electronic equipment is in the screen-off state, the attention of the user is not on the electronic equipment; otherwise, the user is attentive to the electronic device. In addition, more complex algorithms, such as recognition oriented, eye recognition, etc., may be utilized to determine whether the user's attention is on the electronic device.
S507, the source device executes notification of the first message.
And 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, then S510 is executed; if the determination is 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 notification of the first message.
It should be noted that, the description of each embodiment of the present application has a emphasis, so that the portions of the embodiment described in fig. 5 that are not described in detail may refer to the related description of the embodiment described in fig. 4, and are not repeated.
In connection with the above description, the following embodiments of the present application will be exemplified by 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 box 6103, and a smart television 6104. The smart phone 6101 receives a message to be notified. The smart phone 6101 determines that the importance notification level of the message is "unimportant" (the importance level is low or the priority level is low) based on the message content of the message, or that the message is from a news-like application (i.e., news-like message). If the smartphone 6101 is adapted to perform message notification (although the user's 620 user's 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 video, etc., the user 620 sets that it may perform notification), the smartphone 6101 may perform notification of the message in the background notification bar without using a pop-up message notification (i.e. silent notification to not affect video viewing). If the smart phone 6101 is suitable for performing message notification, since the smart phone 6101 is associated with the smart watch 6102 (i.e. the user identification information of the user 620 is associated or a communication connection is established between them), and the user sets that the smart watch 6102 can perform a message notification function (i.e. the smart watch 6102 is suitable for performing notification of the message), the smart watch 6102 notifies the user 620 of the message in a vibration manner. The goal of the interaction mode between the user and the device in the scene is to avoid message notification from interrupting the user to watch video and the like 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 television 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 importance notification level 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 time, since the smart phone 7101 is in the video play service, and the message is an important message. If the smart phone 7101 is adapted to perform a message notification function (although the user's 720 user's attention is on the smart phone 7101, the user 720 is facing the smart phone 7101, or the user 720 is watching 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 the ringing method. At the same time, smart phone 7101 may also control smart watch 7102 to notify 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 vibratory manner.
For example, referring to fig. 8, the device group includes a smart phone 8101, a smart watch 8102, a smart speaker 8103, and a smart television 8104. The smart phone 8101 receives a message to be notified. Since the message is a cryptographically verified message, the mobile phone 8101 determines that the importance notification level of the message is "important" (importance level is high or 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's 820 user's attention is not in the smart phone 8101 or the user 820 does not use the smart phone 8101), it is necessary to determine whether the smart watch 8102, the smart speaker 8103, and the smart television 8104 in the device group are suitable for performing notification of the message (i.e., determine whether the user's 820 user's attention is in these electronic devices). For example, the determination may be made by whether a service (video playback, etc.) is being performed on these electronic devices or using techniques such as face orientation. Since the smart tv 8104 is playing video, the smart phone 8101 determines that the user's 820 user's attention may be on the smart tv 8104, so that the message is being notified on the smart tv 8101, and notification is being performed 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 to be notified and/or first indication information, 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 of the first message and/or the first indication information; finally, the source device controls the target device to perform notification of the first message. The target device can comprise 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 assisted (or cooperated) by other electronic devices except the source device in the device group through the important notification degree and/or the first indication information of the first message, the fact that the user fails to view the first message in time is avoided, the message cooperated notification among devices is further realized, the cooperated processing capacity among devices is improved, the personalized message notification of the user is guaranteed, and the use experience of the user is improved.
The foregoing description of the embodiments of the present application has been presented primarily in terms of a method-side implementation. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional units of the electronic device according to the method example, for example, each functional unit can be divided corresponding to each function, and two or more functions can be integrated in one processing unit. The integrated units may be implemented in hardware or in software functional units. It should be noted that, in the embodiment of the present application, the division of the units is schematic, but only one logic function is divided, and another division manner may be adopted in actual implementation.
In the case of using integrated units, fig. 9 provides a functional unit composition block diagram 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. The processing unit 920 is configured to control and manage actions of the source device, for example, the processing unit 920 is configured to support the source device to perform some or all of the steps in fig. 4, as well as 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 comprise a storage unit 910 for storing program code and data of the message notification apparatus 900.
The processing unit 920 may be a processor or controller, such as a CPU, general-purpose processor, DSP, ASIC, FPGA, transistor logic, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with embodiments of the application. In addition, the processing unit 920 may also be a combination that performs computing functions, such as a combination comprising one or more microprocessors, DSPs, and microprocessors. The communication unit 930 may be a communication interface, transceiver circuit, or 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 call the communication unit 930 to complete a corresponding operation. The following is a detailed description.
The processing unit 920 is configured to: acquiring a first message to be notified and/or first indication information, wherein the first indication information is used for indicating whether the electronic equipment in the equipment group is suitable for executing the 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; the target device is controlled to perform notification of the first message.
It should be noted that, for a 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, which is not repeated herein.
It can be seen that in the embodiment of the present application, first, by acquiring a first message to be notified and/or first indication information, 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, 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; finally, the notification of the first message is performed by controlling the target device. The target device can comprise 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 assisted (or cooperated) by other electronic devices except the source device in the device group through the important notification degree and/or the first indication information of the first message, the fact that the user fails to view the first message in time is avoided, the message cooperated notification among devices is further realized, the cooperated processing capacity among devices is improved, the personalized message notification of the user is guaranteed, and the use experience of the user is improved.
In one possible example, in determining a target device for performing notification of the first message from the device group according to the importance notification level 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 determining a target device for performing notification of the first message from the device group according to the importance notification level of the first message and/or the first indication information, the processing unit 920 is specifically configured to: acquiring equipment service state indication information in the first indication information, wherein the equipment service state indication 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 device from the device group according to the device service state indication information.
In one possible example, in determining a target device for performing notification of the first message from the device group according to the importance notification level of the first message and/or the first indication information, 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 except the source device in the device group are suitable for executing the notification of the first message; and determining the target device from the device group according to the device execution state indication information.
In one possible example, in determining a target device for performing notification of the first message from the device group according to the importance notification level of the first message and/or the first indication information, the processing unit 920 is specifically configured to: and if the important notification degree of the first message is smaller than or equal to a preset threshold value, the source equipment is used as the target equipment.
In one possible example, in 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 shows that the important notification degree of the first message is larger than the preset threshold value, acquiring equipment service state indication information in the first indication information; and determining the target device from the device group according to the device service state indication information.
In one possible example, in 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 shows that the important notification degree of the first message is larger than the preset threshold value, acquiring the equipment execution state indication information in the first indication information; and determining the target device from the device group according to the device execution state indication information.
In one possible example, in 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 shows that the important notification degree of the first message is smaller than or equal to the preset threshold value, the source equipment is used as the target equipment.
In one possible example, in 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 device from the device group according to the device execution state indication information.
In one possible example, in 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 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.
In one possible example, in 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, the first electronic device is taken as a target device, or the first electronic device and the source device are taken as target devices.
In one possible example, in 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, the source device is taken 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 of the first message and/or the first indication information.
In one possible example, 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.
In one possible example, in controlling the target device to perform 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 importance notification level of the first message and/or the first indication information, the processing unit 920 is further configured to: an important notification level of the first message is determined.
In one possible example, the degree of importance 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, the application type to which the first message belongs.
The following describes a schematic structural diagram of an electronic device according to an embodiment of the present application, 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 for connecting the processor 1010, the memory 1020, and the communication interface 1030.
The processor 1010 may be one or more Central Processing Units (CPUs). In the case where the processor 1010 is one CPU, the CPU may be a single-core CPU or a multi-core CPU. Memory 1020 includes, but is not limited to, random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), or portable Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), and Memory 1020 is used to store related instructions and data. The communication interface 1030 is used to receive and transmit 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 steps of: acquiring a first message to be notified and/or first indication information, wherein the first indication information is used for indicating whether the electronic equipment in the equipment group is suitable for executing the 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; the target device is controlled to perform notification of the first message.
It should be noted that, the specific implementation of each operation performed by the electronic device 1000 may be referred to the corresponding description of the method embodiment shown in fig. 4, which is not repeated herein.
It can be seen that in the embodiment of the present application, first, an electronic device obtains a first message to be notified and first indication information, 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 electronic device determines 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; finally, the electronic device controls the target device to perform notification of the first message. The target device can comprise 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 assisted (or cooperated) by other electronic devices except the source device in the device group through the important notification degree and/or the first indication information of the first message, the fact that the user fails to view the first message in time is avoided, the message cooperated notification among devices is further realized, the cooperated processing capacity among devices is improved, the personalized message notification of the user is guaranteed, and the use experience of the user is improved.
In one possible example, in determining a target device for performing notification of the first message from the device group according to the importance notification level 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: 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 determining a target device for performing notification of the first message from the device group according to the importance notification level 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 indication information in the first indication information, wherein the equipment service state indication 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 device from the device group according to the device service state indication information.
In one possible example, in determining a target device for performing notification of the first message from the device group according to the importance notification level 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 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 except the source device in the device group are suitable for executing the notification of the first message; and determining the target device from the device group according to the device execution state indication information.
In one possible example, in determining a target device for performing notification of the first message from the device group according to the importance notification level 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: and if the important notification degree of the first message is smaller than or equal to a preset threshold value, the source equipment is used as the target equipment.
In one possible example, in determining the 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 shows that the important notification degree of the first message is larger than the preset threshold value, acquiring equipment service state indication information in the first indication information; and determining the target device from the device group according to the device service state indication information.
In one possible example, in determining the 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 shows that the important notification degree of the first message is larger than the preset threshold value, acquiring the equipment execution state indication information in the first indication information; and determining the target device from the device group according to the device execution state indication information.
In one possible example, in determining the 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 shows that the important notification degree of the first message is smaller than or equal to the preset threshold value, the source equipment is used as the target equipment.
In one possible example, in determining the target device from the device group according to the device service 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 steps of: 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 device from the device group according to the device execution state indication information.
In one possible example, in determining the target device from the device group according to the device service 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 steps of: and 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.
In one possible example, in determining a target device from a device group according to 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 steps of: 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, the first electronic device is taken as a target device, or the first electronic device and the source device are taken as target devices.
In one possible example, in determining a target device from a device group according to 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 steps of: 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, the source device is taken as the target device.
In one possible example, the processor 1010 in the electronic device 1000 is configured to read the one or more programs 1021 stored in the memory 1020 before controlling the target device to perform notification of the first message is further configured to perform the steps of: and determining the notification type mode of the first message according to the important notification degree of the first message and/or the first indication information.
In one possible example, 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.
In one possible example, in controlling the target device to perform 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 steps of: 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 importance notification level of the first message and/or the first indication information, the processor 1010 in the electronic device 1000 is configured to read the one or more programs 1021 stored in the memory 1020 is further configured to perform the following steps: an important notification level of the first message is determined.
In one possible example, the degree of importance 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, the application type to which the first message belongs.
The present application also provides a computer-readable storage medium storing 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 described in the method embodiments above.
Embodiments of the present application also provide a computer program product, wherein the computer program product comprises a computer program operable to cause a computer to perform part or all of the steps of any one of the methods described in the method embodiments above. The computer program product may be a software installation package.
For the purposes of simplicity of explanation, the various method embodiments described above are depicted as a series of acts in combination. It will be appreciated by persons skilled in the art that the application is not limited by the order of acts described, as some steps in embodiments of the application may be performed in other orders or concurrently. Moreover, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts and modules referred to are not necessarily required in the present embodiments.
In the foregoing embodiments, the present application has been described with particular emphasis on each embodiment, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
In several embodiments provided by the present application, it should be appreciated by those skilled in the art that the described apparatus may be implemented in other ways. It will be appreciated that the above described apparatus embodiments are merely illustrative. For example, the above-described division of units is only one logical function division, and there may be another division manner in practice. That is, multiple units or components may be combined or integrated into another piece of software, and some features may be omitted or not performed. Further, the illustrated or discussed coupling, direct coupling, or communication connection may be through some interface, device, or unit, or may be in electrical or other form.
The above 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 technical solution of the application, which contributes to the prior art or all or part of the technical solution, may be embodied in the form of a computer software product. The computer software product is stored in a memory and includes instructions for causing a computer device (personal computer, server, network device, etc.) to perform all or part of the steps of an embodiment of the 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, and an optical disk.
While the embodiments of the present application have been described in detail, those skilled in the art should appreciate that the embodiments of the present application are merely for aiding in understanding the core concept of the technical solution of the present application, and thus the embodiments of the present application may vary in specific implementation and application scope. The description herein should not be construed as limiting the scope of the application. In addition, on the basis of the technical scheme of the embodiment of the application, any modification, equivalent replacement, improvement and the like which are arbitrarily made are included in the protection scope of the embodiment of the application.

Claims (8)

1. A message notification method, which is characterized by being applied to a source device, wherein the source device is one electronic device in a device group; the method comprises the following steps:
acquiring a first message to be notified and first indication information, wherein the first indication information is used for indicating whether the electronic equipment in the equipment group is suitable for executing the notification of the first message; if the important notification degree of the first message is greater than a preset threshold value, determining target equipment for executing notification of the first message from the equipment group according to the equipment service state indication information in the first indication information; 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, the current device service state of the source device is used for indicating the current device state of the source device and the currently executed service function, and the service function refers to at least one preset action operation executed by the source device through calling an internal application program or instruction;
if the important notification degree of the first message is smaller than or equal to the preset threshold value, the source equipment is used as the target equipment;
The target device is controlled to perform 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 device service status indication information in the first 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 device execution state indication information in the first indication information, wherein the device execution state indication information is used for indicating whether other electronic devices except the source device in the device group are suitable for executing the notification of the first message; determining the target device from the device group according to the device execution state indication information; or,
and 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 used as the target device.
3. The method of claim 2, wherein said determining the target device from the group of devices based on the device execution status indication information comprises:
If the device execution state indication information indicates that a first electronic device except the source device in the device group is suitable for executing the notification of the first message, the first electronic device is used as the target device, or the first electronic device and the source device are used as the target device; or,
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, the source device is used as the target device.
4. The method according to claim 1, characterized in that the notification type manner of the first message is determined by the importance notification level of the first message and/or the first indication information;
the controlling the target device to perform notification of the first message includes:
and controlling the target equipment to execute cooperative notification of the first message according to the notification type.
5. The method according to any of claims 1-4, wherein the importance 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.
6. A message notification apparatus, characterized by being applied to a source device, the source device being one electronic device in a device group; the apparatus comprises a processing unit for:
acquiring a first message to be cooperatively notified and first indication information, wherein the first indication information is used for indicating whether the electronic equipment in the equipment group is suitable for executing the notification of the first message;
if the important notification degree of the first message is greater than a preset threshold value, determining target equipment for executing notification of the first message from the equipment group according to the equipment service state indication information in the first indication information; 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, the current device service state of the source device is used for indicating the current device state of the source device and the currently executed service function, and the service function refers to at least one preset action operation executed by the source device through calling an internal application program or instruction;
the target device is controlled to perform notification of the first message.
7. An electronic device, characterized in that it 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 of any of claims 1-5.
8. A computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program is operable to cause a computer to perform the method of any one of claims 1-5.
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 CN115086888A (en) 2022-09-20
CN115086888B true 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)

Families Citing this family (1)

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

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102667645B1 (en) * 2018-09-21 2024-05-22 삼성전자 주식회사 Apparatus and method for providing a notification by interworking a plurality of electronic devices

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN115086888A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN112394895B (en) Picture cross-device display method and device and electronic device
CN110543289B (en) Method for controlling volume and electronic equipment
CN112398855B (en) Method and device for transferring application contents across devices and electronic device
CN114040242B (en) Screen projection method, electronic equipment and storage medium
CN109981885B (en) Method for presenting video by electronic equipment in incoming call and electronic equipment
CN115016869B (en) Frame rate adjusting method, terminal equipment and frame rate adjusting system
CN116360725B (en) Display interaction system, display method and device
US20230368710A1 (en) Vr display control method, electronic device, and computer-readable storage medium
WO2022135157A1 (en) Page display method and apparatus, and electronic device and readable storage medium
CN113935898A (en) Image processing method, system, electronic device and computer readable storage medium
CN114035721B (en) Touch screen display method and device and storage medium
CN110413383B (en) Event processing method, device, terminal and storage medium
WO2023273543A1 (en) Folder management method and apparatus
US20240272865A1 (en) Audio playing method, electronic device, and system
CN115686401A (en) Screen projection method, electronic equipment and system
CN115086888B (en) Message notification method and device and electronic equipment
CN116137639A (en) Cross-equipment audio data transmission method and electronic equipment
CN115509651A (en) Screen sharing method and related equipment
CN115113751A (en) Method and device for adjusting numerical range of recognition parameter of touch gesture
CN115242994A (en) Video call system, method and device
US20240045651A1 (en) Audio Output Method, Media File Recording Method, and Electronic Device
CN114095600B (en) Earphone theme changing method, smart phone and storage medium
WO2023246604A1 (en) Handwriting input method and terminal
WO2024109481A1 (en) Window control method and electronic device
CN118113184A (en) Method for protecting privacy information and electronic equipment

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