WO2018196457A1 - 一种弹幕显示方法及电子设备 - Google Patents

一种弹幕显示方法及电子设备 Download PDF

Info

Publication number
WO2018196457A1
WO2018196457A1 PCT/CN2018/074483 CN2018074483W WO2018196457A1 WO 2018196457 A1 WO2018196457 A1 WO 2018196457A1 CN 2018074483 W CN2018074483 W CN 2018074483W WO 2018196457 A1 WO2018196457 A1 WO 2018196457A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
barrage
area
target
display area
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.)
Ceased
Application number
PCT/CN2018/074483
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to JP2019558457A priority Critical patent/JP6984840B2/ja
Priority to KR1020197034231A priority patent/KR20190136085A/ko
Priority to EP18790053.5A priority patent/EP3606081A4/en
Publication of WO2018196457A1 publication Critical patent/WO2018196457A1/zh
Priority to US16/664,602 priority patent/US20200058270A1/en
Anticipated expiration legal-status Critical
Ceased 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/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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/32Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory with means for controlling the display position
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/34Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators for rolling or scrolling
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/37Details of the operation on graphic patterns
    • G09G5/373Details of the operation on graphic patterns for modifying the size of the graphic pattern
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/38Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory with means for controlling the display position
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • 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/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
    • 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
    • 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/4884Data services, e.g. news ticker for displaying subtitles
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0613The adjustment depending on the type of the information to be displayed
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/10Special adaptations of display systems for operation with variable images
    • G09G2320/103Detection of image changes, e.g. determination of an index representative of the image change
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/045Zooming at least part of an image, i.e. enlarging it or shrinking it
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0464Positioning

