Event processing method and device
By displaying the target control and obtaining the target events within the target time period when the wireless headset is connected to the electronic device, the problem of a single problem with the function of the single -wire pop -up window prompts is solved, and a richer and convenient user interactive experience is achieved.
Patent Information
- Application Number
- CN202411480743.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-23
AI Technical Summary
The pop-up prompt function of wireless headphones is relatively single and cannot provide rich information and interactive experience.
When the wireless headset is connected to the electronic equipment, the target control is displayed, and the target events within the target time period, including historical operation events and schedules, display the target options corresponding to the target event in the target control.
The pop-up window function and target control display effect of wireless headphones are enriched, providing a more intuitive and convenient user interaction experience.
Smart Images

Figure CN119364274A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to an event processing method and device. Background Art
[0002] At present, when wireless headphones are connected to mobile phones and other electronic devices, they usually provide a standard pop-up prompt, and the pop-up window usually displays the battery information of the wireless headphones, so that users can intuitively understand the remaining power of the wireless headphones and facilitate users to manage the battery life of the wireless headphones.
[0003] It can be seen that the pop-up prompts of wireless headphones in the related art have the problem of relatively single functions. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an event processing method and device, which can solve the relatively simple problem of pop-up prompts of wireless headphones in the related art.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides an event processing method, including:
[0007] When it is detected at the first moment that the wireless headset is connected to the electronic device, displaying a target control corresponding to the wireless headset;
[0008] Acquire a target event within a target time period, where the target time period is a time period associated with the first moment, and the target event includes a historical event determined based on an operation event occurring within the historical time period and a schedule event determined based on schedule information;
[0009] The target option corresponding to the target event is displayed in the target control.
[0010] In a second aspect, an embodiment of the present application provides an event processing device, including:
[0011] A first display module, configured to display a target control corresponding to the wireless headset when it is detected at a first moment that the wireless headset is connected to the electronic device;
[0012] An acquisition module, configured to acquire a target event within a target time period, wherein the target time period is a time period associated with the first moment, and the target event includes a historical event determined based on an operation event occurring within the historical time period and a schedule event determined based on schedule information;
[0013] The second display module is used to display the target option corresponding to the target event in the target control.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0017] In a sixth aspect, an embodiment of the present application provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the method described in the first aspect.
[0018] In an embodiment of the present application, by obtaining the target event within the target time period, that is, obtaining the target event within the target time period associated with the first moment, and by displaying the target option corresponding to the target event in the target control, the pop-up function of the wireless headset and the display effect of the target control can be effectively enriched. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of an event processing method provided by an embodiment of the present application;
[0020] Figure 2a is a display schematic diagram of a target control provided by an embodiment of the present application;
[0021] Figure 2b is a display schematic diagram of a target control provided by another embodiment of the present application;
[0022] Figure 2c is a display schematic diagram of a target control provided by another embodiment of the present application;
[0023] Figure 2d is a display schematic diagram of a target control provided by another embodiment of the present application;
[0024] Figure 2e is a display schematic diagram of a target control provided by another embodiment of the present application;
[0025] Figure 3 is a structural diagram of an event processing device provided by an embodiment of the present application;
[0026] Figure 4is a structural diagram of an electronic device provided by an embodiment of the present application;
[0027] Figure 5 It is a structural diagram of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0030] The event processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0031] See also Figure 1 , Figure 1 is a flow chart of an event processing method provided in an embodiment of the present application. The event processing method provided in the embodiment of the present application can be applied to electronic devices such as mobile phones, such as Figure 1 As shown, the event processing method includes the following steps:
[0032] Step 101: When it is detected at a first moment that a wireless headset is connected to an electronic device, a target control corresponding to the wireless headset is displayed.
[0033] The wireless headset and the electronic device can exchange information via short-range wireless communication methods such as Bluetooth communication and Near Field Communication (NFC), so that the electronic device can output audio signals through the wireless headset.
[0034] Among them, the above-mentioned wireless headphones can be true wireless stereo (True Wireless Stereo, TWS) headphones such as Bluetooth headphones and infrared headphones.
[0035] The above-mentioned first moment can be understood as the moment when the wireless headset is connected to the electronic device, and when the wireless headset is connected to the electronic device, the target control corresponding to the wireless headset can be displayed on the electronic device, and the target control can be understood as the pop-up interface or pop-up interaction interface of the wireless headset; moreover, basic information such as the remaining power of the wireless headset can be displayed in the target control, so that the user can intuitively view the status information such as the remaining power of the wireless headset.
[0036] Step 102: Acquire a target event within a target time period, where the target time period is a time period associated with the first moment.
[0037] The above target events include historical events determined based on operation events occurring in a historical time period and schedule events determined based on schedule information, that is, the target event can be determined based on operation events occurring in a historical time period, or based on schedule information.
[0038] For example, the target event may be an operation event of the user within the target time period, or an event that is determined based on the operation event of the user within the target time period and is consistent with the user's habits and preferences.
[0039] In some embodiments, the target time period may be a time period corresponding to the first moment in each historical cycle, or may be a time period after the first moment.
[0040] For example, the moment when the wireless headset is connected to the electronic device is the current moment, and the time information of the current moment is 14:50:15. Since there is a time point of "14:50:15" every day, each day can be regarded as a historical cycle. At this time, yesterday, the day before yesterday and other past days can be regarded as historical cycles, and the time period including the time point of "14:50:15" in yesterday, the day before yesterday and other past days can be determined as the above-mentioned target time period, such as the time period between "14:30:00" and "15:00:00" in yesterday, the day before yesterday and other past days can be determined as the target time period. Moreover, obtaining the target event within the target time period can be understood as obtaining the target event between "14:30:00" and "15:00:00" in the past days such as yesterday, the day before yesterday and other past days.
[0041] Specifically, the videos that the user frequently watched during the time period between "14:30:00" and "15:00:00" in the past few days can be determined as the target event; or, the games that the user frequently played during the time period between "14:30:00" and "15:00:00" in the past few days can be determined as the target event, etc.
[0042] Step 103: Display the target option corresponding to the target event in the target control.
[0043] After the target event is determined, the target options corresponding to the target event may be displayed in the target control so that the user can quickly enter the application interface corresponding to the target event based on the target options.
[0044] Among them, the target option can be understood as a quick entry to the application interface corresponding to the target event.
[0045] In some embodiments, after displaying the target option corresponding to the target event, the user's input operation for the target option can also be received so as to quickly jump to the application interface corresponding to the target event, thereby enriching the function of the target control of the wireless headset.
[0046] In some embodiments, the input operation for the target option may be a single-finger swipe-up operation or a long-press operation on the target option displayed by the target control, so as to quickly jump to the application interface corresponding to the target event.
[0047] In this embodiment, by obtaining the target event within the target time period, that is, obtaining the target event within the target time period associated with the first moment, and by displaying the target option corresponding to the target event in the target control, the display effect of the target control of the wireless headset can be effectively enriched; moreover, the user's input operation for the target option can also be received so that it can quickly jump to the application interface corresponding to the target event, thereby enriching the pop-up function of the wireless headset.
[0048] In some embodiments, obtaining a target event within a target time period includes:
[0049] Get schedule information;
[0050] In a case where the schedule information indicates that a second time is associated with a conference event, the conference event is determined as a target event, and the second time is located after the first time.
[0051] In this embodiment, the schedule information noted in the schedule application can be identified based on the voice assistant of the electronic device, so as to obtain the user's schedule information; moreover, when the schedule information indicates that the second moment is associated with a meeting event, the meeting event can be determined as a target event, so that the user can quickly join the meeting based on the target option of the meeting event displayed by the target control. Compared with the conventional joining operation method of first switching to the display interface of the conference application icon - starting the conference application icon to enter the conference application interface - joining the target meeting in the conference application interface, it effectively simplifies the user's joining operation.
[0052] In some embodiments, when a meeting event is identified in the schedule information, an icon option for directly joining the meeting can be displayed through the target control five minutes or three minutes before the meeting start time, and the user's input operation such as a click operation or a long press operation on the icon option for directly joining the meeting displayed by the target control can be received and responded to, so as to quickly enter into the meeting corresponding to the meeting event, thereby simplifying the user's meeting joining operation.
[0053] In some embodiments, obtaining a target event within a target time period includes:
[0054] Determine a time period corresponding to the first moment in a historical time period as a target time period, wherein the historical time period is before the first moment;
[0055] Get the target events of the user within the target time period.
[0056] The above historical time period can be understood as the time period of the first moment in each historical cycle before the first moment.
[0057] For example, when each historical cycle is one day, the historical time period can be understood as the time period of the first moment of each day in the past.
[0058] In this embodiment, by acquiring the target event within the target time period, the terminal usage habits of the user at the first moment of each day in the past can be clearly understood. For example, if the user is accustomed to watching movies and TV series at this moment, the movies and TV series that were frequently watched in the time period of the first moment in the past few days can be determined as target events, that is, the viewing event of watching the movie and TV series can be determined as the target event; for example, if the user is accustomed to running at this moment, the running events frequently recorded by the user's sports application in the time period of the first moment in the past few days can be determined as target events, that is, the running events can be determined as target events.
[0059] Moreover, by obtaining the target event within the target time period and displaying the target option corresponding to the target event in the target control, it is possible to quickly enter the application interface corresponding to the target event by receiving and responding to the user's input operation for the target option, effectively enriching the pop-up function of the wireless headset.
[0060] In some embodiments, Figure 2a As shown, when the target event is a conference event, a conference icon option 23 of the conference event can be displayed in the target control 22 on the desktop 21. In this way, when the conference icon option 23 displayed by the user for the target control is received, the user can jump to and participate in the conference by responding to the user's input operation, thereby meeting the user's need for quick meeting entry.
[0061] In some embodiments, Figure 2bAs shown, when the target event is a viewing event of a film or TV series, an episode icon option 24 of the film or TV series can be displayed in a target control 22 on a desktop 21. Thus, when an input operation of the user for the episode icon option 24 displayed in the target control is received, the interface can be jumped to the playback interface of the film or TV series by responding to the user's input operation, thereby satisfying the user's needs for viewing the film or TV series.
[0062] In some embodiments, Figure 2c As shown, when the target event is a running event, the sports icon option 25 of the running event can be displayed in the target control 22 on the desktop 21. In this way, when the user's input operation for the sports icon option 25 displayed in the target control is received, it can jump to the corresponding sports application by responding to the user's input operation, and start the running sports mode to meet the user's sports recording needs.
[0063] In some embodiments, Figure 2d As shown, in the case where the target event is a game battle event for the game, a game icon option 26 for the game battle event can be displayed in the target control 22 on the desktop 21. In this way, when an input operation from the user is received for the game icon option 26 displayed in the target control, the interface can be jumped to the game battle interface corresponding to the game battle event by responding to the user's input operation, thereby satisfying the user's game battle needs.
[0064] In some embodiments, after displaying the target option corresponding to the target event in the target control, the method further includes:
[0065] receiving a first input for an interactive option displayed in the target control;
[0066] In response to the first input, the target control is locked on the desktop of the electronic device.
[0067] In this embodiment, the interactive options can also be displayed in the target control. By receiving and responding to the first input for the interactive options, the desktop of the electronic device to which the target control is locked can be displayed on the desktop for a long time, thereby improving the human-computer interaction requirements based on the target control.
[0068] The above-mentioned interactive options may be sharing options, screenshot options, and other operation options that can realize interaction with the user.
[0069] like Figure 2c As shown, the above-mentioned interactive option can be a sharing option 27; specifically, the sharing option 27 can be displayed in the target control 22 on the desktop 21, and by receiving and responding to the first input for the sharing option 27, the target control 22 can be locked on the desktop 21 of the electronic device.
[0070] In some embodiments, when the target control is locked on the desktop of the electronic device, the target control can be locked on the desktop by means of a desktop component.
[0071] In some embodiments, after the target control is locked on the desktop of the electronic device in response to the first input, the method further includes:
[0072] receiving a second input for a timing option displayed in the target control;
[0073] In response to the second input, a display duration of the target control is set.
[0074] In this embodiment, by setting a timing option in the target control and setting the display duration of the target control, the display of the target control is provided with a timing function, thereby further improving the display effect of the target control.
[0075] like Figure 2e As shown, a timing option 28 may be displayed in the target control 22, and the display duration of the target control 22 may be set based on the timing option 28, so that the display of the target control 22 has a timing function.
[0076] Wherein, when the target control is provided with a timing function, that is, when the target control is provided with a display time, when the display time of the target control ends, the display of the target control is terminated, thereby further improving the display effect of the target control.
[0077] In some embodiments, the target event within the target time period can be one, or two or more. When there are two or more target events within the target time period, two or more icon options can be displayed in the target control so that the user can select the corresponding option from the two or more target options.
[0078] For example, when the target events in the target time period include a video viewing event and a running event, an icon option corresponding to the video viewing event and an icon option for the running event may be displayed in the target control.
[0079] The event processing method of the embodiment of the present application is to display the target control corresponding to the wireless headset when the wireless headset is detected to be connected to the electronic device at the first moment; obtain the target event within the target time period, where the target time period is the time period associated with the first moment; and display the target option corresponding to the target event in the target control. This can effectively enrich the pop-up window function of the wireless headset and the display effect of the target control.
[0080] The event processing method provided in the embodiment of the present application can be executed by an event processing device. In the embodiment of the present application, the event processing device provided in the embodiment of the present application is described by taking the event processing method executed by the event processing device as an example.
[0081] See also Figure 3 , Figure 3 is a structural diagram of an event processing device provided by an embodiment of the present application. Figure 3 As shown, the event processing device 300 includes:
[0082] The first display module 301 is used to display a target control corresponding to the wireless headset when it is detected that the wireless headset is connected to the electronic device at the first moment;
[0083] An acquisition module 302 is used to acquire a target event within a target time period, where the target time period is a time period associated with the first moment, and the target event includes a historical event determined based on an operation event occurring within the historical time period and a schedule event determined based on schedule information;
[0084] The second display module 303 is used to display the target option corresponding to the target event in the target control.
[0085] Optionally, the acquisition module 302 is specifically configured to:
[0086] Get schedule information;
[0087] In a case where the schedule information indicates that a second time is associated with a conference event, the conference event is determined as a target event, and the second time is located after the first time.
[0088] Optionally, the acquisition module 302 is specifically configured to:
[0089] Determine a time period corresponding to the first moment in a historical time period as a target time period, wherein the historical time period is before the first moment;
[0090] Get the target events of the user within the target time period.
[0091] Optionally, the event processing device 300 further includes:
[0092] A first receiving module, configured to receive a first input for an interactive option displayed in the target control;
[0093] A locking module is used to lock the target control on the desktop of the electronic device in response to the first input.
[0094] Optionally, the event processing device 300 further includes:
[0095] A second receiving module, configured to receive a second input for a timing option displayed in the target control;
[0096] A setting module is used to set the display duration of the target control in response to the second input.
[0097] The event processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR) / virtual reality (Virtual Reality, VR) device, a robot, a wearable device, a super mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and can also be a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (Television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0098] The event processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0099] The event processing device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0100] See also Figure 4 , Figure 4 is a structural diagram of an electronic device provided by an embodiment of the present application. Figure 4 As shown, an embodiment of the present application also provides an electronic device 400, including a processor 401 and a memory 402, wherein the memory 402 stores programs or instructions that can be executed on the processor 401, and when the program or instructions are executed by the processor 401, the various steps of the above-mentioned event processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0101] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0102] See also Figure 5 , Figure 5 is a structural diagram of an electronic device provided by another embodiment of the present application. Figure 5 As shown, the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510 and other components.
[0103] Those skilled in the art will appreciate that the electronic device 500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0104] The display unit 506 is configured to display a target control corresponding to the wireless headset when it is detected that the wireless headset is connected to the electronic device at the first moment;
[0105] The processor 510 is configured to obtain a target event within a target time period, where the target time period is a time period associated with the first moment, and the target event includes a historical event determined based on an operation event occurring within the historical time period and a schedule event determined based on schedule information;
[0106] The display unit 506 is used to display the target option corresponding to the target event in the target control.
[0107] Optionally, the processor 510 is configured to:
[0108] Get schedule information;
[0109] In a case where the schedule information indicates that a second time is associated with a conference event, the conference event is determined as a target event, and the second time is located after the first time.
[0110] Optionally, the processor 510 is configured to:
[0111] Determine a time period corresponding to the first moment in a historical time period as a target time period, wherein the historical time period is before the first moment;
[0112] Get the target events of the user within the target time period.
[0113] Optionally, the user input unit 507 is used to receive a first input for an interactive option displayed in the target control;
[0114] The processor 510 is configured to lock the target control on the desktop of the electronic device in response to the first input.
[0115] Optionally, the user input unit 507 is used to receive a second input for the timing option displayed in the target control;
[0116] The processor 510 is configured to set a display duration of the target control in response to the second input.
[0117] It should be understood that in the embodiment of the present application, the input unit 504 may include a graphics processor (GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0118] The memory 509 can be used to store software programs and various data. The memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 509 may include a volatile memory or a non-volatile memory, or the memory 509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0119] The processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 510.
[0120] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned event processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0121] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0122] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned event processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0123] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0124] An embodiment of the present application provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned event processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0125] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0126] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0127] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An event processing method, characterized in that: include: When it is detected at the first moment that the wireless headset is connected to the electronic device, displaying a target control corresponding to the wireless headset; Acquire a target event within a target time period, where the target time period is a time period associated with the first moment, and the target event includes a historical event determined based on an operation event occurring within the historical time period and a schedule event determined based on schedule information; The target option corresponding to the target event is displayed in the target control.
2. The method according to claim 1, characterized in that The step of obtaining a target event within a target time period includes: Get schedule information; In a case where the schedule information indicates that a second time is associated with a conference event, the conference event is determined as a target event, and the second time is located after the first time.
3. The method according to claim 1, characterized in that: The step of obtaining a target event within a target time period includes: Determine a time period corresponding to the first moment in a historical time period as a target time period, wherein the historical time period is before the first moment; Get the target events of the user within the target time period.
4. The method according to any one of claims 1 to 3, characterized in that After displaying the target option corresponding to the target event in the target control, the method further includes: receiving a first input for an interactive option displayed in the target control; In response to the first input, the target control is locked on the desktop of the electronic device.
5. The method according to claim 4, characterized in that After the target control is locked on the desktop of the electronic device in response to the first input, the method further includes: receiving a second input for a timing option displayed in the target control; In response to the second input, a display duration of the target control is set.
6. An event processing device, characterized in that: include: A first display module, configured to display a target control corresponding to the wireless headset when it is detected at a first moment that the wireless headset is connected to the electronic device; An acquisition module, configured to acquire a target event within a target time period, wherein the target time period is a time period associated with the first moment, and the target event includes a historical event determined based on an operation event occurring within the historical time period and a schedule event determined based on schedule information; The second display module is used to display the target option corresponding to the target event in the target control.
7. The device according to claim 6, characterized in that The acquisition module is specifically used for: Get schedule information; In a case where the schedule information indicates that a second time is associated with a conference event, the conference event is determined as a target event, and the second time is located after the first time.
8. The device according to claim 6, characterized in that The acquisition module is specifically used for: Determine a time period corresponding to the first moment in a historical time period as a target time period, wherein the historical time period is before the first moment; Get the target events of the user within the target time period.
9. The device according to any one of claims 6 to 8, characterized in that The device also includes: A first receiving module, configured to receive a first input for an interactive option displayed in the target control; A locking module is used to lock the target control on the desktop of the electronic device in response to the first input.
10. The device according to claim 9, characterized in that The device also includes: A second receiving module, configured to receive a second input for a timing option displayed in the target control; A setting module is used to set the display duration of the target control in response to the second input.
Citation Information
Patent Citations
Electric quantity reminding method and device for charging box, equipment and storage medium
CN111491233A
Apparatus and method for executing menu in portable terminal
US20120151410A1
Information reminding method and electronic device
WO2023016563A1
Window control method and electronic device
WO2024109481A1