WO2018086417A1 - 一种轮麦直播的方法、装置和系统 - Google Patents

一种轮麦直播的方法、装置和系统 Download PDF

Info

Publication number
WO2018086417A1
WO2018086417A1 PCT/CN2017/103191 CN2017103191W WO2018086417A1 WO 2018086417 A1 WO2018086417 A1 WO 2018086417A1 CN 2017103191 W CN2017103191 W CN 2017103191W WO 2018086417 A1 WO2018086417 A1 WO 2018086417A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
live broadcast
server
anchor
broadcast data
Prior art date
Application number
PCT/CN2017/103191
Other languages
English (en)
French (fr)
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 广州华多网络科技有限公司
Priority to US16/347,682 priority Critical patent/US10834432B2/en
Publication of WO2018086417A1 publication Critical patent/WO2018086417A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/4223Cameras
    • 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/432Content retrieval operation from a local storage medium, e.g. 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/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • 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/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Definitions

  • the present invention relates to the field of computer technology, and in particular, to a method, device and system for a live broadcast of a wheel wheat.
  • live broadcast in the live broadcast of the live broadcast there is a form of live broadcast in the live broadcast of the live broadcast, that is, multiple anchors can be broadcasted in a live broadcast in the same live broadcast room for a certain period of time.
  • A, B, and the order of the wheat in the live broadcast room are arranged in sequence.
  • C three anchors, each person lives for 5 minutes, so that after 5 minutes of A broadcast, B can follow the live broadcast for 5 minutes, after which C can live for another 5 minutes.
  • the current round of live broadcast is limited to the anchor broadcast through the computer, so that when there is no computer around the anchor, it is impossible to broadcast live.
  • an embodiment of the present invention provides a method, an apparatus, and a system for a live broadcast of a wheel wheat.
  • the technical solution is as follows:
  • a method for live broadcast of a round wheat comprising:
  • Receiving the live broadcast data sent by the anchor terminal transcoding the live broadcast data according to the target transcoding mode, and transmitting the transcoded live broadcast data to the audience terminal of the live broadcast room to which the anchor terminal belongs.
  • the transmitting the transcoded live broadcast data to the audience terminal including:
  • the server may first perform image cropping on the live broadcast data, and then send the live broadcast data suitable for the display ratio of the viewer terminal to the viewer terminal.
  • the method before receiving the live broadcast data sent by the anchor terminal, the method further includes:
  • the broadcast prompt is sent to the anchor terminal.
  • the server can determine, by using the authentication information, whether the account that logs in to the anchor terminal has the right to start broadcasting.
  • a method for live broadcast of a round wheat comprising:
  • the local terminal type is sent to the server, so that the server according to the pre-stored terminal type and transcoding mode Corresponding relationship, determining a target transcoding mode corresponding to the terminal type;
  • the live broadcast data is obtained, and the live broadcast data is sent to the server, so that the server transcodes the live broadcast data according to the target transcoding mode, and the transcoded live broadcast data is Send to the audience terminal.
  • the live broadcast data is acquired, and the live broadcast data is sent to the server, including:
  • Receiving and displaying the opening prompt sent by the server when receiving the opening instruction input by the user, acquiring live broadcast data, and sending the live broadcast data to the server.
  • the user can perform the broadcast processing according to the opening prompt displayed by the server and displayed on the anchor terminal.
  • a server comprising:
  • a receiving module configured to receive, by the anchor terminal, a terminal type of the anchor terminal sent by the anchor terminal
  • a determining module configured to determine, according to a pre-stored correspondence between the terminal type and the transcoding mode, a target transcoding mode corresponding to the terminal type of the anchor terminal;
  • the sending module is configured to receive the live broadcast data sent by the anchor terminal, transcode the live broadcast data according to the target transcoding mode, and send the transcoded live broadcast data to the audience terminal of the live broadcast room to which the anchor terminal belongs .
  • the sending module is configured to:
  • the live broadcast data is used for image cropping, and the cropped live broadcast data is sent to the viewer terminal.
  • the server further includes:
  • An obtaining module configured to acquire an account identifier of an account currently logged in by the anchor terminal
  • the detecting module is configured to send an opening prompt to the anchor terminal if it detects that the target authentication information corresponding to the account identifier and the target terminal type is stored locally.
  • a fourth aspect provides an anchor terminal, where the anchor terminal includes:
  • a first sending module configured to send a local terminal type to the server when the account identifier of the locally logged account is detected in the preset position of the wheat sequence table during the live broadcast of the roulette, so that the server is pre-stored according to the pre-storage Corresponding relationship between the terminal type and the transcoding mode, determining a target transcoding mode corresponding to the terminal type;
  • a second sending module configured to: when the broadcast triggering event is detected, acquire live data, and send the live data to the server, so that the server transcodes the live data based on the target transcoding manner.
  • the transcoded live broadcast data is sent to the viewer terminal.
  • the second sending module is configured to:
  • Receiving and displaying the opening prompt sent by the server when receiving the opening instruction input by the user, acquiring live broadcast data, and sending the live broadcast data to the server.
  • a system for live broadcast of a roamer comprising a server and an anchor terminal, wherein:
  • the server is configured to receive a terminal type of the anchor terminal that is sent by the anchor terminal, and determine a terminal type of the anchor terminal according to a pre-stored correspondence between a terminal type and a transcoding mode. Corresponding target transcoding mode; receiving the live broadcast data sent by the anchor terminal, transcoding the live broadcast data according to the target transcoding mode, and transmitting the transcoded live broadcast data to a viewer terminal of the live broadcast room to which the anchor terminal belongs;
  • the anchor terminal is configured to send a local terminal type to the server when detecting that the account identifier of the locally logged account is located at a preset location of the MG sequence during the live broadcast of the roulette; At the time, the live broadcast data is obtained, and the live broadcast data is sent to the server.
  • the terminal type of the anchor terminal sent by the anchor terminal is received, and the target transcoding mode corresponding to the terminal type of the anchor terminal is determined according to the correspondence between the pre-stored terminal type and the transcoding mode.
  • Receiving live data sent by the anchor terminal transcoding the live data according to the target transcoding method, and transmitting the transcoded live data to the audience terminal of the live broadcast room to which the anchor terminal belongs. In this way, even if there is no computer around the anchor, you can use the mobile terminal such as mobile phone or tablet to conduct live broadcast.
  • FIG. 1 is a flowchart of a method for live broadcast of a wheel wheat according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing the display of a wheat sequence table according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of display of a broadcast prompt according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of display of an authentication failure prompt according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of screen clipping of a live broadcast data according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an anchor terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of an anchor terminal according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for live broadcast of a round wheat, which can be implemented by a terminal and a server.
  • the terminal may be a terminal used by the anchor party to broadcast live broadcast, and may be installed with a live application, such as a mobile phone or a tablet computer, or a computer, and the server may be a server of a live application.
  • the terminal may be provided with a processor, a memory, and a transceiver.
  • the processor may be used for performing related processing of the live broadcast of the wheel, and the memory may be used for storing data required and generated in the following processing, and the transceiver may be used for receiving and transmitting. data.
  • the terminal may further be provided with an audio acquiring unit and a video acquiring unit, which may be respectively used for collecting audio data and video data when the user performs live broadcast of the wheel wheat, and the terminal may further be provided with an input and output unit for receiving an instruction input by the user, and displaying
  • the content that needs to be displayed during the live broadcast of the wheel wheat when the terminal is the mobile terminal, the input and output unit may be a touch screen screen, when the terminal is the PC end, the input unit may be a mouse and a keyboard, and the output unit may be a screen.
  • the server may be provided with a processor, a memory, a transceiver, and the processor may be used for performing related processing of the live broadcast of the wheel.
  • the memory may be used to store data required and generated in the following processing, and the transceiver may be used for receiving and send data.
  • Step 101 During the live broadcast of the roulette, when it is detected that the account identifier of the locally logged account is located in the preset position of the MG sequence table, the anchor terminal sends the local target terminal type to the server.
  • the user can install a live broadcast application for performing live broadcast on the terminal, and the server of the live broadcast application provides a live broadcast form with a live broadcast of the live broadcast.
  • the above-mentioned live broadcast application can be opened, and then the search is clicked and then the live broadcast room of the live broadcast of the roamer to be participated is entered.
  • the ongoing live broadcast screen can be displayed on the terminal, and
  • the wheat order view button is displayed.
  • the terminal can display the current sequence table of the live broadcast, the account list of at least one account can be recorded in the wheat sequence table, and the account identifier of the anchor currently being broadcasted is located in the wheat sequence table. first place.
  • the bottom of the wheat sequence table can be displayed with a grab button.
  • the wheat sequence table can be as shown in Figure 2.
  • the user can use the terminal to log in to the account. If the account has the robbing permission, the user can click the grab button and then the account.
  • the account ID can be displayed at the end of the wheat sequence list. If the account does not have the robbing permission, the robbed button is grayed out and cannot be triggered.
  • the live broadcast room of each round of live broadcast can be set up with an administrator.
  • the administrator can set the rules of the live broadcast of the round wheat, for example: 1.
  • the length of the round wheat that is, the duration of each live broadcast of each user. ;2.
  • the location of the account identifier of the user account in the wheat sequence table gradually increases with the progress of the live broadcast of the wheat, and when the terminal detects that the account identifier is located at the preset position of the wheat sequence list, Get and send the local target terminal type to the server.
  • the foregoing detection process may be that when the location of the logged-in account identifier changes in the mak list, the terminal sends a location query message to the server, and then is triggered according to the message returned by the server, or may be based on the acquired round.
  • the length of the wheat and the position when joining the wheat sequence table are triggered by the self-calculated waiting time.
  • the preset position of the wheat sequence table may be set by the server according to the current duration of the live broadcast, and may be the first position of the wheat sequence list, or the second, third, etc. of the wheat sequence list.
  • the terminal type information may be classified into a mobile terminal and a PC terminal according to different anchor terminal devices, and the mobile terminal may be further divided into an Apple mobile phone and an Android mobile phone according to different operating systems.
  • Step 102 During the live broadcast of the roulette, the server receives the terminal type of the anchor terminal sent by the anchor terminal.
  • the server may receive the target terminal type sent by the corresponding anchor terminal, and then the target terminal type and the login anchor terminal may be The account ID of the account is stored correspondingly.
  • Step 103 The server determines a target transcoding mode corresponding to the terminal type of the anchor terminal according to the correspondence between the pre-stored terminal type and the transcoding mode.
  • the technician on the server side can write a live application for different terminal types of different terminal types. Therefore, after receiving the live data sent by the anchor terminal, the live data needs to be performed based on different transcoding methods. Transcoding processing. Therefore, the technician can set the corresponding transcoding mode for different terminal types and store them in the server in a corresponding relationship. There are multiple terminal types in the corresponding relationship, and each terminal type may correspond to the same or different transcoding modes. In this way, after the server receives the target terminal type sent by the anchor terminal, the target transcoding mode corresponding to the target terminal type may be determined in the foregoing correspondence.
  • the server needs to detect whether the anchor account has the right to perform live broadcast, and the corresponding processing may be as follows: obtaining an account identifier of the account currently logged in by the anchor terminal, and if the local storage and the account identifier and the target terminal type are detected. Corresponding target authentication information is sent to the anchor terminal Send a broadcast prompt.
  • the user wants to perform live broadcast (including live broadcast) through the live application installed on the terminal, it is necessary to register the account in advance, and then register the authentication information corresponding to the account, here, for different terminal types.
  • the anchor terminal the user needs to register different authentication information.
  • the user wants to perform live broadcast on the computer the user needs to register real-name authentication information, subordinate guild information, live room subscription information and other authentication information, and if the user wants to use the mobile phone
  • the live broadcast requires registration of authentication information such as real-name authentication information and communication account binding information.
  • the server can store the authentication information, the account identifier, and the terminal type locally, so that the server can obtain the current login of the anchor terminal before starting the broadcast.
  • the account identifier of the account, and the terminal type of the anchor terminal and then detecting whether the local target authentication information is stored, that is, detecting whether the user has registered the authentication information, and if all the authentication information exists, the authentication succeeds, and the server succeeds. Can send an announcement to the anchor terminal, if not In (or absence of an authentication information), the authentication fails, the authentication fails prompt may be sent to the terminal anchor.
  • Step 104 When an announcement trigger event is detected, the anchor terminal acquires live broadcast data and sends live broadcast data to the server.
  • the user may pre-set the broadcast trigger event on the anchor terminal, and the start broadcast trigger event may be that the anchor terminal detects that the account identifier of the currently logged account reaches the first position of the wheat sequence list, or may The start-up countdown of the terminal setting is completed.
  • the terminal detects that the start-up triggering event occurs, the terminal can start the broadcast process.
  • the terminal can use the live data collection device (such as the camera for acquiring video data and the user to obtain audio data).
  • the live data is obtained by the microphone.
  • the format of the live data obtained is different depending on the live data collection device corresponding to the anchor terminal of different terminal types.
  • the terminal can then perform video processing on the obtained live data, such as a picture, watermark, etc., and compress and encode the processed live data, and then send the live data to the server.
  • the live broadcast page can display a live broadcast time countdown. The user can choose to stop the broadcast automatically or wait for the live broadcast time to arrive automatically.
  • the account ID of the anchor account can be exited from the wheat sequence list or become the last digit of the wheat sequence list.
  • the server performs authentication processing on the anchor account, and sends a process of sending the prompt.
  • the processing of step 105 may be as follows: receiving and displaying the opening prompt sent by the server, and when receiving the opening instruction input by the user, acquiring Live data, send live data to the server.
  • the server successfully authenticates the anchor terminal, and may send an announcement to the anchor terminal.
  • the anchor terminal may prompt or guide the user to start the live broadcast.
  • the terminal may To display the opening prompt window, as shown in FIG. 3, an opening broadcast button may be set in the opening prompt window.
  • the server may send an opening prompt to the terminal in advance to ensure that the user has sufficient time to prepare for the live broadcast. For example, when the account identifier of the account of the login terminal reaches the second and third positions of the wheat sequence list. That is, send a start prompt. It can be understood that if the authentication fails, the terminal can receive and display the authentication failure prompt sent by the server, as shown in FIG. 4 .
  • Step 105 The server receives the live broadcast data sent by the anchor terminal, transcodes the live broadcast data according to the target transcoding mode, and sends the transcoded live broadcast data to the audience terminal of the live broadcast room to which the anchor terminal belongs.
  • the server may transcode the live broadcast data according to the target transcoding method corresponding to the target terminal type determined in step 103.
  • the server can obtain the channel number of the live broadcast room to which the anchor terminal belongs, and then determine the audience terminal of the live broadcast room according to the channel number, and then send the live broadcast data sent by the anchor terminal to the corresponding audience terminal.
  • the server transcodes the live data to obtain live data in different formats.
  • the format may include: resolution, code rate, etc., and then the server may obtain a request according to the live data sent by the viewer terminal.
  • the live data corresponding to the format is sent to each viewer terminal.
  • the sequence of the step 103 and the step 104 is not limited, that is, the anchor terminal sends the live broadcast data and the server does not have a necessary sequential relationship before determining the transcoding mode.
  • the screen of the live data may be tailored based on the terminal type of the anchor terminal and the audience terminal, and the corresponding processing may be as follows: for each audience terminal in the live broadcast room to which the anchor terminal belongs, Obtaining a terminal type of the audience terminal; performing image cropping on the transcoded live broadcast data based on the image ratio of the terminal type of the viewer terminal and the image ratio of the terminal type of the anchor terminal, and transmitting the cut live broadcast data to the audience terminal.
  • the server may perform transcoding processing on the live broadcast data.
  • the server can receive the live data acquisition request sent by the audience terminal, and the live data acquisition request can carry the channel number between the live broadcast and the terminal type of the audience terminal.
  • the server may determine, according to the channel number of the live broadcast, the audience terminal of the live broadcast room to which the anchor terminal belongs, and for each of the viewer terminals, after determining the terminal type of the audience terminal, the image ratio of the terminal type of the viewer terminal and the terminal of the anchor terminal may be used. The image ratio of the type is used to perform image cropping processing on the transcoded live data.
  • the anchor terminal is a computer and the audience terminal is a mobile phone
  • the image center of the live data is used to cut out the area image that satisfies the proportion of the mobile phone image.
  • the different image ratios can be tailored based on the horizontal view and the vertical view of the mobile phone.
  • the anchor terminal is a mobile phone and the audience terminal is a computer
  • the image clipping can also be performed based on the above processing, and the different image ratios can be tailored based on the mobile phone horizontal screen live broadcast or the vertical screen live broadcast.
  • the terminal type of the anchor terminal sent by the anchor terminal is received, and the target transcoding mode corresponding to the terminal type of the anchor terminal is determined according to the correspondence between the pre-stored terminal type and the transcoding mode.
  • Receiving live data sent by the anchor terminal transcoding the live data according to the target transcoding method, and transmitting the transcoded live data to the audience terminal of the live broadcast room to which the anchor terminal belongs. In this way, even if there is no computer around the anchor, you can use the mobile terminal such as mobile phone or tablet to conduct live broadcast.
  • an embodiment of the present invention further provides a server.
  • the server includes:
  • the receiving module 601 is configured to receive, by the anchor terminal, a terminal type of the anchor terminal that is sent by the anchor terminal.
  • a determining module 602 configured to determine, according to a pre-stored correspondence between the terminal type and the transcoding mode, a target transcoding mode corresponding to the terminal type of the anchor terminal;
  • the sending module 603 is configured to receive live data sent by the anchor terminal, transcode the live data according to the target transcoding mode, and send the transcoded live data to a viewer in the live broadcast room of the anchor terminal. terminal.
  • the sending module 603 is configured to:
  • the live broadcast data is used for image cropping, and the cropped live broadcast data is sent to the viewer terminal.
  • the server further includes:
  • An obtaining module 604 configured to acquire an account identifier of an account currently logged in by the anchor terminal;
  • the detecting module 605 is configured to send an opening prompt to the anchor terminal if it detects that the target authentication information corresponding to the account identifier and the target terminal type is stored locally.
  • an embodiment of the present invention further provides an anchor terminal.
  • the anchor terminal includes:
  • the first sending module 801 is configured to send a local terminal type to the server when the account identifier of the locally logged account is detected in the preset position of the MM sequence in the live broadcast process, so that the server is based on the pre- Corresponding relationship between the stored terminal type and the transcoding mode, and determining a target transcoding mode corresponding to the terminal type;
  • the second sending module 802 is configured to: when the broadcast triggering event is detected, acquire live data, and send the live data to the server, so that the server transcodes the live data based on the target transcoding mode. Transmitting the live data after transcoding to the audience terminal.
  • the second sending module 802 is configured to:
  • Receiving and displaying the opening prompt sent by the server when receiving the opening instruction input by the user, acquiring live broadcast data, and sending the live broadcast data to the server.
  • the terminal type of the anchor terminal sent by the anchor terminal is received, and the target transcoding mode corresponding to the terminal type of the anchor terminal is determined according to the correspondence between the pre-stored terminal type and the transcoding mode.
  • Receiving live data sent by the anchor terminal transcoding the live data according to the target transcoding method, and transmitting the transcoded live data to the audience terminal of the live broadcast room to which the anchor terminal belongs. In this way, even if there is no computer around the anchor, you can use the mobile terminal such as mobile phone or tablet to conduct live broadcast.
  • the device for live broadcast of the rotby when the device for live broadcast of the rotby is provided in the above-mentioned embodiment, only the division of the above functional modules is illustrated. In actual applications, the functions may be allocated by different functional modules as needed. Upon completion, the internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
  • the embodiment of the method for the live broadcast of the roaming of the present invention is the same as the embodiment of the method for the live broadcast of the roulette. The specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • yet another exemplary embodiment of the present disclosure provides a system for a live broadcast of a roamer, the system including a server and an anchor terminal, wherein:
  • the server is configured to receive a terminal type of the anchor terminal that is sent by the anchor terminal, and determine a terminal type of the anchor terminal according to a pre-stored correspondence between a terminal type and a transcoding mode. Corresponding target transcoding mode; receiving the live broadcast data sent by the anchor terminal, transcoding the live broadcast data according to the target transcoding mode, and transmitting the transcoded live broadcast data to the live broadcast room of the anchor terminal Audience terminal
  • the anchor terminal is configured to send a local terminal type to the server when detecting that the account identifier of the locally logged account is located at a preset location of the MG sequence during the live broadcast of the roulette; At the time, the live broadcast data is obtained, and the live broadcast data is sent to the server.
  • the terminal type of the anchor terminal sent by the anchor terminal is received, and the target transcoding mode corresponding to the terminal type of the anchor terminal is determined according to the correspondence between the pre-stored terminal type and the transcoding mode.
  • Receiving live data sent by the anchor terminal transcoding the live data according to the target transcoding method, and transmitting the transcoded live data to the audience terminal of the live broadcast room to which the anchor terminal belongs. In this way, even if there is no computer around the anchor, you can use the mobile terminal such as mobile phone or tablet to conduct live broadcast.
  • FIG. 9 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server 900 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 922 (eg, one or more processors) and memory 932, one or one
  • the storage medium 930 storing the application 942 or the data 944 (for example, one or one storage device in Shanghai).
  • the memory 932 and the storage medium 930 may be short-term storage or persistent storage.
  • the program stored on storage medium 930 may include one or more modules (not shown), each of which may include a series of instruction operations in the server.
  • central processor 922 can be configured to communicate with storage medium 930, executing a series of instruction operations in storage medium 930 on server 900.
  • Server 900 may also include one or more power sources 926, one or more wired or wireless network interfaces 950, one or more input and output interfaces 958, one or more keyboards 956, and/or one or more operating systems 941.
  • power sources 926 for example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • Server 900 can include a memory, and one or more programs, wherein one or more programs are stored in a memory, and configured to be executed by one or more processors, the one or more programs included for performing the following Operation instructions:
  • a receiving module configured to receive, by the anchor terminal, a terminal type of the anchor terminal sent by the anchor terminal
  • a determining module configured to determine, according to a pre-stored correspondence between the terminal type and the transcoding mode, a target transcoding mode corresponding to the terminal type of the anchor terminal;
  • the sending module is configured to receive the live broadcast data sent by the anchor terminal, transcode the live broadcast data according to the target transcoding mode, and send the transcoded live broadcast data to the audience terminal of the live broadcast room to which the anchor terminal belongs .
  • the sending module is configured to:
  • the live broadcast data is used for image cropping, and the cropped live broadcast data is sent to the viewer terminal.
  • the server further includes:
  • An obtaining module configured to acquire an account identifier of an account currently logged in by the anchor terminal
  • the detecting module is configured to send an opening prompt to the anchor terminal if it detects that the target authentication information corresponding to the account identifier and the target terminal type is stored locally.
  • the terminal type of the anchor terminal sent by the anchor terminal is received, and the target transcoding mode corresponding to the terminal type of the anchor terminal is determined according to the correspondence between the pre-stored terminal type and the transcoding mode.
  • Receiving live data sent by the anchor terminal transcoding the live data according to the target transcoding method, and transmitting the transcoded live data to the audience terminal of the live broadcast room to which the anchor terminal belongs. In this way, even if there is no computer around the anchor, you can use the mobile terminal such as mobile phone or tablet to conduct live broadcast.
  • the embodiment of the present invention further provides a terminal.
  • FIG. 10 it is a schematic structural diagram of an anchor terminal for a live broadcast of a roaming of the present invention.
  • the anchor terminal may be used to implement the foregoing embodiment.
  • the method of live broadcast of the round wheat Specifically:
  • the anchor terminal 1000 may include an RF (Radio Frequency) circuit 110, including one Memory 120 of one or more computer readable storage media, input unit 130, display unit 140, sensor 150, audio circuit 160, WiFi (wireless fidelity) module 170, processing including one or more processing cores Device 180, and components such as power supply 190.
  • RF Radio Frequency
  • FIG. 10 does not constitute a limitation of the anchor terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 170. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the anchor terminal 1000 (such as audio data, phone book, etc.) and the like.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or Touch-sensitive surface 131 attached Near operation), and drive the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the anchor terminal 1000, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • touch-sensitive surface 131 and display panel 141 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 131 can be integrated with display panel 141 for input. And output function.
  • the anchor terminal 1000 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the anchor terminal 1000 moves to the ear. And / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the gyroscope, barometer, hygrometer, thermometer, infrared sensor and other sensors that can be configured on the anchor terminal 1000, here No longer.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the anchor terminal 1000.
  • the audio circuit 160 can transmit the converted electrical signal of the received audio data to Yang.
  • the sounder 161 is converted into a sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160, converted into audio data, and then processed by the audio data output processor 180.
  • the RF circuit 110 is sent to, for example, another terminal, or the audio data is output to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the anchor terminal 1000.
  • WiFi is a short-range wireless transmission technology
  • the anchor terminal 1000 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 10 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the anchor terminal 1000, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the anchor terminal 1000, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120.
  • the various functions and processing data of the anchor terminal 1000 are executed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the anchor terminal 1000 further includes a power source 190 (such as a battery) for supplying power to the various components.
  • a power source 190 such as a battery
  • the power source can be logically connected to the processor 180 through the power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the anchor terminal 1000 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the display unit of the anchor terminal 1000 is a touch screen display, and the anchor terminal 1000 further includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be Or one or more processors executing one or more programs containing instructions for performing the following operations:
  • a first sending module configured to send a local terminal type to the server when the account identifier of the locally logged account is detected in the preset position of the wheat sequence table during the live broadcast of the roulette, so that the server is pre-stored according to the pre-storage Corresponding relationship between the terminal type and the transcoding mode, determining that the terminal type corresponds to Target transcoding method;
  • a second sending module configured to: when the broadcast triggering event is detected, acquire live data, and send the live data to the server, so that the server transcodes the live data based on the target transcoding manner.
  • the transcoded live broadcast data is sent to the viewer terminal.
  • the second sending module is configured to:
  • Receiving and displaying the opening prompt sent by the server when receiving the opening instruction input by the user, acquiring live broadcast data, and sending the live broadcast data to the server.
  • the terminal type of the anchor terminal sent by the anchor terminal is received, and the target transcoding mode corresponding to the terminal type of the anchor terminal is determined according to the correspondence between the pre-stored terminal type and the transcoding mode.
  • Receiving live data sent by the anchor terminal transcoding the live data according to the target transcoding method, and transmitting the transcoded live data to the audience terminal of the live broadcast room to which the anchor terminal belongs. In this way, even if there is no computer around the anchor, you can use the mobile terminal such as mobile phone or tablet to conduct live broadcast.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种轮麦直播的方法、装置和系统,属于计算机技术领域。所述方法包括:在轮麦直播过程中,接收主播终端发送的所述主播终端的终端类型,根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式,接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端。采用本发明,用户可以使用移动端进行轮麦直播。

