CN113766262A - Notification event processing method and device, storage medium and electronic equipment - Google Patents

Notification event processing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113766262A
CN113766262A CN202111043530.0A CN202111043530A CN113766262A CN 113766262 A CN113766262 A CN 113766262A CN 202111043530 A CN202111043530 A CN 202111043530A CN 113766262 A CN113766262 A CN 113766262A
Authority
CN
China
Prior art keywords
interface
live
notification event
identification result
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111043530.0A
Other languages
Chinese (zh)
Inventor
刘建壮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202111043530.0A priority Critical patent/CN113766262A/en
Publication of CN113766262A publication Critical patent/CN113766262A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure belongs to the technical field of computers, and relates to a method and a device for processing a notification event, a storage medium and an electronic device. The method comprises the following steps: receiving a notification event, and identifying display content of the live interface to obtain a content identification result; based on the content identification result, carrying out display mode identification on the live interface to obtain a mode identification result; and adjusting the live interface according to the mode identification result to display the notification event. The method and the device have meticulous adjustment logic for the live broadcast interface, the adjustment mode is perfectly matched with various watching modes and scenes of the live broadcast interface, the adjustment accuracy of the live broadcast interface is guaranteed, in addition, the adjustment process does not need to invest in learning cost or carry out additional operation by a user, and the user experience is optimized. Furthermore, the notification event and the live interface are displayed in a compatible mode, the condition that the live interface is shielded due to the fact that the notification event is displayed cannot occur, and the timely reminding effect of the notification event and the complete display effect of the live interface are guaranteed.

Description

