WO2022057393A1 - Event processing method and apparatus, storage medium, mobile terminal, and computer - Google Patents

Event processing method and apparatus, storage medium, mobile terminal, and computer Download PDF

Info

Publication number
WO2022057393A1
WO2022057393A1 PCT/CN2021/104566 CN2021104566W WO2022057393A1 WO 2022057393 A1 WO2022057393 A1 WO 2022057393A1 CN 2021104566 W CN2021104566 W CN 2021104566W WO 2022057393 A1 WO2022057393 A1 WO 2022057393A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification
event
computer
notification event
mobile terminal
Prior art date
Application number
PCT/CN2021/104566
Other languages
French (fr)
Chinese (zh)
Inventor
宝磊
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022057393A1 publication Critical patent/WO2022057393A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Definitions

  • the present application relates to the field of communication technologies, and in particular, to an event processing method, device, storage medium, mobile terminal, and computer.
  • mobile terminals represented by smart phones have become a necessity in people's lives, and the rich capabilities provided by mobile terminals can meet people's needs in all aspects.
  • different users can realize information interaction in different spaces separated by thousands of miles.
  • user A can send information to user B's mobile terminal through his own mobile terminal.
  • the mobile terminal receives such information, it prompts the user to view it in a way of notifying an event.
  • the present application provides an event processing method, device, storage medium, mobile terminal and computer, which can improve the notification success rate of notification events.
  • the present application provides an event processing method, applied to a mobile terminal, including:
  • the notification event is forwarded to a computer so that the computer displays the notification event.
  • the present application provides an event processing method, applied to a computer, including:
  • the present application provides an event processing apparatus, which is applied to a mobile terminal, including:
  • the event receiving module is used to receive notification events
  • the event forwarding module is used for forwarding the notification event to the computer, so that the computer displays the notification event.
  • the present application provides an event processing device, applied to a computer, including:
  • an event receiving module configured to receive the notification event forwarded by the mobile terminal when receiving the notification event
  • the event display module is used to display the notification event.
  • the present application provides a storage medium on which a computer program is stored, and when the computer program is loaded by a processor of a mobile terminal, any event processing method suitable for a mobile terminal provided in the present application is executed.
  • the present application provides a storage medium on which a computer program is stored, and when the computer program is loaded by a processor of the computer, the event processing method of any computer provided by the present application is executed.
  • the present application provides a mobile terminal, including a processor and a memory, wherein the memory stores a computer program, and the processor executes any one of the mobile terminal suitable for the mobile terminal provided by the present application by loading the computer program. Event handler method.
  • the present application also provides a computer, comprising a processor and a memory, the memory stores a computer program, and the processor executes any event suitable for a computer provided by the present application by loading the computer program Approach.
  • FIG. 1 is a schematic diagram of an event processing system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of an event processing method provided by an embodiment of the present application.
  • FIG. 3 is an example diagram of a computer displaying an incoming call notification event through a banner in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a computer displaying a conversational notification event in a notification center according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a computer displaying a conversational notification event through a banner in an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a computer displaying an application notification event in a banner manner according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a mobile terminal projecting an application interface to a computer in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a computer updating the application interface in FIG. 7 according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a computer and a mobile terminal displaying a notification event according to the same display strategy according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a clearing control included in a notification center interface in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a computer clearing a notification event in an embodiment of the present application.
  • FIG. 12 is another schematic flowchart of an event processing method provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an operation of turning on a computer do not disturb mode in an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of an event processing apparatus provided by an embodiment of the present application.
  • FIG. 15 is another schematic structural diagram of an event processing apparatus provided by an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.
  • FIG. 17 is a schematic structural diagram of a computer provided by an embodiment of the present application.
  • the present application provides an event processing system. Please refer to FIG. 1 .
  • the event processing system provided by the present application includes a mobile terminal 10 and a computer 20 .
  • the embodiments of the present application do not specifically limit the physical presentation forms of the mobile terminal 10 and the computer 20 .
  • the physical presentation form of the mobile terminal 10 may be the smartphone shown in FIG. 1
  • the physical presentation form of the computer 20 may be It can be the desktop computer shown in FIG. 1 .
  • the mobile terminal 10 and the computer 20 perform data interaction through a communication connection between the two
  • the communication connection may be a wired communication connection (for example, directly connecting the mobile terminal 10 and the computer 20 through a data cable, thereby establishing a wired connection between the two).
  • communication connection it can also be a wireless communication connection (including but not limited to wireless communication methods such as Bluetooth, infrared, and wireless fidelity), and a wired communication connection and a wireless communication connection can be established at the same time.
  • the mobile terminal 10 receives the notification event, it forwards the received notification event to the computer 20 through the wireless communication connection with the computer 20, and the computer 20 displays the received notification event, thereby ensuring that the user does not miss information.
  • FIG. 1 shows only an example of a system architecture for implementing the embodiments of the present application, and the embodiments of the present application are not limited to the system architecture shown in the foregoing FIG. 1 .
  • Various embodiments of the present application are presented below by taking the system architecture shown in FIG. 1 as an example.
  • the embodiment of the present application provides an event processing method, which is applied to a mobile terminal, including:
  • the notification event is forwarded to a computer so that the computer displays the notification event.
  • the forwarding of the notification event to the computer includes:
  • the first display strategy and the notification event are forwarded to the computer, so that the computer displays the notification event synchronously according to the same first display strategy as the mobile terminal.
  • the first presentation strategy includes presentation via a notification center and/or presentation via a banner.
  • the method further includes:
  • the performing the response operation includes:
  • the performing the response operation includes:
  • the reply information is forwarded to the incoming device of the conversational notification event.
  • the performing the response operation includes:
  • the method further includes:
  • the interface operation is executed based on the target application, and the application interface is updated according to the execution result.
  • the interface operation includes an interface touch operation
  • the receiving an interface operation returned by the computer for the application interface includes:
  • the interface operation includes an interface input operation
  • the receiving an interface operation returned by the computer for the application interface includes:
  • the method further includes:
  • the local notification event is synchronously cleared according to the clear instruction.
  • the method before forwarding the notification event to the computer, the method further includes:
  • the notification event is forwarded to the computer when the computer is currently being watched by the preset user.
  • FIG. 2 is a schematic flowchart of an event processing method provided by an embodiment of the present application.
  • the event processing method is applied to the mobile terminal in the event processing system provided by the present application.
  • the process of the event processing method provided by the embodiment of the present application may be as follows:
  • a notification event is received.
  • notification events include but are not limited to incoming call notification events, conversational notification events, and application notification events.
  • the incoming call notification event is, for example, a traditional voice call received by the mobile terminal based on a voice channel of a mobile communication network, an instant voice call received based on a data channel of the mobile communication network, and the like.
  • Conversational notification events include but are not limited to instant message notification events and SMS notification events.
  • Instant message notification events such as instant messages received by instant messaging applications deployed on mobile terminals, such as text, pictures, voice, etc.
  • SMS notification events such as mobile terminals Based on the short message information received by the mobile communication network.
  • Application notification events such as server push notifications received by any application deployed on the mobile terminal.
  • the aforementioned notification event is forwarded to the computer so that the aforementioned notification event is displayed by the computer.
  • the mobile terminal establishes a binding relationship with the computer in advance according to the received binding operation.
  • the present application does not specifically limit the binding manner of the mobile terminal and the computer, which can be configured by those of ordinary skill in the art according to actual needs.
  • the mobile terminal when receiving the notification event, forwards the notification event to the computer through a communication connection with the computer, so that the computer displays the notification event.
  • the computer will display the aforementioned notification events.
  • the mobile terminal in addition to forwarding the received notification event to the computer, the mobile terminal itself may display the received notification event, or may not display it. Technicians can configure according to actual needs.
  • the smartphone when the user is focused on work for a long time in front of the desktop computer, the smartphone often receives notification events and displays them. Among them, it is understandable that since the user's focus is not on the smartphone at this time, it may not be notified by the smartphone. Even if the smartphone informs the user, the user needs to pick up the smartphone to check, causing attention transfer.
  • the event processing method provided in this application, similarly, when the user concentrates on work for a long time in front of the desktop computer, when the smart phone receives the notification event, it will forward the received notification event to the desktop in the user's attention state. The computer is displayed to the user by the desktop computer, thereby not only ensuring a successful notification to the user, but also not causing the user's attention to be diverted.
  • the present application receives the notification event through the mobile terminal, and forwards the notification event to the computer, so that the computer displays the notification event. Therefore, even when the user does not pay attention to the mobile terminal for some reason, the mobile terminal can forward the notification event to the computer for display when receiving the notification event. If the user pays attention to the computer at this time, it will be successfully displayed. Notification, so as to achieve the purpose of improving the notification success rate of notification events.
  • the method before forwarding the aforementioned notification event to the computer, the method further includes:
  • the aforementioned notification event is forwarded to the computer.
  • the preset users include users who have permission to use the computer and the mobile terminal, such as the owner of the mobile terminal and the computer, or other users authorized by the owner to use the mobile terminal and the computer.
  • the mobile terminal when determining whether the computer is currently being watched by a preset user, on the one hand, the mobile terminal generates a state identification request according to a message format pre-agreed with the computer, and transmits the state identification request to the computer.
  • the computer receives a state identification request from the mobile terminal, it will identify whether it is currently being watched by the preset user according to the indication of the state identification request, and return the identification result to the mobile terminal.
  • the identification result includes being watched by a preset user or not being watched by a preset user.
  • the mobile terminal receives the recognition result from the computer, it can determine whether the computer sending the recognition result is currently watched by the preset user according to the received recognition result.
  • the computer can shoot through its configured camera to obtain a captured image; then, the computer can identify whether there is a preset user's face in the captured image according to the configured face recognition algorithm. ; If it is recognized that the face of the preset user exists in the captured image, the eye-tracking algorithm is used to calculate the eye-gaze position of the preset user in the captured image, wherein, if the eye-gaze position is located in the display module of the computer (such as a display screen, within the display area of the projection lens), it is determined that it is currently being watched by the preset user.
  • the display module of the computer such as a display screen, within the display area of the projection lens
  • the event processing method provided by this application further includes:
  • the aforementioned notification event is forwarded to the computer.
  • the event processing method provided by this application further includes:
  • the aforementioned notification event is forwarded to the computer.
  • the method further includes:
  • the computer in order to improve the convenience of the user's operation, the computer is provided with the ability to respond to the notification event, so that the preset user can respond to the notification event received by the mobile terminal through the computer.
  • the preset user can input a desired response operation to the computer through input devices (including but not limited to mouse, keyboard, touch screen, etc.) configured by the computer according to actual needs when the computer displays the notification event.
  • input devices including but not limited to mouse, keyboard, touch screen, etc.
  • the notification event is an incoming call notification event
  • a response operation such as an answering operation, a hanging up operation, etc.
  • the notification event is a conversational notification event
  • a response operation such as a reply operation, etc.
  • the computer forwards the response operation to the mobile terminal.
  • the mobile terminal when it receives a response operation for the notification event from the computer, it executes the response operation.
  • a response operation is performed, including:
  • the notification event is used as an example of an incoming call notification event for description.
  • the computer when receiving the incoming call notification event forwarded by the mobile terminal, the computer displays the incoming call notification event according to a preconfigured display strategy for the incoming call notification event. It should be noted that there is no specific limitation on how to display the incoming call notification event in the embodiments of the present application, which can be configured by those of ordinary skill in the art according to actual needs.
  • the computer displays the incoming call notification event in the form of a banner on the lower right side of the current display interface, and plays the set incoming call notification sound for prompting.
  • the notification tone of the incoming call of the computer is set to be the same as that of the mobile terminal.
  • the computer will generate an incoming call notification banner interface corresponding to the incoming call notification event, and display the incoming call notification banner interface on top of all current interfaces.
  • the incoming call notification banner interface provides an answer control and a hang up control. Wherein, when the preset user triggers the answer control, the answer operation for the incoming call notification event will be input to the computer, and when the preset user triggers the hang up control, the hang up operation for the incoming call notification event will be input to the computer.
  • the mobile terminal also obtains the preset basic information of the incoming call device (which can be configured by those of ordinary skill in the art according to actual needs, such as the communication number of the incoming call device, the contact information corresponding to the communication number, etc.), and obtains the The preset basic information of the caller will be forwarded to the computer along with the call notification event, and the computer will display it.
  • the "123 1234 4321" shown is the communication number of the incoming call device (that is, the mobile phone number commonly known as the phone number), and the "unfamiliar number" is the contact information corresponding to the aforementioned communication number.
  • the communication number is not added to the address book of the mobile terminal, and the mobile terminal sets its contact information as an unfamiliar number.
  • the call notification banner interface is also provided with a retraction control.
  • the computer When the retraction control is triggered, the computer will terminate the display of the call notification banner interface, that is, the display of the call notification event will be terminated.
  • the computer when the computer receives a preset user's answering operation or hanging up operation for the incoming call notification event, it returns the received answering operation or hanging up operation to the mobile terminal, and at the same time terminates displaying the incoming call notification event.
  • the mobile terminal when the mobile terminal receives the answering operation from the computer, it establishes a call connection with the incoming call device corresponding to the incoming call notification event, which is recorded as the first call connection, and establishes a call connection with the computer, which is recorded as the second call connection.
  • the mobile terminal forwards the downlink voice to the computer when receiving the downlink voice from the calling device; and/or forwards the uplink voice to the caller device when receiving the uplink voice from the computer. Therefore, the mobile terminal will act as an intermediate device for the caller device to communicate with the computer, so that the preset user can directly communicate with the user of the caller device through the computer.
  • the mobile terminal directly hangs up the incoming call when receiving a hang-up operation from the mobile terminal.
  • the computer can dynamically determine the display position of the incoming call notification event, for example, can determine the gaze area of the preset user, and display it within the gaze area of the preset user; another example, The computer can determine the work area of the preset user, and display it outside the work area of the preset user.
  • performing a response operation includes:
  • the notification event is taken as an example of a conversational notification event, wherein the conversational notification event includes but is not limited to an instant message notification event and a short message notification event.
  • the embodiment of the present application provides the computer's ability to reply to the conversational notification event.
  • the computer when receiving the conversational notification event forwarded by the mobile terminal, the computer displays the instant information notification event according to a preconfigured display policy for the conversational notification event. It should be noted that, in the embodiments of the present application, there is no specific limitation on how to display the conversational notification event, which can be configured by those of ordinary skill in the art according to actual needs.
  • the computer displays the conversational notification event on the lower right side of the current display interface in the form of a banner (the display duration can be configured by those of ordinary skill in the art according to actual needs, which is not specifically limited here), and plays the preset notification prompt
  • the computer provides a notification center and displays conversational notification events in the interface of the notification center; another example, the computer displays conversational notification events in the form of a banner on the lower right side of the currently displayed interface, and at the same time in the notification center Conversational notification events are displayed in the center's interface.
  • FIG. 4 an example interface diagram of a notification center is provided.
  • the interface of the notification center is divided into two parts, namely a device information display area for displaying mobile terminal related device information, and a notification event display area for displaying notification events from the mobile terminal.
  • a device information display area for displaying mobile terminal related device information
  • a notification event display area for displaying notification events from the mobile terminal.
  • the shown location of the "device name” is used to display the device name of the mobile terminal
  • the shown location of the "89% battery” is used to display the real-time remaining battery power of the mobile terminal.
  • the computer does not receive any notification events from the mobile terminal, and displays the preconfigured prompt information “no notification” for prompting that there is currently no notification event in the notification event display area.
  • the computer receives the conversational notification event forwarded from the mobile terminal, and displays the notification event display area in the notification event display area.
  • the location of the shown "application name” is used to display the application name of the instant messaging application that received the instant messaging notification event on the mobile terminal, or the application name used to display the short message on the mobile terminal that received the short message notification event, "
  • the location of "Information Summary” is used to display the computer's summary of the information content carried by the conversational notification event (which can be extracted by the corresponding digest algorithm), and the location of "Notification Time” is used to display the time when the mobile terminal receives the conversational notification event.
  • the location of "Avatar” is used to display the user avatar corresponding to the incoming device of the conversational notification event
  • the location of "Contact Name” is used to display the username corresponding to the incoming device of the conversational notification event
  • the location of "Information Content” is used to Displays the information content carried by conversational notification events.
  • the computer receives a preconfigured trigger operation for triggering the display input control (which can be configured by those of ordinary skill in the art according to actual needs, no specific restrictions are made here, for example, a computer Taking a desktop computer as an example, you can configure the trigger operation to display the input control as a mouse double-click operation for the conversational notification event displayed in the notification center), and further provide an input control in the form of an input box in the notification event display area, and use
  • the input control receives reply information for a conversational notification event input by a preset user.
  • the input control further includes a reply button. When the reply button is triggered, a reply operation for the conversational notification event will be input to the computer, and the reply operation carries the reply information received by the input control.
  • FIG. 5 provides an example diagram of a computer displaying a conversational notification event by means of a banner.
  • the computer receives the conversational notification event forwarded from the mobile terminal and displays it in the form of a banner.
  • the location of the shown "application name” is used to display the application name of the instant messaging application that received the instant messaging notification event on the mobile terminal, or the application name used to display the short message on the mobile terminal that received the short message notification event, "
  • the location of "Information Summary” is used to display the computer's summary of the information content carried by the conversational notification event (which can be extracted by the corresponding digest algorithm), and the location of "Notification Event” is used to display the moment when the mobile terminal receives the conversational notification event.
  • the location of "Avatar” is used to display the user avatar corresponding to the incoming device of the conversational notification event
  • the location of "Contact Name” is used to display the username corresponding to the incoming device of the conversational notification event
  • the location of "Information Content” is used to Displays the information content carried by conversational notification events.
  • the computer receives a pre-configured trigger operation for triggering the display input control (which can be configured by those of ordinary skill in the art according to actual needs, no specific restrictions are made here, for example, taking the computer as a desktop computer as
  • the trigger operation for triggering the display of the input control can be configured as a mouse double-click operation on the banner displaying the conversational notification event, etc.
  • an input control in the form of an input box is further provided in the banner, and the input control is used to receive the preset User-entered reply information for conversational notification events.
  • the input control further includes a reply button. When the reply button is triggered, a reply operation for the conversational notification event will be input to the computer, and the reply operation carries the reply information received by the input control.
  • the computer when the computer receives the reply operation of the preset user for the conversational notification event, the computer returns the received reply operation to the mobile terminal.
  • the mobile terminal parses the reply information of the computer for the conversational notification event from the replying operation, and forwards the reply information to the incoming device of the conversational notification event.
  • the mobile terminal can forward the parsed reply information to the incoming device through the corresponding instant messaging application, and when the conversational notification event is a short message notification event, the mobile terminal can The SMS application forwards the parsed reply information to the incoming message device.
  • performing a response operation includes:
  • the notification event is used as an application notification event for illustration.
  • the embodiments of the present application provide a computer's ability to view related applications on the mobile terminal.
  • the computer when receiving the application notification event forwarded by the mobile terminal, the computer displays the application notification event according to a preconfigured display policy for the application notification event. It should be noted that there is no specific limitation on how to display the application notification event in the embodiments of the present application, which can be configured by those of ordinary skill in the art according to actual needs.
  • the computer displays the application notification event on the lower right side of the current display interface in the form of a banner (the display duration can be configured by those of ordinary skill in the art according to actual needs, which is not specifically limited here), and plays the set notification sound.
  • the computer provides a notification center and displays application notification events in the interface of the notification center; another example, the computer displays application notification events in the form of a banner on the lower right side of the currently displayed interface, and simultaneously displays the application notification events on the interface of the notification center. Displays app notification events inside.
  • FIG. 6 provides an example diagram in which a computer displays an application notification event by means of a banner.
  • the computer when the computer receives the application notification event forwarded from the mobile terminal, it displays the application notification event in the form of a banner.
  • the location of the shown "application name” is used to display the application name of the target application that receives the application notification event on the mobile terminal
  • the location of the "notification summary” is used to display the summary of the notification content carried by the computer to the application notification event ( It can be extracted by the corresponding digest algorithm)
  • the location of the "notification event” is used to display the moment when the mobile terminal receives the application notification event
  • the location of the "notification content” is used to display the notification content carried by the application notification event.
  • the computer when the computer receives a preconfigured application display operation for triggering the display target application (which can be configured by those of ordinary skill in the art according to actual needs, no specific limitation is made here, for example, the computer is a desktop computer
  • the application display operation is a double-click operation of the mouse on the banner displaying the application notification event
  • the application interface of the target application corresponding to the application notification event is projected to the computer.
  • the computer receives the application notification event forwarded by the mobile terminal is the promotion notification of the shopping application, and receives the preset user's application display operation for the promotion notification, the mobile terminal will display the application of the shopping application.
  • the interface is projected to the computer, wherein the application interface displays the promotion page corresponding to the promotion notice.
  • the method further includes:
  • the interface operation of the application interface for the screen projection of the mobile terminal is pre-defined on the computer.
  • the preset user operation of clicking the left mouse button on the application interface is defined as a touch operation on the application interface, and the preset user pressing and dragging the left mouse button is defined as a sliding touch operation on the application interface, and so on.
  • the computer since the computer does not actually run the target application, it cannot directly respond to the received interface operation for the application interface. Therefore, when the computer receives a preset user interface operation for the application interface, the interface operation is returned to the mobile terminal.
  • the mobile terminal when receiving the interface operation for the screen-casting application interface returned from the computer, the mobile terminal performs the interface operation based on the aforementioned target application, and updates the screen-casting application interface according to the execution result.
  • the mobile terminal projects the application interface of a shopping application whose display content is a promotion page to the computer, and when the mobile terminal receives a touch operation returned by the computer for a certain commodity in the promotion page displayed on the application interface , execute the touch operation based on the shopping application, open the product details page accordingly, and update the application interface projected to the computer according to the execution result.
  • the updated application interface displays the product details opened by the target application. page.
  • the interface operation includes an interface touch operation
  • receiving an interface operation returned by the computer for the application interface includes:
  • Mouse operations include but are not limited to mouse button operations (left-click, right-click, wheel click, etc.), drag operations, and wheel scrolling operations, and the like.
  • the mobile terminal receives the mouse operation returned by the computer, and converts the mouse operation into an interface touch operation for the application interface according to a preconfigured mouse operation conversion strategy (which can be configured by those of ordinary skill in the art according to actual needs), And perform the interface touch operation through the target application.
  • a preconfigured mouse operation conversion strategy which can be configured by those of ordinary skill in the art according to actual needs
  • the interface operation includes an interface input operation
  • receiving an interface operation returned by the computer for the application interface includes:
  • the computer returns the keyboard input operation to the mobile terminal when receiving the keyboard input operation of the preset user for the keyboard. For example, it is preset that the user can input a piece of text information through the keyboard, so as to input a keyboard input operation including the text information to the computer.
  • the mobile terminal receives the keyboard input operation returned by the computer, and according to a preconfigured keyboard operation conversion strategy (which can be configured by those of ordinary skill in the art according to actual needs), converts the keyboard input operation into an interface input for the application interface operation, and input corresponding information to the application interface of the target application.
  • a preconfigured keyboard operation conversion strategy which can be configured by those of ordinary skill in the art according to actual needs
  • forwarding the aforementioned notification event to the computer includes:
  • the computer may display the notification event synchronously in the same display manner as the mobile terminal, so as to provide the consistency of the notification.
  • the mobile terminal determines the current display strategy for the received notification event (here, the display strategy can be set by the mobile terminal according to the user configuration, or the mobile terminal can be configured by default), which is recorded as the first display strategy.
  • the mobile terminal After determining the current first display strategy for the notification event, the mobile terminal further transmits the first display strategy and the received notification event to the computer, so that the computer displays the notification synchronously according to the same first display strategy as the mobile terminal event. On the other hand, the computer will display the notification event synchronously according to the same first display strategy as the mobile terminal.
  • the mobile terminal not only forwards the notification event to the computer, but also sends the first display strategy "banner display” to the computer, so that the computer and the mobile terminal can communicate with each other.
  • the terminals all display notification events synchronously in a "banner display” manner, as shown in Figure 9 .
  • the method further includes:
  • the same notification event exists in the mobile terminal and the computer.
  • the mobile terminal and the computer simultaneously clear the notification event.
  • the computer when the computer receives a preconfigured clearing operation for clearing notification events, the computer clears the corresponding notification events according to the clearing operation, and sends a clearing instruction to the mobile terminal, instructing the mobile terminal to clear the same local notification event.
  • the notification center interface of the computer further provides a first clearing control for triggering clearing of all notification events, and a second clearing control for triggering clearing of a specified single notification event.
  • the computer when the preset user triggers the first clear control, the computer will receive a clear operation instructing to clear all notification events in the notification center interface, and at this time, the computer will notify all notification events in the center interface (That is, the notification event A and the notification event B) are cleared, and a clear indication is sent to the mobile terminal.
  • the mobile terminal On the other hand, the mobile terminal will clear the local notification event A and notification event B according to the clear instruction.
  • the computer when the preset user triggers the second clear control for notification event A, the computer will receive a clear operation instructing to clear notification event A in the notification center interface.
  • the notification event A is cleared, and a clear indication is sent to the mobile terminal.
  • the mobile terminal will clear the local notification event A according to the clear instruction.
  • the embodiment of the present application also provides an event processing method, applied to a computer, including:
  • the displaying the notification event includes:
  • the notification event is displayed according to the second presentation strategy.
  • the second presentation strategy includes presentation via a notification center and/or presentation via a banner.
  • the event processing method when the determined second display strategy is to display through a banner, the event processing method further includes:
  • the playing a preset notification tone includes:
  • the preset incoming call notification prompt sound is continuously played.
  • the event processing method when the notification event is a conversational notification event, and the determined second display strategy is to be displayed through a notification center, the event processing method further includes:
  • the event processing method when the notification event is a conversational notification event and the determined second display strategy is to display through a banner, the event processing method further includes:
  • the event processing method further includes:
  • notification events other than the notification event forwarded by the mobile terminal are cleared according to the clearing operation.
  • the event processing method further includes:
  • the event processing method further includes:
  • the banner displaying the notification event includes a clearing control
  • the receiving a second clearing operation for the notification event includes:
  • the receiving a second clearing operation for the notification event further includes:
  • the event processing method further includes:
  • the event processing method further includes:
  • the displaying the notification event further includes:
  • the notification event is displayed in the notification center.
  • the notification center includes a setting control, and before the displaying the notification event, further includes:
  • a setting interface When receiving a setting operation for the setting control, a setting interface is provided, where the setting interface includes a DND option for enabling a DND mode;
  • the do not disturb mode is turned on.
  • the method before receiving the notification event forwarded by the mobile terminal, the method further includes:
  • FIG. 12 is another schematic flowchart of an event processing method provided by an embodiment of the present application.
  • the event processing method is applied to a computer in the event processing system provided by the present application.
  • the process of the event processing method provided by the embodiment of the present application may be as follows:
  • a notification event forwarded by the mobile terminal upon receiving the notification event is received.
  • the notification events include, but are not limited to, incoming call notification events, conversational notification events, and application notification events.
  • Incoming call notification events such as the traditional voice call received by the mobile terminal based on the voice channel of the mobile communication network, the instant voice call received based on the data channel of the mobile communication network, and the like.
  • Conversational notification events include but are not limited to instant message notification events and SMS notification events.
  • Instant message notification events such as instant messages received by instant messaging applications deployed on mobile terminals, such as text, pictures, voice, etc.
  • SMS notification events such as mobile terminals Based on the short message information received by the mobile communication network.
  • Application notification events such as server push notifications received by any application deployed on the mobile terminal.
  • the mobile terminal establishes a binding relationship with the computer in advance according to the received binding operation.
  • the present application does not specifically limit the binding manner of the mobile terminal and the computer, which can be configured by those of ordinary skill in the art according to actual needs.
  • the mobile terminal when receiving the notification event, forwards the notification event to the computer through the communication connection with the computer.
  • the computer receives the notification event forwarded by the mobile terminal when the notification event is received.
  • a notification event is displayed.
  • the computer when receiving the notification event forwarded by the mobile terminal, the computer displays the notification event.
  • the mobile terminal in addition to forwarding the received notification event to the computer, the mobile terminal itself may display the received notification event, or may not display it. Technicians can configure according to actual needs.
  • the smartphone when the user is focused on work for a long time in front of the desktop computer, the smartphone often receives notification events and displays them. Among them, it is understandable that because the user's focus is not on the smartphone at this time, it may not be notified by the smartphone. Even if the smartphone informs the user, the user needs to pick up the smartphone to check, causing attention transfer.
  • the event processing method provided in the present application, similarly, when the user concentrates on work for a long time in front of the desktop computer, when the smartphone receives the notification event, it will forward the received notification event to the desktop in the user's attention state. The computer is displayed to the user by the desktop computer, thereby not only ensuring a successful notification to the user, but also not causing the user's attention to be diverted.
  • the present application receives the notification event forwarded by the mobile terminal when receiving the notification event through the computer, and displays the notification event. Therefore, even when the user does not pay attention to the mobile terminal for some reason, the mobile terminal can forward the notification event to the computer for display when receiving the notification event. If the user pays attention to the computer at this time, it will be successfully displayed. Notification, so as to achieve the purpose of improving the notification success rate of notification events.
  • the method before receiving the notification event forwarded by the mobile terminal, the method further includes:
  • the computer establishes a binding relationship with the mobile terminal in advance according to the received binding operation.
  • the present application does not specifically limit the binding manner of the mobile terminal and the computer, which can be configured by those of ordinary skill in the art according to actual needs.
  • the computer identifies whether it is currently being watched by the preset user, and if it recognizes that it is currently being watched by the preset user, it sends instruction information for instructing the mobile terminal to forward the notification event to the mobile terminal, so that the mobile terminal is receiving When the notification event arrives, the received notification event will be forwarded to the computer.
  • the embodiments of the present application do not specifically limit how the computer recognizes whether it is currently being watched by the preset user, and can be configured by those of ordinary skill in the art according to actual needs.
  • the computer can shoot through its configured camera to obtain a captured image; then, the computer can identify whether there is a preset user's face in the captured image according to the configured face recognition algorithm. ; If it is recognized that the face of the preset user exists in the captured image, the eye-tracking algorithm is used to calculate the eye-gaze position of the preset user in the captured image. within the display area of the projection lens), it is determined that it is currently being watched by the preset user.
  • the notification success rate can be further provided.
  • displaying a notification event includes:
  • an evaluation strategy for the urgency of the notification event is pre-defined, which is used to quantitatively evaluate the urgency of the notification event. It should be noted that the specific configuration of the evaluation strategy is not specifically limited in the embodiments of the present application, and can be configured by those of ordinary skill in the art according to actual needs.
  • the corresponding relationship between the urgency level and the notification event type may be established directly.
  • application notification events correspond to "low” urgency
  • conversational notification events correspond to “medium” urgency
  • incoming call notification events correspond to "high” urgency.
  • corresponding display strategies are pre-configured in the embodiments of the present application. For example, for notification events with “low” urgency, the corresponding display strategies are only displayed in the interface of the notification center; For notification events with a "medium” level, the corresponding display strategy is to display them in the interface of the notification center, and display them on a banner for a limited time (the duration can be obtained by those of ordinary skill in the art according to actual needs); for notifications with a "high" level of urgency Events, the corresponding display strategy is to display in the interface of the notification center, and to display the banner continuously.
  • the computer when displaying the notification event forwarded by the mobile terminal, the computer evaluates the urgency of the notification event according to the preconfigured evaluation strategy; and then determines the corresponding relationship between the preset urgency and the display strategy.
  • the display strategy corresponding to the urgency of the notification event is denoted as the second display strategy.
  • the computer when receiving an incoming call notification event forwarded by the mobile terminal, the computer will generate an incoming call notification banner interface corresponding to the incoming call notification event, and display the incoming call notification banner interface on top of all current interfaces.
  • the incoming call notification banner interface provides an answer control and a hang up control. Among them, when the preset user triggers the answer control, the answer operation for the incoming call notification event will be input to the computer, and when the preset user triggers the hang up control, the hang up operation for the incoming call notification event will be input to the computer.
  • the mobile terminal also obtains the preset basic information of the calling device (which can be configured by those of ordinary skill in the art according to actual needs, such as the communication number of the calling device, the contact information corresponding to the communication number, etc.), and obtains the The preset basic information of the caller will be forwarded to the computer along with the call notification event, and the computer will display it.
  • the "123 1234 4321" shown is the communication number of the incoming call device (that is, the mobile phone number commonly known as the phone number), and the "unfamiliar number" is the contact information corresponding to the aforementioned communication number.
  • the communication number is not added to the address book of the mobile terminal, and the mobile terminal sets its contact information as an unfamiliar number.
  • the event processing method provided by this application further includes:
  • the computer plays a preset notification sound when displaying the notification event forwarded by the mobile terminal through the banner.
  • the playback start time of the notification sound and the display start time of the notification event may be the same or different; the playback duration of the notification sound and the display duration of the notification event may be the same or different.
  • the display start time of the notification event on the computer is the same as the playback start time of the notification sound, but the playback duration of the notification sound is shorter than the display duration of the notification event.
  • playing a preset notification tone includes:
  • the preset call notification sound is played continuously.
  • the embodiments of the present application describe the incoming call notification event as an example.
  • the computer when receiving the incoming call notification event forwarded by the mobile terminal, the computer displays the incoming call notification event through a banner, and continuously plays the preset incoming call notification prompt sound during the period when the incoming call notification event is displayed through the banner.
  • the computer will generate an incoming call notification banner interface corresponding to the incoming call notification event, and display the incoming call notification banner interface on the top layer of all current interfaces.
  • the incoming call notification banner interface provides an answer control and a hang up control. Wherein, when the preset user triggers the answer control, the answer operation for the incoming call notification event will be input to the computer, and when the preset user triggers the hang up control, the hang up operation for the incoming call notification event will be input to the computer.
  • the mobile terminal also obtains the preset basic information of the calling device (which can be configured by those of ordinary skill in the art according to actual needs, such as the communication number of the calling device, the contact information corresponding to the communication number, etc.), and obtains the The preset basic information of the caller will be forwarded to the computer along with the call notification event, and the computer will display it.
  • the "123 12344321" shown is the communication number of the incoming device (that is, the commonly known mobile phone number), and the "unfamiliar number" is the contact information corresponding to the aforementioned communication number. Since the communication of the incoming device in this example The number is not added to the address book of the mobile terminal, and the mobile terminal sets its contact information as an unfamiliar number.
  • the event processing method provided by the present application further includes:
  • the interface of the notification center provided by the computer is divided into two parts, which are the device information display area used to display the device information related to the mobile terminal, and the notification event display area used to display the notification events from the mobile terminal. area.
  • the shown location of the "device name” is used to display the device name of the mobile terminal, and the shown location of the "89% battery” is used to display the real-time remaining battery power of the mobile terminal.
  • the computer does not receive any notification events from the mobile terminal, and displays the preconfigured prompt information “no notification” for prompting that there is currently no notification event in the notification event display area.
  • the computer receives the conversational notification event forwarded from the mobile terminal, and displays the notification event display area in the notification event display area.
  • the location of the shown "application name” is used to display the application name of the instant messaging application that received the instant messaging notification event on the mobile terminal, or the application name used to display the short message on the mobile terminal that received the short message notification event, "
  • the location of "Information Summary” is used to display the computer's summary of the information content carried by the conversational notification event (which can be extracted by the corresponding digest algorithm), and the location of "Notification Time” is used to display the time when the mobile terminal receives the conversational notification event.
  • the location of "Avatar” is used to display the user avatar corresponding to the incoming device of the conversational notification event
  • the location of "Contact Name” is used to display the username corresponding to the incoming device of the conversational notification event
  • the location of "Information Content” is used to Displays the information content carried by conversational notification events.
  • the computer receives a preconfigured trigger operation for triggering the display input control (which can be configured by those of ordinary skill in the art according to actual needs, no specific restrictions are made here, for example, a computer Taking a desktop computer as an example, you can configure the trigger operation to display the input control as a mouse double-click operation for the conversational notification event displayed in the notification center), and further provide an input control in the form of an input box in the notification event display area, marked as The first control, and the first input control is used to receive the reply information for the conversational notification event input by the preset user, which is recorded as the first reply information.
  • the input control further includes a reply button. When the reply button is triggered, a reply operation for the conversational notification event will be input to the computer, and the reply operation carries the first reply information received by the first input control.
  • the computer After that, the computer returns the reply operation carrying the first reply information to the mobile terminal, so that the mobile terminal forwards the first reply information to the incoming device of the conversational notification event.
  • the event processing method when the notification event is a conversational notification event and the determined second display strategy is to display through a banner, the event processing method further includes:
  • the computer when the computer receives the conversational notification event forwarded from the mobile terminal, it displays it in the form of a banner.
  • the location of the shown "application name” is used to display the application name of the instant messaging application that received the instant messaging notification event on the mobile terminal, or the application name used to display the short message on the mobile terminal that received the short message notification event, "
  • the location of "Information Summary” is used to display the computer's summary of the information content carried by the conversational notification event (which can be extracted by the corresponding digest algorithm), and the location of "Notification Event” is used to display the moment when the mobile terminal receives the conversational notification event.
  • the location of "Avatar” is used to display the user avatar corresponding to the incoming device of the conversational notification event
  • the location of "Contact Name” is used to display the username corresponding to the incoming device of the conversational notification event
  • the location of "Information Content” is used to Displays the information content carried by conversational notification events.
  • the computer receives a pre-configured trigger operation for triggering the display input control (which can be configured by those of ordinary skill in the art according to actual needs, no specific restrictions are made here, for example, taking the computer as a desktop computer as
  • the trigger operation for triggering the display of the input control can be configured as a mouse double-click operation on the banner that displays the conversational notification event, etc.
  • an input control in the form of an input box is further provided in the banner, denoted as the second input control
  • the second input control is used to receive the reply information for the conversational notification event input by the preset user, which is recorded as the second reply information.
  • the input control also includes a reply button. When the reply button is triggered, a reply operation for the conversational notification event will be input to the computer, and the reply operation carries the second reply information received by the second input control.
  • the computer returns the reply operation carrying the second reply information to the mobile terminal, so that the mobile terminal forwards the second reply information to the incoming device of the conversational notification event.
  • the event processing method provided by this application further includes:
  • a first clearing operation for the notification center is predefined, and the first clearing operation is configured to trigger clearing of notification events in the notification center.
  • the aforementioned notification events may be cleared according to the first clear operation, all notification events including the aforementioned notification events forwarded by the mobile terminal may be cleared according to the clear operation, and all notification events forwarded by the mobile terminal including the aforementioned notification events may be cleared according to the clear operation. part of the notification events, and other notification events other than the notification events forwarded by the mobile terminal can be cleared according to the clearing operation.
  • the notification center interface of the computer further provides a first clearing control for triggering clearing of all notification events, and a second clearing control for triggering clearing of a specified single notification event.
  • the computer When the preset user triggers the first clear control, the computer will receive the first clear operation instructing to clear all notification events in the notification center interface. At this time, the computer will notify all notifications in the center interface. Events (ie notification event A and notification event B) are cleared.
  • the computer when the preset user triggers the second clearing control for notification event A, the computer will receive the first clearing operation instructing to clear notification event A in the notification center interface. At this time, the computer will notify the center The notification event A in the interface is cleared.
  • the event processing method provided by this application further includes:
  • the computer When the preset user triggers the first clear control, the computer will receive the first clear operation instructing to clear all notification events in the notification center interface. All notification events (ie notification event A and notification event B) are cleared, in addition. The computer sends a clearing instruction corresponding to the first clearing operation to the mobile terminal. On the other hand, the mobile terminal will clear the local notification event A and notification event B according to the clear instruction.
  • the computer When the preset user triggers the second clear control for notification event A, the computer will receive the first clear operation instructing to clear notification event A in the notification center interface. At this time, the computer will notify The notification event A in the central interface is cleared, and in addition, the computer sends a clearing instruction corresponding to the first clearing operation to the mobile terminal. On the other hand, the mobile terminal will clear the local notification event A according to the clear instruction.
  • the event processing method provided by this application further includes:
  • a second clearing operation for the banner is predefined, and the second clearing operation is configured to trigger to stop the display of the banner for the notification event.
  • the banner displaying the notification event includes a clearing control, and receiving a second clearing operation for the notification event, including:
  • receiving a second clearing operation for the notification event further includes:
  • the configurations of the preset direction and the preset distance are not specifically limited in the embodiments of the present application, and can be configured by those of ordinary skill in the art according to actual needs.
  • the preset direction is configured to be the right direction
  • the preset distance is configured to be half the length of the banner displaying the notification event.
  • the notification event when the notification event is a short message notification event, it further includes:
  • verification codes are often used in various aspects, such as registering an account and logging in to an account.
  • a user logs in to an account of an application on a desktop computer and clicks "Send Verification Code"
  • the user needs to receive and view the SMS notification event containing the verification code on the mobile phone, and then enter it on the computer.
  • the overall operation is rather cumbersome.
  • the computer actively identifies and fills in the verification code.
  • the computer when receiving the notification event of the mobile terminal forwarding the short message, the computer firstly identifies whether the identification authority for the verification code granted by the preset user is currently obtained. Verification code; when the computer recognizes that there is a verification code in the SMS notification event, it extracts the recognized verification code from the SMS notification event; then, the computer identifies the application corresponding to the SMS notification event, that is, requests to send the verification code The application is recorded as the target application; then, input the extracted verification code into the identified target application.
  • the event processing method provided by this application further includes:
  • the computer also synchronizes the clipboard data with the mobile terminal when the clipboard synchronization is triggered.
  • the computer provides the clipboard data that exists locally and does not exist in the mobile terminal to the mobile terminal, and the mobile terminal provides the clipboard data that exists locally and does not exist in the computer to the computer, so that the clipboard data of the two can be cut.
  • the cutting board data is consistent.
  • the mobile terminal when the local clipboard data is updated, the mobile terminal sends synchronization instruction information to the computer to trigger the synchronization of the clipboard data.
  • the computer triggers the synchronization of the clipboard data when the local clipboard data is updated.
  • the embodiments of the present application share the clipboard data between electronic devices by providing the capability of synchronizing clipboard data, so that users can conveniently use related data between different devices.
  • the event processing method provided by this application further includes:
  • the processing capability is also shared by the computers.
  • the mobile terminal when it receives a local file opening request, if it recognizes that it does not have the processing capability to open the file to be opened indicated by the aforementioned file opening request, and recognizes that the computer has the processing capability to open the aforementioned file to be opened When the capability is enabled, the aforementioned file to be opened is transmitted to the computer, and the computer is requested to open the to-be-opened file.
  • the computer when the computer receives the to-be-opened file from the mobile terminal, it parses the to-be-opened file through an application corresponding to the to-be-opened file to obtain the file content of the to-be-opened file. Then, the parsed file content is returned to the mobile terminal for display by the mobile terminal.
  • the computer also provides a configuration file corresponding to the application whose file is to be opened, and the configuration file is configured to generate the native interface of the aforementioned application when executed.
  • the configuration file includes a statement describing the interface of the aforementioned application, and the statement includes the data required for the interface display and the operation logic of the interface.
  • the data required for the aforementioned interface display may include the display elements to be displayed in the interface of the aforementioned application, the layout information of the display elements, and the resource addresses required for the display element display, etc., wherein the layout information may include the position, size, Color and other information, the resource address can be the link address of the resource stored on the server.
  • the aforementioned operation logic may include an interface address that needs to be jumped when a display element is clicked, or an operation that needs to be performed when the display element is clicked, or an operation that needs to be performed corresponding to other user operations.
  • the mobile terminal when displaying the content of the aforementioned file, the mobile terminal generates the configuration file of the aforementioned application according to the configuration file provided by the computer, and executes the configuration file to generate the native interface of the aforementioned application, so as to display the aforementioned file content in the aforementioned native interface of the application. , to provide a display effect of the aforementioned application opening the file to be opened on the mobile terminal.
  • displaying the aforementioned notification event includes:
  • the aforementioned notification events are displayed in the notification center.
  • the computer starts the DND mode when it receives a preconfigured DND operation for enabling the DND mode (which can be configured by a person of ordinary skill in the art according to actual needs, and no specific limitation is made here).
  • DND mode the computer displays notification events according to the pre-configured DND display policy to avoid disturbing users.
  • a person of ordinary skill in the art can configure the do-not-disturb display policy according to actual needs. For example, it can be configured to display notification events only on the interface of the notification center.
  • the notification center includes a setting control, and before displaying the notification event, further includes:
  • a setting interface When receiving a setting operation for the setting control, a setting interface is provided, and the setting interface includes a DND option for enabling the DND mode;
  • the notification center interface provided by the computer also includes a setting control.
  • the setting control When the setting control is triggered by a preset user, the computer will superimpose and display the setting interface on the notification center interface.
  • the option "Do Not Disturb” that triggers the computer to turn on the Do Not Disturb mode, and the corresponding selection box. According to actual needs, it is preset that the user can operate the computer to select the aforementioned selection box, instructing the computer to enable the Do Not Disturb mode.
  • FIG. 14 is a schematic structural diagram of an event processing apparatus provided by an embodiment of the present application.
  • the event processing apparatus is applied to the mobile terminal provided in this application.
  • the event processing device may include:
  • an event receiving module 310 configured to receive notification events
  • the event forwarding module 320 is used for forwarding the notification event to the computer, so that the computer displays the notification event.
  • FIG. 15 is another schematic structural diagram of an event processing apparatus provided by an embodiment of the present application.
  • the event processing device is applied to the computer provided in this application.
  • the event processing device may include:
  • an event receiving module 410 configured to receive the notification event forwarded by the mobile terminal when receiving the notification event
  • the event display module 420 is used to display notification events.
  • the embodiments of the present application provide a storage medium on which a computer program is stored.
  • the processor of the mobile terminal When the stored computer program is executed on the processor of the mobile terminal provided by the embodiments of the present application, the processor of the mobile terminal is made to execute any one of the above suitable programs. Steps in an event processing method for a mobile terminal.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access device (Random Access Memory, RAM), and the like.
  • Embodiments of the present application further provide a storage medium on which a computer program is stored, and when the stored computer program is executed on the processor of the computer provided by the embodiment of the present application, the processor of the computer is made to execute any one of the above suitable Steps in a computer's event-handling method.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access device (Random Access Memory, RAM), and the like.
  • An embodiment of the present application further provides a mobile terminal.
  • the mobile terminal includes a processor 510 and a memory 520 .
  • the processor 510 in this embodiment of the present application may be a general-purpose processor, such as a processor of an ARM architecture.
  • a computer program is stored in the memory 520, which may be a high-speed random access memory, or a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Accordingly, memory 520 may also include a memory controller to provide processor 401 access to memory 520 .
  • the processor 510 is configured to execute any of the above event processing methods suitable for the mobile terminal by executing the computer program in the memory 520, such as:
  • the aforementioned notification event is forwarded to the computer, so that the computer displays the aforementioned notification event.
  • An embodiment of the present application further provides a computer. Please refer to FIG. 17 .
  • the computer includes a processor 610 and a memory 620 .
  • the processor 610 in this embodiment of the present application may be a general-purpose processor, such as a processor of an X86 architecture.
  • a computer program is stored in the memory 620, which may be a high-speed random access memory, or a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Accordingly, memory 620 may also include a memory controller to provide processor 401 access to memory 620 .
  • the processor 610 is used to execute any of the above event processing methods suitable for computers by executing the computer program in the memory 620, such as:

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in the embodiments of the present application are an event processing method and apparatus, a storage medium, a mobile terminal, and a computer. The present application relates to receiving a notification event by means of a mobile terminal, and forwarding the notification event to a computer, so that the computer displays the notification event.

Description

事件处理方法、装置、存储介质、移动终端及电脑Event processing method, device, storage medium, mobile terminal and computer
本申请要求于2020年9月18日提交中国专利局、申请号为202010988250.6、发明名称为“事件处理方法、装置、存储介质、移动终端及电脑”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on September 18, 2020 with the application number 202010988250.6 and the invention name is "event processing method, device, storage medium, mobile terminal and computer", the entire content of which is approved by Reference is incorporated in this application.
技术领域technical field
本申请涉及通信技术领域,具体涉及一种事件处理方法、装置、存储介质、移动终端及电脑。The present application relates to the field of communication technologies, and in particular, to an event processing method, device, storage medium, mobile terminal, and computer.
背景技术Background technique
目前,以智能手机为代表的移动终端已成为人们生活所必须,利用移动终端所提供的丰富能力可以满足人们的各方面需求。其中,利用移动终端的通信能力,使得不同用户之间能够在相隔万里的不同空间实现信息的交互。比如,A用户可以通过自己的移动终端发送信息至B用户的移动终端。相关技术中,在移动终端接收到诸如此类的信息时,以通知事件的方式提示用户查看。At present, mobile terminals represented by smart phones have become a necessity in people's lives, and the rich capabilities provided by mobile terminals can meet people's needs in all aspects. Among them, by utilizing the communication capability of the mobile terminal, different users can realize information interaction in different spaces separated by thousands of miles. For example, user A can send information to user B's mobile terminal through his own mobile terminal. In the related art, when the mobile terminal receives such information, it prompts the user to view it in a way of notifying an event.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种事件处理方法、装置、存储介质、移动终端及电脑,能够提高通知事件的通知成功率。The present application provides an event processing method, device, storage medium, mobile terminal and computer, which can improve the notification success rate of notification events.
第一方面,本申请提供了一种事件处理方法,应用于移动终端,包括:In a first aspect, the present application provides an event processing method, applied to a mobile terminal, including:
接收通知事件;receive notification events;
将所述通知事件转发至电脑,使得所述电脑展示所述通知事件。The notification event is forwarded to a computer so that the computer displays the notification event.
第二方面,本申请提供了一种事件处理方法,应用于电脑,包括:In the second aspect, the present application provides an event processing method, applied to a computer, including:
接收移动终端在接收到通知事件时转发的通知事件;receiving the notification event forwarded by the mobile terminal when receiving the notification event;
展示所述通知事件。Display the notification event.
第三方面,本申请提供了一种事件处理装置,应用于移动终端,包括:In a third aspect, the present application provides an event processing apparatus, which is applied to a mobile terminal, including:
事件接收模块,用于接收通知事件;The event receiving module is used to receive notification events;
事件转发模块,用于将所述通知事件转发至电脑,使得所述电脑展示所述通知事件。The event forwarding module is used for forwarding the notification event to the computer, so that the computer displays the notification event.
第四方面,本申请提供了一种事件处理装置,应用于电脑,包括:In a fourth aspect, the present application provides an event processing device, applied to a computer, including:
事件接收模块,用于接收移动终端在接收到通知事件时转发的通知事件;an event receiving module, configured to receive the notification event forwarded by the mobile terminal when receiving the notification event;
事件展示模块,用于展示所述通知事件。The event display module is used to display the notification event.
第五方面,本申请提供了一种存储介质,其上存储有计算机程序,当所述计算机程序被移动终端的处理器加载时执行如本申请提供的任一适于移动终端的事件处理方法。In a fifth aspect, the present application provides a storage medium on which a computer program is stored, and when the computer program is loaded by a processor of a mobile terminal, any event processing method suitable for a mobile terminal provided in the present application is executed.
第六方面,本申请提供了一种存储介质,其上存储有计算机程序,当所述计算机程序被电脑的处理器加载时执行如本申请提供的任一电脑的事件处理方法。In a sixth aspect, the present application provides a storage medium on which a computer program is stored, and when the computer program is loaded by a processor of the computer, the event processing method of any computer provided by the present application is executed.
第七方面,本申请提供了一种移动终端,包括处理器和存储器,所述存储器储存有计算机程序,所述处理器通过加载所述计算机程序执行如本申请提供的任一适于移动终端的事件处理方法。In a seventh aspect, the present application provides a mobile terminal, including a processor and a memory, wherein the memory stores a computer program, and the processor executes any one of the mobile terminal suitable for the mobile terminal provided by the present application by loading the computer program. Event handler method.
第八方面,本申请还提供了一种电脑,包括处理器和存储器,所述存储器存储有计算机程序,所述处理器通过加载所述计算机程序执行如本申请提供的任一适于电脑的事件处理方法。In an eighth aspect, the present application also provides a computer, comprising a processor and a memory, the memory stores a computer program, and the processor executes any event suitable for a computer provided by the present application by loading the computer program Approach.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一 些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请实施例提供的事件处理系统的示意图。FIG. 1 is a schematic diagram of an event processing system provided by an embodiment of the present application.
图2是本申请实施例提供的事件处理方法的一流程示意图。FIG. 2 is a schematic flowchart of an event processing method provided by an embodiment of the present application.
图3是本申请实施例中电脑通过横幅展示来电通知事件的示例图。FIG. 3 is an example diagram of a computer displaying an incoming call notification event through a banner in an embodiment of the present application.
图4是本申请实施例中电脑在通知中心展示会话型通知事件的示意图。FIG. 4 is a schematic diagram of a computer displaying a conversational notification event in a notification center according to an embodiment of the present application.
图5是本申请实施例中电脑通过横幅展示会话型通知事件的示意图。FIG. 5 is a schematic diagram of a computer displaying a conversational notification event through a banner in an embodiment of the present application.
图6是本申请实施例中电脑以横幅方式展示应用通知事件的示意图。FIG. 6 is a schematic diagram of a computer displaying an application notification event in a banner manner according to an embodiment of the present application.
图7是本申请实施例中移动终端将应用界面投屏到电脑的示意图。FIG. 7 is a schematic diagram of a mobile terminal projecting an application interface to a computer in an embodiment of the present application.
图8是本申请实施例电脑更新图7中应用界面的示意图。FIG. 8 is a schematic diagram of a computer updating the application interface in FIG. 7 according to an embodiment of the present application.
图9是本申请实施例电脑与移动终端按照相同展示策略展示通知事件的示意图。FIG. 9 is a schematic diagram of a computer and a mobile terminal displaying a notification event according to the same display strategy according to an embodiment of the present application.
图10是本申请实施例中通知中心界面包括的清除控件的示意图。FIG. 10 is a schematic diagram of a clearing control included in a notification center interface in an embodiment of the present application.
图11是本申请实施例中电脑清除通知事件的示意图。FIG. 11 is a schematic diagram of a computer clearing a notification event in an embodiment of the present application.
图12是本申请实施例提供的事件处理方法的另一流程示意图。FIG. 12 is another schematic flowchart of an event processing method provided by an embodiment of the present application.
图13是本申请实施例中开启电脑免打扰模式的操作示意图。FIG. 13 is a schematic diagram of an operation of turning on a computer do not disturb mode in an embodiment of the present application.
图14是本申请实施例提供的事件处理装置的一结构示意图。FIG. 14 is a schematic structural diagram of an event processing apparatus provided by an embodiment of the present application.
图15是本申请实施例提供的事件处理装置的另一结构示意图。FIG. 15 is another schematic structural diagram of an event processing apparatus provided by an embodiment of the present application.
图16是本申请实施例提供的移动终端的结构示意图。FIG. 16 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application.
图17是本申请实施例提供的电脑的结构示意图。FIG. 17 is a schematic structural diagram of a computer provided by an embodiment of the present application.
具体实施方式detailed description
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Please refer to the drawings, wherein the same component symbols represent the same components, and the principles of the present application are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application and should not be construed as limiting other specific embodiments of the present application not detailed herein.
应当说明的是,本申请以下实施例中所涉及的诸如第一和第二等关系术语仅用于将一个实体或者操作与另一个实体或者操作区分开来,并不用于限定这些实体或操作之间存在着实际的顺序关系。It should be noted that the relational terms such as first and second involved in the following embodiments of this application are only used to distinguish one entity or operation from another entity or operation, and are not used to limit these entities or operations. There is an actual sequential relationship between them.
本申请提供一种事件处理系统,请参照图1,本申请提供的事件处理系统包括移动终端10和电脑20。应当说明的是,本申请实施例对移动终端10和电脑20的实体展现形式不做具体限制,比如,移动终端10的实体展现形式可以为图1示出的智能手机,电脑20的实体展现形式可以为图1示出的台式电脑。The present application provides an event processing system. Please refer to FIG. 1 . The event processing system provided by the present application includes a mobile terminal 10 and a computer 20 . It should be noted that the embodiments of the present application do not specifically limit the physical presentation forms of the mobile terminal 10 and the computer 20 . For example, the physical presentation form of the mobile terminal 10 may be the smartphone shown in FIG. 1 , and the physical presentation form of the computer 20 may be It can be the desktop computer shown in FIG. 1 .
其中,移动终端10和电脑20通过二者之间的通信连接进行数据交互,该通信连接可以为有线通信连接(比如,直接通过数据线连接移动终端10和电脑20,从而建立二者间的有线通信连接),也可以为无线通信连接(包括但不限于蓝牙、红外以及无线保真等无线通信方式),还可以同时建立有线通信连接和无线通信连接。比如,移动终端10在接收到通知事件时,通过其与电脑20之间的无线通信连接,将接收到的通知事件转发至电脑20,由电脑20进行展示,从而确保用户不遗漏信息。Wherein, the mobile terminal 10 and the computer 20 perform data interaction through a communication connection between the two, and the communication connection may be a wired communication connection (for example, directly connecting the mobile terminal 10 and the computer 20 through a data cable, thereby establishing a wired connection between the two). communication connection), it can also be a wireless communication connection (including but not limited to wireless communication methods such as Bluetooth, infrared, and wireless fidelity), and a wired communication connection and a wireless communication connection can be established at the same time. For example, when the mobile terminal 10 receives the notification event, it forwards the received notification event to the computer 20 through the wireless communication connection with the computer 20, and the computer 20 displays the received notification event, thereby ensuring that the user does not miss information.
应当说明的是,上述图1示出的仅是实现本申请实施例的一个系统架构实例,本申请实施例并不限于上述图1所示的系统架构。以下以图1示出的系统架构为例,提出本申请的各个实施例。It should be noted that the foregoing FIG. 1 shows only an example of a system architecture for implementing the embodiments of the present application, and the embodiments of the present application are not limited to the system architecture shown in the foregoing FIG. 1 . Various embodiments of the present application are presented below by taking the system architecture shown in FIG. 1 as an example.
本申请实施例提供一种事件处理方法,应用于移动终端,包括:The embodiment of the present application provides an event processing method, which is applied to a mobile terminal, including:
接收通知事件;receive notification events;
将所述通知事件转发至电脑,使得所述电脑展示所述通知事件。The notification event is forwarded to a computer so that the computer displays the notification event.
在一实施例中,所述将所述通知事件转发至电脑,包括:In one embodiment, the forwarding of the notification event to the computer includes:
确定当前针对所述通知事件的第一展示策略;determining the current first display strategy for the notification event;
将所述第一展示策略以及所述通知事件转发至所述电脑,使得所述电脑按照与所述移动终端相同的第一展示策略同步展示所述通知事件。The first display strategy and the notification event are forwarded to the computer, so that the computer displays the notification event synchronously according to the same first display strategy as the mobile terminal.
在一实施例中,所述第一展示策略包括通过通知中心展示和/或通过横幅展示。In one embodiment, the first presentation strategy includes presentation via a notification center and/or presentation via a banner.
在一实施例中,所述将所述通知事件转发至所述电脑之后,还包括:In one embodiment, after forwarding the notification event to the computer, the method further includes:
接收所述电脑返回的针对所述通知事件的响应操作,并执行所述响应操作。Receive a response operation for the notification event returned by the computer, and execute the response operation.
在一实施例中,在所述通知事件为来电通知事件且所述响应操作为接听操作时,所述执行所述响应操作,包括:In one embodiment, when the notification event is an incoming call notification event and the response operation is an answering operation, the performing the response operation includes:
与所述来电通知事件对应的来电设备建立第一通话连接,以及与所述电脑建立第二通话连接;establishing a first call connection with the incoming call device corresponding to the incoming call notification event, and establishing a second call connection with the computer;
在接收到来自所述来电设备的下行话音时,将所述下行话音转发至所述电脑;和/或When receiving the downlink voice from the incoming device, forward the downlink voice to the computer; and/or
在接收到来自所述电脑的上行话音时,将所述上行话音转发至所述来电设备。When receiving the uplink voice from the computer, forward the uplink voice to the incoming device.
在一实施例中,在所述通知事件为会话型通知事件,且所述响应操作为回复操作时,所述执行所述响应操作,包括:In one embodiment, when the notification event is a conversational notification event and the response operation is a reply operation, the performing the response operation includes:
从所述回复操作中解析出所述电脑针对所述会话型通知事件的回复信息;Parse the reply information of the computer for the conversational notification event from the reply operation;
将所述回复信息转发至所述会话型通知事件的来信设备。The reply information is forwarded to the incoming device of the conversational notification event.
在一实施例中,在所述通知事件为应用通知事件且所述响应操作为应用显示操作时,所述执行所述响应操作,包括:In one embodiment, when the notification event is an application notification event and the response operation is an application display operation, the performing the response operation includes:
将对应所述应用通知事件的目标应用的应用界面投屏至所述电脑。Projecting the application interface of the target application corresponding to the application notification event to the computer.
在一实施例中,所述将对应所述应用通知事件的目标应用的应用界面投屏至所述电脑之后,还包括:In one embodiment, after projecting the application interface of the target application corresponding to the application notification event to the computer, the method further includes:
接收所述电脑返回的针对所述应用界面的界面操作;receiving an interface operation returned by the computer for the application interface;
基于所述目标应用执行所述界面操作,并根据执行结果更新所述应用界面。The interface operation is executed based on the target application, and the application interface is updated according to the execution result.
在一实施例中,所述界面操作包括界面触摸操作,所述接收所述电脑返回的针对所述应用界面的界面操作,包括:In one embodiment, the interface operation includes an interface touch operation, and the receiving an interface operation returned by the computer for the application interface includes:
接收所述电脑返回的鼠标操作;receiving the mouse operation returned by the computer;
将所述鼠标操作转换为针对所述应用界面的界面触摸操作。Converting the mouse operation into an interface touch operation for the application interface.
在一实施例中,所述界面操作包括界面输入操作,所述接收所述电脑返回的针对所述应用界面的界面操作,包括:In one embodiment, the interface operation includes an interface input operation, and the receiving an interface operation returned by the computer for the application interface includes:
接收所述电脑返回的键盘输入操作;receiving a keyboard input operation returned by the computer;
将所述键盘输入操作转换为针对所述应用界面的界面输入操作。Converting the keyboard input operation into an interface input operation for the application interface.
在一实施例中,所述将所述通知事件转发至所述电脑之后,还包括:In one embodiment, after forwarding the notification event to the computer, the method further includes:
接收所述电脑在清除所述通知事件时发送的清除指示;receiving a clear indication sent by the computer when clearing the notification event;
根据所述清除指示同步清除本地的所述通知事件。The local notification event is synchronously cleared according to the clear instruction.
在一实施例中,所述将所述通知事件转发至电脑之前,还包括:In one embodiment, before forwarding the notification event to the computer, the method further includes:
识别所述电脑当前是否被预设用户注视;Identifying whether the computer is currently being watched by a preset user;
在所述电脑当前被所述预设用户注视时,将所述通知事件转发至所述电脑。The notification event is forwarded to the computer when the computer is currently being watched by the preset user.
请参照图2,图2为本申请实施例提供的事件处理方法的流程示意图。该事件处理方法应用于本申请提供的事件处理系统中的移动终端,如图2所示,本申请实施例提供的事件处理方法的流程可以如下:Please refer to FIG. 2 , which is a schematic flowchart of an event processing method provided by an embodiment of the present application. The event processing method is applied to the mobile terminal in the event processing system provided by the present application. As shown in FIG. 2 , the process of the event processing method provided by the embodiment of the present application may be as follows:
在110中,接收通知事件。At 110, a notification event is received.
应当说明的是,通知事件包括但不限于来电通知事件、会话型通知事件以及应用通知事件等。It should be noted that notification events include but are not limited to incoming call notification events, conversational notification events, and application notification events.
其中,来电通知事件比如移动终端基于移动通信网络话音通道接收到的传统语音通话,基于移动通信网络数据通道接收到的即时语音通话等。The incoming call notification event is, for example, a traditional voice call received by the mobile terminal based on a voice channel of a mobile communication network, an instant voice call received based on a data channel of the mobile communication network, and the like.
会话型通知事件包括但不限于即时信息通知事件和短信通知事件,即时信息通知事件比如移动终端上部署的即时通信应用所接收到即时信息,如文字、图片、语音等;短信通知事件比如移动终端基于移动通信网络接收到的短信信息。Conversational notification events include but are not limited to instant message notification events and SMS notification events. Instant message notification events such as instant messages received by instant messaging applications deployed on mobile terminals, such as text, pictures, voice, etc.; SMS notification events such as mobile terminals Based on the short message information received by the mobile communication network.
应用通知事件比如移动终端上部署的任意应用所接收到的服务器推送通知等。Application notification events such as server push notifications received by any application deployed on the mobile terminal.
在120中,将前述通知事件转发至电脑,使得电脑展示前述通知事件。In 120, the aforementioned notification event is forwarded to the computer so that the aforementioned notification event is displayed by the computer.
应当说明的是,在本申请实施例中,移动终端预先根据接收到的绑定操作,与电脑建立绑定关系。其中,本申请对于移动终端和电脑绑定方式不做具体限制,可由本领域普通技术人员根据实际需要进行配置。It should be noted that, in this embodiment of the present application, the mobile terminal establishes a binding relationship with the computer in advance according to the received binding operation. Wherein, the present application does not specifically limit the binding manner of the mobile terminal and the computer, which can be configured by those of ordinary skill in the art according to actual needs.
本申请实施例中,移动终端在接收到通知事件时,将该通知事件通过与电脑之间的通信连接转发至电脑,以使得电脑展示该通知事件。相应的,电脑将对前述通知事件进行展示。In the embodiment of the present application, when receiving the notification event, the mobile terminal forwards the notification event to the computer through a communication connection with the computer, so that the computer displays the notification event. Correspondingly, the computer will display the aforementioned notification events.
应当说明的是,在其它实施例中,移动终端除了将接收到的通知事件转发至电脑之外,移动终端自身可以对接收到的通知事件进行展示,也可以不进行展示,具体可由本领域普通技术人员根据实际需要进行配置。It should be noted that, in other embodiments, in addition to forwarding the received notification event to the computer, the mobile terminal itself may display the received notification event, or may not display it. Technicians can configure according to actual needs.
现假设以下场景,用户在台式电脑前长时间专注办公时,智能手机时常接收到通知事件并进行展示。其中,可以理解的是,由于此时用户的关注重心并未在智能手机,并不一定能够被智能手机通知到,即使智能手机通知到用户,也需要用户拿起智能手机来查看,造成注意力的转移。而采用本申请所提供的事件处理方法,同样的,当用户在台式电脑前长时间专注办公时,智能手机在接收到通知事件时,会将接收到的通知事件转发至处于用户关注状态的台式电脑,由台式电脑展示给用户,由此,不仅能够确保成功的通知到用户,更不会造成用户注意力的转移。Now suppose the following scenario, when the user is focused on work for a long time in front of the desktop computer, the smartphone often receives notification events and displays them. Among them, it is understandable that since the user's focus is not on the smartphone at this time, it may not be notified by the smartphone. Even if the smartphone informs the user, the user needs to pick up the smartphone to check, causing attention transfer. With the event processing method provided in this application, similarly, when the user concentrates on work for a long time in front of the desktop computer, when the smart phone receives the notification event, it will forward the received notification event to the desktop in the user's attention state. The computer is displayed to the user by the desktop computer, thereby not only ensuring a successful notification to the user, but also not causing the user's attention to be diverted.
由上可知,本申请通过移动终端接收通知事件,并将该通知事件转发至电脑,使得电脑展示该通知事件。由此,即使当用户因某种原因而未关注于移动终端时,移动终端也能够在接收到通知事件时,将通知事件转发给电脑进行展示,若此时用户关注于电脑,则将被成功通知,从而达到提高通知事件的通知成功率的目的。As can be seen from the above, the present application receives the notification event through the mobile terminal, and forwards the notification event to the computer, so that the computer displays the notification event. Therefore, even when the user does not pay attention to the mobile terminal for some reason, the mobile terminal can forward the notification event to the computer for display when receiving the notification event. If the user pays attention to the computer at this time, it will be successfully displayed. Notification, so as to achieve the purpose of improving the notification success rate of notification events.
可选地,在一实施例中,将前述通知事件转发至电脑之前,还包括:Optionally, in an embodiment, before forwarding the aforementioned notification event to the computer, the method further includes:
识别电脑当前是否被预设用户注视;Identify whether the computer is currently being watched by the preset user;
在电脑被预设用户注视时,将前述通知事件转发至电脑。When the computer is watched by the preset user, the aforementioned notification event is forwarded to the computer.
其中,预设用户包括具备电脑和移动终端使用权限的用户,比如移动终端和电脑的机主,或者获得机主授权使用移动终端和电脑的其他用户等。The preset users include users who have permission to use the computer and the mobile terminal, such as the owner of the mobile terminal and the computer, or other users authorized by the owner to use the mobile terminal and the computer.
示例性地,在确定电脑当前是否被预设用户注视时,一方面,移动终端按照与电脑预先约定的报文格式,生成状态识别请求,并将该状态识别请求传输至电脑。另一方面,电脑在接收到来自于移动终端的状态识别请求时,将根据该状态识别请求的指示,识别当前是否被预设用户注视,并返回识别结果至移动终端。其中,识别结果包括被预设用户注视或未被预设用户注视。相应的,移动终端在接收到来自于电脑的识别结果时,即可根据接收到的识别结果确定发送该识别结果的电脑当前是否被预设用户注视。Exemplarily, when determining whether the computer is currently being watched by a preset user, on the one hand, the mobile terminal generates a state identification request according to a message format pre-agreed with the computer, and transmits the state identification request to the computer. On the other hand, when the computer receives a state identification request from the mobile terminal, it will identify whether it is currently being watched by the preset user according to the indication of the state identification request, and return the identification result to the mobile terminal. Wherein, the identification result includes being watched by a preset user or not being watched by a preset user. Correspondingly, when the mobile terminal receives the recognition result from the computer, it can determine whether the computer sending the recognition result is currently watched by the preset user according to the received recognition result.
应当说明的是,本申请实施例对于电脑如何识别自身当前是否被预设用户注 视不做具体限制,可由本领域普通技术人员根据实际需要进行配置。It should be noted that the embodiments of the present application do not specifically limit how the computer recognizes whether it is currently being watched by the preset user, and can be configured by those of ordinary skill in the art according to actual needs.
比如,在电脑的实体展现形式为台式电脑时,电脑可通过其配置的摄像头进行拍摄,得到拍摄图像;然后,电脑再按照配置的人脸识别算法识别拍摄图像中是否存在预设用户的人脸;若识别到拍摄图像中存在预设用户的人脸,则采用眼球追踪算法计算出拍摄图像中预设用户的眼球注视位置,其中,若该眼球注视位置位于电脑的展示模块(比如显示屏、投影镜头)的展示区域之内,则确定自身当前被预设用户注视。For example, when the physical presentation form of the computer is a desktop computer, the computer can shoot through its configured camera to obtain a captured image; then, the computer can identify whether there is a preset user's face in the captured image according to the configured face recognition algorithm. ; If it is recognized that the face of the preset user exists in the captured image, the eye-tracking algorithm is used to calculate the eye-gaze position of the preset user in the captured image, wherein, if the eye-gaze position is located in the display module of the computer (such as a display screen, within the display area of the projection lens), it is determined that it is currently being watched by the preset user.
可选地,在一实施例中,本申请提供的事件处理方法,还包括:Optionally, in an embodiment, the event processing method provided by this application further includes:
在电脑未被预设用户注视时,识别预设用户是否位于电脑的可视范围之内;When the computer is not watched by the preset user, identify whether the preset user is within the visual range of the computer;
在预设用户位于电脑的可视范围之内时,将前述通知事件转发至电脑。When the preset user is within the visual range of the computer, the aforementioned notification event is forwarded to the computer.
可选地,在一实施例中,本申请提供的事件处理方法,还包括:Optionally, in an embodiment, the event processing method provided by this application further includes:
在预设用户不存在与电脑的可视范围之内时,获取预设用户的运动趋势;When the preset user does not exist within the visual range of the computer, obtain the movement trend of the preset user;
在根据前述运动趋势确定预设用户朝向电脑运动时,将前述通知事件转发至电脑。When it is determined according to the aforementioned movement trend that the preset user moves towards the computer, the aforementioned notification event is forwarded to the computer.
可选地,在一实施例中,将通知事件转发至电脑之后,还包括:Optionally, in an embodiment, after forwarding the notification event to the computer, the method further includes:
接收电脑返回的针对通知事件的响应操作,并执行响应操作。Receives the response action returned by the computer for the notification event, and executes the response action.
本申请实施例中,为提高用户操作的便捷性,在电脑提供对通知事件的响应能力,使得预设用户能够通过电脑对移动终端所接收到的通知事件进行响应。In the embodiment of the present application, in order to improve the convenience of the user's operation, the computer is provided with the ability to respond to the notification event, so that the preset user can respond to the notification event received by the mobile terminal through the computer.
其中,预设用户可以在电脑展示通知事件时,根据实际需要通过电脑所配置的输入设备(包括但不限于鼠标、键盘、触摸屏等)向电脑输入期望的响应操作。比如,在通知事件为来电通知事件时,响应操作比如接听操作、挂断操作等;又比如,在通知事件为会话型通知事件时,响应操作比如回复操作等。相应的,电脑在接收到预设用户输入的响应操作时,将该响应操作转发至移动终端。The preset user can input a desired response operation to the computer through input devices (including but not limited to mouse, keyboard, touch screen, etc.) configured by the computer according to actual needs when the computer displays the notification event. For example, when the notification event is an incoming call notification event, a response operation such as an answering operation, a hanging up operation, etc.; for another example, when the notification event is a conversational notification event, a response operation such as a reply operation, etc. Correspondingly, when receiving the response operation input by the preset user, the computer forwards the response operation to the mobile terminal.
另一方面,移动终端在接收到来自于电脑且针对于通知事件的响应操作时,即执行该响应操作。On the other hand, when the mobile terminal receives a response operation for the notification event from the computer, it executes the response operation.
可选地,在通知事件为来电通知事件且响应操作为接听操作时,执行响应操作,包括:Optionally, when the notification event is an incoming call notification event and the response operation is an answering operation, a response operation is performed, including:
(1)与来电通知事件对应的来电设备建立第一通话连接,以及与电脑建立第二通话连接;(1) establishing a first call connection with the incoming call device corresponding to the incoming call notification event, and establishing a second call connection with the computer;
(2)在接收到来自来电设备的下行话音时,将下行话音转发至电脑;和/或(2) When receiving the downlink voice from the incoming device, forward the downlink voice to the computer; and/or
(3)在接收到来自电脑的上行话音时,将上行话音转发至来电设备。(3) When receiving the uplink voice from the computer, forward the uplink voice to the incoming device.
本申请实施例中,以通知事件为来电通知事件进行示例说明。In the embodiment of the present application, the notification event is used as an example of an incoming call notification event for description.
其中,电脑在接收到移动终端所转发的来电通知事件时,按照预先配置的针对来电通知事件的展示策略对该来电通知事件进行展示。应当说明的是,本申请实施例中对于如何展示来电通知事件不做具体限制,可由本领域普通技术人员根据实际需要进行配置。Wherein, when receiving the incoming call notification event forwarded by the mobile terminal, the computer displays the incoming call notification event according to a preconfigured display strategy for the incoming call notification event. It should be noted that there is no specific limitation on how to display the incoming call notification event in the embodiments of the present application, which can be configured by those of ordinary skill in the art according to actual needs.
比如,电脑以横幅的方式在当前显示界面的右下侧展示来电通知事件,并播放设定的来电通知提示音进行提示。其中,电脑的来电通知提示音与移动终端设置为相同。For example, the computer displays the incoming call notification event in the form of a banner on the lower right side of the current display interface, and plays the set incoming call notification sound for prompting. Wherein, the notification tone of the incoming call of the computer is set to be the same as that of the mobile terminal.
请参照图3,电脑将生成对应来电通知事件的来电通知横幅界面,并在当前所有界面的顶层展示该来电通知横幅界面。如图3所示,来电通知横幅界面提供有接听控件和挂断控件。其中,当预设用户触发接听控件时,将向电脑输入针对来电通知事件的接听操作,而当预设用户触发挂断控件时,将向电脑输入针对来 电通知事件的挂断操作。此外,移动终端还获取到来电设备的预设基础信息(可由本领域普通技术人员根据实际需要进行配置,比如,来电设备的通信号码,该通信号码对应的联系人信息等),并将获取到的预设基础信息随同来电通知事件转发至电脑,由电脑进行展示。请继续参照图3,其中示出的“123 1234 4321”为来电设备的通信号码(即俗称的手机号),“陌生号码”为前述通信号码对应的联系人信息,由于此例中来电设备的通信号码未被添加至移动终端的通讯录,移动终端将其联系人信息设置为陌生号码。Referring to FIG. 3 , the computer will generate an incoming call notification banner interface corresponding to the incoming call notification event, and display the incoming call notification banner interface on top of all current interfaces. As shown in Figure 3, the incoming call notification banner interface provides an answer control and a hang up control. Wherein, when the preset user triggers the answer control, the answer operation for the incoming call notification event will be input to the computer, and when the preset user triggers the hang up control, the hang up operation for the incoming call notification event will be input to the computer. In addition, the mobile terminal also obtains the preset basic information of the incoming call device (which can be configured by those of ordinary skill in the art according to actual needs, such as the communication number of the incoming call device, the contact information corresponding to the communication number, etc.), and obtains the The preset basic information of the caller will be forwarded to the computer along with the call notification event, and the computer will display it. Please continue to refer to Fig. 3, the "123 1234 4321" shown is the communication number of the incoming call device (that is, the mobile phone number commonly known as the phone number), and the "unfamiliar number" is the contact information corresponding to the aforementioned communication number. The communication number is not added to the address book of the mobile terminal, and the mobile terminal sets its contact information as an unfamiliar number.
此外,来电通知横幅界面还提供有收起控件,当该收起控件被触发时,电脑将终止展示来电通知横幅界面,也即终止展示来电通知事件。In addition, the call notification banner interface is also provided with a retraction control. When the retraction control is triggered, the computer will terminate the display of the call notification banner interface, that is, the display of the call notification event will be terminated.
本申请实施例中,电脑在接收到预设用户针对来电通知事件的接听操作或是挂断操作时,将接收到的接听操作或是挂断操作返回至移动终端,同时终止展示来电通知事件。In the embodiment of the present application, when the computer receives a preset user's answering operation or hanging up operation for the incoming call notification event, it returns the received answering operation or hanging up operation to the mobile terminal, and at the same time terminates displaying the incoming call notification event.
另一方面,移动终端在接收到来自于电脑的接听操作时,与来电通知事件对应的来电设备建立通话连接,记为第一通话连接,以及与电脑建立通话连接,记为第二通话连接。其中,移动终端在接收到来自于来电设备的下行话音时,将该下行话音转发至电脑;和/或在接收到来自于电脑的上行话音时,将该上行话音转发至来电设备。由此,移动终端将作为来电设备与电脑通话的中间设备,使得预设用户能够直接通过电脑与来电设备的用户进行通话。On the other hand, when the mobile terminal receives the answering operation from the computer, it establishes a call connection with the incoming call device corresponding to the incoming call notification event, which is recorded as the first call connection, and establishes a call connection with the computer, which is recorded as the second call connection. The mobile terminal forwards the downlink voice to the computer when receiving the downlink voice from the calling device; and/or forwards the uplink voice to the caller device when receiving the uplink voice from the computer. Therefore, the mobile terminal will act as an intermediate device for the caller device to communicate with the computer, so that the preset user can directly communicate with the user of the caller device through the computer.
可选地,在其它实施例中,移动终端在接收到来自于移动终端的挂断操作时,直接挂断来电。Optionally, in other embodiments, the mobile terminal directly hangs up the incoming call when receiving a hang-up operation from the mobile terminal.
可选地,在其它实施例中,电脑可以动态的确定来电通知事件的展示位置,比如,可以确定出预设用户的注视区域,并在预设用户的注视区域之内进行展示;又比如,电脑可以确定出预设用户的工作区域,并在预设用户的工作区域之外进行展示等。Optionally, in other embodiments, the computer can dynamically determine the display position of the incoming call notification event, for example, can determine the gaze area of the preset user, and display it within the gaze area of the preset user; another example, The computer can determine the work area of the preset user, and display it outside the work area of the preset user.
可选地,在一实施例中,在通知事件为会话型通知事件,且响应操作为回复操作时,执行响应操作,包括:Optionally, in an embodiment, when the notification event is a conversational notification event and the response operation is a reply operation, performing a response operation includes:
(1)从回复操作中解析出电脑针对会话型通知事件的回复信息;(1) Parse the reply information of the computer for the conversational notification event from the reply operation;
(2)将回复信息转发至会话型通知事件的来信设备。(2) Forward the reply information to the incoming device of the conversational notification event.
本申请实施例中,以通知事件为会话型通知事件进行示例说明,其中,会话型通知事件包括但不限于即时消息通知事件和短信通知事件等。In the embodiment of the present application, the notification event is taken as an example of a conversational notification event, wherein the conversational notification event includes but is not limited to an instant message notification event and a short message notification event.
本申请实施例中提供电脑对会话型通知事件的回复能力。The embodiment of the present application provides the computer's ability to reply to the conversational notification event.
示例性地,电脑在接收到移动终端所转发的会话型通知事件时,按照预先配置的针对会话型通知事件的展示策略对该即时信息通知事件进行展示。应当说明的是,本申请实施例中对于如何展示会话型通知事件不做具体限制,可由本领域普通技术人员根据实际需要进行配置。Exemplarily, when receiving the conversational notification event forwarded by the mobile terminal, the computer displays the instant information notification event according to a preconfigured display policy for the conversational notification event. It should be noted that, in the embodiments of the present application, there is no specific limitation on how to display the conversational notification event, which can be configured by those of ordinary skill in the art according to actual needs.
比如,电脑以横幅(展示时长可由本领域普通技术人员根据实际需要进行配置,此处不做具体限定)的方式在当前显示界面的右下侧展示会话型通知事件,并播放预设的通知提示音进行提示;又比如,电脑提供通知中心,并在通知中心的界面内展示会话型通知事件;又比如,电脑以横幅的方式在当前显示界面的右下侧展示会话型通知事件,同时在通知中心的界面内展示会话型通知事件。For example, the computer displays the conversational notification event on the lower right side of the current display interface in the form of a banner (the display duration can be configured by those of ordinary skill in the art according to actual needs, which is not specifically limited here), and plays the preset notification prompt For example, the computer provides a notification center and displays conversational notification events in the interface of the notification center; another example, the computer displays conversational notification events in the form of a banner on the lower right side of the currently displayed interface, and at the same time in the notification center Conversational notification events are displayed in the center's interface.
请参照图4,提供了一通知中心的界面示例图。Referring to FIG. 4 , an example interface diagram of a notification center is provided.
如图4所示,该通知中心的界面被划分两部分,分别为用于展示移动终端相关设备信息的设备信息展示区域,以及用于展示来自于移动终端的通知事件的通知事件展示区域。其中,示出的“设备名称”所在位置用于展示移动终端的设备 名称,示出的“电量89%”所在位置用于展示移动终端的实时剩余电量。As shown in FIG. 4 , the interface of the notification center is divided into two parts, namely a device information display area for displaying mobile terminal related device information, and a notification event display area for displaying notification events from the mobile terminal. Wherein, the shown location of the "device name" is used to display the device name of the mobile terminal, and the shown location of the "89% battery" is used to display the real-time remaining battery power of the mobile terminal.
请参照图4左侧的示例图,此时电脑未接收到任何来自于移动终端的通知事件,在通知事件展示区域展示预先配置的用于提示当前不存在通知事件的提示信息“无通知”。Please refer to the example diagram on the left side of FIG. 4 , at this time, the computer does not receive any notification events from the mobile terminal, and displays the preconfigured prompt information “no notification” for prompting that there is currently no notification event in the notification event display area.
请参照图4中间的示例图,此时电脑接收到来自于移动终端转发的会话型通知事件,在通知事件展示区域展示该在通知事件展示区域展示。其中,示出的“应用名称”所在位置用于展示移动终端上接收到即时信息通知事件的即时信息应用的应用名称,或者展示移动终端上接收到短信通知事件的短信用于的应用名称,“信息摘要”所在位置用于展示电脑对会话型通知事件携带的信息内容的摘要(可通过相应的摘要算法提取得到),“通知时刻”所在位置用于展示移动终端接收到会话型通知事件的时刻,“头像”所在位置用于展示会话型通知事件的来信设备对应的用户头像,“联系人名字”所在位置用于展示会话型通知事件来信设备对应的用户名,“信息内容”所在位置用于展示会话型通知事件携带的信息内容。Please refer to the example diagram in the middle of FIG. 4 , at this time, the computer receives the conversational notification event forwarded from the mobile terminal, and displays the notification event display area in the notification event display area. Wherein, the location of the shown "application name" is used to display the application name of the instant messaging application that received the instant messaging notification event on the mobile terminal, or the application name used to display the short message on the mobile terminal that received the short message notification event, " The location of "Information Summary" is used to display the computer's summary of the information content carried by the conversational notification event (which can be extracted by the corresponding digest algorithm), and the location of "Notification Time" is used to display the time when the mobile terminal receives the conversational notification event. , the location of "Avatar" is used to display the user avatar corresponding to the incoming device of the conversational notification event, the location of "Contact Name" is used to display the username corresponding to the incoming device of the conversational notification event, and the location of "Information Content" is used to Displays the information content carried by conversational notification events.
请参照图4右侧的示例图,电脑在接收到预先配置的用于触发展示输入控件的触发操作(可由本领域普通技术人员根据实际需要进行配置,此处不做具体限制,比如,以电脑为台式电脑为示例,可以配置触发展示输入控件的触发操作为对通知中心内展示的会话型通知事件的鼠标双击操作)时,在通知事件展示区域内进一步提供输入框形式的输入控件,并利用该输入控件接收预设用户输入的针对会话型通知事件的回复信息。此外,该输入控件还包括回复按钮,当该回复按钮被触发时,将向电脑输入针对会话型通知事件的回复操作,该回复操作携带输入控件所接收到的回复信息。Please refer to the example diagram on the right side of FIG. 4 , when the computer receives a preconfigured trigger operation for triggering the display input control (which can be configured by those of ordinary skill in the art according to actual needs, no specific restrictions are made here, for example, a computer Taking a desktop computer as an example, you can configure the trigger operation to display the input control as a mouse double-click operation for the conversational notification event displayed in the notification center), and further provide an input control in the form of an input box in the notification event display area, and use The input control receives reply information for a conversational notification event input by a preset user. In addition, the input control further includes a reply button. When the reply button is triggered, a reply operation for the conversational notification event will be input to the computer, and the reply operation carries the reply information received by the input control.
请参照图5,提供了电脑通过横幅的方式展示会话型通知事件的示例图。Please refer to FIG. 5 , which provides an example diagram of a computer displaying a conversational notification event by means of a banner.
如图5所示,电脑接收到来自于移动终端转发的会话型通知事件,通过横幅的方式进行展示。其中,示出的“应用名称”所在位置用于展示移动终端上接收到即时信息通知事件的即时信息应用的应用名称,或者展示移动终端上接收到短信通知事件的短信用于的应用名称,“信息摘要”所在位置用于展示电脑对会话型通知事件携带的信息内容的摘要(可通过相应的摘要算法提取得到),“通知事件”所在位置用于展示移动终端接收到会话型通知事件的时刻,“头像”所在位置用于展示会话型通知事件的来信设备对应的用户头像,“联系人名字”所在位置用于展示会话型通知事件来信设备对应的用户名,“信息内容”所在位置用于展示会话型通知事件携带的信息内容。As shown in Figure 5, the computer receives the conversational notification event forwarded from the mobile terminal and displays it in the form of a banner. Wherein, the location of the shown "application name" is used to display the application name of the instant messaging application that received the instant messaging notification event on the mobile terminal, or the application name used to display the short message on the mobile terminal that received the short message notification event, " The location of "Information Summary" is used to display the computer's summary of the information content carried by the conversational notification event (which can be extracted by the corresponding digest algorithm), and the location of "Notification Event" is used to display the moment when the mobile terminal receives the conversational notification event. , the location of "Avatar" is used to display the user avatar corresponding to the incoming device of the conversational notification event, the location of "Contact Name" is used to display the username corresponding to the incoming device of the conversational notification event, and the location of "Information Content" is used to Displays the information content carried by conversational notification events.
请继续参照图5,电脑在接收到预先配置的用于触发展示输入控件的触发操作(可由本领域普通技术人员根据实际需要进行配置,此处不做具体限制,比如,以电脑为台式电脑为示例,可以配置用于触发展示输入控件的触发操作为对展示会话型通知事件的横幅的鼠标双击操作等)时,在横幅内进一步提供输入框形式的输入控件,并利用该输入控件接收预设用户输入的针对会话型通知事件回复信息。此外,该输入控件还包括回复按钮,当该回复按钮被触发时,将向电脑输入针对会话型通知事件的回复操作,该回复操作携带输入控件所接收到的回复信息。Please continue to refer to FIG. 5, when the computer receives a pre-configured trigger operation for triggering the display input control (which can be configured by those of ordinary skill in the art according to actual needs, no specific restrictions are made here, for example, taking the computer as a desktop computer as For example, when the trigger operation for triggering the display of the input control can be configured as a mouse double-click operation on the banner displaying the conversational notification event, etc.), an input control in the form of an input box is further provided in the banner, and the input control is used to receive the preset User-entered reply information for conversational notification events. In addition, the input control further includes a reply button. When the reply button is triggered, a reply operation for the conversational notification event will be input to the computer, and the reply operation carries the reply information received by the input control.
本申请实施例中,电脑在接收到预设用户针对会话型通知事件的回复操作时,将接收到的回复操作返回至移动终端。In the embodiment of the present application, when the computer receives the reply operation of the preset user for the conversational notification event, the computer returns the received reply operation to the mobile terminal.
另一方面,移动终端在接收到来自于电脑的回复操作时,从该回复操作中解析出电脑针对会话型通知事件的回复信息,并将该回复信息转发至会话型通知事件的来信设备。比如,当会话型通知事件为即时信息通知事件时,移动终端可以 通过对应的即时信息应用将解析出的回复信息转发至来信设备,而当会话型通知事件为短信通知事件时,移动终端可以通过短信应用将解析出的回复信息转发至来信设备。On the other hand, when receiving the reply operation from the computer, the mobile terminal parses the reply information of the computer for the conversational notification event from the replying operation, and forwards the reply information to the incoming device of the conversational notification event. For example, when the conversational notification event is an instant message notification event, the mobile terminal can forward the parsed reply information to the incoming device through the corresponding instant messaging application, and when the conversational notification event is a short message notification event, the mobile terminal can The SMS application forwards the parsed reply information to the incoming message device.
可选地,在一实施例中,在通知事件为应用通知事件且响应操作为应用显示操作时,执行响应操作,包括:Optionally, in an embodiment, when the notification event is an application notification event and the response operation is an application display operation, performing a response operation includes:
将对应应用通知事件的目标应用的应用界面投屏至电脑。Project the application interface of the target application corresponding to the application notification event to the computer.
本申请实施例中,以通知事件为应用通知事件进行示例说明。In the embodiment of the present application, the notification event is used as an application notification event for illustration.
应当说明的是,本申请实施例中提供电脑对移动终端上相关应用的查看能力。It should be noted that the embodiments of the present application provide a computer's ability to view related applications on the mobile terminal.
其中,电脑在接收到移动终端所转发的应用通知事件时,按照预先配置的针对应用通知事件的展示策略对该应用通知事件进行展示。应当说明的是,本申请实施例中对于如何展示应用通知事件不做具体限制,可由本领域普通技术人员根据实际需要进行配置。Wherein, when receiving the application notification event forwarded by the mobile terminal, the computer displays the application notification event according to a preconfigured display policy for the application notification event. It should be noted that there is no specific limitation on how to display the application notification event in the embodiments of the present application, which can be configured by those of ordinary skill in the art according to actual needs.
比如,电脑以横幅(展示时长可由本领域普通技术人员根据实际需要进行配置,此处不做具体限定)的方式在当前显示界面的右下侧展示应用通知事件,并播放设定的通知提示音进行提示;又比如,电脑提供通知中心,并在通知中心的界面内展示应用通知事件;又比如,电脑以横幅的方式在当前显示界面的右下侧展示应用通知事件,同时在通知中心的界面内展示应用通知事件。For example, the computer displays the application notification event on the lower right side of the current display interface in the form of a banner (the display duration can be configured by those of ordinary skill in the art according to actual needs, which is not specifically limited here), and plays the set notification sound. For another example, the computer provides a notification center and displays application notification events in the interface of the notification center; another example, the computer displays application notification events in the form of a banner on the lower right side of the currently displayed interface, and simultaneously displays the application notification events on the interface of the notification center. Displays app notification events inside.
请参照图6,提供了电脑通过横幅的方式展示应用通知事件的示例图。Please refer to FIG. 6 , which provides an example diagram in which a computer displays an application notification event by means of a banner.
如图6所示,电脑接收到来自于移动终端转发的应用通知事件时,通过横幅的方式展示该应用通知事件。其中,示出的“应用名称”所在位置用于展示移动终端上接收到应用通知事件的目标应用的应用名称,“通知摘要”所在位置用于展示电脑对应用通知事件携带的通知内容的摘要(可通过相应的摘要算法提取得到),“通知事件”所在位置用于展示移动终端接收到应用通知事件的时刻,“通知内容”所在位置用于展示应用通知事件携带的通知内容。As shown in FIG. 6 , when the computer receives the application notification event forwarded from the mobile terminal, it displays the application notification event in the form of a banner. Wherein, the location of the shown "application name" is used to display the application name of the target application that receives the application notification event on the mobile terminal, and the location of the "notification summary" is used to display the summary of the notification content carried by the computer to the application notification event ( It can be extracted by the corresponding digest algorithm), the location of the "notification event" is used to display the moment when the mobile terminal receives the application notification event, and the location of the "notification content" is used to display the notification content carried by the application notification event.
本申请实施例中,电脑在接收到预先配置的用于触发展示目标应用的应用显示操作(可由本领域普通技术人员根据实际需要进行配置,此处不做具体限制,比如,以电脑为台式电脑为示例,可以配置应用显示操作为对展示应用通知事件的横幅的鼠标双击操作)时,将对应应用通知事件的目标应用的应用界面投屏至电脑。In the embodiment of the present application, when the computer receives a preconfigured application display operation for triggering the display target application (which can be configured by those of ordinary skill in the art according to actual needs, no specific limitation is made here, for example, the computer is a desktop computer As an example, when the application display operation is a double-click operation of the mouse on the banner displaying the application notification event), the application interface of the target application corresponding to the application notification event is projected to the computer.
比如,请参照图7,假设电脑接收到移动终端转发的应用通知事件为购物应用的促销通知时,且接收到预设用户针对该促销通知的应用显示操作时,移动终端将该购物应用的应用界面投屏到电脑,其中该应用界面展示的为对应该促销通知的促销页面。For example, referring to FIG. 7 , suppose that when the computer receives the application notification event forwarded by the mobile terminal is the promotion notification of the shopping application, and receives the preset user's application display operation for the promotion notification, the mobile terminal will display the application of the shopping application. The interface is projected to the computer, wherein the application interface displays the promotion page corresponding to the promotion notice.
可选地,将对应应用通知事件的目标应用的应用界面投屏至电脑之后,还包括:Optionally, after projecting the application interface of the target application corresponding to the application notification event to the computer, the method further includes:
(1)接收电脑返回的针对应用界面的界面操作;(1) Receive the interface operation for the application interface returned by the computer;
(2)基于目标应用执行界面操作,并根据执行结果更新应用界面。(2) Execute the interface operation based on the target application, and update the application interface according to the execution result.
应当说明的是,本申请实施例中提供电脑对移动终端上相关应用的直接操作能力。It should be noted that the embodiments of the present application provide the ability of the computer to directly operate related applications on the mobile terminal.
其中,为了使得电脑能够直接对移动终端上的目标应用进行操作,在本申请实施例中,在电脑预先定义针对移动终端投屏的应用界面的界面操作,比如,以电脑为台式电脑为例,将预设用户操作鼠标左键针对应用界面的点击操作定义为针对应用界面的触摸操作,将预设用户按住鼠标左键拖动的操作定义为针对应用界面的滑动触摸操作等。Among them, in order to enable the computer to directly operate the target application on the mobile terminal, in the embodiment of the present application, the interface operation of the application interface for the screen projection of the mobile terminal is pre-defined on the computer. For example, taking the computer as a desktop computer as an example, The preset user operation of clicking the left mouse button on the application interface is defined as a touch operation on the application interface, and the preset user pressing and dragging the left mouse button is defined as a sliding touch operation on the application interface, and so on.
相应的,由于电脑并未实际运行目标应用,无法对接收到的针对应用界面的界面操作直接进行响应。因此,电脑在接收到预设用户针对应用界面的界面操作时,将该界面操作返回至移动终端。Correspondingly, since the computer does not actually run the target application, it cannot directly respond to the received interface operation for the application interface. Therefore, when the computer receives a preset user interface operation for the application interface, the interface operation is returned to the mobile terminal.
另一方面,移动终端在接收到来自电脑所返回的针对投屏的应用界面的界面操作时,基于前述目标应用执行界面操作,并根据执行结果更新投屏的应用界面。On the other hand, when receiving the interface operation for the screen-casting application interface returned from the computer, the mobile terminal performs the interface operation based on the aforementioned target application, and updates the screen-casting application interface according to the execution result.
比如,请参照图8,移动终端将一购物应用的展示内容为促销页面的应用界面投屏到电脑,当移动终端接收到电脑返回的针对应用界面展示的促销页面中的某商品的触摸操作时,基于购物应用执行该触摸操作,相应打开该商品的详情页面,同时根据该执行结果更新投屏到电脑的应用界面,如图8所示,更新后的应用界面即展示目标应用打开的商品详情页面。For example, referring to FIG. 8 , the mobile terminal projects the application interface of a shopping application whose display content is a promotion page to the computer, and when the mobile terminal receives a touch operation returned by the computer for a certain commodity in the promotion page displayed on the application interface , execute the touch operation based on the shopping application, open the product details page accordingly, and update the application interface projected to the computer according to the execution result. As shown in Figure 8, the updated application interface displays the product details opened by the target application. page.
可选地,在一实施例中,界面操作包括界面触摸操作,接收电脑返回的针对应用界面的界面操作,包括:Optionally, in an embodiment, the interface operation includes an interface touch operation, and receiving an interface operation returned by the computer for the application interface includes:
(1)接收电脑返回的鼠标操作;(1) Receive the mouse operation returned by the computer;
(2)将鼠标操作转换为针对应用界面的界面触摸操作。(2) Convert the mouse operation into an interface touch operation for the application interface.
本申请实施例中,预设用户可以直接通过电脑连接的鼠标对移动终端上的应用进行操作。In the embodiment of the present application, it is preset that the user can directly operate the application on the mobile terminal through the mouse connected to the computer.
其中,电脑在接收到预设用户针对鼠标的鼠标操作时,将该鼠标操作返回至移动终端。鼠标操作包括但不限于鼠标按键操作(左键点击、右键点击、滚轮点击等)、拖动操作以及滚轮滚动操作等。The computer returns the mouse operation to the mobile terminal when receiving the preset user's mouse operation on the mouse. Mouse operations include but are not limited to mouse button operations (left-click, right-click, wheel click, etc.), drag operations, and wheel scrolling operations, and the like.
另一方面,移动终端接收电脑返回的鼠标操作,并根据预先配置的鼠标操作转换策略(可由本领域普通技术人员根据实际需要进行配置),将该鼠标操作转换为针对应用界面的界面触摸操作,并通过目标应用执行该界面触摸操作。On the other hand, the mobile terminal receives the mouse operation returned by the computer, and converts the mouse operation into an interface touch operation for the application interface according to a preconfigured mouse operation conversion strategy (which can be configured by those of ordinary skill in the art according to actual needs), And perform the interface touch operation through the target application.
可选地,在一实施例中,界面操作包括界面输入操作,接收电脑返回的针对应用界面的界面操作,包括:Optionally, in an embodiment, the interface operation includes an interface input operation, and receiving an interface operation returned by the computer for the application interface includes:
(1)接收电脑返回的键盘输入操作;(1) Receive the keyboard input operation returned by the computer;
(2)将键盘输入操作转换为针对应用界面的界面输入操作。(2) Convert the keyboard input operation into an interface input operation for the application interface.
本申请实施例中,预设用户可以直接通过电脑连接的键盘向移动终端上的应用输入信息。In the embodiment of the present application, it is preset that the user can directly input information to the application on the mobile terminal through the keyboard connected to the computer.
其中,电脑在接收到预设用户针对键盘的键盘输入操作时,将该键盘输入操作返回至移动终端。比如,预设用户可以通过键盘输入一段文字信息,从而向电脑输入包括该文字信息的键盘输入操作。The computer returns the keyboard input operation to the mobile terminal when receiving the keyboard input operation of the preset user for the keyboard. For example, it is preset that the user can input a piece of text information through the keyboard, so as to input a keyboard input operation including the text information to the computer.
另一方面,移动终端接收电脑返回的键盘输入操作,并根据预先配置的键盘操作转换策略(可由本领域普通技术人员根据实际需要进行配置),将该键盘输入操作转换为针对应用界面的界面输入操作,向目标应用的应用界面输入对应的信息。On the other hand, the mobile terminal receives the keyboard input operation returned by the computer, and according to a preconfigured keyboard operation conversion strategy (which can be configured by those of ordinary skill in the art according to actual needs), converts the keyboard input operation into an interface input for the application interface operation, and input corresponding information to the application interface of the target application.
可选地,在一实施例中,将前述通知事件转发至电脑,包括:Optionally, in an embodiment, forwarding the aforementioned notification event to the computer includes:
(1)确定当前针对通知事件的第一展示策略;(1) Determine the current first display strategy for the notification event;
(2)将第一展示策略以及前述通知事件转发至电脑,使得电脑按照与移动终端相同的第一展示策略同步展示通知事件。(2) Forwarding the first display strategy and the aforementioned notification event to the computer, so that the computer displays the notification event synchronously according to the same first display strategy as the mobile terminal.
本申请实施例中,电脑可按照与移动终端相同的展示方式同步展示通知事件,以提供通知的一致性。In the embodiment of the present application, the computer may display the notification event synchronously in the same display manner as the mobile terminal, so as to provide the consistency of the notification.
其中,移动终端确定当前针对接收到的通知事件的展示策略(此处展示策略可由移动终端根据用户配置进行针对性的设置,也可由移动终端缺省配置),记为第一展示策略。The mobile terminal determines the current display strategy for the received notification event (here, the display strategy can be set by the mobile terminal according to the user configuration, or the mobile terminal can be configured by default), which is recorded as the first display strategy.
在确定出当前针对通知事件的第一展示策略之后,移动终端进一步将该第一展示策略以及接收到的通知事件传输至电脑,以使得电脑按照与移动终端相同的第一展示策略同步展示该通知事件。另一方面,电脑将按照与移动终端相同的第一展示策略同步展示通知事件。After determining the current first display strategy for the notification event, the mobile terminal further transmits the first display strategy and the received notification event to the computer, so that the computer displays the notification synchronously according to the same first display strategy as the mobile terminal event. On the other hand, the computer will display the notification event synchronously according to the same first display strategy as the mobile terminal.
比如,假设移动终端针对通知事件的第一展示策略为通过横幅展示,则移动终端除了将通知事件转发至电脑之外,还将第一展示策略“横幅展示”发送至电脑,从而使得电脑与移动终端均通过“横幅展示”的方式同步展示通知事件,如图9所示。For example, assuming that the first display strategy of the mobile terminal for the notification event is to display through a banner, the mobile terminal not only forwards the notification event to the computer, but also sends the first display strategy "banner display" to the computer, so that the computer and the mobile terminal can communicate with each other. The terminals all display notification events synchronously in a "banner display" manner, as shown in Figure 9 .
可选地,在一实施例中,将通知事件转发至电脑之后,还包括:Optionally, in an embodiment, after forwarding the notification event to the computer, the method further includes:
(1)接收电脑在清除通知事件时发送的清除指示;(1) Receive the clear instruction sent by the computer when clearing the notification event;
(2)根据清除指示同步清除本地的通知事件。(2) The local notification event is synchronously cleared according to the clear instruction.
以上实施例中,同一通知事件存在于移动终端与电脑,为提高清除通知事件的便捷性,本申请实施例中移动终端与电脑同步清除通知事件。In the above embodiment, the same notification event exists in the mobile terminal and the computer. In order to improve the convenience of clearing the notification event, in the embodiment of the present application, the mobile terminal and the computer simultaneously clear the notification event.
其中,电脑在接收到预先配置的用于清除通知事件的清除操作时,电脑根据该清除操作清除对应的通知事件,并发送清除指示至移动终端,指示移动终端清除其本地相同的通知事件。Wherein, when the computer receives a preconfigured clearing operation for clearing notification events, the computer clears the corresponding notification events according to the clearing operation, and sends a clearing instruction to the mobile terminal, instructing the mobile terminal to clear the same local notification event.
比如,请参照图10,电脑的通知中心界面还提供用于触发清除全部通知事件的第一清除控件,以及用于触发清除指定单一通知事件的第二清除控件。For example, referring to FIG. 10 , the notification center interface of the computer further provides a first clearing control for triggering clearing of all notification events, and a second clearing control for triggering clearing of a specified single notification event.
请参照图11左侧示例,当预设用户触发第一清除控件时,电脑将接收到指示清除通知中心界面内所有通知事件的清除操作,此时,电脑将通知中心界面内的所有通知事件(即通知事件A和通知事件B)清除,并发送清除指示至移动终端。另一方面,移动终端将根据该清除指示清除本地的通知事件A和通知事件B。Please refer to the example on the left side of FIG. 11 , when the preset user triggers the first clear control, the computer will receive a clear operation instructing to clear all notification events in the notification center interface, and at this time, the computer will notify all notification events in the center interface ( That is, the notification event A and the notification event B) are cleared, and a clear indication is sent to the mobile terminal. On the other hand, the mobile terminal will clear the local notification event A and notification event B according to the clear instruction.
请参照图11右侧示例,当预设用户触发针对通知事件A的第二清除控件时,电脑将接收到指示清除通知中心界面内通知事件A的清除操作,此时,电脑将通知中心界面内的通知事件A清除,并发送清除指示至移动终端。另一方面,移动终端将根据该清除指示清除本地的通知事件A。Referring to the example on the right side of FIG. 11 , when the preset user triggers the second clear control for notification event A, the computer will receive a clear operation instructing to clear notification event A in the notification center interface. The notification event A is cleared, and a clear indication is sent to the mobile terminal. On the other hand, the mobile terminal will clear the local notification event A according to the clear instruction.
本申请实施例还提供一种事件处理方法,应用于电脑,包括:The embodiment of the present application also provides an event processing method, applied to a computer, including:
接收移动终端在接收到通知事件时转发的通知事件;receiving the notification event forwarded by the mobile terminal when receiving the notification event;
展示所述通知事件。Display the notification event.
在一实施例中,所述展示所述通知事件,包括:In one embodiment, the displaying the notification event includes:
评估所述通知事件的紧急程度;assess the urgency of the notified event;
根据所述紧急程度确定针对所述通知事件的第二展示策略;determining a second presentation strategy for the notification event according to the urgency;
按照所述第二展示策略展示所述通知事件。The notification event is displayed according to the second presentation strategy.
在一实施例中,所述第二展示策略包括通过通知中心展示和/或通过横幅展示。In one embodiment, the second presentation strategy includes presentation via a notification center and/or presentation via a banner.
在一实施例中,在确定的第二展示策略为通过横幅展示时,所述事件处理方法还包括:In one embodiment, when the determined second display strategy is to display through a banner, the event processing method further includes:
播放预设的通知提示音。Play the preset notification sound.
在一实施例中,在所述通知事件为来电通知事件时,所述播放预设的通知提示音包括:In one embodiment, when the notification event is an incoming call notification event, the playing a preset notification tone includes:
在通过横幅展示所述来电通知事件的期间,持续播放预设的来电通知提示音。During the period in which the incoming call notification event is displayed through the banner, the preset incoming call notification prompt sound is continuously played.
在一实施例中,在所述通知事件为会话型通知事件,且确定的第二展示策略 为通过通知中心展示时,所述事件处理方法还包括:In one embodiment, when the notification event is a conversational notification event, and the determined second display strategy is to be displayed through a notification center, the event processing method further includes:
在通知中心提供针对所述会话型通知事件的第一输入控件;providing a first input control for the conversational notification event in the notification center;
通过所述第一输入控件接收针对所述会话型通知事件的第一回复信息;receiving first reply information for the conversational notification event through the first input control;
生成携带所述第一回复信息的回复操作,并将携带所述第一回复信息的回复操作返回至所述移动终端,使得所述移动终端将所述第一回复信息转发至所述会话型通知事件的来信设备。generating a reply operation carrying the first reply information, and returning the reply operation carrying the first reply information to the mobile terminal, so that the mobile terminal forwards the first reply information to the conversational notification Incoming device for events.
在一实施例中,在所述通知事件为会话型通知事件,且确定的第二展示策略为通过横幅展示时,所述事件处理方法还包括:In one embodiment, when the notification event is a conversational notification event and the determined second display strategy is to display through a banner, the event processing method further includes:
在展示所述会话型通知的横幅中提供针对所述会话型通知事件的第二输入控件;providing a second input control for the conversational notification event in a banner displaying the conversational notification;
通过所述第二输入控件接收针对所述会话型通知事件的第二回复信息;receiving second reply information for the conversational notification event through the second input control;
生成携带所述第二回复信息的回复操作,并将携带所述第二回复信息的回复操作返回至所述移动终端,使得移动终端将所述第二回复信息转发至所述会话型通知事件的来信设备。Generate a reply operation carrying the second reply information, and return the reply operation carrying the second reply information to the mobile terminal, so that the mobile terminal forwards the second reply information to the conversational notification event letter equipment.
在一实施例中,所述事件处理方法还包括:In one embodiment, the event processing method further includes:
通过所述通知中心接收第一清除操作;receiving a first clearing operation through the notification center;
根据所述第一清除操作清除所述通知事件;clearing the notification event according to the first clearing operation;
或者,根据所述清除操作清除所述移动终端转发的包括所述通知事件在内的所有通知事件;Or, clear all notification events including the notification event forwarded by the mobile terminal according to the clearing operation;
或者,根据所述清除操作清除所述移动终端转发的包括所述通知事件在内的部分通知事件;Or, clear some notification events including the notification event forwarded by the mobile terminal according to the clearing operation;
或者,根据所述清除操作清除所述移动终端转发的除所述通知事件之外的其它通知事件。Alternatively, other notification events other than the notification event forwarded by the mobile terminal are cleared according to the clearing operation.
在一实施例中,所述事件处理方法还包括:In one embodiment, the event processing method further includes:
返回对应所述第一清除操作的清除指示至所述移动终端,使得所述移动终端根据所述清除指示同步对所述移动终端的通知中心内的通知事件进行清除。Return a clearing instruction corresponding to the first clearing operation to the mobile terminal, so that the mobile terminal synchronously clears the notification events in the notification center of the mobile terminal according to the clearing instruction.
在一实施例中,所述事件处理方法还包括:In one embodiment, the event processing method further includes:
在通过横幅展示所述通知事件时,接收针对所述通知事件的第二清除操作;When the notification event is displayed through a banner, receiving a second clearing operation for the notification event;
根据所述第二清除操作停止对所述通知事件的横幅展示。Stopping the banner presentation of the notification event according to the second clearing operation.
在一实施例中,展示所述通知事件的横幅中包括清除控件,所述接收针对所述通知事件的第二清除操作,包括:In one embodiment, the banner displaying the notification event includes a clearing control, and the receiving a second clearing operation for the notification event includes:
在接收到针对所述清除控件的触发操作时,确定接收到所述第二清除操作。When a triggering operation for the clearing control is received, it is determined that the second clearing operation is received.
在一实施例中,所述接收针对所述通知事件的第二清除操作,还包括:In one embodiment, the receiving a second clearing operation for the notification event further includes:
接收针对展示所述通知事件的横幅的鼠标拖动操作;receiving a mouse drag operation for a banner displaying the notification event;
在所述鼠标拖动操作的拖动方向朝向预设方向,且拖动距离达到预设距离时,确定接收到所述第二清除操作。When the dragging direction of the mouse dragging operation is toward a preset direction and the dragging distance reaches a preset distance, it is determined that the second clearing operation is received.
在一实施例中,所述事件处理方法还包括:In one embodiment, the event processing method further includes:
与所述移动终端同步剪切板数据。Synchronize clipboard data with the mobile terminal.
在一实施例中,所述事件处理方法还包括:In one embodiment, the event processing method further includes:
接收所述移动终端传输的待打开文件,并对所述待打开文件进行解析,得到所述待打开文件的文件内容;Receive the file to be opened transmitted by the mobile terminal, and parse the file to be opened to obtain the file content of the file to be opened;
将所述文件内容返回至所述移动终端进行展示。Returning the file content to the mobile terminal for presentation.
在一实施例中,所述展示所述通知事件,还包括:In one embodiment, the displaying the notification event further includes:
在当前开启免打扰模式时,在通知中心内展示所述通知事件。When the do-not-disturb mode is currently enabled, the notification event is displayed in the notification center.
在一实施例中,所述通知中心包括设置控件,所述展示所述通知事件之前,还包括:In one embodiment, the notification center includes a setting control, and before the displaying the notification event, further includes:
在接收到针对所述设置控件的设置操作时,提供设置界面,所述设置界面包括用于开启免打扰模式的免打扰选项;When receiving a setting operation for the setting control, a setting interface is provided, where the setting interface includes a DND option for enabling a DND mode;
在接收到针对所述免打扰选项的选择操作时,开启免打扰模式。When a selection operation for the do not disturb option is received, the do not disturb mode is turned on.
在一实施例中,所述接收移动终端转发的通知事件之前,还包括:In an embodiment, before receiving the notification event forwarded by the mobile terminal, the method further includes:
识别当前是否被预设用户注视;Identify whether it is currently being watched by a preset user;
在当前被预设用户注视时,发送用于指示所述移动终端转发通知事件的指示信息至所述移动终端。When currently being watched by a preset user, sending indication information for instructing the mobile terminal to forward the notification event to the mobile terminal.
请参照图12,图12为本申请实施例提供的事件处理方法的另一流程示意图。该事件处理方法应用于本申请提供的事件处理系统中的电脑,如图12所示,本申请实施例提供的事件处理方法的流程可以如下:Please refer to FIG. 12 , which is another schematic flowchart of an event processing method provided by an embodiment of the present application. The event processing method is applied to a computer in the event processing system provided by the present application. As shown in FIG. 12 , the process of the event processing method provided by the embodiment of the present application may be as follows:
在210中,接收移动终端在接收到通知事件时转发的通知事件。In 210, a notification event forwarded by the mobile terminal upon receiving the notification event is received.
其中,通知事件包括但不限于来电通知事件、会话型通知事件以及应用通知事件等。The notification events include, but are not limited to, incoming call notification events, conversational notification events, and application notification events.
来电通知事件比如移动终端基于移动通信网络话音通道接收到的传统语音通话,基于移动通信网络数据通道接收到的即时语音通话等。Incoming call notification events such as the traditional voice call received by the mobile terminal based on the voice channel of the mobile communication network, the instant voice call received based on the data channel of the mobile communication network, and the like.
会话型通知事件包括但不限于即时信息通知事件和短信通知事件,即时信息通知事件比如移动终端上部署的即时通信应用所接收到即时信息,如文字、图片、语音等;短信通知事件比如移动终端基于移动通信网络接收到的短信信息。Conversational notification events include but are not limited to instant message notification events and SMS notification events. Instant message notification events such as instant messages received by instant messaging applications deployed on mobile terminals, such as text, pictures, voice, etc.; SMS notification events such as mobile terminals Based on the short message information received by the mobile communication network.
应用通知事件比如移动终端上部署的任意应用所接收到的服务器推送通知等。Application notification events such as server push notifications received by any application deployed on the mobile terminal.
应当说明的是,在本申请实施例中,移动终端预先根据接收到的绑定操作,与电脑建立绑定关系。其中,本申请对于移动终端和电脑绑定方式不做具体限制,可由本领域普通技术人员根据实际需要进行配置。It should be noted that, in this embodiment of the present application, the mobile terminal establishes a binding relationship with the computer in advance according to the received binding operation. Wherein, the present application does not specifically limit the binding manner of the mobile terminal and the computer, which can be configured by those of ordinary skill in the art according to actual needs.
本申请实施例中,一方面,移动终端在接收到通知事件时,将该通知事件通过与电脑之间的通信连接转发至电脑。另一方面,电脑接收移动终端在接收到通知事件时所转发的通知事件。In the embodiment of the present application, on the one hand, when receiving the notification event, the mobile terminal forwards the notification event to the computer through the communication connection with the computer. On the other hand, the computer receives the notification event forwarded by the mobile terminal when the notification event is received.
在220中,展示通知事件。At 220, a notification event is displayed.
其中,电脑在接收到移动终端所转发的通知事件时,对该通知事件进行展示。Wherein, when receiving the notification event forwarded by the mobile terminal, the computer displays the notification event.
应当说明的是,在其它实施例中,移动终端除了将接收到的通知事件转发至电脑之外,移动终端自身可以对接收到的通知事件进行展示,也可以不进行展示,具体可由本领域普通技术人员根据实际需要进行配置。It should be noted that, in other embodiments, in addition to forwarding the received notification event to the computer, the mobile terminal itself may display the received notification event, or may not display it. Technicians can configure according to actual needs.
现假设以下场景,用户在台式电脑前长时间专注办公时,智能手机时常接收到通知事件并进行展示。其中,可以理解的是,由于此时用户的关注重心并未在智能手机,并不一定能够被智能手机通知到,即使智能手机通知到用户,也需要用户拿起智能手机来查看,造成注意力的转移。而采用本申请所提供的事件处理方法,同样的,当用户在台式电脑前长时间专注办公时,智能手机在接收到通知事件时,会将接收到的通知事件转发至处于用户关注状态的台式电脑,由台式电脑展示给用户,由此,不仅能够确保成功的通知到用户,更不会造成用户注意力的转移。Now suppose the following scenario, when the user is focused on work for a long time in front of the desktop computer, the smartphone often receives notification events and displays them. Among them, it is understandable that because the user's focus is not on the smartphone at this time, it may not be notified by the smartphone. Even if the smartphone informs the user, the user needs to pick up the smartphone to check, causing attention transfer. With the event processing method provided in the present application, similarly, when the user concentrates on work for a long time in front of the desktop computer, when the smartphone receives the notification event, it will forward the received notification event to the desktop in the user's attention state. The computer is displayed to the user by the desktop computer, thereby not only ensuring a successful notification to the user, but also not causing the user's attention to be diverted.
由上可知,本申请通过电脑接收移动终端在接收到通知事件时转发的通知事件,并对该通知事件进行展示。由此,即使当用户因某种原因而未关注于移动终端时,移动终端也能够在接收到通知事件时,将通知事件转发给电脑进行展示, 若此时用户关注于电脑,则将被成功通知,从而达到提高通知事件的通知成功率的目的。As can be seen from the above, the present application receives the notification event forwarded by the mobile terminal when receiving the notification event through the computer, and displays the notification event. Therefore, even when the user does not pay attention to the mobile terminal for some reason, the mobile terminal can forward the notification event to the computer for display when receiving the notification event. If the user pays attention to the computer at this time, it will be successfully displayed. Notification, so as to achieve the purpose of improving the notification success rate of notification events.
可选地,在一实施例中,接收移动终端转发的通知事件之前,还包括:Optionally, in an embodiment, before receiving the notification event forwarded by the mobile terminal, the method further includes:
(1)识别当前是否被预设用户注视;(1) Identify whether it is currently being watched by a preset user;
(2)在当前被预设用户注视时,发送用于指示移动终端转发通知事件的指示信息至移动终端。(2) When currently being watched by a preset user, send indication information for instructing the mobile terminal to forward the notification event to the mobile terminal.
应当说明的是,在本申请实施例中,电脑预先根据接收到的绑定操作,与移动终端建立绑定关系。其中,本申请对于移动终端和电脑绑定方式不做具体限制,可由本领域普通技术人员根据实际需要进行配置。It should be noted that, in this embodiment of the present application, the computer establishes a binding relationship with the mobile terminal in advance according to the received binding operation. Wherein, the present application does not specifically limit the binding manner of the mobile terminal and the computer, which can be configured by those of ordinary skill in the art according to actual needs.
本申请实施例中,电脑识别自身当前是否被预设用户注视,若识别到当前被预设用户注视,则发送用于指示移动终端转发通知事件的指示信息至移动终端,从而使得移动终端在接收到通知事件时,将接收到到的通知事件转发至电脑。In the embodiment of the present application, the computer identifies whether it is currently being watched by the preset user, and if it recognizes that it is currently being watched by the preset user, it sends instruction information for instructing the mobile terminal to forward the notification event to the mobile terminal, so that the mobile terminal is receiving When the notification event arrives, the received notification event will be forwarded to the computer.
其中,本申请实施例对于电脑如何识别自身当前是否被预设用户注视不做具体限制,可由本领域普通技术人员根据实际需要进行配置。The embodiments of the present application do not specifically limit how the computer recognizes whether it is currently being watched by the preset user, and can be configured by those of ordinary skill in the art according to actual needs.
比如,在电脑的实体展现形式为台式电脑时,电脑可通过其配置的摄像头进行拍摄,得到拍摄图像;然后,电脑再按照配置的人脸识别算法识别拍摄图像中是否存在预设用户的人脸;若识别到拍摄图像中存在预设用户的人脸,则采用眼球追踪算法计算出拍摄图像中预设用户的眼球注视位置,其中,若该眼球注视位置位于电脑的展示模块(比如显示屏、投影镜头)的展示区域之内,则确定自身当前被预设用户注视。For example, when the physical presentation form of the computer is a desktop computer, the computer can shoot through its configured camera to obtain a captured image; then, the computer can identify whether there is a preset user's face in the captured image according to the configured face recognition algorithm. ; If it is recognized that the face of the preset user exists in the captured image, the eye-tracking algorithm is used to calculate the eye-gaze position of the preset user in the captured image. within the display area of the projection lens), it is determined that it is currently being watched by the preset user.
可以理解的是,通过限定电脑在被预设用户注视时接收移动终端转发的通知事件,能够进一步提供通知成功率。It can be understood that, by restricting the computer to receive the notification event forwarded by the mobile terminal when being watched by the preset user, the notification success rate can be further provided.
可选地,在一实施例中,展示通知事件,包括:Optionally, in one embodiment, displaying a notification event includes:
(1)评估通知事件的紧急程度;(1) Assess the urgency of the notified event;
(2)根据紧急程度确定针对通知事件的第二展示策略;(2) Determine the second display strategy for the notification event according to the degree of urgency;
(3)按照第二展示策略展示通知事件。(3) Display the notification event according to the second display strategy.
本申请实施例中,预先定义针对通知事件紧急程度的评估策略,用于对通知事件的紧急程度进行量化评估。应当说明的是,本申请实施例中对于评估策略的具体配置不做具体限制,可由本领域普通技术人员根据实际需要进行配置。In the embodiment of the present application, an evaluation strategy for the urgency of the notification event is pre-defined, which is used to quantitatively evaluate the urgency of the notification event. It should be noted that the specific configuration of the evaluation strategy is not specifically limited in the embodiments of the present application, and can be configured by those of ordinary skill in the art according to actual needs.
示例性的,可以为直接建立紧急程度和通知事件类型的对应关系。比如,应用通知事件对应紧急程度“低”,会话型通知事件对应紧急程度“中”,来电通知事件对应紧急程度“高”。Exemplarily, the corresponding relationship between the urgency level and the notification event type may be established directly. For example, application notification events correspond to "low" urgency, conversational notification events correspond to "medium" urgency, and incoming call notification events correspond to "high" urgency.
此外,针对不同的紧急程度,本申请实施例中预先配置与之对应的展示策略,比如,对于紧急程度“低”的通知事件,对应的展示策略为仅在通知中心的界面内展示;对于紧急程度“中”的通知事件,对应的展示策略为在通知中心的界面内展示,以及限时(该时长可由本领域普通技术人员根据实际需要取经验值)横幅展示;对于紧急程度“高”的通知事件,对应的展示策略为在通知中心的界面内展示,以及持续横幅展示。In addition, for different urgency levels, corresponding display strategies are pre-configured in the embodiments of the present application. For example, for notification events with “low” urgency, the corresponding display strategies are only displayed in the interface of the notification center; For notification events with a "medium" level, the corresponding display strategy is to display them in the interface of the notification center, and display them on a banner for a limited time (the duration can be obtained by those of ordinary skill in the art according to actual needs); for notifications with a "high" level of urgency Events, the corresponding display strategy is to display in the interface of the notification center, and to display the banner continuously.
相应的,电脑在展示移动终端所转发的通知事件时,根据预先配置的评估策略,对该通知事件的紧急程度进行评估;然后,再根据预设的紧急程度和展示策略的对应关系,确定出对应通知事件的紧急程度的展示策略,记为第二展示策略。Correspondingly, when displaying the notification event forwarded by the mobile terminal, the computer evaluates the urgency of the notification event according to the preconfigured evaluation strategy; and then determines the corresponding relationship between the preset urgency and the display strategy. The display strategy corresponding to the urgency of the notification event is denoted as the second display strategy.
比如,当接收到移动终端转发的来电通知事件时,电脑将生成对应来电通知事件的来电通知横幅界面,并在当前所有界面的顶层展示该来电通知横幅界面。如图3所示,来电通知横幅界面提供有接听控件和挂断控件。其中,当预设用户 触发接听控件时,将向电脑输入针对来电通知事件的接听操作,而当预设用户触发挂断控件时,将向电脑输入针对来电通知事件的挂断操作。此外,移动终端还获取到来电设备的预设基础信息(可由本领域普通技术人员根据实际需要进行配置,比如,来电设备的通信号码,该通信号码对应的联系人信息等),并将获取到的预设基础信息随同来电通知事件转发至电脑,由电脑进行展示。请继续参照图3,其中示出的“123 1234 4321”为来电设备的通信号码(即俗称的手机号),“陌生号码”为前述通信号码对应的联系人信息,由于此例中来电设备的通信号码未被添加至移动终端的通讯录,移动终端将其联系人信息设置为陌生号码。For example, when receiving an incoming call notification event forwarded by the mobile terminal, the computer will generate an incoming call notification banner interface corresponding to the incoming call notification event, and display the incoming call notification banner interface on top of all current interfaces. As shown in Figure 3, the incoming call notification banner interface provides an answer control and a hang up control. Among them, when the preset user triggers the answer control, the answer operation for the incoming call notification event will be input to the computer, and when the preset user triggers the hang up control, the hang up operation for the incoming call notification event will be input to the computer. In addition, the mobile terminal also obtains the preset basic information of the calling device (which can be configured by those of ordinary skill in the art according to actual needs, such as the communication number of the calling device, the contact information corresponding to the communication number, etc.), and obtains the The preset basic information of the caller will be forwarded to the computer along with the call notification event, and the computer will display it. Please continue to refer to Fig. 3, the "123 1234 4321" shown is the communication number of the incoming call device (that is, the mobile phone number commonly known as the phone number), and the "unfamiliar number" is the contact information corresponding to the aforementioned communication number. The communication number is not added to the address book of the mobile terminal, and the mobile terminal sets its contact information as an unfamiliar number.
可选地,在一实施例中,在确定的第二展示策略为通过横幅展示时,本申请提供的事件处理方法还包括:Optionally, in an embodiment, when the determined second display strategy is to display through a banner, the event processing method provided by this application further includes:
播放预设的通知提示音。Play the preset notification sound.
本申请实施例中,电脑在通过横幅展示移动终端转发的通知事件时,播放预设的通知提示音。In the embodiment of the present application, the computer plays a preset notification sound when displaying the notification event forwarded by the mobile terminal through the banner.
其中,通知提示音的播放起始时刻与通知事件的展示起始时刻可以相同,也可以不同;通知提示音的播放持续时间与通知事件的展示持续时间可以相同,也可以不同。The playback start time of the notification sound and the display start time of the notification event may be the same or different; the playback duration of the notification sound and the display duration of the notification event may be the same or different.
比如,电脑针对通知事件的展示起始时刻与通知提示音的播放起始时刻相同,但通知提示音的播放持续时间短于通知事件的展示持续时间。For example, the display start time of the notification event on the computer is the same as the playback start time of the notification sound, but the playback duration of the notification sound is shorter than the display duration of the notification event.
可选地,在一实施例中,在通知事件为来电通知事件时,播放预设的通知提示音包括:Optionally, in an embodiment, when the notification event is an incoming call notification event, playing a preset notification tone includes:
在通过横幅展示来电通知事件的期间,持续播放预设的来电通知提示音。During the period when the call notification event is displayed through the banner, the preset call notification sound is played continuously.
本申请实施例以来电通知事件为示例进行说明。The embodiments of the present application describe the incoming call notification event as an example.
其中,电脑在接收到移动终端所转发的来电通知事件时,通过横幅展示该来电通知事件,并在通过横幅展示来电通知事件的期间,持续播放预设的来电通知提示音。Wherein, when receiving the incoming call notification event forwarded by the mobile terminal, the computer displays the incoming call notification event through a banner, and continuously plays the preset incoming call notification prompt sound during the period when the incoming call notification event is displayed through the banner.
比如,请参照图3,电脑将生成对应来电通知事件的来电通知横幅界面,并在当前所有界面的顶层展示该来电通知横幅界面。如图3所示,来电通知横幅界面提供有接听控件和挂断控件。其中,当预设用户触发接听控件时,将向电脑输入针对来电通知事件的接听操作,而当预设用户触发挂断控件时,将向电脑输入针对来电通知事件的挂断操作。此外,移动终端还获取到来电设备的预设基础信息(可由本领域普通技术人员根据实际需要进行配置,比如,来电设备的通信号码,该通信号码对应的联系人信息等),并将获取到的预设基础信息随同来电通知事件转发至电脑,由电脑进行展示。请继续参照图3,其中示出的“123 12344321”为来电设备的通信号码(即俗称的手机号),“陌生号码”为前述通信号码对应的联系人信息,由于此例中来电设备的通信号码未被添加至移动终端的通讯录,移动终端将其联系人信息设置为陌生号码。For example, referring to FIG. 3 , the computer will generate an incoming call notification banner interface corresponding to the incoming call notification event, and display the incoming call notification banner interface on the top layer of all current interfaces. As shown in Figure 3, the incoming call notification banner interface provides an answer control and a hang up control. Wherein, when the preset user triggers the answer control, the answer operation for the incoming call notification event will be input to the computer, and when the preset user triggers the hang up control, the hang up operation for the incoming call notification event will be input to the computer. In addition, the mobile terminal also obtains the preset basic information of the calling device (which can be configured by those of ordinary skill in the art according to actual needs, such as the communication number of the calling device, the contact information corresponding to the communication number, etc.), and obtains the The preset basic information of the caller will be forwarded to the computer along with the call notification event, and the computer will display it. Please continue to refer to Fig. 3, the "123 12344321" shown is the communication number of the incoming device (that is, the commonly known mobile phone number), and the "unfamiliar number" is the contact information corresponding to the aforementioned communication number. Since the communication of the incoming device in this example The number is not added to the address book of the mobile terminal, and the mobile terminal sets its contact information as an unfamiliar number.
如图3所示,当来电通知横幅界面中的接听控件、挂断控件或者收起控件被触发时,电脑均将停止通过横幅展示来电通知事件。As shown in Figure 3, when the answer control, hang up control or put away control in the call notification banner interface is triggered, the computer will stop displaying the call notification event through the banner.
可选地,在一实施例中,在通知事件为会话型通知事件,且确定的第二展示策略为通过通知中心展示时,本申请提供的事件处理方法还包括:Optionally, in an embodiment, when the notification event is a conversational notification event and the determined second display strategy is to display through the notification center, the event processing method provided by the present application further includes:
(1)在通知中心提供针对会话型通知事件的第一输入控件;(1) Provide the first input control for conversational notification events in the notification center;
(2)通过第一输入控件接收针对会话型通知事件的第一回复信息;(2) receiving the first reply information for the conversational notification event through the first input control;
(3)生成携带第一回复信息的回复操作,并将携带第一回复信息的回复操作返回至移动终端,使得移动终端将第一回复信息转发至会话型通知事件的来信 设备。(3) generating a reply operation carrying the first reply information, and returning the reply operation carrying the first reply information to the mobile terminal, so that the mobile terminal forwards the first reply information to the incoming device of the conversational notification event.
比如,请参照图4,电脑提供的通知中心的界面被划分两部分,分别为用于展示移动终端相关设备信息的设备信息展示区域,以及用于展示来自于移动终端的通知事件的通知事件展示区域。其中,示出的“设备名称”所在位置用于展示移动终端的设备名称,示出的“电量89%”所在位置用于展示移动终端的实时剩余电量。For example, please refer to FIG. 4 , the interface of the notification center provided by the computer is divided into two parts, which are the device information display area used to display the device information related to the mobile terminal, and the notification event display area used to display the notification events from the mobile terminal. area. The shown location of the "device name" is used to display the device name of the mobile terminal, and the shown location of the "89% battery" is used to display the real-time remaining battery power of the mobile terminal.
请参照图4左侧的示例图,此时电脑未接收到任何来自于移动终端的通知事件,在通知事件展示区域展示预先配置的用于提示当前不存在通知事件的提示信息“无通知”。Please refer to the example diagram on the left side of FIG. 4 , at this time, the computer does not receive any notification events from the mobile terminal, and displays the preconfigured prompt information “no notification” for prompting that there is currently no notification event in the notification event display area.
请参照图4中间的示例图,此时电脑接收到来自于移动终端转发的会话型通知事件,在通知事件展示区域展示该在通知事件展示区域展示。其中,示出的“应用名称”所在位置用于展示移动终端上接收到即时信息通知事件的即时信息应用的应用名称,或者展示移动终端上接收到短信通知事件的短信用于的应用名称,“信息摘要”所在位置用于展示电脑对会话型通知事件携带的信息内容的摘要(可通过相应的摘要算法提取得到),“通知时刻”所在位置用于展示移动终端接收到会话型通知事件的时刻,“头像”所在位置用于展示会话型通知事件的来信设备对应的用户头像,“联系人名字”所在位置用于展示会话型通知事件来信设备对应的用户名,“信息内容”所在位置用于展示会话型通知事件携带的信息内容。Please refer to the example diagram in the middle of FIG. 4 , at this time, the computer receives the conversational notification event forwarded from the mobile terminal, and displays the notification event display area in the notification event display area. Wherein, the location of the shown "application name" is used to display the application name of the instant messaging application that received the instant messaging notification event on the mobile terminal, or the application name used to display the short message on the mobile terminal that received the short message notification event, " The location of "Information Summary" is used to display the computer's summary of the information content carried by the conversational notification event (which can be extracted by the corresponding digest algorithm), and the location of "Notification Time" is used to display the time when the mobile terminal receives the conversational notification event. , the location of "Avatar" is used to display the user avatar corresponding to the incoming device of the conversational notification event, the location of "Contact Name" is used to display the username corresponding to the incoming device of the conversational notification event, and the location of "Information Content" is used to Displays the information content carried by conversational notification events.
请参照图4右侧的示例图,电脑在接收到预先配置的用于触发展示输入控件的触发操作(可由本领域普通技术人员根据实际需要进行配置,此处不做具体限制,比如,以电脑为台式电脑为示例,可以配置触发展示输入控件的触发操作为对通知中心内展示的会话型通知事件的鼠标双击操作)时,在通知事件展示区域内进一步提供输入框形式的输入控件,记为第一控件,并利用该第一输入控件接收预设用户输入的针对会话型通知事件的回复信息,记为第一回复信息。此外,该输入控件还包括回复按钮,当该回复按钮被触发时,将向电脑输入针对会话型通知事件的回复操作,该回复操作携带第一输入控件所接收到的第一回复信息。Please refer to the example diagram on the right side of FIG. 4 , when the computer receives a preconfigured trigger operation for triggering the display input control (which can be configured by those of ordinary skill in the art according to actual needs, no specific restrictions are made here, for example, a computer Taking a desktop computer as an example, you can configure the trigger operation to display the input control as a mouse double-click operation for the conversational notification event displayed in the notification center), and further provide an input control in the form of an input box in the notification event display area, marked as The first control, and the first input control is used to receive the reply information for the conversational notification event input by the preset user, which is recorded as the first reply information. In addition, the input control further includes a reply button. When the reply button is triggered, a reply operation for the conversational notification event will be input to the computer, and the reply operation carries the first reply information received by the first input control.
之后,电脑将该携带第一回复信息的回复操作返回至移动终端,使得移动终端将第一回复信息转发至会话型通知事件的来信设备。After that, the computer returns the reply operation carrying the first reply information to the mobile terminal, so that the mobile terminal forwards the first reply information to the incoming device of the conversational notification event.
可选地,在一实施例中,在通知事件为会话型通知事件,且确定的第二展示策略为通过横幅展示时,事件处理方法还包括:Optionally, in an embodiment, when the notification event is a conversational notification event and the determined second display strategy is to display through a banner, the event processing method further includes:
(1)在展示会话型通知的横幅中提供针对会话型通知事件的第二输入控件;(1) Provide a second input control for the conversational notification event in the banner displaying the conversational notification;
(2)通过第二输入控件接收针对会话型通知事件的第二回复信息;(2) receiving the second reply information for the conversational notification event through the second input control;
(3)生成携带第二回复信息的回复操作,并将携带第二回复信息的回复操作返回至移动终端,使得移动终端将第二回复信息转发至会话型通知事件的来信设备。(3) Generating a reply operation carrying the second reply information, and returning the reply operation carrying the second reply information to the mobile terminal, so that the mobile terminal forwards the second reply information to the incoming device of the conversational notification event.
比如,请参照图5,电脑接收到来自于移动终端转发的会话型通知事件时,通过横幅的方式进行展示。其中,示出的“应用名称”所在位置用于展示移动终端上接收到即时信息通知事件的即时信息应用的应用名称,或者展示移动终端上接收到短信通知事件的短信用于的应用名称,“信息摘要”所在位置用于展示电脑对会话型通知事件携带的信息内容的摘要(可通过相应的摘要算法提取得到),“通知事件”所在位置用于展示移动终端接收到会话型通知事件的时刻,“头像”所在位置用于展示会话型通知事件的来信设备对应的用户头像,“联系人名字”所在位置用于展示会话型通知事件来信设备对应的用户名,“信息内容”所在位 置用于展示会话型通知事件携带的信息内容。For example, referring to FIG. 5 , when the computer receives the conversational notification event forwarded from the mobile terminal, it displays it in the form of a banner. Wherein, the location of the shown "application name" is used to display the application name of the instant messaging application that received the instant messaging notification event on the mobile terminal, or the application name used to display the short message on the mobile terminal that received the short message notification event, " The location of "Information Summary" is used to display the computer's summary of the information content carried by the conversational notification event (which can be extracted by the corresponding digest algorithm), and the location of "Notification Event" is used to display the moment when the mobile terminal receives the conversational notification event. , the location of "Avatar" is used to display the user avatar corresponding to the incoming device of the conversational notification event, the location of "Contact Name" is used to display the username corresponding to the incoming device of the conversational notification event, and the location of "Information Content" is used to Displays the information content carried by conversational notification events.
请继续参照图5,电脑在接收到预先配置的用于触发展示输入控件的触发操作(可由本领域普通技术人员根据实际需要进行配置,此处不做具体限制,比如,以电脑为台式电脑为示例,可以配置用于触发展示输入控件的触发操作为对展示会话型通知事件的横幅的鼠标双击操作等)时,在横幅内进一步提供输入框形式的输入控件,记为第二输入控件,并利用该第二输入控件接收预设用户输入的针对会话型通知事件的回复信息,记为第二回复信息。此外,该输入控件还包括回复按钮,当该回复按钮被触发时,将向电脑输入针对会话型通知事件的回复操作,该回复操作携带第二输入控件所接收到的第二回复信息。Please continue to refer to FIG. 5, when the computer receives a pre-configured trigger operation for triggering the display input control (which can be configured by those of ordinary skill in the art according to actual needs, no specific restrictions are made here, for example, taking the computer as a desktop computer as For example, when the trigger operation for triggering the display of the input control can be configured as a mouse double-click operation on the banner that displays the conversational notification event, etc.), an input control in the form of an input box is further provided in the banner, denoted as the second input control, and The second input control is used to receive the reply information for the conversational notification event input by the preset user, which is recorded as the second reply information. In addition, the input control also includes a reply button. When the reply button is triggered, a reply operation for the conversational notification event will be input to the computer, and the reply operation carries the second reply information received by the second input control.
之后,电脑将该携带第二回复信息的回复操作返回至移动终端,使得移动终端将第二回复信息转发至会话型通知事件的来信设备。Afterwards, the computer returns the reply operation carrying the second reply information to the mobile terminal, so that the mobile terminal forwards the second reply information to the incoming device of the conversational notification event.
可选地,在一实施例中,本申请提供的事件处理方法还包括:Optionally, in an embodiment, the event processing method provided by this application further includes:
(1)通过通知中心接收第一清除操作;(1) Receive the first clearing operation through the notification center;
(2)根据第一清除操作清除前述通知事件;(2) clearing the aforementioned notification event according to the first clearing operation;
(3)或者,根据清除操作清除移动终端转发的包括前述通知事件在内的所有通知事件;(3) Or, clear all notification events including the aforementioned notification events forwarded by the mobile terminal according to the clearing operation;
(4)或者,根据清除操作清除移动终端转发的包括前述通知事件在内的部分通知事件;(4) Or, clear some notification events including the aforementioned notification events forwarded by the mobile terminal according to the clearing operation;
(5)或者,根据清除操作清除移动终端转发的除通知事件之外的其它通知事件。(5) Alternatively, clear other notification events other than the notification event forwarded by the mobile terminal according to the clearing operation.
本申请实施例中,预设用户可以对电脑的通知中心内的通知事件进行清除。In the embodiment of the present application, it is preset that the user can clear the notification events in the notification center of the computer.
其中,预先定义有针对通知中心的第一清除操作,该第一清除操作被配置为触发对通知中心内的通知事件进行清除。比如,可以根据第一清除操作清除前述通知事件,也可以根据清除操作清除移动终端转发的包括前述通知事件在内的所有通知事件,还可以根据清除操作清除移动终端转发的包括前述通知事件在内的部分通知事件,更可以根据清除操作清除移动终端转发的除通知事件之外的其它通知事件。Wherein, a first clearing operation for the notification center is predefined, and the first clearing operation is configured to trigger clearing of notification events in the notification center. For example, the aforementioned notification events may be cleared according to the first clear operation, all notification events including the aforementioned notification events forwarded by the mobile terminal may be cleared according to the clear operation, and all notification events forwarded by the mobile terminal including the aforementioned notification events may be cleared according to the clear operation. part of the notification events, and other notification events other than the notification events forwarded by the mobile terminal can be cleared according to the clearing operation.
示例性地,请参照图10,电脑的通知中心界面还提供用于触发清除全部通知事件的第一清除控件,以及用于触发清除指定单一通知事件的第二清除控件。Exemplarily, referring to FIG. 10 , the notification center interface of the computer further provides a first clearing control for triggering clearing of all notification events, and a second clearing control for triggering clearing of a specified single notification event.
请参照图11左侧示例,当预设用户触发第一清除控件时,电脑将接收到指示清除通知中心界面内所有通知事件的第一清除操作,此时,电脑将通知中心界面内的所有通知事件(即通知事件A和通知事件B)清除。Please refer to the example on the left side of Figure 11. When the preset user triggers the first clear control, the computer will receive the first clear operation instructing to clear all notification events in the notification center interface. At this time, the computer will notify all notifications in the center interface. Events (ie notification event A and notification event B) are cleared.
请参照图11右侧示例,当预设用户触发针对通知事件A的第二清除控件时,电脑将接收到指示清除通知中心界面内通知事件A的第一清除操作,此时,电脑将通知中心界面内的通知事件A清除。Referring to the example on the right side of FIG. 11 , when the preset user triggers the second clearing control for notification event A, the computer will receive the first clearing operation instructing to clear notification event A in the notification center interface. At this time, the computer will notify the center The notification event A in the interface is cleared.
可选地,在一实施例中,本申请提供的事件处理方法还包括:Optionally, in an embodiment, the event processing method provided by this application further includes:
返回对应第一清除操作的清除指示至移动终端,使得移动终端根据清除指示同步对移动终端的通知中心内的通知事件进行清除。Return a clearing instruction corresponding to the first clearing operation to the mobile terminal, so that the mobile terminal synchronously clears the notification events in the notification center of the mobile terminal according to the clearing instruction.
比如,请继续参照图11左侧示例,当预设用户触发第一清除控件时,电脑将接收到指示清除通知中心界面内所有通知事件的第一清除操作,此时,电脑将通知中心界面内的所有通知事件(即通知事件A和通知事件B)清除,此外。电脑发送对应该第一清除操作的清除指示至移动终端。另一方面,移动终端将根据该清除指示清除本地的通知事件A和通知事件B。For example, please continue to refer to the example on the left side of Figure 11. When the preset user triggers the first clear control, the computer will receive the first clear operation instructing to clear all notification events in the notification center interface. All notification events (ie notification event A and notification event B) are cleared, in addition. The computer sends a clearing instruction corresponding to the first clearing operation to the mobile terminal. On the other hand, the mobile terminal will clear the local notification event A and notification event B according to the clear instruction.
请继续参照图11右侧示例,当预设用户触发针对通知事件A的第二清除控 件时,电脑将接收到指示清除通知中心界面内通知事件A的第一清除操作,此时,电脑将通知中心界面内的通知事件A清除,此外,电脑发送对应该第一清除操作的清除指示至移动终端。另一方面,移动终端将根据该清除指示清除本地的通知事件A。Please continue to refer to the example on the right side of Figure 11. When the preset user triggers the second clear control for notification event A, the computer will receive the first clear operation instructing to clear notification event A in the notification center interface. At this time, the computer will notify The notification event A in the central interface is cleared, and in addition, the computer sends a clearing instruction corresponding to the first clearing operation to the mobile terminal. On the other hand, the mobile terminal will clear the local notification event A according to the clear instruction.
可选地,在一实施例中,本申请提供的事件处理方法还包括:Optionally, in an embodiment, the event processing method provided by this application further includes:
(1)在通过横幅展示通知事件时,接收针对通知事件的第二清除操作;(1) When the notification event is displayed through the banner, a second clearing operation for the notification event is received;
(2)根据第二清除操作停止对通知事件的横幅展示。(2) Stop the banner display of the notification event according to the second clearing operation.
本申请实施例中,预设用户可以停止电脑对通知时间的横幅展示。In the embodiment of the present application, it is preset that the user can stop the display of the banner of the notification time by the computer.
其中,预先定义有针对横幅的第二清除操作,该第二清除操作被配置为触发停止对通知事件的横幅展示。Wherein, a second clearing operation for the banner is predefined, and the second clearing operation is configured to trigger to stop the display of the banner for the notification event.
作为一种可选地实施方式,展示通知事件的横幅中包括清除控件,接收针对通知事件的第二清除操作,包括:As an optional implementation manner, the banner displaying the notification event includes a clearing control, and receiving a second clearing operation for the notification event, including:
在接收到针对清除控件的触发操作时,确定接收到第二清除操作。When a triggering operation for the clearing control is received, it is determined that a second clearing operation is received.
作为另一种可选地实施方式,接收针对通知事件的第二清除操作,还包括:As another optional implementation manner, receiving a second clearing operation for the notification event further includes:
接收针对展示通知事件的横幅的鼠标拖动操作;Receive mouse drag operations for banners displaying notification events;
在鼠标拖动操作的拖动方向朝向预设方向,且拖动距离达到预设距离时,确定接收到第二清除操作。When the dragging direction of the mouse dragging operation faces the preset direction and the dragging distance reaches the preset distance, it is determined that the second clearing operation is received.
应当说明的是,本申请实施例中对于预设方向以及预设距离的配置不做具体限制,可由本领域普通技术人员根据实际需要进行配置。It should be noted that, the configurations of the preset direction and the preset distance are not specifically limited in the embodiments of the present application, and can be configured by those of ordinary skill in the art according to actual needs.
比如,本申请实施例中配置预设方向为右侧方向,配置预设距离为展示通知事件的横幅的长度的二分之一。For example, in the embodiment of the present application, the preset direction is configured to be the right direction, and the preset distance is configured to be half the length of the banner displaying the notification event.
可选地,在一实施例中,在通知事件为短信通知事件时,还包括:Optionally, in an embodiment, when the notification event is a short message notification event, it further includes:
(1)若当前已授权验证码识别,则识别短信通知事件携带的验证码;(1) If the verification code identification is currently authorized, identify the verification code carried by the SMS notification event;
(2)将验证码输入对应短信通知事件的目标应用程序。(2) Enter the verification code into the target application corresponding to the SMS notification event.
可以理解的是,无论是在生活还是工作中,方方面面经常需要用到验证码,比如注册账号,登录账号时。现假设以下场景,用户在台式电脑登录某应用的账号时,点击“发送验证码”,需要用户在手机上接收并查看包含验证码的短信通知事件,再在电脑上进行输入,整体操作比较繁琐。基于此,本申请实施例中为简化验证码的输入操作,由电脑主动进行识别并填充。It is understandable that, whether in life or work, verification codes are often used in various aspects, such as registering an account and logging in to an account. Now assume the following scenario. When a user logs in to an account of an application on a desktop computer and clicks "Send Verification Code", the user needs to receive and view the SMS notification event containing the verification code on the mobile phone, and then enter it on the computer. The overall operation is rather cumbersome. . Based on this, in order to simplify the input operation of the verification code in the embodiment of the present application, the computer actively identifies and fills in the verification code.
其中,在接收到移动终端转发短信通知事件时,电脑首先识别当前是否获得预设用户授予的对验证码的识别权限,若当前已授权验证码识别,则识别接收到的短信通知事件中是否存在验证码;电脑在识别到短信通知事件中存在验证码时,从短信通知事件中提取出识别到的验证码;然后,电脑识别出对应该短信通知事件的应用程序,也即是请求发送验证码的应用程序,记为目标应用程序;然后,将提取出的验证码输入识别出的目标应用程序。Among them, when receiving the notification event of the mobile terminal forwarding the short message, the computer firstly identifies whether the identification authority for the verification code granted by the preset user is currently obtained. Verification code; when the computer recognizes that there is a verification code in the SMS notification event, it extracts the recognized verification code from the SMS notification event; then, the computer identifies the application corresponding to the SMS notification event, that is, requests to send the verification code The application is recorded as the target application; then, input the extracted verification code into the identified target application.
可选地,在一实施例中,本申请提供的事件处理方法还包括:Optionally, in an embodiment, the event processing method provided by this application further includes:
与移动终端同步剪切板数据。Synchronize clipboard data with mobile terminals.
本申请实施例中,电脑还在触发剪切板同步时,与移动终端同步剪切板数据。通俗的说,即电脑将本地存在且移动终端不存在的剪切板数据提供给移动终端,移动终端将其本地存在且电脑不存在的剪切板数据提供给电脑,从而,使得二者的剪切板数据一致。In the embodiment of the present application, the computer also synchronizes the clipboard data with the mobile terminal when the clipboard synchronization is triggered. In layman's terms, that is, the computer provides the clipboard data that exists locally and does not exist in the mobile terminal to the mobile terminal, and the mobile terminal provides the clipboard data that exists locally and does not exist in the computer to the computer, so that the clipboard data of the two can be cut. The cutting board data is consistent.
应当说明的是,本申请实施例中对于如何触发进行剪切板同步不做具体限制,可由本领域普通技术人员根据实际需要进行配置。It should be noted that, in the embodiments of the present application, there is no specific limitation on how to trigger the synchronization of the clipboard, which can be configured by those of ordinary skill in the art according to actual needs.
比如,移动终端在本地剪切板数据更新时,发送同步指示信息至电脑,触发 进行剪切板数据的同步。For example, when the local clipboard data is updated, the mobile terminal sends synchronization instruction information to the computer to trigger the synchronization of the clipboard data.
又比如,电脑在本地剪切板数据更新时,触发进行剪切板数据的同步。For another example, the computer triggers the synchronization of the clipboard data when the local clipboard data is updated.
本申请实施例通过提供剪切板数据同步的能力,将电子设备间的剪切板数据进行共享,使得用户能够在不同的设备间便捷的利用相关数据。The embodiments of the present application share the clipboard data between electronic devices by providing the capability of synchronizing clipboard data, so that users can conveniently use related data between different devices.
可选地,在一实施例中,本申请提供的事件处理方法,还包括:Optionally, in an embodiment, the event processing method provided by this application further includes:
(1)接收移动终端传输的待打开文件,并对待打开文件进行解析,得到待打开文件的文件内容;(1) Receive the file to be opened transmitted by the mobile terminal, and parse the file to be opened to obtain the file content of the file to be opened;
(2)将文件内容返回至移动终端进行展示。(2) Return the file content to the mobile terminal for display.
本申请实施例中,还由电脑共享处理能力。In the embodiment of the present application, the processing capability is also shared by the computers.
其中,一方面,移动终端在接收到针对本地的文件打开请求时,若识别到自身不具备打开前述文件打开请求指示的待打开文件的处理能力,且识别到电脑具备打开前述待打开文件的处理能力时,将前述待打开文件传输至电脑,请求电脑打开该待打开文件。Wherein, on the one hand, when the mobile terminal receives a local file opening request, if it recognizes that it does not have the processing capability to open the file to be opened indicated by the aforementioned file opening request, and recognizes that the computer has the processing capability to open the aforementioned file to be opened When the capability is enabled, the aforementioned file to be opened is transmitted to the computer, and the computer is requested to open the to-be-opened file.
另一方面,电脑在接收到来自于移动终端的待打开文件时,通过对应该待打开文件的应用对该待打开文件进行解析,得到待打开文件的文件内容。然后,将解析出的文件内容返回至移动终端,由移动终端进行展示。On the other hand, when the computer receives the to-be-opened file from the mobile terminal, it parses the to-be-opened file through an application corresponding to the to-be-opened file to obtain the file content of the to-be-opened file. Then, the parsed file content is returned to the mobile terminal for display by the mobile terminal.
此外,电脑还提供对应待打开文件的应用的配置文件,该配置文件被配置为执行时生成前述应用的原生界面。In addition, the computer also provides a configuration file corresponding to the application whose file is to be opened, and the configuration file is configured to generate the native interface of the aforementioned application when executed.
其中,配置文件包括描述前述应用的界面的语句,该语句包括界面展示所需的数据以及界面的运行逻辑。Wherein, the configuration file includes a statement describing the interface of the aforementioned application, and the statement includes the data required for the interface display and the operation logic of the interface.
前述界面展示所需的数据可以包括前述应用的界面需要展示的显示元素、显示元素的布局信息以及该显示元素展示所需的资源地址等,其中,布局信息可以包括各个显示元素的位置、尺寸、颜色等信息,资源地址可以为服务器上存储的资源的链接地址。The data required for the aforementioned interface display may include the display elements to be displayed in the interface of the aforementioned application, the layout information of the display elements, and the resource addresses required for the display element display, etc., wherein the layout information may include the position, size, Color and other information, the resource address can be the link address of the resource stored on the server.
前述运行逻辑可以包括点击显示元素时需要跳转的界面地址,或者点击该显示元素需要执行的操作,或者其他用户操作对应的需要执行的操作等。The aforementioned operation logic may include an interface address that needs to be jumped when a display element is clicked, or an operation that needs to be performed when the display element is clicked, or an operation that needs to be performed corresponding to other user operations.
相应的,移动终端在展示前述文件内容时,根据电脑提供的配置文件生成前述应用的配置文件,并执行该配置文件以生成前述应用的原生界面,从而在前述应用的原生界面中展示前述文件内容,在移动终端提供前述应用打开待打开文件的展示效果。Correspondingly, when displaying the content of the aforementioned file, the mobile terminal generates the configuration file of the aforementioned application according to the configuration file provided by the computer, and executes the configuration file to generate the native interface of the aforementioned application, so as to display the aforementioned file content in the aforementioned native interface of the application. , to provide a display effect of the aforementioned application opening the file to be opened on the mobile terminal.
可选地,在一实施例中,展示前述通知事件包括:Optionally, in an embodiment, displaying the aforementioned notification event includes:
在当前开启免打扰模式时,在通知中心内展示前述通知事件。When the DND mode is currently enabled, the aforementioned notification events are displayed in the notification center.
其中,电脑在接收到预先配置的用于开启免打扰模式的免打扰操作(可由本领域普通技术人员根据实际需要进行配置,此处不做具体限制)时,开启免打扰模式。在免打扰模式下,电脑按照预先配置的免打扰展示策略展示通知事件,以避免打扰用户。应当说明的是,以避免打扰用户为约束,可由本领域普通技术人员根据实际需要对免打扰展示策略进行配置。比如,可以配置为仅在通知中心的界面聂展示通知事件。The computer starts the DND mode when it receives a preconfigured DND operation for enabling the DND mode (which can be configured by a person of ordinary skill in the art according to actual needs, and no specific limitation is made here). In DND mode, the computer displays notification events according to the pre-configured DND display policy to avoid disturbing users. It should be noted that, in order to avoid disturbing the user as a constraint, a person of ordinary skill in the art can configure the do-not-disturb display policy according to actual needs. For example, it can be configured to display notification events only on the interface of the notification center.
可选地,在一实施例中,通知中心包括设置控件,在展示通知事件之前,还包括:Optionally, in an embodiment, the notification center includes a setting control, and before displaying the notification event, further includes:
在接收到针对设置控件的设置操作时,提供设置界面,设置界面包括用于开启免打扰模式的免打扰选项;When receiving a setting operation for the setting control, a setting interface is provided, and the setting interface includes a DND option for enabling the DND mode;
在接收到针对免打扰选项的选择操作时,开启免打扰模式。Turn on Do Not Disturb mode when you receive a selection action for the Do Not Disturb option.
比如,请参照图13,电脑提供的通知中心界面还包括设置控件,当该设置 控件被预设用户触发时,电脑将在通知中心界面之上叠加显示设置界面,其中,该设置界面包括用于触发电脑开启免打扰模式的选择项“免打扰”,以及对应的选择框。根据实际需要,预设用户可以操作电脑将前述选择框选中,指示电脑开启免打扰模式。For example, referring to FIG. 13 , the notification center interface provided by the computer also includes a setting control. When the setting control is triggered by a preset user, the computer will superimpose and display the setting interface on the notification center interface. The option "Do Not Disturb" that triggers the computer to turn on the Do Not Disturb mode, and the corresponding selection box. According to actual needs, it is preset that the user can operate the computer to select the aforementioned selection box, instructing the computer to enable the Do Not Disturb mode.
请参照图14,图14为本申请实施例提供的事件处理装置的一结构示意图。该事件处理装置应用于本申请提供的移动终端。如图14所示,事件处理装置可以包括:Please refer to FIG. 14 , which is a schematic structural diagram of an event processing apparatus provided by an embodiment of the present application. The event processing apparatus is applied to the mobile terminal provided in this application. As shown in Figure 14, the event processing device may include:
事件接收模块310,用于接收通知事件;an event receiving module 310, configured to receive notification events;
事件转发模块320,用于将通知事件转发至电脑,使得电脑展示通知事件。The event forwarding module 320 is used for forwarding the notification event to the computer, so that the computer displays the notification event.
应当说明的是,本申请实施例提供的事件处理装置与上文实施例中的适于移动终端的事件处理方法属于同一构思,其具体实现过程详见以上相关实施例,此处不再赘述。It should be noted that the event processing apparatus provided by the embodiments of the present application and the event processing method suitable for mobile terminals in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the above related embodiments, which will not be repeated here.
请参照图15,图15为本申请实施例提供的事件处理装置的另一结构示意图。该事件处理装置应用于本申请提供的电脑。如图15所示,事件处理装置可以包括:Please refer to FIG. 15 , which is another schematic structural diagram of an event processing apparatus provided by an embodiment of the present application. The event processing device is applied to the computer provided in this application. As shown in Figure 15, the event processing device may include:
事件接收模块410,用于接收移动终端在接收到通知事件时转发的通知事件;an event receiving module 410, configured to receive the notification event forwarded by the mobile terminal when receiving the notification event;
事件展示模块420,用于展示通知事件。The event display module 420 is used to display notification events.
应当说明的是,本申请实施例提供的事件处理装置与上文实施例中的适于电脑的事件处理方法属于同一构思,其具体实现过程详见以上相关实施例,此处不再赘述。It should be noted that the event processing apparatus provided by the embodiments of the present application and the event processing method suitable for computers in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the above related embodiments, which will not be repeated here.
本申请实施例提供一种存储介质,其上存储有计算机程序,当其存储的计算机程序在本申请实施例提供的移动终端的处理器上执行时,使得移动终端的处理器执行以上任一适于移动终端的事件处理方法中的步骤。其中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM)或者随机存取器(Random Access Memory,RAM)等。The embodiments of the present application provide a storage medium on which a computer program is stored. When the stored computer program is executed on the processor of the mobile terminal provided by the embodiments of the present application, the processor of the mobile terminal is made to execute any one of the above suitable programs. Steps in an event processing method for a mobile terminal. The storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access device (Random Access Memory, RAM), and the like.
本申请实施例还提供一种存储介质,其上存储有计算机程序,当其存储的计算机程序在本申请实施例提供的电脑的处理器上执行时,使得电脑的处理器执行以上任一适于电脑的事件处理方法中的步骤。其中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM)或者随机存取器(Random Access Memory,RAM)等。Embodiments of the present application further provide a storage medium on which a computer program is stored, and when the stored computer program is executed on the processor of the computer provided by the embodiment of the present application, the processor of the computer is made to execute any one of the above suitable Steps in a computer's event-handling method. The storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access device (Random Access Memory, RAM), and the like.
本申请实施例还提供一种移动终端,请参照图16,移动终端包括处理器510和存储器520。An embodiment of the present application further provides a mobile terminal. Referring to FIG. 16 , the mobile terminal includes a processor 510 and a memory 520 .
本申请实施例中的处理器510可以是通用处理器,比如ARM架构的处理器。The processor 510 in this embodiment of the present application may be a general-purpose processor, such as a processor of an ARM architecture.
存储器520中存储有计算机程序,其可以为高速随机存取存储器,还可以为非易失性存储器,比如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件等。相应地,存储器520还可以包括存储器控制器,以提供处理器401对存储器520的访问。处理器510通过执行存储器520中的计算机程序,用于执行以上任一适于移动终端的事件处理方法,比如:A computer program is stored in the memory 520, which may be a high-speed random access memory, or a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Accordingly, memory 520 may also include a memory controller to provide processor 401 access to memory 520 . The processor 510 is configured to execute any of the above event processing methods suitable for the mobile terminal by executing the computer program in the memory 520, such as:
接收通知事件;receive notification events;
将前述通知事件转发至电脑,使得电脑展示前述通知事件。The aforementioned notification event is forwarded to the computer, so that the computer displays the aforementioned notification event.
本申请实施例还提供一种电脑,请参照图17,电脑包括处理器610和存储器620。An embodiment of the present application further provides a computer. Please refer to FIG. 17 . The computer includes a processor 610 and a memory 620 .
本申请实施例中的处理器610可以是通用处理器,比如X86架构的处理器。The processor 610 in this embodiment of the present application may be a general-purpose processor, such as a processor of an X86 architecture.
存储器620中存储有计算机程序,其可以为高速随机存取存储器,还可以为非易失性存储器,比如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件等。相应地,存储器620还可以包括存储器控制器,以提供处理器401对存储器620的访问。处理器610通过执行存储器620中的计算机程序,用于执行以上任一适于电脑的事件处理方法,比如:A computer program is stored in the memory 620, which may be a high-speed random access memory, or a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Accordingly, memory 620 may also include a memory controller to provide processor 401 access to memory 620 . The processor 610 is used to execute any of the above event processing methods suitable for computers by executing the computer program in the memory 620, such as:
接收移动终端在接收到通知事件时转发的通知事件;receiving the notification event forwarded by the mobile terminal when receiving the notification event;
展示前述通知事件。Display the aforementioned notification event.
以上对本申请所提供的一种事件处理方法、装置、存储介质、移动终端即电脑进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The event processing method, device, storage medium, and mobile terminal (ie, computer) provided by the present application have been described in detail above. The principles and implementations of the present application are described with specific examples. The descriptions of the above embodiments are only It is used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation and application scope. In summary, this specification The content should not be construed as a limitation on this application.

