WO2022247464A1 - 通知方法、相关装置及系统 - Google Patents

通知方法、相关装置及系统 Download PDF

Info

Publication number
WO2022247464A1
WO2022247464A1 PCT/CN2022/084914 CN2022084914W WO2022247464A1 WO 2022247464 A1 WO2022247464 A1 WO 2022247464A1 CN 2022084914 W CN2022084914 W CN 2022084914W WO 2022247464 A1 WO2022247464 A1 WO 2022247464A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
control
information
notification
application
Prior art date
Application number
PCT/CN2022/084914
Other languages
English (en)
French (fr)
Inventor
聂玉鑫
Original Assignee
荣耀终端有限公司
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 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to EP22810197.8A priority Critical patent/EP4318194A4/en
Priority to US18/288,877 priority patent/US20240214489A1/en
Publication of WO2022247464A1 publication Critical patent/WO2022247464A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1698Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a sending/receiving arrangement to establish a cordless communication link, e.g. radio or infrared link, integrated cellular phone
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/724094Interfacing with a device worn on the user's body to provide access to telephonic functionalities, e.g. accepting a call, reading or composing a message
    • H04M1/724095Worn on the wrist, hand or arm
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Definitions

  • the present application relates to the field of terminals, and in particular to a notification method, a related device and a system.
  • a communication connection for example, a wired communication connection and/or a wireless communication connection
  • a communication connection for example, a wired communication connection and/or a wireless communication connection
  • other devices that establish a communication connection with the electronic device can simultaneously receive and display the notification information.
  • the same notification message displayed by the device For example, when the mobile phone receives and displays the notification information of the specified application, correspondingly, the smart watch that establishes a wireless communication connection with the mobile phone can receive and display the notification information of the specified application synchronously.
  • the present application provides a notification method, related device and system, so that when the first electronic device displays notification information and notification controls, the second electronic device can simultaneously display the above notification information and part or all of the above displayed on the first electronic device. With the notification control of the electronic device, the user can further process the displayed notification information based on the second electronic device, which simplifies the operation of the user.
  • the present application provides a notification method, which includes: establishing a communication connection between a first electronic device and a second electronic device.
  • the first electronic device acquires first notification information of the first application, where the first notification information includes first message content, control information corresponding to the first message content, and first extended information.
  • the control information includes data information of the first control and data information of the second control.
  • the first extended information includes a first identifier of the first control.
  • the first electronic device displays a first notification bar based on the first notification information, and the first notification bar includes the first message content, the first control and the second control. Based on the first extended information, the first electronic device filters out the data information of the first control from the first notification bar.
  • the first electronic device sends second notification information to the second electronic device, the second notification information includes the first message content and the data information of the first control, and the second notification information is used to indicate that the second electronic device A second notification bar is displayed, and the second notification bar includes the first message content and the first control.
  • the first electronic device receives the first identification sent by the second electronic device in response to the first input to the first control.
  • the first electronic device executes a first operation corresponding to the first control. In this way, the user can further process the notification information based on the second electronic device, which simplifies the operation of the user.
  • the data information of the first control specifically includes: the display size of the first control, the first identifier of the first control, the description information of the first control, the corresponding One or more of the first operations.
  • the second electronic device can accurately display the first control, which is beneficial to simplify user operations.
  • the first extended information further includes a second identifier of the third control. In this way, it is beneficial for the first electronic device to efficiently and accurately screen out the first controls that need to be sent to the second electronic device.
  • the first extended information further includes version number information of system components that support sharing the notification control to other devices.
  • the first electronic device filters out the data information of the first widget from the first notification bar based on the first extended information, specifically including: when the first electronic device determines that the When the system component version number information includes the first version number of the system component on the first electronic device, the first electronic device filters out the data of the first control from the first notification bar based on the first extended information information. In this way, the first electronic device can determine whether to filter the first control and send it to the second electronic device, thereby improving the efficiency and accuracy of the first electronic device in screening the first control.
  • the method before the first electronic device acquires the first notification information of the first application, the method further includes: when the first electronic device runs the first application, the first electronic device receives User's second input. The first electronic device generates the first message content based on the second input. In this way, the first electronic device can be made to generate the first notification information based on user input, which is conducive to flexible and dynamic generation of the first notification information.
  • the method before the first electronic device acquires the first notification information of the first application, the method further includes: the first electronic device receives a notification sent by the cloud server corresponding to the first application Prompt content. The first electronic device generates the first message content based on the notification prompt content. In this way, the first electronic device can be made to generate the first notification information based on the data sent by the cloud server, which is conducive to flexible and dynamic generation of the first notification information.
  • an embodiment of the present application provides a communication system, including a first electronic device and a second electronic device, where the first electronic device establishes a communication connection with the second electronic device, wherein: the first electronic device is used for The first notification information of the first application is obtained, wherein the first notification information includes first message content, control information corresponding to the first message content, and first extended information.
  • the control information includes data information of the first control and data information of the second control.
  • the first extended information includes a first identifier of the first control.
  • the first electronic device is further configured to display a first notification bar based on the first notification information, and the first notification bar includes the first message content, the first control and the second control.
  • the first electronic device is further configured to filter out data information of the first control from the first notification bar based on the first extended information.
  • the first electronic device is further configured to send second notification information to the second electronic device, where the second notification information includes the content of the first message and data information of the first control.
  • the second electronic device is configured to display a second notification bar based on the second notification information, and the second notification bar includes the first message content and the first control.
  • the second electronic device is further configured to send the first identification to the first electronic device in response to a first input to the first control.
  • the first electronic device is further configured to execute a first operation corresponding to the first control based on the received first identification. In this way, the user can further process the notification information based on the second electronic device, which simplifies the operation of the user.
  • the data information of the first control specifically includes: the display size of the first control, the first identifier of the first control, the description information of the first control, the corresponding One or more of the first operations.
  • the second electronic device can accurately display the first control, which is beneficial to simplify user operations.
  • the first extended information further includes a second identifier of the third control. In this way, it is beneficial for the first electronic device to efficiently and accurately screen out the first controls that need to be sent to the second electronic device.
  • the first extended information further includes version number information of system components that support sharing the notification control to other devices.
  • the first electronic device when the first electronic device is further configured to filter out the data information of the first widget from the first notification bar based on the first extended information, the first electronic device specifically uses When: when the first electronic device determines that the system component version number information includes the first version number of the system component on the first electronic device, the first electronic device is configured to, based on the first extended information, from the The data information of the first control is filtered out in the first notification bar. In this way, the first electronic device can determine whether to filter the first control and send it to the second electronic device, thereby improving the efficiency and accuracy of the first electronic device in screening the first control.
  • the first electronic device before the first electronic device is used to obtain the first notification information of the first application, the first electronic device is also used to: when the first electronic device runs the first application, The first electronic device is used for receiving a second input from a user. The first electronic device is also used to generate the first message content based on the second input. In this way, the first electronic device can be made to generate the first notification information based on user input, which is conducive to flexible and dynamic generation of the first notification information.
  • the first electronic device before the first electronic device is used to obtain the first notification information of the first application, the first electronic device is also used to: the first electronic device is used to receive the first notification information of the first application The notification prompt content delivered by the corresponding cloud server. The first electronic device is further configured to generate the first message content based on the notification prompt content. In this way, the first electronic device can be made to generate the first notification information based on the data sent by the cloud server, which is conducive to flexible and dynamic generation of the first notification information.
  • an embodiment of the present application provides an electronic device, which is a first electronic device and includes one or more processors, one or more memories, a display screen, and a transceiver.
  • the one or more memories are coupled with one or more processors, the one or more memories are used to store computer program code, the computer program code includes computer instructions, when the one or more processors execute the computer instructions, such that The first electronic device executes the method in any possible implementation manner of the foregoing first aspect.
  • the user can further process the notification information on the second electronic device based on the data information sent by the first electronic device, which simplifies the operation of the user.
  • an embodiment of the present application provides a computer storage medium, including computer instructions, and when the computer instructions are run on the first electronic device, the first electronic device executes any one of the possible steps in the first aspect above. method in the implementation.
  • the user can further process the notification information on the second electronic device based on the data information sent by the first electronic device, which simplifies the operation of the user.
  • the embodiment of the present application provides a computer program product, which, when the computer program product runs on the first electronic device, causes the first electronic device to execute any one of the possible implementation manners of the first aspect above. Methods.
  • the user can further process the notification information on the second electronic device based on the data information sent by the first electronic device, which simplifies the operation of the user.
  • FIG. 1 is a schematic structural diagram of a communication system 10 provided in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a hardware structure of an electronic device 100 provided in an embodiment of the present application
  • FIG. 3 is a schematic diagram of a hardware structure of an electronic device 200 provided in an embodiment of the present application.
  • FIG. 4 is a flowchart of a notification method provided by an embodiment of the present application.
  • 5A-5C are schematic diagrams of a set of user interfaces provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of a system architecture provided by an embodiment of the present application.
  • FIG. 1 exemplarily shows a schematic structural diagram of a communication system 10 provided by an embodiment of the present application.
  • a communication system 10 may include an electronic device 100 and an electronic device 200 .
  • the electronic device 100 may be a mobile phone, a tablet computer, a PC, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA) and other electronic devices.
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the present application does not impose any limitation on the specific type of the electronic device 100 .
  • the electronic device 200 may be an electronic device such as a smart watch, a smart bracelet, a wearable device, an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, and the like.
  • augmented reality augmented reality, AR
  • virtual reality virtual reality, VR
  • the present application does not impose any limitation on the specific type of the electronic device 200 .
  • the electronic device 100 can establish a wireless communication connection with the electronic device 200, and transmit data information to each other through a wireless communication technology.
  • the electronic device 100 may transmit various types of notification messages to the electronic device 200 through the wireless communication connection. interactive "remind later" control, etc.), etc.
  • the electronic device 200 can receive the above data information transmitted by the electronic device 100 through the wireless communication connection, and can also send a data instruction (for example, a data instruction including the identification of the first control, etc.) to the electronic device 100 through the wireless communication connection.
  • the wireless communication may be one or more wireless communication connections in Bluetooth, Wi-Fi direct or Wi-Fi softAP.
  • the electronic device 100 may establish a wired communication connection with the electronic device 200 to perform data interaction.
  • the electronic device 100 and the electronic device 200 may establish a wired connection through a universal serial bus (universal serial bus, USB), and transmit data information to each other based on the aforementioned wired communication connection.
  • a universal serial bus universal serial bus, USB
  • the exemplary communication system structure shown in this embodiment of the application does not constitute a specific limitation on the communication system 10.
  • the communication system 10 may include more or less Electronic equipment may also include electronic equipment of different types from those shown in the illustration.
  • the communication system 10 may also include multiple electronic devices 200 establishing communication connections with the electronic device 100, such as smart watches, or multiple electronic devices of different types, such as displays with communication functions, tablet computers, PCs, etc. This application is not limited to this.
  • the electronic device 200 may receive and display the same notification information displayed by the electronic device 100 .
  • the electronic device 100 and the electronic device 200 display the same notification information at the same time, the user cannot further process the notification information based on the type of the notification information and the electronic device 200 (for example, remind the notification information later, etc.), Instead, the notification information can only be interacted on the electronic device 100 .
  • the electronic device 200 can only perform universal operations on the notification information (for example, clearing the notification information, hiding the notification information, etc.) only when the electronic device 200 displays the notification information and the electronic device 100 does not display the notification information. ). Therefore, it is very inconvenient to operate for the user.
  • the embodiment of the present application provides a notification method.
  • the electronic device 100 sends the notification information to the electronic device 200, it will also send the information of one or more controls related to the notification information (for example, one or more controls their respective identities).
  • the electronic device 200 receives an input operation for a first control among the one or more controls, the electronic device 200 may send an identifier corresponding to the first control to the electronic device 100 .
  • the electronic device 100 may determine an operation corresponding to the first control based on the identification, and execute the operation. Therefore, the user can further process the notification information based on the electronic device 200, simplifying user operations.
  • the electronic device 100 provided in the embodiment of the present application is introduced below.
  • FIG. 2 exemplarily shows a schematic diagram of a hardware structure of an electronic device 100 provided by an embodiment of the present application.
  • the electronic device 100 may include a processor 101 , a memory 102 , a wireless communication module 103 , a display screen 104 , a sensor module 105 and the like.
  • the foregoing modules may be connected through a bus or in other ways, and the embodiment of the present application takes the connection through a bus as an example.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may also include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 101 may include one or more processor units, for example, the processor 101 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 101 for storing instructions and data.
  • the memory in processor 101 is a cache memory. This memory may hold instructions or data that processor 101 has just used or recycled. If the processor 101 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 101 is reduced, thereby improving the efficiency of the system.
  • processor 101 may include one or more interfaces.
  • the interface 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 transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or USB interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB interface etc.
  • the electronic device 100 may establish a wired communication connection with the electronic device 200 through a USB interface, and transmit data information to each other based on the aforementioned wired communication connection.
  • the memory 102 is coupled with the processor 101 for storing various software programs and/or multiple sets of instructions.
  • the memory 102 may include a volatile memory (volatile memory), such as a random access memory (random access memory, RAM); it may also include a non-volatile memory (non-vlatile memory), such as a ROM, a flash Memory (flash memory), hard disk drive (Hard Disk Drive, HDD) or solid state disk (Solid State Drives, SSD);
  • the memory 102 can also comprise the combination of above-mentioned types of memory.
  • the memory 102 may store some program codes, so that the processor 101 calls the program codes stored in the memory 102 to implement the implementation method in the electronic device 100 of the embodiment of the present application.
  • the memory 102 can store operating systems, such as embedded operating systems such as uCOS, VxWorks, and RTLinux.
  • the wireless communication module 103 may include a Bluetooth communication module 103A and a WLAN communication module 103B.
  • the WLAN communication module 103B can be integrated with other communication modules (eg, the Bluetooth communication module 103A).
  • the WLAN communication module 103B and/or the Bluetooth module 103A can transmit signals to detect and scan devices near the electronic device 100, so that the electronic device 100 can use one or more wireless communication technologies in Bluetooth or WLAN to discover nearby devices, such as the electronic device 200 .
  • the electronic device 100 may establish a wireless communication connection with the electronic device 200 through one or more wireless communication technologies of WLAN and Bluetooth, and perform data transmission and data reception based on the wireless communication connection.
  • the electronic device 100 can transmit data based on one or more wireless communication technologies in the Bluetooth communication module 103A or the WLAN communication module 103B (for example, various types of notification information, the identification of the first control that needs to be displayed by the electronic device 200, etc.) to the electronic device 200 .
  • the electronic device 100 may also obtain the data instruction sent by the electronic device 200 (for example, the data instruction including the identifier of the first control, etc.) through the wireless communication connection.
  • the Bluetooth communication module 103A can provide one or more Bluetooth communication solutions including classic Bluetooth (basic rate/enhanced data rate, BR/EDR) or Bluetooth low energy (bluetooth low energy, BLE).
  • the WLAN communication module 103B can provide wireless fidelity direct (wireless fidelity direct, Wi-Fi direct), wireless fidelity local area networks (wireless fidelity local area networks, Wi-Fi LAN) or wireless fidelity software access point (wireless fidelity software) access point, Wi-Fi softAP) in one or more WLAN communication solutions.
  • the wireless communication module 103 can receive electromagnetic waves via an antenna (not shown in FIG. 2 ), frequency-modulate and filter the electromagnetic wave signals, and send the processed signals to the processor 101 .
  • the wireless communication module 103 can also receive the signal to be sent from the processor 101, frequency-modulate it, amplify it, and convert it into electromagnetic wave and radiate it through the antenna.
  • the wireless communication module 103 can also provide information on the electronic device 100 including global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), short-range wireless communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • global navigation satellite system global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • short-range wireless communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the display screen 104 may be used to display images, videos, and the like.
  • the display screen 104 may include a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 104 , where N is a positive integer greater than 1.
  • the sensor module 105 may include a touch sensor 105A and the like.
  • the touch sensor 105A may also be referred to as a "touch device”.
  • the touch sensor 105A can be disposed on the display screen 104, and the touch sensor 105A and the display screen 104 form a touch screen, also called “touch screen”.
  • the touch sensor 105A may be used to detect a touch operation on or near it.
  • the sensor module 105 may further include a gyroscope sensor (not shown in FIG. 2 ), an acceleration sensor (not shown in FIG. 2 ) and the like. Wherein, the gyro sensor can be used to determine the motion posture of the electronic device 100.
  • the electronic device 100 can determine the position of the electronic device 100 around three axes (ie, x, y and z axes) through the gyro sensor. angular velocity.
  • the acceleration sensor can be used to detect the acceleration of the electronic device 100 in various directions (generally x, y and z axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary.
  • the audio module 106 can be used to convert digital audio information into analog audio signal output, and can also be used to convert analog audio input into digital audio signal.
  • the audio module 106 may also be used to encode and decode audio signals.
  • the audio module 106 can also be set in the processor 101 , or some functional modules of the audio module 106 can be set in the processor 101 .
  • the speaker 107 which may also be referred to as a "horn", is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 107, or listen to a speakerphone.
  • the electronic device 100 may further include a mobile communication module (not shown in FIG. 2 ).
  • the mobile communication module can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • FIG. 3 exemplarily shows a schematic diagram of a hardware structure of an electronic device 200 provided in an embodiment of the present application.
  • the electronic device 200 may include a processor 201 , a memory 202 , a wireless communication module 203 , a power switch 204 , a display screen 205 and the like.
  • the foregoing modules may be connected through a bus or in other ways, and the embodiment of the present application takes the connection through a bus as an example.
  • Processor 201 may be used to read and execute computer readable instructions.
  • the processor 201 may mainly include a controller, an arithmetic unit, and a register.
  • the controller is mainly responsible for instruction decoding, and sends out control signals for the operations corresponding to the instructions.
  • the arithmetic unit is mainly responsible for saving the register operands and intermediate operation results temporarily stored during the execution of the instruction.
  • the hardware architecture of the processor 201 may be an application specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, or an NP architecture, and so on.
  • ASIC application specific integrated circuit
  • the processor 201 may be configured to parse the data information received by the wireless communication module 203 (for example, the identifier corresponding to the first control). The processor 201 may respond according to the data information, and perform corresponding operations (for example, displaying the first control). The processor 201 may also be configured to generate a signal sent by the wireless communication module 203 , such as a Bluetooth signal.
  • the memory 202 is coupled with the processor 201 for storing various software programs and/or sets of instructions.
  • the memory 202 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices or other non-volatile solid-state storage devices.
  • the memory 202 can also store a communication program, which can be used to communicate with the electronic device 100 or other electronic devices.
  • the wireless communication module 203 may include a Bluetooth communication module 203A or others.
  • the electronic device 200 can establish a wireless communication connection with the electronic device 100 through one or more of the Bluetooth communication modules 203A to receive or transmit wireless signals.
  • the electronic device 200 can obtain the data transmitted by the electronic device 100 through the above wireless communication connection (for example, various types of notification information, the mark of the control that needs to be displayed by the electronic device 200, etc.), and can also send data to the electronic device through the above wireless communication connection.
  • 100 sends a data command (eg, a data command including a tag of the first control, etc.).
  • the Bluetooth communication module 203A can provide one or more Bluetooth communication solutions including classic Bluetooth (basic rate/enhanced data rate, BR/EDR) or Bluetooth low energy (bluetooth low energy, BLE).
  • the wireless communication module 203 may also include a WLAN communication module (not shown in FIG. 3 ), which may provide one or more of Wi-Fi direct, Wi-Fi LAN or Wi-Fi softAP.
  • a solution for WLAN communication may be integrated with the Bluetooth communication module 203A.
  • the electronic device 200 can establish a wireless communication connection with the electronic device 100 through the wireless communication technology provided by the WLAN module, and perform data interaction with the electronic device 200 based on the wireless communication connection.
  • the power switch 204 can be used to control power supply to the electronic device 200 .
  • the display screen 205 can be used to display images, videos, controls, text information, and the like.
  • the display screen 205 may include a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 200 may include 1 or N display screens 205 , where N is a positive integer greater than 1.
  • the electronic device 200 may include a touch sensor, and the touch sensor may also be called a "touch device”.
  • the touch sensor can be arranged on the display screen 205, and the touch sensor and the display screen 205 form a touch screen, which can also be called a “touch screen”.
  • the touch sensor can be used to detect a touch operation on or near it.
  • the electronic device 200 may include one or more physical keys.
  • the one or more physical keys may receive an input operation performed by the user on the key (for example, pressing the physical key).
  • the electronic device 200 may perform an operation corresponding to the control displayed on the display screen corresponding to the physical key.
  • the electronic device 200 may also include a USB interface, through which the electronic device 200 can establish a wired communication connection with the electronic device 100, and transmit data information to each other through the wired communication connection.
  • a USB interface through which the electronic device 200 can establish a wired communication connection with the electronic device 100, and transmit data information to each other through the wired communication connection.
  • the electronic device 200 shown in FIG. 3 is only an implementation manner of the embodiment of the present application, and does not constitute a specific limitation on the electronic device 200 .
  • the electronic device 200 may be a smart watch, and the electronic device 200 may also include a strap and a dial.
  • the dial can include a display screen 205 for displaying images, videos, controls, text information and the like.
  • the watch strap can be used to fix the electronic device 200 on the limbs of the human body for easy wearing.
  • the electronic device 200 may also include more or fewer components than shown in the figure, which is not limited here.
  • a notification method provided in the embodiment of the present application is introduced below.
  • FIG. 4 schematically shows a flowchart of a notification method provided by an embodiment of the present application.
  • the specific process of the method may include:
  • the electronic device 100 and the electronic device 200 establish a wireless communication connection.
  • the electronic device 100 and the electronic device 200 can include one or more of the classic Bluetooth (basic rate/enhanced data rate, BR/EDR) or Bluetooth low energy (bluetooth low energy, BLE) provided by the Bluetooth communication module.
  • the Bluetooth communication solution establishes a wireless communication connection, and performs data transmission and data reception based on the wireless communication connection.
  • the electronic device 100 can also establish a wireless communication connection with the electronic device 200 through the WLAN communication module, including one or more WLAN communication solutions in Wi-Fi direct, Wi-Fi LAN or Wi-Fi softAP, Data transmission and data reception are performed based on the wireless communication connection.
  • the WLAN communication module including one or more WLAN communication solutions in Wi-Fi direct, Wi-Fi LAN or Wi-Fi softAP, Data transmission and data reception are performed based on the wireless communication connection. This application is not limited to this.
  • the electronic device 100 obtains the first notification information of the first application, where the first notification information may include the first application identifier, message content, operable controls corresponding to the message content, executable operations corresponding to the operable controls, first Extended information, etc.
  • the first extended information may include data information of operation controls supported by multiple types of electronic devices.
  • the message content in the first notification information may be obtained by the electronic device 100 from a server, or may be obtained from a user input received by the electronic device 100, which is not limited in this application.
  • the data information of the operation controls supported by multiple types of electronic devices included in the first extended information may include identifications of the operation controls supported by multiple types of electronic devices, or may include the operation controls supported by multiple types of electronic devices Attribute information (for example, the height attribute of the control, the width attribute of the control, the description information of the control, etc. Wherein, the description information of the control may include the prompt information of the control and/or the picture information of the control, etc.).
  • the first extended information may be preset by the first application and stored in the electronic device 100 .
  • the identifiers of the operation controls supported by various types of electronic devices in the first extended information in the first application may be as shown in Table 1:
  • the controls supported by the electronic device 200 may include “remind later”, “got it", “mark as complete”, etc., where " The value of the identifier corresponding to the "remind later” control may be “1”, the value of the identifier corresponding to the "got it” control may be “3”, and the value of the identifier corresponding to the "mark as complete” may be "4".
  • the controls supported by the electronic device 200 may include “remind later”, “join the meeting", “got it", “mark as complete” and so on.
  • the value of the identification corresponding to the "remind later" control can be "1”
  • the value of the identification corresponding to the "join meeting” control can be “2”
  • the value of the identification corresponding to the "know” control can be "3”
  • "mark The value of the corresponding flag for "completed” can be "4".
  • Table 1 is only used to explain the present application. In practical applications, Table 1 may also include more, less or different identifications of operation controls supported by various types of electronic devices in Table 1. This Applications are not limited to this.
  • the electronic device 100 determines the device type of the electronic device 200 based on the wireless communication connection.
  • the first application on the electronic device 100 may obtain the data information of the operation controls supported by the electronic device 200 from the first extended information based on the device type of the electronic device 200 .
  • the electronic device 100 can establish a Bluetooth communication connection with the electronic device 200, and the electronic device 100 can receive the It is determined in the data information that the type of the electronic device 200 is a smart watch, and then the electronic device 100 can obtain the data information of the operation controls supported by the electronic device 200 (that is, the smart watch) from the first extended information.
  • the electronic device 100 may obtain that the controls supported by the electronic device 200 include “remind later", “got it", “mark as complete”, etc., wherein the value of the identifier corresponding to the "remind later” control may be "1", the value of the identification corresponding to the "know” control may be "3", and the value of the identification corresponding to "mark as complete” may be "4".
  • the first application is preset with data information of operation controls supported by various types of electronic devices (as shown in Table 1).
  • the electronic device 100 establishes a wireless communication connection with the electronic device 200 and determines the device type of the electronic device 200
  • the first application can obtain the data information of the operation controls supported by the electronic device 200, and use the operation controls supported by the electronic device 200
  • the data information of is packaged as the first extended information, and delivered together with the first notification information. That is to say, in this implementation, the first extended information only includes the data information of the operation controls supported by the electronic device 200 , instead of including the data information of the operation controls supported by multiple types of electronic devices as shown in step S401 .
  • the electronic device 100 displays a first notification bar, where the first notification bar may include message content and operable controls corresponding to the message content.
  • the electronic device 100 may display a user interface 500 .
  • One or more application icons and a notification bar 501 may be displayed in the user interface 500 .
  • the one or more application icons may include a weather application icon, a stock application icon, a calculator application icon, a setting application icon, a mail application icon, a theme application icon, a music application icon, a video application icon, and the like.
  • the notification bar 501 may include message type prompt information, message content, a "join meeting" control 501A (also referred to as a second control), a "remind later" control 501B (also referred to as a first control), and the like.
  • the message type prompt information may be used to prompt the user of the type of message content in the notification bar.
  • the message type prompt information may be text information "schedule". Not limited to text information, the message type indicator may also be an icon, a voice output by the electronic device 100 or other types of prompt information.
  • the content of the message may be text information "scene seminar", "09:00-11:30 video access” and so on.
  • the “Join Meeting” control 501A and the “Remind Later” control 501B can be used for the user to select operations that need to be performed by the electronic device 100 .
  • the electronic device 100 may respond to a touch operation (for example, click) acting on the "join meeting" control 501A or the "remind later” control 501B, and may execute the corresponding action of the "join meeting" control 501A or the "remind later” control 501B. operate.
  • a touch operation for example, click
  • the value of the identifier corresponding to the "join meeting" control 501A may be "2", and the control 501A may not be an operation control supported by the electronic device 200.
  • the value of the identifier corresponding to the control 501A is not “2". It exists in Table 1, that is to say, the identification corresponding to the control supported by the electronic device 200 does not include the identification corresponding to the control 501A.
  • the value of the identification corresponding to the "remind later" control 501B (also referred to as the first control) may be "1”, and the control 501B may be an operation control supported by the electronic device 200.
  • the identification The value "1" exists in Table 1, that is to say, the identifier corresponding to the electronic device 200 supports operation controls includes the identifier corresponding to the control 501B.
  • a status bar, a page indicator and a tray icon area may also be displayed in the user interface 500 .
  • the status bar may include one or more signal strength indicators of a mobile communication signal (also referred to as a cellular signal), a signal strength indicator of a wireless fidelity (Wi-Fi) signal, a Bluetooth icon, a battery status indicator, time indicator, etc.
  • the page indicator can be used to indicate the positional relationship between the currently displayed page and other pages.
  • the tray icon area includes a plurality of tray icons (such as a dialer application icon, a message application icon, a contact application icon, and a camera application icon), and the tray icons are kept displayed when the page is switched.
  • the Bluetooth icon is used to prompt the user that the electronic device 100 establishes a wireless communication connection with the electronic device 200 via Bluetooth.
  • the above page may also include multiple application icons and page indicators, and the page indicator may not be a part of the page, but exists independently.
  • the above picture icon is also optional, which is not limited in this embodiment of the present application.
  • the electronic device 100 may obtain the identifier of the first application, the data information of the operable control corresponding to the message content, and the executable operation corresponding to the operable control.
  • the data information of the control may include, for example, the identification of the control, the length attribute of the control, the height attribute of the control, and/or the description information of the control.
  • the description information of the control may include text prompt information of the control (for example, text information such as "remind later" and "got it" displayed on the control to prompt the function of the control) and/or picture information of the control.
  • the electronic device 100 may filter out one or more notification controls that need to be pushed to the electronic device 200 based on the identifier of the operable control and the identifier of the operational controls supported by the electronic device 200 .
  • the electronic device 100 may obtain the identification corresponding to the "join meeting" control 501A (also referred to as the second control) included in the notification bar 501 displayed in the user interface 500, and the "remind later" control 501B (also referred to as the first control) corresponds to the identifier, the information of the control 501A, and the information of the control 501B.
  • the value of the identification corresponding to the "join meeting" control 501A is "2”
  • the value of the identification corresponding to the "remind later" control 501B is "1".
  • the electronic device 100 may perform the intersection operation based on the identification corresponding to the control supported by the electronic device 200 in the preceding step S410 (for example, as shown in Table 1), the obtained identification corresponding to the control 501A, and the identification corresponding to the control 501B. It can be seen that the electronic device 200 supports the identification corresponding to the operation control (for example, as shown in Table 1) including the value "1" of the identification corresponding to the control 501B, but not including the value "2" of the identification corresponding to the control 501A. Therefore, the electronic device 100 screens out the “remind later” control 501B that needs to be pushed to the electronic device 200 .
  • the electronic device 100 sends second notification information, where the second notification information may include an identifier of the first application, message content, data information of one or more filtered notification controls, and a mapping relationship between notification controls and corresponding identifiers.
  • the data information of one or more notification controls may include an identifier of the notification control, a length attribute of the notification control, a height attribute of the notification control, text prompt information on the notification control, and the like.
  • mapping relationship between the notification control and the corresponding identifier may be, for example, the mapping relationship between the notification control "remind later" control 501B filtered out based on Table 1 and its corresponding identifier "1".
  • the electronic device 100 may send the second notification information to the electronic device 200 through one or more wireless communication technologies in Bluetooth or WLAN.
  • the first extended message may also include version numbers of system components (eg, a Synergy component used to filter and send one or more notification controls to the electronic device 200 ).
  • version numbers of system components eg, a Synergy component used to filter and send one or more notification controls to the electronic device 200 .
  • the electronic device 100 may determine whether the version number of the system component is a preset version number.
  • the electronic device 100 determines that the version number of the system component is not the preset version number, the electronic device 100 does not perform the operation shown in step S405, that is to say, the electronic device 100 does not perform screening of the information that needs to be pushed to the electronic device 200.
  • One or more notification controls for this process are examples of system components.
  • the electronic device 100 may receive and respond to the user's input to determine whether to perform the operation of screening and sending the notification control that needs to be pushed to the electronic device 200 .
  • the electronic device 200 displays a second notification bar based on the second notification information.
  • the second notification bar may include message content and one or more notification controls sent in step S406.
  • the electronic device 200 may display a user interface 510 .
  • a notification bar 511 (also called a second notification bar) may be displayed on the user interface 510 .
  • the notification bar 511 may include message type prompt information, message content, a "remind later" control 511A (also referred to as the first control) and the like.
  • the message type prompt information may be used to prompt the user of the type of message content in the notification bar.
  • the message type prompt information may be text information "schedule ⁇ 09:00". Not limited to text information, the message type indicator may also be an icon, a voice output by the electronic device 200 or other types of prompt information.
  • the content of the message may be text information "scene seminar", "09:00-11:30 video access” and so on.
  • the "remind later" control 511A can be used to detect the user's touch operation (for example, click) on the control.
  • the electronic device 200 receives a first input for a first control in one or more notification controls.
  • the electronic device 200 sends the first identification of the first control based on the mapping relationship in the foregoing step S406.
  • the electronic device 200 may receive a touch operation (also referred to as a first input, for example, click). In response to the touch operation, the electronic device 200 may send to the electronic device 100 the value "1" corresponding to the identification of the "remind later" control 511A (also referred to as the first an identification).
  • a touch operation also referred to as a first input, for example, click
  • the electronic device 200 may send to the electronic device 100 the value "1" corresponding to the identification of the "remind later" control 511A (also referred to as the first an identification).
  • the electronic device 100 receives the identifier of the first widget sent by the electronic device 200 .
  • the electronic device 100 determines the first operation corresponding to the first control based on the identifier of the first control.
  • the electronic device 100 may determine the "remind later” based on the flag.
  • the operation corresponding to the control 511A also referred to as the first operation
  • the operation corresponding to the “remind later” 501B on the user interface 500 also referred to as the first operation.
  • the electronic device 100 performs a first operation.
  • the electronic device 100 may perform the operation. For example, the electronic device 100 no longer displays the notification bar 501, and displays the first notification bar on the electronic device 100 again after a specified time point (for example, ten minutes later).
  • a specified time point for example, ten minutes later.
  • the electronic device 100 may receive notification widget identifiers sent by multiple electronic devices 200 .
  • the electronic device 100 may determine and execute a corresponding operation based on the notification widget identifier.
  • the first application may be preset with data information of operation controls supported by various types of electronic devices (as shown in Table 1).
  • the first application may obtain data information of the operation controls supported by the electronic device 200 .
  • the first application may base on the operable controls corresponding to the message content and the operating controls supported by the electronic device 200 (for example, combine the operable controls corresponding to the message content and the operating controls supported by the electronic device 200 The operation controls are intersected), the content of the message is obtained corresponding to the control that can be sent to the electronic device 200, and the data information of the control is packaged into the first extended information, which is sent together with the first notification information.
  • the electronic device 100 may send the data information of the control to the electronic device 200 based on the first extended information.
  • the first extended information includes the operable controls that can be sent to the electronic device 200 in the message content, rather than all the controls supported by the electronic device 200 .
  • the electronic device 100 taking the electronic device 100 as a mobile phone, the electronic device 200 as a smart watch, and the notification bar 501 shown in FIG. All the controls supported by the smart watch shown in Table 1 are "remind later”, “got it", and "mark as complete”.
  • the message content of the first notification information in the first application may be a local message that does not need to rely on the server to send data information.
  • the message content of the first notification information in the clock application may be the received user input, such as receiving the specified time input by the user (for example, 7 o'clock in the morning), electronically Device 100 sounds an alarm at the specified time.
  • the electronic device 100 determines based on the first control identification
  • the first operation to be executed may be a local operation that is not dependent on interaction with the server (eg, "remind again in ten minutes” operation or “turn off the alarm clock” operation, etc.).
  • the message content of the first notification information in the first application may be an online message notification that needs to rely on the server to send data information.
  • the message content of the first notification information in the news application may be the notification information delivered by the server.
  • the electronic device 100 receives the identification of the first control (for example, the "view complete news" control, etc.) sent by the electronic device 200
  • the first operation determined and executed by the electronic device 100 based on the first control may be Operations that need to be performed by interacting with the server (for example, operations that require the server to deliver complete news information and display it on a display screen for users to view complete news information). This application is not limited to this.
  • FIG. 6 schematically shows a system provided by an embodiment of the present application Architecture diagram.
  • the electronic device 100 may include a first application module, a notification bar module, and a synergy (Synergy) component module.
  • the electronic device 200 may include a SynergyLite module, a message center module, and the like.
  • the first application module in the electronic device 100 may preset and store the first extended information.
  • the first extended information For a description of the first extended information, reference may be made to the description of step S402 in the embodiment shown in FIG. 4 , which will not be repeated here.
  • the format of the first extended information may be as shown in the following code:
  • Bundle bundle new Bundle()
  • “Bundle.putInt("synergy.version", 1)” indicates the version number of the system component included in the first extended information, and the Synergy component module on the electronic device 100 can determine whether it needs to be based on the version number of the system component.
  • One or more notification controls are screened out and pushed to the electronic device 200.
  • the code of the first extended information may not include the version number of the system component. This application is not limited to this.
  • “Bundle.putString(“synergy.actionids”, [1,3,4])” indicates the identifiers of the operable controls that can be pushed to the electronic device 200 .
  • the electronic device 100 can push the value of the operable control identifier to the electronic device 200 to be "1", “3", and "4", that is, “remind later” correspondingly shown in Table 1 control, "Got it” control, and "Mark as done” control.
  • the first application module can also send data information to the notification bar module, and send the first notification information including the first extended information to the notification bar module, so that the notification bar module can display the first notification bar based on the first notification information .
  • first notification information and the first notification bar reference may be made to the descriptions of step S402 and step S404 in the embodiment shown in FIG. 4 above, which will not be repeated here.
  • the Synergy component module When the Synergy component module detects that the notification bar module displays the first notification bar, it can obtain the data information in the first notification bar from the notification bar module (for example, the identifier of the first application, the information of the operable control corresponding to the message content) data information, and the executable operations corresponding to the operable controls, etc.), specifically about the data information in the first notification bar, please refer to the description of step S405 in the embodiment shown in FIG. 4 above, which will not be repeated here.
  • the Synergy component module can filter out the notification controls that need to be sent to the electronic device 200 based on the data information in the first notification bar. For the process of performing the screening for the notification controls that need to be sent to the electronic device 200, you can refer to the aforementioned FIG. 4 The description of step S405 in the illustrated embodiment is not repeated here.
  • the code executed by the screening process may be as follows:
  • Bundle bundle notification.Extras;//Get the first extension information.
  • int version bundle.getInt;//Get the version number of the system component included in the first extended information.
  • the Synergy component module can send the second notification information including the notification control that needs to be sent to the electronic device 200 to the electronic device 200 through the BLE wireless communication technology, and the specific process can refer to the description of step S406 in the embodiment shown in FIG. 4 above. , which will not be repeated here.
  • the SynergyLite module on the electronic device 200 can parse out the second notification information, and send the parsed second notification information to the message center module. Then, the message center module can display a second notification bar based on the parsed second notification information.
  • the second notification bar For the description of the second notification bar, reference may be made to the description of step S407 in the embodiment shown in FIG. 4 , and details are not repeated here.
  • the SynergyLite module can send the identification of the first control to the Electronic device 100.
  • the Synergy component module on the electronic device 100 may receive the identification of the first control sent by the electronic device 200 .
  • the Synergy component module can determine the first operation corresponding to the first control based on the identification of the first control, so that the electronic device 100 can perform the first operation.
  • the term “when” may be interpreted to mean “if” or “after” or “in response to determining" or “in response to detecting".
  • the phrases “in determining” or “if detected (a stated condition or event)” may be interpreted to mean “if determining" or “in response to determining" or “on detecting (a stated condition or event)” or “in response to detecting (a stated condition or event)”.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state hard disk), etc.
  • the processes can be completed by computer programs to instruct related hardware.
  • the programs can be stored in computer-readable storage media.
  • When the programs are executed may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种通知方法、相关装置及系统,涉及终端领域,该方法包括:第一电子设备在发送通知信息至第二电子设备时,同时也会发送该通知信息相关的一个或多个控件的信息(例如,一个或多个控件各自对应的标识)。当第二电子设备接收到针对于一个或多个控件中第一控件的输入操作时,第二电子设备可以发送第一控件对应的标识至第一电子设备。第一电子设备接收到第一控件对应的标识后,可以基于该标识确定出第一控件对应的操作,并执行该操作。因此,用户可以基于第二电子设备针对该通知信息进行进一步地处理,简化用户操作。

Description

通知方法、相关装置及系统
本申请要求于2021年05月25日提交中国专利局、申请号为202110570127.7、申请名称为“通知方法、相关装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端领域,尤其涉及一种通知方法、相关装置及系统。
背景技术
随着终端技术的迅速发展,各种类型的电子设备,例如手机、智能手表、可穿戴设备以及平板电脑等已成为人们生活中必不可少的部分。用户经常同时使用不同类型的电子设备,使得各电子设备之间能够建立通信连接(例如,有线通信连接和/或无线通信连接)。基于上述通信连接,当电子设备接收并显示出各种类型的通知信息(例如,文本信息、电子邮件、应用通知等等)时,与电子设备建立通信连接的其他设备可以同步接收并显示出电子设备所显示的同一通知信息。例如,当手机接收并显示出指定应用的通知信息时,相应地,与手机建立无线通信连接的智能手表可以同步接收并显示出该指定应用的通知信息。
然而,目前与电子设备建立通信连接的其他设备仅能够显示通知信息,用户无法在其他设备上针对该通知信息进行进一步地处理,而只能在电子设备上针对该通知信息进行交互,因此,用户操作繁杂。
发明内容
本申请提供了一种通知方法、相关装置及系统,实现了当第一电子设备显示通知信息和通知控件时,第二电子设备也可以同时显示出上述通知信息和上述部分或全部显示于第一电子设备的通知控件,用户可以基于第二电子设备针对显示出的通知信息进行进一步地处理,简化了用户的操作。
第一方面,本申请提供了一种通知方法,该方法包括:第一电子设备与第二电子设备建立通信连接。该第一电子设备获取到第一应用的第一通知信息,其中,该第一通知信息包括第一消息内容、该第一消息内容对应的控件信息、第一扩展信息。该控件信息包括第一控件的数据信息、第二控件的数据信息。该第一扩展信息包括该第一控件的第一标识。该第一电子设备基于该第一通知信息显示第一通知栏,该第一通知栏包括该第一消息内容、该第一控件和该第二控件。该第一电子设备基于该第一扩展信息,从该第一通知栏中筛选出该第一控件的数据信息。该第一电子设备发送第二通知信息给该第二电子设备,该第二通知信息包括该第一消息内容和该第一控件的数据信息,该第二通知信息用于指示该第二电子设备显示第二通知栏,该第二通知栏包括该第一消息内容和该第一控件。该第一电子设备接收到该第二电子设备响应于针对该第一控件的第一输入发送的该第一标识。该第一电子设备执行该第一控件对应的第一操作。这样,用户可以基于第二电子设备针对该通知信息进行进一步地处理,简化了用户的操作。
在一种可能的实现方式中,该第一控件的数据信息具体包括:该第一控件的显示尺寸、 该第一控件的第一标识、该第一控件的描述信息、该第一控件对应的第一操作中的一种或多种。这样,可以使得第二电子设备准确地显示出第一控件,有利于简化用户操作。
在一种可能的实现方式中,该第一扩展信息还包括第三控件的第二标识。这样,有利于第一电子设备高效准确地筛选出需要发送给第二电子设备的第一控件。
在一种可能的实现方式中,该第一扩展信息还包括支持分享通知控件到其他设备的系统组件版本号信息。
在一种可能的实现方式中,该第一电子设备基于该第一扩展信息,从该第一通知栏中筛选出该第一控件的数据信息,具体包括:当该第一电子设备确定出该系统组件版本号信息中包括有该第一电子设备上系统组件的第一版本号时,该第一电子设备基于该第一扩展信息,从该第一通知栏中筛选出该第一控件的数据信息。这样,可以使得第一电子设备判断是否需要筛选并发送第一控件给第二电子设备,提高第一电子设备筛选第一控件的效率和准确性。
在一种可能的实现方式中,在该第一电子设备获取到第一应用的第一通知信息之前,该方法还包括:当该第一电子设备运行第一应用时,该第一电子设备接收用户的第二输入。该第一电子设备基于该第二输入,生成该第一消息内容。这样,可以使得第一电子设备基于用户输入生成第一通知信息,有利于灵活动态地生成第一通知信息。
在一种可能的实现方式中,在该第一电子设备获取到第一应用的第一通知信息之前,该方法还包括:该第一电子设备接收该第一应用对应的云服务器下发的通知提示内容。该第一电子设备基于该通知提示内容,生成该第一消息内容。这样,可以使得第一电子设备基于云服务器发送的数据生成第一通知信息,有利于灵活动态地生成第一通知信息。
第二方面,本申请实施例提供了一种通信系统,包括第一电子设备和第二电子设备,该第一电子设备和该第二电子设备建立通信连接,其中:该第一电子设备用于获取到第一应用的第一通知信息,其中,该第一通知信息包括第一消息内容、该第一消息内容对应的控件信息、第一扩展信息。该控件信息包括第一控件的数据信息、第二控件的数据信息。该第一扩展信息包括该第一控件的第一标识。该第一电子设备还用于基于该第一通知信息显示第一通知栏,该第一通知栏包括该第一消息内容、该第一控件和该第二控件。该第一电子设备还用于基于该第一扩展信息,从该第一通知栏中筛选出该第一控件的数据信息。该第一电子设备还用于发送第二通知信息给该第二电子设备,该第二通知信息包括该第一消息内容和该第一控件的数据信息。该第二电子设备用于基于该第二通知信息显示出第二通知栏,该第二通知栏包括该第一消息内容和该第一控件。该第二电子设备还用于响应于针对该第一控件的第一输入,向该第一电子设备发送该第一标识。该第一电子设备还用于基于接收到的该第一标识,执行该第一控件对应的第一操作。这样,用户可以基于第二电子设备针对该通知信息进行进一步地处理,简化了用户的操作。
在一种可能的实现方式中,该第一控件的数据信息具体包括:该第一控件的显示尺寸、该第一控件的第一标识、该第一控件的描述信息、该第一控件对应的第一操作中的一种或多种。这样,可以使得第二电子设备准确地显示出第一控件,有利于简化用户操作。
在一种可能的实现方式中,该第一扩展信息还包括第三控件的第二标识。这样,有利 于第一电子设备高效准确地筛选出需要发送给第二电子设备的第一控件。
在一种可能的实现方式中,该第一扩展信息还包括支持分享通知控件到其他设备的系统组件版本号信息。
在一种可能的实现方式中,在该第一电子设备还用于基于该第一扩展信息,从该第一通知栏中筛选出该第一控件的数据信息时,该第一电子设备具体用于:当该第一电子设备确定出该系统组件版本号信息中包括有该第一电子设备上系统组件的第一版本号时,该第一电子设备用于基于该第一扩展信息,从该第一通知栏中筛选出该第一控件的数据信息。这样,可以使得第一电子设备判断是否需要筛选并发送第一控件给第二电子设备,提高第一电子设备筛选第一控件的效率和准确性。
在一种可能的实现方式中,在该第一电子设备用于获取到第一应用的第一通知信息之前,该第一电子设备还用于:当该第一电子设备运行第一应用时,该第一电子设备用于接收用户的第二输入。该第一电子设备还用于基于该第二输入,生成该第一消息内容。这样,可以使得第一电子设备基于用户输入生成第一通知信息,有利于灵活动态地生成第一通知信息。
在一种可能的实现方式中,在该第一电子设备用于获取到第一应用的第一通知信息之前,该第一电子设备还用于:该第一电子设备用于接收该第一应用对应的云服务器下发的通知提示内容。该第一电子设备还用于基于该通知提示内容,生成该第一消息内容。这样,可以使得第一电子设备基于云服务器发送的数据生成第一通知信息,有利于灵活动态地生成第一通知信息。
第三方面,本申请实施例提供了一种电子设备,为第一电子设备,包括一个或多个处理器、一个或多个存储器、显示屏和收发器。该一个或多个存储器与一个或多个处理器耦合,该一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当该一个或多个处理器执行该计算机指令时,使得该第一电子设备执行上述第一方面中任一项可能的实现方式中的方法。这样,用户可以基于第一电子设备所发送的数据信息在第二电子设备上针对该通知信息进行进一步地处理,简化了用户的操作。
第四方面,本申请实施例提供了一种计算机存储介质,包括计算机指令,当该计算机指令在第一电子设备上运行时,使得该第一电子设备执行上述第一方面中任一项可能的实现方式中的方法。这样,用户可以基于第一电子设备所发送的数据信息在第二电子设备上针对该通知信息进行进一步地处理,简化了用户的操作。
第五方面,本申请实施例提供了一种计算机程序产品,当该计算机程序产品在第一电子设备上运行时,使得该第一电子设备执行上述第一方面中任一项可能的实现方式中的方法。这样,用户可以基于第一电子设备所发送的数据信息在第二电子设备上针对该通知信息进行进一步地处理,简化了用户的操作。
附图说明
图1为本申请实施例提供的一种通信系统10的架构示意图;
图2为本申请实施例提供的一种电子设备100的硬件结构示意图;
图3为本申请实施例提供的一种电子设备200的硬件结构示意图;
图4为本申请实施例提供的一种通知方法的流程图;
图5A-图5C为本申请实施例提供的一组用户界面示意图;
图6为本申请实施例提供的一种系统架构示意图。
具体实施方式
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请得到说明书和所附权利要书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指包含一个或多个所列出醒目的任何或所有可能组合。在本申请实施例中,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
首先,介绍本申请提供的一种通信系统10。
请参考图1,图1示例性的示出了本申请实施例提供的一种通信系统10的架构示意图。
如图1所示,通信系统10可以包括电子设备100和电子设备200。
电子设备100可以是手机、平板电脑、PC、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personaldigital assistant,PDA)等电子设备。本申请对该电子设备100的具体类型不作任何限制。
电子设备200可以是智能手表、智能手环、可穿戴设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备等电子设备。本申请对该电子设备200的具体类型不作任何限制。
如图1所示,电子设备100可以和电子设备200建立无线通信连接,并且通过无线通信技术互相传输数据信息。例如,电子设备100可以通过该无线通信连接向电子设备200传输各种类型的通知消息、需要电子设备200显示出的第一控件(例如,用于电子设备200显示出前述通知消息时与用户进行交互的“稍后提醒”控件等)的标识等。电子设备200可以通过该无线通信连接接收到电子设备100传输的上述数据信息,还可以通过该无线通信连接向电子设备100发送数据指令(例如,包括有第一控件的标识的数据指令等)。具体的,该无线通信可以是蓝牙、Wi-Fi direct或Wi-Fi softAP中一项或多项无线通信连接。
在一种可能的实现方式中,电子设备100可以和电子设备200建立有线通信连接从而进行数据交互。例如,电子设备100和电子设备200可以通过通用串行总线(universal serial bus,USB)建立有线连接,并基于上述有线通信连接的方式互相传输数据信息。
可以理解的是,本申请实施例示出的示例性通信系统结构并不构成对通信系统10的具体限定,在本申请另一些实施例中,通信系统10可以包括比图示更多或更少的电子设备,也可以包括与图示中不同类型的电子设备。例如,通信系统10中还可以包括多个与电子设备100建立通信连接的电子设备200,例如智能手表,或者多个不同类型的电子设备,比 如具有通信功能的显示器、平板电脑、PC等。本申请对此不作限制。
下面基于上述通信系统10,介绍本申请中提及的一种通知方式。
当电子设备100接收并显示出各种类型的通知信息(例如,文本信息、电子邮件、应用通知等等)时,电子设备200可以接收并显示出电子设备100所显示的同一通知信息。然而,当电子设备100与电子设备200同时显示出同一通知信息时,用户无法基于通知信息的类型和电子设备200针对该通知信息具体进行进一步地处理(例如,稍后提醒该通知信息等),而只能在电子设备100上针对该通知信息进行交互。并且,电子设备200只能在仅当电子设备200显示出通知信息而电子设备100未显示出通知信息时,对该通知信息进行普适性的操作(例如,清除通知信息、隐藏通知信息等等)。因此,对于用户来说操作非常不方便。
因此,本申请实施例提供了一种通知方法,电子设备100在发送通知信息至电子设备200时,同时也会发送该通知信息相关的一个或多个控件的信息(例如,一个或多个控件各自对应的标识)。当电子设备200接收到针对于一个或多个控件中第一控件的输入操作时,电子设备200可以发送第一控件对应的标识至电子设备100。电子设备100接收到第一控件对应的标识后,可以基于该标识确定出第一控件对应的操作,并执行该操作。因此,用户可以基于电子设备200针对该通知信息进行进一步地处理,简化用户操作。
下面介绍本申请实施例中提供的电子设备100。
请参考图2,图2示例性的示出了本申请实施例提供的一种电子设备100的硬件结构示意图。
如图2所示,电子设备100可以包括处理器101、存储器102、无线通信模块103、显示屏104、传感器模块105等。上述各个模块可以通过总线或者其它方式连接,本申请实施例以通过总线连接为例。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100还可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合来实现。
处理器101可以包括一个或多个处理器单元,例如处理器101可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器101中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器101中的存储器为高速缓冲存储器。该存储器可以保存处理器101刚用过或循环使用的指令或 数据。如果处理器101需要再次使用该指令或数据,可以从所述存储器中直接调用。避免了重复存取,减少了处理器101的等待时间,因而提高了系统的效率。
在一些实施例中,处理器101可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或USB接口等。
在一种可能的实现方式中,电子设备100可以通过USB接口与电子设备200建立有线通信连接,并基于上述有线通信连接的方式互相传输数据信息。
存储器102与处理器101耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器102可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM);也可以包括非易失性存储器(non-vlatile memory),例如ROM、快闪存储器(flash memory)、硬盘驱动器(Hard Disk Drive,HDD)或固态硬盘(Solid State Drives,SSD);存储器102还可以包括上述种类的存储器的组合。存储器102可以存储一些程序代码,以便于处理器101调用存储器102中存储的程序代码,以实现本申请实施例在电子设备100中的实现方法。存储器102可以存储操作系统,例如uCOS、VxWorks、RTLinux等嵌入式操作系统。
无线通信模块103可以包括有蓝牙通信模块103A和WLAN通信模块103B。在一些实施例中,WLAN通信模块103B可以与其他通信模块(例如,蓝牙通信模块103A)集成为一体。WLAN通信模块103B和/或蓝牙模块103A可以发射信号来探测扫描电子设备100附近的设备,使得电子设备100可以使用蓝牙或WLAN中的一种或多种无线通信技术发现附近设备,例如电子设备200。电子设备100可以通过WLAN、蓝牙中的一种或多种无线通信技术与电子设备200建立无线通信连接,并基于上述无线通信连接进行数据传输与数据接收。电子设备100可以基于蓝牙通信模块103A或WLAN通信模块103B中的一种或多种无线通信技术传输数据(例如,各种类型的通知信息、需要电子设备200显示出的第一控件的标识等)至电子设备200。电子设备100也可以通过上述无线通信连接获取到电子设备200发送的数据指令(例如,包括有第一控件的标识的数据指令等)。其中,蓝牙通信模块103A可以提供包括经典蓝牙(basic rate/enhanced data rate,BR/EDR)或蓝牙低功耗(bluetooth low energy,BLE)中一项或多项蓝牙通信的解决方案。WLAN通信模块103B可以提供包括无线保真直连(wireless fidelity direct,Wi-Fi direct)、无线保真局域网(wireless fidelity local area networks,Wi-Fi LAN)或无线保真软件接入点(wireless fidelity software access point,Wi-Fi softAP)中一项或多项WLAN通信的解决方案。无线通信模块103可以经由天线(图2未示出)接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器101。无线通信模块103还可以从处理器101接收待发送的信号,对其进行调频,放大,经天线转为电磁波辐射出去。
在一些实施例中,无线通信模块103还可以提供应用在电子设备100上的包括全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、 近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)等无线通信的解决方案。
显示屏104可以用于显示图像、视频等。显示屏104可以包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏104,N为大于1的正整数。
传感器模块105可以包括触摸传感器105A等等。触摸传感器105A也可以称为“触控器件”。触摸传感器105A可以设置于显示屏104,由触摸传感器105A与显示屏104组成触摸屏,也称“触控屏”。触摸传感器105A可以用于检测作用于其上或附近的触摸操作。可选的,传感器模块105还可以包括有陀螺仪传感器(图2未示出)、加速度传感器(图2未示出)等等。其中,陀螺仪传感器可以用于确定电子设备100的运动姿态,在一些实施例中,电子设备100可以通过陀螺仪传感器确定出电子设备100围绕三个轴(即,x,y和z轴)的角速度。加速度传感器可以用于检测电子设备100在各个方向上(一般为x,y和z轴)加速度的大小。当电子设备100静止时可以检测出重力的大小及方向。
音频模块106可以用于将数字音频信息转换成模拟音频信号输出,也可以用于将模拟音频输入转换成数字音频信号。音频模块106还可以用于对音频信号编码和解码。在一些实施例中,音频模块106还可以设置于处理器101中,或将音频模块106的部分功能模块设置于处理器101中。
扬声器107,也可以称为“喇叭”,用于将音频电信号转换成为声音信号。电子设备100可以通过扬声器107收听音乐,或收听免提电话。
可选的,电子设备100还可以包括移动通信模块(图2未示出)。该移动通信模块可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。
下面,介绍本申请实施例中提供的示例性电子设备200。
请参考图3,图3示例性示出了本申请实施例提供的一种电子设备200的硬件结构示意图。
如图3示例性所示,电子设备200可以包括有处理器201、存储器202、无线通信模块203、电源开关204、显示屏205等等。上述各个模块可以通过总线或者其它方式连接,本申请实施例以通过总线连接为例。
处理器201可以用于读取和执行计算机可读指令。具体实现中,处理器201可以主要包括控制器、运算器和寄存器。其中,控制器主要负责指令译码,并为指令对应的操作发出控制信号。运算器主要负责保存指令执行过程中临时存放的寄存器操作数和中间操作结果等。具体实现中,处理器201的硬件架构可以是专用集成电路(ASIC)架构、MIPS架构、ARM架构或者NP架构等等。
在一些实施例中,处理器201可以用于解析无线通信模块203接收到的数据信息(例 如,第一控件对应的标识)。处理器201可以根据该数据信息进行响应,执行相应的操作(例如,显示出第一控件)。处理器201还可以用于生成无线通信模块203向外发送的信号,如蓝牙信号等。
存储器202与处理器201耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器202可以包括高速随机存取的存储器,并且也可以包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器202还可以存储通信程序,该通信程序可用于与电子设备100,或其他电子设备进行通信。
无线通信模块203可以包括蓝牙通信模块203A或其他。电子设备200可以通过蓝牙通信模块203A中的一项或多项接收或发射无线信号,与电子设备100建立无线通信连接。电子设备200可以通过上述无线通信连接获取到电子设备100传输的数据(例如,各种类型的通知信息、需要电子设备200显示出的控件的标记等),也可以通过上述无线通信连接向电子设备100发送数据指令(例如,包括有第一控件的标记的数据指令等)。其中,蓝牙通信模块203A可以提供包括经典蓝牙(basic rate/enhanced data rate,BR/EDR)或蓝牙低功耗(bluetooth low energy,BLE)中一项或多项蓝牙通信的解决方案。可选的,无线通信模块203还可以包括有WLAN通信模块(图3中未示出),该WLAN通信模块可以提供包括Wi-Fi direct、Wi-Fi LAN或Wi-Fi softAP中一项或多项WLAN通信的解决方案。在一些实施例中,WLAN模块可以与蓝牙通信模块203A集成为一体。电子设备200可以通过该WLAN模块提供的无线通信技术与电子设备100建立无线通信连接,并基于该无线通信连接与电子设备200进行数据交互。
电源开关204可以用于控制电源向电子设备200的供电。
显示屏205可以用于显示图像、视频、控件、文字信息等。显示屏205可以包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备200可以包括1个或N个显示屏205,N为大于1的正整数。
可选的,电子设备200可以包括有触摸传感器,该触传感器也可以称为“触控器件”。触摸传感器可以设置于显示屏205,由触摸传感器与显示屏205组成触摸屏,也可以称为“触控屏”。触摸传感器可以用于检测作用于其上或附近的触摸操作。
可选的,电子设备200可以包括有一个或多个物理按键。该一个或多个物理按键可以接收用户作用在该按键上的输入操作(例如,按下该物理按键)。响应于该输入操作,电子设备200可以执行与该物理按键对应的显示屏上所显示控件相应的操作。
可选的,电子设备200还可以包括有USB接口,电子设备200可以通过该USB接口与电子设备100建立有线通信连接,并通过该有线通信连接的方式互相传输数据信息。
可以理解的是,图3所示的电子设备200仅仅是本申请实施例的一种实现方式,并不构成对电子设备200的具体限制。例如,电子设备200可以是智能手表,该电子设备200还可以包括有表带和表盘。表盘可以包括有显示屏205,以用于显示图像、视频、控件、 文字信息等等。表带可以用于将电子设备200固定在人体四肢部位以便于穿戴。实际应用中,电子设备200还可以包括比图示更多或更少的部件,这里不作限制。
下面介绍本申请实施例中提供的一种通知方法。
请参考图4,图4示例性示出了本申请实施例提供的一种通知方法的流程图。
如图4所示,以电子设备100是手机,电子设备200是智能手表为例,该方法具体流程可以包括:
S401、电子设备100和电子设备200建立无线通信连接。
具体的,电子设备100和电子设备200可以通过蓝牙通信模块提供的包括经典蓝牙(basic rate/enhanced data rate,BR/EDR)或蓝牙低功耗(bluetooth low energy,BLE)中一项或多项蓝牙通信的解决方案建立无线通信连接,并基于该无线通信连接进行数据传输与数据的接收。
可选的,电子设备100还可以和电子设备200通过WLAN通信模块提供的包括Wi-Fi direct、Wi-Fi LAN或Wi-Fi softAP中一项或多项WLAN通信的解决方案建立无线通信连接,并基于该无线通信连接进行数据传输与数据的接收。本申请对此不作限制。
S402、电子设备100获取第一应用的第一通知信息,该第一通知信息可以包括第一应用标识、消息内容、该消息内容对应的可操作控件、可操作控件对应的可执行操作、第一扩展信息等。该第一扩展信息可以包括有多个类型的电子设备所支持操作控件的数据信息。
其中,第一通知信息中的消息内容可以是由电子设备100从服务器处获取,也可以是从电子设备100接收到的用户输入中获取,本申请对此不作限制。
第一扩展信息所包括的多个类型电子设备所支持操作控件的数据信息,可以包括有多个类型的电子设备所支持操作控件的标识,也可以包括有多个类型的电子设备所支持操作控件的属性信息(例如,控件的高度属性、控件的宽度属性、控件的描述信息等等。其中,控件的描述信息可以包括控件的提示信息和/或控件的图片信息等)。该第一扩展信息可以由第一应用预置并存储在电子设备100中。
示例性的,在本申请实施例中,第一应用中的第一扩展信息内各类型电子设备所支持操作控件的标识可以如表1所示:
表1
Figure PCTCN2022084914-appb-000001
从表1中可知,当电子设备200的类型为智能手表时,该电子设备200所支持操作的 控件可以包括有“稍后提醒”、“知道了”、“标记为完成”等,其中,“稍后提醒”控件对应标识的值可以为“1”,“知道了”控件对应标识的值可以为“3”、“标记为完成”对应标识的值可以为“4”。当电子设备200的类型为大屏设备时,该电子设备200所支持操作的控件可以包括有“稍后提醒”、“加入会议”、“知道了”、“标记为完成”等。其中,“稍后提醒”控件对应标识的值可以为“1”,“加入会议”控件对应标识的值可以为“2”、“知道了”控件对应标识的值可以为“3”、“标记为完成”对应标识的值为可以“4”。
需要说明的是,上述表1仅仅用于解释本申请,在实际应用中,表1还可以包括有更多、更少或不同于表1的各种类型电子设备所支持操作控件的标识,本申请对此不作限制。
S403、电子设备100基于上述无线通信连接,确定出电子设备200的设备类型。电子设备100上的第一应用可以基于该电子设备200的设备类型从第一扩展信息中获取到电子设备200所支持操作控件的数据信息。
示例性的,以电子设备100是手机,电子设备200是智能手表为例,电子设备100可以和电子设备200建立蓝牙通信连接,电子设备100可以从电子设备200在建立该蓝牙通信连接时发送的数据信息中确定出电子设备200的类型是智能手表,然后,电子设备100可以从第一扩展信息中获取到电子设备200(也即是智能手表)所支持操作控件的数据信息。例如,电子设备100可以获取到电子设备200所支持操作的控件包括有“稍后提醒”、“知道了”、“标记为完成”等,其中,“稍后提醒”控件对应标识的值可以为“1”,“知道了”控件对应标识的值可以为“3”、“标记为完成”对应标识的值可以为“4”。
在另一种可能的实现方式中,第一应用预置有各类型电子设备所支持操作控件的数据信息(如表1所示)。当电子设备100与电子设备200建立无线通信连接,并确定出电子设备200的设备类型时,第一应用可以获取到电子设备200所支持操作控件的数据信息,并将电子设备200所支持操作控件的数据信息打包为第一扩展信息,随同第一通知信息进行下发。也即是说,在该实现方式中,第一扩展信息仅仅包括电子设备200所支持操作控件的数据信息,而并非如S401步骤所示包括有多个类型电子设备所支持操作控件的数据信息。
需要说明的是,上述控件仅仅用作示例性解释本申请。不同类型的第一应用可以包括不同的控件。例如,在“日历”应用中,可以包括“同意”控件、“不同意”控件等。在“备忘录”应用中,可以包括“OK”控件、“取消”控件等。本申请对此不作限制。
S404、电子设备100显示出第一通知栏,该第一通知栏可以包括消息内容和该消息内容对应的可操作控件。
示例性的,如图5A所示,电子设备100可以显示出用户界面500。该用户界面500中可以显示有一个或多个应用图标、通知栏501(也可以被称为第一通知栏)。其中,该一个或多个应用图标可以包括有天气应用图标、股票应用图标、计算器应用图标、设置应用 图标、邮件应用图标、主题应用图标、音乐应用图标、视频应用图标等。通知栏501可以包括有消息类型提示信息、消息内容、“加入会议”控件501A(也可以被称为第二控件)和“稍后提醒”控件501B(也可以被称为第一控件)等。该消息类型提示信息可以用于提示用户通知栏中消息内容的类型。该消息类型提示信息可以是文本信息“日程”。不限于文本信息,该消息类型指示符还可以是图标、电子设备100输出的语音或其他类型的提示信息。该消息内容可以是文本信息“场景研讨会”、“09:00-11:30视频接入”等。“加入会议”控件501A和“稍后提醒”控件501B可以用于用户选择需要电子设备100执行的操作。电子设备100可以响应于作用在“加入会议”控件501A或“稍后提醒”控件501B上的触摸操作(例如,点击),可以执行“加入会议”控件501A或“稍后提醒”控件501B对应的操作。
需要说明的是,“加入会议”控件501A对应的标识的值可以是“2”,该控件501A可以不是电子设备200支持的操作控件,相应的,该控件501A对应的标识的值“2”不存在于表1中,也即是说,电子设备200支持操作控件对应的标识不包括该控件501A对应的标识。稍后提醒”控件501B(也可以被称为第一控件)对应的标识的值可以是“1”,该控件501B可以是电子设备200支持的操作控件,相应的,该控件501B对应的标识的值“1”存在于表1中,也即是说,电子设备200支持操作控件对应的标识包括控件501B对应的标识。
可选的,用户界面500中还可以显示有状态栏、页面指示符和托盘图标区域。其中,状态栏可以包括移动通信信号(又可以称为蜂窝信号)的一个或多个信号强度指示符、无线保真(wireless fidelity,Wi-Fi)信号的信号强度指示符、蓝牙图标、电池状态指示符、时间指示符等等。页面指示符可以用于表明当前显示的页面与其他页面的位置关系。托盘图标区域包括有多个托盘图标(例如拨号应用图标、信息应用图标、联系人应用图标、相机应用图标),托盘图标在页面切换时保持显示。蓝牙图标用于提示用户电子设备100与电子设备200通过蓝牙建立无线通信连接。上述页面也可以包括多个应用图标和页面指示符,页面指示符可以不是页面的一部分,单独存在,上述图片图标也是可选的,本申请实施例对此不作限制。
S405、电子设备100可以获取到第一应用的标识、消息内容对应的可操作控件的数据信息,以及可操作控件对应的可执行操作等。其中,控件的数据信息可以包括例如控件的标识、控件的长度属性、控件的高度属性和/或控件的描述信息等。控件的描述信息可以包括控件的文本提示信息(例如,控件上显示出的“稍后提醒”、“知道了”等用于提示控件功能的文本信息)和/或控件的图片信息等。电子设备100可以基于该可操作控件标识和电子设备200支持操作控件的标识,筛选出需要推送到电子设备200的一个或多个通知控件。
示例性的,电子设备100可以获取到用户界面500中所显示出的通知栏501所包括的“加入会议”控件501A(也可以被称为第二控件)对应的标识、“稍后提醒”控件501B(也可以被称为第一控件)对应的标识、控件501A的信息和控件501B的信息。其中,“加入会议”控件501A对应标识的值是“2”,“稍后提醒”控件501B对应标识的值是“1”。 电子设备100可以基于前述步骤S410中电子设备200支持操作控件对应的标识(例如,如表1所示)、获取到的控件501A对应的标识以及控件501B对应的标识执行取交集的操作。可以看出,电子设备200支持操作控件对应的标识(例如,如表1所示)包括控件501B对应标识的值“1”,而不包括控件501A对应标识的值“2”,因此,电子设备100筛选出需要推送到电子设备200的“稍后提醒”控件501B。
S406、电子设备100发送第二通知信息,该第二通知信息可以包括第一应用的标识、消息内容、筛选出的一个或多个通知控件的数据信息、以及通知控件和对应标识的映射关系。
其中,一个或多个通知控件的数据信息可以包括通知控件的标识、通知控件的长度属性、通知控件的高度属性、通知控件上的文本提示信息等等。
示例性的,通知控件和对应标识的映射关系,可以是例如前述基于表1筛选出的通知控件“稍后提醒”控件501B和其对应的标识“1”的映射关系。
具体的,电子设备100可以通过蓝牙或WLAN中的一种或多种无线通信技术发送第二通知信息至电子设备200。
在一种实现方式中,第一扩展消息还可以包括有系统组件(例如,用于筛选并发送一个或多个通知控件给电子设备200的Synergy组件)的版本号。电子设备100可以在筛选出需要推送到电子设备200的一个或多个通知控件之前,判断该系统组件的版本号是否是预设的版本号。电子设备100确定出该系统组件的版本号不是预设的版本号时,电子设备100不执行如步骤S405所示的操作,也即是说,电子设备100不执行筛选需要推送到电子设备200的一个或多个通知控件这一过程。
在另一种实现方式中,电子设备100可以接收并响应于用户的输入,以判断是否执行筛选并发送需要推送到电子设备200的通知控件这一操作。
S407、电子设备200基于第二通知信息显示出第二通知栏,该第二通知栏可以包括消息内容和S406步骤中发送的一个或多个通知控件。
示例性的,如图5B所示,电子设备200可以显示出用户界面510。该用户界面510中可以显示出通知栏511(也可以被称为第二通知栏)。通知栏511可以包括有消息类型提示信息、消息内容、“稍后提醒”控件511A(也可以被称为第一控件)等。该消息类型提示信息可以用于提示用户通知栏中消息内容的类型。该消息类型提示信息可以是文本信息“日程·09:00”。不限于文本信息,该消息类型指示符还可以是图标、电子设备200输出的语音或其他类型的提示信息。该消息内容可以是文本信息“场景研讨会”、“09:00-11:30视频接入”等。“稍后提醒”控件511A可以用于监听到用户作用于该控件上的触摸操作(例如,点击)。
S408、电子设备200接收到针对一个或多个通知控件中第一控件的第一输入。
S409、电子设备200响应于第一输入,基于前述步骤S406中的映射关系发送第一控件的第一标识。
示例性的,如图5C所示,电子设备200可以接收到针对“稍后提醒”控件511A(也可以被称为第一控件)上的触摸操作(也可以被称为第一输入,例如,点击)。响应于该触摸操作,电子设备200可以通过蓝牙或WLAN中的一种或多种无线通信技术向电子设备100发送“稍后提醒”控件511A对应标识的值“1”(也可以被称为第一标识)。
S410、电子设备100接收到电子设备200发送的第一控件的标识。电子设备100基于该第一控件的标识,确定出第一控件对应的第一操作。
示例性的,当电子设备100接收到“稍后提醒”控件511A(也可以被称为第一控件)对应标识的值“1”时,电子设备100可以基于该标识确定出“稍后提醒”控件511A对应的操作(也可以被称为第一操作),也即是用户界面500上“稍后提醒”501B对应的操作(也可以被称为第一操作)。
S411、电子设备100执行第一操作。
示例性的,如图5C所示,当电子设备100基于“稍后提醒”控件511A的标识确定出该控件对应的操作(也可以被称为第一操作)后,电子设备100可以执行该操作,例如,电子设备100不再显示出通知栏501,并在指定的时间点后(例如,十分钟后)再次在电子设备100上显示出第一通知栏。其中,关于该第一通知栏的描述可以参考前述步骤S404中的说明,在此不再赘述。
在一些实施例中,电子设备100可以接收到多个电子设备200发送的通知控件标识。电子设备100可以基于该通知控件标识,确定并执行对应的操作。
需要说明的是,以上步骤的先后顺序仅仅用于示例性解释该通知方法的具体流程,并不对本申请构成具体限制。
需要说明的是,上述用户界面示例仅仅用于解释本申请,不应对本申请构成限定。
在一些实施例中,第一应用可以预置有各类型电子设备所支持操作控件的数据信息(如表1所示)。当电子设备100与电子设备200建立无线通信连接,并确定出电子设备200的设备类型时,第一应用可以获取到电子设备200所支持操作控件的数据信息。当第一应用下发第一通知信息时,第一应用可以基于消息内容对应的可操作控件和电子设备200所支持的操作控件(例如,将消息内容对应的可操作控件和电子设备200所支持的操作控件作交集),获取到该消息内容对应可发送给电子设备200的控件,并将该控件的数据信息打包成第一扩展信息,随同第一通知信息下发。电子设备100可以基于该第一扩展信息,向电子设备200发送控件的数据信息。
也即是说,该第一扩展信息包括的是该消息内容中对应可以发送给电子设备200的可操作控件,而不是所有的电子设备200所支持操作的控件。例如,以电子设备100是手机,电子设备200是智能手表,和图5A所示的通知栏501为例,此时,第一扩展信息包括“稍后提醒”控件501B的数据信息,而不是如表1所示的智能手表所支持操作的所有控件“稍后提醒”、“知道了”、“标记为完成”。
在一些实施例中,第一应用中第一通知信息的消息内容可以是不需要依赖于服务器发送数据信息的本地消息。示例性的,以时钟应用是第一应用为例,该时钟应用中第一通知信息的消息内容可以是接收到的用户输入,如接收用户输入的指定时间(例如,早上7点整),电子设备100在该指定时间响起闹钟。此时,当电子设备100接收到电子设备200发送的第一控件(例如,“十分钟后再次提醒”控件或“关闭闹钟”控件等)标识时,电子设备100基于该第一控件标识所确定并执行的第一操作,可以是不依赖于与服务器进行交互而执行的本地操作(例如,“十分钟后再次提醒”操作或“关闭闹钟”操作等)。
在一些实施例中,第一应用于中第一通知信息的消息内容可以是需要依赖于服务器发送数据信息的在线消息通知。示例性的,以新闻应用是第一应用为例,该新闻应用中第一通知信息的消息内容可以是服务器下发的通知信息。此时,当电子设备100接收到电子设备200发送的第一控件(例如,“查看完整新闻”控件等)标识时,电子设备100基于该第一控件所确定并执行的第一操作,可以是需要与服务器进行交互而执行的操作(例如,需要服务器下发完整的新闻信息并显示在显示屏上,以供用户查看完整新闻的操作)。本申请对此不作限制。
下面,介绍本申请实施例中提供的一种系统架构。
请参考图6,以电子设备100是手机,电子设备200是智能手表,电子设备100和电子设备200通过BLE进行无线通信为例,图6示例性示出了本申请实施例提供的一种系统架构示意图。
如图6所示,电子设备100可以包括有第一应用模块、通知栏模块、协同(Synergy)组件模块。电子设备200可以包括有SynergyLite模块、消息中心模块等。
其中,电子设备100中的第一应用模块可以预置并存储有第一扩展信息。有关于该第一扩展信息的描述,可以参考图4所示实施例中步骤S402的说明,在此不再赘述。在一种可能的实现方式中,第一扩展信息的格式可以如下代码所示:
Bundle bundle=new Bundle();
Bundle.putInt(“synergy.version”,1);
Bundle.putString(“synergy.actionids”,[1,3,4]);
notification.extras=bundle;
其中,“Bundle.putInt(“synergy.version”,1)”表示该第一扩展信息所包括的系统组件的版本号,电子设备100上的Synergy组件模块可以基于该系统组件的版本号确定是否需要执行筛选出一个或多个通知控件推送给电子设备200,在另一种可能的实现方式中,第一扩展信息的代码可以不包括该系统组件的版本号。本申请对此不作限制。“Bundle.putString(“synergy.actionids”,[1,3,4])”表示可以推送到电子设备200的可操作控件的标识。在该示例中,电子设备100可以推送到电子设备200的可操作控件标识的值为“1”、“3”、“4”,也即是如表1中对应所示的“稍后提醒”控件、“知道了”控件和“标记为完成”控件。
需要说明的是,上述代码格式仅仅用于解释本申请,不应构成任何限制。
该第一应用模块还可以向通知栏模块发送数据信息,将包括有第一扩展信息的第一通 知信息发送给通知栏模块,以便于通知栏模块基于该第一通知信息显示出第一通知栏。关于该第一通知信息和第一通知栏的描述,可以参考前述图4所示实施例中步骤S402和步骤S404的说明,在此不再赘述。
该Synergy组件模块检测到通知栏模块显示出第一通知栏时,可以从通知栏模块中获取到第一通知栏中的数据信息(例如,第一应用的标识、消息内容对应的可操作控件的数据信息,以及可操作控件对应的可执行操作等等),具体关于该第一通知栏中的数据信息可以参考前述图4所示实施例中步骤S405的说明,在此不再赘述。该Synergy组件模块可以基于该第一通知栏中的数据信息筛选出需要发送到电子设备200的通知控件,关于该执行筛选出需要发送到电子设备200的通知控件的过程,可以参考前述图4所示实施例中步骤S405的说明,在此不再赘述。在一种可能的实现方式中,该筛选过程所执行的代码可以如下所示:
Notification notification;
……
Bundle bundle=notification.Extras;//获取到第一扩展信息。
int version=bundle.getInt;//获取到第一扩展信息包括的系统组件的版本号。
if(version>=999)
{
Return;
}//判断该系统组件的版本号是否是预设的版本号,如果判断结果为否,则不执行筛选出通知控件发送给电子设备200的操作。
String strActionL1=........;//获取到第一通知栏中可操作控件的标识。
String strActionL2=bundle.getString();//获取到第一扩展信息包括的电子设备200所支持操作控件的标识。
........;//比较第一通知栏中可操作控件的标识与电子设备200所支持操作控件的标识,选择出交集以筛选出需要推送到电子设备200的通知控件。
然后,该Synergy组件模块可以将包括有需要发送电子设备200的通知控件的第二通知信息通过BLE无线通信技术发送到电子设备200,具体过程可以参考前述图4所示实施例中步骤S406的说明,在此不再赘述。
电子设备200接收到第二通知信息后,电子设备200上的SynergyLite模块可以解析出第二通知信息,并将该解析出的第二通知信息发送给消息中心模块。然后,该消息中心模块可以基于该解析出的第二通知信息,显示出第二通知栏。关于该第二通知栏的描述,可以参考前述图4所示实施例中步骤S407的说明,在此不再赘述。
当电子设备200接收到针对于第二通知栏里一个或多个通知控件中第一控件的输入操作(例如,点击)时,SynergyLite模块可以将该第一控件的标识通过BLE无线通信技术发送给电子设备100。
电子设备100上的Synergy组件模块可以接收到由电子设备200发送的第一控件的标识。该Synergy组件模块可以基于该第一控件的标识,确定出第一控件对应的第一操作,以用于电子设备100执行该第一操作。
需要说明的是,图6所示的系统架构仅仅用于解释本申请,不应构成任何限制。
上述实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (17)

  1. 一种通知方法,其特征在于,所述方法包括:
    第一电子设备与第二电子设备建立通信连接;
    所述第一电子设备获取到第一应用的第一通知信息,其中,所述第一通知信息包括第一消息内容、所述第一消息内容对应的控件信息、第一扩展信息;所述控件信息包括第一控件的数据信息、第二控件的数据信息;所述第一扩展信息包括所述第一控件的第一标识;
    所述第一电子设备基于所述第一通知信息显示第一通知栏,所述第一通知栏包括所述第一消息内容、所述第一控件和所述第二控件;
    所述第一电子设备基于所述第一扩展信息,从所述第一通知栏中筛选出所述第一控件的数据信息;
    所述第一电子设备发送第二通知信息给所述第二电子设备,所述第二通知信息包括所述第一消息内容和所述第一控件的数据信息,所述第二通知信息用于指示所述第二电子设备显示第二通知栏,所述第二通知栏包括所述第一消息内容和所述第一控件;
    所述第一电子设备接收到所述第二电子设备响应于针对所述第一控件的第一输入发送的所述第一标识;
    所述第一电子设备执行所述第一控件对应的第一操作。
  2. 根据权利要求1所述的方法,其特征在于,所述第一控件的数据信息具体包括:所述第一控件的显示尺寸、所述第一控件的第一标识、所述第一控件的描述信息、所述第一控件对应的第一操作中的一种或多种。
  3. 根据权利要求1所述的方法,其特征在于,所述第一扩展信息还包括第三控件的第二标识。
  4. 根据权利要求1所述的方法,其特征在于,所述第一扩展信息还包括支持分享通知控件到其他设备的系统组件版本号信息。
  5. 根据权利要求4所述的方法,其特征在于,所述第一电子设备基于所述第一扩展信息,从所述第一通知栏中筛选出所述第一控件的数据信息,具体包括:
    当所述第一电子设备确定出所述系统组件版本号信息中包括有所述第一电子设备上系统组件的第一版本号时,所述第一电子设备基于所述第一扩展信息,从所述第一通知栏中筛选出所述第一控件的数据信息。
  6. 根据权利要求1所述的方法,其特征在于,在所述第一电子设备获取到第一应用的第一通知信息之前,所述方法还包括:
    当所述第一电子设备运行第一应用时,所述第一电子设备接收用户的第二输入;
    所述第一电子设备基于所述第二输入,生成所述第一消息内容。
  7. 根据权利要求1所述的方法,其特征在于,在所述第一电子设备获取到第一应用的第一通知信息之前,所述方法还包括:
    所述第一电子设备接收所述第一应用对应的云服务器下发的通知提示内容;
    所述第一电子设备基于所述通知提示内容,生成所述第一消息内容。
  8. 一种通信系统,其特征在于,包括:第一电子设备和第二电子设备,所述第一电子设备和所述第二电子设备建立通信连接,其中:
    所述第一电子设备用于获取到第一应用的第一通知信息,其中,所述第一通知信息包括第一消息内容、所述第一消息内容对应的控件信息、第一扩展信息;所述控件信息包括第一控件的数据信息、第二控件的数据信息;所述第一扩展信息包括所述第一控件的第一标识;
    所述第一电子设备还用于基于所述第一通知信息显示第一通知栏,所述第一通知栏包括所述第一消息内容、所述第一控件和所述第二控件;
    所述第一电子设备还用于基于所述第一扩展信息,从所述第一通知栏中筛选出所述第一控件的数据信息;
    所述第一电子设备还用于发送第二通知信息给所述第二电子设备,所述第二通知信息包括所述第一消息内容和所述第一控件的数据信息;
    所述第二电子设备用于基于所述第二通知信息显示出第二通知栏,所述第二通知栏包括所述第一消息内容和所述第一控件;
    所述第二电子设备还用于响应于针对所述第一控件的第一输入,向所述第一电子设备发送所述第一标识;
    所述第一电子设备还用于基于接收到的所述第一标识,执行所述第一控件对应的第一操作。
  9. 根据权利要求8所述的通信系统,其特征在于,所述第一控件的数据信息具体包括:所述第一控件的显示尺寸、所述第一控件的第一标识、所述第一控件的描述信息、所述第一控件对应的第一操作中的一种或多种。
  10. 根据权利要求8所述的通信系统,其特征在于,所述第一扩展信息还包括第三控件的第二标识。
  11. 根据权利要求8所述的通信系统,其特征在于,所述第一扩展信息还包括支持分享通知控件到其他设备的系统组件版本号信息。
  12. 根据权利要求11所述的通信系统,其特征在于,在所述第一电子设备还用于基于所述第一扩展信息,从所述第一通知栏中筛选出所述第一控件的数据信息时,所述第一电子设备具体用于:
    当所述第一电子设备确定出所述系统组件版本号信息中包括有所述第一电子设备上系统组件的第一版本号时,所述第一电子设备用于基于所述第一扩展信息,从所述第一通知栏中筛选出所述第一控件的数据信息。
  13. 根据权利要求8所述的通信系统,其特征在于,在所述第一电子设备用于获取到第一应用的第一通知信息之前,所述第一电子设备还用于:
    当所述第一电子设备运行第一应用时,所述第一电子设备用于接收用户的第二输入;
    所述第一电子设备还用于基于所述第二输入,生成所述第一消息内容。
  14. 根据权利要求8所述的通信系统,其特征在于,在所述第一电子设备用于获取到第一应用的第一通知信息之前,所述第一电子设备还用于:
    所述第一电子设备用于接收所述第一应用对应的云服务器下发的通知提示内容;
    所述第一电子设备还用于基于所述通知提示内容,生成所述第一消息内容。
  15. 一种电子设备,为第一电子设备,其特征在于,包括:一个或多个处理器、一个或多个存储器、显示屏和收发器;所述一个或多个存储器与一个或多个处理器耦合,所述一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,使得所述第一电子设备执行如权利要求1-7中的任一项所述的方法。
  16. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在第一电子设备上运行时,使得所述第一电子设备执行如权利要求1-7中的任一项所述的方法。
  17. 一种计算机程序产品,其特征在于,当所述计算机程序产品在第一电子设备上运行时,使得所述第一电子设备执行如权利要求1-7中的任一项所述的方法。
