CN114071111B - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN114071111B
CN114071111B CN202111615175.XA CN202111615175A CN114071111B CN 114071111 B CN114071111 B CN 114071111B CN 202111615175 A CN202111615175 A CN 202111615175A CN 114071111 B CN114071111 B CN 114071111B
Authority
CN
China
Prior art keywords
information
virtual reality
video
target
target user
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.)
Active
Application number
CN202111615175.XA
Other languages
Chinese (zh)
Other versions
CN114071111A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111615175.XA priority Critical patent/CN114071111B/en
Publication of CN114071111A publication Critical patent/CN114071111A/en
Application granted granted Critical
Publication of CN114071111B publication Critical patent/CN114071111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/189Recording image signals; Reproducing recorded image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations

Abstract

The disclosure provides a video playing method and device, relates to the technical field of computers, and particularly relates to the technical field of virtual reality and the technical field of video processing. The specific implementation scheme is as follows: firstly, receiving a video playing request aiming at a target user, wherein the video playing request comprises identification information of the target user, then acquiring a target information sequence corresponding to the identification information, wherein the target information sequence comprises a plurality of historical operation information acquired for the target user in the running process of a target virtual reality application of target virtual reality equipment, then generating video information corresponding to the target user based on candidate virtual reality equipment corresponding to the target virtual reality equipment and the plurality of historical operation information, and finally transmitting the video information to a playing terminal corresponding to the video playing request for video playing, wherein the video information can be acquired only by storing the information sequence, so that occupied storage space can be reduced, and the resource utilization rate is improved.

Description