Claims (35)

  1. 一种事件处理方法,应用于移动终端,其中,包括:An event processing method, applied to a mobile terminal, comprising:
    接收通知事件;receive notification events;
    将所述通知事件转发至电脑,使得所述电脑展示所述通知事件。The notification event is forwarded to a computer so that the computer displays the notification event.
  2. 根据权利要求1所述的事件处理方法,其中,所述将所述通知事件转发至电脑,包括:The event processing method according to claim 1, wherein the forwarding the notification event to the computer comprises:
    确定当前针对所述通知事件的第一展示策略;determining the current first display strategy for the notification event;
    将所述第一展示策略以及所述通知事件转发至所述电脑,使得所述电脑按照与所述移动终端相同的第一展示策略同步展示所述通知事件。The first display strategy and the notification event are forwarded to the computer, so that the computer displays the notification event synchronously according to the same first display strategy as the mobile terminal.
  3. 根据权利要求2所述的事件处理方法,其中,所述第一展示策略包括通过通知中心展示和/或通过横幅展示。The event processing method according to claim 2, wherein the first display strategy includes display through a notification center and/or display through a banner.
  4. 根据权利要求1-3任一项所述的事件处理方法,其中,所述将所述通知事件转发至所述电脑之后,还包括:The event processing method according to any one of claims 1-3, wherein after the forwarding the notification event to the computer, the method further comprises:
    接收所述电脑返回的针对所述通知事件的响应操作,并执行所述响应操作。Receive a response operation for the notification event returned by the computer, and execute the response operation.
  5. 根据权利要求4所述的事件处理方法,其中,在所述通知事件为来电通知事件且所述响应操作为接听操作时,所述执行所述响应操作,包括:The event processing method according to claim 4, wherein when the notification event is an incoming call notification event and the response operation is an answering operation, the performing the response operation comprises:
    与所述来电通知事件对应的来电设备建立第一通话连接,以及与所述电脑建立第二通话连接;establishing a first call connection with the incoming call device corresponding to the incoming call notification event, and establishing a second call connection with the computer;
    在接收到来自所述来电设备的下行话音时,将所述下行话音转发至所述电脑;和/或When receiving the downlink voice from the incoming device, forward the downlink voice to the computer; and/or
    在接收到来自所述电脑的上行话音时,将所述上行话音转发至所述来电设备。When receiving the uplink voice from the computer, forward the uplink voice to the incoming device.
  6. 根据权利要求4所述的事件处理方法,其中,在所述通知事件为会话型通知事件,且所述响应操作为回复操作时,所述执行所述响应操作,包括:The event processing method according to claim 4, wherein, when the notification event is a conversational notification event and the response operation is a reply operation, the performing the response operation comprises:
    从所述回复操作中解析出所述电脑针对所述会话型通知事件的回复信息;Parse the reply information of the computer for the conversational notification event from the reply operation;
    将所述回复信息转发至所述会话型通知事件的来信设备。The reply information is forwarded to the incoming device of the conversational notification event.
  7. 根据权利要求4所述的事件处理方法,其中,在所述通知事件为应用通知事件且所述响应操作为应用显示操作时,所述执行所述响应操作,包括:The event processing method according to claim 4, wherein, when the notification event is an application notification event and the response operation is an application display operation, the performing the response operation comprises:
    将对应所述应用通知事件的目标应用的应用界面投屏至所述电脑。Projecting the application interface of the target application corresponding to the application notification event to the computer.
  8. 根据权利要求7所述的事件处理方法,其中,所述将对应所述应用通知事件的目标应用的应用界面投屏至所述电脑之后,还包括:The event processing method according to claim 7, wherein after projecting the application interface of the target application corresponding to the application notification event to the computer, the method further comprises:
    接收所述电脑返回的针对所述应用界面的界面操作;receiving an interface operation returned by the computer for the application interface;
    基于所述目标应用执行所述界面操作,并根据执行结果更新所述应用界面。The interface operation is executed based on the target application, and the application interface is updated according to the execution result.
  9. 根据权利要求8所述的事件处理方法,其中,所述界面操作包括界面触摸操作,所述接收所述电脑返回的针对所述应用界面的界面操作,包括:The event processing method according to claim 8, wherein the interface operation includes an interface touch operation, and the receiving an interface operation returned by the computer for the application interface includes:
    接收所述电脑返回的鼠标操作;receiving the mouse operation returned by the computer;
    将所述鼠标操作转换为针对所述应用界面的界面触摸操作。Converting the mouse operation into an interface touch operation for the application interface.
  10. 根据权利要求8所述的事件处理方法,其中,所述界面操作包括界面输入操作,所述接收所述电脑返回的针对所述应用界面的界面操作,包括:The event processing method according to claim 8, wherein the interface operation includes an interface input operation, and the receiving an interface operation returned by the computer for the application interface includes:
    接收所述电脑返回的键盘输入操作;receiving a keyboard input operation returned by the computer;
    将所述键盘输入操作转换为针对所述应用界面的界面输入操作。Converting the keyboard input operation into an interface input operation for the application interface.
  11. 根据权利要求1所述的事件处理方法,其中,所述将所述通知事件转发至所述电脑之后,还包括:The event processing method according to claim 1, wherein after the forwarding the notification event to the computer, the method further comprises:
    接收所述电脑在清除所述通知事件时发送的清除指示;receiving a clear indication sent by the computer when clearing the notification event;
    根据所述清除指示同步清除本地的所述通知事件。The local notification event is synchronously cleared according to the clear instruction.
  12. 根据权利要求1所述的事件处理方法,其中,所述将所述通知事件转发至电脑之前,还包括:The event processing method according to claim 1, wherein before forwarding the notification event to the computer, the method further comprises:
    识别所述电脑当前是否被预设用户注视;Identifying whether the computer is currently being watched by a preset user;
    在所述电脑当前被所述预设用户注视时,将所述通知事件转发至所述电脑。The notification event is forwarded to the computer when the computer is currently being watched by the preset user.
  13. 一种事件处理方法,应用于电脑,其中,包括:An event processing method, applied to a computer, comprising:
    接收移动终端在接收到通知事件时转发的通知事件;receiving the notification event forwarded by the mobile terminal when receiving the notification event;
    展示所述通知事件。Display the notification event.
  14. 根据权利要求13所述的事件处理方法,其中,所述展示所述通知事件,包括:The event processing method according to claim 13, wherein the displaying the notification event comprises:
    评估所述通知事件的紧急程度;assess the urgency of the notified event;
    根据所述紧急程度确定针对所述通知事件的第二展示策略;determining a second presentation strategy for the notification event according to the urgency;
    按照所述第二展示策略展示所述通知事件。The notification event is displayed according to the second presentation strategy.
  15. 根据权利要求14所述的事件处理方法,其中,所述第二展示策略包括通过通知中心展示和/或通过横幅展示。The event processing method according to claim 14, wherein the second display strategy includes display through a notification center and/or display through a banner.
  16. 根据权利要求15所述的事件处理方法,其中,在确定的第二展示策略为通过横幅展示时,所述事件处理方法还包括:The event processing method according to claim 15, wherein, when the determined second display strategy is to display through a banner, the event processing method further comprises:
    播放预设的通知提示音。Play the preset notification sound.
  17. 根据权利要求16所述的事件处理方法,其中,在所述通知事件为来电通知事件时,所述播放预设的通知提示音包括:The event processing method according to claim 16, wherein, when the notification event is an incoming call notification event, the playing a preset notification sound comprises:
    在通过横幅展示所述来电通知事件的期间,持续播放预设的来电通知提示音。During the period in which the incoming call notification event is displayed through the banner, the preset incoming call notification prompt sound is continuously played.
  18. 根据权利要求15所述的事件处理方法,其中,在所述通知事件为会话型通知事件,且确定的第二展示策略为通过通知中心展示时,所述事件处理方法还包括:The event processing method according to claim 15, wherein, when the notification event is a conversational notification event and the determined second display strategy is to display through a notification center, the event processing method further comprises:
    在通知中心提供针对所述会话型通知事件的第一输入控件;providing a first input control for the conversational notification event in the notification center;
    通过所述第一输入控件接收针对所述会话型通知事件的第一回复信息;receiving first reply information for the conversational notification event through the first input control;
    生成携带所述第一回复信息的回复操作,并将携带所述第一回复信息的回复操作返回至所述移动终端,使得所述移动终端将所述第一回复信息转发至所述会话型通知事件的来信设备。generating a reply operation carrying the first reply information, and returning the reply operation carrying the first reply information to the mobile terminal, so that the mobile terminal forwards the first reply information to the conversational notification Incoming device for events.
  19. 根据权利要求15所述的事件处理方法,其中,在所述通知事件为会话型通知事件,且确定的第二展示策略为通过横幅展示时,所述事件处理方法还包括:The event processing method according to claim 15, wherein, when the notification event is a conversational notification event and the determined second display strategy is to display through a banner, the event processing method further comprises:
    在展示所述会话型通知的横幅中提供针对所述会话型通知事件的第二输入控件;providing a second input control for the conversational notification event in a banner displaying the conversational notification;
    通过所述第二输入控件接收针对所述会话型通知事件的第二回复信息;receiving second reply information for the conversational notification event through the second input control;
    生成携带所述第二回复信息的回复操作,并将携带所述第二回复信息的回复操作返回至所述移动终端,使得移动终端将所述第二回复信息转发至所述会话型通知事件的来信设备。Generate a reply operation carrying the second reply information, and return the reply operation carrying the second reply information to the mobile terminal, so that the mobile terminal forwards the second reply information to the conversational notification event letter equipment.
  20. 根据权利要求15所述的事件处理方法,其中,所述事件处理方法还包括:The event processing method according to claim 15, wherein the event processing method further comprises:
    通过所述通知中心接收第一清除操作;receiving a first clearing operation through the notification center;
    根据所述第一清除操作清除所述通知事件;clearing the notification event according to the first clearing operation;
    或者,根据所述清除操作清除所述移动终端转发的包括所述通知事件在内的所有通知事件;Or, clear all notification events including the notification event forwarded by the mobile terminal according to the clearing operation;
    或者,根据所述清除操作清除所述移动终端转发的包括所述通知事件在内的 部分通知事件;Or, clear some notification events including the notification event forwarded by the mobile terminal according to the clearing operation;
    或者,根据所述清除操作清除所述移动终端转发的除所述通知事件之外的其它通知事件。Alternatively, other notification events other than the notification event forwarded by the mobile terminal are cleared according to the clearing operation.
  21. 根据权利要求20所述的事件处理方法,其中,所述事件处理方法还包括:The event processing method according to claim 20, wherein the event processing method further comprises:
    返回对应所述第一清除操作的清除指示至所述移动终端,使得所述移动终端根据所述清除指示同步对所述移动终端的通知中心内的通知事件进行清除。Return a clearing instruction corresponding to the first clearing operation to the mobile terminal, so that the mobile terminal synchronously clears the notification events in the notification center of the mobile terminal according to the clearing instruction.
  22. 根据权利要求15所述的事件处理方法,其中,所述事件处理方法还包括:The event processing method according to claim 15, wherein the event processing method further comprises:
    在通过横幅展示所述通知事件时,接收针对所述通知事件的第二清除操作;When the notification event is displayed through a banner, receiving a second clearing operation for the notification event;
    根据所述第二清除操作停止对所述通知事件的横幅展示。Stopping the banner presentation of the notification event according to the second clearing operation.
  23. 根据权利要求22所述的事件处理方法,其中,展示所述通知事件的横幅中包括清除控件,所述接收针对所述通知事件的第二清除操作,包括:The event processing method according to claim 22, wherein the banner displaying the notification event includes a clearing control, and the receiving a second clearing operation for the notification event comprises:
    在接收到针对所述清除控件的触发操作时,确定接收到所述第二清除操作。When a triggering operation for the clearing control is received, it is determined that the second clearing operation is received.
  24. 根据权利要求22所述的事件处理方法,其中,所述接收针对所述通知事件的第二清除操作,还包括:The event processing method according to claim 22, wherein the receiving a second clearing operation for the notification event further comprises:
    接收针对展示所述通知事件的横幅的鼠标拖动操作;receiving a mouse drag operation for a banner displaying the notification event;
    在所述鼠标拖动操作的拖动方向朝向预设方向,且拖动距离达到预设距离时,确定接收到所述第二清除操作。When the dragging direction of the mouse dragging operation is toward a preset direction and the dragging distance reaches a preset distance, it is determined that the second clearing operation is received.
  25. 根据权利要求13所述的事件处理方法,其中,还包括:The event processing method according to claim 13, further comprising:
    与所述移动终端同步剪切板数据。Synchronize clipboard data with the mobile terminal.
  26. 根据权利要求13所述的事件处理方法,其中,还包括:The event processing method according to claim 13, further comprising:
    接收所述移动终端传输的待打开文件,并对所述待打开文件进行解析,得到所述待打开文件的文件内容;Receive the file to be opened transmitted by the mobile terminal, and parse the file to be opened to obtain the file content of the file to be opened;
    将所述文件内容返回至所述移动终端进行展示。Returning the file content to the mobile terminal for presentation.
  27. 根据权利要求13所述的事件处理方法,其中,所述展示所述通知事件,还包括:The event processing method according to claim 13, wherein the displaying the notification event further comprises:
    在当前开启免打扰模式时,在通知中心内展示所述通知事件。When the do-not-disturb mode is currently enabled, the notification event is displayed in the notification center.
  28. 根据权利要求27所述的事件处理方法,其中,所述通知中心包括设置控件,所述展示所述通知事件之前,还包括:The event processing method according to claim 27, wherein the notification center includes a setting control, and before displaying the notification event, further comprising:
    在接收到针对所述设置控件的设置操作时,提供设置界面,所述设置界面包括用于开启免打扰模式的免打扰选项;when receiving a setting operation for the setting control, providing a setting interface, the setting interface including a do not disturb option for enabling a do not disturb mode;
    在接收到针对所述免打扰选项的选择操作时,开启免打扰模式。When a selection operation for the do not disturb option is received, the do not disturb mode is turned on.
  29. 根据权利要求13所述的事件处理方法,其中,所述接收移动终端转发的通知事件之前,还包括:The event processing method according to claim 13, wherein before the receiving the notification event forwarded by the mobile terminal, the method further comprises:
    识别当前是否被预设用户注视;Identify whether it is currently being watched by a preset user;
    在当前被预设用户注视时,发送用于指示所述移动终端转发通知事件的指示信息至所述移动终端。When currently being watched by a preset user, sending indication information for instructing the mobile terminal to forward the notification event to the mobile terminal.
  30. 一种事件处理装置,应用于移动终端,其中,包括:An event processing device, applied to a mobile terminal, comprising:
    事件接收模块,用于接收通知事件;The event receiving module is used to receive notification events;
    事件转发模块,用于将所述通知事件转发至电脑,使得所述电脑展示所述通知事件。The event forwarding module is used for forwarding the notification event to the computer, so that the computer displays the notification event.
  31. 一种事件处理装置,应用于电脑,其中,包括:An event processing device, applied to a computer, comprising:
    事件接收模块,用于接收移动终端在接收到通知事件时转发的通知事件;an event receiving module, configured to receive the notification event forwarded by the mobile terminal when receiving the notification event;
    事件展示模块,用于展示所述通知事件。The event display module is used to display the notification event.
  32. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序被移动终端的处理器加载时执行如权利要求1-12任一项所述的事件处理方法.A storage medium on which a computer program is stored, wherein, when the computer program is loaded by a processor of a mobile terminal, the event processing method according to any one of claims 1-12 is executed.
  33. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序被电脑的处理器加载时执行如权利要求13-29任一项所述的事件处理方法。A storage medium on which a computer program is stored, wherein the event processing method according to any one of claims 13-29 is executed when the computer program is loaded by a processor of a computer.
  34. 一种移动终端,所述移动终端包括处理器和存储器,所述存储器储存有计算机程序,其中,所述处理器通过加载所述计算机程序执行如权利要求1-12任一项所述的事件处理方法。A mobile terminal, the mobile terminal includes a processor and a memory, the memory stores a computer program, wherein the processor executes the event processing according to any one of claims 1-12 by loading the computer program method.
  35. 一种电脑,所述电脑包括处理器和存储器,所述存储器存储有计算机程序,其中,所述处理器通过加载所述计算机程序执行如权利要求13-29任一项所述的事件处理方法。A computer comprising a processor and a memory, wherein the memory stores a computer program, wherein the processor executes the event processing method according to any one of claims 13-29 by loading the computer program.