Definitions

  • the present application relates to the field of multimedia technologies, and in particular, to a barrage display method and an electronic device.
  • barrage a large number of comments displayed simultaneously in the form of subtitles are called barrage.
  • the barrage is displayed above or below the screen.
  • the barrage can be floated at a fixed speed from the side above the screen according to the timeline, or displayed below the screen and disappears after a period of time.
  • the barrage when the barrage is displayed above or below the screen, it will generally block part of the video image during video playback.
  • the barrage is relatively large and dense, it will usually block most of the video image. Therefore, the user is disturbed by watching the video, and a large number of intensive barrage is also difficult to read, thereby reducing the user experience.
  • the embodiment of the present invention provides a barrage display method and an electronic device, which solves the problem that the content of the barrage interferes with the user in the prior art, and improves the user experience.
  • a first aspect provides a barrage display method, the method comprising: determining an object display area according to a target display object in a display image, the target display object being located in the object display area; determining a barrage display area according to the object display area The barrage display area and the object display area have no intersection; the barrage content is displayed in the barrage display area.
  • the barrage display area determined in the above technical solution has no intersection with the object display area, so that the barrage content displayed in the barrage display area does not overlap with the target display object in the display image, thereby avoiding the barrage content to the user.
  • the problem of interference has improved the user experience.
  • the method further includes: determining a new barrage display area if a change in a position of the target display object is detected.
  • the position of the target display object moves, for example, the character in the display image moves from the middle of the screen to the edge of the screen. Therefore, the content of the barrage can be adjusted by adjusting the display area of the barrage.
  • the movement of the target display object is correspondingly moved, thereby ensuring that the content of the barrage displayed in the display area of the barrage does not affect the presentation of the target display object in the display image.
  • the display position of the barrage content is fixed; or the display position of the barrage content is scrolled
  • the method moves in the barrage display area; or, the barrage content includes the first barrage content and the second barrage content, the display position of the first barrage content is fixed, and the second barrage content is scrolled in the barrage display area Move in.
  • the display of the barrage content can be performed in a fixed display position and/or in a scrolling manner.
  • determining the object according to the target in the display image includes: an area obtained by extending the contour of the target display object outward by a preset threshold according to the outline of the object, and determining the area as the object display area; or displaying the object according to the outline of the object; The area obtained by shrinking the preset inward by the contour is determined as the object display area.
  • the object is displayed according to the target in the display image
  • the method further includes: identifying at least one display object included in the display image; determining a target display object in the at least one display object according to the display parameter of the at least one display object, the display parameter including the display position or the display size .
  • the display parameter includes a display position, and determining the at least one display object according to the display parameter of the at least one display object
  • the target display object includes: determining a display object located in a specified area of the display image of the at least one display object as the target display object in the display image; or, the display parameter includes a display size, determining, according to the display parameter of the at least one display object, at least Displaying the object in the display object includes: displaying the display object whose display size is greater than or equal to the first threshold in the at least one display object as the target display object in the display image.
  • the method further includes: if the preset condition is met , the new barrage display area is re-determined, and the barrage content is displayed in the new barrage display area; wherein the preset condition includes one of the following conditions: the duration of the barrage content display is greater than or equal to the preset time The display image changes.
  • the preset condition includes one of the following conditions: the duration of the barrage content display is greater than or equal to the preset time
  • an electronic device includes: a determining unit, configured to: determine an object display area according to a target display object in the display image, the target display object is located in the object display area; and the determining unit is further configured to: According to the object display area, the barrage display area is determined, the barrage display area and the object display area are not intersected; and the display unit is configured to display the barrage content in the barrage display area.
  • the determining unit is further configured to: determine a new barrage display area if a change in a position of the target display object is detected.
  • the display position of the barrage content is fixed; or the display position of the barrage content is scrolled
  • the method moves in the barrage display area; or, the barrage content includes the first barrage content and the second barrage content, the display position of the first barrage content is fixed, and the second barrage content is scrolled in the barrage display area Move in.
  • the determining unit is configured to: display the object according to the target The contour is obtained by expanding the contour of the target display object outward by a preset threshold, and determining the area as the object display area; or, according to the contour of the target display object, the contour of the target display object is inwardly contracted by the preset threshold value. , determined as the object display area.
  • the electronic device further includes: an identification unit, And determining the at least one display object included in the display image; the determining unit is further configured to determine, according to the display parameter of the at least one display object, the target display object in the at least one display object, where the display parameter comprises a display position or a display size.
  • the display parameter includes a display location, and the determining unit is configured to: locate the at least one display object in a designated area of the display image The display object is determined to be a target display object in the display image; or the display parameter includes a display size, and the determining unit is configured to: determine a display object whose display size is greater than or equal to the first threshold value in the at least one display object as a target in the display image Display objects.
  • the determining unit is further configured to: if the preset is met Condition, the new barrage display area is re-determined, and the barrage content is displayed in the new barrage display area; wherein the preset condition includes one of the following conditions: the duration of the barrage content display is greater than or equal to the preset The time and display image change.
  • an electronic device comprising a memory, a processor, a display, a communication interface and a bus, the memory and the data are stored, the processor, the memory, the display and the communication interface are connected by a bus, and the processor runs the memory
  • the code in the apparatus causes the electronic device to perform the barrage display method provided by any one of the first aspect to the sixth possible implementation of the first aspect.
  • a computer readable storage medium where computer executed instructions are stored, and when the at least one processor of the device executes the computer to execute an instruction, the device performs the first aspect or the first aspect A barrage display method provided by any of the possible implementations.
  • a computer program product comprising computer executable instructions stored in a computer readable storage medium; at least one processor of the device can read the computer from a computer readable storage medium Executing the instructions, the at least one processor executing the computer to execute the instructions causes the device to implement the barrage display method provided by the first aspect or any of the possible implementations of the first aspect.
  • FIG. 1 is a schematic structural diagram of a barrage display system according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a content server according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 4 is a flowchart of a method for displaying a barrage according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of an object display area according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another object display area according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of still another object display area according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram showing the display of the first type of barrage according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram showing the display of a second type of barrage according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram showing the display of a third barrage content according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram showing the display of a fourth type of barrage according to an embodiment of the present application.
  • FIG. 12 is a flowchart of another method for displaying a barrage according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram showing the display of a fifth type of barrage according to an embodiment of the present application.
  • FIG. 14 is a flowchart of still another method for displaying a barrage according to an embodiment of the present application.
  • FIG. 15 is a schematic diagram of identifying a display object according to an embodiment of the present application.
  • 16 is a schematic diagram of determining an object display area according to an embodiment of the present application.
  • FIG. 17 is a flowchart of still another method for displaying a barrage according to an embodiment of the present application.
  • FIG. 18 is a schematic diagram showing the display of a sixth type of barrage according to an embodiment of the present application.
  • FIG. 19 is a schematic diagram showing the display of a seventh type of barrage according to an embodiment of the present application.
  • 20 is a schematic diagram showing the display of an eighth type of barrage according to an embodiment of the present application.
  • FIG. 21 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 22 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure.
  • FIG. 1 is a system architecture diagram of a barrage display system according to an embodiment of the present application.
  • the system includes a content server 101 and an electronic device 102.
  • the content server 101 and the electronic device 102 can communicate through a network.
  • the content server 101 may be a computer having a server function or the like for providing the electronic device 102 with network resources, such as multimedia resources.
  • the content server 101 includes a memory 1011, a processor 1012, a system bus 1013, a power supply component 1014, an input/output interface 1015, a communication component 1016, and the like.
  • the memory 1011 can be used to store data, software programs, and modules, and mainly includes a storage program area and a storage data area, the storage program area can store an operating system, an application required for at least one function, and the like, and the storage data area can store the content server 101. Use the data created, etc.
  • the processor 1012 performs various functions and processing data of the content server 101 by running or executing software programs and/or modules stored in the memory 1011, as well as invoking data stored in the memory 1011.
  • the system bus 1013 includes an address bus, a data bus, a control bus for transmitting data and instructions, a power supply component 1014 for providing power to various components of the content server 101, and an input/output interface 1015 between the processor 1012 and the peripheral interface module.
  • An interface is provided; the communication component 1016 is configured to perform wired or wireless communication between the content server 101 and other devices.
  • the content server 101 undertakes the key tasks of storing, forwarding, and publishing data, and is not available in various client/server (C/S) mode or browser/server (B/S) mode networks. An important part of the lack.
  • the electronic device 102 is configured to present content such as multimedia resources to the user, and may be a mobile phone, a tablet computer, a notebook, a portable device, or the like.
  • the electronic device 102 may include components such as a data interface unit 1021, a memory 1022, a processor 1023, an input unit 1024, and a display 1025.
  • the data interface unit 1021 may also be referred to as a communication interface for acquiring data from the network and transmitting the data to the memory 1022 and the processor 1023.
  • the memory 1022 can store partial data acquired by the data interface unit 1021 and provide the stored data to the processor 1023.
  • the processor 1023 can be used to process data from the data interface unit 1021, the memory 1022, and the input unit 1024 and transmit the data to the display 1025.
  • the input unit 1024 can be used to receive data sent by an input device, which can be a remote controller, a keyboard, or a touch panel or the like.
  • Display 1025 is used to display data from processor 1023 for presentation to a user, for example, display 1025 can be a liquid crystal display or the like.
  • FIG. 4 is a flowchart of a method for displaying a barrage according to an embodiment of the present application. The method is applied to an electronic device. Referring to FIG. 4, the method includes the following steps.
  • Step 201 Determine an object display area according to the target display object in the display image, and the target display object is located in the object display area.
  • the display image may be an image during video playback, an image in the MV of the song, or an image in web browsing.
  • the display image may be an image of a product when shopping online, in a circle of friends.
  • the target display object may include one or more display objects, and may refer to a main display object in the display image, and the main display object may be a part in the display image with clear focus or a prominent highlight, for example, in a landscape image. Characters, etc.
  • the target display object is generally relatively advanced, and may also be referred to as the foreground.
  • the target display object usually refers to a display object that cannot be covered by the contents of the barrage. If it is overwritten, it will affect the content transfer effect of the displayed image.
  • the object display area refers to an area for displaying a target display object, and the object display area can display the entire content of the target display object, and can also display part of the content of the target display object.
  • the object display area when the object display area is determined according to the target in the display image, the object display area can be determined by the following three different methods, as described below.
  • the first type directly determines the area occupied by the target display object as the object display area.
  • the area occupied by the target display object is directly determined as the object display area, so that the entire content of the target display object can be displayed in the object display area, and the object display area can be determined simply and quickly by the method.
  • the area obtained by expanding the contour of the target display object outward by the preset threshold according to the contour of the target display object is determined as the object display area.
  • the area obtained by expanding the contour of the target display object outward by the preset threshold is determined as the object display area, so that the entire content of the target display object can be displayed in the object display area, and can be effective. Separating the target display object from other content in the display image, so that the user can effectively capture the main content of the displayed image and reduce the interference of other content on the user.
  • the area obtained by displaying the contour of the target display object inward by the preset threshold is determined as the object display area according to the outline of the target display object.
  • the contour of the target display object may be inwardly contracted by the preset threshold according to the contour of the target display object.
  • the area is determined as the object display area.
  • the object display area determined by the method can be used to display the main content of the target display object, and the display area occupied by the target display object in the display image can be narrowed, so that the area for displaying the barrage content can be enlarged.
  • the preset threshold may be set in advance, and the preset threshold of the outward expansion in the second method and the preset threshold of the inward contraction in the third method may be the same or different, and the application is implemented. This example does not limit this.
  • Step 202 Determine a barrage display area according to the object display area, and the barrage display area does not intersect with the object display area.
  • the area other than the object display area in the display image may be determined as the barrage display area, so that the barrage display area and the object display area have no intersection, that is, the barrage display area and The object display area does not overlap.
  • the barrage display area may include at least one area, and each of the at least one area may be continuous or discontinuous, and each area may be used to display a barrage content.
  • the shape of each of the regions may be the same or different, and the shape may be regular or irregular.
  • the shape may be a regular polygon (for example, a triangle, a quadrangle), a circle, a fan, an ellipse, or the like, or may be an irregular polygon, a bubble, a cloud, or the like. limited.
  • Step 203 Display the content of the barrage in the barrage display area.
  • the barrage content may include one or more barrages, and the barrage content may be a comment published by a plurality of users on the display image or a multimedia resource related to the display image.
  • the barrage content may be displayed according to the barrage display area, so that the displayed barrage content does not overlap with the object display area of the display image, thereby avoiding the barrage content and the target display object. The mutual interference between them improves the user experience.
  • the content of the barrage is displayed in the display area of the barrage as shown in FIG. 8.
  • the shape of the display area of the barrage in FIG. 8 is merely exemplary and is not limited to the embodiment of the present application.
  • the display position of the barrage content in the barrage display area may be fixed.
  • the display position of the barrage content is moved in a scrolling manner in the barrage display area.
  • the barrage content includes a first barrage content and a second barrage content, the display position of the first barrage content is fixed, and the second barrage content is moved in a scrolling manner in the barrage display area.
  • the content of the barrage when the content of the barrage is displayed in a scrolling manner, it means that the content of the barrage can appear from one end of the display area of the barrage, and move at a constant speed in the horizontal direction at a continuous time and display to the other end of the barrage display area disappearing.
  • the moving direction may be moving from the right end to the left end or from the left end to the right end.
  • the bar display area includes a plurality of rectangular areas, and a rectangular area displays a barrage content as an example.
  • the barrage content does not scroll in the rectangular area. If the length of the barrage content exceeds the length of the rectangular area, it can be displayed in a new line.
  • the barrage content is displayed in a scrolling manner, as shown in FIG. 10, the barrage content can be moved in a horizontal direction in a rectangular area, and can be displayed in a single line.
  • the barrage display area may be a continuous area or a non-continuous area.
  • a barrage content can be displayed through the discontinuous area.
  • the single barrage content can be displayed off.
  • the barrage display area may be displayed in the display image or may not be displayed in the display image.
  • the different barrage display time, the shape of the barrage display area, and the barrage display mode can be used to distinguish the highlights of the multiple barrage. For example, you can extend the display time of the wonderful barrage content, or display the wonderful barrage content through the special shape of the barrage display area such as bubble shape or cloud shape, or display the wonderful barrage content in a scrolling manner to fix the position.
  • the method displays the contents of the ordinary barrage, etc., in order to improve the recognition of the wonderful barrage, thereby improving the user experience.
  • step 204 the method further includes: step 204.
  • Step 204 If it is detected that the position of the target display object changes, a new barrage display area is determined.
  • the position of the displayed object moves.
  • the person in the display image moves from the middle of the screen to the edge of the screen. Therefore, the content of the barrage can be adjusted by adjusting the display area of the barrage.
  • the target display object moves the trajectory accordingly, so that the position of the target display object changes, the content of the barrage displayed in the barrage display area does not affect the presentation of the target display object in the display image.
  • the position of the target display object in the display image may be detected. If the position of the target display object is detected to be changed, the position of the object display area may be adjusted correspondingly, and a new barrage display area is determined for displaying the bullet. Curtain content.
  • the position of the target display object may be detected according to a fixed time interval, and if the change value of the position reaches the preset position threshold, the new barrage display area is determined.
  • the content of the barrage displayed in the display area of the barrage can be adjusted to adapt to the change of the display area of the barrage.
  • the determined position of the new barrage display area can be as shown in FIG. 13, and the barrage content displayed in the barrage display area is simultaneously displayed.
  • the corresponding adjustments have also been made.
  • the position of the new barrage display area determined in FIG. 13 and the adjustment of the barrage content are merely exemplary and are not intended to limit the embodiments of the present application.
  • the barrage display method provided in the foregoing steps 201-203 may be real-time or may be performed according to a preset period.
  • the barrage display is performed in real time according to the above method, it is not necessary to determine a new barrage display area by the above-described step 204.
  • the new barrage display area may be determined according to the position change of the target display object by the above step 204.
  • step 201 the method further includes: step 200a - step 200b.
  • Step 200a Identify at least one display object included in the display image.
  • At least one display object may include one or more display objects, which may be characters, animals, or other things, and the like.
  • the display image may include one or more characters, and may also include one or more other things.
  • the display image when identifying at least one display object included in the display image, the display image may be segmented into super pixel blocks with local color proximity and texture similarity by using front and rear scene image segmentation technology, and the classification area of each super pixel block may be There are three types: all for the foreground, all for the background, and some partial and partial backgrounds. Then, based on the super pixel block, the classification recognition of the foreground and the front is performed to determine that each super speeding block is a foreground or a background. For example, the super pixel block can be classified and identified by a classifier obtained by the foreground and the scene training.
  • the spatio-temporal CRF module is built and optimized by Graph Cut to realize accurate pixel-level segmentation of the front and back of the displayed image, and at least one display object finally obtained is obtained.
  • the result of segmentation and classifier recognition of the display image as shown in (a) of FIG. 15 is as shown in FIG. 15(b), and then the result of CRF optimization is as shown in FIG. 15 ( c), at least one display object obtained by accurately dividing the display image according to the area shown in (c) of FIG. 15 is as shown in (d) of FIG.
  • the identifier for performing front and rear scene classification and recognition may be updated in time according to the segmented result to adapt to the change of the foreground and the scene.
  • the foregoing method for specifically identifying at least one display object included in the display image may be referred to the related art, which is not described in detail in the embodiment of the present application.
  • Step 200b Determine a target display object in the display image according to a display parameter of the at least one display object, the display parameter including a display position or a display size.
  • the target display object is one of the at least one display object, and may also be a plurality of display objects.
  • the target display object may be selected from the at least one display object according to the display parameter of each display object in the at least one display object.
  • the display parameter can be a display position or a display size or the like.
  • the display position of one display object refers to the position of the display object in the display image
  • the display size of one display object may refer to the size of the area occupied by the display object in the display image.
  • the display position or display size of each display object can quickly and effectively determine the target display object, improve the efficiency of determining the target display object from at least one display object, and ensure that the important display object in the display image is not blocked by the barrage content. Coverage does not affect the user's appreciation of important content in the displayed image.
  • the display object located in the designated area of the display image of the at least one display object may be determined as the target display object in the display image.
  • the main display object is located in the middle area of the display image, so the designated area may be an intermediate area in the horizontal or vertical direction of the display image, and the length and width of the designated area may be set in advance (for example, The length of the specified area can be 1/3 of the length of the displayed image, and the width is 1/3 of the width of the displayed image. Or the specified area is set by the user.
  • the user can use the touch panel, mouse, keyboard, remote control or empty mouse focus.
  • the input device determines the designated area, for example, the user can determine a boundary line or a boundary point of the designated area or the like through the input device to set the designated area.
  • the display object whose display size in the at least one display object is greater than or equal to the first threshold is determined as the target display object in the display image.
  • the main display object has a corresponding display size which is generally large. Therefore, by comparing the display size of each display object with a first threshold set in advance, a greater than or equal to the first is selected from the at least one display object.
  • the display object of the threshold is displayed as a target.
  • the first threshold may be set to a fixed value, for example, the pixel size is 400*300, and may also be determined according to the size of the displayed image.
  • the first threshold may be 1/3 of the length of the display image and 1/3 of the width. The setting is not limited by the embodiment of the present application.
  • the method further includes: Step 205.
  • the step 205 and the above steps 201-203 are not in the order, and the step 205 is shown in FIG. 17 as an example.
  • Step 205 If the preset condition is met, the new barrage display area is re-determined, and the barrage content is displayed in the new barrage display area.
  • the preset condition may include one of the following conditions: the duration of the display of the barrage content is greater than or equal to the preset time, and the display image changes.
  • the display area of the barrage may be re-determined when the duration of the display of the barrage content is greater than or equal to the preset time, or when the display image changes.
  • the barrage content is displayed in the determined new barrage display area.
  • the preset time may be set in advance, or may be set by the user during the display and display of the displayed image, which is not limited in this embodiment of the present application.
  • the preset condition may be that the duration of the display of the barrage content is greater than or equal to the preset time, so that the barrage display area may be re-determined every preset time, and the re-determined barrage is performed.
  • the corresponding display barrage content in the display area is such that the barrage display area changes as the displayed image in the video changes, thereby preventing the barrage content from interfering with the target display object in the display image.
  • the preset condition may be a change in the displayed image.
  • the user plays the song, if the current song ends and switches to the next song, the corresponding display image of the song changes, by re-determining the new barrage display area, And display the barrage content, which allows the user to browse to other users' comments or comments on playing the song.
  • FIG. 18 shows that when the user plays the song, if the current song ends and switches to the next song, the corresponding display image of the song changes, by re-determining the new barrage display area, And display the barrage content, which allows the user to browse to other users' comments or comments on playing the song.
  • the new barrage display area is newly determined. And display the contents of the barrage, which allows the user to view the evaluation of the products published by other users to help the user to make a selection.
  • the new barrage display area can be re-determined and the corresponding barrage content can be displayed when the display image of the book cover changes. The user views other users' comments on the currently displayed image to improve the user experience.
  • the object display area for displaying the target display object is determined according to the target display object in the display image, and then the barrage display area is determined according to the object display area, and the barrage display area and the object display area are absent.
  • the intersection is such that the content of the barrage displayed in the display area of the barrage does not overlap with the target display object in the display image, thereby avoiding the problem that the content of the barrage causes interference to the user, thereby improving the user experience.
  • a device such as an electronic device, includes hardware structures and/or software modules for performing the respective functions in order to implement the above functions.
  • a device such as an electronic device
  • the embodiments of the present application can be implemented in a combination of hardware or hardware and computer software in conjunction with the apparatus and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • the embodiment of the present application may perform the division of the function module on the electronic device according to the above method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and may be further divided in actual implementation.
  • FIG. 21 is a schematic diagram showing a possible structure of an electronic device involved in the foregoing embodiment.
  • the electronic device 300 includes a determining unit 301 and a display unit 302.
  • the determining unit 301 is configured to perform step 201-step 202 in FIG. 4, step 201-step 202 and step 204 in FIG. 12, step 200b-step 202 and step 204 in FIG. 14, and steps in FIG. 201 - Step 202 and Step 205;
  • the display unit 302 is operative to perform step 203 in Figures 4, 12, 14 and 17.
  • the electronic device 300 may further include: an identifying unit 303 for performing step 200a in FIG. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional description of the corresponding functional modules, and details are not described herein again.
  • the above determining unit 301 and the identifying unit 303 may be processors, and the display unit 302 may be a display.
  • FIG. 22 is a schematic diagram showing a possible logical structure of an electronic device 310 involved in the foregoing embodiment provided by the embodiment of the present application.
  • the electronic device 310 includes a memory 311, a processor 312, a communication interface 313, a display 314, and a bus 315.
  • the memory 311, the processor 312, the communication interface 313, and the display 314 are connected to one another via a bus 315.
  • the processor 312 is configured to perform control management on the actions of the electronic device 310.
  • the processor 312 is configured to perform step 201-step 202 in FIG. 4, step 201-step 202 and steps in FIG.
  • Communication interface 313 is used to support electronic device 310 for communication.
  • the memory 311 is configured to store program codes and data of the electronic device 310.
  • the display 314 is used to support the electronic device to implement the display function.
  • the processor 312 can be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, combinations of digital signal processors and microprocessors, and the like.
  • the bus 315 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • a computer readable storage medium having stored therein computer executed instructions, when the at least one processor of the device executes the computer to execute an instruction, the device executes FIG. 4
  • a computer program product comprising computer executed instructions stored in a computer readable storage medium; at least one processor of the device may be Reading the storage medium reads the computer execution instructions, and the at least one processor executing the computer execution instructions causes the apparatus to implement the barrage display method provided by FIG. 4, FIG. 12, FIG. 14, or FIG.
  • the object display area for displaying the target display object is determined according to the target display object in the display image, and then the barrage display area is determined according to the object display area, and the barrage display area and the object display area are absent.
  • the intersection is such that the content of the barrage displayed in the display area of the barrage does not overlap with the target display object in the display image, thereby avoiding the problem that the content of the barrage causes interference to the user, thereby improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Image Analysis (AREA)

Abstract

本申请实施例提供一种弹幕显示方法及电子设备,涉及多媒体技术领域,解决了现有技术中弹幕内容对用户造成干扰的问题,提高了用户体验。该方法包括:根据显示图像中的目标显示物体,确定物体显示区域,所述目标显示物体位于所述物体显示区域中;根据所述物体显示区域,确定弹幕显示区域,所述弹幕显示区域与所述物体显示区域无交集;在所述弹幕显示区域中显示弹幕内容。

Description

一种弹幕显示方法及电子设备
本申请要求于2017年04月28日提交中国专利局、申请号为201710297516.0、申请名称为“一种弹幕显示方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及多媒体技术领域,尤其涉及一种弹幕显示方法及电子设备。
背景技术
在视频播放过程中,大量以字幕形式同时显示的评论叫作弹幕。通常弹幕都是在屏幕的上方或下方进行显示,比如,弹幕可以根据时间线从屏幕上方的一侧以固定速度飘过,或者显示在屏幕的下方且显示一段时间后消失。但是,弹幕显示在屏幕的上方或下方,一般都会遮挡视频播放过程中视频图像的部分画面,当弹幕比较多且比较密集时,通常会遮挡住视频图像的大部分画面。因此,会对用户观看视频造成干扰,同时大量密集的弹幕也不易阅读,进而降低了用户体验。
发明内容
本申请的实施例提供一种弹幕显示方法及电子设备,解决了现有技术中弹幕内容对用户造成干扰的问题,提高了用户体验。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,提供一种弹幕显示方法,该方法包括:根据显示图像中的目标显示物体,确定物体显示区域,该目标显示物体位于物体显示区域中;根据物体显示区域,确定弹幕显示区域,该弹幕显示区域与物体显示区域无交集;在弹幕显示区域中显示弹幕内容。上述技术方案中确定的弹幕显示区域与物体显示区域无交集,从而在该弹幕显示区域中显示的弹幕内容与显示图像中的目标显示物体不发生重叠,进而避免了弹幕内容给用户造成干扰的问题,提高了用户体验。
结合第一方面,在第一方面的第一种可能的实现方式中,该方法还包括:若检测到目标显示物体的位置发生变化,则确定新的弹幕显示区域。上述可能的实现方式中,在目标显示物体的位置发生移动的情况,比如,显示图像中的人物从屏幕中间向屏幕边缘移动,因此,可以通过调节弹幕显示区域的方式,使得弹幕内容跟随目标显示物体的移动轨迹进行相应的移动,从而保证弹幕显示区域中显示的弹幕内容不影响显示图像中目标显示物体的呈现。
结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,弹幕内容的显示位置固定;或者,弹幕内容的显示位置以滚动的方式在弹幕显示区域中移动;或者,弹幕内容包括第一弹幕内容和第二弹幕内容,第一弹幕内容的显示位置固定,第二弹幕内容以滚动的方式在弹幕显示区域中移动。上述可能的实现方式中,提供了几种可能的弹幕内容的显示方式,即可以通过显示位置固定的方式和/或以滚动的方式进行弹幕内容的显示。
结合第一方面至第一方面的第二种可能的实现方式中的任一种可能的实现方式,在第一方面的第三种可能的实现方式中,根据显示图像中的目标显示物体,确定物体显示区域,包括:根据目标显示物体的轮廓,将目标显示物体的轮廓向外扩展预设阈值后得到的区域,确定为物体显示区域;或者,根据目标显示物体的轮廓,将目标显示物体的轮廓向内收缩预设阈值后得到的区域,确定为物体显示区域。上述可能的实现方式中,
结合第一方面至第一方面的第三种可能的实现方式中的任一种可能的实现方式,在第一方面的第四种可能的实现方式中,在根据显示图像中的目标显示物体,确定物体显示区域之前,该方法还包括:识别显示图像中包括的至少一个显示物体;根据至少一个显示物体的显示参数,确定至少一个显示物体中的目标显示物体,显示参数包括显示位置或显示尺寸。上述可能的实现方式中,通过从识别出的至少一个显示物体中根据显示参数选择目标显示物体,可以保证显示图像中重要的显示物体不被弹幕内容所覆盖,从而在显示图像和弹幕内容同时显示时,不影响用户对于显示图像中重要内容的欣赏,避免给用户造成干扰。
结合第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,显示参数包括显示位置,根据至少一个显示物体的显示参数,确定至少一个显示物体中的该目标显示物体,包括:将至少一个显示物体中位于显示图像的指定区域的显示物体确定为显示图像中的目标显示物体;或者,显示参数包括显示尺寸,根据至少一个显示物体的显示参数,确定至少一个显示物体中的目标显示物体,包括:将至少一个显示物体中显示尺寸大于或等于第一阈值的显示物体确定为显示图像中的目标显示物体。上述可能的实现方式中,提供了两种可能的确定目标显示物体的方法,通过上述方法可以快速有效的确定目标显示物体,从而提高从至少一个显示物体中确定目标显示物体的效率。
结合第一方面至第一方面的第五种可能的实现方式中的任一种可能的实现方式,在第一方面的第六种可能的实现方式中,该方法还包括:若满足预设条件,则重新确定新的弹幕显示区域,并在新的弹幕显示区域中显示弹幕内容;其中,预设条件包括以下条件中的一个:弹幕内容显示的持续时间大于或等于预设时间、显示图像发生变化。上述可能的实现方式中,在弹幕内容显示的持续时间大于或等于预设时间、或者在显示图像发生变化时,则重新确定新的弹幕显示区域,并在新的弹幕显示区域中显示弹幕内容,与实时确定弹幕显示区域相比,可以在保证弹幕显示区域确定的准确性的同时,减小设备的工作量,延长使用时间。
第二方面,提供一种电子设备,该电子设备包括:确定单元,用于根据显示图像中的目标显示物体,确定物体显示区域,该目标显示物体位于物体显示区域中;确定单元,还用于根据物体显示区域,确定弹幕显示区域,该弹幕显示区域与物体显示区域无交集;显示单元,用于在弹幕显示区域中显示弹幕内容。
结合第二方面,在第二方面的第一种可能的实现方式中,确定单元还用于:若检测到该目标显示物体的位置发生变化,则确定新的弹幕显示区域。
结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,弹幕内容的显示位置固定;或者,弹幕内容的显示位置以滚动的方式 在弹幕显示区域中移动;或者,弹幕内容包括第一弹幕内容和第二弹幕内容,第一弹幕内容的显示位置固定,第二弹幕内容以滚动的方式在弹幕显示区域中移动。
结合第二方面至第二方面的第二种可能的实现方式中的任一种可能的实现方式,在第二方面的第三种可能的实现方式中,确定单元用于:根据目标显示物体的轮廓,将目标显示物体的轮廓向外扩展预设阈值后得到的区域,确定为物体显示区域;或者,根据目标显示物体的轮廓,将目标显示物体的轮廓向内收缩预设阈值后得到的区域,确定为物体显示区域。
结合第二方面至第二方面的第三种可能的实现方式中的任一种可能的实现方式,在第一方面的第四种可能的实现方式中,该电子设备还包括:识别单元,用于识别显示图像中包括的至少一个显示物体;确定单元,还用于根据至少一个显示物体的显示参数,确定至少一个显示物体中的目标显示物体,显示参数包括显示位置或显示尺寸。
结合第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,显示参数包括显示位置,确定单元用于:将至少一个显示物体中位于显示图像的指定区域的显示物体确定为显示图像中的目标显示物体;或者,显示参数包括显示尺寸,确定单元用于:将至少一个显示物体中显示尺寸大于或等于第一阈值的显示物体确定为显示图像中的目标显示物体。
结合第二方面至第二方面的第五种可能的实现方式中的任一种可能的实现方式,在第二方面的第六种可能的实现方式中,确定单元还用于:若满足预设条件,则重新确定新的弹幕显示区域,并在新的弹幕显示区域中显示弹幕内容;其中,预设条件包括以下条件中的一个:弹幕内容显示的持续时间大于或等于预设时间、显示图像发生变化。
第三方面,提供一种电子设备,该电子设备包括存储器、处理器、显示器、通信接口和总线,存储器中存储代码和数据,处理器、存储器、显示器和通信接口通过总线连接,处理器运行存储器中的代码使得该电子设备执行上述第一方面至第一方面的第六种可能的实现方式中的任一项所提供的弹幕显示方法。
第四方面,提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当设备的至少一个处理器执行该计算机执行指令时,设备执行上述第一方面或者第一方面的任一种可能的实现方式所提供的弹幕显示方法。
第五方面,提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中;设备的至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,至少一个处理器执行该计算机执行指令使得设备实施上述第一方面或者第一方面的任一种可能的实现方式所提供的弹幕显示方法。
可以理解地,上述提供的任一种弹幕显示方法的电子设备、计算机存储介质或者计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
附图说明
图1为本申请实施例提供的一种弹幕显示系统的结构示意图;
图2为本申请实施例提供的一种内容服务器的结构示意图;
图3为本申请实施例提供的一种电子设备的结构示意图;
图4为本申请实施例提供的一种弹幕显示方法的流程图;
图5为本申请实施例提供的一种物体显示区域的示意图;
图6为本申请实施例提供的另一种物体显示区域的示意图;
图7为本申请实施例提供的又一种物体显示区域的示意图;
图8为本申请实施例提供的第一种弹幕内容的显示示意图;
图9为本申请实施例提供的第二种弹幕内容的显示示意图;
图10为本申请实施例提供的第三种弹幕内容的显示示意图;
图11为本申请实施例提供的第四种弹幕内容的显示示意图;
图12为本申请实施例提供的另一种弹幕显示方法的流程图;
图13为本申请实施例提供的第五种弹幕内容的显示示意图;
图14为本申请实施例提供的又一种弹幕显示方法的流程图;
图15为本申请实施例提供的一种识别显示物体的示意图;
图16为本申请实施例提供的一种确定物体显示区域的示意图;
图17为本申请实施例提供的再一种弹幕显示方法的流程图;
图18为本申请实施例提供的第六种弹幕内容的显示示意图;
图19为本申请实施例提供的第七种弹幕内容的显示示意图;
图20为本申请实施例提供的第八种弹幕内容的显示示意图;
图21为本申请实施例提供的一种电子设备的结构示意图;
图22为本申请实施例提供的另一种电子设备的结构示意图。
具体实施方式
图1为本申请实施例提供的一种弹幕显示系统的系统架构图,参见图1,该系统包括内容服务器101和电子设备102,内容服务器101与电子设备102之间可以通过网络进行通信。
其中,内容服务器101可以是具有服务器功能的计算机等,用于为电子设备102提供网络资源,比如,多媒体资源等。参见图2,内容服务器101包括存储器1011、处理器1012、系统总线1013、电源组件1014、输入\输出接口1015和通信组件1016等。其中,存储器1011可用于存储数据、软件程序以及模块,主要包括存储程序区和存储数据区,存储程序区可存储操作系统、至少一个功能所需的应用程序等,存储数据区可存储内容服务器101的使用所创建的数据等。处理器1012通过运行或执行存储在存储器1011内的软件程序和/或模块,以及调用存储在存储器1011内的数据,执行内容服务器101的各种功能和处理数据。系统总线1013包括地址总线、数据总线、控制总线,用于传输数据和指令;电源组件1014用于为内容服务器101的各个组件提供电源;输入\输出接口1015为处理器1012和外围接口模块之间提供接口;通信组件1016用于为内容服务器101和其他设备之间进行有线或无线方式的通信。在该系统中,内容服务器101承担着数据的存储、转发、发布等关键任务,是各类基于客户机/服务器(C/S)模式或者浏览器/服务器(B/S)模式网络中不可或缺的重要组成部分。
电子设备102用于呈现多媒体资源等内容给用户,可以是手机、平板电脑、笔记本、以及便携式设备等等。参见图3,电子设备102可以包括:数据接口单元1021、 存储器1022、处理器1023、输入单元1024和显示器1025等部件。其中,数据接口单元1021也可以称为通信接口,用于获取来自网络的数据,并将数据传输给存储器1022和处理器1023。存储器1022可以将数据接口单元1021获取来的部分数据存起来,以及将存储的数据提供给处理器1023。处理器1023可用于处理来自数据接口单元1021、存储器1022和输入单元1024的数据,并将数据传输给显示器1025。输入单元1024可用于接收输入设备发送的数据,该输入设备可以是遥控器、键盘、或者触控面板等等。显示器1025用于将来自处理器1023的数据进行显示,以呈现给用户,比如,该显示器1025可以是液晶显示屏等。
图4为本申请实施例提供的一种弹幕显示方法的流程图,应用于电子设备,参见图4,该方法包括以下几个步骤。
步骤201:根据显示图像中的目标显示物体,确定物体显示区域,该目标显示物体位于物体显示区域中。
其中,显示图像可以是视频播放过程中的图像,也可以是歌曲的MV中的图像,又或者是网页浏览中的图像,比如,该显示图像可以是网上购物时的商品图像、朋友圈中的图像、电子相册中的图像、或者是电子书中的书籍封面图像等。
另外,目标显示物体可以包括一个或者多个显示物体,且可以是指显示图像中的主要显示物体,该主要显示物体可以是显示图像中聚焦清晰、或剧情着重突出的部分,比如,风景图像中的人物等。具体的,从显示位置上而言,目标显示物体一般比较靠前,也可以称其为前景。从覆盖属性上而言,目标显示物体通常是指弹幕内容不能覆盖的显示物体,如果被覆盖,则会影响显示图像的内容传递效果。物体显示区域是指用于显示目标显示物体的区域,该物体显示区域可以显示目标显示物体的全部内容,也可以显示目标显示物体的部分内容。
具体的,当根据显示图像中的目标显示物体,确定物体显示区域时,可以通过以下三种不同的方法进行确定,具体如下所述。
第一种、如图5所示,将目标显示物体所占用的区域直接确定为物体显示区域。
其中,将目标显示物体所占用的区域直接确定为物体显示区域,从而目标显示物体的全部内容可以显示在物体显示区域中,通过该方法可以简单快速的确定物体显示区域。
第二种、如图6所示,根据目标显示物体的轮廓,将目标显示物体的轮廓向外扩展预设阈值后得到的区域,确定为物体显示区域。
其中,根据目标显示物体的轮廓,将目标显示物体的轮廓向外扩展预设阈值后得到的区域确定为物体显示区域,从而目标显示物体的全部内容可以显示在物体显示区域中,且可以有效的将目标显示物体与显示图像中的其他内容分离开来,以便于用户有效的捕获显示图像的主要内容,减少其他内容对用户的干扰。
第三种、如图7所示,根据目标显示物体的轮廓,将目标显示物体的轮廓向内收缩预设阈值后得到的区域,确定为物体显示区域。
其中,当目标显示物体所占用的区域较大,且其边缘的内容不是目标显示物体的主要内容时,可以根据目标显示物体的轮廓,将目标显示物体的轮廓向内收缩预设阈值后得到的区域确定为物体显示区域。通过该方法确定的物体显示区域可用于显示目 标显示物体的主要内容,且可以缩小目标显示物体在显示图像中所占的显示区域,从而可以增大用于显示弹幕内容的区域。
需要说明的是,预设阈值可以事先进行设置,且上述第二种方法中向外扩展的预设阈值和第三种方法中向内收缩的预设阈值可以相同,也可以不同,本申请实施例对此不作限定。
步骤202:根据物体显示区域,确定弹幕显示区域,该弹幕显示区域与物体显示区域无交集。
具体的,当确定物体显示区域后,可以将显示图像中除物体显示区域之外的其他区域确定为弹幕显示区域,从而使得弹幕显示区域与物体显示区域无交集,即弹幕显示区域与物体显示区域不发生重叠。
可选的,该弹幕显示区域可以包括至少一个区域,且至少一个区域中的每个区域可以是连续的,也可以是不连续的,每个区域可以用于显示一条弹幕内容。另外,每个区域的形状可以是相同的,也可以是不同的,且其形状可以是规则的,也可以是不规则的。比如,该形状可以是规则的多边形(比如,三角形、四边形)、圆形、扇形、椭圆形等等,也可以是不规则的多边形、气泡形、云朵形等等,本申请实施例对此不作限定。
步骤203:在该弹幕显示区域中显示弹幕内容。
其中,该弹幕内容可以包括一条或者多条弹幕,该弹幕内容可以是多个用户在观看该显示图像或者与该显示图像有关的多媒体资源发表的评论。当确定弹幕显示区域之后,可以根据在该弹幕显示区域中显示弹幕内容,以使显示后的弹幕内容与显示图像的物体显示区域不发生重叠,从而避免弹幕内容与目标显示物体之间的相互干扰,提高了用户体验。比如,在如图8所示的弹幕显示区域中显示弹幕内容,图8中弹幕显示区域的形状仅为示例性的,并不对本申请实施例构成限定。
具体的,该弹幕内容在弹幕显示区域中的显示位置可以是固定。或者,该弹幕内容的显示位置以滚动的方式在弹幕显示区域中移动。或者,该弹幕内容包括第一弹幕内容和第二弹幕内容,第一弹幕内容的显示位置固定,第二弹幕内容以滚动的方式在弹幕显示区域中移动。
其中,当弹幕内容以滚动的方式进行显示时,是指该弹幕内容可以从弹幕显示区域的一端出现,在连续时刻沿着水平方向匀速移动并显示到弹幕显示区域另一端消失,该移动方向可以是从右端向左端移动、或从左端向右端移动。
比如,以弹幕显示区域包括多个矩形区域,一个矩形区域显示一条弹幕内容为例,当弹幕内容的显示位置固定时,如图9所示,弹幕内容在矩形区域内不滚动,若弹幕内容的长度超出矩形区域的长度,则可以换行显示。当弹幕内容以滚动的方式显示时,如图10所示,该条弹幕内容在矩形区域内可以沿着水平方向移动,且可以为单行显示。
另外,弹幕显示区域可以为连续区域,也可以为非连续区域。当弹幕显示区域为非连续区域时,通过该非连续区域可以显示一条弹幕内容,如图11所示,当弹幕显示区域被物体显示区域隔断时,则可以将单条弹幕内容隔断显示,即弹幕内容移动到物体显示区域的边缘时即停止显示,判断水平方向上物体显示区域的停止位置,并在此停止位置处继续显示被隔断的弹幕内容。
在本申请实施例中,弹幕显示区域可以显示在显示图像中,也可以不显示在显示图像中。此外,还可以通过不同的弹幕显示时间、弹幕显示区域的形状、以及弹幕显示方式等区分多条弹幕中的精彩弹幕内容。比如,可以延长精彩弹幕内容的显示时间,或者通过气泡形、云朵形等特殊形状的弹幕显示区域显示精彩的弹幕内容,或者以滚动的方式显示精彩的弹幕内容,以固定位置的方式显示普通弹幕内容等等,以提高精彩弹幕的辨识度,进而提高用户体验。
进一步的,参见图12,在步骤203之后,该方法还包括:步骤204。
步骤204:若检测到目标显示物体的位置发生变化,则确定新的弹幕显示区域。
通常在视频播放过程中,会存在显示物体的位置发生移动的情况,比如,显示图像中的人物从屏幕中间向屏幕边缘移动,因此,可以通过调节弹幕显示区域的方式,使得弹幕内容跟随目标显示物体的移动轨迹进行相应的移动,从而使得目标显示物体的位置发生变化时,弹幕显示区域中显示的弹幕内容不影响显示图像中目标显示物体的呈现。
具体的,可以对显示图像中目标显示物体的位置进行检测,若检测到目标显示物体的位置发生变化,则可以相应调整物体显示区域的位置,并确定新的弹幕显示区域,用于显示弹幕内容。可选的,可以按照固定时间间隔对目标显示物体的位置进行检测,若其位置的变化值达到预设位置阈值时,则确定新的弹幕显示区域。相应的,还可以对弹幕显示区域中显示的弹幕内容进行一定的调整,使其适应弹幕显示区域的变化。
比如,如图8所示的物体显示区域的位置从中间移动至右边缘时,确定的新的弹幕显示区域的位置可以如图13所示,同时对弹幕显示区域中显示的弹幕内容也进行了相应的调整。图13中确定的新的弹幕显示区域的位置,以及对弹幕内容的调整仅为示例性的,并不对本申请实施例构成限定。
其中,上述步骤201-步骤203所提供的弹幕显示方法可以是实时的,也可以是按照预设周期进行的。当根据上述方法实时的进行弹幕显示时,则无需通过上述步骤204确定新的弹幕显示区域。当根据上述方法按照预设周期进行弹幕显示时,可以通过上述步骤204根据目标显示物体的位置变化,确定新的弹幕显示区域。
进一步的,参见图14,在步骤201之前,所述方法还包括:步骤200a-步骤200b。
步骤200a:识别显示图像中包括的至少一个显示物体。
其中,至少一个显示物体可以包括一个或者多个显示物体,该显示物体可以人物、动物、或者其他事物等等。比如,显示图像中可以包括一个或者多个人物,也可以包括一个或者多个其他事物等。
具体的,当识别显示图像包括的至少一个显示物体时,可以通过前后景图像分割技术将显示图像分割成局部颜色接近、纹理相似度接近的超级像素块,每个超级像素块的分类区中可以包括三种:全部为前景、全部为背景、以及包含部分前景和部分背景。然后,基于超级像素块进行前后景的分类识别,以确定每个超级超速块为前景或者背景,比如,可以通过前后景训练得到的分类器,对超级像素块进行分类识别。最后,结合显示图像的时空局部信息,建立时空CRF模块,并通过Graph Cut最优化求解,实现显示图像的前后景精确的像素级分割,获得最终分割出的至少一个显示物体。
比如,将如图15中(a)所示的显示图像,进行分割、分类器识别后得到的结果 如图15中(b)所示,之后对其进行CRF优化后的结果如图15中(c)所示,根据图15中(c)所示的区域对显示图像进行精确分割后得到的至少一个显示物体如图15中(d)所示。
需要说明的是,上述进行前后景分类识别的识别器可以根据分割后的结果进行及时更新,以使其适应前后景的变化。另外,上述具体识别显示图像中包括的至少一个显示物体的方法可以参考相关技术,本申请实施例对此不作详细阐述。
步骤200b:根据至少一个显示物体的显示参数,确定显示图像中的目标显示物体,该显示参数包括显示位置或显示尺寸。
其中,目标显示物体为至少一个显示物体中的一个显示物体,也可以多个显示物体。本申请实施例中,可以根据至少一个显示物体中每个显示物体的显示参数,从至少一个显示物体中筛选出目标显示物体。该显示参数可以为显示位置或者显示尺寸等。其中,一个显示物体的显示位置是指该显示物体在显示图像中的位置,一个显示物体的显示尺寸可以是指该显示物体在显示图像中所占用的面积大小。通过每个显示物体的显示位置或者显示尺寸可以快速有效的确定目标显示物体,提高从至少一个显示物体中确定目标显示物体的效率,同时可以保证显示图像中重要的显示物体不被弹幕内容所覆盖,不影响用户对于显示图像中重要内容的欣赏。
具体的,若显示参数包括显示位置,则可以将至少一个显示物体中位于显示图像的指定区域的显示物体确定为显示图像中的目标显示物体。如图16所示,通常主要的显示物体都位于显示图像的中间区域,因此该指定区域可以是显示图像中横向或者纵向的中间区域,该指定区域的长度和宽度可以事先进行设置(比如,该指定区域的长度可以为显示图像长度的1/3、宽度为显示图像宽度的1/3),或者该指定区域由用户设置,用户可以通过触控面板、鼠标、键盘、遥控器或者空鼠焦点等输入设备确定该指定区域,比如用户可以通过这些输入设备确定该指定区域的边界线或者边界点等等,以设置该指定区域。
或者,若显示参数包括显示尺寸,则将至少一个显示物体中显示尺寸大于或等于第一阈值的显示物体确定为显示图像中的目标显示物体。通常,主要的显示物体其对应的显示尺寸一般比较大,因此,通过将每个显示物体的显示尺寸与事先设置的第一阈值进行比较,以从至少一个显示物体中筛选出大于或者等于第一阈值的显示物体作为目标显示物体。其中,第一阈值可以设置为固定值,比如像素大小为400*300,也可以根据显示图像的大小进行确定,比如,第一阈值可以是显示图像长度的1/3、以及宽度的1/3,或者由用户进行设置等,本申请实施例对此不作限定。
进一步的,参见图17,该方法还包括:步骤205。其中,步骤205与上述步骤201-步骤203不分先后顺序,图17中以步骤205位于步骤203之后为例进行说明。
步骤205:若满足预设条件,则重新确定新的弹幕显示区域,并在新的弹幕显示区域中显示弹幕内容。预设条件可以包括以下条件中的一个:弹幕内容显示的持续时间大于或等于预设时间、显示图像发生变化。
具体的,在视频播放或者其他显示图像的播放显示过程中,可以在弹幕内容显示的持续时间大于或者等于预设时间、或者在显示图像发生变化时,对弹幕显示区域进行重新确定,并在确定的新的弹幕显示区域中显示弹幕内容。其中,该预设时间可以 事先进行设置,也可以由用户在显示图像的播放显示过程中进行设置,本申请实施例对此不作限定。
比如,在视频播放过程中,该预设条件可以为弹幕内容显示的持续时间大于或等于预设时间,从而可以每隔预设时间重新确定一次弹幕显示区域,并在重新确定的弹幕显示区域中相应的显示弹幕内容,以使弹幕显示区域随着视频中显示图像的变化而改变,避免弹幕内容与显示图像中的目标显示物体发生干扰。
再比如,在用户播放歌曲、网上购物、阅读书籍、或者浏览新闻、朋友圈或者电子相册等互联网信息(比如,浏览)的过程中,该预设条件可以为显示图像发生变化。具体的,如图18所示,当用户播放歌曲时,若当前歌曲播放结束且切换为下一首歌曲时,相应的歌曲对应的显示图像会发生变化,通过重新确定新的弹幕显示区域,并显示弹幕内容,可以使用户浏览到其它用户对播放歌曲的评论或意见。如图19所示,当用户进行网上购物时,若用户选择不同的商品、型号、款式或者不同部位的细节进行查看时,会显示与用户操作对应的图像,通过重新确定新的弹幕显示区域,并显示弹幕内容,可以使用户查看到其他用户发表的商品评价,以帮助用户进行选择。如图20所示,当用户阅读书籍,且在不同书籍之间切换时,可以在书籍封面的显示图像发生变化时,通过重新确定新的弹幕显示区域,并显示相应的弹幕内容,使得用户查看到其他用户对于当前显示图像的评论,提高用户体验。
在本申请实施例中,根据显示图像中的目标显示物体,确定用于显示目标显示物体的物体显示区域,再根据物体显示区域,确定弹幕显示区域,该弹幕显示区域与物体显示区域无交集,从而在该弹幕显示区域中显示的弹幕内容与显示图像中的目标显示物体不发生重叠,进而避免了弹幕内容给用户造成干扰的问题,提高了用户体验。
上述主要从设备的角度对本申请实施例提供的方案进行了介绍。可以理解的是,设备,例如电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的设备及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请的实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请的实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图21示出了上述实施例中所涉及的电子设备的一种可能的结构示意图,电子设备300包括:确定单元301和显示单元302。其中,确定单元301用于执行图4中的步骤201-步骤202、图12中的步骤201-步骤202和步骤204、图14中的步骤200b-步骤202和步骤204,以及图17中的步骤201-步骤202和步骤205;显示单元302用于执行图4、图12、图14和图17中的步骤203。进一步的,电子设备300还可以包括:识别单元303,识别单元303用于执行图 14中的步骤200a。上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在硬件实现上,上述确定单元301和识别单元303可以为处理器,显示单元302可以为显示器。
图22所示,为本申请实施例提供的上述实施例中所涉及的电子设备310的一种可能的逻辑结构示意图。电子设备310包括:存储器311、处理器312、通信接口313、显示器314以及总线315。存储器311、处理器312、通信接口313以及显示器314通过总线315相互连接。在申请实施例中,处理器312用于对电子设备310的动作进行控制管理,例如,处理器312用于执行图4中的步骤201-步骤202、图12中的步骤201-步骤202和步骤204、图14中的步骤200a-步骤202和步骤204,以及图17中的步骤201-步骤202和步骤205,和/或用于本文所描述的技术的其他过程。通信接口313用于支持电子设备310进行通信。存储器311,用于存储电子设备310的程序代码和数据。显示器314用于支持电子设备实现显示功能。
其中,处理器312可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。总线315可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图22中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
在本申请的另一实施例中,还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当设备的至少一个处理器执行该计算机执行指令时,设备执行图4、图12、图14或图17所提供的弹幕显示方法。
在本申请的另一实施例中,还提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中;设备的至少一个处理器可以从计算机可读存储介质读取该计算机执行指令,至少一个处理器执行该计算机执行指令使得设备实施图4、图12、图14或图17所提供的弹幕显示方法。
在本申请实施例中,根据显示图像中的目标显示物体,确定用于显示目标显示物体的物体显示区域,再根据物体显示区域,确定弹幕显示区域,该弹幕显示区域与物体显示区域无交集,从而在该弹幕显示区域中显示的弹幕内容与显示图像中的目标显示物体不发生重叠,进而避免了弹幕内容给用户造成干扰的问题,提高了用户体验。
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (15)

  1. 一种弹幕显示方法,其特征在于,所述方法包括:
    根据显示图像中的目标显示物体,确定物体显示区域,所述目标显示物体位于所述物体显示区域中;
    根据所述物体显示区域,确定弹幕显示区域,所述弹幕显示区域与所述物体显示区域无交集;
    在所述弹幕显示区域中显示弹幕内容。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若检测到所述目标显示物体的位置发生变化,则确定新的弹幕显示区域。
  3. 根据权利要求1或2所述的方法,其特征在于,所述弹幕内容的显示位置固定;或者,所述弹幕内容的显示位置以滚动的方式在所述弹幕显示区域中移动;或者,所述弹幕内容包括第一弹幕内容和第二弹幕内容,所述第一弹幕内容的显示位置固定,所述第二弹幕内容以滚动的方式在所述弹幕显示区域中移动。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述根据显示图像中的目标显示物体,确定物体显示区域,包括:
    根据所述目标显示物体的轮廓,将所述目标显示物体的轮廓向外扩展预设阈值后得到的区域,确定为所述物体显示区域;或者,
    根据所述目标显示物体的轮廓,将所述目标显示物体的轮廓向内收缩预设阈值后得到的区域,确定为所述物体显示区域。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,在所述根据显示图像中的目标显示物体,确定物体显示区域之前,所述方法还包括:
    识别所述显示图像中包括的至少一个显示物体;
    根据所述至少一个显示物体的显示参数,确定所述至少一个显示物体中的所述目标显示物体,所述显示参数包括显示位置或显示尺寸。
  6. 根据权利要求5所述的方法,其特征在于,所述显示参数包括所述显示位置,所述根据所述至少一个显示物体的显示参数,确定所述至少一个显示物体中的所述目标显示物体,包括:
    将所述至少一个显示物体中位于所述显示图像的指定区域的显示物体确定为所述显示图像中的目标显示物体;或者,
    所述显示参数包括所述显示尺寸,所述根据所述至少一个显示物体的显示参数,确定所述至少一个显示物体中的所述目标显示物体,包括:
    将所述至少一个显示物体中显示尺寸大于或等于第一阈值的显示物体确定为所述显示图像中的目标显示物体。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    若满足预设条件,则重新确定新的弹幕显示区域,并在所述新的弹幕显示区域中显示所述弹幕内容;其中,所述预设条件包括所述显示图像发生变化。
  8. 一种电子设备,其特征在于,所述电子设备包括:
    确定单元,用于根据显示图像中的目标显示物体,确定物体显示区域,所述目标显示物体位于所述物体显示区域中;
    所述确定单元,还用于根据所述物体显示区域,确定弹幕显示区域,所述弹幕显示区域与所述物体显示区域无交集;
    显示单元,用于在所述弹幕显示区域中显示弹幕内容。
  9. 根据权利要求8所述的电子设备,其特征在于,所述确定单元,还用于:
    若检测到所述目标显示物体的位置发生变化,则确定新的弹幕显示区域。
  10. 根据权利要求8或9所述的电子设备,其特征在于,所述弹幕内容的显示位置固定;或者,所述弹幕内容的显示位置以滚动的方式在所述弹幕显示区域中移动;或者,所述弹幕内容包括第一弹幕内容和第二弹幕内容,所述第一弹幕内容的显示位置固定,所述第二弹幕内容以滚动的方式在所述弹幕显示区域中移动。
  11. 根据权利要求8-10任一项所述的电子设备,其特征在于,所述确定单元,用于:
    根据所述目标显示物体的轮廓,将所述目标显示物体的轮廓向外扩展预设阈值后得到的区域,确定为所述物体显示区域;或者,
    根据所述目标显示物体的轮廓,将所述目标显示物体的轮廓向内收缩预设阈值后得到的区域,确定为所述物体显示区域。
  12. 根据权利要求8-11任一项所述的电子设备,其特征在于,
    所述电子设备还包括:识别单元,用于识别所述显示图像中包括的至少一个显示物体;
    所述确定单元,还用于根据所述至少一个显示物体的显示参数,确定所述至少一个显示物体中的所述目标显示物体,所述显示参数包括显示位置或显示尺寸。
  13. 根据权利要求12所述的电子设备,其特征在于,所述显示参数包括所述显示位置,所述确定单元,用于:
    将所述至少一个显示物体中位于所述显示图像的指定区域的显示物体确定为所述显示图像中的目标显示物体;或者,
    所述显示参数包括所述显示尺寸,所述确定单元,用于:
    将所述至少一个显示物体中显示尺寸大于或等于第一阈值的显示物体确定为所述显示图像中的目标显示物体。
  14. 根据权利要求8-13任一项所述的电子设备,其特征在于,所述确定单元,还用于:
    若满足预设条件,则重新确定新的弹幕显示区域,并在所述新的弹幕显示区域中显示所述弹幕内容;其中,所述预设条件包括所述显示图像发生变化。
  15. 一种电子设备,其特征在于,所述电子设备包括存储器、处理器、显示器、总线和通信接口,所述存储器中存储代码和数据,所述处理器、所述存储器、所述显示器和所述通信接口通过所述总线连接,所述处理器运行所述存储器中的代码使得所述电子设备执行上述权利要求1-7任一项所述的弹幕显示方法。
PCT/CN2018/074483 2017-04-28 2018-01-29 一种弹幕显示方法及电子设备 Ceased WO2018196457A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2019558457A JP6984840B2 (ja) 2017-04-28 2018-01-29 リアルタイムコメント表示方法及び電子機器
KR1020197034231A KR20190136085A (ko) 2017-04-28 2018-01-29 스크린상 코멘트 디스플레이 방법 및 전자 디바이스
EP18790053.5A EP3606081A4 (en) 2017-04-28 2018-01-29 METHOD FOR DISPLAYING COMMENT ON SCREEN AND ELECTRONIC DEVICE
US16/664,602 US20200058270A1 (en) 2017-04-28 2019-10-25 Bullet screen display method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710297516.0 2017-04-28
CN201710297516.0A CN107181976B (zh) 2017-04-28 2017-04-28 一种弹幕显示方法及电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/664,602 Continuation US20200058270A1 (en) 2017-04-28 2019-10-25 Bullet screen display method and electronic device

Publications (1)

Publication Number Publication Date
WO2018196457A1 true WO2018196457A1 (zh) 2018-11-01

Family

ID=59832010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/074483 Ceased WO2018196457A1 (zh) 2017-04-28 2018-01-29 一种弹幕显示方法及电子设备

Country Status (6)

Country Link
US (1) US20200058270A1 (zh)
EP (1) EP3606081A4 (zh)
JP (1) JP6984840B2 (zh)
KR (1) KR20190136085A (zh)
CN (1) CN107181976B (zh)
WO (1) WO2018196457A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600654A (zh) * 2018-11-27 2019-04-09 Oppo广东移动通信有限公司 弹幕处理方法、装置以及电子设备
CN111526421A (zh) * 2019-02-01 2020-08-11 网宿科技股份有限公司 视频掩码信息的生成、弹幕防遮挡方法、服务器及客户端
CN114915832A (zh) * 2022-05-13 2022-08-16 咪咕文化科技有限公司 一种弹幕显示方法、装置及计算机可读存储介质
CN115243093A (zh) * 2022-07-04 2022-10-25 网易(杭州)网络有限公司 视频弹幕的处理方法、装置、存储介质和电子装置
CN115361577A (zh) * 2022-08-26 2022-11-18 维沃移动通信有限公司 弹幕信息显示方法、装置及电子设备
US12120378B2 (en) * 2022-06-28 2024-10-15 Rakuten Group, Inc. Video distribution in which provided information is superimposed on video

Families Citing this family (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181976B (zh) * 2017-04-28 2021-01-29 华为技术有限公司 一种弹幕显示方法及电子设备
CN107645684A (zh) * 2017-09-30 2018-01-30 咪咕动漫有限公司 一种弹幕调节方法、装置及存储介质
CN107809658A (zh) * 2017-10-18 2018-03-16 维沃移动通信有限公司 一种弹幕内容显示方法和终端
CN108401177B (zh) 2018-02-27 2021-04-27 上海哔哩哔哩科技有限公司 视频播放方法、服务器及视频播放系统
CN108347657B (zh) * 2018-03-07 2021-04-20 北京奇艺世纪科技有限公司 一种显示弹幕信息的方法和装置
CN109151489B (zh) * 2018-08-14 2019-05-31 广州虎牙信息科技有限公司 直播视频图像处理方法、装置、存储介质和计算机设备
CN109089170A (zh) * 2018-09-11 2018-12-25 传线网络科技(上海)有限公司 弹幕显示方法及装置
CN109302619A (zh) * 2018-09-18 2019-02-01 北京奇艺世纪科技有限公司 一种信息处理方法及装置
CN110971952B (zh) * 2018-09-29 2022-03-15 阿里巴巴(中国)有限公司 弹幕展示方法及装置
CN111107381A (zh) * 2018-10-25 2020-05-05 武汉斗鱼网络科技有限公司 直播间弹幕显示方法、存储介质、设备及系统
CN109547833B (zh) * 2018-11-15 2022-11-18 平安科技(深圳)有限公司 弹幕显示控制方法、装置、设备及计算机可读存储介质
CN111385665A (zh) * 2018-12-29 2020-07-07 百度在线网络技术(北京)有限公司 弹幕信息的处理方法、装置、设备及存储介质
CN111954053B (zh) * 2019-05-17 2023-09-05 上海哔哩哔哩科技有限公司 获取蒙版帧数据的方法、计算机设备及可读存储介质
CN111954052B (zh) * 2019-05-17 2022-04-05 上海哔哩哔哩科技有限公司 显示弹幕信息的方法、计算机设备及可读存储介质
CN110351593A (zh) * 2019-06-28 2019-10-18 维沃移动通信有限公司 信息处理方法、装置、终端设备及计算机可读存储介质
CN110300118B (zh) * 2019-07-09 2020-09-25 联想(北京)有限公司 流媒体处理方法、装置及存储介质
CN111078070B (zh) * 2019-11-29 2021-06-15 深圳市镜玩科技有限公司 Ppt视频弹幕的播放控制方法、装置、终端及介质
CN111078078B (zh) * 2019-11-29 2021-06-15 深圳市镜玩科技有限公司 视频播放控制方法、装置、终端及计算机可读存储介质
CN112995742A (zh) * 2019-12-13 2021-06-18 阿里巴巴集团控股有限公司 弹幕发布方法、设备及存储介质
CN112995740A (zh) * 2019-12-13 2021-06-18 阿里巴巴集团控股有限公司 弹幕展示方法、设备、系统及存储介质
CN113315924A (zh) * 2020-02-27 2021-08-27 北京字节跳动网络技术有限公司 图像特效处理方法及装置
CN111432263B (zh) * 2020-03-10 2023-08-01 上海盛付通电子支付服务有限公司 弹幕信息显示、处理、发布方法、电子设备及介质
CN111427504A (zh) * 2020-04-02 2020-07-17 北京达佳互联信息技术有限公司 内容获取方法、装置、电子设备及存储介质
CN111757188A (zh) * 2020-06-24 2020-10-09 浙江炬光电气有限公司 一种基于商品信息的弹幕显示方法及系统
WO2022016306A1 (en) * 2020-07-20 2022-01-27 Arris Enterprises Llc Method and system for displaying an electronic program guide in a bullet screen format
CN113761317B (zh) * 2020-07-28 2025-02-21 北京沃东天骏信息技术有限公司 一种基于弹幕的数据处理方法和装置
CN112423110A (zh) * 2020-08-04 2021-02-26 上海哔哩哔哩科技有限公司 直播视频数据生成方法、装置及直播视频播放方法、装置
CN112312190A (zh) * 2020-10-10 2021-02-02 游艺星际(北京)科技有限公司 视频画面的展示方法、装置、电子设备和存储介质
CN112423026B (zh) * 2020-10-19 2023-04-07 广州市百果园网络科技有限公司 评论处理方法及装置
CN114449326A (zh) * 2020-11-06 2022-05-06 上海哔哩哔哩科技有限公司 视频标注方法、客户端、服务器及系统
CN114584824A (zh) * 2020-12-01 2022-06-03 阿里巴巴集团控股有限公司 数据处理方法、系统、电子设备、服务端及客户端设备
CN113110814B (zh) * 2021-03-31 2024-03-12 北京达佳互联信息技术有限公司 一种屏幕显示数据处理的方法、装置及存储介质
CN113709544B (zh) * 2021-03-31 2024-04-05 腾讯科技(深圳)有限公司 视频的播放方法、装置、设备及计算机可读存储介质
CN113360053A (zh) * 2021-05-28 2021-09-07 富途网络科技(深圳)有限公司 显示的控制方法、电子设备以及存储介质
CN113542898B (zh) * 2021-07-09 2023-09-05 北京爱奇艺科技有限公司 一种弹幕轨迹生成、弹幕显示方法及装置
CN115834923A (zh) * 2021-09-16 2023-03-21 艾锐势企业有限责任公司 用于视频内容处理的网络设备、系统和方法
CN113763919B (zh) * 2021-09-29 2023-09-05 北京字跳网络技术有限公司 一种视频展示方法、装置、计算机设备及存储介质
CN114520924A (zh) * 2022-02-22 2022-05-20 上海哔哩哔哩科技有限公司 弹幕展示方法及装置
CN117290527B (zh) * 2022-06-20 2025-10-03 上海哔哩哔哩科技有限公司 弹幕展示方法、装置、计算设备及计算机存储介质
CN115690322A (zh) * 2022-11-11 2023-02-03 北京字跳网络技术有限公司 信息呈现方法、装置和电子设备
JP7713049B1 (ja) 2024-02-02 2025-07-24 楽天グループ株式会社 配信支援装置、配信支援方法、および、プログラム

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430512A (zh) * 2015-11-06 2016-03-23 腾讯科技(北京)有限公司 一种在视频图像上显示信息的方法和装置
CN105847940A (zh) * 2016-05-24 2016-08-10 武汉斗鱼网络科技有限公司 一种弹幕显示控制方法及装置
CN106101805A (zh) * 2016-06-28 2016-11-09 武汉斗鱼网络科技有限公司 一种个性化弹幕发送方法及装置
CN106303731A (zh) * 2016-08-01 2017-01-04 北京奇虎科技有限公司 弹幕的显示方法及装置
CN106331877A (zh) * 2016-09-22 2017-01-11 广州华多网络科技有限公司 弹幕播放方法及装置
CN107181976A (zh) * 2017-04-28 2017-09-19 华为技术有限公司 一种弹幕显示方法及电子设备

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8320357D0 (en) * 1983-07-28 1983-09-01 Quantel Ltd Video graphic simulator systems
DE19847261A1 (de) * 1998-10-05 2000-04-06 Dcs Dialog Communication Syste Verfahren und System zur Personenerkennung mit modellbasierter Gesichtsfindung
US20040068758A1 (en) * 2002-10-02 2004-04-08 Mike Daily Dynamic video annotation
US7817836B2 (en) * 2006-06-05 2010-10-19 Varian Medical Systems, Inc. Methods for volumetric contouring with expert guidance
US7961952B2 (en) * 2007-09-27 2011-06-14 Mitsubishi Electric Research Laboratories, Inc. Method and system for detecting and tracking objects in images
CN101939980B (zh) * 2008-02-06 2012-08-08 松下电器产业株式会社 电子摄像机和图像处理方法
KR101114744B1 (ko) * 2009-02-12 2012-03-05 전남대학교산학협력단 영상으로부터 텍스트를 인식하는 방법
JP2011053942A (ja) * 2009-09-02 2011-03-17 Seiko Epson Corp 画像処理装置、画像処理方法および画像処理プログラム
US8416277B2 (en) * 2009-12-10 2013-04-09 Apple Inc. Face detection as a metric to stabilize video during video chat session
US8818028B2 (en) * 2010-04-09 2014-08-26 Personify, Inc. Systems and methods for accurate user foreground video extraction
CN102438122B (zh) * 2010-09-29 2016-05-11 鸿富锦精密工业(深圳)有限公司 摄影机装置及利用其动态侦测监控对象的方法
JP2013026878A (ja) * 2011-07-22 2013-02-04 Sony Corp 情報処理装置、情報処理方法、及びプログラム
JP2013022705A (ja) * 2011-07-25 2013-02-04 Sony Corp ロボット装置及びロボット装置の制御方法、コンピューター・プログラム、並びにロボット・システム
JP5960409B2 (ja) * 2011-10-28 2016-08-02 任天堂株式会社 ゲーム処理システム、ゲーム処理方法、ゲーム処理装置およびゲーム処理プログラム
US9872655B2 (en) * 2012-03-30 2018-01-23 Siemens Aktiengesellschaft PAE treatment for BPH
KR101552138B1 (ko) * 2012-12-26 2015-09-10 국립암센터 신규한 암 병변 표지용 조성물
JP6179889B2 (ja) * 2013-05-16 2017-08-16 パナソニックIpマネジメント株式会社 コメント情報生成装置およびコメント表示装置
JP6122768B2 (ja) * 2013-11-19 2017-04-26 株式会社ソニー・インタラクティブエンタテインメント 情報処理装置、表示方法およびコンピュータプログラム
KR101599786B1 (ko) * 2014-01-24 2016-03-09 에스케이플래닛 주식회사 참조 영역 분할을 이용한 인페인팅 장치 및 방법
WO2016004859A1 (zh) * 2014-07-07 2016-01-14 乐视网信息技术(北京)股份有限公司 视频的弹幕显示方法及装置
JP6024728B2 (ja) * 2014-08-08 2016-11-16 カシオ計算機株式会社 検出装置、検出方法及びプログラム
CN104811816B (zh) * 2015-04-29 2018-04-13 北京奇艺世纪科技有限公司 一种为视频画面中的对象打弹幕标签的方法、装置及系统
US10674139B2 (en) * 2015-06-03 2020-06-02 University Of Connecticut Methods and systems for human action recognition using 3D integral imaging
CN105635848A (zh) * 2015-12-24 2016-06-01 深圳市金立通信设备有限公司 一种弹幕显示方法及终端
JP6441843B2 (ja) * 2016-02-24 2018-12-19 株式会社カプコン ゲームプログラムおよびゲームシステム
CN106303735B (zh) * 2016-09-07 2019-04-02 腾讯科技(深圳)有限公司 一种弹幕显示系统、方法、装置以及业务客户端
US10108867B1 (en) * 2017-04-25 2018-10-23 Uber Technologies, Inc. Image-based pedestrian detection
JP6972756B2 (ja) * 2017-08-10 2021-11-24 富士通株式会社 制御プログラム、制御方法、及び情報処理装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430512A (zh) * 2015-11-06 2016-03-23 腾讯科技(北京)有限公司 一种在视频图像上显示信息的方法和装置
CN105847940A (zh) * 2016-05-24 2016-08-10 武汉斗鱼网络科技有限公司 一种弹幕显示控制方法及装置
CN106101805A (zh) * 2016-06-28 2016-11-09 武汉斗鱼网络科技有限公司 一种个性化弹幕发送方法及装置
CN106303731A (zh) * 2016-08-01 2017-01-04 北京奇虎科技有限公司 弹幕的显示方法及装置
CN106331877A (zh) * 2016-09-22 2017-01-11 广州华多网络科技有限公司 弹幕播放方法及装置
CN107181976A (zh) * 2017-04-28 2017-09-19 华为技术有限公司 一种弹幕显示方法及电子设备

Non-Patent Citations (1)

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

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600654A (zh) * 2018-11-27 2019-04-09 Oppo广东移动通信有限公司 弹幕处理方法、装置以及电子设备
CN111526421A (zh) * 2019-02-01 2020-08-11 网宿科技股份有限公司 视频掩码信息的生成、弹幕防遮挡方法、服务器及客户端
US10986380B2 (en) 2019-02-01 2021-04-20 Wangsu Science & Technology Co., Ltd. Method for generating video mask information, method for preventing occlusion from barrage, server and client
CN111526421B (zh) * 2019-02-01 2021-10-22 网宿科技股份有限公司 视频掩码信息的生成、弹幕防遮挡方法、服务器及客户端
CN114915832A (zh) * 2022-05-13 2022-08-16 咪咕文化科技有限公司 一种弹幕显示方法、装置及计算机可读存储介质
CN114915832B (zh) * 2022-05-13 2024-02-23 咪咕文化科技有限公司 一种弹幕显示方法、装置及计算机可读存储介质
US12120378B2 (en) * 2022-06-28 2024-10-15 Rakuten Group, Inc. Video distribution in which provided information is superimposed on video
CN115243093A (zh) * 2022-07-04 2022-10-25 网易(杭州)网络有限公司 视频弹幕的处理方法、装置、存储介质和电子装置
CN115243093B (zh) * 2022-07-04 2023-08-22 网易(杭州)网络有限公司 视频弹幕的处理方法、装置、存储介质和电子装置
CN115361577A (zh) * 2022-08-26 2022-11-18 维沃移动通信有限公司 弹幕信息显示方法、装置及电子设备
CN115361577B (zh) * 2022-08-26 2024-03-05 维沃移动通信有限公司 弹幕信息显示方法、装置及电子设备

Also Published As

Publication number Publication date
JP2020519990A (ja) 2020-07-02
KR20190136085A (ko) 2019-12-09
EP3606081A1 (en) 2020-02-05
CN107181976B (zh) 2021-01-29
CN107181976A (zh) 2017-09-19
US20200058270A1 (en) 2020-02-20
JP6984840B2 (ja) 2021-12-22
EP3606081A4 (en) 2020-02-05

Similar Documents

Publication Publication Date Title
WO2018196457A1 (zh) 一种弹幕显示方法及电子设备
US12175057B2 (en) Switching multimedia content based on a respective act
CN103500066B (zh) 一种适用于触屏设备的截图装置和方法
EP4610850A1 (en) Method and apparatus for content presentation, device, and storage medium
JP2025506289A (ja) コンテンツ撮影のための方法、装置、デバイス、及び記憶媒体
US20190102060A1 (en) Information processing apparatus, display control method, and storage medium
CN105339932A (zh) 浏览器驱动的功率节省
JP2015503152A (ja) ウェブページのレンダリング時間の測定
CN103034683A (zh) 用于浏览器的页面切换方法和装置
CN103019557A (zh) 页面切换方法和装置
US12585815B2 (en) Information management system and method for communication application, and display terminal
CN105224657A (zh) 一种基于搜索引擎的信息推荐方法及电子设备
WO2025218756A1 (zh) 视图切换的方法、装置、设备和存储介质
CN110647640A (zh) 计算机系统、操作计算装置的方法及操作计算装置的系统
JP2023522370A (ja) 画像表示方法、装置、機器及び記憶媒体
JP6339550B2 (ja) 端末用プログラム、端末装置及び端末制御方法
WO2025039967A1 (zh) 用于信息处理的方法、装置、设备和存储介质
WO2026000992A1 (zh) 管理应用页面的方法、装置、设备、介质和程序产品
US20240201830A1 (en) Page interaction
WO2016101768A1 (zh) 终端以及基于触摸操作的搜索方法和装置
CN106155455A (zh) 界面中对象的控制方法和装置
CN115202792A (zh) 用于场景切换的方法、装置、设备和存储介质
WO2021248493A1 (zh) 消息展示方法、移动终端以及计算机可读存储介质
KR102102889B1 (ko) 단말기 및 이의 제어 방법
CN111815340B (zh) 推广信息确定方法、装置、设备及可读存储介质

Legal Events

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

Ref document number: 18790053

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019558457

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018790053

Country of ref document: EP

Effective date: 20191031

ENP Entry into the national phase

Ref document number: 20197034231

Country of ref document: KR

Kind code of ref document: A