WO2024066938A1 - Livestreaming screenshotting method, apparatus and device, and storage medium - Google Patents

Livestreaming screenshotting method, apparatus and device, and storage medium Download PDF

Info

Publication number
WO2024066938A1
WO2024066938A1 PCT/CN2023/116780 CN2023116780W WO2024066938A1 WO 2024066938 A1 WO2024066938 A1 WO 2024066938A1 CN 2023116780 W CN2023116780 W CN 2023116780W WO 2024066938 A1 WO2024066938 A1 WO 2024066938A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenshot
live broadcast
live
frequency
attribute information
Prior art date
Application number
PCT/CN2023/116780
Other languages
French (fr)
Chinese (zh)
Inventor
罗炜程
阮承霖
Original Assignee
广州市百果园信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州市百果园信息技术有限公司 filed Critical 广州市百果园信息技术有限公司
Publication of WO2024066938A1 publication Critical patent/WO2024066938A1/en

Links

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
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards

Definitions

  • the embodiments of the present application relate to the field of computer technology, and in particular to a live broadcast screenshot method, device, equipment and storage medium.
  • the embodiments of the present application provide a live broadcast screenshot method, device, equipment and storage medium, which solves the problem in the related art that it is impossible to take into account both real-time and reliability when reviewing live broadcast screenshots.
  • By dynamically adjusting the screenshot frequency the reliability of screenshot submission and the use of machine resources are balanced.
  • an embodiment of the present application provides a live streaming screenshot method, which is applied to a front-end server, and the method includes:
  • the embodiment of the present application further provides a live broadcast screenshot device, comprising:
  • a frequency initialization module configured to determine a first screenshot frequency according to attribute information of the live broadcast room
  • a frequency adjustment module is configured to receive a number of people in the live broadcast room sent by a backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency;
  • a screenshot module configured to perform image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot
  • the screenshot sending module is configured to upload the live screenshot to the file system, receive the resource locator fed back by the file system, and send the attribute information, the person value and the resource locator to the audit system.
  • an embodiment of the present application further provides a live streaming screenshot device, the device comprising:
  • processors one or more processors
  • a storage device for storing one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the live broadcast screenshot method described in the embodiment of the present application.
  • an embodiment of the present application further provides a non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the live broadcast screenshot method described in the embodiment of the present application.
  • an embodiment of the present application further provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor of the device reads and executes the computer program from the computer-readable storage medium, so that the device executes the live broadcast screenshot method described in the embodiment of the present application.
  • the first screenshot frequency is adjusted according to the number of people to obtain a second screenshot frequency, and the image conversion of the video frame of the live broadcast room is performed at the second screenshot frequency to obtain a live screenshot, and the live screenshot is uploaded to the file system, and the resource locator fed back by the file system is received, and the attribute information, the number of people and the resource locator are sent to the review system.
  • This screenshot process can dynamically control the screenshot frequency according to the popularity of the live broadcast room, avoiding the poor flexibility caused by the use of a fixed screenshot frequency, and the problem of being unable to take into account both real-time and reliability.
  • By dynamically adjusting the screenshot frequency The reliability of screenshot submission and the use of machine resources are balanced.
  • the attribute information and popularity value of the live broadcast room are further carried in the process of sending screenshots, which facilitates the review system to conduct flexible review based on this feature and improves the review efficiency.
  • FIG1 is a schematic diagram of an application scenario of a live broadcast screenshot method provided in an embodiment of the present application
  • FIG2 is a flow chart of a live streaming screenshot method provided in an embodiment of the present application.
  • FIG3 is a flow chart of a method for sending live screenshots provided in an embodiment of the present application.
  • FIG4 is a flow chart of a method for reviewing based on live screenshots provided in an embodiment of the present application.
  • FIG5 is a structural block diagram of a live broadcast screenshot device provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of the structure of a live broadcast screenshot device provided in an embodiment of the present application.
  • first, second, etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
  • the first object can be one or more.
  • “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
  • FIG1 is a schematic diagram of an application scenario of a live streaming screenshot method provided by an embodiment of the present application.
  • a server is connected to multiple clients, such as client 1, client 2, ..., client n, wherein each client can be a device end used by viewers watching live streaming, or a device end used by the anchor to start live streaming.
  • the anchor can push the live streaming content to the server, and the server can push the video stream of the live streaming content to the user who logs into the corresponding live streaming room.
  • the live broadcast function is thus realized on the viewer's device.
  • the server receives the video stream of the live broadcast content, it takes a screenshot of the live broadcast content and verifies the screenshot in real time through the review system. If any violation is found, the corresponding treatment is carried out.
  • FIG2 is a flow chart of a live streaming screenshot method provided in an embodiment of the present application, which can be applied to a front-end server and specifically includes the following steps:
  • Step S101 determine a first screenshot frequency according to attribute information of the live broadcast room.
  • the live broadcast screenshot method is executed by a front-end server.
  • the live broadcast end first establishes a connection with the back-end server and applies for the assigned front-end server. After the live broadcast end receives the assigned front-end server, it logs in to the front-end server.
  • the back-end server and the front-end server respectively implement the above functions through their respective back-end service processes and front-end servers. After the live broadcast end logs in to the front-end server, the front-end server can obtain the attribute information of the live broadcast room accordingly.
  • the screenshot frequency first determine the first screenshot frequency based on the attribute information, which can be understood as the initialization process of the screenshot frequency.
  • the attribute information includes the live broadcast type, live broadcast position and live broadcast content of the live broadcast room, that is, information associated with the live broadcast room for characterizing various parameter conditions of the live broadcast room. Accordingly, taking the attribute information including the live broadcast type, live broadcast position and live broadcast content as an example, when determining the first screenshot frequency, it is determined based on the live broadcast type, live broadcast position and live broadcast content.
  • the above are only exemplary attribute information of several types of live broadcast rooms, and other attribute information may also be included.
  • the above three types of attribute information may not be used at the same time, such as using any two or one of them for determination.
  • the screenshot frequencies corresponding to different live broadcast types are pre-set.
  • a classification of live broadcast types can be exemplified as: game live broadcast, teaching live broadcast, singing live broadcast, etc.
  • each different type of live broadcast is pre-set with its own corresponding screenshot frequency, which can be determined based on the specific type of the current live broadcast room.
  • the screenshot frequencies corresponding to different live broadcast locations are preset.
  • One example of the division of live broadcast locations can be: indoor live broadcast, outdoor live broadcast; another example of the division of live broadcast locations can be: urban live broadcast, rural live broadcast, etc., or the division of live broadcast locations based on different regions, cities and countries.
  • Each different location of live broadcast is preset with its own screenshot frequency. The corresponding screenshot frequency can be determined based on the specific location of the current live broadcast room.
  • the screenshot frequencies corresponding to different live content are preset.
  • one type of live content division can be exemplarily: live content containing characters and live content not containing characters.
  • each live broadcast of different content is preset with its own corresponding screenshot frequency, which can be determined based on the specific content of the current live broadcast room.
  • live broadcast type live broadcast location
  • live broadcast content are only exemplary and can be flexibly divided according to different actual needs.
  • the first screenshot frequency can be determined according to the live broadcast type, live broadcast position and live broadcast content of the live broadcast room and the screenshot frequency comparison table is set respectively. Specifically, a corresponding screenshot frequency comparison table is set for each of the live broadcast type, live broadcast position and live broadcast content, and after determining the respective screenshot frequencies, a weighted average is performed to obtain the first screenshot frequency, wherein the live broadcast type, live broadcast position and live broadcast content can be set with different weights respectively, such as the live broadcast content is set with a high weight, and the weights of the live broadcast type and live broadcast position are set relatively low.
  • screenshots of the live content are taken at the first screenshot frequency until it is confirmed that the screenshot frequency needs to be adjusted.
  • Step S102 receiving a number of people in the live broadcast room sent by a backend server, and adjusting the first screenshot frequency according to the number of people to obtain a second screenshot frequency.
  • the back-end server can count the number of people in each live broadcast room.
  • the number of people in the live broadcast room can be obtained by counting the back-end service process run by the back-end server, the room background process of the live broadcast room, or the client SDK.
  • the number of people can use the user's login ID as the statistical standard to filter out the unreal number of users who are not user IDs.
  • the back-end server counts and updates the number of people in the live broadcast room in real time, and sends it to the front-end server at a regular interval.
  • the front-end server receives the number of people, it adjusts the screenshot frequency of the corresponding live broadcast room.
  • a second screenshot frequency is obtained.
  • the first screenshot frequency can be increased or decreased to obtain the second screenshot frequency.
  • a specific process of adjusting the screenshot frequency based on the number of people is provided, which may be: when the number of people is greater than a first preset threshold, the first screenshot frequency is increased to obtain a second screenshot frequency; when the number of people is less than the second preset threshold, the first screenshot frequency is decreased.
  • the second screenshot frequency is obtained by adjusting the number of people to a smaller value, wherein the first preset threshold is greater than the second preset threshold.
  • the specific sizes of the first preset threshold and the second preset threshold can be flexibly set.
  • the first preset threshold may be 1000. When the number of people is greater than 1000, the screenshot frequency is increased accordingly.
  • the second preset threshold may be 200, that is, when the number of people is less than 200, the screenshot frequency is reduced.
  • the first screenshot frequency determined is maintained for screenshots.
  • the specific values of the increased and decreased screenshot frequencies are not limited. Exemplarily, assuming that the first screenshot frequency determined during initialization is to take a screenshot every 10 seconds, after increasing the screenshot frequency, a screenshot may be taken every 3 seconds, and after reducing the screenshot frequency, a screenshot may be taken every 20 seconds.
  • a third preset threshold may be set, where the third preset threshold is greater than the first preset threshold, and when the number of people is greater than the third preset threshold, the screenshot frequency is further increased.
  • a number query request is sent to the backend server to obtain the latest number of people in the live broadcast room, thereby ensuring the accuracy of the number of people and improving the accuracy of the determined screenshot frequency.
  • Step S103 performing image conversion of the video frame of the live broadcast room at the second screenshot frequency to obtain a live screenshot, uploading the live screenshot to the file system, receiving a resource locator fed back by the file system, and sending the attribute information, the person value and the resource locator to the audit system.
  • the image conversion of the video frame of the live broadcast room is performed at the second screenshot frequency to obtain the live broadcast screenshot.
  • the image conversion of the video frame of the live broadcast room can be realized by the running screenshot, that is, the generation of the screenshot from the frequency of the live broadcast room is realized.
  • the screenshot is uploaded to the file system for storage, and the resource locator fed back by the file system is received at the same time, and the resource locator is used for the audit system to search and obtain the screenshot.
  • the attribute information of the live broadcast room, the number of people, and the resource locator are sent together to the audit system, so that the audit system can determine different audit mechanisms based on the attribute information and number of people of the live broadcast room during the audit to improve the audit efficiency.
  • the reliability of screenshot submission and the use of machine resources are balanced.
  • the attribute information and popularity value of the live broadcast room are further carried in the process of sending the screenshot, which facilitates the audit system to perform flexible audits based on this feature, thereby improving the audit efficiency.
  • the live broadcast screenshot method before determining the first screenshot frequency according to the attribute information of the live broadcast room, further includes: receiving a login request from the user end, sending the login information of the user end to the back-end server, so that the back-end server generates a number of people in the live broadcast room according to the login information, and sending the user leaving information to the back-end server when the user end logs in and leaves. That is, the user's login status is sent to the back-end server in real time through the front-end server, so that the back-end server can update the number of people in the live broadcast room in real time.
  • FIG3 is a flow chart of a method for sending a live screenshot provided in an embodiment of the present application, which provides a specific process for processing and submitting a live screenshot for review, as shown in FIG3 , specifically including:
  • Step S201 determine the first screenshot frequency according to the attribute information of the live broadcast room.
  • Step S202 Receive a number of people in the live broadcast room sent by a backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency.
  • Step S203 performing image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot, uploading the live broadcast screenshot to a file system, and receiving a resource locator fed back by the file system.
  • Step S204 splice the attribute information, the person value and the resource locator to obtain spliced information, and send the spliced information to the review system, so that the review system can review the live screenshot based on the spliced information.
  • the attribute information of the live room, the number of people, and the received resource locator are spliced to obtain splicing information, and the splicing information is sent to the audit system for the audit system to audit the live screenshot based on the splicing information.
  • the resource locator as url:http://xxx.xxx.xxx/xx.jpg as an example
  • the attribute information and the number of people are used as feature fields, and the specific value is added to the feature field, and spliced with the resource locator to obtain the splicing information.
  • the splicing information is exemplified as follows:
  • the attribute information of the live broadcast room, the number of people and the received resource locator are spliced to obtain the splicing information, and the splicing information is sent to the review system, so that the review system can review the live screenshot based on the splicing information, rather than simply sending the screenshot directly for review, so that the review system can select a reasonable review mechanism for review based on the attribute information and the number of people.
  • the resource locator is sent for the review system to locate the screenshot, and the screenshot is stored in the file system to avoid the problem of excessive load caused by storing a large number of screenshots on the review end.
  • a large number of live screenshots can be managed uniformly through the file system, thereby improving the efficiency of screenshot management.
  • FIG4 is a flow chart of a method for reviewing based on live screenshots provided in an embodiment of the present application, and provides a specific review processing mechanism, as shown in FIG4 , which specifically includes:
  • Step S301 determine the first screenshot frequency according to the attribute information of the live broadcast room.
  • Step S302 Receive the number of people in the live broadcast room sent by the backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency.
  • Step S303 performing image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot, uploading the live broadcast screenshot to a file system, and receiving a resource locator fed back by the file system.
  • Step S304 splice the attribute information, the person value and the resource locator to obtain spliced information, and send the spliced information to the review system, so that the review system can review the live screenshot based on the spliced information.
  • Step S305 The review system determines a review process according to the attribute information and the headcount value recorded in the splicing information, and reviews the live broadcast screenshot linked to the resource locator through the review process.
  • the audit system can be a separately running audit server. After receiving the spliced information sent by the front-end server, the spliced information is parsed to obtain the attribute information and headcount value recorded therein, and different audit mechanisms are selected according to the attribute information and headcount value. Exemplarily, when the headcount value is too low, a machine audit can be used for auditing, and when the headcount value is high, a manual audit can be used for auditing. When the live broadcast type recorded in the attribute information is a teaching live broadcast, a machine audit can be used for auditing accordingly.
  • the review system adopts different review methods for the live screenshots and the corresponding live room attribute information and number of people, which improves the reliability of the review while ensuring the reliability of the review. Improve audit efficiency and optimize the overall audit mechanism.
  • FIG5 is a structural block diagram of a live screenshot device provided in an embodiment of the present application, which is used to execute the live screenshot method applied to the client provided in the above embodiment, and has the corresponding functional modules and beneficial effects of the execution method.
  • the device specifically includes: a frequency initialization module 101, a frequency adjustment module 102, a screenshot module 103 and a screenshot sending module 104, wherein:
  • the frequency initialization module 101 is configured to determine the first screenshot frequency according to the attribute information of the live broadcast room;
  • the frequency adjustment module 102 is configured to receive a number of people in the live broadcast room sent by a backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency;
  • a screenshot module 103 is configured to perform image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot
  • the screenshot sending module 104 is configured to upload the live screenshot to the file system, receive the resource locator fed back by the file system, and send the attribute information, the person value and the resource locator to the review system.
  • the first screenshot frequency is adjusted according to the number of people to obtain the second screenshot frequency, and the image conversion of the video frame of the live broadcast room is performed at the second screenshot frequency to obtain a live screenshot, and the live screenshot is uploaded to the file system, and the resource locator fed back by the file system is received, and the attribute information, the number of people and the resource locator are sent to the review system.
  • This screenshot process can dynamically control the screenshot frequency according to the popularity of the live broadcast room, avoiding the poor flexibility caused by the fixed screenshot frequency method, and the problem of not being able to take into account the real-time and reliability.
  • the reliability of screenshot submission and the use of machine resources are balanced.
  • the attribute information and popularity value of the live broadcast room are further carried in the process of sending the screenshot, which facilitates the review system to perform flexible review based on this feature, thereby improving the review efficiency.
  • the attribute information includes the live broadcast type, live broadcast location and live broadcast content of the live broadcast room, and the frequency initialization module 101 is configured as follows:
  • the first screenshot frequency is determined according to the live broadcast type, live broadcast location and live broadcast content of the live broadcast room and the screenshot frequency comparison table is set respectively.
  • the frequency adjustment module 102 is configured as follows:
  • the first screenshot frequency is increased.
  • the first screenshot frequency is reduced to obtain a second screenshot frequency, and the first preset threshold is greater than the second preset threshold.
  • the screenshot processing module 103 is further configured to:
  • the user leaving information is sent to the backend server.
  • the screenshot processing module 103 is further configured to:
  • a number query request is sent to the back-end server to obtain the latest number of people in the live broadcast room.
  • the screenshot sending module 104 is configured as follows:
  • the splicing information is sent to the review system, so that the review system can review the live screenshot based on the splicing information.
  • FIG6 is a schematic diagram of the structure of a live screenshot device provided by an embodiment of the present application.
  • the device includes a processor 201, a memory 202, an input device 203, and an output device 204; the number of processors 201 in the device may be one or more, and FIG6 takes one processor 201 as an example; the processor 201, the memory 202, the input device 203, and the output device 204 in the device may be connected by a bus or other means, and FIG6 takes the connection by a bus as an example.
  • the memory 202 as a computer-readable storage medium, can be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the live screenshot method in the embodiment of the present application.
  • the processor 201 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 302, that is, the above-mentioned live screenshot method is realized.
  • the input device 203 can be used to receive input digital or character information, and generate key signal input related to the user settings and function control of the device.
  • the output device 204 may include a display device such as a display screen.
  • the embodiment of the present application further provides a non-volatile storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a live broadcast screenshot method described in the above embodiment when executed by a computer processor, including:
  • various aspects of the method provided in this application may also be implemented in the form of a program product, which includes a program code.
  • the program product When the program product is run on a computer device, the program code is used to enable the computer device to perform the steps of the method according to various exemplary embodiments of the present application described above in this specification.
  • the computer device may execute the live screenshot method described in the embodiment of this application.
  • the program product may be implemented in any combination of one or more readable media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Embodiments of the present application provide a livestreaming screenshotting method, apparatus and device, and a storage medium. The method comprises: determining a first screenshotting frequency according to attribute information of a livestreaming room; receiving a viewer number value of the livestreaming room sent by a back-end server, and adjusting the first screenshotting frequency according to the viewer number value to obtain a second screenshotting frequency; performing image conversion on video frames in the livestreaming room at the second screenshotting frequency to obtain livestreaming screenshots, uploading the livestreaming screenshots to a file system, receiving a resource locator fed back by the file system, and sending the attribute information, the viewer number value and the resource locator to a review system. According to the present solution, by dynamically adjusting the screenshotting frequency, the screenshot submission and review reliability and the use of machine resources are balanced.