Video playing method and device
Technical Field
The disclosure relates to the technical field of computers, in particular to the technical field of virtual reality and the technical field of video processing, and particularly relates to a video playing method and device.
Background
Virtual Reality (VR) is a computer simulation system capable of creating and experiencing a Virtual world, and is a simulation environment generated by a computer, and is also an interactive three-dimensional dynamic view and entity behavior simulation system fused by multi-source information, and is a simulation system utilizing entity behaviors.
Along with the continuous progress of technology, the requirement for video recording of the virtual reality application in the running process is gradually increased, and the video recording mode is generally used for video recording of the running process of the virtual reality application directly. And when the video is played, the local virtual reality equipment with the same model is opened, and the video is played by using the traditional screen-throwing function.
Disclosure of Invention
The present disclosure provides a video playing method, apparatus, electronic device, storage medium and computer program product.
According to an aspect of the present disclosure, there is provided a video playing method, including: receiving a video playing request aiming at a target user, wherein the video playing request comprises identification information of the target user; acquiring a target information sequence corresponding to the identification information, wherein the target information sequence comprises a plurality of pieces of historical operation information acquired for a target user in the running process of a target virtual reality application of target virtual reality equipment; generating video information corresponding to a target user based on the candidate virtual reality equipment corresponding to the target virtual reality equipment and a plurality of pieces of historical operation information; and sending the video information to a playing terminal corresponding to the video playing request to play the video.
According to another aspect of the present disclosure, there is provided a video playing device including: the receiving module is configured to receive a video playing request aiming at a target user, wherein the video playing request comprises identification information of the target user; the acquisition module is configured to acquire a target information sequence corresponding to the identification information, wherein the target information sequence comprises a plurality of pieces of historical operation information acquired for a target user in the running process of a target virtual reality application of target virtual reality equipment; the generating module is configured to generate video information corresponding to a target user based on the candidate virtual reality equipment corresponding to the target virtual reality equipment and the plurality of pieces of historical operation information; and the sending module is configured to send the video information to a playing terminal corresponding to the video playing request for video playing.
According to another aspect of the present disclosure, there is provided an electronic device including at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the video playing method.
According to another aspect of the present disclosure, there is provided a computer-readable medium having stored thereon computer instructions for enabling a computer to perform the above-described video playback method.
According to another aspect of the present disclosure, an embodiment of the present application provides a computer program product, which includes a computer program/instruction, which when executed by a processor, implements the video playing method described above.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow chart of one embodiment of a video playback method according to the present disclosure;
FIG. 2 is a flow chart of one embodiment of generating video-on-record information according to the present disclosure;
FIG. 3 is a flow chart of another embodiment of generating video-on-record information according to the present disclosure;
FIG. 4 is a flow chart of another embodiment of a video playback method according to the present disclosure;
FIG. 5 is a flow chart of one embodiment of constructing a data center according to the present disclosure;
fig. 6 is a schematic structural view of one embodiment of a video playback device according to the present disclosure;
fig. 7 is a block diagram of an electronic device for implementing a video playback method of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The identification information, the plurality of information sequences, the related historical operation information and the like of a plurality of users are all related information acquired in the use process of the virtual reality equipment based on user permission, namely, the user can firstly authorize and permit information acquisition when using the virtual reality equipment, and then the virtual reality equipment can start to acquire the information in the operation process of the user. And, the identification information of the target user related in the present disclosure may be information generated based on related operations of the user and related requests sent in the process that the target user generates the video playing request by using a playing device such as a playing terminal, and the information is generated based on permissions of the target user.
Referring to fig. 1, fig. 1 shows a flow diagram 100 that may be applied to an embodiment of a video playback method of the present disclosure. The video playing method comprises the following steps:
step 110, receiving a video playing request for a target user.
In this embodiment, the target user may perform a playing operation on video information in the associated virtual reality application running process in the playing terminal, and then the playing terminal obtains an authorization permission of the target user according to the playing operation of the target user, and obtains identification information of the target user based on the authorization permission. And then the playing terminal can generate a video playing request according to the playing operation and the identification information of the target user, and send the video playing request to an execution main body of the video playing method.
The executing main body of the video playing method can receive a video playing request sent by the playing terminal through the network, wherein the video playing request is used for requesting to play video information in the running process of the virtual reality application corresponding to the target user. Then, the executing body may analyze the received video playing request to obtain the identification information of the target user, where the identification information may be the identification information characterizing the identity of the user, such as the user ID (Identity document), the user name, and the like, which is not limited specifically. Step 120, a target information sequence corresponding to the user information is obtained.
In this embodiment, the execution body may store a plurality of information sequences, where each information sequence may be stored in association with identification information corresponding to a user, that is, different identification information corresponds to different information sequences, where the information sequence may be a plurality of history information collected after authorization permission is performed on a virtual reality device when the user uses the virtual reality device, and may include device information of the virtual reality device used by the user and application information of the virtual reality application, and the information sequence may include a plurality of history operation information collected for the user in a virtual reality application running process of the virtual reality device, where the history operation information may represent history operation instruction information executed by the user in the virtual reality application running process, each history operation information corresponds to a history operation time, and each history operation information is ordered according to the history operation time of the user.
After the executing body analyzes the video playing request to obtain the identification information of the target user, the executing body can compare the identification information of the target user with the identification information associated with a plurality of information sequences, and search the stored plurality of historical information sequences for the information sequence matched with the user information of the target user as the target information sequence corresponding to the identification information of the target user. And the target information sequence may include device information of the target virtual reality device used by the target user and application information of the target virtual reality application, and then the target information sequence may include a plurality of history operation information collected for the target user in a target virtual reality application running process of the target virtual reality device, where the history operation information may represent history operation instruction information executed by the target user in the target virtual reality application running process, each history operation information corresponds to a history operation time, and each history operation information is ordered according to the history operation time of the target user, where the history operation information may be a history operation instruction executed by the target user by using the target virtual reality device, for example, a history operation instruction such as a key operation executed in the target virtual reality device, or a history operation instruction such as a turn around operation executed in a head display device of the virtual reality device.
Step 130, based on the candidate virtual reality device corresponding to the target virtual reality device and the plurality of pieces of history operation information, generating video information corresponding to the target user.
In this embodiment, after the execution body obtains the target information sequence corresponding to the target user, the device information of the corresponding target virtual reality device may be determined from the target information sequence, where the device information may be a device model of the target virtual reality device. The executing body can determine the corresponding candidate virtual reality device according to the device information of the target virtual reality device, the device model of the candidate virtual reality device is the same as that of the target virtual reality device, a plurality of pieces of history operation information in a target information sequence are operated by using a virtual reality application in the candidate virtual reality device, each piece of history operation information is operated and processed simultaneously based on the history operation time and a main program of the virtual reality application, and video information corresponding to the target user is generated.
Specifically, the execution body may send the target information sequence to the candidate virtual reality device, and the candidate virtual reality device may run the virtual reality application, and add the plurality of historical operation information in the target information sequence to the main program of the virtual reality application according to the corresponding historical operation time of the target information sequence, until the addition of the plurality of historical operation information is completed, so as to obtain video information corresponding to the target user.
And 140, sending the video information to a playing terminal corresponding to the video playing request for video playing.
In this embodiment, after the executing body generates the video information corresponding to the target user, the terminal information of the playing terminal associated with the video playing request may be determined according to the video playing request, where the terminal information may be an IP address (Internet Protocol Address ) of the playing terminal. The executing body can send the video information to the playing terminal corresponding to the video playing request. After receiving the video information corresponding to the target user, the playing terminal can play the video of the video information and display the video information to the target user through a screen of the playing terminal.
According to the video playing method provided by the embodiment of the disclosure, a video playing request aiming at a target user is received, the video playing request comprises identification information of the target user, then a target information sequence corresponding to the identification information is obtained, the target information sequence comprises a plurality of historical operation information acquired by the target user in the running process of a target virtual reality application of target virtual reality equipment, then video information corresponding to the target user is generated based on candidate virtual reality equipment corresponding to the target virtual reality equipment and the plurality of historical operation information, finally the video information is sent to a playing terminal corresponding to the video playing request for video playing, and the video information corresponding to the target user is not directly obtained, but the video information is generated by utilizing the target information sequence corresponding to the target user and the candidate virtual reality equipment, so that the video information can be obtained only by storing the historical information sequence, the occupied storage space can be reduced, the resource utilization rate can be improved, the screen-throwing playing of the video information can be realized by utilizing the candidate virtual reality equipment, the user can watch the video information on any equipment without perception, and the flexibility of playing the video information of virtual reality can be improved.
With continued reference to fig. 2, fig. 2 shows a flowchart of one embodiment of generating video information, that is, step 130, based on the candidate virtual reality device corresponding to the target virtual reality device and the plurality of historical operation information, generating video information corresponding to the target user, including the steps of:
step 210, obtaining application information of a target virtual reality application.
In this embodiment, after the executing body obtains the target information sequence, application information of a target virtual reality application may be determined from the target information sequence, where the target virtual reality application may be a virtual reality application that is operated in a target virtual reality device used by a target user, the video recording video information is a video recording video when the target virtual reality application is operated, the application information may be identification information of the target virtual reality application, and different applications may correspond to different identification information.
Step 220, starting the candidate virtual reality equipment corresponding to the target virtual reality equipment, and running the candidate virtual reality application corresponding to the application information in the candidate virtual reality equipment.
In this embodiment, the executing body may determine, according to device information of the target virtual reality device, a corresponding candidate virtual reality device, where a device model of the candidate virtual reality device is the same as a device model of the target virtual reality device, and start the candidate virtual reality device corresponding to the target virtual reality device.
And the executing body can determine the candidate virtual reality application in the candidate virtual reality device according to the application information of the target virtual reality application, wherein the candidate virtual reality application and the target virtual reality application are the same application, and the candidate virtual reality application corresponding to the application information in the candidate virtual reality device is operated.
As an alternative implementation manner, the candidate virtual reality device may include: cloud virtual reality devices or local virtual reality devices; the candidate virtual reality application may include a cloud virtual reality application or a local virtual reality application.
If the playing terminal used by the target user can use a high-speed network (e.g., 5G), the candidate virtual reality device may be a cloud virtual reality device. Therefore, the executing body (cloud) may receive a video playing request for a target user, where the video playing request may include user information of the target user, then obtain a target information sequence corresponding to the user information, where the target information sequence includes a plurality of historical operation information collected for the target user in a target virtual reality application running process of the target virtual reality device, then start a cloud virtual reality selecting device corresponding to the target virtual reality device, run a cloud virtual reality application corresponding to application information in the cloud virtual reality device, utilize the cloud virtual reality selecting device and the plurality of historical operation information to generate video information corresponding to the target user, and finally send the video information to a playing terminal corresponding to the video playing request for video playing.
Alternatively, if the playing terminal used by the target user may not use the high-speed network (e.g. 5G), the candidate virtual reality device may be a local virtual reality device. Therefore, the executing body (local terminal) may receive a video playing request for the target user, where the video playing request may include identification information of the target user, then obtain a target information sequence corresponding to the identification information, where the target information sequence includes a plurality of historical operation information collected for the target user during a running process of a target virtual reality application of the target virtual reality device, then start a local virtual reality device corresponding to the target virtual reality device, run a local virtual reality application corresponding to application information in the local virtual reality device, generate video information corresponding to the target user by using the local virtual reality device and the plurality of historical operation information, and finally send the video information to a playing terminal corresponding to the video playing request for video playing.
In the implementation mode, cloud virtual reality equipment can be utilized for processing, cloud screen projection of video information is achieved, users do not need to open virtual reality equipment of the same model locally, users can watch video information on any equipment without perception, the requirement that the same equipment needs to be started locally in the traditional screen projection video is solved, and flexibility of video playing of virtual reality is improved; or, the cloud screen-throwing fluency is based on a high-speed network, if the playing terminal used by the target user can not use the high-speed network, the local virtual reality equipment can be opened in the local area network, the local virtual reality equipment can be switched to the local equipment for screen throwing, and the high fluency is provided, so that the flexibility of video playing of the virtual reality is improved.
Step 230, based on the plurality of historical operation information and the candidate virtual reality application, generating video information corresponding to the target user.
In this embodiment, when the executing body executes the candidate virtual reality application, the executing body may execute the operation processing on the plurality of pieces of history operation information in the target information sequence simultaneously based on the history operation time and the main program of the virtual reality application, so as to generate the video information corresponding to the target user. The execution body may add the plurality of pieces of history operation information in the target information sequence to the main program of the virtual reality application according to the corresponding history operation time until the addition of the plurality of pieces of history operation information is completed, so as to obtain video information corresponding to the target user.
In this embodiment, by running a plurality of historical operation information together with the main program of the candidate virtual reality application, the video information corresponding to the target user can be restored more quickly and more accurately, so that the complete video of the target user does not need to be recorded in the running process of the target virtual reality application, the video information of the target user can be restored only by acquiring the target historical information sequence of the target user, the occupied storage space can be reduced, and the resource utilization rate is improved.
Referring to fig. 3, fig. 3 shows a flowchart 300 of another embodiment of generating video-on-record information, the flowchart 300 may include the steps of:
in step 310, application information of a target virtual reality application is obtained.
Step 310 of this embodiment may be performed in a similar manner to step 210 of the embodiment shown in fig. 2, and is not repeated here.
Step 320, starting the candidate virtual reality device corresponding to the target virtual reality device, and running the candidate virtual reality application corresponding to the application information in the candidate virtual reality device.
Step 320 of this embodiment may be performed in a similar manner to step 220 of the embodiment shown in fig. 2, and is not repeated here.
Step 330, the plurality of historical operating information and the plurality of historical random numbers are transmitted to the candidate virtual reality device.
The target history information sequence may further include a plurality of history random numbers generated during the operation of the target virtual reality application of the target virtual reality device, where the history random numbers may be random numbers generated during the operation of the target virtual reality application, and each history random number is according to the history random numbers.
In this embodiment, after the execution subject starts the candidate virtual reality device, the plurality of historical operation information and the plurality of historical random numbers in the target historical information sequence may be sent to the candidate virtual reality device.
And step 340, running and generating video recording video information corresponding to the target user based on the plurality of historical operation information, the plurality of historical random numbers and the main program of the candidate virtual reality application.
In this embodiment, the executing body may run the plurality of historical operating information, the plurality of historical random numbers and the main program of the candidate virtual reality application together, add the plurality of historical operating information in the target information sequence to the main program of the virtual reality application according to the corresponding historical operating time of the historical operating information, and add the plurality of historical random numbers in the target information sequence to the main program of the virtual reality application according to the corresponding generating time of the historical random numbers until the plurality of historical operating information and the plurality of historical random numbers are added, thereby obtaining video information corresponding to the target user.
In this embodiment, by running and generating the video information corresponding to the target user based on the plurality of historical operating information, the plurality of historical random numbers and the main program of the candidate virtual reality application, the video information corresponding to the target user can be restored more quickly and more accurately, so that the complete video of the target user does not need to be recorded in the running process of the target virtual reality application, and the video information of the target user can be restored only by acquiring the historical operating information of the target user and the generated historical random numbers, so that the occupied storage space can be reduced, and the resource utilization rate is improved.
Referring to fig. 4, fig. 4 shows a flowchart 400 of another embodiment of a video playback method, which may include the steps of:
step 410, receiving a video playing request for a target user.
Step 410 of this embodiment may be performed in a similar manner to step 110 of the embodiment shown in fig. 1, and is not repeated here.
Step 420, a target history information sequence corresponding to the user information is obtained.
Step 420 of this embodiment may be performed in a similar manner to step 120 of the embodiment shown in fig. 1, and is not repeated here.
Step 430, generating video information corresponding to the target user based on the candidate virtual reality device corresponding to the target virtual reality device and the plurality of pieces of history operation information.
Step 430 of this embodiment may be performed in a similar manner to step 130 of the embodiment shown in fig. 1, and is not repeated here.
Step 440, determining the playing requirement of the target user from the video playing request.
Because the virtual reality device is binocular video playing, the target user can execute playing operation on video information in the running process of the related virtual reality application in the playing terminal, and can select monocular video or binocular video, the playing terminal generates a video playing request according to the playing operation and the selecting operation of the target user, and sends the video playing request to an execution main body of the video playing method.
In this embodiment, the executing body may parse the received video playing request to obtain the identification information of the target user, where the identification information may be identification information representing the identity of the user, for example, the user ID (Identity document), the user name, and the like, which is not limited specifically. The playing requirement of the target user can be further obtained, the playing requirement represents the selecting requirement of the target user on the monocular video or the double-catalog video, the monocular video can represent the virtual video watched by a single eye, such as the virtual video watched by a left eye or the virtual video watched by a right eye, and the double-catalog video can represent the virtual video watched by two eyes.
Step 450, obtaining target video information corresponding to the playing requirement from the video information.
In this embodiment, the video information may be a dual-catalog video, after the execution subject determines the playing requirement of the target user, the execution subject may determine target video information corresponding to the playing requirement from the generated video information, and if the execution subject determines that the playing requirement is a playing requirement of a monocular video, the monocular video is obtained from the video information, for example, a virtual video watched by a left eye or a virtual video watched by a right eye, and the monocular video is used as the target video information corresponding to the playing requirement; if the executing body determines that the playing requirement is a playing request of the double-catalog video, the video information is directly used as target video information corresponding to the playing requirement.
Step 460, the target video information is sent to the playing terminal corresponding to the video playing request to play the video.
In this embodiment, after the executing body obtains the target video information corresponding to the playing requirement, the executing body may determine, according to the video playing request, terminal information of the playing terminal associated with the video playing request, where the terminal information may be an IP address (Internet Protocol Address ) of the playing terminal. The executing body can send the target video information to the playing terminal corresponding to the video playing request. After receiving the target video information corresponding to the target user, the playing terminal can play the video of the target video information, and the target video information is displayed to the target user through a screen of the playing terminal.
In this embodiment, by acquiring the target video information from the video information according to the playing requirement, the problem that the real-time video of the virtual reality device cannot be switched to the single-double purpose is solved, and the playing flexibility of the video information of the virtual reality is improved, so that the user can view the monocular video or the double-catalog video, and different playing requirements of the user are met.
Referring to fig. 5, fig. 5 illustrates a flow chart 500 of one embodiment of constructing a data center, which may include the steps of:
Step 510, receiving a plurality of information sequences, a plurality of identification information, and application information of a plurality of virtual reality applications, which are sent by a plurality of virtual reality devices.
In this embodiment, the virtual reality device may receive a running request of a user, run a virtual reality application, and then the virtual reality device may obtain, through an interface, a plurality of historical operation information of the user in a running process of the virtual reality application and a historical operation time corresponding to each of the historical operation information, and sort the plurality of historical operation information according to the historical operation time corresponding to each of the historical operation information; and the method can also acquire a plurality of historical random numbers and the generation time of each historical random number generated in the running process of the virtual reality application, sort the historical random numbers according to the generation time of each historical random number, and finally generate an information sequence corresponding to the user according to the sorted historical operation information and the historical random numbers.
The execution body may receive a plurality of information sequences, a plurality of identification information, and application information of a plurality of virtual reality applications, where different virtual reality devices may generate information sequences corresponding to different identification information, one virtual reality device may correspond to one identification information, or may correspond to a plurality of identification information, each identification information may correspond to a different information sequence, and different identification information may correspond to application information of a different virtual reality application.
And step 520, establishing association relation among the plurality of information sequences, the plurality of identification information and application information of the plurality of virtual reality applications, and constructing a data center for storing the plurality of information sequences.
In this embodiment, the executing body may establish an association relationship between a plurality of information sequences, a plurality of identification information and application information of a plurality of virtual reality applications according to a correspondence relationship between the information sequences, the identification information and application information of the virtual reality applications, and store the plurality of information sequences, the plurality of identification information and the application information of the plurality of virtual reality applications correspondingly according to the association relationship, so as to construct a data center for storing the plurality of information sequences.
The execution body can receive video playing requests of different users, and can find out corresponding historical information sequences and other information from the data center according to user information of different users.
In this embodiment, by storing a plurality of information sequences, a plurality of identification information and application information of a plurality of virtual reality applications correspondingly according to association relationships, a data center for storing a plurality of information sequences is constructed, and information sequences of a plurality of users can be stored for subsequent inquiry of target information sequences corresponding to target users, so that the inquiry speed of the information sequences is improved, the problem that real-time video recording of virtual reality equipment occupies a large amount of bandwidth and storage is solved, storage space can be reduced, and resource utilization rate is improved.
With further reference to fig. 6, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of a video playing apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 1, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 6, the video playback apparatus 600 of the present embodiment includes: a receiving module 610, an obtaining module 620, a generating module 630 and a transmitting module 640.
Wherein, the receiving module 610 is configured to receive a video playing request for a target user, where the video playing request includes identification information of the target user;
an obtaining module 620, configured to obtain a target information sequence corresponding to the identification information, where the target information sequence includes a plurality of historical operation information collected for a target user during a target virtual reality application running process of the target virtual reality device;
a generating module 630 configured to generate video information corresponding to the target user based on the candidate virtual reality device corresponding to the target virtual reality device and the plurality of history operation information;
the sending module 640 is configured to send the video information to a playing terminal corresponding to the video playing request for video playing.
In some optional manners of this embodiment, the generating module includes: a first acquisition unit configured to acquire application information of a target virtual reality application; the operation unit is configured to start the candidate virtual reality equipment corresponding to the target virtual reality equipment and operate the candidate virtual reality application corresponding to the application information in the candidate virtual reality equipment; and the generating unit is configured to generate video information corresponding to the target user based on the plurality of historical operation information and the candidate virtual reality application.
In some optional manners of this embodiment, the target information sequence further includes a plurality of historical random numbers generated during a running of a target virtual reality application of the target virtual reality device; and a generation unit further configured to: transmitting the plurality of historical operation information and the plurality of historical random numbers to the candidate virtual reality device; and running and generating video information corresponding to the target user based on the plurality of historical operation information, the plurality of historical random numbers and the main program of the candidate virtual reality application.
In some optional manners of this embodiment, the sending module includes: the determining unit is configured to determine the playing requirement of the target user from the video playing request, wherein the playing requirement represents the selection requirement of the target user on the monocular video or the double-catalog video; a second acquisition unit configured to acquire target video information corresponding to a play requirement from the video information; and the sending unit is configured to send the target video information to a playing terminal corresponding to the video playing request for video playing.
In some alternatives of this embodiment, the apparatus further comprises a build module; a receiving module further configured to: receiving a plurality of information sequences, a plurality of identification information and application information of a plurality of virtual reality applications, wherein the information sequences are sent by a plurality of virtual reality devices, and the plurality of information sequences represent a plurality of historical information obtained by information acquisition of user operation and running information of the virtual reality applications by the plurality of virtual reality devices; a build module configured to: and establishing association relation among the plurality of information sequences, the plurality of identification information and application information of the plurality of virtual reality applications, and constructing a data center for storing the plurality of information sequences.
In some alternatives of this embodiment, the candidate virtual reality device includes: cloud virtual reality devices or local virtual reality devices.
According to the video playing device provided by the embodiment of the disclosure, by receiving a video playing request aiming at a target user, the video playing request comprises identification information of the target user, then acquiring a target information sequence corresponding to the identification information, wherein the target information sequence comprises a plurality of historical operation information acquired by the target user in the running process of a target virtual reality application of target virtual reality equipment, then generating video recording video information corresponding to the target user based on candidate virtual reality equipment and the plurality of historical operation information corresponding to the target virtual reality equipment, finally sending the video recording video information to a playing terminal corresponding to the video playing request for video playing, and not directly acquiring the video recording video information corresponding to the target user, but generating the video recording video information by utilizing the target information sequence corresponding to the target user and the candidate virtual reality equipment, so that the video recording video information can be acquired only by storing the information sequence, the occupied storage space can be reduced, the resource utilization rate can be improved, the video playing of the video recording video information can be realized by utilizing the candidate virtual reality equipment, the video information can be displayed on any equipment without perception, and the flexibility of video recording video information playing of virtual reality can be improved.
Those skilled in the art will appreciate that the above-described apparatus also includes some other well-known structures, such as a processor, memory, etc., which are not shown in fig. 6 in order to unnecessarily obscure embodiments of the present disclosure.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 7 illustrates a schematic block diagram of an example electronic device 700 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the electronic device 700 includes a computing unit 701 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 702 or a computer program loaded from a storage unit 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 may also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Various components in the electronic device 700 are connected to the I/O interface 705, including: an input unit 706 such as a keyboard, a mouse, etc.; an output unit 707 such as various types of displays, speakers, and the like; a storage unit 708 such as a magnetic disk, an optical disk, or the like; and a communication unit 709 such as a network card, modem, wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 701 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 701 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the respective methods and processes described above, for example, a video playback method. For example, in some embodiments, the video playback method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 708. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 700 via ROM 702 and/or communication unit 709. When a computer program is loaded into RAM 703 and executed by computing unit 701, one or more steps of the video playback method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the video playback method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A video playing method, comprising:
receiving a video playing request aiming at a target user, wherein the video playing request comprises identification information of the target user;
acquiring a target information sequence corresponding to the identification information from a plurality of stored information sequences, wherein the target information sequence comprises a plurality of pieces of historical operation information acquired by a target user in the running process of a target virtual reality application of target virtual reality equipment and a plurality of pieces of historical random numbers generated in the running process of the target virtual reality application of the target virtual reality equipment, different identification information corresponds to different information sequences, each piece of historical operation information corresponds to a historical operation time, and the historical operation information represents historical operation instruction information executed by the target user in the running process of the target virtual reality application;
Based on the candidate virtual reality device corresponding to the target virtual reality device and the plurality of pieces of history operation information, generating video information corresponding to the target user includes: acquiring application information of the target virtual reality application; starting a candidate virtual reality device corresponding to the target virtual reality device, and running a candidate virtual reality application corresponding to the application information in the candidate virtual reality device; generating video information corresponding to the target user based on the plurality of historical operation information and the candidate virtual reality application;
the video information is sent to a playing terminal corresponding to the video playing request to play the video;
the generating video information corresponding to the target user based on the plurality of historical operation information and the candidate virtual reality application includes: transmitting the plurality of historical operating information and the plurality of historical random numbers to the candidate virtual reality device; and running and generating video recording video information corresponding to the target user based on the plurality of historical operation information, the plurality of historical random numbers and the main program of the candidate virtual reality application.
2. The method of claim 1, wherein the sending the video information to the playing terminal corresponding to the video playing request for video playing includes:
determining the playing requirement of the target user from the video playing request, wherein the playing requirement represents the selecting requirement of the target user on the monocular video or the double-catalog video;
acquiring target video information corresponding to the playing requirement from the video information;
and sending the target video information to a playing terminal corresponding to the video playing request to play the video.
3. The method of any of claims 1-2, the method further comprising:
receiving a plurality of information sequences, a plurality of identification information and application information of a plurality of virtual reality applications, wherein the information sequences are sent by a plurality of virtual reality devices, and the information sequences represent a plurality of historical information obtained by information acquisition of user operation and running information of the virtual reality applications by the plurality of virtual reality devices;
and establishing association relation among the information sequences, the identification information and the application information of the virtual reality applications, and constructing a data center for storing the information sequences.
4. The method of claim 1, the candidate virtual reality device comprising: cloud virtual reality devices or local virtual reality devices.
5. A video playback device comprising:
the video recording and playing system comprises a receiving module, a receiving module and a processing module, wherein the receiving module is configured to receive a video recording and playing request aiming at a target user, and the video recording and playing request comprises identification information of the target user;
the acquisition module is configured to acquire a target information sequence corresponding to the identification information from the stored plurality of information sequences, wherein the target information sequence comprises a plurality of pieces of historical operation information acquired for the target user in the running process of a target virtual reality application of target virtual reality equipment and a plurality of pieces of historical random numbers generated in the running process of the target virtual reality application of the target virtual reality equipment, different identification information corresponds to different information sequences, each piece of historical operation information corresponds to a historical operation time, and the historical operation information represents historical operation instruction information executed by the target user in the running process of the target virtual reality application;
the generation module is configured to generate video information corresponding to the target user based on the candidate virtual reality equipment corresponding to the target virtual reality equipment and the plurality of pieces of historical operation information;
The sending module is configured to send the video information to a playing terminal corresponding to the video playing request for video playing;
wherein, the generating module includes: a first acquisition unit configured to acquire application information of the target virtual reality application; the operation unit is configured to start the candidate virtual reality equipment corresponding to the target virtual reality equipment and operate the candidate virtual reality application corresponding to the application information in the candidate virtual reality equipment; a generating unit configured to generate video information corresponding to the target user based on the plurality of history operation information and the candidate virtual reality application;
the generating unit is further configured to: transmitting the plurality of historical operating information and the plurality of historical random numbers to the candidate virtual reality device; and running and generating video recording video information corresponding to the target user based on the plurality of historical operation information, the plurality of historical random numbers and the main program of the candidate virtual reality application.
6. The apparatus of claim 5, wherein the means for transmitting comprises:
a determining unit configured to determine a playing requirement of the target user from the video playing request, wherein the playing requirement characterizes a selection requirement of the target user on a monocular video or a dual catalog video;
The second acquisition unit is configured to acquire target video information corresponding to the playing requirement from the video information;
and the sending unit is configured to send the target video information to a playing terminal corresponding to the video playing request for video playing.
7. The apparatus of any of claims 5-6, further comprising a build module;
the receiving module is further configured to: receiving a plurality of information sequences, a plurality of identification information and application information of a plurality of virtual reality applications, wherein the information sequences are sent by a plurality of virtual reality devices, and the information sequences represent a plurality of historical information obtained by information acquisition of user operation and running information of the virtual reality applications by the plurality of virtual reality devices;
the build module is configured to: and establishing association relation among the information sequences, the identification information and the application information of the virtual reality applications, and constructing a data center for storing the information sequences.
8. The apparatus of claim 5, the candidate virtual reality device comprising: cloud virtual reality devices or local virtual reality devices.
9. An electronic device, comprising:
At least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
10. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-4.
CN202111615175.XA 2021-12-27 2021-12-27 Video playing method and device Active CN114071111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111615175.XA CN114071111B (en) 2021-12-27 2021-12-27 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111615175.XA CN114071111B (en) 2021-12-27 2021-12-27 Video playing method and device