Notification event processing method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a notification event, a computer-readable storage medium, and an electronic device.
Background
With the development of network technology, online entertainment projects are more and more, and especially watching live broadcast becomes an essential entertainment means in life. In the process of watching the live broadcast, various notifications often appear in the live broadcast room and are displayed in a broadcast mode.
In general, various notifications appear above the user interface, and block the content of the live video, which seriously affects the viewing experience of the user in the live room. The user typically resumes the viewing experience by manually sliding up the notification or waiting for the notification to hide after a period of time. However, this way of removing the notification increases unnecessary operation cost for the user in watching the live broadcast, and deteriorates user experience.
In view of the above, there is a need in the art to develop a new notification event processing method and apparatus.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present disclosure is to provide a method, an apparatus, a computer-readable storage medium, and an electronic device for processing a notification event, so as to overcome, at least to some extent, the problems of poor viewing experience and high operation cost due to the limitations of the related art.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the embodiments of the present invention, there is provided a method for processing a notification event, which provides a live interface through a viewer, the method including:
receiving a notification event, and identifying the display content of the live broadcast interface to obtain a content identification result;
based on the content identification result, identifying a display mode of the live broadcast interface to obtain a mode identification result;
and adjusting the live broadcast interface according to the mode identification result so as to display the notification event.
In an exemplary embodiment of the present invention, the content recognition result includes: the live broadcast interface is positioned in a live broadcast room page and the live broadcast interface is positioned in a non-live broadcast room page.
In an exemplary embodiment of the invention, the method further comprises:
and when the content identification result shows that the live broadcast page is in a non-live broadcast room page, displaying the notification event.
In an exemplary embodiment of the present invention, the identifying a display mode of the live interface based on the content identification result to obtain a mode identification result includes:
and when the content identification result is that the live broadcast interface is in the live broadcast room page, acquiring a mode identification result by identifying whether a full-screen control located in the live broadcast interface is opened. In an exemplary embodiment of the present invention, the pattern recognition result includes: and displaying the live broadcast room interface in a full screen mode and displaying the live broadcast room interface in a non-full screen mode.
In an exemplary embodiment of the present invention, the adjusting the live interface according to the recognition result to display the notification event includes:
when the mode identification result is that the live interface is displayed in a full screen mode, carrying out zoom adjustment processing on the live interface;
and displaying the notification event in the live interface after the zooming adjustment processing.
In an exemplary embodiment of the present invention, the adjusting the live interface according to the recognition result to display the notification event includes:
when the mode identification result is that the live interface is not displayed in a full screen mode, performing interface downshifting processing on the live interface;
and displaying the notification event in the live interface after the interface shift-down processing.
In an exemplary embodiment of the invention, after said displaying the notification event, the method further comprises:
and hiding the notification event, and recovering the live interface after the zooming adjustment or recovering the live interface after the downward shifting of the interface.
According to a second aspect of the embodiments of the present invention, there is provided an apparatus for processing a notification event, which provides a live interface through a viewer side, including:
the content identification module is configured to receive a notification event and identify the display content of the live broadcast interface to obtain a content identification result;
the mode identification module is configured to identify a display mode of the live broadcast interface based on the content identification result to obtain a mode identification result;
and the event display module is configured to adjust the live interface according to the mode identification result so as to display the notification event.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus including: a processor and a memory; wherein the memory has stored thereon computer readable instructions which, when executed by the processor, implement a method of handling notification events in any of the above exemplary embodiments.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of processing a notification event in any of the above-described exemplary embodiments.
As can be seen from the foregoing technical solutions, the method for processing a notification event, the device for processing a notification event, the computer storage medium, and the electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
in the method and the device provided by the exemplary embodiment of the disclosure, the live broadcast interface is adjusted through double judgment logics of display content identification and display mode identification, the processing logics are meticulous, the adjustment mode is perfectly adapted to various viewing modes and scenes of the live broadcast interface, the adjustment accuracy of the live broadcast interface is ensured, in addition, the adjustment process does not need to invest in learning cost or carry out additional operation by a user, and the user experience is optimized. Furthermore, the notification event is displayed in the adjusted live interface, the display mode is compatible with the notification event and the live interface, the condition that the live interface is shielded due to the display of the notification event cannot occur, and the timely reminding effect of the notification event and the complete display effect of the live interface are ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 is a flow diagram schematically illustrating a method for processing a notification event in an exemplary embodiment of the present disclosure;
FIG. 2 is a flow diagram schematically illustrating a method of adjusting a live interface in an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart diagram schematically illustrating another method for adjusting a live interface in an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart diagram schematically illustrating a processing method of a notification event in an application scenario in an exemplary embodiment of the disclosure;
FIG. 5 is a schematic diagram illustrating an interface for displaying a notification event according to an exemplary embodiment of the disclosure;
FIG. 6 is a schematic diagram illustrating an interface for displaying notification events in an application scenario according to an exemplary embodiment of the disclosure;
fig. 7 is a schematic structural diagram of a processing apparatus for notifying an event in an exemplary embodiment of the present disclosure;
FIG. 8 schematically illustrates an electronic device for implementing a method of processing a notification event in an exemplary embodiment of the disclosure;
fig. 9 schematically illustrates a computer-readable storage medium for implementing a processing method of a notification event in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
The terms "a," "an," "the," and "said" are used in this specification to denote the presence of one or more elements/components/parts/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first" and "second", etc. are used merely as labels, and are not limiting on the number of their objects.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
In order to solve the problems in the related art, the present disclosure provides a method for processing a notification event, in which a live interface is provided by a viewer, and fig. 1 shows a flowchart of the method for processing the notification event, and as shown in fig. 1, the method for processing the notification event at least includes the following steps:
and S110, receiving the notification event, and identifying the display content of the direct broadcasting interface to obtain a content identification result.
And S120, carrying out display mode identification on the direct broadcasting interface based on the content identification result to obtain a mode identification result.
And S130, adjusting the live broadcast interface according to the mode identification result to display the notification event.
In the exemplary embodiment of the disclosure, the live broadcast interface is adjusted through double judgment logics of display content identification and display mode identification, the processing logic is meticulous, the adjustment mode is perfectly adapted to various viewing modes and scenes of the live broadcast interface, the adjustment accuracy of the live broadcast interface is ensured, in addition, the adjustment process does not need to invest in learning cost or carry out additional operation by a user, and the user experience is optimized. Furthermore, the notification event is displayed in the adjusted live interface, the display mode is compatible with the notification event and the live interface, the condition that the live interface is shielded due to the display of the notification event cannot occur, and the timely reminding effect of the notification event and the complete display effect of the live interface are ensured.
The following describes each step of the processing method of the notification event in detail.
In step S110, the notification event is received, and the display content of the live interface is identified to obtain a content identification result.
In an exemplary embodiment of the present disclosure, the notification event may be any one of a push message including an incoming call, a short message, an instant chat message, and an application, such as an active push message. That is, the notification event may be any event that can interfere with the running interface of the application displayed in full screen.
Taking the live application as an example, when the user uses the live application, for example, the IOS or android side, and the server of the live application may issue a notification event to the live application of the current user account.
When the viewer receives the notification event, the live interface can be subjected to display content identification processing.
Specifically, it may be determined whether the current user is in the live broadcast room according to the display position information of the live broadcast interface, so as to obtain the content recognition result.
In an alternative embodiment, the content recognition result includes: the live interface is positioned in a live room page and the live interface is positioned in a non-live room page.
When the live interface is located in the non-live interface, the live view page may be located in a home page of the live application program, and the like, which is not particularly limited in this exemplary embodiment.
In an alternative embodiment, the notification event is displayed when the content recognition result is that the live page is in a non-live-room page.
When the live broadcast interface is not positioned in the live broadcast room page, the display of the notification event is indicated to not interfere with the watching of the live broadcast by the user, so that the notification card of the notification event can be directly and completely displayed.
In step S120, based on the content recognition result, the display mode of the live interface is recognized to obtain a mode recognition result.
In an exemplary embodiment of the disclosure, when the content identification result is that the live interface is in a live room page, display mode identification may be further performed on the live page.
In an optional embodiment, when the content identification result is that the live broadcast interface is in a live broadcast window page, the mode identification result is obtained by identifying whether a full-screen control located in the live broadcast interface is opened.
Specifically, it may be identified whether the live view page is displayed in a full screen mode. In addition, the identification of whether the live broadcast room page is in the full screen mode may be a mode of looking up whether a full screen control located in the live broadcast interface is turned on, or other identification modes, which is not particularly limited in this exemplary embodiment.
In an alternative embodiment, the mode identification result includes: and displaying the full screen of the live broadcasting room interface and displaying the non-full screen of the live broadcasting room interface.
For example, when a full-screen control in a live broadcast interface is opened, the mode identification result representing the live broadcast interface is that the live broadcast interface is displayed in a full screen mode; and when the full-screen control in the live broadcast interface is not opened, the mode identification result representing the live broadcast interface is that the live broadcast interface is not displayed in a full screen mode.
In another embodiment, whether the interface of the live broadcast room is in full screen display is identified by detecting the state of the terminal. For example, when there is full screen creation or cancellation, a message with the ID of MSG _ appabr _ MSGID is sent to the window with the handle of hwndAccessBar. Specifically, when full screen information is received, WPARAM is ABN _ FULLSCREEENAP, and LPAARAM can judge whether the window with the live broadcast interface is full screen or whether the window with the live broadcast interface is cancelled. A TRUE for (BOOL) lParam indicates a windowed full screen, and a FALSE for (BOOL) lParam indicates a windowed canceled full screen state. Or for example, the width and the height of the screen are acquired by using GetSystemmetrics, and whether the window and the acquired value are consistent is further judged to determine whether the interface of the live broadcast room is in full screen display.
In step S130, the live interface is adjusted according to the manner recognition result to display the notification event.
In an exemplary embodiment of the present disclosure, after determining the manner recognition result of the live interface, the live interface may be adjusted according to the manner recognition result to display the notification event in the adjusted live interface.
In an alternative embodiment, fig. 2 is a flowchart illustrating a method for adjusting a live interface, where as shown in fig. 2, the method at least includes the following steps: in step S210, when the mode identification result is that the live interface is displayed in a full screen, the live interface is subjected to zoom adjustment processing.
When the live interface is displayed in a full screen mode, the live interface can be subjected to zooming adjustment processing. Specifically, the zoom adjustment process may be to zoom out the live interface according to a certain zoom ratio. The scaling ratio may be set according to actual conditions and requirements, and the exemplary embodiment is not particularly limited in this respect.
In step S220, a notification event is displayed within the live interface after the zoom adjustment processing.
After the live interface is subjected to the zoom adjustment processing, the notification event may be displayed in the live interface after the zoom adjustment processing.
In the exemplary embodiment, when the live interface is displayed in a full screen mode, the notification event can be displayed in the live interface after the zooming adjustment, the notification event and the live interface can be compatibly displayed, the condition that the live interface is shielded due to the display of the notification event cannot occur, and the prompt reminding effect of the notification event and the complete display effect of the live interface are guaranteed.
In an alternative embodiment, fig. 3 is a flowchart illustrating another method for adjusting a live interface, where as shown in fig. 3, the method at least includes the following steps: in step S310, when the mode identification result is that the live interface is not displayed in a full screen, the live interface is subjected to interface downshifting processing.
When the live interface is not displayed in a full screen mode, interface downshifting processing can be carried out on the live interface. Specifically, the interface downshifting process may be to wholly downshift components within the live interface, such as the video zone, navigation, and public screen speaking zone, by a certain space. The downshifting space may be set according to actual conditions and requirements, and this exemplary embodiment is not particularly limited thereto.
In step S320, a notification event is displayed in the live interface after the interface move-down process.
After the interface downshifting processing is performed on the live interface, the notification event can be displayed in the live interface after the interface downshifting processing.
In the exemplary embodiment, when the live interface is in a non-full screen display state, the notification event can be displayed in the live interface after the interface shift-down processing, the notification event and the live interface can be compatibly displayed, the condition that the live interface is shielded due to the display of the notification event does not occur, and the timely reminding effect of the notification event and the complete display effect of the live interface are ensured.
Furthermore, after the notification event is displayed in the adjusted live interface, the notification event can be hidden, and the adjusted live interface can be restored to restore the original watching state of the user.
In an optional embodiment, the notification event is hidden, and the live interface after the zoom adjustment processing is recovered or the live interface after the zoom adjustment processing is recovered and moved down.
After the notification event is displayed in the live interface after the zoom adjustment process or the interface downshifting process, the user may hide the notification event by sliding the notification event upward or waiting for a period of time. In addition, the notification event may also be hidden in other ways, and this exemplary embodiment is not particularly limited in this respect.
Further, in the case of adjusting the live interface in a manner of zoom adjustment, after the notification event is hidden, the live interface may be refilled to the entire viewer side to recover the live interface.
Under the condition that the live interface is adjusted in a mode of moving down the interface, after the notification event is hidden, the live interface can be recovered in a mode of restoring all components of the live interface to the positions again.
The following describes a detailed description of a processing method for notifying an event in the embodiment of the present disclosure in conjunction with an application scenario.
Fig. 4 is a flowchart illustrating a processing method of a notification event in an application scenario, and as shown in fig. 4, in step S410, a notification event is received.
The server receives the notification event to be issued. The notification event may be any one of a push message including an incoming call, a short message, an instant chat message, and an application, such as an active push message. That is, the notification event may be any event that can interfere with the running interface of the application displayed in full screen.
In step S420, a notification event is issued.
Taking the live application program as an example, when the user uses the live application program, the server of the live application program may issue a notification event to the live application program of the current user account.
In step S430, it is determined whether or not the live broadcast is present.
When the viewer receives the notification event, the live interface can be subjected to display content identification processing.
Specifically, it may be determined whether the current user is in the live broadcast room according to the display position information of the live broadcast interface, so as to obtain the content recognition result. Moreover, the display position information may be information representing whether the user is currently in the home page of the live application or in the live room, and the specific form of this information is not particularly limited in this exemplary embodiment.
For example, when the display position information is 0, it may represent that the current user is in the home page of the live application program; when the display position information is 1, it can be represented that the current user is in the live broadcast room. In addition, the corresponding content recognition result may also be determined according to display position information of other forms or contents, which is not particularly limited in this exemplary embodiment.
Wherein, the content recognition result comprises: the live interface is positioned in a live room page and the live interface is positioned in a non-live room page.
In step S440, the notification card is fully displayed.
When the live interface is located in the non-live interface, the live view page may be located in a home page of the live application program, and the like, which is not particularly limited in this exemplary embodiment.
And when the content identification result is that the live broadcast page is in the non-live broadcast room page, displaying the notification event.
When the live broadcast interface is not positioned in the live broadcast room page, the display of the notification event is indicated to not interfere with the watching of the live broadcast by the user, so that the notification card of the notification event can be directly and completely displayed. For example, the notification card may be displayed in a central area of the non-live page, and the text or links in the notification card may be displayed in a non-abbreviated manner, so that the user can visually view the notification card.
In step S450, it is determined whether to play full screen.
And when the content identification result is that the live broadcast interface is in the live broadcast room page, the display mode of the live broadcast page can be further identified.
Specifically, it may be identified whether the direct page is displayed in a full screen.
The mode identification result comprises: and displaying the full screen of the live broadcasting room interface and displaying the non-full screen of the live broadcasting room interface.
For example, when a full-screen control in a live broadcast interface is opened, the mode identification result representing the live broadcast interface is that the live broadcast interface is displayed in a full screen mode; and when the full-screen control in the live broadcast interface is not opened, the mode identification result representing the live broadcast interface is that the live broadcast interface is not displayed in a full screen mode.
In another embodiment, whether the interface of the live broadcast room is in full screen display is identified by detecting the state of the terminal. For example, when there is full screen creation or cancellation, a message with the ID of MSG _ appabr _ MSGID is sent to the window with the handle of hwndAccessBar. Specifically, when full screen information is received, WPARAM is ABN _ FULLSCREEENAP, and LPAARAM can judge whether the window with the live broadcast interface is full screen or whether the window with the live broadcast interface is cancelled. A TRUE for (BOOL) lParam indicates a windowed full screen, and a FALSE for (BOOL) lParam indicates a windowed canceled full screen state. Or for example, the width and the height of the screen are acquired by using GetSystemmetrics, and whether the window and the acquired value are consistent is further judged to determine whether the interface of the live broadcast room is in full screen display.
After the mode identification result of the live interface is determined, the live interface can be adjusted according to the mode identification result so as to display the notification event in the adjusted live interface.
In step S460, only the video content is scaled.
And when the mode identification result is that the live interface is displayed in a full screen mode, carrying out zooming adjustment processing on the live interface.
Fig. 5 is a schematic diagram of an interface for displaying a notification event in an application scenario, where as shown in fig. 5, when a live interface is displayed in a full screen, a zoom adjustment process may be performed on the live interface. Specifically, the zoom adjustment process may be to zoom out the live interface according to a certain zoom ratio. The scaling ratio may be set according to actual conditions and requirements, and the exemplary embodiment is not particularly limited in this respect.
The size of the scaling may be related to the content of the notification event. For example, when the notification content only includes text, the live interface may be reduced to a scaling size of 90% to show the notification event; when the notification content includes other content such as links or pictures in addition to text, the live interface may be reduced to a zoom scale of 80% to show the notification event.
In addition, the size of the scale may also be related to the notification event window type. When the information such as system maintenance and the like is displayed in the notification content, the live broadcast interface can be reduced to 90% of the zoom scale size so as to display the notification event; when information such as user welfare or hot activities is presented in the notification content, the live interface may be scaled down to a 80% zoom scale to present notification events.
After the live interface is subjected to the zoom adjustment processing, the notification event may be displayed in the live interface after the zoom adjustment processing.
For example, the display mode of the notification event may be a display mode in which the notification event is displayed in the form of thumbnail contents, or a display mode in which all information is displayed without thumbnail. Furthermore, when information such as hot activities and user benefits is to be emphasized, the key characters can be displayed in different colors or sizes.
Furthermore, after the notification event is displayed in the adjusted live interface, the notification event can be hidden, and the adjusted live interface can be restored to restore the original watching state of the user.
After displaying the notification event in the zoom-adjusted live interface, the user may hide the notification event by sliding it up or waiting for a period of time. In addition, the notification event may also be hidden in other ways, and this exemplary embodiment is not particularly limited in this respect.
Further, in the case of adjusting the live interface in a manner of zoom adjustment, after the notification event is hidden, the live interface may be refilled to the entire viewer side to recover the live interface.
In step S470, the layout is shifted down as a whole.
When the live interface is not displayed in a full screen mode, interface downshifting processing can be carried out on the live interface.
Fig. 6 is a schematic diagram illustrating another interface for displaying a notification event in an application scenario, where as shown in fig. 6, when a user views a live interface in a non-full screen mode, and a client receives the notification event, an interface downshifting process may be performed on the live interface. Specifically, the interface downshifting process can be to integrally downshift components in the live interface, such as a video zone, navigation and a public screen speaking zone, by a certain space. The downshifting space may be set according to actual conditions and requirements, and this exemplary embodiment is not particularly limited thereto.
The move down space may be related to the specific content of the notification event. For example, when the notification content only includes text, the live interface may be moved down by a space of 5% of the length of the viewer terminal device to show the notification event; when the notification content includes other content such as links or pictures in addition to the text, the live interface can be moved down by 10% of the length of the viewer terminal device to show the notification event.
In addition, the size of the move down space may also be related to the notification window type. For example, when the notification content shows information such as system maintenance, the live interface can be moved down by 5% of the length of the viewer terminal device to show the notification event; when the information such as the user welfare or hot activities is displayed in the notification content, the live broadcast interface can be moved down by 10% of the length of the space of the terminal equipment of the audience terminal to display the notification event.
After the interface downshifting processing is performed on the live interface, the notification event can be displayed in the live interface after the interface downshifting processing.
For example, the display mode of the notification event may be a display mode in which the notification event is displayed in the form of thumbnail contents, or a display mode in which all information is displayed without thumbnail. Furthermore, when information such as hot activities and user benefits is to be emphasized, the key characters can be displayed in different colors or sizes.
Furthermore, after the notification event is displayed in the adjusted live interface, the notification event can be hidden, and the adjusted live interface can be restored to restore the original watching state of the user.
After the notification event is displayed in the live interface after the interface downshifting process, the user can hide the notification event by sliding the notification event upward or waiting for a period of time. In addition, the notification event may also be hidden in other ways, and this exemplary embodiment is not particularly limited in this respect.
Under the condition that the live interface is adjusted in a mode of moving down the interface, after the notification event is hidden, the live interface can be recovered in a mode of restoring all components of the live interface to the positions again.
According to the method for processing the notification event in the application scene, the live broadcast interface is adjusted through the double judgment logic of display content identification and display mode identification, the processing logic is meticulous, the adjustment mode is perfectly matched with various watching modes and scenes of the live broadcast interface, the adjustment accuracy of the live broadcast interface is guaranteed, in addition, the adjustment process does not need to invest in learning cost or carry out additional operation, and the user experience is optimized. Furthermore, the notification event is displayed in the adjusted live interface, the display mode is compatible with the notification event and the live interface, the condition that the live interface is shielded due to the display of the notification event cannot occur, and the timely reminding effect of the notification event and the complete display effect of the live interface are ensured.
In addition, in an exemplary embodiment of the present disclosure, a processing device for notifying an event is further provided, and a live interface is provided by a viewer. Fig. 7 is a schematic structural diagram of a processing apparatus for notifying an event, and as shown in fig. 7, a processing apparatus 700 for notifying an event may include: a content identification module 710, a mode identification module 720, and an event display module 730. Wherein:
a content identification module 710 configured to receive the notification event and identify display content of the live interface to obtain a content identification result; the mode identification module 720 is configured to identify a display mode of the direct broadcast interface based on the content identification result to obtain a mode identification result; and an event display module 730 configured to adjust the live interface according to the manner recognition result to display the notification event.
In an exemplary embodiment of the present invention, the content recognition result includes: the live broadcast interface is positioned in a live broadcast room page and the live broadcast interface is positioned in a non-live broadcast room page.
In an exemplary embodiment of the invention, the method further comprises:
and when the content identification result shows that the live broadcast page is in a non-live broadcast room page, displaying the notification event.
In an exemplary embodiment of the present invention, the identifying a display mode of the live interface based on the content identification result to obtain a mode identification result includes:
and when the content identification result is that the live broadcast interface is in the live broadcast room page, acquiring a mode identification result by identifying whether a full-screen control located in the live broadcast interface is opened.
In an exemplary embodiment of the present invention, the pattern recognition result includes: and displaying the live broadcast interface in a full screen mode and displaying the live broadcast interface in a non-full screen mode.
In an exemplary embodiment of the present invention, the adjusting the live interface according to the recognition result to display the notification event includes:
when the mode identification result is that the live interface is displayed in a full screen mode, carrying out zoom adjustment processing on the live interface;
and displaying the notification event in the live interface after the zooming adjustment processing.
In an exemplary embodiment of the present invention, the adjusting the live interface according to the recognition result to display the notification event includes:
when the mode identification result is that the live interface is not displayed in a full screen mode, performing interface downshifting processing on the live interface;
and displaying the notification event in the live interface after the interface shift-down processing.
In an exemplary embodiment of the invention, after said displaying the notification event, the method further comprises:
and hiding the notification event, and recovering the live interface after the zooming adjustment or recovering the live interface after the downward shifting of the interface.
The details of the processing apparatus 700 for notifying events have been described in detail in the corresponding processing method for notifying events, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the processing means 700 of notification events are mentioned, this division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
An electronic device 800 according to such an embodiment of the invention is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in fig. 8, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one memory unit 820, a bus 830 connecting different system components (including the memory unit 820 and the processing unit 810), and a display unit 840.
Wherein the storage unit stores program code that is executable by the processing unit 810 to cause the processing unit 810 to perform steps according to various exemplary embodiments of the present invention as described in the "exemplary methods" section above in this specification.
The storage unit 820 may include readable media in the form of volatile storage units, such as a random access storage unit (RAM)821 and/or a cache storage unit 822, and may further include a read only storage unit (ROM) 823.
Storage unit 820 may also include a program/utility 824 having a set (at least one) of program modules 825, such program modules 825 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 830 may be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 800 may also communicate with one or more external devices 1000 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 800 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. As shown, a network adapter 840 communicates with the other modules of the electronic device 800 over the bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above-mentioned "exemplary methods" section of the present description, when said program product is run on the terminal device.
Referring to fig. 9, a program product 900 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (11)