PCT/CN2021/104566 2020-09-18 2021-07-05 Event processing method and apparatus, storage medium, mobile terminal, and computer WO2022057393A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010988250.6 2020-09-18
CN202010988250.6A CN112134788B (en) 2020-09-18 2020-09-18 Event processing method, device, storage medium, mobile terminal and computer

Publications (1)

Publication Number Publication Date
WO2022057393A1 true WO2022057393A1 (en) 2022-03-24

Family

ID=73841410

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/104566 WO2022057393A1 (en) 2020-09-18 2021-07-05 Event processing method and apparatus, storage medium, mobile terminal, and computer

Country Status (2)

Country Link
CN (1) CN112134788B (en)
WO (1) WO2022057393A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114173000B (en) * 2020-08-20 2023-02-07 华为技术有限公司 Method, electronic equipment and system for replying message and storage medium
CN114089935B (en) * 2021-10-25 2024-01-23 青岛海尔科技有限公司 Screen projection processing method, device, equipment and storage medium
CN116719649A (en) * 2022-09-01 2023-09-08 荣耀终端有限公司 Session notification prompting method, electronic equipment and readable storage medium
CN116049410B (en) * 2023-03-08 2023-07-25 山东美航天天能源技术有限公司 Smart city big data processing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013201583A (en) * 2012-03-23 2013-10-03 Ntt Docomo Inc Communication system and information processing terminal
CN104811548A (en) * 2015-04-02 2015-07-29 深圳市金立通信设备有限公司 Terminal
CN106488417A (en) * 2016-10-31 2017-03-08 惠州Tcl移动通信有限公司 A kind of mobile terminal realizes the method and system of early warning event point-to-point notice
CN110365836A (en) * 2019-06-06 2019-10-22 华为技术有限公司 A kind of reminding method of notice, terminal and system

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7421334B2 (en) * 2003-04-07 2008-09-02 Zoom Information Systems Centralized facility and intelligent on-board vehicle platform for collecting, analyzing and distributing information relating to transportation infrastructure and conditions
WO2006082861A1 (en) * 2005-02-02 2006-08-10 Matsushita Electric Industrial Co., Ltd. Communication terminal and communication service decision method
WO2011021886A2 (en) * 2009-08-21 2011-02-24 Samsung Electronics Co., Ltd. Device capable of notifying operation state change thereof through network and communication method of the device
JP6021800B2 (en) * 2011-08-10 2016-11-09 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Information display device
CN103037319B (en) * 2011-09-30 2016-04-27 联想(北京)有限公司 Communication transfer method, mobile terminal and server
CN103634199B (en) * 2013-08-26 2017-11-21 华为技术有限公司 The display methods and device of notification message
CN104949707B (en) * 2014-03-24 2018-07-24 深圳市埃微信息技术有限公司 Motion monitoring device and method based on information push
CN104038743A (en) * 2014-06-23 2014-09-10 浙江工业大学 Video monitoring method fusing position tracking and video monitoring system fusing position tracking
US20170353410A1 (en) * 2015-05-06 2017-12-07 Matt Gonzales Messaging Sharing System and Method of Use
CN105049329A (en) * 2015-07-08 2015-11-11 杭州木梢科技有限公司 Portable message pushing method in home environment and equipment control system
CN106227488B (en) * 2016-07-29 2019-01-22 维沃移动通信有限公司 A kind of display methods and mobile terminal of reminder message
WO2019061443A1 (en) * 2017-09-30 2019-04-04 华为技术有限公司 Notification display method and terminal
CN109995938A (en) * 2019-03-15 2019-07-09 努比亚技术有限公司 A kind of notice display methods, mobile phone, wearable device and calculate readable storage medium storing program for executing
CN110177177A (en) * 2019-05-29 2019-08-27 努比亚技术有限公司 Message back method, mobile terminal and computer readable storage medium
CN110377250B (en) * 2019-06-05 2021-07-16 华为技术有限公司 Touch method in screen projection scene and electronic equipment
CN111404802A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Notification processing system and method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013201583A (en) * 2012-03-23 2013-10-03 Ntt Docomo Inc Communication system and information processing terminal
CN104811548A (en) * 2015-04-02 2015-07-29 深圳市金立通信设备有限公司 Terminal
CN106488417A (en) * 2016-10-31 2017-03-08 惠州Tcl移动通信有限公司 A kind of mobile terminal realizes the method and system of early warning event point-to-point notice
CN110365836A (en) * 2019-06-06 2019-10-22 华为技术有限公司 A kind of reminding method of notice, terminal and system