Publications (2)

Publication Number Publication Date
CN114071111A CN114071111A (en) 2022-02-18
CN114071111B true CN114071111B (en) 2023-08-15

Family

ID=80230357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111615175.XA Active CN114071111B (en) 2021-12-27 2021-12-27 Video playing method and device

Country Status (1)

Country Link
CN (1) CN114071111B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844194A (en) * 2017-10-12 2018-03-27 深圳市末本科技有限公司 Training Methodology, device and computer-readable recording medium based on VR technologies
CN108654088A (en) * 2018-04-13 2018-10-16 腾讯科技(深圳)有限公司 program debugging method and device, storage medium and electronic device
JP2018200675A (en) * 2018-02-01 2018-12-20 株式会社ドワンゴ Data generating apparatus and application executing apparatus
CN109257339A (en) * 2018-08-29 2019-01-22 长春博立电子科技有限公司 The high efficiency interactive method and system of remote dummy reality simulated environment
JP2019141585A (en) * 2018-02-19 2019-08-29 株式会社コナミデジタルエンタテインメント Game system, game terminal, and program
CN110347258A (en) * 2019-07-09 2019-10-18 北京猫眼视觉科技有限公司 A kind of user's operation trace record back method for virtual reality training and examination
CN111028598A (en) * 2019-12-18 2020-04-17 佛山科学技术学院 Virtual experiment guidance method and system based on operation behavior information
CN111131735A (en) * 2019-12-31 2020-05-08 歌尔股份有限公司 Video recording method, video playing method, video recording device, video playing device and computer storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020144332A (en) * 2019-03-08 2020-09-10 トヨタ自動車株式会社 Virtual reality system and virtual reality method
CN111314724B (en) * 2020-02-18 2022-03-25 华为技术有限公司 Cloud game live broadcasting method and device
CN113518247B (en) * 2021-05-27 2023-06-02 北京奇艺世纪科技有限公司 Video playing method, related equipment and computer readable storage medium
CN114679608B (en) * 2022-04-11 2023-08-25 武汉博晟安全技术股份有限公司 VR video encryption playing method, server, user, system, electronic device and medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844194A (en) * 2017-10-12 2018-03-27 深圳市末本科技有限公司 Training Methodology, device and computer-readable recording medium based on VR technologies
JP2018200675A (en) * 2018-02-01 2018-12-20 株式会社ドワンゴ Data generating apparatus and application executing apparatus
JP2019141585A (en) * 2018-02-19 2019-08-29 株式会社コナミデジタルエンタテインメント Game system, game terminal, and program
CN108654088A (en) * 2018-04-13 2018-10-16 腾讯科技(深圳)有限公司 program debugging method and device, storage medium and electronic device
CN109257339A (en) * 2018-08-29 2019-01-22 长春博立电子科技有限公司 The high efficiency interactive method and system of remote dummy reality simulated environment
CN110347258A (en) * 2019-07-09 2019-10-18 北京猫眼视觉科技有限公司 A kind of user's operation trace record back method for virtual reality training and examination
CN111028598A (en) * 2019-12-18 2020-04-17 佛山科学技术学院 Virtual experiment guidance method and system based on operation behavior information
CN111131735A (en) * 2019-12-31 2020-05-08 歌尔股份有限公司 Video recording method, video playing method, video recording device, video playing device and computer storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于流媒体技术的网络学习系统的研究与实践;汤晓军;信息技术与信息化;全文 *