Description

直播截图方法、装置、设备及存储介质Live streaming screenshot method, device, equipment and storage medium
本申请要求在2022年09月30日提交中国专利局,申请号为202211218221.7的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on September 30, 2022, with application number 202211218221.7, the entire contents of which are incorporated by reference into this application.
技术领域Technical Field
本申请实施例涉及计算机技术领域,尤其涉及一种直播截图方法、装置、设备及存储介质。The embodiments of the present application relate to the field of computer technology, and in particular to a live broadcast screenshot method, device, equipment and storage medium.
背景技术Background technique
在直播过程中,为了确保主播正在直播的内容符合要求,保证直播平台正常运营,需要实时对主播直播内容进行检测。对于违规的直播内容进行封禁以保证直播内容的合规。During the live broadcast process, in order to ensure that the content being broadcasted by the anchor meets the requirements and ensure the normal operation of the live broadcast platform, it is necessary to detect the anchor's live broadcast content in real time. The live broadcast content that violates the regulations will be banned to ensure the compliance of the live broadcast content.
相关技术中,通过对直播内容进行截图,再针对直播截图进行审核,可以提高直播间的整体审核效率。实际运用中,由于直播间数量的庞大以及审核系统性能的限制,在使用固定截图频率进行直播间截图时,无法兼顾审核的实时性和可靠性。In related technologies, by taking screenshots of live broadcast content and then reviewing the live screenshots, the overall review efficiency of the live broadcast room can be improved. In actual use, due to the large number of live broadcast rooms and the limitations of the review system performance, when taking screenshots of live broadcast rooms using a fixed screenshot frequency, it is impossible to take into account both the real-time and reliability of the review.
发明内容Summary of the invention
本申请实施例提供了一种直播截图方法、装置、设备及存储介质,解决了相关技术中,在进行直播截图审核时无法兼顾实时性和可靠性的问题,通过动态调整截图频率,均衡了截图送审可靠性和机器资源的使用。The embodiments of the present application provide a live broadcast screenshot method, device, equipment and storage medium, which solves the problem in the related art that it is impossible to take into account both real-time and reliability when reviewing live broadcast screenshots. By dynamically adjusting the screenshot frequency, the reliability of screenshot submission and the use of machine resources are balanced.
第一方面,本申请实施例提供了一种直播截图方法,应用于前端服务器,该方法包括:In a first aspect, an embodiment of the present application provides a live streaming screenshot method, which is applied to a front-end server, and the method includes:
根据直播间的属性信息确定第一截图频率;Determine the first screenshot frequency according to the attribute information of the live broadcast room;
接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率;Receiving a number of people in the live broadcast room sent by a backend server, and adjusting the first screenshot frequency according to the number of people to obtain a second screenshot frequency;
以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图,将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将 所述属性信息、所述人数值以及所述资源定位符发送至审核系统。Perform image conversion of the video frame of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot, upload the live broadcast screenshot to the file system, and receive the resource locator fed back by the file system, The attribute information, the personnel value and the resource locator are sent to an audit system.
第二方面,本申请实施例还提供了一种直播截图装置,包括:In a second aspect, the embodiment of the present application further provides a live broadcast screenshot device, comprising:
频率初始化模块,配置为根据直播间的属性信息确定第一截图频率;A frequency initialization module, configured to determine a first screenshot frequency according to attribute information of the live broadcast room;
频率调整模块,配置为接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率;A frequency adjustment module is configured to receive a number of people in the live broadcast room sent by a backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency;
截图模块,配置为以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图;A screenshot module, configured to perform image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot;
截图发送模块,配置为将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将所述属性信息、所述人数值以及所述资源定位符发送至审核系统。The screenshot sending module is configured to upload the live screenshot to the file system, receive the resource locator fed back by the file system, and send the attribute information, the person value and the resource locator to the audit system.
第三方面,本申请实施例还提供了一种直播截图设备,该设备包括:In a third aspect, an embodiment of the present application further provides a live streaming screenshot device, the device comprising:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,a storage device for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本申请实施例所述的直播截图方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the live broadcast screenshot method described in the embodiment of the present application.
第四方面,本申请实施例还提供了一种存储计算机可执行指令的非易失性存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行本申请实施例所述的直播截图方法。In a fourth aspect, an embodiment of the present application further provides a non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the live broadcast screenshot method described in the embodiment of the present application.
第五方面,本申请实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序,该计算机程序存储在计算机可读存储介质中,设备的至少一个处理器从计算机可读存储介质读取并执行计算机程序,使得设备执行本申请实施例所述的直播截图方法。In a fifth aspect, an embodiment of the present application further provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor of the device reads and executes the computer program from the computer-readable storage medium, so that the device executes the live broadcast screenshot method described in the embodiment of the present application.
本申请实施例中,根据直播间的属性信息确定第一截图频率后,接收后端服务器发送的直播间的人数值,再根据人数值对第一截图频率进行调整得到第二截图频率,以第二截图频率进行直播间的视频帧的图像转换得到直播截图,将直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将属性信息、所述人数值以及所述资源定位符发送至审核系统,该种截图过程可根据直播间的人气情况动态的进行截图频率的控制,避免了采用固定截图频率方式导致的灵活性差,无法兼顾实时性和可靠性的问题,通过动态调整截图频率, 均衡了截图送审可靠性和机器资源的使用。同时,通过设置的和审核系统的信息交互方式,在发送截图的过程中进一步携带直播间的属性信息以及人气值,便于审核系统基于该特征进行灵活的审核,提高了审核效率。In the embodiment of the present application, after determining the first screenshot frequency according to the attribute information of the live broadcast room, the number of people in the live broadcast room sent by the back-end server is received, and then the first screenshot frequency is adjusted according to the number of people to obtain a second screenshot frequency, and the image conversion of the video frame of the live broadcast room is performed at the second screenshot frequency to obtain a live screenshot, and the live screenshot is uploaded to the file system, and the resource locator fed back by the file system is received, and the attribute information, the number of people and the resource locator are sent to the review system. This screenshot process can dynamically control the screenshot frequency according to the popularity of the live broadcast room, avoiding the poor flexibility caused by the use of a fixed screenshot frequency, and the problem of being unable to take into account both real-time and reliability. By dynamically adjusting the screenshot frequency, The reliability of screenshot submission and the use of machine resources are balanced. At the same time, through the information interaction method set up with the review system, the attribute information and popularity value of the live broadcast room are further carried in the process of sending screenshots, which facilitates the review system to conduct flexible review based on this feature and improves the review efficiency.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请实施例提供的一种直播截图方法的应用场景示意图;FIG1 is a schematic diagram of an application scenario of a live broadcast screenshot method provided in an embodiment of the present application;
图2为本申请实施例提供的一种直播截图方法的流程图;FIG2 is a flow chart of a live streaming screenshot method provided in an embodiment of the present application;
图3为本申请实施例提供的一种直播截图发送方法的流程图;FIG3 is a flow chart of a method for sending live screenshots provided in an embodiment of the present application;
图4为本申请实施例提供的一种基于直播截图进行审核的方法的流程图;FIG4 is a flow chart of a method for reviewing based on live screenshots provided in an embodiment of the present application;
图5为本申请实施例提供的一种直播截图装置的结构框图;FIG5 is a structural block diagram of a live broadcast screenshot device provided in an embodiment of the present application;
图6为本申请实施例提供的一种直播截图设备的结构示意图。FIG6 is a schematic diagram of the structure of a live broadcast screenshot device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请实施例作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请实施例,而非对本申请实施例的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请实施例相关的部分而非全部结构。The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, rather than to limit the embodiments of the present application. It should also be noted that, for ease of description, only parts related to the embodiments of the present application are shown in the accompanying drawings, rather than all structures.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.
图1为本申请实施例提供的一种直播截图方法的应用场景示意图,如图1所示,服务器连接有多个客户端,如客户端1、客户端2、...、客户端n,其中每个客户端可以是观看直播的观众使用的设备端,也可以是主播开启直播使用的设备端。其中,主播使用的设备端在和服务器建立通信连接后,可将直播内容推送至服务器,服务器可以将该直播内容的视频流推送至登录相应直播间的 观众的设备端,由此实现直播功能。其中,服务器在接收到直播内容的视频流时,对该直播内容进行截图,并通过审核系统实时的对该截图进行审核,如发现违规情况,则进行相应的处理。FIG1 is a schematic diagram of an application scenario of a live streaming screenshot method provided by an embodiment of the present application. As shown in FIG1 , a server is connected to multiple clients, such as client 1, client 2, ..., client n, wherein each client can be a device end used by viewers watching live streaming, or a device end used by the anchor to start live streaming. After the anchor's device end establishes a communication connection with the server, the anchor can push the live streaming content to the server, and the server can push the video stream of the live streaming content to the user who logs into the corresponding live streaming room. The live broadcast function is thus realized on the viewer's device. When the server receives the video stream of the live broadcast content, it takes a screenshot of the live broadcast content and verifies the screenshot in real time through the review system. If any violation is found, the corresponding treatment is carried out.
图2为本申请实施例提供的一种直播截图方法的流程图,可应用于前端服务器,具体包括如下步骤:FIG2 is a flow chart of a live streaming screenshot method provided in an embodiment of the present application, which can be applied to a front-end server and specifically includes the following steps:
步骤S101、根据直播间的属性信息确定第一截图频率。Step S101: determine a first screenshot frequency according to attribute information of the live broadcast room.
在一个实施例中,该直播截图方法由前端服务器执行。直播端首先建立和后端服务器的连接,申请被分配的前端服务器,在直播端接收到被分配的前端服务器后,进行前端服务器的登录。可选的,后端服务器和前端服务器分别通过各自运行的后端服务进程和前端服务器进行实现上述功能。在直播端登录前端服务器后,前端服务器可相应的获取到直播间的属性信息。在进行截图频率的控制时,首先基于该属性信息确定第一截图频率,可理解为截图频率的初始化过程。In one embodiment, the live broadcast screenshot method is executed by a front-end server. The live broadcast end first establishes a connection with the back-end server and applies for the assigned front-end server. After the live broadcast end receives the assigned front-end server, it logs in to the front-end server. Optionally, the back-end server and the front-end server respectively implement the above functions through their respective back-end service processes and front-end servers. After the live broadcast end logs in to the front-end server, the front-end server can obtain the attribute information of the live broadcast room accordingly. When controlling the screenshot frequency, first determine the first screenshot frequency based on the attribute information, which can be understood as the initialization process of the screenshot frequency.
可选的,该属性信息包括直播间的直播类型、直播位置和直播内容,即和直播间关联的用于表征直播间的各个参数情况的信息。相应的,以属性信息包括直播类型、直播位置和直播内容为例,在确定第一截图频率时,基于该直播类型、直播位置和直播内容进行确定。当然,上述仅为示例性的几种直播间的属性信息,还可以包括其它属性信息。同时,在进行第一截图频率的确定时,也可以不同时使用上述三种属性信息进行确定,如使用其中的任意两种或一种进行确定。Optionally, the attribute information includes the live broadcast type, live broadcast position and live broadcast content of the live broadcast room, that is, information associated with the live broadcast room for characterizing various parameter conditions of the live broadcast room. Accordingly, taking the attribute information including the live broadcast type, live broadcast position and live broadcast content as an example, when determining the first screenshot frequency, it is determined based on the live broadcast type, live broadcast position and live broadcast content. Of course, the above are only exemplary attribute information of several types of live broadcast rooms, and other attribute information may also be included. At the same time, when determining the first screenshot frequency, the above three types of attribute information may not be used at the same time, such as using any two or one of them for determination.
在一个实施例中,以单独使用某一参数信息进行直播间的截图频率的初始化为例,在使用直播类型这一属性信息时,预先设置有不同直播类型对应的截图频率。其中,一种直播类型的划分,示例性的可以是:游戏直播、教学直播、唱歌直播等。其中,每种不同类型的直播预先设置有各自对应的截图频率,可基于具体的当前直播间的类型进行确定。In one embodiment, taking the initialization of the screenshot frequency of the live broadcast room using a certain parameter information alone as an example, when the attribute information of the live broadcast type is used, the screenshot frequencies corresponding to different live broadcast types are pre-set. Among them, a classification of live broadcast types can be exemplified as: game live broadcast, teaching live broadcast, singing live broadcast, etc. Among them, each different type of live broadcast is pre-set with its own corresponding screenshot frequency, which can be determined based on the specific type of the current live broadcast room.
在使用直播位置这一属性信息时,预先设置有不同直播位置对应的截图频率。其中,一种直播位置的划分,示例性的可以是:室内直播、户外直播;另一种直播位置的划分可以是:城市直播、乡村直播等,或者根据不同的地域城市和国别进行的直播位置的划分。其中,每种不同位置的直播预先设置有各自 对应的截图频率,可基于具体的当前直播间的位置进行确定。When using the attribute information of the live broadcast location, the screenshot frequencies corresponding to different live broadcast locations are preset. One example of the division of live broadcast locations can be: indoor live broadcast, outdoor live broadcast; another example of the division of live broadcast locations can be: urban live broadcast, rural live broadcast, etc., or the division of live broadcast locations based on different regions, cities and countries. Each different location of live broadcast is preset with its own screenshot frequency. The corresponding screenshot frequency can be determined based on the specific location of the current live broadcast room.
在使用直播内容这一属性信息时,预先设置有不同直播内容对应的截图频率。其中,一种直播内容的划分,示例性的可以是:包含人物的直播内容、不包含人物的直播内容。其中,每种不同内容的直播预先设置有各自对应的截图频率,可基于具体的当前直播间的内容进行确定。When using the attribute information of live content, the screenshot frequencies corresponding to different live content are preset. Among them, one type of live content division can be exemplarily: live content containing characters and live content not containing characters. Among them, each live broadcast of different content is preset with its own corresponding screenshot frequency, which can be determined based on the specific content of the current live broadcast room.
上述的直播类型、直播位置和直播内容的举例仅为示例性的,可根据不同的实际需要进行灵活的划分。The above examples of live broadcast type, live broadcast location and live broadcast content are only exemplary and can be flexibly divided according to different actual needs.
可选的,以同时基于直播类型、直播位置和直播内容进行第一截图频率的确定为例,可以是:根据直播间的直播类型、直播位置和直播内容以及分别设置截图频率对照表确定第一截图频率。具体的,针对直播类型、直播位置和直播内容各自分别设置有对应的截图频率对照表,再确定各自的截图频率后,进行加权平均得到第一截图频率,其中,直播类型、直播位置和直播内容可分别设置不同的权重,如直播内容设置为高权重,直播类型、直播位置的权重设置的相对较低。Optionally, taking the determination of the first screenshot frequency based on the live broadcast type, live broadcast position and live broadcast content at the same time as an example, the first screenshot frequency can be determined according to the live broadcast type, live broadcast position and live broadcast content of the live broadcast room and the screenshot frequency comparison table is set respectively. Specifically, a corresponding screenshot frequency comparison table is set for each of the live broadcast type, live broadcast position and live broadcast content, and after determining the respective screenshot frequencies, a weighted average is performed to obtain the first screenshot frequency, wherein the live broadcast type, live broadcast position and live broadcast content can be set with different weights respectively, such as the live broadcast content is set with a high weight, and the weights of the live broadcast type and live broadcast position are set relatively low.
在一个实施例中,在确定出第一截图频率后,以该第一截图频率进行直播内容的截图,直到确认出进行该截图频率调整的情况为止。In one embodiment, after the first screenshot frequency is determined, screenshots of the live content are taken at the first screenshot frequency until it is confirmed that the screenshot frequency needs to be adjusted.
步骤S102、接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率。Step S102: receiving a number of people in the live broadcast room sent by a backend server, and adjusting the first screenshot frequency according to the number of people to obtain a second screenshot frequency.
在一个实施例中,后端服务器可对每个直播间的人数值进行统计。可选的,可通过后端服务器运行的后端服务进程、直播间的房间后台进程,或者客户端SDK进行统计得到直播间的人数值。可选的,该人数值可以以用户的登录ID作为统计标准,过滤掉非用户ID的不真实的用户人数。其中,该后端服务器实时的进行直播间的人数值的统计和更新,定时下发至前端服务器。前端服务器在接收到该人数值时,进行相应的直播间的截图频率的调整。通过对第一截图频率进行调整,得到第二截图频率。其中,可以是增大或者减小第一截图频率以得到第二截图频率。In one embodiment, the back-end server can count the number of people in each live broadcast room. Optionally, the number of people in the live broadcast room can be obtained by counting the back-end service process run by the back-end server, the room background process of the live broadcast room, or the client SDK. Optionally, the number of people can use the user's login ID as the statistical standard to filter out the unreal number of users who are not user IDs. Among them, the back-end server counts and updates the number of people in the live broadcast room in real time, and sends it to the front-end server at a regular interval. When the front-end server receives the number of people, it adjusts the screenshot frequency of the corresponding live broadcast room. By adjusting the first screenshot frequency, a second screenshot frequency is obtained. Among them, the first screenshot frequency can be increased or decreased to obtain the second screenshot frequency.
在一个实施例中,给出了一种具体的基于人数值进行截图频率调整的过程,可以是:在人数值大于第一预设阈值的情况下,对第一截图频率进行增大得到第二截图频率,在人数值小于第二预设阈值的情况下,对第一截图频率进行减 小得到第二截图频率,其中,第一预设阈值大于第二预设阈值。具体的第一预设阈值和第二预设阈值的大小可以灵活设置。示例性的,第一预设阈值可以是1000,当人数值大于1000时,相应的提高截图频率,第二预设阈值可以是200,即当人数值小于200时降低截图频率,在人数值处于200至1000之间时,维持确定出的第一截图频率进行截图。其中,增加和减小的截图频率的具体数值不做限定,示例性的,假定初始化时确定的第一截图频率为每10秒进行一次截图,增大截图频率后可以是每3秒进行一次截图,减小截图频率后可以是每20秒进行一次截图。In one embodiment, a specific process of adjusting the screenshot frequency based on the number of people is provided, which may be: when the number of people is greater than a first preset threshold, the first screenshot frequency is increased to obtain a second screenshot frequency; when the number of people is less than the second preset threshold, the first screenshot frequency is decreased. The second screenshot frequency is obtained by adjusting the number of people to a smaller value, wherein the first preset threshold is greater than the second preset threshold. The specific sizes of the first preset threshold and the second preset threshold can be flexibly set. Exemplarily, the first preset threshold may be 1000. When the number of people is greater than 1000, the screenshot frequency is increased accordingly. The second preset threshold may be 200, that is, when the number of people is less than 200, the screenshot frequency is reduced. When the number of people is between 200 and 1000, the first screenshot frequency determined is maintained for screenshots. Among them, the specific values of the increased and decreased screenshot frequencies are not limited. Exemplarily, assuming that the first screenshot frequency determined during initialization is to take a screenshot every 10 seconds, after increasing the screenshot frequency, a screenshot may be taken every 3 seconds, and after reducing the screenshot frequency, a screenshot may be taken every 20 seconds.
可选的,在基于人数值进行截图频率的调整时,还可以设置第三预设阈值,该第三预设阈值大于第一预设阈值,在人数值大于该第三预设阈值时,进一步增加截图频率。Optionally, when adjusting the screenshot frequency based on the number of people, a third preset threshold may be set, where the third preset threshold is greater than the first preset threshold, and when the number of people is greater than the third preset threshold, the screenshot frequency is further increased.
在一个实施例中,如果在预设时间内未接收到后端服务器发送的直播间的人数值时,发送人数值查询请求至后端服务器,以获取所述直播间的最新的人数值。由此保证人数值的准确度,提高确定出的截图频率的精准度。In one embodiment, if the number of people in the live broadcast room sent by the backend server is not received within a preset time, a number query request is sent to the backend server to obtain the latest number of people in the live broadcast room, thereby ensuring the accuracy of the number of people and improving the accuracy of the determined screenshot frequency.
步骤S103、以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图,将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将所述属性信息、所述人数值以及所述资源定位符发送至审核系统。Step S103, performing image conversion of the video frame of the live broadcast room at the second screenshot frequency to obtain a live screenshot, uploading the live screenshot to the file system, receiving a resource locator fed back by the file system, and sending the attribute information, the person value and the resource locator to the audit system.
在一个实施例中,确定第二截图频率后,以该第二截图频率进行直播间的视频帧的图像转换得到直播截图。可选的,该直播间的视频帧的图像转换可由运行的截图进行实现,即实现直播间的是频率到截图的生成。在得到截图后,相应的将该截图上传至文件系统进行存储,同时接收文件系统反馈的资源定位符,该资源定位符用于审核系统进行截图的查找获取。In one embodiment, after determining the second screenshot frequency, the image conversion of the video frame of the live broadcast room is performed at the second screenshot frequency to obtain the live broadcast screenshot. Optionally, the image conversion of the video frame of the live broadcast room can be realized by the running screenshot, that is, the generation of the screenshot from the frequency of the live broadcast room is realized. After obtaining the screenshot, the screenshot is uploaded to the file system for storage, and the resource locator fed back by the file system is received at the same time, and the resource locator is used for the audit system to search and obtain the screenshot.
在一个实施例中,在接收到资源定位符后,将直播间的属性信息、人数值以及该资源定位符一起发送至审核系统,用于审核系统在审核时可依据该直播间的属性信息、人数值确定不同是审核机制,以提高审核效率。In one embodiment, after receiving the resource locator, the attribute information of the live broadcast room, the number of people, and the resource locator are sent together to the audit system, so that the audit system can determine different audit mechanisms based on the attribute information and number of people of the live broadcast room during the audit to improve the audit efficiency.
由上述方案可知,根据直播间的属性信息确定第一截图频率后,接收后端服务器发送的直播间的人数值,再根据人数值对第一截图频率进行调整得到第二截图频率,以第二截图频率进行直播间的视频帧的图像转换得到直播截图,将直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将属性 信息、所述人数值以及所述资源定位符发送至审核系统,该种截图过程可根据直播间的人气情况动态的进行截图频率的控制,避免了采用固定截图频率方式导致的灵活性差,无法兼顾实时性和可靠性的问题,通过动态调整截图频率,均衡了截图送审可靠性和机器资源的使用。同时,通过设置的和审核系统的信息交互方式,在发送截图的过程中进一步携带直播间的属性信息以及人气值,便于审核系统基于该特征进行灵活的审核,提高了审核效率。It can be seen from the above scheme that after determining the first screenshot frequency according to the attribute information of the live broadcast room, receiving the number of people in the live broadcast room sent by the back-end server, and then adjusting the first screenshot frequency according to the number of people to obtain the second screenshot frequency, performing image conversion of the video frame of the live broadcast room at the second screenshot frequency to obtain the live broadcast screenshot, uploading the live broadcast screenshot to the file system, and receiving the resource locator fed back by the file system, converting the attribute The information, the number of people, and the resource locator are sent to the audit system. This screenshot process can dynamically control the screenshot frequency according to the popularity of the live broadcast room, avoiding the poor flexibility caused by the fixed screenshot frequency method and the inability to take into account the real-time and reliability issues. By dynamically adjusting the screenshot frequency, the reliability of screenshot submission and the use of machine resources are balanced. At the same time, through the information interaction method set with the audit system, the attribute information and popularity value of the live broadcast room are further carried in the process of sending the screenshot, which facilitates the audit system to perform flexible audits based on this feature, thereby improving the audit efficiency.
在一个实施例中,根据直播间的属性信息确定第一截图频率之前,该直播截图方法还包括:接收用户端的登录请求,将用户端的登录信息发送至后端服务器,用于后端服务器根据登录信息生成直播间的人数值,在用户端登录离开的情况下,将用户离开信息发送至所述后端服务器。即通过前端服务器实时的将用户的登录情况发送至后端服务器,用以后端服务器进行直播间人数值的实时更新。In one embodiment, before determining the first screenshot frequency according to the attribute information of the live broadcast room, the live broadcast screenshot method further includes: receiving a login request from the user end, sending the login information of the user end to the back-end server, so that the back-end server generates a number of people in the live broadcast room according to the login information, and sending the user leaving information to the back-end server when the user end logs in and leaves. That is, the user's login status is sent to the back-end server in real time through the front-end server, so that the back-end server can update the number of people in the live broadcast room in real time.
图3为本申请实施例提供的一种直播截图发送方法的流程图,给出了一种具体的对直播截图进行处理送审的流程,如图3所示,具体包括:FIG3 is a flow chart of a method for sending a live screenshot provided in an embodiment of the present application, which provides a specific process for processing and submitting a live screenshot for review, as shown in FIG3 , specifically including:
步骤S201、根据直播间的属性信息确定第一截图频率。Step S201: determine the first screenshot frequency according to the attribute information of the live broadcast room.
步骤S202、接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率。Step S202: Receive a number of people in the live broadcast room sent by a backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency.
步骤S203、以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图,将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符。Step S203: performing image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot, uploading the live broadcast screenshot to a file system, and receiving a resource locator fed back by the file system.
步骤S204、将所述属性信息、所述人数值与所述资源定位符进行拼接得到拼接信息,将所述拼接信息发送至审核系统,用于所述审核系统基于所述拼接信息进行直播截图的审核。Step S204: splice the attribute information, the person value and the resource locator to obtain spliced information, and send the spliced information to the review system, so that the review system can review the live screenshot based on the spliced information.
在一个实施例中,在得到直播截图后,相应的将直播间的属性信息、人数值以及接收到的资源定位符进行拼接得到拼接信息,将该拼接信息发送至审核系统,用于审核系统基于拼接信息进行直播截图的审核。示例性的,以资源定位符为url:http://xxx.xxx.xxx/xx.jpg为例,将属性信息、人数值作为特征字段,将具体的数值添加至特征字段中,与该资源定位符进行拼接得到拼接信息。In one embodiment, after obtaining the live screenshot, the attribute information of the live room, the number of people, and the received resource locator are spliced to obtain splicing information, and the splicing information is sent to the audit system for the audit system to audit the live screenshot based on the splicing information. For example, taking the resource locator as url:http://xxx.xxx.xxx/xx.jpg as an example, the attribute information and the number of people are used as feature fields, and the specific value is added to the feature field, and spliced with the resource locator to obtain the splicing information.
拼接信息示例性的为: The splicing information is exemplified as follows:
url:http://xxx.xxx.xxx/xx.jpg?popularities=x&&roomtype=x&&country=x...url:http://xxx.xxx.xxx/xx.jpg? popularity=x&&roomtype=x&&country=x...
由上述可知,在得到直播截图后,相应的将直播间的属性信息、人数值以及接收到的资源定位符进行拼接得到拼接信息,将该拼接信息发送至审核系统,用于审核系统基于拼接信息进行直播截图的审核,并非单纯的直接发送截图送审,使得审核系统可以基于属性信息和人数值选择合理的审核机制进行审核,同时通过发送资源定位符用于审核系统进行截图的定位,截图存储在文件系统中,避免审核端存储大量截图导致的负载过高的问题,同时针对大量的直播截图可通过文件系统进行统一管理,提高了截图管理效率。From the above, it can be seen that after obtaining the live screenshot, the attribute information of the live broadcast room, the number of people and the received resource locator are spliced to obtain the splicing information, and the splicing information is sent to the review system, so that the review system can review the live screenshot based on the splicing information, rather than simply sending the screenshot directly for review, so that the review system can select a reasonable review mechanism for review based on the attribute information and the number of people. At the same time, the resource locator is sent for the review system to locate the screenshot, and the screenshot is stored in the file system to avoid the problem of excessive load caused by storing a large number of screenshots on the review end. At the same time, a large number of live screenshots can be managed uniformly through the file system, thereby improving the efficiency of screenshot management.
图4为本申请实施例提供的一种基于直播截图进行审核的方法的流程图,给出了一种具体的审核处理机制,如图4所示,具体包括:FIG4 is a flow chart of a method for reviewing based on live screenshots provided in an embodiment of the present application, and provides a specific review processing mechanism, as shown in FIG4 , which specifically includes:
步骤S301、根据直播间的属性信息确定第一截图频率。Step S301: determine the first screenshot frequency according to the attribute information of the live broadcast room.
步骤S302、接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率。Step S302: Receive the number of people in the live broadcast room sent by the backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency.
步骤S303、以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图,将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符。Step S303: performing image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot, uploading the live broadcast screenshot to a file system, and receiving a resource locator fed back by the file system.
步骤S304、将所述属性信息、所述人数值与所述资源定位符进行拼接得到拼接信息,将所述拼接信息发送至审核系统,用于所述审核系统基于所述拼接信息进行直播截图的审核。Step S304: splice the attribute information, the person value and the resource locator to obtain spliced information, and send the spliced information to the review system, so that the review system can review the live screenshot based on the spliced information.
步骤S305、所述审核系统根据所述拼接信息中记录的属性信息和人数值确定审核流程,通过所述审核流程对所述资源定位符链接的直播截图进行审。Step S305: The review system determines a review process according to the attribute information and the headcount value recorded in the splicing information, and reviews the live broadcast screenshot linked to the resource locator through the review process.
在一个实施例中,审核系统可以是单独运行的审核服务器,在接收到前端服务器发送给的拼接信息后,对该拼接信息进行解析得到其中记录的属性信息和人数值,根据该属性信息和人数值选择不同的审核机制。示例性的,当人数值过低时可采用机器审核的方式进行审核,当人数值较高时采用人工审核的方式进行审核。当属性信息中记录的直播类型为教学直播时,相应的可采用机器审核的方式进行审核。In one embodiment, the audit system can be a separately running audit server. After receiving the spliced information sent by the front-end server, the spliced information is parsed to obtain the attribute information and headcount value recorded therein, and different audit mechanisms are selected according to the attribute information and headcount value. Exemplarily, when the headcount value is too low, a machine audit can be used for auditing, and when the headcount value is high, a manual audit can be used for auditing. When the live broadcast type recorded in the attribute information is a teaching live broadcast, a machine audit can be used for auditing accordingly.
由上述可知,审核系统在审核的过程中,针对直播截图以及相应的直播间的属性信息和人数值采用不同的审核方式,在保证了审核可靠性的同时提高了 审核效率,优化了整体审核机制。From the above, we can see that during the review process, the review system adopts different review methods for the live screenshots and the corresponding live room attribute information and number of people, which improves the reliability of the review while ensuring the reliability of the review. Improve audit efficiency and optimize the overall audit mechanism.
图5为本申请实施例提供的一种直播截图装置的结构框图,该装置用于执行上述实施例提供的应用于客户端的直播截图方法,具备执行方法相应的功能模块和有益效果。如图5所示,该装置具体包括:频率初始化模块101、频率调整模块102、截图模块103和截图发送模块104,其中,FIG5 is a structural block diagram of a live screenshot device provided in an embodiment of the present application, which is used to execute the live screenshot method applied to the client provided in the above embodiment, and has the corresponding functional modules and beneficial effects of the execution method. As shown in FIG5, the device specifically includes: a frequency initialization module 101, a frequency adjustment module 102, a screenshot module 103 and a screenshot sending module 104, wherein:
频率初始化模块101,配置为根据直播间的属性信息确定第一截图频率;The frequency initialization module 101 is configured to determine the first screenshot frequency according to the attribute information of the live broadcast room;
频率调整模块102,配置为接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率;The frequency adjustment module 102 is configured to receive a number of people in the live broadcast room sent by a backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency;
截图模块103,配置为以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图;A screenshot module 103 is configured to perform image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot;
截图发送模块104,配置为将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将所述属性信息、所述人数值以及所述资源定位符发送至审核系统。The screenshot sending module 104 is configured to upload the live screenshot to the file system, receive the resource locator fed back by the file system, and send the attribute information, the person value and the resource locator to the review system.
由上述方案可知,根据直播间的属性信息确定第一截图频率后,接收后端服务器发送的直播间的人数值,再根据人数值对第一截图频率进行调整得到第二截图频率,以第二截图频率进行直播间的视频帧的图像转换得到直播截图,将直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将属性信息、所述人数值以及所述资源定位符发送至审核系统,该种截图过程可根据直播间的人气情况动态的进行截图频率的控制,避免了采用固定截图频率方式导致的灵活性差,无法兼顾实时性和可靠性的问题,通过动态调整截图频率,均衡了截图送审可靠性和机器资源的使用。同时,通过设置的和审核系统的信息交互方式,在发送截图的过程中进一步携带直播间的属性信息以及人气值,便于审核系统基于该特征进行灵活的审核,提高了审核效率。It can be seen from the above scheme that after determining the first screenshot frequency according to the attribute information of the live broadcast room, the number of people in the live broadcast room sent by the back-end server is received, and then the first screenshot frequency is adjusted according to the number of people to obtain the second screenshot frequency, and the image conversion of the video frame of the live broadcast room is performed at the second screenshot frequency to obtain a live screenshot, and the live screenshot is uploaded to the file system, and the resource locator fed back by the file system is received, and the attribute information, the number of people and the resource locator are sent to the review system. This screenshot process can dynamically control the screenshot frequency according to the popularity of the live broadcast room, avoiding the poor flexibility caused by the fixed screenshot frequency method, and the problem of not being able to take into account the real-time and reliability. By dynamically adjusting the screenshot frequency, the reliability of screenshot submission and the use of machine resources are balanced. At the same time, through the information interaction method set with the review system, the attribute information and popularity value of the live broadcast room are further carried in the process of sending the screenshot, which facilitates the review system to perform flexible review based on this feature, thereby improving the review efficiency.
在一个可能的实施例中,所述属性信息包括所述直播间的直播类型、直播位置和直播内容,所述频率初始化模块101,配置为:In a possible embodiment, the attribute information includes the live broadcast type, live broadcast location and live broadcast content of the live broadcast room, and the frequency initialization module 101 is configured as follows:
根据所述直播间的直播类型、直播位置和直播内容以及分别设置截图频率对照表确定第一截图频率。The first screenshot frequency is determined according to the live broadcast type, live broadcast location and live broadcast content of the live broadcast room and the screenshot frequency comparison table is set respectively.
在一个可能的实施例中,所述频率调整模块102,配置为:In a possible embodiment, the frequency adjustment module 102 is configured as follows:
在所述人数值大于第一预设阈值的情况下,对所述第一截图频率进行增大 得到第二截图频率;When the number of people is greater than a first preset threshold, the first screenshot frequency is increased. Get the second screenshot frequency;
在所述人数值小于第二预设阈值的情况下,对所述第一截图频率进行减小得到第二截图频率,所述第一预设阈值大于所述第二预设阈值。When the number of people is less than a second preset threshold, the first screenshot frequency is reduced to obtain a second screenshot frequency, and the first preset threshold is greater than the second preset threshold.
在一个可能的实施例中,所述截图处理模块103,还配置为:In a possible embodiment, the screenshot processing module 103 is further configured to:
在所述根据直播间的属性信息确定第一截图频率之前,接收用户端的登录请求,将所述用户端的登录信息发送至所述后端服务器,用于所述后端服务器根据所述登录信息生成所述直播间的人数值;Before determining the first screenshot frequency according to the attribute information of the live broadcast room, receiving a login request from a user terminal, and sending the login information of the user terminal to the back-end server, so that the back-end server generates a person value of the live broadcast room according to the login information;
在所述用户端登录离开的情况下,将用户离开信息发送至所述后端服务器。When the user logs in and leaves, the user leaving information is sent to the backend server.
在一个可能的实施例中,所述截图处理模块103,还配置为:In a possible embodiment, the screenshot processing module 103 is further configured to:
在预设时间内未接收到所述后端服务器发送的所述直播间的人数值时,发送人数值查询请求至所述后端服务器,以获取所述直播间的最新的人数值。When the number of people in the live broadcast room sent by the back-end server is not received within a preset time, a number query request is sent to the back-end server to obtain the latest number of people in the live broadcast room.
在一个可能的实施例中,所述截图发送模块104,配置为:In a possible embodiment, the screenshot sending module 104 is configured as follows:
将所述属性信息、所述人数值与所述资源定位符进行拼接得到拼接信息;Concatenate the attribute information, the person value and the resource locator to obtain concatenated information;
将所述拼接信息发送至审核系统,用于所述审核系统基于所述拼接信息进行直播截图的审核。The splicing information is sent to the review system, so that the review system can review the live screenshot based on the splicing information.
图6为本申请实施例提供的一种直播截图设备的结构示意图,如图6所示,该设备包括处理器201、存储器202、输入装置203和输出装置204;设备中处理器201的数量可以是一个或多个,图6中以一个处理器201为例;设备中的处理器201、存储器202、输入装置203和输出装置204可以通过总线或其他方式连接,图6中以通过总线连接为例。存储器202作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请实施例中的直播截图方法对应的程序指令/模块。处理器201通过运行存储在存储器302中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的直播截图方法。输入装置203可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置204可包括显示屏等显示设备。FIG6 is a schematic diagram of the structure of a live screenshot device provided by an embodiment of the present application. As shown in FIG6, the device includes a processor 201, a memory 202, an input device 203, and an output device 204; the number of processors 201 in the device may be one or more, and FIG6 takes one processor 201 as an example; the processor 201, the memory 202, the input device 203, and the output device 204 in the device may be connected by a bus or other means, and FIG6 takes the connection by a bus as an example. The memory 202, as a computer-readable storage medium, can be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the live screenshot method in the embodiment of the present application. The processor 201 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 302, that is, the above-mentioned live screenshot method is realized. The input device 203 can be used to receive input digital or character information, and generate key signal input related to the user settings and function control of the device. The output device 204 may include a display device such as a display screen.
本申请实施例还提供一种包含计算机可执行指令的非易失性存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种上述实施例描述的直播截图方法,其中,包括: The embodiment of the present application further provides a non-volatile storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a live broadcast screenshot method described in the above embodiment when executed by a computer processor, including:
根据直播间的属性信息确定第一截图频率;Determine the first screenshot frequency according to the attribute information of the live broadcast room;
接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率;Receiving a number of people in the live broadcast room sent by a backend server, and adjusting the first screenshot frequency according to the number of people to obtain a second screenshot frequency;
以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图,将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将所述属性信息、所述人数值以及所述资源定位符发送至审核系统。Perform image conversion of the video frame of the live broadcast room at the second screenshot frequency to obtain a live screenshot, upload the live screenshot to the file system, receive the resource locator fed back by the file system, and send the attribute information, the person value and the resource locator to the audit system.
值得注意的是,上述直播截图装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请实施例的保护范围。It is worth noting that in the embodiment of the above-mentioned live broadcast screenshot device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present application.
在一些可能的实施方式中,本申请提供的方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在计算机设备上运行时,所述程序代码用于使所述计算机设备执行本说明书上述描述的根据本申请各种示例性实施方式的方法中的步骤,例如,所述计算机设备可以执行本申请实施例所记载的直播截图方法。所述程序产品可以采用一个或多个可读介质的任意组合实现。 In some possible implementations, various aspects of the method provided in this application may also be implemented in the form of a program product, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to perform the steps of the method according to various exemplary embodiments of the present application described above in this specification. For example, the computer device may execute the live screenshot method described in the embodiment of this application. The program product may be implemented in any combination of one or more readable media.