Also Published As

Publication number Publication date
CN112134788A (en) 2020-12-25
CN112134788B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
WO2022057393A1 (en) Event processing method and apparatus, storage medium, mobile terminal, and computer
US11385778B2 (en) Inline message alert
JP6096998B2 (en) Instant messaging method, apparatus, program, and recording medium
US10852912B2 (en) Image creation app in messaging app
WO2021189868A1 (en) Method and apparatus for providing reminder in group session, and device and medium
JP2023511195A (en) Message presentation method and electronic device
US11681432B2 (en) Method and terminal for displaying input method virtual keyboard
US10481752B2 (en) Method and device for a guided application to enhance a user interface
US10178346B2 (en) Highlighting unread messages
KR20210134675A (en) Method and system for learning and executing instructions through user demonstration
WO2022089209A1 (en) Picture comment processing method and apparatus, electronic device and storage medium
WO2019047189A1 (en) Message display method and device and terminal
WO2016011742A1 (en) Call method, apparatus and system
KR20130073101A (en) A method of service extension using message input window included in chatting window providing instant messaging service
US11907316B2 (en) Processor-implemented method, computing system and computer program for invoking a search
US10284813B2 (en) Automatic camera selection
US20240089232A1 (en) System and method for multi-channel group communications
US20150264309A1 (en) Playback of Interconnected Videos
CN110945467B (en) Disturbance-free method and terminal
AU2018393399A1 (en) Notification prompt method, group addition method and apparatus, terminal and storage medium
US10965629B1 (en) Method for generating imitated mobile messages on a chat writer server
WO2020215704A1 (en) Instant messaging method capable of implementing desktop sharing and related devices
WO2023241613A1 (en) Call establishment method, device and system, terminal, and readable storage medium
WO2017107543A1 (en) Information input method and apparatus
WO2016045322A1 (en) Method, device, and system for telephone interaction

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: 21868222

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21868222

Country of ref document: EP

Kind code of ref document: A1