Also Published As

Publication number Publication date
CN114071111A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN111860167B (en) Face fusion model acquisition method, face fusion model acquisition device and storage medium
EP4160440A1 (en) Federated computing processing method and apparatus, electronic device, and storage medium
US20170192734A1 (en) Multi-interface unified displaying system and method based on virtual reality
CN111582375A (en) Data enhancement strategy searching method, device, equipment and storage medium
CN112527115B (en) User image generation method, related device and computer program product
CN112102448B (en) Virtual object image display method, device, electronic equipment and storage medium
CN113407850B (en) Method and device for determining and acquiring virtual image and electronic equipment
CN114157701B (en) Task testing method, device, equipment and storage medium
US20220076476A1 (en) Method for generating user avatar, related apparatus and computer program product
CN115482325B (en) Picture rendering method, device, system, equipment and medium
EP4092636A2 (en) Method and apparatus of generating virtual idol, and electronic device
CN111338808B (en) Collaborative computing method and system
CN114792355B (en) Virtual image generation method and device, electronic equipment and storage medium
CN112994980B (en) Time delay test method, device, electronic equipment and storage medium
CN111669647B (en) Real-time video processing method, device and equipment and storage medium
CN106953933B (en) A kind of information push method and device, electronic equipment
CN113766504A (en) Communication connection method, device, server, terminal device, system and medium
CN114071111B (en) Video playing method and device
CN111767990A (en) Neural network processing method and device
CN111177479A (en) Method and device for acquiring feature vectors of nodes in relational network graph
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
CN113327311B (en) Virtual character-based display method, device, equipment and storage medium
CN113792883B (en) Model training method, device, equipment and medium based on federal learning
KR20230029502A (en) Edge computing network, data transmission method, device, electronic equipment and storage medium
CN111767989A (en) Neural network training method and device

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