Claims (11)

  1. 直播截图方法,应用于前端服务器,其中,包括:The live streaming screenshot method is applied to the front-end server and includes:
    根据直播间的属性信息确定第一截图频率;Determine the first screenshot frequency according to the attribute information of the live broadcast room;
    接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率;Receiving a number of people in the live broadcast room sent by a backend server, and adjusting the first screenshot frequency according to the number of people to obtain a second screenshot frequency;
    以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图,将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将所述属性信息、所述人数值以及所述资源定位符发送至审核系统。Perform image conversion of the video frame of the live broadcast room at the second screenshot frequency to obtain a live screenshot, upload the live screenshot to the file system, receive the resource locator fed back by the file system, and send the attribute information, the person value and the resource locator to the audit system.
  2. 根据权利要求1所述的直播截图方法,其中,所述属性信息包括所述直播间的直播类型、直播位置和直播内容,所述根据直播间的属性信息确定第一截图频率,包括:The live streaming screenshot method according to claim 1, wherein the attribute information includes the live streaming type, live streaming location and live streaming content of the live streaming room, and determining the first screenshot frequency according to the attribute information of the live streaming room comprises:
    根据所述直播间的直播类型、直播位置和直播内容以及分别设置截图频率对照表确定第一截图频率。The first screenshot frequency is determined according to the live broadcast type, live broadcast location and live broadcast content of the live broadcast room and the screenshot frequency comparison table is set respectively.
  3. 根据权利要求1或2所述的直播截图方法,其中,所述根据所述人数值对所述第一截图频率进行调整得到第二截图频率,包括:The live streaming screenshot method according to claim 1 or 2, wherein the step of adjusting the first screenshot frequency according to the number of people to obtain the second screenshot frequency comprises:
    在所述人数值大于第一预设阈值的情况下,对所述第一截图频率进行增大得到第二截图频率;When the number of people is greater than a first preset threshold, increasing the first screenshot frequency to obtain a second screenshot frequency;
    在所述人数值小于第二预设阈值的情况下,对所述第一截图频率进行减小得到第二截图频率,所述第一预设阈值大于所述第二预设阈值。When the number of people is less than a second preset threshold, the first screenshot frequency is reduced to obtain a second screenshot frequency, and the first preset threshold is greater than the second preset threshold.
  4. 根据权利要求1-3中任一项所述的直播截图方法,其中,在所述根据直播间的属性信息确定第一截图频率之前,所述直播截图方法还包括:The live streaming screenshot method according to any one of claims 1 to 3, wherein, before determining the first screenshot frequency according to the attribute information of the live streaming room, the live streaming screenshot method further comprises:
    接收用户端的登录请求,将所述用户端的登录信息发送至所述后端服务器,用于所述后端服务器根据所述登录信息生成所述直播间的人数值;Receive a login request from a user terminal, and send the login information of the user terminal to the back-end server, so that the back-end server generates a person value of the live broadcast room according to the login information;
    在所述用户端登录离开的情况下,将用户离开信息发送至所述后端服务器。When the user logs in and leaves, the user leaving information is sent to the backend server.
  5. 根据权利要求1-4中任一项所述的直播截图方法,其中,所述直播截图方法还包括:The live streaming screenshot method according to any one of claims 1 to 4, wherein the live streaming screenshot method further comprises:
    在预设时间内未接收到所述后端服务器发送的所述直播间的人数值时,发送人数值查询请求至所述后端服务器,以获取所述直播间的最新的人数值。When the number of people in the live broadcast room sent by the back-end server is not received within a preset time, a number query request is sent to the back-end server to obtain the latest number of people in the live broadcast room.
  6. 根据权利要求1-5中任一项所述的直播截图方法,其中,所述将所述属性信息、所述人数值以及所述资源定位符发送至审核系统,包括: The live streaming screenshot method according to any one of claims 1 to 5, wherein the sending of the attribute information, the person value, and the resource locator to the audit system comprises:
    将所述属性信息、所述人数值与所述资源定位符进行拼接得到拼接信息;Concatenate the attribute information, the person value and the resource locator to obtain concatenated information;
    将所述拼接信息发送至审核系统,用于所述审核系统基于所述拼接信息进行直播截图的审核。The splicing information is sent to the review system, so that the review system can review the live screenshot based on the splicing information.
  7. 根据权利要求6所述的直播截图方法,其中,在所述将所述拼接信息发送至审核系统之后,所述直播截图方法还包括:The live streaming screenshot method according to claim 6, wherein, after sending the splicing information to the review system, the live streaming screenshot method further comprises:
    所述审核系统根据所述拼接信息中记录的属性信息和人数值确定审核流程,通过所述审核流程对所述资源定位符链接的直播截图进行审核。The audit system determines the audit process according to the attribute information and the headcount value recorded in the splicing information, and audits the live screenshot linked to the resource locator through the audit process.
  8. 直播截图装置,其中,包括:A live streaming screenshot device, comprising:
    频率初始化模块,配置为根据直播间的属性信息确定第一截图频率;A frequency initialization module, configured to determine a first screenshot frequency according to attribute information of the live broadcast room;
    频率调整模块,配置为接收后端服务器发送的所述直播间的人数值,根据所述人数值对所述第一截图频率进行调整得到第二截图频率;A frequency adjustment module is configured to receive a number of people in the live broadcast room sent by a backend server, and adjust the first screenshot frequency according to the number of people to obtain a second screenshot frequency;
    截图模块,配置为以所述第二截图频率进行所述直播间的视频帧的图像转换得到直播截图;A screenshot module, configured to perform image conversion of the video frames of the live broadcast room at the second screenshot frequency to obtain a live broadcast screenshot;
    截图发送模块,配置为将所述直播截图上传至文件系统,并接收所述文件系统反馈的资源定位符,将所述属性信息、所述人数值以及所述资源定位符发送至审核系统。The screenshot sending module is configured to upload the live screenshot to the file system, receive the resource locator fed back by the file system, and send the attribute information, the person value and the resource locator to the audit system.
  9. 一种直播截图设备,所述设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现权利要求1-7中任一项所述的直播截图方法。A live streaming screenshot device, the device comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the live streaming screenshot method described in any one of claims 1-7.
  10. 一种存储计算机可执行指令的非易失性存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行权利要求1-7中任一项所述的直播截图方法。A non-volatile storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the live broadcast screenshot method described in any one of claims 1 to 7 when executed by a computer processor.
  11. 一种计算机程序产品,包括计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1-7中任一项所述的直播截图方法。 A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the live broadcast screenshot method described in any one of claims 1 to 7 is implemented.