1. A method for processing a notification event, wherein a direct-broadcasting interface is provided by a viewer, the method comprising:
receiving a notification event, and identifying the display content of the live broadcast interface to obtain a content identification result;
based on the content identification result, identifying a display mode of the live broadcast interface to obtain a mode identification result;
and adjusting the live broadcast interface according to the mode identification result so as to display the notification event.
2. The method for processing the notification event according to claim 1, wherein the content recognition result comprises: the live broadcast interface is positioned in a live broadcast room page and the live broadcast interface is positioned in a non-live broadcast room page.
3. The method for processing the notification event according to claim 2, wherein the method further comprises:
and when the content identification result shows that the live broadcast page is in a non-live broadcast room page, displaying the notification event.
4. The method for processing the notification event according to claim 2, wherein the identifying a display mode of the live interface based on the content identification result to obtain a mode identification result includes:
and when the content identification result is that the live broadcast interface is in the live broadcast room page, acquiring a mode identification result by identifying whether a full-screen control located in the live broadcast interface is opened.
5. The method for processing the notification event according to claim 2, wherein the mode identification result comprises: and displaying the live broadcast room interface in a full screen mode and displaying the live broadcast room interface in a non-full screen mode.
6. The method for processing the notification event according to claim 1, wherein the adjusting the live interface according to the mode recognition result to display the notification event comprises:
when the mode identification result is that the live interface is displayed in a full screen mode, carrying out zoom adjustment processing on the live interface;
and displaying the notification event in the live interface after the zooming adjustment processing.
7. The method for processing the notification event according to claim 1, wherein the adjusting the live interface according to the mode recognition result to display the notification event comprises:
when the mode identification result is that the live interface is not displayed in a full screen mode, performing interface downshifting processing on the live interface;
and displaying the notification event in the live interface after the interface shift-down processing.
8. A method of handling a notification event according to claim 6 or 7, wherein after said displaying said notification event, said method further comprises:
and hiding the notification event, and recovering the live interface after the zooming adjustment or recovering the live interface after the downward shifting of the interface.
9. A notification event processing apparatus, for providing a live interface through a viewer, comprising:
the content identification module is configured to receive a notification event and identify the display content of the live broadcast interface to obtain a content identification result;
the mode identification module is configured to identify a display mode of the live broadcast interface based on the content identification result to obtain a mode identification result;
and the event display module is configured to adjust the live interface according to the mode identification result so as to display the notification event.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of handling a notification event according to any one of claims 1 to 8.
11. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of processing a notification event of any of claims 1-8 via execution of the executable instructions.
CN202111043530.0A 2021-09-07 2021-09-07 Notification event processing method and device, storage medium and electronic equipment Pending CN113766262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111043530.0A CN113766262A (en) 2021-09-07 2021-09-07 Notification event processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111043530.0A CN113766262A (en) 2021-09-07 2021-09-07 Notification event processing method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN113766262A true CN113766262A (en) 2021-12-07