PCT/CN2022/084914 2021-05-25 2022-04-01 通知方法、相关装置及系统 WO2022247464A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22810197.8A EP4318194A4 (en) 2021-05-25 2022-04-01 NOTIFICATION METHOD, ASSOCIATED APPARATUS AND SYSTEM
US18/288,877 US20240214489A1 (en) 2021-05-25 2022-04-01 Notification method, related apparatus, and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110570127.7 2021-05-25
CN202110570127.7A CN115390705A (zh) 2021-05-25 2021-05-25 通知方法、相关装置及系统

Publications (1)

Publication Number Publication Date
WO2022247464A1 true WO2022247464A1 (zh) 2022-12-01

Family

ID=84113627

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/084914 WO2022247464A1 (zh) 2021-05-25 2022-04-01 通知方法、相关装置及系统

Country Status (4)

Country Link
US (1) US20240214489A1 (zh)
EP (1) EP4318194A4 (zh)
CN (1) CN115390705A (zh)
WO (1) WO2022247464A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012060494A (ja) * 2010-09-10 2012-03-22 Casio Comput Co Ltd 携帯通信装置及びプログラム
CN106657329A (zh) * 2016-12-21 2017-05-10 北京奇虎科技有限公司 移动终端及其通知信息的控制方法及装置
CN108600552A (zh) * 2018-05-09 2018-09-28 深圳市赛亿科技开发有限公司 手机来电的实现方法及系统、手机、智能手环
CN109491625A (zh) * 2017-09-11 2019-03-19 上海博泰悦臻网络技术服务有限公司 车载系统的终端同步显示方法及装置、存储介质和车机
CN111666119A (zh) * 2019-03-06 2020-09-15 华为终端有限公司 Ui组件显示的方法及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012060494A (ja) * 2010-09-10 2012-03-22 Casio Comput Co Ltd 携帯通信装置及びプログラム
CN106657329A (zh) * 2016-12-21 2017-05-10 北京奇虎科技有限公司 移动终端及其通知信息的控制方法及装置
CN109491625A (zh) * 2017-09-11 2019-03-19 上海博泰悦臻网络技术服务有限公司 车载系统的终端同步显示方法及装置、存储介质和车机
CN108600552A (zh) * 2018-05-09 2018-09-28 深圳市赛亿科技开发有限公司 手机来电的实现方法及系统、手机、智能手环
CN111666119A (zh) * 2019-03-06 2020-09-15 华为终端有限公司 Ui组件显示的方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4318194A4

