CN109819276A - Method, apparatus, computer equipment and the storage medium of video playing - Google Patents

Method, apparatus, computer equipment and the storage medium of video playing Download PDF

Info

Publication number
CN109819276A
CN109819276A CN201711157492.5A CN201711157492A CN109819276A CN 109819276 A CN109819276 A CN 109819276A CN 201711157492 A CN201711157492 A CN 201711157492A CN 109819276 A CN109819276 A CN 109819276A
Authority
CN
China
Prior art keywords
video
terminal
virtual viewing
viewing scene
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711157492.5A
Other languages
Chinese (zh)
Other versions
CN109819276B (en
Inventor
陈姿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711157492.5A priority Critical patent/CN109819276B/en
Publication of CN109819276A publication Critical patent/CN109819276A/en
Application granted granted Critical
Publication of CN109819276B publication Critical patent/CN109819276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application involves a kind of method of video playing, this method comprises: send reservation playing request to server, reserving playing request includes: virtual viewing scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time;The identification code that server is returned according to reservation playing request is received, identification code is the voucher that the corresponding video to be played of video identifier to be played is watched into virtual viewing scene;The checking request of virtual viewing scene is transmitted into server, carries identification code in checking request;The verification result that server returns is received, if being verified, enters virtual viewing scene, virtual scene of watching is used for while accommodating multiple terminal accesses;When reaching target subscription time, the data by virtually watching the video to be played that scene receives server real time down are played out.The method of the video playing greatly reduces the pressure of server.Furthermore, it is also proposed that a kind of device of video playing, computer equipment and storage medium.

Description

Method, apparatus, computer equipment and the storage medium of video playing
Technical field
This application involves computer processing technical fields, method, apparatus, calculating more particularly to a kind of video playing Machine equipment and storage medium.
Background technique
With the development of internet technology, view is watched in more and more people's selection on webpage or on videoconference client Frequently.Traditional video playing is user by terminal to server transmission playing request, and server responds the playing request of user Corresponding video is issued immediately to play out to terminal, but since server needs individually to respond the broadcasting of each user Corresponding data flow is requested and transmitted, causes the pressure of server to increase with increasing for playing request, so as to cause video There is the phenomenon that Caton.
Summary of the invention
Based on this, it is necessary to for the low problem of above-mentioned flexibility ratio, propose a kind of view that can reduce server stress Method, apparatus, computer equipment and storage medium that frequency plays, control the method, apparatus of video playing, computer equipment and Storage medium.
A kind of method of video playing, which comprises
Reservation playing request is sent to server, the reservation playing request includes: virtual viewing scene identity, wait broadcast Put video identifier and from the target subscription time that can be selected in subscription time;
The identification code that server is returned according to the reservation playing request is received, the identification code is into described virtual Viewing scene watches the voucher of the corresponding video to be played of the video identifier to be played;
The checking request of the virtual viewing scene is transmitted into server, carries the mark in the checking request Know code;
The verification result that server returns is received, if being verified, enters the virtual viewing scene, it is described virtual Viewing scene is used for while accommodating multiple terminal accesses;
When reaching the target subscription time, the institute of server real time down is received by the virtual viewing scene The data for stating video to be played play out.
A kind of device of video playing, described device include:
Reserve requests sending module, for sending reservation playing request to server, the reservation playing request includes: Virtual viewing scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time;
Identification code receiving module, the identification code returned for receiving server according to the reservation playing request, the mark Knowing code is the voucher that the corresponding video to be played of the video identifier to be played is watched into the virtual viewing scene;
Checking request sending module, for be transmitted into it is described it is virtual viewing scene checking request to server, it is described The identification code is carried in checking request;
Into module, for receiving the verification result of server return, if being verified, enter the virtual viewing Scene, the virtual viewing scene are used for while accommodating multiple terminal accesses;
Playing module, for receiving server by the virtual viewing scene when reaching the target subscription time The data of the video to be played of real time down play out.
Described device in one of the embodiments, further include: first resource value shift module, for receiving service Device shifts response according to the resource numerical value that the reservation playing request returns, and the resource numerical value transfer response carries to be played The corresponding resource numerical value amount of video shifts the number of resources that the resource numerical value amount is completed in response according to the resource numerical value Value transfer, so that the server returns to the identification code.
Described device in one of the embodiments, further include: creation module, for obtaining the virtual viewing scene Corresponding public message trigger action creates top layer message view on current video broadcast interface upper layer;Display module is used for The public message that server is sent is received, the public message is the shared of the terminal transmission of the access virtual viewing scene Message shows the public message in the top layer message view.
Described device in one of the embodiments, further include: log-on message obtains module, logs in for obtaining user Information extracts user identifier and head image information in the log-on message;Described device further include: public message sending module, For obtaining the public message of input, server is sent by the public message, user identifier and head image information, so that institute It states server and the public message, user identifier and head image information is issued to the terminal for accessing the virtual viewing scene;Institute Display module is stated to be also used to the public message open up user's head portrait, user identifier in the top layer message view Show.
The reservation playing request carries virtual seat mark, described device in one of the embodiments, further include: Private message interactive module identifies determination according to the virtual seat in the virtual viewing scene for receiving server Interactive region, according to the interactive region selection target interactive object, the corresponding terminal of Xiang Suoshu target interactive object is sent Private message, so that the corresponding terminal of target interactive object secret described in the virtual viewing scene interface display disappears Breath.
The secret interactive module is also used to send secret to the target interactive object in one of the embodiments, Message is invited, and is received the receiving that the corresponding terminal of the target interactive object returns and is invited information, completes private message channel It establishes, the private message channel is used to send private message to the target interactive object or receives the target interaction pair As the private message of transmission.
Described device in one of the embodiments, further include: scene identity selecting module, for obtaining user information, According to the user information revealing and the matched alternative virtual viewing scene identity of the user information, obtain from institute State the destination virtual viewing scene identity selected in alternative virtual viewing scene identity.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the meter When calculation machine program is executed by the processor, so that the processor executes following steps:
Reservation playing request is sent to server, the reservation playing request includes: virtual viewing scene identity, wait broadcast Put video identifier and from the target subscription time that can be selected in subscription time;
The identification code that server is returned according to the reservation playing request is received, the identification code is into described virtual Viewing scene watches the voucher of the corresponding video to be played of the video identifier to be played;
The checking request of the virtual viewing scene is transmitted into server, carries the mark in the checking request Know code;
The verification result that server returns is received, if being verified, enters the virtual viewing scene, it is described virtual Viewing scene is used for while accommodating multiple terminal accesses;
When reaching the target subscription time, the institute of server real time down is received by the virtual viewing scene The data for stating video to be played play out.
A kind of computer readable storage medium, is stored with computer program, and the computer program is executed by processor When, so that the processor executes following steps:
Reservation playing request is sent to server, the reservation playing request includes: virtual viewing scene identity, wait broadcast Put video identifier and from the target subscription time that can be selected in subscription time;
The identification code that server is returned according to the reservation playing request is received, the identification code is into described virtual Viewing scene watches the voucher of the corresponding video to be played of the video identifier to be played;
The checking request of the virtual viewing scene is transmitted into server, carries the mark in the checking request Know code;
The verification result that server returns is received, if being verified, enters the virtual viewing scene, it is described virtual Viewing scene is used for while accommodating multiple terminal accesses;
When reaching the target subscription time, the institute of server real time down is received by the virtual viewing scene The data for stating video to be played play out.
Method, apparatus, computer equipment and the storage medium of above-mentioned video playing are asked by sending reservation broadcasting in advance It asks to server, server only needs not needing to respond user at any time in some set time point uniform transmission data to be played Playing request, greatly reduce the pressure of server.
A method of control video playing, which comprises
Receive terminal send reservation playing request, the reservation playing request include: virtually watch scene identity, to Play video identifier and from the target subscription time that can be selected in subscription time;
Identification code is generated according to the virtual viewing scene identity, video identifier to be played and the target subscription time, And the identification code is returned into terminal, the identification code is to enter the virtual viewing scene to watch the video to be played Identify the voucher of corresponding video to be played;
The checking request into the virtual viewing scene that terminal is sent is received, the checking request carries the mark Know code, the identification code is verified, if being verified, the terminal is allowed to enter the virtual viewing scene, it is described Virtual viewing scene is used for while accommodating multiple terminal accesses;
When detecting the arrival target subscription time, by the real-time data transmission of the video to be played to access Each terminal of the virtual viewing scene is shown broadcasting.
In one of the embodiments, described according to the virtual viewing scene identity, video identifier to be played and institute Before the step of stating target subscription time generation identification code further include: send resource to terminal according to the reservation playing request Numerical value transfer response, the resource numerical value transfer response carry the corresponding resource numerical value amount of video to be played;Receive number of resources The information that value transfer is completed, into described pre- according to the virtual viewing scene identity, video identifier to be played and the target It makes an appointment the step of generating identification code.
In one of the embodiments, the method also includes: receive public affairs corresponding with the virtual viewing scene identity The public message is issued to the end for opening reception public message function of the access virtual viewing scene by message altogether End, the public message are the shared message that the terminal of the access virtual viewing scene is sent.
The reservation playing request carries virtual seat mark in one of the embodiments, the method also includes: Corresponding interactive region is determined according to virtual seat mark in the virtual viewing scene;It receives to the interactive model The private message that target interactive object in enclosing is sent, it is corresponding to send the target interactive object for the private message Terminal, so that the corresponding terminal of target interactive object private message described in the virtual viewing scene interface display.
Described receive disappears to the secret that the target interactive object of the interactive region is sent in one of the embodiments, Breath, sends the corresponding terminal of the target interactive object for the private message, so that the target interactive object is corresponding The step of terminal private message described in the virtual viewing scene interface display includes:
It receives first terminal to invite to the private message that the target interactive object of the interactive region is sent, by the private Close message, which is invited, is sent to the corresponding second terminal of the target interactive object, receives the target interactive object corresponding Information is invited in the receiving that two terminals return, and the receiving is invited information back to the first terminal, establishes described first eventually Private message channel between end and the second terminal, the private message channel is for transmitting the first terminal and institute State the private message of second terminal interaction.
In one of the embodiments, the method also includes: receive and corresponding with the virtual viewing scene identity disappear Breath;If the message is public message, the public message is associated with corresponding virtual viewing scene identity and is deposited Storage;If the message is private message, creates storage for the private message and identify, by the private message with it is right Virtual viewing scene identity, the storage mark answered are associated storage.
In one of the embodiments, before the step of receiving the reservation playing request that terminal is sent further include: obtain The virtual viewing scene that terminal is sent selects request, extracts the user information in the selection request;It obtains and believes with the user Cease matched alternative virtual viewing scene identity;End is sent by alternative virtual viewing scene identity End, so that scene identity is virtually watched in terminal selected target from alternative virtual viewing scene identity.
A kind of device controlling video playing, described device include:
Reserve requests receiving module, for receiving the reservation playing request of terminal transmission, the reservation playing request packet It includes: virtually watching scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time;
Identification code return module, for according to the virtual viewing scene identity, video identifier to be played and the target Subscription time generates identification code, and the identification code is returned to terminal, and the identification code is to enter the virtual viewing scene Watch the voucher of the corresponding video to be played of the video identifier to be played;
Checking request receiving module, for receiving the checking request into the virtual viewing scene of terminal transmission, institute It states checking request and carries the identification code, the identification code is verified, if being verified, the terminal is allowed to enter The virtual viewing scene, the virtual viewing scene are used for while accommodating multiple terminal accesses;
Control playing module, for when detect reach the target subscription time when, by the number of the video to be played Each terminal that the access virtual viewing scene is transferred to when factually is shown broadcasting.
Described device in one of the embodiments, further include: second resource value shift module, for according to It reserves playing request and sends the transfer response of resource numerical value to terminal, the resource numerical value transfer response carries video pair to be played The resource numerical value amount answered receives the information that the transfer of resource numerical value is completed, notifies identification code return module according to the virtual sight See that scene identity, video identifier to be played and the target subscription time generate identification code.
Described device in one of the embodiments, further include: public message issues module, for receiving and the void It is quasi- to watch the corresponding public message of scene identity, the public message is issued to the unlatching for accessing the virtual viewing scene Receive the terminal of public message function, the public message be sharing of sending of the terminal of the access virtual viewing scene Message.
The reservation playing request carries virtual seat mark, described device in one of the embodiments, further include: Private message sending module, for determining corresponding interaction according to virtual seat mark in the virtual viewing scene Range receives the private message that the target interactive object into the interactive region is sent, sends institute for the private message The corresponding terminal of target interactive object is stated, so that the corresponding terminal of the target interactive object is in virtual viewing scene circle Face shows the private message.
The private message sending module is also used to receive first terminal to the interaction in one of the embodiments, The private message that the target interactive object of range is sent is invited, and the private message is invited and is sent to the target interaction pair As corresponding second terminal, receives the receiving that the corresponding second terminal of the target interactive object returns and invite information, it will be described Receiving invites information back to the first terminal, establishes the private message between the first terminal and the second terminal Channel, the private message channel are used to transmit the private message of the first terminal and second terminal interaction.
Described device in one of the embodiments, further include: memory module, for receiving and the virtual viewing field Scape identifies corresponding message, if the message is public message, by the public message and corresponding virtual viewing scene mark Knowledge is associated storage, if the message is private message, creates a storage mark for the private message, will be described Private message is associated storage with corresponding virtual viewing scene identity, storage mark.
Described device in one of the embodiments, further include: scene identity determining module is sent for obtaining terminal Virtual viewing scene select request, extract it is described selection request in user information, obtain it is matched with the user information Alternative virtual viewing scene identity is sent terminal by alternative virtual viewing scene identity, so that institute It states terminal selected target from alternative virtual viewing scene identity and virtually watches scene identity.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the meter When calculation machine program is executed by the processor, so that the processor executes following steps:
Receive terminal send reservation playing request, the reservation playing request include: virtually watch scene identity, to Play video identifier and from the target subscription time that can be selected in subscription time;
Identification code is generated according to the virtual viewing scene identity, video identifier to be played and the target subscription time, And the identification code is returned into terminal, the identification code is to enter the virtual viewing scene to watch the video to be played Identify the voucher of corresponding video to be played;
The checking request into the virtual viewing scene that terminal is sent is received, the checking request carries the mark Know code, the identification code is verified, if being verified, the terminal is allowed to enter the virtual viewing scene, it is described Virtual viewing scene is used for while accommodating multiple terminal accesses;
When detecting the arrival target subscription time, by the real-time data transmission of the video to be played to access Each terminal of the virtual viewing scene is shown broadcasting.
A kind of computer readable storage medium, is stored with computer program, and the computer program is executed by processor When, so that the processor executes following steps:
Receive terminal send reservation playing request, the reservation playing request include: virtually watch scene identity, to Play video identifier and from the target subscription time that can be selected in subscription time;
Identification code is generated according to the virtual viewing scene identity, video identifier to be played and the target subscription time, And the identification code is returned into terminal, the identification code is to enter the virtual viewing scene to watch the video to be played Identify the voucher of corresponding video to be played;
The checking request into the virtual viewing scene that terminal is sent is received, the checking request carries the mark Know code, the identification code is verified, if being verified, the terminal is allowed to enter the virtual viewing scene, it is described Virtual viewing scene is used for while accommodating multiple terminal accesses;
When detecting the arrival target subscription time, by the real-time data transmission of the video to be played to access Each terminal of the virtual viewing scene is shown broadcasting.
Method, apparatus, computer equipment and the storage medium of above-mentioned control video playing, by receiving terminal hair in advance The reservation playing request sent, server is in target subscription time uniform transmission data to be played in access of virtual viewing scene Multiple terminals so that server does not need the playing request for responding user at any time, it is only necessary at some time point unify response The playing request of multiple terminals greatly reduces the pressure of server.
Detailed description of the invention
Fig. 1 is the applied environment figure of the method for video playing in one embodiment;
Fig. 2 is the flow chart of the method for video playing in one embodiment;
Fig. 3 is the flow chart of the method for video playing in another embodiment;
Fig. 4 is the flow chart of the method for video playing in another embodiment;
Fig. 5 is the schematic diagram for showing public message in one embodiment in top layer message view;
Fig. 6 A is the schematic diagram of virtual seat in one embodiment;
Fig. 6 B is the schematic diagram of virtual seat interactive region in one embodiment;
Fig. 7 is the flow chart of the method for video playing in further embodiment;
Fig. 8 is the flow chart of the method for video playing in a still further embodiment;
Fig. 9 is the flow chart that the method for video playing is controlled in one embodiment;
Figure 10 is the method timing diagram of video playing in one embodiment;
Figure 11 is the structural block diagram of the device of video playing in one embodiment;
Figure 12 is the structural block diagram of the device of video playing in another embodiment;
Figure 13 is the structural block diagram of the device of video playing in another embodiment;
Figure 14 is the structural block diagram that the device of video playing is controlled in one embodiment;
Figure 15 is the structural block diagram of computer equipment in one embodiment;
Figure 16 is the structural block diagram of computer equipment in another embodiment.
Specific embodiment
In order to which the objects, technical solutions and advantages of the application are more clearly understood, with reference to the accompanying drawings and embodiments, The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain this Shen Please, it is not used to limit the application.
Fig. 1 is the applied environment figure of the method for video playing in one embodiment.Referring to Fig.1, the method for the video playing Information is in the system of video playing.The system of the video playing includes terminal 110 and server 120.Terminal 110 and server 120 pass through network connection.Terminal 110 specifically can be terminal console or mobile terminal, and mobile terminal specifically can be with mobile phone, flat At least one of plate computer, laptop etc..Server 120 can use independent server either multiple servers The server cluster of composition is realized.Specifically, terminal 110 sends reservation playing request to server 120, and reservation is played and asked Ask includes: virtual viewing scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time;Clothes Device 120 be engaged according to reservation playing request generation identification code, and identification code is returned into terminal 110, terminal 110 receives server 120 identification codes returned according to the reservation playing request, the identification code are to enter described in the virtual viewing scene viewing The voucher of the corresponding video to be played of video identifier to be played;The verifying that terminal 110 is transmitted into the virtual viewing scene is asked It asks to server 120, carries the identification code in the checking request;Server 120 verifies the identification code, and Verification result is returned to terminal 110, terminal 110 receives the verification result that server 120 returns, if being verified, enters institute Virtual viewing scene is stated, the virtual viewing scene is used for while accommodating multiple terminal accesses;When reaching target reservation Between when, terminal 110 pass through it is described it is virtual viewing scene receive 120 real time down of server the video to be played data It plays out.
As shown in Fig. 2, in one embodiment, providing a kind of method of video playing.The present embodiment is mainly with the party Method is applied to the terminal 110 in above-mentioned Fig. 1 to illustrate.Referring to Fig. 2, the method for the video playing specifically includes following step It is rapid:
Step S202 sends reservation playing request to server, reserve playing request include: virtual viewing scene identity, Video identifier to be played and from the target subscription time that can be selected in subscription time.
Wherein, reservation playing request refers to the video playing request reserved in advance, and reservation playing request includes virtual viewing Scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time.Virtual viewing scene identity is used In the virtual viewing scene of unique identification one, it is virtual watch scene refer to creation for providing the scene of video-see, i.e., it is empty Quasi- movie theatre.Video identifier to be played be used for one video of unique identification, video identifier to be played can be video title, The number etc. that can be video can be used for the mark of the unique identification video.Being provided at the interface that selection plays video can The subscription time for watching video selects a target subscription time as viewing video from the subscription time that can choose Time, for example, some day there are three time point it can be selected that one is 11 points of the morning, one is 2 pm, under one is 5 points of noon, select a time point as target subscription time.
In one embodiment, user passes through one video identifier to be played of selection on terminal interface first, then searches It may be viewed by the virtual viewing scene identity of video to be played, searched under the virtual viewing scene identity later selectable pre- It makes an appointment.In another embodiment, it after user selects video identifier to be played, can also first select to play video to be played Time, then search it is selective with the virtual viewing scene identity of the time match.After selection, by selected letter Breath is submitted to server, i.e., sends reservation playing request to server, be equivalent to the XX movie theatre XX video by selection in the XX time It is sent to server.
In another embodiment, playing request is reserved further include: virtual seat mark.In advance in virtually viewing scene The middle multiple virtual seats of setting, each virtual seat only allow a terminal predetermined.After the virtual viewing scene of selection, at this A virtual seat is selected in virtual viewing scene, virtual seat mark is used for one virtual seat of unique identification, and virtual seat Bit identification also represent in virtual seat position, for example, 5 row No. 2.Reserving in playing request may include multiple virtual seats Mark, i.e., user can be with the two or more virtual seats of simultaneous selection.
Step S204, receives the identification code that server is returned according to reservation playing request, and identification code is to enter virtual viewing Scene watches the voucher of the corresponding video to be played of video identifier to be played.
Wherein, identification code is the electronic certificate that video to be played is watched into virtual viewing scene.Identification code can be one String number, is also possible to the combination of number and letter, can also be text password etc. can enter virtual viewing scene viewing to Play the exclusive evidence of video.Identification code is that server is generated according to the reservation playing request that user selects, i.e., according to virtual It viewing scene identity, video identifier to be played and generates from the target subscription time that can be selected in subscription time.In server It is middle that identification code and virtual viewing scene identity, video identifier to be played and target subscription time are associated storage, pass through mark The reservation broadcast information of user's selection can be obtained by knowing code.Specifically, terminal receive server return identification code, when to When broadcasting video starts to play, virtual viewing scene viewing video to be played can be entered by the identification code.Identification code is suitable In the bill for entering movie theatre viewing film.
It in one embodiment, will when reserving in playing request includes that two or more virtual seats identify Two or more identification codes can be received, i.e., each virtual seat identifies a corresponding identification code.That is, one A user can reserve multiple virtual seats for the same video to be played, correspondingly available multiple identification codes, user Extra identification code can be shared with other people, other people can enter virtual viewing scene by identification code and watch together Video to be played.
Step S206 is transmitted into the checking request of virtual viewing scene to server, carries mark in checking request Code.
Wherein, terminal to server is transmitted into the checking request of virtual viewing scene, carries mark in checking request Code, server verify the identification code got, judge whether the identification code is effective identification code, and only verifying is logical The terminal crossed just allows access into virtual viewing scene and watches video to be played.Specifically, it shows at the terminal and receives input mark The interface of code, obtains the identification code of input, and the identification code is sent to server and is verified.In one embodiment, when It detects (for example, starting 15 minutes before playing) when neighbouring broadcasting video to be played, terminal just starts to show that receiving input marks The interface for knowing code just allows to input identification code transmission checking request by the interface for receiving identification code this when.
Step S208 receives the verification result that server returns and enters step S209 if being verified, if verifying is not Pass through, then terminates.
Wherein, the verification result that server returns is received, if verification result is to pass through, enters virtual viewing scene, if Verification result is not pass through, then cannot be introduced into virtual viewing scene.
Step S209, into virtual viewing scene, virtual scene of watching is used for while accommodating multiple terminal accesses.
Wherein, virtually viewing scene is used for while accommodating multiple terminal accesses, i.e., it is virtual that multiple terminals can enter this simultaneously It watches scene and watches video to be played.
Step S210, when reaching target subscription time, by virtually watch scene receive server real time down to The data for playing video play out.
Wherein, target subscription time refers to the time for starting to play of the video to be played of reservation.It is reserved when reaching target When the time, virtual viewing scene can be entered and watch video to be played.Such as, it is assumed that target subscription time is 17:00, then When reaching 17:00, virtual viewing scene can be entered and watch video to be played.Specifically, terminal is by virtually watching scene Then the video data to be played that real-time reception server issues is played using player in real time at the terminal.The video The method of broadcasting can allow the same video of multiple terminal plays simultaneously, and the video progress of each terminal plays is identical.
The method of above-mentioned video playing, by sending reservation playing request in advance to server, server is only needed at certain A set time point (target subscription time) uniform transmission data to be played watch multiple terminals of scene to access of virtual, no The playing request for needing to respond user at any time greatly reduces the pressure of server.
In one embodiment, in the identification code for receiving server return, identification code is to enter virtual viewing scene to watch Before the step of voucher of the corresponding video to be played of video identifier to be played further include: receive server and played according to reservation The resource numerical value that request returns shifts response, and the transfer response of resource numerical value carries the corresponding resource numerical value amount of video to be played; The resource numerical value transfer that resource numerical value amount is completed in response is shifted according to resource numerical value, so that server returns to identification code.
Wherein, resource numerical value transfer response refers to the requirement of resource numerical value transfer, and terminal receives the resource that server returns The requirement of numerical value transfer, resource numerical value shift in requirement and carry resource numerical value amount.Terminal is shifted according to resource numerical value and is responded It completes to shift the resource numerical value of resource numerical value amount, after server receives the information that the transfer of resource numerical value is completed, Cai Huisheng At corresponding identification code.Resource numerical value amount is determined according to reservation number and preset unit price.For example, Yong Hutong After crossing terminal selection video to be played, need to pay corresponding viewing expense, server can just return to mark after the completion of payment Code.Specifically, user will reserve after playing request is sent to server by terminal, and server is according to video to be played correspondence The viewing amount of money return to corresponding payment and require, payment require in carry specific payment amount, the determination of payment amount is It is relevant according to the number of reservation and unit price, for example, if unit price is 2 yuan of 1 people, if the number of reservation is 2 people, then phase The payment amount answered is 4 yuan.Certainly as preferential rule also can be set in the increase of number, for example, reserving two simultaneously makes a call to 9 Folding, while reserving three and making a call to 8 foldings etc..Terminal receive payment require after paid, specifically can by with third party's branch It pays platform and interacts the corresponding payment of completion.After the message that the payment that server receives third party's transmission is completed, mark is returned Code is known as the voucher for watching video to be played.
In another embodiment, the method for above-mentioned video playing further include: receive the target resource numerical value volume of return Degree, target resource numerical value amount are determined according to the terminal quantity of access of virtual viewing scene.
Specifically, the target resource numerical value amount of return refers to the amount of money of return.In order to encourage user that virtual viewing is added Scene can determine the amount of money that user needs to spend according to the terminal quantity for ultimately joining virtual viewing scene, for example, with Family initially enters virtual viewing scene and needs to hand over 2 yuan of expense, if eventually entering into the quantity of virtual viewing scene more than default Quantity, the expense received in this way also can be more than the preset amount of money, can by more than preset cost expense return to terminal use Family, such as, it is assumed that the terminal of access of virtual viewing scene has 50, then being equivalent to receive 100 yuan of viewing expense, such as The preset cost of the fruit virtual viewing scene is 50 yuan, then user will be returned to extra 50 yuan, average each user Return 1 yuan.
As shown in figure 3, in one embodiment, the method for above-mentioned video playing further include:
Step S212 obtains the corresponding public message trigger action of virtual viewing scene, on current video broadcast interface Layer creation top layer message view.
Wherein, public message trigger action refers to the operation opened and receive public message.Public message refers to access of virtual Watch the shared message that the terminal of scene is sent.Specifically, it can be arranged below terminal plays interface and open or close reception The switch button of public message.When terminal gets the corresponding public message trigger action of the virtual viewing scene of opening, regarding Frequency broadcast interface upper layer creates top layer message view.Top layer message view refers to display priority in top layer for showing The message window of public message content.
Step S214, receives the public message that server is sent, and public message is the terminal hair that access of virtual watches scene The shared message sent.
Wherein, public message refers to the shared message that the terminal of access of virtual viewing scene is sent.Virtual viewing scene is used In accommodating multiple terminal accesses simultaneously, the terminal user of the same virtual viewing scene of access is equivalent to set up one small Group, which can be interacted by public message.Public message is to all in access of virtual viewing scene Terminal user is visible.Server receives the public message that terminal is sent in access of virtual viewing scene, then will receive Public message is issued to all terminals in access of virtual viewing scene.
Step S216 shows public message in top layer message view.
Wherein, terminal receives the public message that server issues, by the public message received in top layer message view It shows.In one embodiment, by public message, dynamic play is shown in top layer message view, and dynamic play displaying refers to By the content of public message message window in a manner of being moved along preset direction to message content carry out Dynamically Announce, one Aspect is complete convenient for showing the more public message of content in the relatively small message window that once can not completely show, On the other hand it is also convenient for that a plurality of public message is cyclically shown and disappeared by top layer message view according to successive received sequence It moves back, the presentation of a plurality of public message can be synchronously completed, receive and read convenient for user.
It is above-mentioned to create top layer message view on viewing video clip upper layer, it is then shown in the top layer message view public Message is conducive to carry out exchange and interdynamic with other terminal users in virtual viewing scene while watching the video altogether, increases Social attribute, to enrich the interest of video playing.
As shown in figure 4, in one embodiment, the method for above-mentioned video playing further include:
Step S201 obtains user login information, extracts user identifier and head image information in log-on message.
Wherein, the user identifier and head image information in user login information are obtained.Specifically, user passes through account and close Code request logs in, and server verifies account and password to logging request, if being verified, logins successfully.Log in letter It include the user informations such as user identifier, head image information in breath.
The corresponding public message trigger action of virtual viewing scene is being obtained, is being created on current video broadcast interface upper layer After the step 212 of top layer message view further include:
Step 213, public message, user identifier and head image information are sent service by the public message for obtaining input Device, so that public message, user identifier and head image information are issued to the terminal of access of virtual viewing scene by server.
Wherein, the public message that user is inputted by terminal interface is obtained, public message refers in virtually viewing scene Shared message, public message to access of virtual viewing scene in all terminal users it is visible.When sending public message, User identifier and head image information can be sent jointly to server, be which user sends to identify the public message.Clothes After business device gets public message, user identifier and head image information, three is issued to together and accesses the virtual viewing scene Terminal, to be shown at the terminal.
The step 216 that public message is shown in top layer message view includes: that user's head portrait, user identifier disappear with public Breath is shown in top layer message view.
Wherein, public message, user identifier and user's head portrait are issued to the terminal of access of virtual viewing scene by terminal Afterwards, user's head portrait, user identifier are shown together with public message in top layer message view at the terminal.As Fig. 5 is In one embodiment, the schematic diagram of public message is shown in top layer message view, figure represents user images in figure, letter Represent user identifier.
In one embodiment, reservation playing request carries virtual seat mark, the method for the video playing further include: Server is received in virtually viewing scene according to the interactive region that virtual seat mark is determining, mesh is selected according to interactive region Interactive object is marked, private message is sent to the corresponding terminal of target interactive object, so that the corresponding terminal of target interactive object exists Virtual viewing scene interface display private message.
Wherein, reserving in playing request further includes virtual seat mark, and virtual seat mark is used for one void of unique identification Quasi- seat, virtual seat are the seat information selected in virtually viewing scene.Specifically, in advance in virtually viewing scene Multiple virtual seats are set, the number of virtual seat, which represents, allows to access the virtual terminal number for watching scene, i.e., and one Virtual seat only allows a terminal predetermined.After user has selected virtual viewing scene identity, showing on terminal interface should It is virtual to watch the corresponding virtual seat of scene, and the virtual seat being chosen and optional virtual seat are labeled respectively It has been shown that, user can only select in optional virtual seat.Such as the signal that Fig. 6 A is virtual seat in one embodiment Figure.E icon meaning is user's head portrait region, using unified default head portrait if user is underground, is obtained if user discloses Account picture is taken, user's head portrait is associated with virtual seat.In one embodiment, it can be set in virtual viewing scene The interactive region of any virtual seat is other all virtual seats in virtual viewing scene, i.e., virtually watches appointing in scene Two terminal users that anticipate can be carried out interacting.Specifically, virtual seat shows that interface is hiding when watching video to be played , if terminal user wants and virtual other terminal users watched in scene carry out private message interaction, can pass through a little It opens hiding virtual seat and shows interface, one or more users is then selected to carry out private message interaction from virtual seat, Private message is only visible to interactive 2 or multiple users at this time.
In another embodiment, in order to increase interactive interest, can preset can only be into specified range Other terminals send private message, carry out private message interaction.For example, in order to increase the interaction between neighbouring seat, Ke Yiyun Family allowable sends private message to the neighbouring corresponding terminal of virtual seat.Private message refers to pair for only allowing to participate in interaction As the message seen.It is determined corresponding to the virtual seat firstly, server is identified according to the virtual seat in virtual viewing scene Interactive region.The determination of interactive region is to determine that server is according to pre-set according to pre-set rules of interaction Rules of interaction and virtual seat mark determine interactive region corresponding with the virtual seat.For example, can will be with virtual seat most Neighbouring virtual seat is as interactive region.As shown in Figure 6B, in one embodiment, using virtual seat I as target, with I Closest interactive region includes the left and right seat of I.Terminal user is according to the interactive region selection target interactive object, target Interactive object refers to selected I-goal object.By sending private message to the corresponding terminal of target interactive object, so that The terminal of target interactive object shows private message on virtually viewing scene interface.The display of private message can be created individually A message window is built, can also be shown in top layer message view as public message, only the private message only limits It can see in interactive both sides, other people are invisible.
In one embodiment, according to interactive region selection target interactive object, to the corresponding terminal of target interactive object Private message is sent, so that the corresponding terminal of target interactive object is the step of virtually watching scene interface display private message Include: to send private message to target interactive object to invite, receives the receiving that the corresponding terminal of target interactive object returns and invite Information, completes the foundation in private message channel, and private message channel is used to send private message or reception to target interactive object The private message that target interactive object is sent.
Wherein, it before carrying out private message interaction, needs to send private message to interactive target interactive object and invite About, both sides is only just allowed to carry out the interaction of private message after the agreement of target interactive object.Specifically, terminal is interactive to target Object sends private message and invites, and server, which invites this, is sent to the corresponding terminal of target interactive object, and receives terminal and return The information returned establishes the channel that the two carries out private message if the information returned is to receive to invite information, is if returning Refusal invites information or not return information, then does not establish the channel of private message, the two can not send private message.Secret disappears Channel is ceased to be used to send private message to target interactive object or receive the private message that target interactive object is sent.
As shown in fig. 7, in one embodiment, before sending the step of reserving playing request to server further include:
Step S212 obtains user information, matched alternative virtual according to user information revealing and user information Watch scene identity.
Wherein, user information includes age of user, gender, is currently located geographic area etc..Firstly, user passes through end End is logged in, and user information is then obtained, and is obtained and the matched alternative virtual sight of user information according to user information It sees scene identity and is shown.The division of virtual viewing scene type can be customized, for example, can be carried out according to region It divides, can also be divided according to the age or is divided etc. simultaneously according to region and age.When virtual viewing scene class After type is when being divided with region the geographic area where getting user, for example, Shenzhen, is then searched corresponding with Shenzhen Multiple virtual viewing scene identities, user can select one of them from multiple virtual viewing scene identities of displaying.When Virtual viewing scene type was divided according to the age, then available age of user, was then searched corresponding with the age Multiple virtual viewing scene identities it is selective.
Step S214 obtains the destination virtual selected from alternative virtual viewing scene identity and watches scene mark Know.
Wherein, destination virtual viewing scene identity refers to the virtual viewing scene identity that user selectes.According to user information Show that terminal obtains the destination virtual that user selectes with after the matched alternative virtual viewing scene identity of user information Watch scene identity.
As shown in figure 8, a kind of method of video playing is proposed, this method comprises:
Step S801 sends reservation playing request to server, reserve playing request include: virtual viewing scene identity, Virtual seat mark, video identifier to be played and from the target subscription time that can be selected in subscription time.
Step S802 receives server according to the resource numerical value that reservation playing request returns and shifts response, and resource numerical value turns It moves response and carries the corresponding resource numerical value amount of video to be played;
Step S803 shifts the resource numerical value transfer that resource numerical value amount is completed in response according to resource numerical value, so that service Device returns to identification code.
Step S804, receives the identification code that server is returned according to reservation playing request, and identification code is to enter virtual viewing Scene watches the voucher of the corresponding video to be played of video identifier to be played.
Step S805 is transmitted into the checking request of virtual viewing scene to server, carries mark in checking request Code.
Step S806 receives the verification result that server returns and enters step S807 if being verified, if verifying is not Pass through, then terminates.
Step S807, into virtual viewing scene, virtual scene of watching is used for while accommodating multiple terminal accesses.
Step S808, when reaching target subscription time, by virtually watch scene receive server real time down to The data for playing video play out.
Step S809 obtains the corresponding public message trigger action of virtual viewing scene, on current video broadcast interface Layer creation top layer message view.
Step S810, receives the public message that server is sent, and public message is the terminal hair that access of virtual watches scene The shared message sent.
Step S811 shows public message in top layer message view.
As shown in figure 9, in one embodiment it is proposed that a kind of method for controlling video playing, this method comprises:
Step S902, receives the reservation playing request that terminal is sent, and reservation playing request includes: virtual viewing scene mark Know, video identifier to be played and from the target subscription time that can be selected in subscription time.
Wherein, reservation playing request refers to the video playing request reserved in advance, and reservation playing request includes virtual viewing Scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time.Virtual viewing scene identity is used In the virtual viewing scene of unique identification one, it is virtual watch scene refer to creation for providing the scene of video-see, quite In virtual theater.Video identifier to be played is used for one video of unique identification, and video identifier to be played can be the name of video The number etc. for claiming, being also possible to video can be used for the mark of the unique identification video.Target subscription time refers to from can reserve The time of the broadcasting video to be played selected in time.
In one embodiment, playing request is reserved further include: virtual seat mark.In advance in virtually viewing scene Multiple virtual seats are set, and each virtual seat only allows a terminal predetermined.After the virtual viewing scene identity of selection, A virtual seat mark is selected in the virtual viewing scene, virtual seat mark is used for one virtual seat of unique identification, and Virtual seat identifies the position of virtual seat in also representative, for example, 5 row No. 2.Reserving in playing request may include multiple void Quasi- seat identification, i.e. user can be with the two or more virtual seats of simultaneous selection.
Step S904 generates mark according to virtual viewing scene identity, video identifier to be played and target subscription time Code, and identification code is returned into terminal, identification code is corresponding wait broadcast to watch video identifier to be played into virtual viewing scene Put the voucher of video.
Wherein, after server receives reservation playing request, virtual viewing scene identity, the view to be played of reservation are extracted Frequency marking knowledge, target subscription time generate one according to virtual viewing scene identity, video identifier to be played and target subscription time A unique identification code.Identification code is the voucher that terminal for accessing virtual viewing scene watches video to be played.Server will generate Identification code be sent to terminal, scene is watched according to the identification code access of virtual convenient for subsequent terminal and watches video to be played.
In one embodiment, when reserving in playing request includes that two or more virtual seats identify, clothes Business device will generate two or more identification codes, i.e., each virtual seat mark is corresponding to generate an identification code.Also It is to say, a user can reserve multiple virtual seats for the same video to be played, correspondingly available multiple marks Extra identification code can be shared with other people by code, user, other people can enter virtual viewing scene one by identification code Play viewing video to be played.
Step S906, receives the checking request for the virtual viewing scene of entrance that terminal is sent, and checking request carries mark Code, verifies identification code, if being proved to be successful, enters step S907, if authentication failed, terminate.
Step S907, allows terminal to enter virtual viewing scene, and virtual scene of watching is used to while accommodating multiple terminals connect Enter.
Wherein, the checking request of scene is virtually watched in the entrance that server receiving terminal is sent, and is carried in the checking request Identification code, server verify identification code, judge whether the identification code is effective identification code, if so, allowing terminal Access of virtual watches scene, if it is not, then refusing terminal for accessing virtual viewing scene.Virtual viewing scene is used for while accommodating more A terminal access.In one embodiment, when server detects neighbouring broadcasting video to be played (for example, before starting broadcasting 15 minutes), open receive verifying identification code channel, only open receive verifying identification code channel, just permission terminal The checking request of identification code is sent to server.In another embodiment, when server detects neighbouring broadcasting view to be played When frequency (for example, starting 30 minutes before playing), then alert notification is sent to terminal by way of PUSH message, remind and use Video to be played is watched at family on time.
Step S908, when detecting arrival target subscription time, by the real-time data transmission of video to be played to access Each terminal of virtual viewing scene is shown broadcasting.
Wherein, target subscription time refers to the time for starting to play of the video to be played of reservation.When server detects When reaching the target subscription time of video to be played, the real-time data transmission of video to be played is watched into scene to access of virtual All terminals, then play video to be played in real time in each terminal, and the video progress of each terminal plays is identical 's.
The method of above-mentioned control video playing, by receiving the reservation playing request of terminal transmission in advance, server is in mesh Subscription time uniform transmission data to be played are marked to multiple terminals in access of virtual viewing scene, so that server does not need The playing request of user is responded at any time, it is only necessary to which the playing request for unifying the multiple terminals of response at some time point greatly reduces The pressure of server.
In one embodiment, raw according to virtual viewing scene identity, video identifier to be played and target subscription time Before the step of identification code further include: send the transfer response of resource numerical value, resource numerical value to terminal according to reservation playing request Transfer response carries the corresponding resource numerical value amount of video to be played;The information that the transfer of resource numerical value is completed is received, into basis The step of virtual viewing scene identity, video identifier to be played and target subscription time generate identification code.
Wherein, after server receives the reservation playing request that terminal is sent, view to be watched in reservation playing request is obtained Frequently corresponding resource numerical value amount sends the transfer response of resource numerical value to terminal, and resource numerical value response carries video to be played Corresponding resource numerical value amount.The information that the transfer of resource numerical value is completed is received later, subsequently into according to virtual viewing scene mark Knowledge, video identifier to be played and target subscription time generate the step of identification code.For example, server receiving terminal selects Video to be played after, obtain viewing expense corresponding with the video to be played, then sent to terminal and pay viewing expense It is required that terminal with Third-party payment platform by interacting, completion is corresponding to be paid.Server receives the branch that third party sends After paying the information completed, identification code is generated according to virtual viewing scene identity, video identifier to be played and target subscription time.
In another embodiment, the method for above-mentioned control video playing further include: obtain access of virtual viewing scene Terminal quantity calculates total resources numerical value amount corresponding with video to be played according to terminal quantity, judges total resources numerical value amount Whether be greater than default resource numerical value amount, if so, using the difference of total resources numerical value amount and default resource numerical value amount as Returning resources numerical value amount determines the target resource numerical value for returning to each terminal according to returning resources numerical value amount.
It specifically, can be according to the end for ultimately joining virtual viewing scene in order to encourage user that virtual viewing scene is added End quantity determines that user needs the amount of money that spends, for example, user initially enters virtual viewing scene needs to hand over 2 yuan of expense, If eventually entering into the quantity of virtual viewing scene more than preset quantity, the expense received in this way can also be more than preset gold Expense more than preset cost can be returned to terminal user by volume, such as, it is assumed that the terminal of access of virtual viewing scene has 50, then it is equivalent to receive 100 yuan of viewing expense, if the preset cost of the virtual viewing scene is 50 yuan, User will be returned to extra 50 yuan, average each user returns 1 yuan.
In one embodiment, the method for above-mentioned control video playing further include: receive and virtual viewing scene identity pair Public message is issued to the end that opening in access of virtual viewing scene receives public message function by the public message answered End, public message are the shared message that access of virtual watches that the terminal of scene is sent.
Wherein, server receives the public message that the terminal of access of virtual viewing scene is sent, and public message is that access is empty The shared message that the terminal of quasi- viewing scene is sent, it is visible to all terminal users of access of virtual viewing scene.It then will be public Message is issued in access of virtual viewing scene and opens the terminal for receiving public message function altogether, since some terminals are used Family is not intended to be disturbed when watching video to be played, can choose the function of closing and receive public message, in this way, server Only need for public message to be sent to the terminal for opening and receiving public message.
In one embodiment, reservation playing request carries virtual seat mark, method further include: in virtually viewing field Corresponding interactive region is determined according to virtual seat mark in scape;Receive what the target interactive object into interactive region was sent Private message is sent the corresponding terminal of target interactive object by private message, so that the corresponding terminal of target interactive object exists Currently playing interface display private message.
Wherein, reserving in playing request further includes virtual seat mark, and virtual seat mark is used for one void of unique identification Quasi- seat.In order to increase interactive interest, can preset user can into specified range other terminal users hair Private message is sent, private message interaction is carried out.Specifically, firstly, server is according to the virtual seat mark in virtual viewing scene Know the interactive region for determining that virtual seat mark is corresponding.The determination of interactive region is according to pre-set rules of interaction Determining, server is corresponding with virtual seat mark according to pre-set rules of interaction and virtual seat mark determination Interactive region.For example, closest virtual seat can be identified as interactive region (as shown in Figure 6B) using with virtual seat. It is identified according to virtual seat after determining interactive region, obtains the target interactive object in the interactive region.Server receiving terminal The private message that target interactive object into interactive region is sent, then sends target interactive object for the private message Corresponding terminal, target interactive object terminal in currently playing interface display private message.The display of private message can Individually to create a message window, can also be shown in top layer message view as public message, only the secret Message, which is only limited to interactive both sides, can see, other people are invisible.
In one embodiment, the private message sent to the target interactive object of interactive region is received, by private message It is sent to the corresponding terminal of target interactive object, so that the corresponding terminal of target interactive object is aobvious at virtually viewing scene interface The step of showing private message includes: to receive first terminal to invite to the private message of the transmission of the target interactive object of interactive region About, private message is invited and is sent to the corresponding second terminal of target interactive object, receive target interactive object corresponding second Information is invited in the receiving that terminal returns, and will receive to invite information back to first terminal, establish first terminal and second terminal it Between private message channel, private message channel be used for transmit first terminal and second terminal interaction private message.
Wherein, it before carrying out private message interaction, needs to send private message to interactive target interactive object and invite About, both sides is only just allowed to carry out the interaction of private message after the agreement of target interactive object.For the ease of distinguishing, transmission is invited The corresponding terminal of a side about is known as " first terminal ", and the corresponding terminal of a side being invited is known as " second terminal ".Specifically Ground, first terminal send private message to target interactive object and invite, and server, which invites this, is sent to target interactive object pair The second terminal answered, and the information that the corresponding second terminal of target interactive object returns is received, if the information returned is to receive to invite About information, then establish first terminal and second terminal carries out the channel of private message, if returning is that refusal invites information, The channel of private message is not established, and the two can not send private message.Private message channel is used to send to target interactive object Private message receives the private message that target interactive object is sent.
In one embodiment, the method for above-mentioned control video playing further include: receive and virtual viewing scene identity pair The message answered;If message is public message, public message is associated storage with corresponding virtual viewing scene identity; If message is private message, a storage mark is created for private message, by private message and corresponding virtual viewing scene Mark, storage mark are associated storage.
Wherein, public message refers to the shared message in virtual viewing scene, to all ends of access of virtual viewing scene End subscriber is visible.Private message is only to interactive both sides or multi-party visible.Server receives and virtually watches scene identity pair The message answered, first identification type of message, if message is public message, by public message and corresponding virtual viewing field Scape mark is associated storage.If message is private message, need to create a storage mark, storage for private message It identifies and carries out corresponding storage with the user identifier of private message interaction, for example, the private message of user identifier A and user identifier B Storage be identified as 001, will storage mark 001, carry out corresponding storage with user identifier A, B.It is directed to same private message in this way Interactive both sides, it is only necessary to create a storage mark.Then by private message and corresponding virtual viewing scene identity, deposit Storage mark is associated storage together.Specifically, the storage of public message be with virtually watch scene No. id for key value into The key value of row storage, private message stores what mark formed by No. id+private message for virtually watching scene.Each key It is worth a corresponding message space.
In one embodiment, before the step of receiving the reservation playing request that terminal is sent further include: obtain terminal The virtual viewing scene sent selects request, extracts the user information in selection request;Obtain with user information it is matched for The virtual viewing scene identity of selection;Send terminal for alternative virtual viewing scene identity so that terminal from for Scene identity is virtually watched in selected target in the virtual viewing scene identity of selection.
Wherein, user information includes age of user, gender, is currently located geographic area etc..Firstly, user passes through end End is logged in, and is sent virtual viewing scene selection request to server, is carried user information in selection request, according to Acquisition of information matched alternative virtual viewing scene identity in family is simultaneously shown.The division of virtual viewing scene type Can be customized, for example, can be divided according to region, can also be divided according to the age and simultaneously according to region and Age divides etc..When virtually viewing scene type is divided with region, the geographic area where user is got Afterwards, for example, Shenzhen, then searches multiple virtual viewing scene identities corresponding with Shenzhen, virtual viewing scene mark will be found Knowledge is sent to terminal and is shown, so that terminal user's selected target from alternative virtual viewing scene identity is virtual Watch scene identity.
It should be understood that although each step in above-mentioned flow chart is successively shown according to the instruction of arrow, this A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part step can To include that perhaps these sub-steps of multiple stages or stage are not necessarily to execute completion in synchronization to multiple sub-steps, But can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out, but It can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
It as shown in Figure 10, is the method timing diagram of video playing in one embodiment, including two parts, one is to broadcast Part before putting video, one be play video after part.Wherein, the part before playing video includes: (1) user selection Video to be played, the virtual viewing scene of selection, the target subscription time of viewing is selected in virtually viewing scene, is then selected Virtual seat;(2) first terminal sends reservation playing request to server according to the user's choice, and reservation playing request includes: Video identifier, virtually viewing scene identity, target subscription time, virtual seat mark to be played;(3) server returns to payment It is required that (including payment amount);(4) first terminal is interacted with third party and is paid;(5) server receives payment information, branch It pays successfully, returns to identification code, otherwise, return to payment failure;(6) start transmission of the preceding half an hour played alert notification in video Message reminds punctual viewing video to first terminal.(7) server opens reception mark for first 15 minutes what video started to play Know the channel of code.(8) first terminal receives the identification code of input, sends checking request to server, checking request carries mark Code;(9) server verifies identification code, if being verified, returns to corresponding virtual seat mark;(10) first terminal The verification result returned is received, if being verified, enters virtual viewing scene and is not allowed access into if authentication failed.
Part after playing video includes: that (11) first terminal obtains the trigger action for opening public message, to server Transmit and receive the request of public message;(12) server sends first for public message according to the request for receiving public message Terminal.(13) first terminal sends private message to the target interactive object of interactive region and invites;(14) server will invite hair The second terminal of target interactive object is given, the information that second terminal returns is received, invites information if receiving, server will Both allow to send private message, invite information if refusal, then both do not allow to send private message, and by the letter of return Breath is sent to first terminal.
As shown in figure 11, in one embodiment it is proposed that a kind of device of video playing, the device include:
Reserve requests sending module 1102, for sending reservation playing request to server, the reservation playing request packet It includes: virtually watching scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time;
Identification code receiving module 1104, the identification code returned for receiving server according to the reservation playing request, institute Stating identification code is the voucher that the corresponding video to be played of the video identifier to be played is watched into the virtual viewing scene;
Checking request sending module 1106, for being transmitted into the checking request of the virtual viewing scene to server, The identification code is carried in the checking request;
Into module 1108, for receiving the verification result of server return, if being verified, enter described virtual Scene is watched, the virtual viewing scene is used for while accommodating multiple terminal accesses;
Playing module 1110, for receiving clothes by the virtual viewing scene when reaching the target subscription time The data of the video to be played for device real time down of being engaged in play out.
As shown in figure 12, in one embodiment, the device of above-mentioned video playing further include:
First resource value shift module 1103, the money returned for receiving server according to the reservation playing request The transfer response of source numerical value, the resource numerical value transfer response carries the corresponding resource numerical value amount of video to be played, according to described The resource numerical value transfer of the resource numerical value amount is completed in the transfer response of resource numerical value, so that the server returns to the mark Know code.
As shown in figure 13, in one embodiment, the device of above-mentioned video playing further include:
Creation module 1112 is working as forward sight for obtaining the corresponding public message trigger action of the virtual viewing scene Frequency broadcast interface upper layer creates top layer message view;
Display module 1114, for receiving the public message of server transmission, the public message is that access is described virtual The shared message that the terminal of scene is sent is watched, shows the public message in the top layer message view.
In one embodiment, the device of above-mentioned video playing further include: log-on message obtains module, uses for obtaining Family log-on message extracts user identifier and head image information in the log-on message;Described device further include: public message hair Send module, for obtain input public message, send server for the public message, user identifier and head image information, So that the public message, user identifier and head image information are issued to the access virtual viewing scene by the server Terminal;The display module is also used to regard user's head portrait, user identifier and the public message in the top layer message It is shown on figure.
In one embodiment, the reservation playing request carries virtual seat mark, described device further include:
Private message interactive module, for receiving server in the virtual viewing scene according to the virtual seat Determining interactive region is identified, according to the interactive region selection target interactive object, Xiang Suoshu target interactive object is corresponding Terminal sends private message, so that the corresponding terminal of the target interactive object is in the virtual viewing scene interface display institute State private message.
In one embodiment, the secret interactive module is also used to send private message to the target interactive object It invites, receives the receiving that the corresponding terminal of the target interactive object returns and invite information, complete building for private message channel Vertical, the private message channel is used to send private message to the target interactive object or receives the target interactive object The private message of transmission.
In one embodiment, described device further include: scene identity selecting module, for obtaining user information, according to The user information revealing and the matched alternative virtual viewing scene identity of the user information, obtain from it is described can The destination virtual selected in selective virtual viewing scene identity watches scene identity.
As shown in figure 14, in one embodiment it is proposed that a kind of device for controlling video playing, the device include:
Reserve requests receiving module 1402, for receiving the reservation playing request of terminal transmission, the reservation playing request It include: virtual viewing scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time;
Identification code return module 1404, for according to the virtual viewing scene identity, video identifier to be played and described Target subscription time generates identification code, and the identification code is returned to terminal, and the identification code is to enter the virtual viewing Scene watches the voucher of the corresponding video to be played of the video identifier to be played;
Checking request receiving module 1406, the verifying into the virtual viewing scene for receiving terminal transmission are asked It asks, the checking request carries the identification code, verifies to the identification code, if being verified, allows the terminal Into the virtual viewing scene, the virtual viewing scene is used for while accommodating multiple terminal accesses;
Control playing module 1408, for when detect reach the target subscription time when, by the video to be played Real-time data transmission to access it is described it is virtual viewing scene each terminal be shown broadcasting.
In one embodiment, the device of above-mentioned control video playing further include: second resource value shift module is used In sending the transfer response of resource numerical value to terminal according to the reservation playing request, resource numerical value transfer response carry to Play the corresponding resource numerical value amount of video, receive the information that the transfer of resource numerical value is completed, notice identification code return module according to The virtual viewing scene identity, video identifier to be played and the target subscription time generate identification code.
In one embodiment, the device of above-mentioned control video playing further include: public message issues module, for connecing Public message corresponding with the virtual viewing scene identity is received, the public message is issued to and accesses the virtual viewing Scene opens the terminal for receiving public message function, and the public message is the terminal of the access virtual viewing scene The shared message sent.
In one embodiment, the reservation playing request carries virtual seat mark, the dress of above-mentioned control video playing It sets further include: private message sending module, for identifying determining pair according to the virtual seat in the virtual viewing scene The interactive region answered receives the private message that the target interactive object into the interactive region is sent, by the private message It is sent to the corresponding terminal of the target interactive object, so that the corresponding terminal of the target interactive object is in the virtual sight See private message described in scene interface display.
In one embodiment, the private message sending module is also used to receive first terminal to the interactive region Target interactive object send private message invite, the private message is invited and is sent to the target interactive object pair The second terminal answered receives the receiving that the corresponding second terminal of the target interactive object returns and invites information, by the receiving Information is invited back to the first terminal, establishes the private message channel between the first terminal and the second terminal, The private message channel is used to transmit the private message of the first terminal and second terminal interaction.
In one embodiment, the device of above-mentioned control video playing further include: memory module, for receive with it is described The corresponding message of virtual viewing scene identity, if the message is public message, by the public message with it is corresponding virtually Viewing scene identity is associated storage, if the message is private message, creates a storage mark for the private message Know, the private message is associated storage with corresponding virtual viewing scene identity, storage mark.
In one embodiment, the device of above-mentioned control video playing further include: scene identity determining module, for obtaining The virtual viewing scene selection request for taking terminal to send, extracts the user information in the selection request, obtains and the user Alternative virtual viewing scene identity is sent end by alternative virtual viewing scene identity of information matches End, so that scene identity is virtually watched in terminal selected target from alternative virtual viewing scene identity.
Figure 15 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be Terminal 110 in Fig. 1.As shown in figure 15, which includes processor, the memory, net connected by system bus Network interface, input unit and display screen.Wherein, memory includes non-volatile memory medium and built-in storage.The computer is set Standby non-volatile memory medium is stored with operating system, can also be stored with computer program, and the computer program is by processor When execution, may make processor realize video playing method.Computer program can also be stored in the built-in storage, the meter When calculation machine program is executed by processor, may make processor execute video playing method.The display screen of computer equipment can be with It is liquid crystal display or electric ink display screen, the input unit of computer equipment can be the touch covered on display screen Layer, is also possible to the key being arranged on computer equipment shell, trace ball or Trackpad, can also be external keyboard, touch-control Plate or mouse etc..It will be understood by those skilled in the art that structure shown in Figure 15, only relevant to application scheme The block diagram of part-structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific to calculate Machine equipment may include perhaps combining certain components or with different components than more or fewer components as shown in the figure Arrangement.
In one embodiment, the device of video playing provided by the present application can be implemented as a kind of computer program Form, computer program can be run in computer equipment as shown in figure 15.Group can be stored in the memory of computer equipment At each program module of the device of the video playing, for example, reserve requests sending module 1102, identification code shown in Figure 11 Receiving module 1104, checking request sending module 1106, into module 1108, playing module 1110.Each program module is constituted The computer program video playing that makes processor execute each embodiment of the application described in this specification method in The step of.For example, computer equipment shown in figure 15 can pass through reserve requests in the device of video playing as shown in figure 11 Sending module 1102 send reservation playing request to server, the reservation playing request include: virtually watch scene identity, Video identifier to be played and from the target subscription time that can be selected in subscription time;It is received by identification code receiving module 1104 The identification code that server is returned according to the reservation playing request, the identification code are to enter the virtual viewing scene viewing The voucher of the corresponding video to be played of the video identifier to be played;Institute is transmitted by checking request sending module 1106 The checking request of virtual viewing scene is stated to server, carries the identification code in the checking request;By entering module 1108 receive the verification result that server returns, if being verified, enter the virtual viewing scene, the virtual viewing Scene is used for while accommodating multiple terminal accesses;Through playing module 1110 when reaching the target subscription time, pass through institute The data for stating the video to be played that virtual viewing scene receives server real time down play out.
Figure 16 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be Server 120 in Fig. 1.The computer equipment includes that the computer equipment includes the processor connected by system bus, deposits Reservoir and network interface.Wherein, memory includes non-volatile memory medium and built-in storage.The computer equipment it is non-easily The property lost storage medium is stored with operating system, can also be stored with computer program, when which is executed by processor, The method that may make processor to realize control video playing.Computer program can also be stored in the built-in storage, the computer When program is executed by processor, processor may make to execute the method for controlling video playing.Those skilled in the art can manage It solves, structure shown in Figure 16, only the block diagram of part-structure relevant to application scheme, is not constituted to the application The restriction for the computer equipment that scheme is applied thereon, specific computer equipment may include than as shown in the figure more or Less component perhaps combines certain components or with different component layouts.
In one embodiment, the device of control video playing provided by the present application can be implemented as a kind of computer journey The form of sequence, computer program can be run in computer equipment as shown in figure 16.It can be deposited in the memory of computer equipment Storage forms each program module of the device of the control video playing, for example, reserve requests receiving module shown in Figure 14 1402, identification code return module 1404, checking request receiving module 1406, control playing module 1408.Each program module structure At computer program make processor execute the control video playing of the application described in this specification each embodiment Step in method.For example, computer equipment shown in Figure 16 can pass through the device of control video playing as shown in figure 14 Middle reserve requests receiving module 1402 receives the reservation playing request that terminal is sent, and the reservation playing request includes: virtual sight It sees scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time, is returned by identification code Module 1404 generates identification code according to the virtual viewing scene identity, video identifier to be played and the target subscription time, And the identification code is returned into terminal, the identification code is to enter the virtual viewing scene to watch the video to be played The voucher for identifying corresponding video to be played, by checking request receiving module 1406, for receiving the entrance institute of terminal transmission The checking request of virtual viewing scene is stated, the checking request carries the identification code, verifies to the identification code, if It is verified, then the terminal is allowed to enter the virtual viewing scene, the virtual viewing scene is used for while accommodating multiple Terminal access, by control playing module 1408, for when detect reach the target subscription time when, by described wait broadcast The real-time data transmission for putting video is shown broadcasting to each terminal for accessing the virtual viewing scene.
In one embodiment it is proposed that a kind of computer equipment, including memory and processor, the memory are deposited Computer program is contained, when the computer program is executed by the processor, so that the processor executes following steps: Reservation playing request is sent to server, the reservation playing request includes: virtual viewing scene identity, video mark to be played Know and from the target subscription time that can be selected in subscription time;Receive the mark that server is returned according to the reservation playing request Know code, the identification code is to enter the virtual viewing scene to watch the corresponding video to be played of the video identifier to be played Voucher;The checking request of the virtual viewing scene is transmitted into server, carries the mark in the checking request Code;The verification result that server returns is received, if being verified, enters the virtual viewing scene, the virtual viewing field Scape is used for while accommodating multiple terminal accesses;When reaching the target subscription time, connect by the virtual viewing scene The data for receiving the video to be played of server real time down play out.
In one embodiment, the processor it is described reception server return identification code, the identification code be into Before entering the step of virtual viewing scene watches the voucher of the corresponding video to be played of the video identifier to be played, also For executing following steps: receiving the resource numerical value transfer response that server is returned according to the reservation playing request, the money Numerical value transfer response in source carries the corresponding resource numerical value amount of video to be played;Response is shifted according to the resource numerical value to complete The resource numerical value of the resource numerical value amount shifts, so that the server returns to the identification code.
In one embodiment, the processor is also used to execute following steps: it is corresponding to obtain the virtual viewing scene Public message trigger action, current video broadcast interface upper layer create top layer message view;Receive the public affairs that server is sent Message altogether, the public message are the shared message that the terminal of the access virtual viewing scene is sent;In the top layer message View shows the public message.
In one embodiment, the processor is also used to execute following steps: obtaining user login information, extracts institute State the user identifier and head image information in log-on message;Obtaining the corresponding public message triggering behaviour of the virtual viewing scene Make, after the step of current video broadcast interface upper layer creates top layer message view further include: obtain the public of input and disappear Breath, sends server for the public message, user identifier and head image information, so that the server public disappears described Breath, user identifier and head image information are issued to the terminal for accessing the virtual viewing scene;It is described in the top layer message view The step of showing the public message includes: that user's head portrait, user identifier disappear with the public message in the top layer It is shown on breath view.
In one embodiment, the reservation playing request carries virtual seat mark, and the processor is also used to execute Following steps: server interactive region determining according to virtual seat mark in the virtual viewing scene is received;Root According to the interactive region selection target interactive object, the corresponding terminal of Xiang Suoshu target interactive object sends private message, so that The corresponding terminal private message described in the virtual viewing scene interface display of the target interactive object.
In one embodiment, described according to the interactive region selection target interactive object, the interaction pair of Xiang Suoshu target As corresponding terminal transmission private message, so that the corresponding terminal of the target interactive object is in virtual viewing scene circle Face shows that the step of private message includes: to send private message to the target interactive object to invite, and receives the target Information is invited in the receiving that the corresponding terminal of interactive object returns, and completes the foundation in private message channel, the private message channel For sending private message to the target interactive object or receiving the private message of the target interactive object transmission.
In one embodiment, the processor is also used to before sending the step of reserving playing request to server It executes following steps: obtaining user information, it is matched alternative with the user information according to the user information revealing Virtual viewing scene identity;It obtains the destination virtual selected from alternative virtual viewing scene identity and watches field Scape mark.
In one embodiment it is proposed that another computer equipment, including memory and processor, the memory It is stored with computer program, when the computer program is executed by the processor, so that the processor executes following step It is rapid: to receive the reservation playing request that terminal is sent, the reservation playing request includes: virtual viewing scene identity, view to be played Frequency marking is known and from the target subscription time that can be selected in subscription time;According to the virtual viewing scene identity, video to be played Mark and the target subscription time generate identification code, the identification code be enter described in the virtual viewing scene viewing to Play the voucher of the corresponding video to be played of video identifier;Receive the verifying into the virtual viewing scene that terminal is sent Request, the checking request carry the identification code, verify to the identification code, if being verified, allow the end End enters the virtual viewing scene, and the virtual viewing scene is used for while accommodating multiple terminal accesses;When detecting When up to the target subscription time, by the real-time data transmission of the video to be played to accessing the virtual viewing scene Each terminal is shown broadcasting.
In one embodiment, the processor is being executed according to the virtual viewing scene identity, video mark to be played It before knowing the step of generating identification code with the target subscription time, is also used to execute following steps: be played according to the reservation It requests to send the transfer response of resource numerical value to terminal, the resource numerical value transfer response carries the corresponding resource of video to be played Numerical value amount;Receive resource numerical value transfer complete information, into it is described according to the virtual viewing scene identity, it is to be played The step of video identifier and the target subscription time generate identification code.
In one embodiment, the processor is also used to execute following steps: receiving and the virtual viewing scene mark Know corresponding public message, the public message is issued to access virtual the opening for viewing scene and receives public disappear The terminal of function is ceased, the public message is the shared message that the terminal of the access virtual viewing scene is sent.
In one embodiment, the reservation playing request carries virtual seat mark, and the processor is also used to execute Following steps: corresponding interactive region is determined according to virtual seat mark in the virtual viewing scene;It receives to institute The private message that the target interactive object in interactive region is sent is stated, sends the target interaction pair for the private message As corresponding terminal, so that the private described in the virtual viewing scene interface display of the corresponding terminal of the target interactive object Close message.
In one embodiment, described to receive the private message sent to the target interactive object of the interactive region, it will The private message is sent to the corresponding terminal of the target interactive object, so that the corresponding terminal of the target interactive object The step of private message described in the virtual viewing scene interface display includes: to receive first terminal to the interactive region Target interactive object send private message invite, the private message is invited and is sent to the target interactive object pair The second terminal answered receives the receiving that the corresponding second terminal of the target interactive object returns and invites information, by the receiving Information is invited back to the first terminal, establishes the private message channel between the first terminal and the second terminal, The private message channel is used to transmit the private message of the first terminal and second terminal interaction.
In one embodiment, the processor is also used to execute following steps: receiving and the virtual viewing scene mark Know corresponding message;If the message is public message, by the public message and corresponding virtual viewing scene identity into Row associated storage;If the message is private message, a storage mark is created for the private message, by the secret Message is associated storage with corresponding virtual viewing scene identity, storage mark.
In one embodiment, the processor is before the step of executing the reservation playing request for receiving terminal transmission It is also used to execute following steps: obtaining the virtual viewing scene selection request that terminal is sent, extract the use in the selection request Family information;It obtains and the matched alternative virtual viewing scene identity of the user information;By alternative void Quasi- viewing scene identity is sent to terminal, so that the terminal is selected from alternative virtual viewing scene identity Destination virtual watches scene identity.
In one embodiment it is proposed that a kind of computer readable storage medium, is stored with computer program, the meter When calculation machine program is executed by processor, so that the processor executes following steps: transmission reservation playing request to server, The reservation playing request includes: virtual viewing scene identity, video identifier to be played and from the mesh that can be selected in subscription time Mark subscription time;The identification code that server is returned according to the reservation playing request is received, the identification code is to enter the void Quasi- viewing scene watches the voucher of the corresponding video to be played of the video identifier to be played;It is transmitted into the virtual viewing The checking request of scene carries the identification code in the checking request to server;Receive the verifying knot that server returns Fruit enters the virtual viewing scene if being verified, and the virtual viewing scene is used to while accommodating multiple terminals connect Enter;When reaching the target subscription time, by the virtual viewing scene receive described in server real time down to The data for playing video play out.
In one embodiment, the processor it is described reception server return identification code, the identification code be into Before entering the step of virtual viewing scene watches the voucher of the corresponding video to be played of the video identifier to be played, also For executing following steps: receiving the resource numerical value transfer response that server is returned according to the reservation playing request, the money Numerical value transfer response in source carries the corresponding resource numerical value amount of video to be played;Response is shifted according to the resource numerical value to complete The resource numerical value of the resource numerical value amount shifts, so that the server returns to the identification code.
In one embodiment, the processor is also used to execute following steps: it is corresponding to obtain the virtual viewing scene Public message trigger action, current video broadcast interface upper layer create top layer message view;Receive the public affairs that server is sent Message altogether, the public message are the shared message that the terminal of the access virtual viewing scene is sent;In the top layer message View shows the public message.
In one embodiment, the processor is also used to execute following steps: obtaining user login information, extracts institute State the user identifier and head image information in log-on message;Obtaining the corresponding public message triggering behaviour of the virtual viewing scene Make, after the step of current video broadcast interface upper layer creates top layer message view further include: obtain the public of input and disappear Breath, sends server for the public message, user identifier and head image information, so that the server public disappears described Breath, user identifier and head image information are issued to the terminal for accessing the virtual viewing scene;It is described in the top layer message view The step of showing the public message includes: that user's head portrait, user identifier disappear with the public message in the top layer It is shown on breath view.
In one embodiment, the reservation playing request carries virtual seat mark, and the processor is also used to execute Following steps: server interactive region determining according to virtual seat mark in the virtual viewing scene is received;Root According to the interactive region selection target interactive object, the corresponding terminal of Xiang Suoshu target interactive object sends private message, so that The corresponding terminal private message described in the virtual viewing scene interface display of the target interactive object.
In one embodiment, described according to the interactive region selection target interactive object, the interaction pair of Xiang Suoshu target As corresponding terminal transmission private message, so that the corresponding terminal of the target interactive object is in virtual viewing scene circle Face shows that the step of private message includes: to send private message to the target interactive object to invite, and receives the target Information is invited in the receiving that the corresponding terminal of interactive object returns, and completes the foundation in private message channel, the private message channel For sending private message to the target interactive object or receiving the private message of the target interactive object transmission.
In one embodiment, the processor is also used to before sending the step of reserving playing request to server It executes following steps: obtaining user information, it is matched alternative with the user information according to the user information revealing Virtual viewing scene identity;It obtains the destination virtual selected from alternative virtual viewing scene identity and watches field Scape mark.
In one embodiment it is proposed that another computer readable storage medium, is stored with computer program, it is described When computer program is executed by processor, so that the processor executes following steps: receiving the reservation broadcasting that terminal is sent and ask It asks, the reservation playing request includes: virtual viewing scene identity, video identifier to be played and from can select in subscription time Target subscription time;It is generated according to the virtual viewing scene identity, video identifier to be played and the target subscription time Identification code, the identification code are to enter the virtual viewing scene to watch the corresponding view to be played of the video identifier to be played The voucher of frequency;The checking request into the virtual viewing scene that terminal is sent is received, the checking request carries the mark Know code, the identification code is verified, if being verified, the terminal is allowed to enter the virtual viewing scene, it is described Virtual viewing scene is used for while accommodating multiple terminal accesses;It, will be described when detecting the arrival target subscription time The real-time data transmission of video to be played is shown broadcasting to each terminal for accessing the virtual viewing scene.
In one embodiment, the processor is being executed according to the virtual viewing scene identity, video mark to be played It before knowing the step of generating identification code with the target subscription time, is also used to execute following steps: be played according to the reservation It requests to send the transfer response of resource numerical value to terminal, the resource numerical value transfer response carries the corresponding resource of video to be played Numerical value amount;Receive resource numerical value transfer complete information, into it is described according to the virtual viewing scene identity, it is to be played The step of video identifier and the target subscription time generate identification code.
In one embodiment, the processor is also used to execute following steps: receiving and the virtual viewing scene mark Know corresponding public message, the public message is issued to access virtual the opening for viewing scene and receives public disappear The terminal of function is ceased, the public message is the shared message that the terminal of the access virtual viewing scene is sent.
In one embodiment, the reservation playing request carries virtual seat mark, and the processor is also used to execute Following steps: corresponding interactive region is determined according to virtual seat mark in the virtual viewing scene;It receives to institute The private message that the target interactive object in interactive region is sent is stated, sends the target interaction pair for the private message As corresponding terminal, so that the private described in the virtual viewing scene interface display of the corresponding terminal of the target interactive object Close message.
In one embodiment, described to receive the private message sent to the target interactive object of the interactive region, it will The private message is sent to the corresponding terminal of the target interactive object, so that the corresponding terminal of the target interactive object The step of private message described in the virtual viewing scene interface display includes: to receive first terminal to the interactive region Target interactive object send private message invite, the private message is invited and is sent to the target interactive object pair The second terminal answered receives the receiving that the corresponding second terminal of the target interactive object returns and invites information, by the receiving Information is invited back to the first terminal, establishes the private message channel between the first terminal and the second terminal, The private message channel is used to transmit the private message of the first terminal and second terminal interaction.
In one embodiment, the processor is also used to execute following steps: receiving and the virtual viewing scene mark Know corresponding message;If the message is public message, by the public message and corresponding virtual viewing scene identity into Row associated storage;If the message is private message, a storage mark is created for the private message, by the secret Message is associated storage with corresponding virtual viewing scene identity, storage mark.
In one embodiment, the processor is before the step of executing the reservation playing request for receiving terminal transmission It is also used to execute following steps: obtaining the virtual viewing scene selection request that terminal is sent, extract the use in the selection request Family information;It obtains and the matched alternative virtual viewing scene identity of the user information;By alternative void Quasi- viewing scene identity is sent to terminal, so that the terminal is selected from alternative virtual viewing scene identity Destination virtual watches scene identity.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can It is completed with instructing relevant hardware by computer program, the program can be stored in a non-volatile computer can It reads in storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the application institute Any reference used in each embodiment provided to memory, storage, database or other media, may each comprise non- Volatibility and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include depositing at random Access to memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the application's Protection scope.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (15)

1. a kind of method of video playing, which comprises
Reservation playing request is sent to server, the reservation playing request includes: virtual viewing scene identity, video to be played Mark and from the target subscription time that can be selected in subscription time;
The identification code that server is returned according to the reservation playing request is received, the identification code is to enter the virtual viewing field Landscape sees the voucher of the corresponding video to be played of the video identifier to be played;
The checking request of the virtual viewing scene is transmitted into server, carries the identification code in the checking request;
The verification result that server returns is received, if being verified, enters the virtual viewing scene, the virtual viewing field Scape is used for while accommodating multiple terminal accesses;
When reaching the target subscription time, received described in server real time down by the virtual viewing scene wait broadcast The data for putting video play out.
2. the method according to claim 1, wherein it is described reception server return identification code, the mark Knowing code is the step of watching the voucher of the corresponding video to be played of the video identifier to be played into the virtual viewing scene Before further include:
It receives server and response, the resource numerical value transfer response is shifted according to the resource numerical value that the reservation playing request returns Carry the corresponding resource numerical value amount of video to be played;
The resource numerical value transfer that the resource numerical value amount is completed in response is shifted according to the resource numerical value, so that the server Return to the identification code.
3. the method according to claim 1, wherein the method also includes:
The corresponding public message trigger action of the virtual viewing scene is obtained, creates top layer on current video broadcast interface upper layer Message view;
The public message that server is sent is received, the public message is being total to for the terminal transmission of the access virtual viewing scene Enjoy message;
The public message is shown in the top layer message view.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
User login information is obtained, the user identifier and head image information in the log-on message are extracted;
The corresponding public message trigger action of the virtual viewing scene is being obtained, is creating and pushes up on current video broadcast interface upper layer After the step of layer message view further include:
The public message for obtaining input, sends server for the public message, user identifier and head image information, so that described The public message, user identifier and head image information are issued to the terminal for accessing the virtual viewing scene by server;
It is described to include: the step of the top layer message view shows the public message
User's head portrait, user identifier are shown in the top layer message view with the public message.
5. the method according to claim 1, wherein the reservation playing request carries virtual seat mark, institute State method further include:
Receive server interactive region determining according to virtual seat mark in the virtual viewing scene;
According to the interactive region selection target interactive object, the corresponding terminal of Xiang Suoshu target interactive object sends secret and disappears Breath, so that the corresponding terminal of target interactive object private message described in the virtual viewing scene interface display.
6. according to the method described in claim 5, it is characterized in that, described according to interactive region selection target interaction pair As the corresponding terminal of Xiang Suoshu target interactive object sends private message, so that the corresponding terminal of the target interactive object exists The step of private message described in the virtual viewing scene interface display includes:
Private message is sent to the target interactive object to invite, and receives connecing for the corresponding terminal return of the target interactive object Information is invited, the foundation in private message channel is completed, the private message channel is used to send to the target interactive object Private message receives the private message that the target interactive object is sent.
7. the method according to claim 1, wherein before sending the step of reserving playing request to server Further include:
User information is obtained, according to the user information revealing and the matched alternative virtual viewing field of the user information Scape mark;
It obtains the destination virtual selected from alternative virtual viewing scene identity and watches scene identity.
8. a kind of method for controlling video playing, which comprises
The reservation playing request that terminal is sent is received, the reservation playing request includes: virtual viewing scene identity, view to be played Frequency marking is known and from the target subscription time that can be selected in subscription time;
Identification code is generated according to the virtual viewing scene identity, video identifier to be played and the target subscription time, it is described Identification code is the voucher that the corresponding video to be played of the video identifier to be played is watched into the virtual viewing scene;
The checking request into the virtual viewing scene that terminal is sent is received, the checking request carries the identification code, The identification code is verified, if being verified, the terminal is allowed to enter the virtual viewing scene, the virtual sight See that scene is used for while accommodating multiple terminals accesses;
When detecting the arrival target subscription time, give access the void real-time data transmission of the video to be played Each terminal of quasi- viewing scene is shown broadcasting.
9. according to the method described in claim 8, it is characterized in that, it is described according to the virtual viewing scene identity, wait broadcast Before the step of putting video identifier and target subscription time generation identification code further include:
Send the transfer response of resource numerical value to terminal according to the reservation playing request, resource numerical value transfer response carry to Play the corresponding resource numerical value amount of video;
The information that the transfer of resource numerical value is completed is received, into described according to the virtual viewing scene identity, video mark to be played Know the step of generating identification code with the target subscription time.
10. according to the method described in claim 8, it is characterized in that, the method also includes:
Receive public message corresponding with the virtual viewing scene identity, the public message is issued to access it is described virtually Viewing scene opens the terminal for receiving public message function, and the public message is the end of the access virtual viewing scene Hold the shared message sent.
11. according to the method described in claim 8, it is characterized in that, the reservation playing request carries virtual seat mark, institute State method further include:
Corresponding interactive region is determined according to virtual seat mark in the virtual viewing scene;
The private message that the target interactive object into the interactive region is sent is received, is sent the private message to described The corresponding terminal of target interactive object, so that the corresponding terminal of the target interactive object is aobvious at the virtual viewing scene interface Show the private message.
12. a kind of device of video playing, described device include:
Reserve requests sending module, for sending reservation playing request to server, the reservation playing request includes: virtual sight See scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time;
Identification code receiving module, the identification code returned for receiving server according to the reservation playing request, the identification code To enter the voucher that the virtual viewing scene watches the corresponding video to be played of the video identifier to be played;
Checking request sending module, for being transmitted into the virtual checking request for watching scene to server, the verifying The identification code is carried in request;
Into module, for receiving the verification result of server return, if being verified, enter the virtual viewing scene, The virtual viewing scene is used for while accommodating multiple terminal accesses;
Playing module, for it is real-time to receive server by the virtual viewing scene when reaching the target subscription time The data of the video to be played issued play out.
13. a kind of device for controlling video playing, described device include:
Reserve requests receiving module, for receiving the reservation playing request of terminal transmission, the reservation playing request includes: virtual Viewing scene identity, video identifier to be played and from the target subscription time that can be selected in subscription time;
Identification code return module, for being reserved according to the virtual viewing scene identity, video identifier to be played and the target Time generates identification code, and the identification code is returned to terminal, and the identification code is to enter the virtual viewing scene viewing The voucher of the corresponding video to be played of the video identifier to be played;
Checking request receiving module, it is described to test for receiving the checking request into the virtual viewing scene of terminal transmission Card request carries the identification code, verifies to the identification code, if being verified, the terminal is allowed to enter the void Quasi- viewing scene, the virtual viewing scene are used for while accommodating multiple terminal accesses;
Control playing module, for when detect reach the target subscription time when, the data of the video to be played are real When be transferred to access it is described it is virtual viewing scene each terminal be shown broadcasting.
14. a kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor is executed such as the step of any one of claims 1 to 11 the method.
15. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating When machine program is executed by the processor, so that the processor is executed such as any one of claims 1 to 11 the method Step.
CN201711157492.5A 2017-11-20 2017-11-20 Video playing method and device, computer equipment and storage medium Active CN109819276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711157492.5A CN109819276B (en) 2017-11-20 2017-11-20 Video playing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711157492.5A CN109819276B (en) 2017-11-20 2017-11-20 Video playing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109819276A true CN109819276A (en) 2019-05-28
CN109819276B CN109819276B (en) 2020-12-11

Family

ID=66598029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711157492.5A Active CN109819276B (en) 2017-11-20 2017-11-20 Video playing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109819276B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918076A (en) * 2020-07-20 2020-11-10 北京达佳互联信息技术有限公司 Payment method, device, server, terminal and storage medium for live video
CN112383797A (en) * 2020-10-19 2021-02-19 深圳市九洲电器有限公司 Video data transmission method, set top box, storage medium and device
CN112565921A (en) * 2019-09-26 2021-03-26 陶龙 VR video playing method and device
CN113905265A (en) * 2020-08-03 2022-01-07 腾讯科技(深圳)有限公司 Video data processing method and device and storage medium
WO2023143134A1 (en) * 2022-01-27 2023-08-03 阿里巴巴(中国)有限公司 Live broadcast processing method and apparatus

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080090560A1 (en) * 2004-11-22 2008-04-17 Motorola, Inc. Method and Apparatus for Accessing a Service
US20080209534A1 (en) * 2007-02-15 2008-08-28 Bcode Pty Limited Token based applicaions platform method, system and apparatus
US20100013607A1 (en) * 2007-02-26 2010-01-21 James Paul Sabo Method and apparatus for providing a communication link
CN103279873A (en) * 2013-06-21 2013-09-04 大连万达集团股份有限公司 Theatre chain self-service ticket purchasing system
US20130250119A1 (en) * 2012-03-23 2013-09-26 MiTAC Computer (Shun De) Ltd. Movie Ticket Vending System and Hand-Held Electronic Device and Method Thereof
CN104023273A (en) * 2014-06-27 2014-09-03 北京奇艺世纪科技有限公司 Video-on-demand method and video-on-demand device
US20150106134A1 (en) * 2013-10-16 2015-04-16 Satya Gandham Systems and methods for grouped seat selection
CN105847433A (en) * 2016-05-24 2016-08-10 乐视控股(北京)有限公司 Virtual-theatre-based video playing method, apparatus, and system
CN106254958A (en) * 2016-08-31 2016-12-21 乐视控股(北京)有限公司 The reserving method of business and device
CN106412641A (en) * 2015-07-31 2017-02-15 邹海燕 Online and offline combined movie on-demand method
CN106875022A (en) * 2016-12-30 2017-06-20 腾讯科技(深圳)有限公司 Cinemas seat network choosing method and device
CN106886705A (en) * 2015-12-15 2017-06-23 深圳市银信网银科技有限公司 A kind of processing method and processing device of film information
CN107197358A (en) * 2017-05-05 2017-09-22 中广热点云科技有限公司 The method for recording and system of a kind of TV programme

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080090560A1 (en) * 2004-11-22 2008-04-17 Motorola, Inc. Method and Apparatus for Accessing a Service
US20080209534A1 (en) * 2007-02-15 2008-08-28 Bcode Pty Limited Token based applicaions platform method, system and apparatus
US20100013607A1 (en) * 2007-02-26 2010-01-21 James Paul Sabo Method and apparatus for providing a communication link
US20130250119A1 (en) * 2012-03-23 2013-09-26 MiTAC Computer (Shun De) Ltd. Movie Ticket Vending System and Hand-Held Electronic Device and Method Thereof
CN103279873A (en) * 2013-06-21 2013-09-04 大连万达集团股份有限公司 Theatre chain self-service ticket purchasing system
US20150106134A1 (en) * 2013-10-16 2015-04-16 Satya Gandham Systems and methods for grouped seat selection
CN104023273A (en) * 2014-06-27 2014-09-03 北京奇艺世纪科技有限公司 Video-on-demand method and video-on-demand device
CN106412641A (en) * 2015-07-31 2017-02-15 邹海燕 Online and offline combined movie on-demand method
CN106886705A (en) * 2015-12-15 2017-06-23 深圳市银信网银科技有限公司 A kind of processing method and processing device of film information
CN105847433A (en) * 2016-05-24 2016-08-10 乐视控股(北京)有限公司 Virtual-theatre-based video playing method, apparatus, and system
CN106254958A (en) * 2016-08-31 2016-12-21 乐视控股(北京)有限公司 The reserving method of business and device
CN106875022A (en) * 2016-12-30 2017-06-20 腾讯科技(深圳)有限公司 Cinemas seat network choosing method and device
CN107197358A (en) * 2017-05-05 2017-09-22 中广热点云科技有限公司 The method for recording and system of a kind of TV programme

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄河涛: "《家庭共享流媒体服务系统的设计与实现》", 《中国优秀硕士学位论文全文数据库》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565921A (en) * 2019-09-26 2021-03-26 陶龙 VR video playing method and device
CN111918076A (en) * 2020-07-20 2020-11-10 北京达佳互联信息技术有限公司 Payment method, device, server, terminal and storage medium for live video
CN113905265A (en) * 2020-08-03 2022-01-07 腾讯科技(深圳)有限公司 Video data processing method and device and storage medium
CN112383797A (en) * 2020-10-19 2021-02-19 深圳市九洲电器有限公司 Video data transmission method, set top box, storage medium and device
CN112383797B (en) * 2020-10-19 2022-09-13 深圳市九洲电器有限公司 Video data transmission method, set top box, storage medium and device
WO2023143134A1 (en) * 2022-01-27 2023-08-03 阿里巴巴(中国)有限公司 Live broadcast processing method and apparatus

Also Published As

Publication number Publication date
CN109819276B (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN109819276A (en) Method, apparatus, computer equipment and the storage medium of video playing
CN104936038B (en) For delivering multiple contents in television environment and providing the frame interacted with content
US8799005B2 (en) Systems and methods for capturing event feedback
TWI454109B (en) Method, system, and computer-readable storage medium for dynamic instant comments
CN108140083A (en) Use the transaction in personal device mandate sharing means
WO2002007063A1 (en) Web-enabled method and system for managing remote dispute resolution
CN112672179B (en) Method, device and equipment for live game
CN112291503B (en) Interaction method and device and electronic equipment
CN112422401B (en) Display method and device for providing interface of social network service through anonymous brief introduction
CN113905265B (en) Video data processing method and device and storage medium
CN109660854A (en) Video recommendation method, device, equipment and storage medium
US20220407734A1 (en) Interaction method and apparatus, and electronic device
CN113573092A (en) Live broadcast data processing method and device, electronic equipment and storage medium
KR102560567B1 (en) Method and apparatus for displaying an interface for providing a social network service through an anonymous based profile
CN110198477A (en) Offline bullet screen interaction method, bullet screen server and interaction system
CN112769715B (en) Resource allocation method, device, electronic equipment and storage medium
CN112100505B (en) Content pushing method and device, computer equipment and storage medium
KR102525348B1 (en) Method, device and system for providing interaction platform service that allow watching user participatory content
CN114760531B (en) Team interaction method, device, system, equipment and storage medium for live broadcasting room
CN113992930B (en) Virtual resource conversion method, device, live broadcast system, equipment and storage medium
CN112717422B (en) Real-time information interaction method and device, equipment and storage medium
CN110912863B (en) Identity clue information acquisition method and device, computer equipment and storage medium
US11917253B2 (en) System and method for facilitating a virtual screening
KR102573946B1 (en) On-line group viewing service system, server and method
CN113179445A (en) Video sharing method based on interactive article and interactive article

Legal Events

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