PCT/CN2023/116780 2022-09-30 2023-09-04 Livestreaming screenshotting method, apparatus and device, and storage medium WO2024066938A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211218221.7 2022-09-30
CN202211218221.7A CN115914512A (en) 2022-09-30 2022-09-30 Live screenshot method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2024066938A1 true WO2024066938A1 (en) 2024-04-04

Family

ID=86481412

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/116780 WO2024066938A1 (en) 2022-09-30 2023-09-04 Livestreaming screenshotting method, apparatus and device, and storage medium

Country Status (2)

Country Link
CN (1) CN115914512A (en)
WO (1) WO2024066938A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914512A (en) * 2022-09-30 2023-04-04 广州安思创信息技术有限公司 Live screenshot method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130336590A1 (en) * 2012-05-03 2013-12-19 Stmicroelectronics S.R.L. Method and apparatus for generating a visual story board in real time
CN110012302A (en) * 2018-01-05 2019-07-12 阿里巴巴集团控股有限公司 A kind of network direct broadcasting monitoring method and device, data processing method
CN110505490A (en) * 2018-05-18 2019-11-26 阿里巴巴集团控股有限公司 Multi-medium data recognition methods and system
CN111182314A (en) * 2018-11-12 2020-05-19 阿里巴巴集团控股有限公司 Live stream processing method and device and data processing method
CN111310665A (en) * 2020-02-18 2020-06-19 深圳市商汤科技有限公司 Violation event detection method and device, electronic equipment and storage medium
CN111797752A (en) * 2020-06-29 2020-10-20 广州市百果园信息技术有限公司 Illegal video detection method, device, equipment and storage medium
CN114827653A (en) * 2022-06-07 2022-07-29 百果园技术(新加坡)有限公司 Live broadcast audio reporting method and device, equipment and storage medium
CN115914512A (en) * 2022-09-30 2023-04-04 广州安思创信息技术有限公司 Live screenshot method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130336590A1 (en) * 2012-05-03 2013-12-19 Stmicroelectronics S.R.L. Method and apparatus for generating a visual story board in real time
CN110012302A (en) * 2018-01-05 2019-07-12 阿里巴巴集团控股有限公司 A kind of network direct broadcasting monitoring method and device, data processing method
CN110505490A (en) * 2018-05-18 2019-11-26 阿里巴巴集团控股有限公司 Multi-medium data recognition methods and system
CN111182314A (en) * 2018-11-12 2020-05-19 阿里巴巴集团控股有限公司 Live stream processing method and device and data processing method
CN111310665A (en) * 2020-02-18 2020-06-19 深圳市商汤科技有限公司 Violation event detection method and device, electronic equipment and storage medium
CN111797752A (en) * 2020-06-29 2020-10-20 广州市百果园信息技术有限公司 Illegal video detection method, device, equipment and storage medium
CN114827653A (en) * 2022-06-07 2022-07-29 百果园技术(新加坡)有限公司 Live broadcast audio reporting method and device, equipment and storage medium
CN115914512A (en) * 2022-09-30 2023-04-04 广州安思创信息技术有限公司 Live screenshot method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115914512A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
EP3780523B1 (en) Network traffic identification method and related device
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
US7761902B2 (en) System and method of providing video content
WO2018059353A1 (en) Message processing method and apparatus
CN103067776A (en) Program-pushing method and system, intelligent display device, cloud server
CN108810657B (en) Method and system for setting video cover
CN104168303A (en) Method and device for displaying network studio
WO2024066938A1 (en) Livestreaming screenshotting method, apparatus and device, and storage medium
CN105306959B (en) A kind of low delay network self-adapting live broadcast system
EP3059945A1 (en) Method and system for video surveillance content adaptation, and central server and device
CN110620699B (en) Message arrival rate determination method, device, equipment and computer readable storage medium
EP3800894A1 (en) Method and apparatus for detecting video playing quality
CN103167327A (en) Method, device and system of information interaction
US20200366967A1 (en) Method and system for monitoring quality of streaming media
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
CN108415908B (en) Multimedia data processing method and server
CN115209231A (en) Data transmission method, device, equipment and computer readable storage medium
WO2013189332A2 (en) Method, system and related device for achieving self-adaptive playing of digital home video stream
CN107124660B (en) Method and device for triggering broadcast information of live broadcast room
CN109948082B (en) Live broadcast information processing method and device, electronic equipment and storage medium
CN106664432A (en) Multimedia information play methods and systems, acquisition equipment, standardized server
WO2016062097A1 (en) Iptv system-based information processing method and device
US11431770B2 (en) Method, system, apparatus, and electronic device for managing data streams in a multi-user instant messaging system
CN113824689B (en) Edge computing network, data transmission method, device, equipment and storage medium
CN110996114A (en) Live broadcast scheduling method and device, electronic equipment and storage medium