Also Published As

Publication number Publication date
US20240214489A1 (en) 2024-06-27
EP4318194A4 (en) 2024-10-09
EP4318194A1 (en) 2024-02-07
CN115390705A (zh) 2022-11-25

Similar Documents

Publication Publication Date Title
US20220050692A1 (en) Graphic Rendering Method and Electronic Device
US12061833B2 (en) Multi-window display method, electronic device, and system
WO2021121052A1 (zh) 一种多屏协同方法、系统及电子设备
JP3495347B2 (ja) 通信プロトコル・コンバータを有するパーベイシブ・ドックおよびルータ
WO2022227623A1 (zh) 显示发布进度的方法及电子设备
KR101901720B1 (ko) 더미 장치와의 연동 방법 및 그 전자 장치
WO2021098442A1 (zh) 定位交互方法及装置
CN111131531B (zh) 聊天群组中的昵称生成方法、装置及可读存储介质
WO2020006711A1 (zh) 一种消息的播放方法及终端
US11257439B2 (en) Data transmission method and device, display screen, and display device
CN112420217B (zh) 消息推送方法、装置、设备及存储介质
CN110430022B (zh) 数据传输方法及装置
CN113098700A (zh) 群组创建方法、装置、电子设备及存储介质
CN109600301B (zh) 消息处理方法及装置
WO2022048453A1 (zh) 解锁方法及电子设备
CN112988254A (zh) 管理硬件设备的方法、装置和设备
WO2021042881A1 (zh) 消息通知方法及电子设备
WO2022247464A1 (zh) 通知方法、相关装置及系统
CN112596810B (zh) 加载提示信息显示方法、装置、电子设备及存储介质
CN111399717B (zh) 发表内容的方法、装置、设备及存储介质
WO2024078306A1 (zh) 横幅通知消息的显示方法与电子设备
CN115550497B (zh) 消息协同方法和装置
CN116700660B (zh) 音频播放方法和电子设备
US20240129694A1 (en) Call Transfer Method and Terminal Device
CN116708647B (zh) 通知消息回复方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22810197

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18288877

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2022810197

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022810197

Country of ref document: EP

Effective date: 20231103

NENP Non-entry into the national phase

Ref country code: DE