Description

一种轮麦直播的方法、装置和系统 技术领域
本发明涉及计算机技术领域,特别涉及一种轮麦直播的方法、装置和系统。
背景技术
随着计算机和互联网技术的发展,网络直播得到了不断的发展和广泛的普及,已成为当今社会人们工作生活中一个热门话题。
目前网络直播中存在轮麦直播的形式,即多个主播可以在同一直播间内按麦序列表轮流进行一定时长的直播,例如,某一直播间的麦序列表中依次排列着A、B、C三个主播,每人直播时长为5分钟,这样,在A开播5分钟后,B可以跟着直播5分钟,之后C可以再直播5分钟。
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:
目前的轮麦直播只限于主播通过计算机进行轮麦,这样,当主播身边没有计算机时,则无法进行轮麦直播。
发明内容
为了解决现有技术的问题,本发明实施例提供了一种轮麦直播的方法、装置和系统。所述技术方案如下:
第一方面,提供了一种轮麦直播的方法,所述方法包括:
在轮麦直播过程中,接收主播终端发送的所述主播终端的终端类型;
根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;
接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端。
可选的,所述将转码后的直播数据发送给观众终端,包括:
对于所述主播终端所属直播间的每个观众终端,获取所述观众终端的终端类型;
基于所述观众终端的终端类型的显示比例和所述主播终端的终端类型的显示比例,对转码后的直播数据进行图像裁剪,将裁剪后的直播数据发送给观众终端。
这样,服务器可以先对直播数据进行图像裁剪,然后将适合观众终端的显示比例的直播数据发送给观众终端。
可选的,所述接收所述主播终端发送的直播数据之前,还包括:
获取所述主播终端当前登录的账户的账户标识;
如果检测到本地存储有与所述账户标识、目标终端类型对应的目标鉴权信息,则向所述主播终端发送开播提示。
这样,服务器可以通过鉴权信息判断登录主播终端的账户是否有开播权限。
第二方面,提供了一种轮麦直播的方法,所述方法包括:
在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向服务器发送本地的终端类型,以使所述服务器根据预先存储的终端类型和转码方式的对应关系,确定所述终端类型对应的目标转码方式;
当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据,以使所述服务器基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给观众终端。
可选的,所述当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据,包括:
接收并显示所述服务器发送的开播提示,当接收到用户输入的开播指令时,获取直播数据,向所述服务器发送所述直播数据。
这样,用户可以按照服务器发送的,并在主播终端上显示的开播提示进行开播处理。
第三方面,提供了一种服务器,所述服务器包括:
接收模块,用于在轮麦直播过程中,接收主播终端发送的所述主播终端的终端类型;
确定模块,用于根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;
发送模块,用于接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端。
可选的,所述发送模块,用于:
对于所述主播终端所属直播间的每个观众终端,获取所述观众终端的终端类型,基于所述观众终端的终端类型的显示比例和所述主播终端的终端类型的显示比例,对转码后的直播数据进行图像裁剪,将裁剪后的直播数据发送给观众终端。
可选的,所述服务器,还包括:
获取模块,用于获取所述主播终端当前登录的账户的账户标识;
检测模块,用于如果检测到本地存储有与所述账户标识、目标终端类型对应的目标鉴权信息,则向所述主播终端发送开播提示。
第四方面,提供了一种主播终端,所述主播终端包括:
第一发送模块,用于在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向服务器发送本地的终端类型,以使所述服务器根据预先存储的终端类型和转码方式的对应关系,确定所述终端类型对应的目标转码方式;
第二发送模块,用于当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据,以使所述服务器基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给观众终端。
可选的,所述第二发送模块,用于:
接收并显示所述服务器发送的开播提示,当接收到用户输入的开播指令时,获取直播数据,向所述服务器发送所述直播数据。
第五方面,一种轮麦直播的系统,所述系统包括服务器和主播终端,其中:
所述服务器,用于在轮麦直播过程中,接收所述主播终端发送的所述主播终端的终端类型;根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给 所述主播终端所属直播间的观众终端;
所述主播终端,用于在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向所述服务器发送本地的终端类型;当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据。
本发明实施例提供的技术方案带来的有益效果是:
本发明实施例中,在轮麦直播过程中,接收主播终端发送的主播终端的终端类型,根据预先存储的终端类型和转码方式的对应关系,确定主播终端的终端类型对应的目标转码方式,接收主播终端发送的直播数据,基于目标转码方式对直播数据进行转码,将转码后的直播数据发送给主播终端所属直播间的观众终端。这样,即使主播身边没有计算机,也可以通过手机、平板电脑等移动端进行轮麦直播。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种轮麦直播的方法流程图;
图2是本发明实施例提供的一种麦序列表的显示示意图;
图3是本发明实施例提供的一种开播提示的显示示意图;
图4是本发明实施例提供的一种鉴权失败提示的显示示意图;
图5是本发明实施例提供的一种直播数据的画面裁剪示意图;
图6是本发明实施例提供的一种服务器的结构示意图;
图7是本发明实施例提供的一种服务器的结构示意图;
图8是本发明实施例提供的一种主播终端的结构示意图;
图9是本发明实施例提供的一种服务器的结构示意图;
图10是本发明实施例提供的一种主播终端的结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明 实施方式作进一步地详细描述。
本发明实施例提供了一种轮麦直播的方法,该方法的可以由终端和服务器共同实现。其中,终端可以是主播方用于开播直播的终端,可以安装有直播类应用程序,可以是手机、平板电脑等移动端,也可以是计算机,服务器可以是直播类应用程序的服务器。终端中可以设置有处理器、存储器、收发器,处理器可以用于进行轮麦直播的相关处理,存储器可以用于存储下述处理过程中需要和产生的数据,收发器可以用于接收和发送数据。终端还可以设置有音频获取单元、视频获取单元,可以分别用于在用户进行轮麦直播时采集音频数据和视频数据,终端还可以设置有输入输出单元,用于接收用户输入的指令,和显示轮麦直播过程中需要显示的内容,当终端为移动端时,输入输出单元可以是触屏屏幕,当终端为PC端时,输入单元可以是鼠标和键盘,输出单元可以屏幕。是服务器中可以设置有处理器、存储器、收发器,处理器可以用于进行轮麦直播的相关处理,存储器可以用于存储下述处理过程中需要和产生的数据,收发器可以用于接收和发送数据。
下面将结合具体实施方式,对图1所示的处理流程进行详细的说明,内容可以如下:
步骤101,在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,主播终端向服务器发送本地的目标终端类型。
在实施中,用户可以在终端上安装用于进行直播的直播类应用程序,该直播类应用程序的服务器提供有轮麦直播的直播形式。当用户想要参与轮麦直播时,可以打开上述直播类应用程序,然后点击搜索然后进入想要参与的轮麦直播的直播间,这时,终端上可以显示正在进行的直播画面,同时还可以显示有麦序查看按键。当用户点击该麦序查看按键时,终端可以显示当前直播间的麦序列表,麦序列表中可以记录有至少一个账户的账户标识,且当前正在进行直播的主播的账户标识位于麦序列表的首位。麦序列表的下方可以显示有抢麦按键,麦序列表可以如图2所示,用户可以使用终端进行账户登录,如果该账户具有抢麦权限,则用户可以点击该抢麦按键,之后账户的账户标识可以显示在麦序列表的末位,如果该账户不具备抢麦权限,则抢麦按键置灰,无法被触发。需要说明的是,每个轮麦直播的直播间可以设置有管理员,管理员可以对轮麦直播的规则进行相应设定,比如:1.轮麦时长,即每个用户每次直播的时长;2. 抢麦权限,即哪些账户可以抢麦进入麦序列表;3.掉落麦序位置,即首麦用户直播结束后,对应的账户标识退出麦序列表,或者加入到麦序列表的末位;4.管理员还可以手动将某个账户的账户标识加入到麦序列表的任意位置。
在加入到麦序列表后,随着轮麦直播的进行,用户账户的账户标识在麦序列表中的位置会逐渐上升,当终端检测到该账户标识位于麦序列表的预设位置时,可以获取并向服务器发送本地的目标终端类型。此处,上述检测处理可以是当登录的账户标识在麦序列表中的位置发生变化时,终端向服务器发送位置查询消息,然后根据服务器返回的消息来触发的,也可以是根据获取到的轮麦时长和加入麦序列表时的位置,通过自行计算的等待时间来触发的。值得一提的是,麦序列表的预设位置可以是服务器根据当前直播间的轮麦时长设置的,可以是麦序列表的首位,也可以是麦序列表的第二位、第三位等。另外,终端类型信息可以按照主播终端设备的不同分为移动端和PC端,移动端又可以根据操作系统的不同分为苹果手机和安卓手机。
步骤102,在轮麦直播过程中,服务器接收主播终端发送的主播终端的终端类型。
在实施中,在轮麦直播的过程中,主播终端向服务器发送本地的目标终端类型后,服务器可以接收到相应的主播终端发送的目标终端类型,之后,可以将该目标终端类型和登录主播终端的账户的账户标识对应存储。
步骤103,服务器根据预先存储的终端类型和转码方式的对应关系,确定主播终端的终端类型对应的目标转码方式。
在实施中,服务器侧的技术人员可以为不同终端类型的主播终端采用不同代码编写直播类应用程序,故而在接收到的主播终端发送的直播数据后,需要基于不同的转码方式对直播数据进行转码处理。故而技术人员可以对于不同的终端类型设置对应的转码方式,并以对应关系的方式将其存储在服务器中。该对应关系中存在多个终端类型,各个终端类型可以对应有相同或不同的转码方式。这样,当服务器接收到主播终端发来的目标终端类型后,可以在上述对应关系中确定与目标终端类型对应的目标转码方式。
可选的,直播开播前,服务器需要检测主播账户是否具有进行直播的权限,相应的处理可以如下:获取主播终端当前登录的账户的账户标识,如果检测到本地存储有与账户标识、目标终端类型对应的目标鉴权信息,则向主播终端发 送开播提示。
在实施中,如果用户想要通过安装在终端上的直播类应用程序进行直播(包括轮麦直播),则需要预先注册账户,然后登记账户对应的鉴权信息,此处,对于不同终端类型的主播终端,用户需要登记不同的鉴权信息,如果用户想要在计算机上进行直播,则需要登记实名认证信息,从属公会信息,直播间签约信息等鉴权信息,而如果用户想要使用手机进行直播,则需要登记实名认证信息、通讯账户绑定信息等鉴权信息,服务器可以将上述鉴权信息和账户标识以及终端类型对应存储在本地,这样,在开播前,服务器可以获取主播终端当前登录的账户的账户标识,和主播终端的终端类型,然后检测本地是否存储有对应的目标鉴权信息,即检测用户是否登记了上述鉴权信息,如果存在全部鉴权信息,则鉴权成功,服务器可以向主播终端发送开播提示,如果不存在(或者某项鉴权信息缺失),则鉴权失败,可以向主播终端发送鉴权失败提示。
步骤104,当检测到开播触发事件时,主播终端获取直播数据,向服务器发送直播数据。
在实施中,在轮麦直播的过程中,用户可以在主播终端上预先设置好开播触发事件,开播触发事件可以是主播终端检测到当前登录的账户的账户标识到达麦序列表的首位,或者可以是终端设置的开播倒计时完成,当终端检测到开播触发事件发生时,则可以开始进行开播处理,具体的,终端可以通过直播数据采集设备(如用于获取视频数据的摄像头和用户获取音频数据的麦克风)获取直播数据,此处视不同终端类型的主播终端对应的直播数据采集设备不同,获取到的直播数据的格式也不同。之后终端可以对获取到的直播数据进行视频处理,如美图、打水印等,并对处理完的直播数据进行压缩编码,然后向服务器发送直播数据。用户在直播的过程中,直播页面中可以显示一个直播时长倒计时,用户可以选择主动停播或者等待直播时间到达的时候自动停播。直播结束后,主播账户的账户标识可以退出麦序列表,或者变成麦序列表的末位。
可选的,基于上述服务器对主播账户进行鉴权处理,并发送开播提示的处理,步骤105的处理可以相应如下:接收并显示服务器发送的开播提示,当接收到用户输入的开播指令时,获取直播数据,向服务器发送直播数据。
在实施中,服务器对主播终端鉴权成功,可以向主播终端发送开播提示。主播终端接收到开播提示后,可以提示或引导用户开始直播,具体的,终端可 以显示开播提示窗口,如图3所示,开播提示窗口中可以设置有开播按键,当用户点击该开播按键后,终端则可以接收到用户输入的开播指令,进而可以通过直播数据采集设备获取直播数据。需要说明的是,服务器可以提前一段时间向终端发送开播提示,以保证用户有足够时间进行直播准备,例如,可以在登录终端的账户的账户标识到达麦序列表的第二位、第三位时即发送开播提示。可以理解的是,如果鉴权失败,终端则可以接收并显示服务器发送的鉴权失败提示,如图4所示。
步骤105,服务器接收主播终端发送的直播数据,基于目标转码方式对直播数据进行转码,将转码后的直播数据发送给主播终端所属直播间的观众终端。
在实施中,服务器在接收到主播终端发送的直播数据后,可以根据步骤103中确定的,与目标终端类型对应的目标转码方式对直播数据进行转码。同时服务器可以获取主播终端所属直播间的频道号,然后根据频道号确定该直播间的观众终端,进而可以将主播终端发送的直播数据发送给对应的观众终端。值得一提的是,服务器对直播数据进行转码,可以得到不同格式的直播数据,此处,格式可以包括:分辨率、码率等,然后服务器可以根据观众终端发来的直播数据获取请求,向每个观众终端发送格式对应的直播数据。可以理解的是,步骤103和步骤104的先后顺序可以不做限定,即主播终端发送直播数据和服务器确定转码方式之前没有必然的先后关系。
可选的,在服务器向观众终端发送直播数据前,可以基于主播终端和观众终端的终端类型对直播数据的画面进行裁剪,相应的处理可以如下:对于主播终端所属直播间的每个观众终端,获取观众终端的终端类型;基于观众终端的终端类型的图像比例和主播终端的终端类型的图像比例,对转码后的直播数据进行图像裁剪,将裁剪后的直播数据发送给观众终端。
在实施中,服务器在接收到主播终端发来的直播数据后,可以对直播数据进行转码处理。同时,服务器可以接收到观众终端发送的直播数据获取请求,该直播数据获取请求中可以携带有直播间的频道号和观众终端的终端类型。之后,服务器可以根据直播间的频道号确定主播终端所属直播间的观众终端,而对于上述每个观众终端,服务器确定其终端类型后,可以基于观众终端的终端类型的图像比例和主播终端的终端类型的图像比例,对转码后的直播数据进行图像裁剪处理,具体的,如果主播终端为计算机,观众终端为手机,则可以在 直播数据的图像中心,最大程度的裁剪出满足手机图像比例的区域图像,进一步的,可以基于手机横屏观看和竖屏观看分别进行不同图像比例的裁剪。同理,当主播终端为手机,观众终端为计算机时,也可以基于上述处理进行图像裁剪,同样可以基于手机横屏直播或者竖屏直播分别进行不同图像比例的裁剪。可以理解的是,当主播终端和观众终端的同为计算机时,无需进行任何图像裁剪,而同为手机时,则需要根据直播和观看时的横竖屏状态进行相应的图像裁剪处理,具体可如图5所示。之后,服务器可以将裁剪后的直播数据发送给观众终端。
本发明实施例中,在轮麦直播过程中,接收主播终端发送的主播终端的终端类型,根据预先存储的终端类型和转码方式的对应关系,确定主播终端的终端类型对应的目标转码方式,接收主播终端发送的直播数据,基于目标转码方式对直播数据进行转码,将转码后的直播数据发送给主播终端所属直播间的观众终端。这样,即使主播身边没有计算机,也可以通过手机、平板电脑等移动端进行轮麦直播。
基于相同的技术构思,本发明实施例还提供了一种服务器,如图6所示,所述服务器包括:
接收模块601,用于在轮麦直播过程中,接收主播终端发送的所述主播终端的终端类型;
确定模块602,用于根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;
发送模块603,用于接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端。
可选的,所述发送模块603,用于:
对于所述主播终端所属直播间的每个观众终端,获取所述观众终端的终端类型,基于所述观众终端的终端类型的显示比例和所述主播终端的终端类型的显示比例,对转码后的直播数据进行图像裁剪,将裁剪后的直播数据发送给观众终端。
可选的,如图7所示,所述服务器,还包括:
获取模块604,用于获取所述主播终端当前登录的账户的账户标识;
检测模块605,用于如果检测到本地存储有与所述账户标识、目标终端类型对应的目标鉴权信息,则向所述主播终端发送开播提示。
基于相同的技术构思,本发明实施例还提供了一种主播终端,如图8所示,该主播终端包括:
第一发送模块801,用于在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向服务器发送本地的终端类型,以使所述服务器根据预先存储的终端类型和转码方式的对应关系,确定所述终端类型对应的目标转码方式;
第二发送模块802,用于当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据,以使所述服务器基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给观众终端。
可选的,所述第二发送模块802,用于:
接收并显示所述服务器发送的开播提示,当接收到用户输入的开播指令时,获取直播数据,向所述服务器发送所述直播数据。
本发明实施例中,在轮麦直播过程中,接收主播终端发送的主播终端的终端类型,根据预先存储的终端类型和转码方式的对应关系,确定主播终端的终端类型对应的目标转码方式,接收主播终端发送的直播数据,基于目标转码方式对直播数据进行转码,将转码后的直播数据发送给主播终端所属直播间的观众终端。这样,即使主播身边没有计算机,也可以通过手机、平板电脑等移动端进行轮麦直播。
需要说明的是:上述实施例提供的轮麦直播的装置在轮麦直播时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的轮麦直播的装置与轮麦直播的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
基于相同的技术构思,本公开又一示例性实施例提供了一种轮麦直播的系统,所述系统包括服务器和主播终端,其中:
所述服务器,用于在轮麦直播过程中,接收所述主播终端发送的所述主播终端的终端类型;根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端;
所述主播终端,用于在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向所述服务器发送本地的终端类型;当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据。
本发明实施例中,在轮麦直播过程中,接收主播终端发送的主播终端的终端类型,根据预先存储的终端类型和转码方式的对应关系,确定主播终端的终端类型对应的目标转码方式,接收主播终端发送的直播数据,基于目标转码方式对直播数据进行转码,将转码后的直播数据发送给主播终端所属直播间的观众终端。这样,即使主播身边没有计算机,也可以通过手机、平板电脑等移动端进行轮麦直播。
本发明实施例还提供了一种服务器,图9是本发明实施例提供的服务器的结构示意图。该服务器900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)922(例如,一个或一个以上处理器)和存储器932,一个或一个以上存储应用程序942或数据944的存储介质930(例如一个或一个以上海量存储设备)。其中,存储器932和存储介质930可以是短暂存储或持久存储。存储在存储介质930的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器922可以设置为与存储介质930通信,在服务器900上执行存储介质930中的一系列指令操作。
服务器900还可以包括一个或一个以上电源926,一个或一个以上有线或无线网络接口950,一个或一个以上输入输出接口958,一个或一个以上键盘956,和/或,一个或一个以上操作系统941,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。
服务器900可以包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:
接收模块,用于在轮麦直播过程中,接收主播终端发送的所述主播终端的终端类型;
确定模块,用于根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;
发送模块,用于接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端。
可选的,所述发送模块,用于:
对于所述主播终端所属直播间的每个观众终端,获取所述观众终端的终端类型,基于所述观众终端的终端类型的显示比例和所述主播终端的终端类型的显示比例,对转码后的直播数据进行图像裁剪,将裁剪后的直播数据发送给观众终端。
可选的,所述服务器,还包括:
获取模块,用于获取所述主播终端当前登录的账户的账户标识;
检测模块,用于如果检测到本地存储有与所述账户标识、目标终端类型对应的目标鉴权信息,则向所述主播终端发送开播提示。
本发明实施例中,在轮麦直播过程中,接收主播终端发送的主播终端的终端类型,根据预先存储的终端类型和转码方式的对应关系,确定主播终端的终端类型对应的目标转码方式,接收主播终端发送的直播数据,基于目标转码方式对直播数据进行转码,将转码后的直播数据发送给主播终端所属直播间的观众终端。这样,即使主播身边没有计算机,也可以通过手机、平板电脑等移动端进行轮麦直播。
本发明实施例还提供了一种终端,请参考图10,其示出了本发明实施例所涉及的用于轮麦直播的主播终端结构示意图,该主播终端可以用于实施上述实施例中提供的轮麦直播的方法。具体来讲:
主播终端1000可以包括RF(Radio Frequency,射频)电路110、包括有一 个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi(wireless fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图10中示出的主播终端结构并不构成对主播终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器170处理;另外,将涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据主播终端1000的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附 近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及主播终端1000的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图10中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
主播终端1000还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在主播终端1000移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于主播终端1000还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与主播终端1000之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬 声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与主播终端1000的通信。
WiFi属于短距离无线传输技术,主播终端1000通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图10示出了WiFi模块170,但是可以理解的是,其并不属于主播终端1000的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是主播终端1000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行主播终端1000的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
主播终端1000还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,主播终端1000还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,主播终端1000的显示单元是触摸屏显示器,主播终端1000还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:
第一发送模块,用于在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向服务器发送本地的终端类型,以使所述服务器根据预先存储的终端类型和转码方式的对应关系,确定所述终端类型对应 的目标转码方式;
第二发送模块,用于当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据,以使所述服务器基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给观众终端。
可选的,所述第二发送模块,用于:
接收并显示所述服务器发送的开播提示,当接收到用户输入的开播指令时,获取直播数据,向所述服务器发送所述直播数据。
本发明实施例中,在轮麦直播过程中,接收主播终端发送的主播终端的终端类型,根据预先存储的终端类型和转码方式的对应关系,确定主播终端的终端类型对应的目标转码方式,接收主播终端发送的直播数据,基于目标转码方式对直播数据进行转码,将转码后的直播数据发送给主播终端所属直播间的观众终端。这样,即使主播身边没有计算机,也可以通过手机、平板电脑等移动端进行轮麦直播。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (11)

  1. 一种轮麦直播的方法,其特征在于,所述方法包括:
    在轮麦直播过程中,接收主播终端发送的所述主播终端的终端类型;
    根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;
    接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端。
  2. 根据权利要求1所述的方法,其特征在于,所述将转码后的直播数据发送给观众终端,包括:
    对于所述主播终端所属直播间的每个观众终端,获取所述观众终端的终端类型;
    基于所述观众终端的终端类型的显示比例和所述主播终端的终端类型的显示比例,对转码后的直播数据进行图像裁剪,将裁剪后的直播数据发送给观众终端。
  3. 根据权利要求1所述的方法,其特征在于,所述接收所述主播终端发送的直播数据之前,还包括:
    获取所述主播终端当前登录的账户的账户标识;
    如果检测到本地存储有与所述账户标识、目标终端类型对应的目标鉴权信息,则向所述主播终端发送开播提示。
  4. 一种轮麦直播的方法,其特征在于,所述方法包括:
    在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向服务器发送本地的终端类型,以使所述服务器根据预先存储的终端类型和转码方式的对应关系,确定所述终端类型对应的目标转码方式;
    当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据,以使所述服务器基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给观众终端。
  5. 根据权利要求4所述的方法,其特征在于,所述当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据,包括:
    接收并显示所述服务器发送的开播提示,当接收到用户输入的开播指令时,获取直播数据,向所述服务器发送所述直播数据。
  6. 一种服务器,其特征在于,所述服务器包括:
    接收模块,用于在轮麦直播过程中,接收主播终端发送的所述主播终端的终端类型;
    确定模块,用于根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;
    发送模块,用于接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端。
  7. 根据权利要求6所述的服务器,其特征在于,所述发送模块,用于:
    对于所述主播终端所属直播间的每个观众终端,获取所述观众终端的终端类型,基于所述观众终端的终端类型的显示比例和所述主播终端的终端类型的显示比例,对转码后的直播数据进行图像裁剪,将裁剪后的直播数据发送给观众终端。
  8. 根据权利要求6所述的服务器,其特征在于,所述服务器,还包括:
    获取模块,用于获取所述主播终端当前登录的账户的账户标识;
    检测模块,用于如果检测到本地存储有与所述账户标识、目标终端类型对应的目标鉴权信息,则向所述主播终端发送开播提示。
  9. 一种主播终端,其特征在于,所述主播终端包括:
    第一发送模块,用于在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向服务器发送本地的终端类型,以使所述服务器根据预先存储的终端类型和转码方式的对应关系,确定所述终端类型对应的目标转码方式;
    第二发送模块,用于当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据,以使所述服务器基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给观众终端。
  10. 根据权利要求9所述的主播终端,其特征在于,所述第二发送模块, 用于:
    接收并显示所述服务器发送的开播提示,当接收到用户输入的开播指令时,获取直播数据,向所述服务器发送所述直播数据。
  11. 一种轮麦直播的系统,其特征在于,所述系统包括服务器和主播终端,其中:
    所述服务器,用于在轮麦直播过程中,接收所述主播终端发送的所述主播终端的终端类型;根据预先存储的终端类型和转码方式的对应关系,确定所述主播终端的终端类型对应的目标转码方式;接收所述主播终端发送的直播数据,基于所述目标转码方式对所述直播数据进行转码,将转码后的直播数据发送给所述主播终端所属直播间的观众终端;
    所述主播终端,用于在轮麦直播过程中,当检测到本地登录的账户的账户标识位于麦序列表的预设位置时,向所述服务器发送本地的终端类型;当检测到开播触发事件时,获取直播数据,向所述服务器发送所述直播数据。
PCT/CN2017/103191 2016-11-10 2017-09-25 一种轮麦直播的方法、装置和系统 WO2018086417A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/347,682 US10834432B2 (en) 2016-11-10 2017-09-25 Method, device and system for in-sequence live streaming

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610997298.7 2016-11-10
CN201610997298.7A CN106791892B (zh) 2016-11-10 2016-11-10 一种轮麦直播的方法、装置和系统

Publications (1)

Publication Number Publication Date
WO2018086417A1 true WO2018086417A1 (zh) 2018-05-17

Family

ID=58973355

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103191 WO2018086417A1 (zh) 2016-11-10 2017-09-25 一种轮麦直播的方法、装置和系统

Country Status (3)

Country Link
US (1) US10834432B2 (zh)
CN (1) CN106791892B (zh)
WO (1) WO2018086417A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881936A (zh) * 2018-07-18 2018-11-23 上海掌门科技有限公司 直播资源共享方法、电子设备及介质
CN111010588A (zh) * 2019-12-25 2020-04-14 广州酷狗计算机科技有限公司 直播处理方法、装置、存储介质及设备
CN112333458A (zh) * 2020-10-28 2021-02-05 腾讯科技(深圳)有限公司 直播房间显示方法、装置、设备及存储介质
CN112738540A (zh) * 2020-12-25 2021-04-30 广州虎牙科技有限公司 多设备直播切换方法、装置、系统、电子设备和可读存储介质

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791892B (zh) * 2016-11-10 2020-05-12 广州华多网络科技有限公司 一种轮麦直播的方法、装置和系统
CN107645682B (zh) * 2017-10-20 2019-11-26 广州酷狗计算机科技有限公司 进行直播的方法和系统
CN107896334B (zh) * 2017-11-30 2019-12-10 广州酷狗计算机科技有限公司 进行直播的方法和装置
CN108093268B (zh) * 2017-12-29 2020-11-10 广州酷狗计算机科技有限公司 进行直播的方法和装置
CN109218746B (zh) * 2018-11-09 2020-07-07 北京达佳互联信息技术有限公司 获取视频片段的方法、装置和存储介质
JP7280698B2 (ja) * 2019-01-11 2023-05-24 キヤノン株式会社 撮像装置及びその制御方法及びプログラム
CN109982148B (zh) * 2019-04-03 2022-05-20 广州虎牙信息科技有限公司 一种直播方法、装置、计算机设备与存储介质
CN110213624B (zh) * 2019-06-05 2021-07-30 腾讯音乐娱乐科技(深圳)有限公司 在线互动的方法和装置
CN112004103B (zh) * 2020-01-13 2022-04-12 宿迁市广播电视总台 基于物联网和网络直播的视频数据处理系统及方法
CN111277853B (zh) * 2020-02-28 2023-09-08 腾讯科技(深圳)有限公司 直播信息的处理方法及装置
CN112291629B (zh) * 2020-03-27 2022-08-23 北京字节跳动网络技术有限公司 交互方法、装置、电子设备和可读介质
CN111711830B (zh) * 2020-06-19 2022-08-05 广州市百果园信息技术有限公司 一种直播补位的方法、装置、服务器和存储介质
CN111970521B (zh) * 2020-07-16 2022-03-11 深圳追一科技有限公司 虚拟主播的直播方法、装置、计算机设备和存储介质
US20220086212A1 (en) * 2020-09-15 2022-03-17 Carrier Corporation Digital Data Processing
CN112073727B (zh) * 2020-09-22 2022-07-12 Oppo广东移动通信有限公司 转码方法、装置、电子设备及存储介质
CN112511845B (zh) * 2020-10-27 2023-03-28 百果园技术(新加坡)有限公司 一种直播排麦的方法、装置、服务器和存储介质
CN112492339B (zh) * 2020-11-27 2023-07-11 北京达佳互联信息技术有限公司 直播方法、装置、服务器、终端以及存储介质
CN114765692B (zh) * 2021-01-13 2024-01-09 北京字节跳动网络技术有限公司 一种直播数据处理方法、装置、设备及介质
CN113259730B (zh) 2021-07-06 2021-12-14 北京达佳互联信息技术有限公司 用于直播的码率调整方法及装置
CN114900708A (zh) * 2022-05-07 2022-08-12 北京红山信息科技研究院有限公司 一种基于PaaS平台的直播系统及其方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201491019U (zh) * 2009-08-25 2010-05-26 北京原力创新科技有限公司 支持多终端的网络视频系统
CN102263941A (zh) * 2010-05-31 2011-11-30 苏州闻道网络科技有限公司 一种视频文件的转码方法和装置
CN104243998A (zh) * 2014-09-29 2014-12-24 广州华多网络科技有限公司 一种数据处理方法、装置及相关服务器
CN105791975A (zh) * 2014-12-26 2016-07-20 上海百事通信息技术股份有限公司 多屏互动流媒体平台及系统
CN106791892A (zh) * 2016-11-10 2017-05-31 广州华多网络科技有限公司 一种轮麦直播的方法、装置和系统

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7624337B2 (en) * 2000-07-24 2009-11-24 Vmark, Inc. System and method for indexing, searching, identifying, and editing portions of electronic multimedia files
JP2002300122A (ja) * 2001-03-30 2002-10-11 Hitachi Ltd データ放送を利用した情報提供システム、情報提供装置、情報受信装置、情報提供方法及び情報受信方法
US7958532B2 (en) * 2001-06-18 2011-06-07 At&T Intellectual Property Ii, L.P. Method of transmitting layered video-coded information
US7512964B2 (en) * 2001-06-29 2009-03-31 Cisco Technology System and method for archiving multiple downloaded recordable media content
US20070157260A1 (en) * 2005-12-29 2007-07-05 United Video Properties, Inc. Interactive media guidance system having multiple devices
US8955030B2 (en) * 2007-03-23 2015-02-10 Wi-Lan, Inc. System and method for personal content access
US20080235587A1 (en) * 2007-03-23 2008-09-25 Nextwave Broadband Inc. System and method for content distribution
EP2232885A1 (en) * 2007-12-14 2010-09-29 Koninklijke Philips Electronics N.V. 3d mode selection mechanism for video playback
US20090207167A1 (en) * 2008-02-18 2009-08-20 International Business Machines Corporation Method and System for Remote Three-Dimensional Stereo Image Display
US8185927B2 (en) * 2008-03-31 2012-05-22 Broadcom Corporation Video transmission system based on location data and methods for use therewith
TW201130289A (en) * 2009-07-14 2011-09-01 Panasonic Corp Image reproducing apparatus
CN102045540A (zh) * 2009-10-20 2011-05-04 华为软件技术有限公司 视频监控方法、系统及设备
CN102143355A (zh) * 2011-03-25 2011-08-03 中国科学院深圳先进技术研究院 视频监控系统及方法
CN104539422B (zh) * 2014-12-01 2018-09-14 魅族科技(中国)有限公司 一种应用客户端鉴权控制的方法、服务器和终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201491019U (zh) * 2009-08-25 2010-05-26 北京原力创新科技有限公司 支持多终端的网络视频系统
CN102263941A (zh) * 2010-05-31 2011-11-30 苏州闻道网络科技有限公司 一种视频文件的转码方法和装置
CN104243998A (zh) * 2014-09-29 2014-12-24 广州华多网络科技有限公司 一种数据处理方法、装置及相关服务器
CN105791975A (zh) * 2014-12-26 2016-07-20 上海百事通信息技术股份有限公司 多屏互动流媒体平台及系统
CN106791892A (zh) * 2016-11-10 2017-05-31 广州华多网络科技有限公司 一种轮麦直播的方法、装置和系统

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881936A (zh) * 2018-07-18 2018-11-23 上海掌门科技有限公司 直播资源共享方法、电子设备及介质
CN108881936B (zh) * 2018-07-18 2021-04-30 上海掌门科技有限公司 直播资源共享方法、电子设备及介质
CN111010588A (zh) * 2019-12-25 2020-04-14 广州酷狗计算机科技有限公司 直播处理方法、装置、存储介质及设备
CN111010588B (zh) * 2019-12-25 2022-05-17 成都酷狗创业孵化器管理有限公司 直播处理方法、装置、存储介质及设备
CN112333458A (zh) * 2020-10-28 2021-02-05 腾讯科技(深圳)有限公司 直播房间显示方法、装置、设备及存储介质
CN112333458B (zh) * 2020-10-28 2024-02-09 腾讯科技(深圳)有限公司 直播房间显示方法、装置、设备及存储介质
CN112738540A (zh) * 2020-12-25 2021-04-30 广州虎牙科技有限公司 多设备直播切换方法、装置、系统、电子设备和可读存储介质
CN112738540B (zh) * 2020-12-25 2023-09-05 广州虎牙科技有限公司 多设备直播切换方法、装置、系统、电子设备和可读存储介质

Also Published As

Publication number Publication date
US10834432B2 (en) 2020-11-10
CN106791892A (zh) 2017-05-31
US20190320211A1 (en) 2019-10-17
CN106791892B (zh) 2020-05-12

Similar Documents

Publication Publication Date Title
WO2018086417A1 (zh) 一种轮麦直播的方法、装置和系统
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
CN110622123B (zh) 一种显示方法及装置
CN106686396B (zh) 一种切换直播间的方法和系统
WO2016150331A1 (zh) 一种运行游戏客户端的方法和装置
CN106331826B (zh) 一种设置直播模板和视频模式的方法、装置和系统
WO2016150270A1 (zh) 群组会话消息处理方法和装置
CN107333162B (zh) 一种播放直播视频的方法和装置
WO2017050169A1 (zh) 网络通话方法、装置、终端和服务器
WO2017020663A1 (zh) 弹幕视频直播方法、装置、视频源设备及网络接入设备
WO2017202348A1 (zh) 一种视频播放方法、装置及计算机存储介质
TWI520043B (zh) 消息查看方法、裝置和移動終端
WO2017008569A1 (zh) 消息更新方法、装置及终端
WO2018095130A1 (zh) 一种确定直播时长的方法和系统
CN106254910B (zh) 一种记录图像的方法和装置
WO2018121086A1 (zh) 连接隐藏ap的方法与终端设备
WO2015143900A1 (zh) 网络会议中进行数据共享的方法、装置及系统
WO2015131768A1 (en) Video processing method, apparatus and system
WO2015085951A1 (zh) 邀请好友观看视频的方法、终端、服务器及系统
WO2016116041A1 (zh) 一种信息推荐的管理方法、装置和系统
WO2017215661A1 (zh) 一种场景音效的控制方法、及电子设备
WO2021078215A1 (zh) 一种云游戏跨终端切换的方法和相关装置
CN106791916B (zh) 一种推荐音频数据的方法、装置和系统
CN109495769B (zh) 视频通信方法、终端、智能电视、服务器及存储介质
WO2019076250A1 (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: 17870352

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17870352

Country of ref document: EP

Kind code of ref document: A1