Family

ID=78793362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111043530.0A Pending CN113766262A (en) 2021-09-07 2021-09-07 Notification event processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113766262A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100444A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Information display method and device
CN106534526A (en) * 2016-11-07 2017-03-22 珠海市魅族科技有限公司 Prompting method and device for suspension notice
CN106534914A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Split screen display device, mobile terminal and method
CN107153546A (en) * 2017-05-12 2017-09-12 厦门美图移动科技有限公司 A kind of video broadcasting method and mobile device
CN109634479A (en) * 2018-10-25 2019-04-16 深圳壹账通智能科技有限公司 Notification information processing method, equipment, storage medium and device under full frame state
CN109766066A (en) * 2018-12-29 2019-05-17 华为技术有限公司 A kind of method of Message Processing, relevant apparatus and system
CN110795021A (en) * 2019-10-31 2020-02-14 维沃移动通信有限公司 Information display method and device and electronic equipment
CN112311651A (en) * 2019-07-23 2021-02-02 腾讯科技(深圳)有限公司 Cross-client communication method and device, electronic equipment and storage medium
CN112312154A (en) * 2020-10-30 2021-02-02 广州华多网络科技有限公司 Network live broadcast control and execution method and corresponding device, equipment and medium
CN112328132A (en) * 2020-11-03 2021-02-05 珠海格力电器股份有限公司 Notification information processing method and device
CN112527168A (en) * 2020-12-24 2021-03-19 杭州网易云音乐科技有限公司 Live broadcast interaction method and device, storage medium and electronic equipment
CN112969087A (en) * 2021-03-15 2021-06-15 北京城市网邻信息技术有限公司 Information display method, client, electronic equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100444A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Information display method and device
CN106534914A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Split screen display device, mobile terminal and method
CN106534526A (en) * 2016-11-07 2017-03-22 珠海市魅族科技有限公司 Prompting method and device for suspension notice
CN107153546A (en) * 2017-05-12 2017-09-12 厦门美图移动科技有限公司 A kind of video broadcasting method and mobile device
CN109634479A (en) * 2018-10-25 2019-04-16 深圳壹账通智能科技有限公司 Notification information processing method, equipment, storage medium and device under full frame state
CN109766066A (en) * 2018-12-29 2019-05-17 华为技术有限公司 A kind of method of Message Processing, relevant apparatus and system
CN112311651A (en) * 2019-07-23 2021-02-02 腾讯科技(深圳)有限公司 Cross-client communication method and device, electronic equipment and storage medium
CN110795021A (en) * 2019-10-31 2020-02-14 维沃移动通信有限公司 Information display method and device and electronic equipment
CN112312154A (en) * 2020-10-30 2021-02-02 广州华多网络科技有限公司 Network live broadcast control and execution method and corresponding device, equipment and medium
CN112328132A (en) * 2020-11-03 2021-02-05 珠海格力电器股份有限公司 Notification information processing method and device
CN112527168A (en) * 2020-12-24 2021-03-19 杭州网易云音乐科技有限公司 Live broadcast interaction method and device, storage medium and electronic equipment
CN112969087A (en) * 2021-03-15 2021-06-15 北京城市网邻信息技术有限公司 Information display method, client, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109240576B (en) Image processing method and device in game, electronic device and storage medium
CN110351572B (en) Method, device and equipment for updating live broadcast room information and storage medium
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
CN109408752B (en) Online document display method and device and electronic equipment
CN111097168B (en) Display control method and device in game live broadcast, storage medium and electronic equipment
CN104135684A (en) A method and a device for displaying an interface based on a Firefox OS
CN110062287B (en) Target object control method and device, storage medium and electronic equipment
US20230229286A1 (en) Interface display method and apparatus, and electronic device
CN107657024B (en) Search result display method, device, equipment and storage medium
CN111324252B (en) Display control method and device in live broadcast platform, storage medium and electronic equipment
CN112738539A (en) Live broadcast room switching method and device, computer readable storage medium and electronic equipment
CN105094841A (en) Page commenting method and device
CN109885781B (en) Mixed page unified browsing method, device, equipment and storage medium
CN111726688A (en) Method and device for self-adapting screen projection picture in network teaching
CN108665769B (en) Network teaching method and device based on convolutional neural network
US20230244363A1 (en) Screen capture method and apparatus, and electronic device
CN111813308A (en) Interface processing method and device, electronic equipment and storage medium
US20160345059A1 (en) Method and device for switching channel
CN111836093B (en) Video playing method, device, equipment and medium
CN111918102A (en) Bullet screen management method, bullet screen management device, bullet screen management equipment and storage medium
CN110727473A (en) Resource control method, device, system, storage medium and electronic equipment
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
CN113766262A (en) Notification event processing method and device, storage medium and electronic equipment
CN111309231A (en) Information display method and device, storage medium and electronic equipment
CN114116418A (en) Information processing method and device, computer storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination