WO2022267640A1 - Video sharing method, and electronic device and storage medium - Google Patents

Video sharing method, and electronic device and storage medium Download PDF

Info

Publication number
WO2022267640A1
WO2022267640A1 PCT/CN2022/086789 CN2022086789W WO2022267640A1 WO 2022267640 A1 WO2022267640 A1 WO 2022267640A1 CN 2022086789 W CN2022086789 W CN 2022086789W WO 2022267640 A1 WO2022267640 A1 WO 2022267640A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
electronic device
user
playing
progress
Prior art date
Application number
PCT/CN2022/086789
Other languages
French (fr)
Chinese (zh)
Inventor
杨婉艺
胡凯
张丽
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022267640A1 publication Critical patent/WO2022267640A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server

Definitions

  • the present invention relates to the technical field of intelligent terminals, in particular to a video sharing method, electronic equipment and a storage medium.
  • the chat application 101 shown in FIG. 102 referring to the chat application 101 shown in FIG. 102.
  • the group chat interface 103 shown in FIG. 1B the group name of the chat group 102 is "Chasing dramas together ⁇ communication group”
  • the embodiment of the present application provides a video sharing method, an electronic device and a storage medium, sharing video access information that can be opened and played through a message application to realize video sharing on a group chat interface or on multiple one-to-one chat interfaces at the same time , and the video access information can support playing videos on multiple devices, which is beneficial for users to switch playback devices at will; this application also adds viewing angle switching functions and progress switching functions in the video playback interface, which is convenient for users to switch to other users' viewing angles or Switch to other users’ viewing progress and watch highlights together to increase the fun of sharing when watching videos together; this application also associates the bullet chat comment messages displayed on the video playback interface with the playback progress to mark the corresponding playback progress when users post comments , so that it is convenient for the user to click on the barrage to select and jump to the highlight segment corresponding to the playback progress of the barrage comment, which is conducive to increasing the atmosphere of group chat and sharing fun, and improving the interactive experience of users watching videos together.
  • barrage Comments can also be shared in the messaging app in the form of conversational messages, which is convenient for other members of the chat group on the messaging app or contacts in the messaging app to quickly open the video and jump to the corresponding video by clicking on the chatting message. Watch the wonderful moments of the video at the playback progress; in addition, this application also adds an audio and video call function on the video playback interface, and the user can directly initiate a video call to other members of the chat group or contacts in the address book on the video playback interface through this function Or voice calls, which is convenient for group chat members who watch videos together to communicate with each other.
  • an embodiment of the present application provides a video sharing method, which is applied to a first electronic device installed with a first application and a second electronic device.
  • the device sends the video access information of the video, wherein the video access information is used to access and play the video; the second electronic device plays the video in response to the user's play operation on the video access information; the second electronic device shares and plays the video to the first electronic device Generated video playback data; wherein, the video playback data includes data for marking the playback status and playback progress of the video; the first electronic device obtains the video playback data, and obtains the status of the second electronic device playback video according to the video playback data.
  • the first electronic device shares with the second electronic device the video access information that can open the video for playback; when the second electronic device clicks the video access information to open the video for playback, it can synchronously share and play the video with the first electronic device Generated video playback data; the first electronic device can obtain the status of playing the video on the second electronic device according to the video playback data shared by the second electronic device, such as the progress of playing the video on the second electronic device, the video played
  • the content or the pause and fast-forward status of playing the video on the second electronic device are not limited here.
  • the above video access information may be the service card described in the following embodiments.
  • the video access information may also correspond to a small program on the first application for providing video playback function, which is not described here. Do limit.
  • the first electronic device obtains the status of the video played by the second electronic device according to the video playback data, including at least one of the following presentation methods: Playing the video on the interface of the first electronic device , display the progress of the second electronic device playing the video; in the interface where the first electronic device plays the video, jump to the progress corresponding to the video playback data; on the interface where the first electronic device plays the video, display the progress of the second electronic device Play the content of the video.
  • the status of the second electronic device playing the video obtained by the first electronic device from the video playback data can be displayed in various presentation methods, for example, it can be displayed on the interface where the first electronic device plays the video that the second electronic device is playing the video
  • the progress of the second electronic device playing the video is displayed on the progress bar of the playback interface.
  • the interface where the first electronic device plays the video can display multiple second electronic devices playing the video. The progress is not limited here. In this way, the user can keep track of the progress of other people watching the video (for example, watching a movie) while watching the video.
  • the above-mentioned presentation method can also be based on the user's operation instruction on the video playback interface of the first electronic device (that is, the video playback window described in the following embodiments), for example, clicking the button displayed on the progress bar.
  • the icon of the second electronic device jumps to the operation instruction corresponding to the progress of the second electronic device playing the video, and jumps to the progress of the second electronic device playing the video on the interface where the first electronic device plays the video to continue playing the video .
  • the above presentation method can also be based on the user's operation instruction on the video playback interface of the first electronic device, for example, clicking the icon of the second electronic device displayed on the progress bar to switch to the second electronic device to play the video.
  • the operation instruction corresponding to the interface of the video displays the content of the video played by the second electronic device on the interface played by the first electronic device. It can be understood that the method of displaying the content of the video played by the second electronic device may be Replace the content displayed on the interface where the first electronic device plays the video with the content that the second electronic device plays the video for display; it is also possible to divide a part of the display area on the interface where the first electronic device plays the video to display the second electronic device.
  • the device plays the content of the video, which is commonly known as the form of picture-in-picture;
  • the content is not limited here.
  • the above display of the content of the video played by the second electronic device may also include displaying the progress of the video, but the progress of the video played by the first electronic device and the progress of the video played by the second electronic video are independent of each other, and the user of the first electronic device It is possible to close the content of the video played by the second electronic device displayed on the interface where the first electronic device plays the video, and continue to watch the video at the same pace as the first electronic device plays the video.
  • the user using the first electronic device can switch the viewing angle to the viewing angle of the user using the second electronic device to watch the video.
  • the user using the first electronic device can switch the viewing angle to the viewing angle of the user using the second electronic device to watch the video.
  • multiple users can enjoy the experience of being able to watch the video together even though they are in different places, which is beneficial for multiple users to share wonderful pictures or highlights when watching the video, and improve the viewing experience of the users.
  • the video access information includes a link for accessing and playing the video, and multimedia content related to the video; and the first application is a messaging application, and the first electronic device sends a message to the The second electronic device sends a message including video access information.
  • the first electronic device shares video access information with the second electronic device through the message application
  • the video access information presented in the message application can display multimedia content such as text introductions and pictures related to the video
  • the video access information can be passed through the session message (ie The above message) is sent to the second electronic device through the message application.
  • the first electronic device (such as a mobile phone) sends the video access information of the TV series "Splendid Nange" to the second electronic device (such as a mobile phone) through an instant messaging application such as the Changlian application
  • the video access information presented in the Changlian application can be Including "Splendid Nange” plot introduction, score, introduction of main actors and still photos and other multimedia content.
  • the Changlian application can be Including "Splendid Nange" plot introduction, score, introduction of main actors and still photos and other multimedia content.
  • the first electronic device sends the video access information of the video to the second electronic device via the first application, including: the first electronic device sends the video access information to the second electronic device via the conversation interface of the message application Send video access information; wherein the session interface includes a first user ID and a second user ID, the first user ID is used to identify the first user who operates the first electronic device, and the second user ID is used to identify the second user who operates the second electronic device Second user.
  • the first electronic device can send the video access information to the conversation interface of the message application, such as the group chat interface in the message application, so that each member of the chat group corresponding to the group chat interface can click the above video access message to open Watch the video together.
  • the conversation interface may also be a one-to-one chat interface in a message application, that is, the user of the first electronic device may send the above-mentioned video interview on the one-to-one chat interface with the user of the second electronic device Information, it can be understood that the user of the first electronic device can also choose to select multiple friends in the address book of the message application (for example, friends in the Changlian address book), and send messages to multiple people through multiple one-to-one chat interfaces at the same time. Video access information above. In this way, it is convenient for users to share videos to multiple people at the same time.
  • the first electronic device obtains the status of the video played by the second electronic device according to the video playback data, including: displaying the video played by the second electronic device on the interface where the first electronic device plays the video.
  • the icon of the second electronic device displayed on the progress bar of the video playback interface of the first electronic device may be the second user ID
  • the second user ID is, for example, the user name registered on an instant messaging application such as Changlian application
  • logos such as avatars, for example, the nicknames and avatars of Changlian friends can be displayed above the corresponding progress of the progress bar of the video playback interface of the first electronic device.
  • the video access information includes a card for accessing the video, and the card includes multimedia content related to the video and a link for accessing the video.
  • the card includes a first option and a second option, wherein the first option is used to trigger the playback of the video; the second option is used to trigger the playback of the video through a third electronic device that works in cooperation with the second electronic device; the first electronic device Acquiring the state of playing the video by the second electronic device according to the video playing data, further comprising: displaying a progress of playing the video by the third electronic device on an interface where the first electronic device plays the video, and A device icon of the third electronic device.
  • the second electronic device plays the video in response to the user's play operation on the video access information, including: the second electronic device responds to the user's operation of clicking the first option of the card, triggering the playback of the video; or the second electronic device responds to the user's click
  • the operation of the second option on the card triggers the video to be played on the third electronic device.
  • the card included in the above video access information is, for example, the conversation message that presents video-related content obtained by "@servicecard” described in the following embodiments.
  • the user can click the play button (that is, the first option of the above-mentioned card) on the conversation message to directly open the video in the message application (such as Changlian application) and play it.
  • the user can also click the smart screen play button (that is, the second option of the above-mentioned card) on the conversation message to play the video on the smart screen coordinated with the mobile phone.
  • the user can select a device to play videos from multiple devices that are currently interconnected or coordinated based on the scene, which is beneficial to improve the user's viewing experience.
  • the second electronic device displayed on the video playback interface of the first electronic device plays The progress is the progress of playing the video on the third electronic device, and the device icon of the third electronic device currently playing the video may also be displayed at the corresponding progress, such as the device icon 516b shown in FIG. 7 below.
  • the second electronic device shares the video playback data generated by playing the video with the first electronic device, including: the second electronic device uploads the video playback data to the first electronic device and The server to which the second electronic device is communicatively connected; the first electronic device acquires video playback data from the server.
  • the server is a server for running the first application.
  • the video playback data is synchronized between the first electronic device and the second electronic device through the server, and the first application on the first electronic device and the first application on the second electronic device are both run through the server.
  • the user logged in on the first application of the first electronic device and the user logged in on the first application of the second electronic device are mutual friends, or are members of the same chat group.
  • the user A using the mobile phone 201-1 and the user B using the mobile phone 201-2 described in the following embodiments are mutual friends of Changlian, or both are members of the Changlian chat group "Happy Family".
  • the video playback data includes comment messages edited and published by the user on the interface where the second electronic device plays the video, and the comment messages are associated with the playback progress of the video; where the comment messages can be Displayed together with the corresponding playback progress information on the video playback interface; the comment message is at least used to trigger a jump to the corresponding playback progress.
  • the interface of the first electronic device to play the video can display the comment message released by the user through the second electronic device, also known as the barrage, the comment message is displayed in association with the corresponding video playback progress, and the user using the first electronic device can click on the video
  • the bullet chat selection on the playback interface jumps to the playback progress corresponding to the bullet chat comment.
  • users of other devices watching the video together can click the barrage selection on the video playback interface to jump to the corresponding playback progress, which is not limited here.
  • user A using mobile phone 201-1 can click on the interface of playing the video on mobile phone 201-1 to click on the barrage comment issued by user B through mobile phone 201-2, and choose to jump to the barrage comment The corresponding playback progress.
  • the users can arbitrarily switch to the corresponding highlights to watch the video according to the barrage content, which is beneficial to improve the user's viewing experience.
  • the corresponding playback progress corresponds to the release time of the comment message; or the corresponding playback progress information indicates the moment when the comment message starts to be edited, or the corresponding playback progress information indicates that the comment message has been edited. the moment of issue.
  • the playback progress corresponding to the barrage comment displayed on the video playback interface may be the playback progress corresponding to the moment when user A clicks the comment button on the video playback interface to call out the input method and start editing the comment message , may also be the playback progress corresponding to the moment when user A clicks the send button after editing the comment message in the interface for posting comments displayed on the video playback interface (refer to the message sending interface shown in Figure 12 below), here No restrictions.
  • the comment message can be shared to other electronic devices via the first application as a conversation message, and the conversation message is at least used to trigger playing the video and jump to the corresponding playback progress.
  • the comment message published by the user on the video playback interface can be converted into a conversation message (that is, the message in the above-mentioned message application) when sent by the message application, and the conversation message converted from the above-mentioned comment message can also be used as a message for sharing the video.
  • the device user can start video playback by clicking the conversation message converted from the comment message displayed on the conversation interface, and can jump to the playback progress corresponding to the comment message.
  • each member in the chat group can directly open the video through the conversation message on the group chat interface and jump to the corresponding highlights, so that it is convenient for members in the chat group to join in to watch the video together and to share their viewing experience.
  • the above-mentioned method further includes: during the process of playing the video, the second electronic device initiates an audio-video call with the first electronic device; , to display the audio and video call interface.
  • the user of the first electronic device and the user of the second electronic device can conduct audio and video calls through the video playback interface.
  • user B can click the audio and video call button in the video playback window to initiate an audio and video call with any number of members such as user A in the chat group, for example, user B and user A are conducting an audio and video call
  • user B clicks the avatar of user A on the progress bar in the video playback window and selects to switch to the perspective of user A then user B can see user A on the video playback window of mobile phone 201-1 after switching The conversation interface with user B.
  • user A is in a video call with another user C who is watching video together in the chat group
  • user B switches to user A's perspective
  • he can also view the video in the video playback window of mobile phone 201-1. See the call interface between user A and user C.
  • the other party's device can request the other party's device in the form of a pop-up window
  • the user's authorized party can realize the display of the audio and video call interface on the other party's device.
  • the embodiment of the present application provides a video sharing method, which is applied to the first electronic device, and the method includes: sending the video access information of the video by the first application, wherein the video access information is used to access and play the video; Obtain video playback data, and acquire the state of playing video by the second electronic device according to the video playback data; wherein, the video playback data is data used to mark the playback status and playback progress of the video generated by the second electronic device playing the video.
  • the acquisition of the status of the video played by the second electronic device according to the video playback data includes at least one of the following presentation methods: In the interface for playing the video, displaying the video played by the second electronic device The progress of the video; in the video playing interface, jump to the progress corresponding to the video playing data; on the video playing interface, display the content of the video played by the second electronic device.
  • the first application is a messaging application
  • sending video access information via the first application includes: sending video access information via a session interface of the messaging application; wherein the session interface includes the first user ID, the second user ID, the first user ID is used to identify the first user who operates the first electronic device, and the second user ID is used to identify the second user who operates the second electronic device.
  • acquiring the status of the video played by the second electronic device according to the video playback data includes: displaying the progress of the video played by the second electronic device and the second user ID in the interface for playing the video ; Wherein, the second user ID is used to jump to the progress corresponding to the video playback data, or to display the content of the video played by the second electronic device.
  • acquiring the video playback data includes: the first electronic device acquires the video playback data from a server; where the server is a server configured to run the first application.
  • the video playback data includes comment messages edited and published by the user on the playback interface of the second electronic device to play the video, and the comment messages are associated with the playback progress of the video; wherein, the comment messages Together with the corresponding playback progress, it can be displayed on the video playback interface of the first electronic device, and the comment message is at least used to trigger a jump to the corresponding playback progress.
  • the first electronic device can obtain the comment message shared to the first application as a conversation message, and the conversation message is at least used to trigger playing the video and jump to the corresponding playback progress.
  • the embodiment of the present application provides a video sharing method, which is applied to the second electronic device, and the method includes: playing the video in response to the user's play operation on the video access information of the video; wherein, the video access information is the first The information sent by an electronic device through the first application, the video access information is used to access and play the video; the video playback data generated by sharing and playing the video; wherein, the video playback data is used for the first electronic device to obtain the second electronic device to play the video The status of the video, the video playback data includes data used to mark the playback status and playback progress of the video.
  • the video access information includes a link for accessing and playing the video, and multimedia content related to the video.
  • the video access information includes a card for accessing the video, the card includes multimedia content related to the video and a link for accessing the video; and the card includes the first option and the second option , wherein, the first option is used to trigger the playback of the video; the second option is used to trigger the playback of the video by a third electronic device that works in cooperation with the second electronic device; the first electronic device obtains the The state of the second electronic device playing the video further includes: displaying the progress of the third electronic device playing the video and the device icon of the third electronic device in the interface where the first electronic device plays the video .
  • playing the video in response to the user's play operation on the video access information of the video includes: triggering the play of the video in response to the user's click on the first option of the card; or responding to When the user clicks on the second option of the card, the video is triggered to be played on the third electronic device.
  • sharing the video playback data generated by playing the video includes: uploading the video playback data to the server, and sharing the video playback data through the server; wherein, the server and the first electronic device, the second The two electronic devices are connected in communication, and the server is used to run the first application.
  • the video playback data includes comment messages edited and released by the user on the video playback interface, and the comment messages are associated with the playback progress of the video; It will be displayed together with the corresponding playback progress on the interface.
  • the comment message can be shared to the first application as a session message, and the session message is at least used to trigger playing the video and jump to the corresponding playback progress.
  • the embodiment of the present application provides an electronic device, the electronic device includes: one or more processors; one or more memories; one or more memories store one or more programs, when one or more When a program is executed by one or more processors, the electronic device executes the above video sharing method.
  • the embodiment of the present application provides a computer-readable storage medium, where instructions are stored on the storage medium, and when the instructions are executed on a computer, the computer executes the above video sharing method.
  • the embodiment of the present application provides a computer program product, including a computer program/instruction, and when the computer program/instruction is executed by a processor, the above video sharing method is implemented.
  • 1A to 1E are schematic diagrams of UI interfaces for watching videos together in a group chat provided by the prior art.
  • FIG. 2 is a schematic diagram of components of a communication system provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of the software architecture of the communication system shown in FIG. 2 above.
  • FIG. 4 is a schematic diagram of a specific implementation flow of the video sharing method provided by Embodiment 1 of the present application.
  • 5A to 5D are schematic diagrams of mobile phone interfaces during the implementation of the video sharing method provided by Embodiment 1 of the present application.
  • 6A to 6B are schematic diagrams of mobile phone interfaces during the implementation of the video sharing method provided by Embodiment 1 of the present application.
  • Fig. 6C is a small enlarged schematic view of the device in Figs. 6A and 6B.
  • FIG. 7 is a schematic diagram of an interface of a video playing window during the implementation of the video sharing method provided by Embodiment 1 of the present application.
  • FIG. 8 is a schematic diagram of a specific implementation flow of the video sharing method provided in Embodiment 2 of the present application.
  • FIG. 9 is a schematic diagram of the interface of the video playback window provided by Embodiment 2 of the present application.
  • FIGS. 10A to 10C are schematic diagrams of video playback window interfaces corresponding to a user initiating an audio and video call provided in Embodiment 2 of the present application.
  • FIG. 11 is a schematic diagram of a specific implementation flow of the video sharing method provided by Embodiment 3 of the present application.
  • FIG. 12 is a schematic diagram of a video playback window interface provided by Embodiment 3 of the present application.
  • FIGS. 13A to 13B are schematic diagrams of the corresponding video playback window interfaces before and after the user clicks on the barrage comment to jump to the corresponding playback progress provided by Embodiment 3 of the present application.
  • FIG. 14 is a schematic diagram of a specific implementation flow of the video sharing method provided by Embodiment 4 of the present application.
  • FIG. 15 is a schematic diagram of the interface of the video playback window provided by Embodiment 4 of the present application.
  • FIG. 16 is a schematic diagram of the interface after the user checks the synchronization to the group chat to post a comment in Embodiment 4 of the present application and jumps to the group chat interface.
  • FIG. 17 is a schematic diagram of an interface of a video playback window of an embodiment of the video sharing method provided by Embodiment 2 of the present application and the video sharing method provided by Embodiment 4 in the same application scenario.
  • FIG. 18 is a schematic diagram of another interface of the video playing window of the embodiment of the video sharing method provided by Embodiment 2 of the present application and the video sharing method provided by Embodiment 4 in the same application scenario.
  • FIG. 19 is a schematic structural diagram of a mobile phone 100 provided by an embodiment of the present application.
  • FIG. 20 is a block diagram of a software structure of a mobile phone 100 provided by an embodiment of the present application.
  • this application provides a video sharing method, which improves the service for users to watch videos together in group chats by providing the following functional solutions experience:
  • the method provided by the present application realizes video sharing on a group chat interface or on multiple one-to-one chat interfaces at the same time by sharing video access information on a session interface in a message application (such as an instant messaging application), such as Enter "@servicecard+search keyword" in the chat input box of the conversation interface to share video access information corresponding to the search keyword.
  • the video access information includes text introduction, multimedia data such as pictures, and playback links, etc. It is convenient for users to initiate an invitation to watch videos together in the group chat, and users can also choose to play the video on the current group chat device or play the video on the smart screen in the content recommended by the service card, which supports users to watch on other devices video;
  • the method provided by this application adds the viewing angle switching function and progress switching function through the video playback interface watched by multiple users, so that users can switch to other users' viewing angles or switch to other users' viewing progress to watch highlights together, increasing Sharing fun while watching videos together, and each user watching videos together can control their own viewing progress, and it will not affect users to continue watching videos if others quit watching videos together;
  • the method provided by this application by associating the bullet chat comment message displayed on the video playback interface with the corresponding playback progress, to mark the corresponding playback progress when the user posts a comment, so that it is convenient for the user to click on the bullet screen to choose to jump To the highlight segment corresponding to the playback progress of the bullet chat comment, and at the same time, the "synchronization" function option is added to the bullet chat displayed above.
  • users post comments they can choose to synchronize the comment to the group chat, so that the group chat Members who have not yet watched the video together can click the comment to open the corresponding progress in the corresponding video, and watch the highlights corresponding to the comment together, or users can also click the program label below the comment to open the program video corresponding to the comment Start watching, which is conducive to increasing the atmosphere of group chats and sharing fun, and improving user experience;
  • the user can initiate a video call or voice call to other members through this button, which is convenient for group chat members who watch videos together to communicate with each other. communicate with.
  • the video sharing method provided in this application can be applied to the instant messaging system 200 shown in FIG. 2 .
  • the instant messaging system 200 may include electronic devices 201-1, 201-2, ..., 202-N (N is an integer greater than 1), wherein the above N electronic devices can be connected through a communication network 202 interconnection.
  • the above communication network 202 may be a wired network or a wireless network.
  • the aforementioned communication network 202 may be a local area network (local area networks, LAN), or a wide area network (wide area networks, WAN), such as the Internet.
  • the above-mentioned communication network can be realized using any known network communication protocol, and the above-mentioned network communication protocol can be various wired or wireless communication protocols, such as Ethernet, universal serial bus (universal serial bus, USB), fire wire (FIREWIRE), Global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access, WCDMA), time-division code division multiple access (TDSCDMA), long term evolution (long term evolution, LTE), Bluetooth, wireless fidelity (wireless fidelity, WiFi), NFC, Internet protocol-based Voice over Internet protocol (VoIP), a communication protocol supporting network slicing architecture, or any other suitable communication protocol.
  • Ethernet universal serial bus
  • USB fire wire
  • FIREWIRE Global system for mobile communications
  • GSM Global system for mobile communications
  • GPRS general packet radio service
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • TDSCDMA time-division code division multiple access
  • LTE long term evolution
  • each electronic device in the communication system 200 can be connected to each other through one or more servers after logging in their respective accounts (such as Huawei accounts), and the servers can also be realized through the cloud.
  • a Wi-Fi connection may also be established between various electronic devices in the communication system 200 through a Wi-Fi protocol, which is not limited here.
  • the aforementioned electronic devices may include, but are not limited to, mobile phones, smart screens, desktop computers, tablet computers, laptop computers, wearable devices, head-mounted displays, mobile email devices, portable game consoles, portable music players, Electronic devices such as reader devices, personal digital assistants, virtual reality or augmented reality devices, and televisions embedded with or coupled to one or more processors are not limited here.
  • FIG. 3 shows a schematic diagram of the software architecture of the communication system shown in FIG. 2 above.
  • the operating system of the mobile phone 201-1 includes a video playback module 2011a, a message display module 2012a, an audio and video call module 2013a, a message sending module 2014a and a session management module 2015a
  • the operating system of the mobile phone 201-2 includes Video playback module 2011b, message display module 2012b, audio and video call module 2013b, message sending module 2014b and session management module 2015b
  • mobile phones 201-1, 201-2 are interconnected by server 202
  • the service system of server 202 includes data Synchronization module 2021 , video service module 2022 and group and message management module 2023 .
  • the video playback module 2011a on the mobile phone 201-1 or the video playback module 2011b on the mobile phone 201-2 obtain video content from the video service module 2022 on the server 202 to play, and upload the playback status and progress to the data synchronization module 2021, and the video playback Module 2011a synchronizes playback status and progress through the data synchronization module 2021 of the server 202 and the video playback module 2011b;
  • the session management module 2015a on the mobile phone 201-1 passes the group on the server 202 and the message management module 2023 and the mobile phone 201-1
  • the session management module 2015b on 2 synchronizes group members and session messages.
  • the video playback module 2011a sends an instruction to initiate a call to the audio and video call module 2013a after detecting that the user initiates a call on the video playback interface, and the audio and video call module 2013a receives or sends the call through the session management module 2015a Call information;
  • the video playback module 2011a sends a message and/or comment content and an instruction to the message sending module 2014a after detecting the operation of the user sending information and/or comments, and the message sending module 2014a passes the message and/or comment content through session management
  • the module 2015a sends information and/or comments in the form of a conversation message, and the conversation management module 2015a displays the received message through the message display module 2012a, and the comments issued by the user can be sent to the video playback module 2013a through the message display module 2012a for synchronous display, if the user When a message or comment is clicked to open the video and the corresponding playback progress, the message display module 2012a can send a video playback instruction to the video playback module 2011a, and the
  • the information transmission and module interaction process between the video playback module 2011b, the session management module 2015b, the audio and video call module 2013b, the message sending module 2014b and the message display module 2012b and each module in the above-mentioned mobile phone 201-1 The information transmission and interaction process among them are the same, and will not be repeated here.
  • each module on the mobile phone 201-1 or the mobile phone 201-2 can be summarized as follows:
  • the video playing module 2011a or 2011b is used for obtaining corresponding video content from the video service module 2022 of the server 202, playing the video content to the user and managing the playing state, playing progress, etc., and uploading and playing to the data synchronization module 2021 of the server 202 simultaneously status and progress, etc.;
  • the message display module 2012a or 2012b is used to display the chat information sent by the user, the video-related information shared, and the comment message issued by the user when watching the video, etc.;
  • the audio and video call module 2013a or 2013b is used for processing related messages in the audio and video call process, triggering events and related processes of the audio and video call, etc.;
  • the message sending module 2014a or 2014b is used to send the chat information edited and input by the user, the video selected to be shared, and the comment message input by the editor, etc.;
  • the session management module 2015a or 2015b is used for managing and synchronously updating information such as the member list of the chat group, and managing chat group session messages and session messages between contacts.
  • the data synchronization module 2021 receives the video playback status and progress uploaded by playback devices such as the mobile phone 201-1 and the mobile phone 201-2, and performs data synchronization between each device; the video service module 2022 can respond to the mobile phone 201-1 , mobile phone 201-2 and other playback devices such as video query and playback requests, return video-related data content to each device for each device to play, for query/acquire video information requests, the video service module 2022 sends relevant video information through the group
  • the group and message management module 2023 sends to each device in the form of a session message; the group and message management module 2023 manages and synchronizes group members with the session management modules on devices such as the mobile phone 201-1 and the mobile phone 201-2, and Manage and synchronize conversation messages.
  • the data synchronization module 2021 is used to synchronize the video playback information of some or all members in the chat group to play the video through the video access information in the chat group, including the playback status and playback progress of the corresponding video;
  • the video service module 2022 is used to provide video-related information query services and provide related data services such as video playback content;
  • the group and message management module 2023 is used to manage the addition and deletion of members in the chat group, as well as manage the saving, sending and receiving, and synchronization of instant messages in the chat group.
  • the above-mentioned video playback module, message display module, audio and video call module, message sending module and session management module can be set in the application layer of the operating system of the mobile phone 201-1, 201-2, for example, the mobile phone 201-1, 201
  • the instant messaging application configured or installed on -2 includes the above modules.
  • the operating system of the mobile phones 201-1 and 201-2 is the Hongmeng operating system (Homney OS), and the above-mentioned video playback module, message display module, audio and video call module, message sending module and session management module can be Set as the atomic function module of the framework layer, which is called by each application program of the application layer, for example, the smooth connection application and the video application on the mobile phone 201-1, 201-2 can call the above-mentioned modules to realize the video sharing of this application
  • the effect that the method can achieve is not limited here.
  • the instant messaging application installed on the mobile phones 201-1 and 201-2 is used as an example to illustrate this application solution.
  • the account of user A is logged in on the mobile phone 201-1
  • User B's account is logged in
  • user A and user B are members of the same chat group.
  • the embodiment of the present application introduces the implementation process of the video sharing method provided in the present application in detail based on the scene where users share video information in a group chat.
  • FIG. 4 shows the specific implementation process of the video sharing method provided by the embodiment of the present application. Include the following steps:
  • the mobile phone 201-2 detects that user B searches for video information in a chat group.
  • user B enters a command to call out a video service card according to a predetermined format in the chat group displayed on the mobile phone 201-2, and searches for keywords, and searches for video information corresponding to the keywords.
  • user B can click the Changlian application icon 501b in the desktop application icon of the mobile phone 201-2 shown in Fig. 5A to open the Changlian interface 502b shown in Fig. 5B, as shown in Fig.
  • the recent contact list displayed on the interface 502b includes a chat group 503b, for example, the name of the chat group 503b is "Happy Family"; user B clicks on the chat group 503b on the Changlian interface 502b, and can open the chat group 503b shown in Figure 5C
  • user B can edit and input "@video service card and query keywords" in the chat box 5041b, for example, query related video information in the format of "@ ⁇ ", among which, " My Smart Screen is a device-type service card that supports Changlian app sharing, which can be saved in the form of Changlian app "contacts" for users to call.
  • the smart screen device can be saved as a "contact” in the Changlian application running on the mobile phone 201-1, and the user can also customize the contact name for the smart screen device , for example defined as “my smart screen” or “XXX's smart screen”, etc., without limitation here.
  • the user enters "@ ⁇ " on the group chat interface 504b to wake up the video playback service provided by "My Smart Screen”; After the video playback service corresponding to "My Smart Screen", search for the video content named “Splendid Nange” to query the relevant program content, generate video access information and share it to the group chat interface 504b.
  • the user can also input "@ ⁇ currently playing” to share the video access information related to the video currently playing on the smart screen device to the group chat interface 504b.
  • the presentation form of the video access information can be Referring to the conversation message 510b shown in FIG. 5C , the interface shown in FIG. 5C will be described in detail below and will not be repeated here.
  • Members in the chat group 503b can click on the video to access the information and choose to play it directly on the mobile phone running the Changlian application, or choose to play it on a smart screen device connected to the mobile phone, and there is no limitation here.
  • any group member in the above chat group 503b can input and send @video service card and the query keyword of the video to be shared in the chat box of the group chat interface to query the video-related information corresponding to the query keyword .
  • the mobile phone 201-2 sends a video information query instruction to the server 202 in response to the user B's operation instruction.
  • the processor of the mobile phone 201-2 processes the "@video service card and query keyword" operation command input by user B on the group chat interface 504b of the Changlian application, it can send the query command to the server 202 through the wireless communication module. .
  • the server 202 queries corresponding video information based on the received query instruction, and stores the queried related video information.
  • the group and message management module 2023 on the server 202 receives a query instruction message corresponding to user B waking up the video service card on the Changlian application and querying the keyword of the program name, for example, user B enters " For the query command message corresponding to @ ⁇ ", the group and message management module 2023 identifies the keyword "Splendid Nange" in the query command message, queries the video service module 2022 and obtains the information corresponding to the above query Related video information of keywords, the video information may include but not limited to video identification, video introduction, video duration, poster and other information.
  • the server 202 sends the queried related video information to the chat group.
  • the group and message management module 2023 on the server 202 sends the acquired video information related to "Splendid Nange" to the corresponding chat group in the Changlian application, and the mobile phone 201 used by user A
  • Both the session management module 2015a on -1 and the session management module 2015b on the mobile phone 201-2 used by user B can receive the video information, that is, the Changlian application running on the mobile phone 201-1 or the mobile phone 201-2 receives the "Splendid View” Related video information of "Nange”.
  • the mobile phones 201-1 and 201-2 convert the video information received in the chat group into conversation messages and display them.
  • the conversation management module 2015a on the mobile phone 201-1 converts the relevant video information received in the chat group into the form of a conversation message, and displays the chat information of the chat group opened in the Changlian application through the message display module 2012a.
  • the conversation management module 2015b on the mobile phone 201-2 converts the relevant video information received in the chat group into the form of a conversation message, and displays the chat of the chat group opened in the Changlian application through the message display module 2012b interface.
  • the conversation message converted by the conversation management module 2015a or 2015b includes the above-mentioned related video information.
  • the chat interface correspondingly opened in the Changlian application opened on the mobile phone 201-2 that is, the group chat interface 504b shown in FIG. Conversational message 510b
  • the program name can be displayed on the conversational message 510b, such as Splendid Nange shown in Figure 5C
  • the conversational message 510b can also display a play button 511b, a smart screen play button 512b, and a chat group 503b that is watching videos together
  • the sharing status bar 513b of the members and the number of people Refer to FIG. 5C for the interface of the mobile phone 201-2 displaying the conversation message including the video information related to "Splendid Nange", and details will not be repeated here.
  • the above-mentioned conversation message 510b may also include multiple programs.
  • the recent popular video information obtained will be sent to the chat group 502b, and the conversation message 510b containing the latest popular video information displayed on the mobile phone 201-2 can include multiple video program titles , such as program name 1, program name 2, program name 3, program name 4, etc. shown in FIG.
  • It can also include the above-mentioned play button 511b corresponding to each program name, and an option button can also be provided under the conversation message 510b, such as the view more button 514b shown in Figure 5D, and the user can click the button 514b to open the More show listings.
  • the instant messaging application with the modules of the mobile phone 201-1 or 201-2 shown in FIG. Step 405 requests and connects the relevant video information obtained from the query of the server 202 and converts it into a conversation message 510b as shown in FIG. 5C or 5D above and displays it on the group chat interface 504b as shown in FIG. repeat.
  • the mobile phone 201-1 detects that user A clicks on a conversation message containing relevant video information in the chat group to play the video.
  • user A can click the play button 511a in the conversation message 510a containing relevant video information in the group chat interface 504a displayed in the Changlian application running on the mobile phone 201-1 to play on the mobile phone 201-1. Play the video directly on -1, refer to operation 1 shown in Figure 6A. Or in some other embodiments, user A can also click the smart screen play button 512a on the group chat interface 504a to play the video on the smart screen, refer to the operation 2 shown in Figure 6A, where the video can be played on the smart screen It can be interconnected with the mobile phone 201-1 of user A through the system shown in FIG. 2 . It can be understood that user A can also know which group members are watching the video content corresponding to the session information 510a by clicking the sharing status bar 513a on the group chat interface 504a.
  • the upper right corner of the group chat interface 504a can also display a video playback widget 515a, and the video playback widget 515a can also display the number of real-time viewers of the video through the sharing status bar 513a below the video playback widget 515a.
  • the group chat interface 504a displays The above-mentioned video playback window 515a can be in the form shown in FIG. 6B.
  • This video playback window 515a shows that "program name 1" has 1 person watching it, "program name 2" has 3 people watching it, and "program name 3” has 3 people watching it. 2 people are watching, and the sharing status bar 513a below the video playback window 515a shows how many people are watching the video together, for example, 6 people are watching the video together. It can be understood that if the group members in the chat group watch more programs, for example, when there are 4 or more programs, the user can also slide to the left on the video playback window 515a (refer to the Operate 3) to view the number of people who are watching other programs together at this time.
  • video playback widget 515a may be a floating window, and in other embodiments, the video playback widget 515a may also be displayed in other positions or in other forms, which is not limited here.
  • the mobile phone 201-1 responds to user A's operation instruction, opens related video information, and plays the video.
  • the video playback module 2011a based on the video identification in the related video information contained in the conversation message 510a, for example, the video identification is the identity of the related video
  • An identification code (identification number, ID) requests corresponding video data from the video service module 2022 in the server 202, and starts playing the corresponding video.
  • the mobile phone 201-1 can call the video playback module on the smart screen based on the interconnection relationship with the smart screen. Request corresponding video data from the video service module 2022 in the server 202, and start playing the corresponding video.
  • a device icon 516 a may be displayed on the avatar of user A, and an enlarged schematic diagram of the device icon 516 a is shown in FIG. 6C .
  • the display device icon 516a may also be displayed in other positions or in other forms, which is not limited here.
  • the mobile phone 201-1 synchronously sends video playback data to the server 202.
  • the video playback data includes video playback status, playback progress and other data.
  • the video playback module 2011a on the mobile phone 201-1 collects the real-time playback data that user A enters to watch the video through the Changlian application running on the mobile phone 201-1, that is, the above-mentioned video playback data including video playback status, playback progress information, etc. , the video playing module 2011a synchronously reports the collected video playing data to the data synchronization module 2021 of the server 202 . It can be understood that the video playback data uploaded by the mobile phone 201-1 can be sent to the data synchronization module 2021 together with the Changlian application data.
  • the server 202 receives and stores the video playback data on the mobile phone 201-1.
  • the video synchronization module 2021 on the server 202 receives and stores the video playback data in the Changlian application data sent by the mobile phone 201-1. It can be understood that the video synchronization module 2021 can also receive synchronization data uploaded by other electronic devices, and store the corresponding data corresponding to instant messaging application data such as Changlian logged in by different users on different devices, and there is no limitation here.
  • the server 202 synchronously sends the stored video playback data on the mobile phone 201-1 to the mobile phone 201-2.
  • the video synchronization module 2021 on the server 202 sends the stored video playback data synchronized from the Changlian application running on the mobile phone 201-1 to the Changlian application running on the mobile phone 201-2 in response to the user request, so as to The video playback data from the mobile phone 201-1 is synchronized between the mobile phone 201-1 and the mobile phone 201-2.
  • the mobile phone 201-1 of the user A can also obtain the video playback data on the mobile phone 201-2,
  • the mobile phone 201-1 of the user A can also obtain the video playback data on the mobile phone 201-2,
  • the data synchronization module 2021 in the server 202 can synchronously send the real-time data of the video played on electronic devices such as mobile phones or smart screens used by each member in the chat group to watch the video together to other members' mobile phones or smart screens and other electronic devices.
  • the mobile phone 201-2 receives and displays the video playback data on the mobile phone 201-1.
  • the video playback module 2011b on the mobile phone 201-2 receives the video playback data from the mobile phone 201-1 synchronously stored by the video synchronization module 2021 on the server 202, and displays it in the Changlian application running on the mobile phone 201-2.
  • Display the video playback data on the video playback window of the video playback window such as displaying information such as the video playback status and video playback progress in the video playback data, wherein the video playback status includes but is not limited to whether the mobile phone 201-1 is playing the above-mentioned related video , and the mobile phone 201-1 is playing the playing, pausing, or fast-forwarding, double-speed playing and other states of the above-mentioned relevant video.
  • the progress bar 702b displays the total video duration 7021 and the duration 7022 that has been played.
  • the group members who watch the video watch the progress position of the video, wherein the played duration 9022 matches the progress position, for example, the progress position B 7023 corresponding to the progress position B 7023 of the local user B shown in Figure 7 shows the played duration 9022 as "00:31:42", the progress position A 7024 of user A watching the video and the progress position C 7205 of user C watching the video.
  • the duration of user A watching the video is shorter, then the progress position A shown in Fig. 7 7024 is to the left of progress position B 7023.
  • a device icon 516b may also be displayed on user B's avatar.
  • the device icon 516b displays a smart screen icon, which is not limited here.
  • the video playback window 701b also includes an exit button 703b and an exit button 704b, wherein user B clicks the exit button 703b to close the video playback window 701b; user B clicks the exit button 704b to continue watching the video, but the video Information such as the playback status and playback progress of other members watching the video together is no longer displayed on the playback window 701b.
  • the video playback window 701b can also display the pause or playback status of other members playing the video, for example, the status bubble 7026 above the progress position C 7025 can display the pause status of the video playback on user C's electronic device, refer to Figure 7 shows.
  • the mobile phone 201-2 may display the video playback data on the mobile phone 201-1 and the electronic devices of other members in other forms, which is not limited here.
  • the mobile phone 201-2 displays the video playback data on the mobile phone 201-1, and also includes the members who are watching the corresponding video displayed in the video playback window 515b on the group chat interface 504b displayed by the mobile phone 201-2, including the mobile phone 201 User A corresponding to -1.
  • the embodiment of the present application introduces the implementation process of the video sharing method of the present application in the video sharing scene in the group chat.
  • the user can quickly and conveniently share the video in the group chat, and chat with the chat group Watch videos with other members of .
  • Another implementation process of the video sharing method of the present application will be introduced below through another application scenario combined with another second embodiment.
  • the embodiment of the present application introduces the implementation process of the video sharing method provided by the present application in detail based on the scene where the user switches to another member's perspective while watching the video together in the group chat, or switches to other members' playback progress to watch the video together.
  • FIG. 8 shows a specific implementation process of the video sharing method provided by the embodiment of the present application. Include the following steps:
  • Steps 801 to 810 are completely the same as steps 401 to 410 described in FIG. 4 in the first embodiment above, and will not be repeated here.
  • step 811 and step 411 in the first embodiment above is that, in step 811 of the embodiment of the present application, when the mobile phone 201-2 receives and displays the video playback data on the mobile phone 201-1, the displayed video playback
  • the interface of the window is different from that shown in FIG. 7 in the first embodiment above.
  • FIG. 9 shows a schematic diagram of a video playback window interface provided by the embodiment of the present application.
  • the progress bar 902b displays the total video duration 9021 and the already played duration 9022, and other video clips are displayed above the progress bar 902b
  • the group members who are watching the video together watch the progress position of the video, wherein the playing duration 9022 matches the progress position, such as the progress position B 9023 of the local user B watching the video shown in Figure 9, and the progress position B 9023 of the user A watching the video.
  • the video playback window 901b also displays an exit button 903b, an exit and watch button 904b, and an audio and video call button 905b, wherein user B can initiate an audio and video call to any member of the chat group 504b by clicking the audio and video call button 905b, understandably , user B can also select multiple members in the chat group 504b to initiate a group voice call or group video call by clicking the audio and video call button 905b.
  • buttons for switching perspectives and progress buttons can be displayed above other members' avatars, and the user can click the avatar of the target object who wants to switch perspectives or progress to pop up the above two buttons.
  • user B clicks on user A's avatar (refer to operation 4 shown in FIG. 9 ), and then user A's avatar will display a switching angle of view button 906b and a switching progress button 907b.
  • the switching angle of view button 906b can be displayed as "Switch to TA Angle of view”
  • the switching progress button 907b may be displayed as "synchronized to TA's progress”.
  • the display form and display content of the switching viewing angle button and switching progress button may also be other, which is not limited here.
  • the progress of user A watching the video is displayed at progress position A on user B’s perspective video playback window 901b.
  • the video playback module 2011b on the mobile phone 201-2 obtains the video playback data on the mobile phone 201-1 based on the data synchronization module 2021 of the server 202, and the Changlian application running on the mobile phone 201-2 can
  • the video playback window from user A's perspective is displayed at this time (refer to 901a shown in Figure 10C below); wherein, the video playback data includes video playback progress and comment barrages issued by all users during video playback and other data, the video playback module 2011b on the mobile phone 201-2 can also acquire the status data of user A's audio and video call, etc., so as to synchronously display the audio and video call window of user A's perspective
  • user A may also be notified through a pop-up window to ask whether user A agrees to switch user B to watch the video from his own viewing angle and whether to authorize user B to switch the viewing angle to obtain the video on the mobile phone 201-1.
  • the status data of the audio and video call, etc., will not be repeated here.
  • the video playback module 2011b on the mobile phone 201-2 jumps to user A to watch the video based on the acquired video playback data of user A. Continue watching the video while the video is in progress.
  • user A and user B can maintain audio and video calls, communicate and interact, discuss highlights in the video, and so on.
  • the mobile phone 201-2 detects that user B initiates an audio and video call.
  • user B clicks the audio and video call button 905b in the video playback window 901b displayed on the Changlian application running on the mobile phone 201-2, selects a call partner, and clicks OK to initiate a voice call or video call.
  • the mobile phone 201-2 displays a list of group members 1001 in the chat group 504b, and user B clicks the check box 1002 behind user A and user C, and clicks the group member list 1001.
  • the OK button 1003 on the upper right of the member list can initiate a voice call or video call to user A and user C.
  • the mobile phone 201-2 initiates a voice call or a video call to the mobile phone 201-1 through the server 202 in response to the user B's operation.
  • the video call module 2011b on the mobile phone 201-2 responds to user B's operation of initiating an audio and video call, and sends an instruction to initiate a call to the audio and video call module 2013b, and the audio and video call module 2013b initiates a voice or video call, and through the conversation
  • the management module 2015b sends or receives call messages
  • the session management module 2015b on the mobile phone 201-2 synchronizes session messages with the session management module 2015a on the mobile phone 201-1 through the group and message management module 2023 on the server 202, so as to realize the
  • the audio and video call between 201-2 and mobile phone 201-1 is the audio and video call between user B and user A.
  • the process of user B initiating an audio and video call to user C is the same as the above process, and will not be repeated here.
  • an audio and video call window 1004 is displayed in the video playback window 901b from the perspective of user B displayed on the mobile phone 201-2.
  • 1004 displays the video window 1005 of user A, the video window 1006 of user C, and the call window 1007 of user B.
  • the picture displayed in the video window 1005 is collected by the camera of user A's mobile phone 201-1 and passed through the server 202.
  • the video window 1006 and the call window 1007 are the image data collected by the camera on the electronic device used by user C and the camera on the mobile phone 201-2 of user B respectively.
  • the video call window 1004 also displays an exit/switch to voice button 1008 , and user B can click the button 1008 to switch the ongoing video call to a voice call or exit the currently ongoing video call.
  • the video window 1005 of user A and the video window 1006 of user C can be displayed as a large window or as a front window, which conforms to the user's calling habits.
  • the audio and video call window 1004 may also be displayed in other forms, which are not limited here.
  • the mobile phone 201-2 detects that user B switches to another person's progress, and switches to user A's playback progress to continue playing the video.
  • user B clicks the avatar of user A in the video playback window 901b displayed on the Changlian application running on the mobile phone 201-2 (refer to the operation 4 shown in FIG. 9 above), and a button to switch viewing angles is displayed above the avatar of user A.
  • the switching progress button 907b clicks the switching progress button 907b (refer to operation 5 shown in FIG. 10B ), and select to switch to user A's playing progress.
  • the video playback module 2011b on the mobile phone 201-2 responds to the operation of user B, based on the video playback data of user A synchronized with the data synchronization module 2021 on the server 202, such as video playback progress and comments issued by all users in the video playback process Barrage and other data, adjust the progress of playing the corresponding video on the current mobile phone 201-2 to the video playback progress synchronized by user A, that is, the progress of playing the corresponding video on the mobile phone 201-2 switched to user B is switched to the playback progress of user A. It can be understood that when user B switches to user A's playback progress, user B's previous video viewing progress is replaced by user A's playback progress, and user B's previous playback progress is cleared.
  • the function of the switching progress button 907b is beneficial for users to share the same picture in the video content.
  • user B communicates video content during a video call with user A.
  • user B switches the current video playback progress to User A's playback progress.
  • the mobile phone 201-2 detects that user B switches to another person's perspective, and switches to user A's perspective to watch the video.
  • user B clicks the avatar of user A in the video playback window 901b displayed on the Changlian application running on the mobile phone 201-2 (refer to the operation 4 shown in FIG. 9 above), and a button to switch viewing angles is displayed above the avatar of user A.
  • the switch view angle button 906b clicks the switch view angle button 906b (refer to the operation 6 shown in FIG. 10B ), and select to switch to the view angle of user A.
  • the video playback module 2011b on the mobile phone 201-2 responds to the operation of user B, and obtains the video playback data of user A synchronized by the data synchronization module 2021 on the server 202, such as video playback progress and comments issued by all users in the video playback process Barrage and other data, the screen currently displayed on the mobile phone 201-2 is displayed as the video playback window 901a displayed on the mobile phone 201-1 of user A, and the video playback module 2011b can also obtain the audio and video performed by user A through the Changlian application Call data, such as displaying data such as the window status of the audio and video call that user A is currently making, the video playback module 2011b displays the video playback window on the mobile phone 201-2 based on the obtained data such as the above video playback data and the window status of the audio and video call.
  • the display positions of user A’s video window 1005 and user B’s video window 1007 in the audio and video call window 1004 are different from those shown in FIG. 10B ;
  • the progress position 9024 below the user A's avatar is highlighted, and the elapsed playing time 9022 is also displayed as "00:35:50".
  • the video playback window 901b displayed on the mobile phone 201-2 can also display an exit button 1009, and user B can click this button 1009 to exit user A's perspective and switch back to his own perspective, that is, after user B clicks this button 1009,
  • the screen displayed on the mobile phone 201-2 is converted from the screen shown in FIG. 10C to the screen shown in FIG. 10B.
  • switching angle of view button 906b is beneficial for users to share the same picture in video content.
  • user B communicates video content during a video call with user A.
  • user B switches the current display screen of the mobile phone to Discuss and communicate with user A from the perspective of user A.
  • the mobile phone 201-2 can send a confirmation notification "whether you agree to switch the perspective" to the mobile phone 201-1 through the server 202, and user A clicks on the mobile phone 201-1 " After confirming” or "agreeing", the mobile phone 201-2 of user B can switch to the perspective of user A to continue playing the video.
  • the operation mode for the user to switch to another person's perspective and the screen transformation form on the electronic device such as the mobile phone used by the user may be other, which is not limited here.
  • steps 812 to 813 and step 815 can be executed first, and then step 814 is executed; or Step 814 or step 815, and then execute steps 812 to 813, which are not limited here.
  • the embodiment of the present application introduces the implementation process of the video sharing method of the present application in the scene of switching to other members’ perspectives when watching a video together in a group chat, or switching to other members’ playing progress to watch the video together.
  • the provided video sharing method can realize switching to other people's perspectives or switching to other people's progress to watch videos, and can also support sending voice calls or video call invitations to other members in the chat group on the video playback interface for communication and interaction, adding chat groups Members in the group can enjoy the interactive fun of watching videos together and improve user experience.
  • Another implementation process of the video sharing method of the present application will be introduced below through another application scenario combined with another second embodiment.
  • the embodiment of the present application introduces the implementation process of the video sharing method provided by the present application in detail based on the scene where the user intends to click a comment in the video playback window to jump to the corresponding progress while watching the video together in the group chat.
  • FIG 11 shows the specific implementation process of the video sharing method provided by the embodiment of the present application, including the following steps:
  • Steps 1101 to 1110 are the same as steps 401 to 410 described in FIG. 4 in the first embodiment above, and will not be repeated here.
  • step 1111 and step 411 in the first embodiment above is that, in step 1111 of the embodiment of the present application, when the mobile phone 201-2 receives and displays the video playback data on the mobile phone 201-1, the displayed video playback
  • the interface of the window is different from that shown in FIG. 7 in the first embodiment above.
  • FIG. 12 shows a schematic diagram of a video playback window interface provided by the embodiment of the present application.
  • the progress bar 122b shows the total video duration 1221 and the already played duration 1222.
  • the group members of the video watch the progress position of the video, wherein the playback duration 1222 matches the progress position, such as the progress position B 1223 of the local user B watching the video shown in Figure 12, and the progress position A of the user A watching the video 1224 and user C watching the progress position C 1225 of the video, in the video playback window 121b of the user B perspective shown in Figure 12, the progress position B 1223 of user B corresponding to the already played duration 1222 is displayed as "01:02:19" .
  • the video playback window 121b also displays an exit button 123b, an exit and watch button 124b, and a comment button 126, wherein user B clicks the audio and video call button 905b to initiate an audio and video call to any member in the chat group 504b, referring to the above implementation Figure 10 and related descriptions in Example 2 are not repeated here; user B clicks the comment button 126 to publish a comment message, and the comment message issued by user B can be displayed on the video playback window 121b in the form of a barrage 1262b, similarly 12, the comment message published by user A may be displayed as a barrage message 1261a shown in FIG. 12, and the comment message posted by user C may be displayed as a barrage message 1261c shown in FIG.
  • the view more comment button 1262 can also be displayed on the video playback window 121b, and user B can click this button 1262 to view more comment messages issued by himself and other members for the played video.
  • the bullet screens 1261 a , 1261 b , and 1261 c displayed in the video playback window 121 b not only include a comment message 1270 , but also include playback progress information 1271 corresponding to the moment when the user publishes the comment message.
  • the video playback module 2011b of the mobile phone 201-2 detects that user B clicks to post a comment in the video playback window 121b displayed on the Changlian application running on the mobile phone 201-2.
  • the button 126 publishes the operation of the comment message, through the message sending module 2014b, the session management module 2015b and the message display module 2012b in turn, the comment message published by user B and the video playback progress information at the corresponding time are fused and displayed on the video playback in the form of bullet screens.
  • the window 121b is the barrage 1261b shown in FIG. 12 above.
  • the mobile phone 201-2 detects that user B posts a comment.
  • the user B clicks the post comment button 126 in the video playback window 121b displayed on the Changlian application running on the mobile phone 201-2, edits and enters comment information, and then clicks post comment.
  • the input method interface 128 is displayed on the mobile phone 201-2 for the user to edit and input comment information.
  • the mobile phone 201-2 in response to the operation of the user B, synchronizes the comment message published by the user B through the server 202.
  • the video call module 2011b on the mobile phone 201-2 responds to user B's operation of posting a comment, and obtains the comment information input by the user through the input method interface edited by the video playback window 121b on the Changlian application, and the video call module 2011b sends the above comment information and the corresponding video playback progress information when the user makes a comment (for example, the video playback progress information corresponding to when user B clicks the comment button 126 on the video playback window 121b) to the session manager via the message sending module 2014b Module 2015b, the session management module 2015b integrates the received comment information and corresponding progress information into a comment message with progress information.
  • the session management module 2015b on the mobile phone 201-2 synchronizes the above-mentioned comment message with progress information through the group and message management module 2023 on the server 202 and the session management module 2015a on the mobile phone 201-1; After the session management module 2015a of the server 202 receives the above-mentioned comment message with progress information synchronized by the server 202, it sends it to the message display module 2012a, and the message display module 2012a sends the above-mentioned comment message to be displayed to the video playback module 2011a, and the mobile phone 201-1
  • the upper video playback module 2011a displays the above comment message together with historical comment messages on the video playback window displayed on the mobile phone 201-1.
  • the video playback window 121b on the mobile phone 201-2 also displays the comment messages and historical comment messages, and the display process is the same as the process of displaying comment messages on the mobile phone 201-1, which will not be repeated here.
  • the video playback progress information corresponding to when the user posts a comment may also be the video playback progress information corresponding to when the user clicks the publish button 129 after editing the comment information.
  • the process for user A and user C to post comments is the same as the above process, and will not be repeated here.
  • the comment message with progress information is synchronously displayed on the display screens of the mobile phone 201-2 and the mobile phone 201-1, referring to the barrage 1261a, 1261b and 1261c shown in Figure 12 .
  • the mobile phone 201-2 detects that user B taps the barrage to switch the playback progress, and switches to the playback progress corresponding to the barrage to continue playing the video.
  • user B clicks on the bullet screen 1261a in the video playback window 121b displayed on the Changlian application running on the mobile phone 201-2 (refer to the operation 8 shown in FIG. 13A ), and in the bullet screen 1261a
  • the like button 1301, plus one post button 1302 and switch to the progress button 1303 can be displayed on the top
  • user B clicks plus one post button 1302 Can copy the comment message shown in this barrage 1261a to post a comment as the content of commenting;
  • the progress is switched to the video playback progress corresponding to the posting time of this comment, and the video playback window 121b after switching can be shown in FIG. "00:31:42", the barrage 1261b and 1261c corresponding to the comments published after this playback progress will not be displayed in the video playback window 121b.
  • user B can also click on the bullet chat 1261b or 1261c in the video playback window 121b shown in FIG. 13A and switch to the playback progress corresponding to the bullet chat. screen and switch to the playback progress corresponding to the bullet screen, there is no limit here.
  • user A to click on the bullet screen on the mobile phone 201-1 to jump to the playback progress corresponding to the bullet screen comment message, please refer to the above description of the process, and will not go into details here.
  • the embodiment of the present application introduces the implementation process of the video sharing method of the present application in the scene of clicking a comment to jump to the playback progress when watching a video together in a group chat.
  • the user can not only click on the You can choose to switch to the video playback progress corresponding to the comment when the comment message sent by others on the screen is liked or added, which increases the interactive fun of the members in the chat group watching the video together and improves the user experience.
  • Another implementation process of the video sharing method of the present application will be introduced below through another application scenario combined with another second embodiment.
  • the embodiment of the present application is based on adding the function of posting the comment message to the group chat interface when posting a comment on the post comment button, so as to adapt to the comment information that the user wants to display in the group chat Then you can open the video and jump to the use scene of the corresponding progress, and introduce in detail the implementation process of the video sharing method provided by this application.
  • FIG 14 shows the specific implementation process of the video sharing method provided by the embodiment of the present application, including the following steps:
  • Steps 1401 to 1410 are the same as steps 1101 to 1110 described in FIG. 11 in the third embodiment above, and will not be repeated here.
  • step 1411 and step 1111 in the third embodiment above are that, in step 1411 of the embodiment of the present application, when the mobile phone 201-2 receives and displays the video playback data on the mobile phone 201-1, the displayed video playback The interface of the window is different from that shown in FIG. 12 in the third embodiment above.
  • FIG. 15 shows a schematic diagram of a video playback window interface provided by the embodiment of the present application.
  • the progress bar 152b displays the total video duration 1521 and the already played duration 1522.
  • the group members of the video watch the progress position of the video, wherein the playback duration 1522 matches the progress position, such as the progress position B 1523 of the local user B watching the video shown in Figure 15, and the progress position A of the user A watching the video 1524 and the progress position C 1525 of user C watching the video, in the video playback window 151b of user B's perspective shown in Figure 15, the already played duration 1522 corresponding to user B's progress position B 1523 is displayed as "01:02:19" .
  • the video playback window 151b also displays an exit button 153b, an exit and watch button 154b, and a message button 156, wherein user B clicks the audio and video call button 905b to initiate an audio and video call to any member in the chat group 504b, referring to the above implementation Figure 10 and related descriptions in Example 2 will not be repeated here; user B clicks the send message button 156 (refer to the operation 7 shown in Figure 12 above) to pop up the message publishing interface 1501 to post a comment message, and user B can also post a comment message in the message Choose to synchronize the comment message to be published to the group chat on the publishing interface 1501 (refer to the operation 9 shown in Figure 15), and the comment message published by user B can be displayed on the video playback window 151b in the form of a barrage 1562b, while user B The published comment message can also be displayed on the group chat interface 504b in the form of a conversation message, and the form of the conversation message will be described in detail in the following steps, and will not
  • the comment message issued by user A can be displayed as a barrage message 1561a shown in Figure 15
  • the comment message issued by user C can be displayed as a barrage message 1561c shown in Figure 15.
  • the view more comment button 1562 can also be displayed on the video playback window 151b, and user B can click this button 1562 to view more comment messages issued by himself and other members for the played video.
  • the message publishing interface 1501 displayed in the video playback window 151b includes the option 1502 of synchronizing to group chat and a check box 1503.
  • the check mark is displayed after user B clicks the check box 1503
  • user B Published comment messages can be synchronized to the group chat interface 504b.
  • the video playback module 2011b of the mobile phone 201-2 detects that user B clicks to send a message in the video playback window 151b displayed on the Changlian application running on the mobile phone 201-2.
  • the comment message displayed in the group chat interface 504b in the form of a conversation message also has the playback progress information at the corresponding time, so other group chat members can click on the conversation message to open the video and jump to the corresponding playback progress to watch the video. video.
  • the process of comment barrage published by user A and user C and the process of synchronizing the comment to the group chat refer to the above process.
  • the mobile phone 201-2 detects that user B posts a comment.
  • user B clicks the send message button 156 in the video playback window 151b displayed on the Changlian application running on the mobile phone 201-2, edits and inputs comment information, and then clicks to post a comment.
  • user B can choose to check the check box 1503 before synchronizing to the group chat option 1502, and the check box 1503 displays a check mark, for example It is " ⁇ " shown in Figure 15.
  • the check box 1503 displays a check mark, for example It is " ⁇ " shown in Figure 15.
  • user B clicks the send button 159 to publish a comment message the comment message will be synchronously published on the group chat interface 504b; if user B chooses not to check the synchronization to group chat option 1502 , that is, when the check box 1503 does not display a check mark, after the user clicks the send button 159, only the comment message will be displayed on the video playback interface 151b.
  • FIG. 16 shows a schematic diagram of the interface after the user checks the sync to group chat to post a comment and then jumps to the group chat interface.
  • the comment published by user B is displayed in the form of a conversation message 1601b on the group chat interface 504b, and a comment source information box 1602 may be displayed below the conversation message 1601b to distinguish it from other chats on the group chat interface 504b information.
  • the mobile phone 201-2 In response to user B's operation, the mobile phone 201-2 synchronizes the comment message published by user B through the server 202, and at the same time, the mobile phone 201-2 converts the comment message synchronized into the group chat into a chat message and displays it.
  • the process of the mobile phone 201-2 synchronizing the comment message published by the user B through the server 202 can refer to step 1113 in the above third embodiment, which will not be repeated here.
  • the session management module 2015b on the mobile phone 201-2 can also convert the received comment message with progress information into the form of a session message, and display it through the message Module 2012b is displayed.
  • a comment source information box 1602 is displayed below the message content displayed in the conversation message 1601b converted by the conversation management module 2015b to display the source of the comment message.
  • the message content shown in the conversation message 1601b shown in Figure 16 is "Comment issued by user B at 00:32:23", and "Comment from: Program 1" is displayed below the content, indicating that user B is in the program corresponding to program name 1. The above comments made while the video was playing.
  • chat group 503b corresponding to the above-mentioned group chat interface 504b can see the above-mentioned conversation message 1601b synchronized by user B to the group chat, and further, other members of the chat group 503b can click to comment on the source information Block 1602 directly opens the video corresponding to the comment and jumps to the playback progress "00:32:23" corresponding to the comment, and watches the video with user B.
  • user B can also click on the comment source information box 1602 below the conversation message 1601b on the group chat interface 504b displayed on the mobile phone 201-2 to open the video corresponding to the comment and jump to the video corresponding to the comment.
  • the application scenarios to which the video sharing method of the present application described in the first to fourth embodiments described above and various functions implemented in the video sharing process can also be implemented in the same application scenario, such as the second embodiment above
  • the audio and video call function described in the video sharing process can be combined with the functions of posting comments and synchronizing to group chats described in Embodiment 4, so that users can make audio and video calls with other members during the process of watching videos, You can also jump to the playback progress corresponding to the comment through the bullet screen on the video playback interface to watch the video. You can also click on the synchronized comment message in the group chat interface to open the video and jump to the progress corresponding to the comment to watch the video with everyone. Members who watch the video interact with each other.
  • the video playback interface displayed on electronic devices can refer to FIG. 17
  • the specific implementation process can refer to the relevant descriptions in the above-mentioned Embodiment 2 and Embodiment 4, which will not be repeated here.
  • the function of switching viewing angles described in Embodiment 2 above can also be combined with the function of posting comments and synchronizing to group chats described in Embodiment 4, so that users can switch to other people during the process of watching videos.
  • the video playback interface displayed on electronic devices such as mobile phones may refer to FIG. 18 , and the specific implementation process may refer to the relevant descriptions in the above-mentioned Embodiment 2 and Embodiment 4, which will not be repeated here.
  • Fig. 19 shows a schematic structural diagram of a mobile phone 201-1 according to the embodiment.
  • the mobile phone 201-1 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, And a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 201-1.
  • the mobile phone 201-1 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. In the embodiment of the present application, the processor 110 may control the video playing module and other modules on the mobile phone 201-1 to cooperate with each other to execute the video sharing method of the present application through a controller or the like.
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone 201-1, and can also be used to transmit data between the mobile phone 201-1 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the mobile phone 201-1.
  • the mobile phone 201-1 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the mobile phone 201-1. While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the mobile phone 201-1 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in handset 201-1 can be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the mobile phone 201-1.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • the wireless communication module 160 can provide applications on the mobile phone 201-1 including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the mobile phone 201-1 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone 201-1 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the mobile phone 201-1 realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Mini-LED, Micro-LED, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the mobile phone 201-1 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the display screen 194 is used to display the chat interface or group chat interface of the above-mentioned Changlian and other instant messaging applications (or called messaging applications), and a video playback interface for playing shared videos.
  • the mobile phone 201-1 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
  • image data displayed on a call interface during a video call may be collected.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the mobile phone 201-1 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone 201-1 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the mobile phone 201-1 can support one or more video codecs.
  • the mobile phone 201-1 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the mobile phone 201-1 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 201-1.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 201-1.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 110 executes various functional applications and data processing of the mobile phone 201-1 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the mobile phone 201-1 can realize the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • the mobile phone 201-1 can listen to music through the speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the mobile phone 201-1 can be provided with at least one microphone 170C.
  • the mobile phone 201-1 can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals.
  • the mobile phone 201-1 can also be equipped with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the mobile phone 201-1 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold is applied to the short message application icon, the instruction of viewing the short message is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion posture of the mobile phone 201-1.
  • the air pressure sensor 180C is used to measure air pressure.
  • the mobile phone 201-1 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the mobile phone 201-1 when the mobile phone 201-1 is a flip phone, the mobile phone 201-1 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • the acceleration sensor 180E can detect the acceleration of the mobile phone 201-1 in various directions (generally three axes). When the mobile phone 201-1 is stationary, the magnitude and direction of gravity can be detected.
  • the distance sensor 180F is used to measure the distance.
  • the mobile phone 201-1 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the mobile phone 201-1 can use the distance sensor 180F to measure distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the mobile phone 201-1 can use the proximity light sensor 180G to detect that the user holds the mobile phone 201-1 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the mobile phone 201-1 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 201-1 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the mobile phone 201-1 can utilize the collected fingerprint features to realize fingerprint unlocking, access to the application lock, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect temperature. In some embodiments, the mobile phone 201-1 uses the temperature detected by the temperature sensor 180J to implement a temperature processing strategy.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the mobile phone 201-1, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the mobile phone 201-1 can receive key input and generate key signal input related to user settings and function control of the mobile phone 201-1.
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the mobile phone 201-1 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195.
  • the mobile phone 201-1 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc.
  • Fig. 20 is a block diagram of the software structure of the mobile phone 201-1 according to the embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.
  • the application layer can consist of a series of application packages. As shown in FIG. 20, the application package may include application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
  • the view system can be used to build applications.
  • a display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
  • the Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application program layer and the application program framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • a system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
  • the structure of the mobile phone 201-2 may be the same as the structure of the mobile phone 201-1 shown in FIG. 19 and FIG. 20 above, and will not be repeated here.
  • the present disclosure also relates to means for performing operations in text.
  • This apparatus may be specially constructed for the required purposes or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer.
  • a computer program may be stored on a computer readable medium such as, but not limited to, any type of disk including floppy disk, compact disk, CD-ROM, magneto-optical disk, read-only memory (ROM), random-access memory (RAM) , EPROM, EEPROM, magnetic or optical card, application specific integrated circuit (ASIC), or any type of medium suitable for storing electronic instructions, and each may be coupled to a computer system bus.
  • computers referred to in the specification may comprise a single processor or may be architectures involving multiple processors for increased computing power.

Abstract

The present application relates to the technical field of intelligent terminals, and in particular to a video sharing method, and an electronic device and a storage medium. The method comprises: a first electronic device sending, by means of a first application, video access information of a video to a second electronic device, wherein the video access information is used for access to and playing of the video; the second electronic device playing the video in response to a playing operation of a user for the video access information; the second electronic device sharing, with the first electronic device, video playing data generated by playing the video; and the first electronic device acquiring a video playing state of the second electronic device according to the acquired video playing data. By means of the present application, on the basis of sharing video access information and synchronizing video playing data, the video watching progress of a plurality of users is displayed on a video playing interface, and functional options, such as switching to the progress of others, and switching to the visual angles of others, are added to the video playing interface, thereby promoting interactive communication among the plurality of users when watching a video together, and thereby improving the watching experience of the users when watching the video together.

Description

视频共享方法、电子设备及存储介质Video sharing method, electronic device and storage medium
本申请要求于2021年06月24日提交中国专利局、申请号为202110704189.2、申请名称为“视频共享方法、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110704189.2 and the application name "video sharing method, electronic equipment and storage medium" submitted to the China Patent Office on June 24, 2021, the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本发明涉及智能终端技术领域,具体涉及一种视频共享方法、电子设备及存储介质。The present invention relates to the technical field of intelligent terminals, in particular to a video sharing method, electronic equipment and a storage medium.
背景技术Background technique
在当前的信息共享时代,用户已习惯于通过终端安装的即时通信应用(application,app)沟通交流以及共享数据,例如,用户可以在聊天群中邀请家人或朋友一起看视频。In the current era of information sharing, users are accustomed to communicating and sharing data through instant messaging applications (applications, apps) installed on terminals. For example, users can invite family members or friends to watch videos together in a chat group.
目前,在一些即时通信应用提供的群聊中邀请成员一起看视频的功能中,参考图1A所示的聊天应用101,用户在手机100的桌面应用程序中选择打开该聊天应用101后打开聊天群102,参考图1B所示的群聊界面103,例如聊天群102的群名称为“一起追剧~交流群”,用户点击群聊界面103上的输入框1031下方的更多功能按钮1032,可以弹出包含多个群聊功能的功能菜单栏1033,用户在功能菜单栏1033中选择一起看功能按钮104即可打开图1C所示的选择界面105,用户在选择界面105所展示的视频应用列表中选择想要打开的视频应用1051,选择想要观看的视频名称可以进入图1D所示播放选项界面106,用户可以点击按钮1061选择“拼单一起看”并在群聊界面103中发送一起看视频的邀请链接,此时其他用户可以点击该链接付费后可以进入图1E所示的视频播放界面107一起观看视频;用户可以在播放选项界面106上点击按钮1062选择“包场请大家看”,用户付费后可在群聊界面103中发送一起看视频的邀请链接,此时其他用户点击该链接可以直接进入图1E所示的视频播放界面107一起观看视频。可以理解,正在一起看视频的用户所观看的视频流是同源的,因此在图1E所示的视频播放界面107上,只有发起一起看视频邀请的用户可以控制视频播放进度,如果该用户有临时情况需要退出一起看功能,可以点击视频播放界面107右上角的结束按钮1071来结束一起看视频,此时其他一起看视频的用户也只能退出,不能继续观看该视频。另外,视频播放界面107所显示的聊天框1072和表情按钮1073仅支持用户发送文字和表情进行交流,该界面107也没有支持其他设备播放的功能按钮。At present, in the function of inviting members to watch videos together in group chat provided by some instant messaging applications, referring to the chat application 101 shown in FIG. 102. Referring to the group chat interface 103 shown in FIG. 1B, for example, the group name of the chat group 102 is "Chasing dramas together~communication group", and the user clicks the more function button 1032 below the input box 1031 on the group chat interface 103, and can A function menu bar 1033 containing multiple group chat functions pops up, and the user selects the Watch Together function button 104 in the function menu bar 1033 to open the selection interface 105 shown in FIG. Select the video application 1051 that you want to open, and select the video name you want to watch to enter the playback option interface 106 shown in FIG. At this time, other users can click the link to pay and enter the video playback interface 107 shown in Figure 1E to watch the video together; the user can click the button 1062 on the playback options interface 106 to select "Let everyone watch the show", and the user pays. Afterwards, an invitation link to watch the video together can be sent in the group chat interface 103. At this time, other users can click the link to directly enter the video playback interface 107 shown in FIG. 1E to watch the video together. It can be understood that the video streams watched by users who are watching videos together are from the same source, so on the video playback interface 107 shown in FIG. Temporary circumstances need to quit watching the function together, you can click the end button 1071 in the upper right corner of the video playback interface 107 to end watching the video together, at this time, other users watching the video together can only exit and cannot continue to watch the video. In addition, the chat box 1072 and emoticon button 1073 displayed on the video playback interface 107 only support users to send text and emoticons for communication, and this interface 107 does not have function buttons that support playback by other devices.
在上述这样的即时通信应用所提供的群聊中一起看视频的场景中,多个用户使用该功能一起看视频时,每个用户无法单独控制自己的进度;用户仅能在安装上述聊天应用101的手机或平板电脑上播放视频而无法在其他设备上进行观看,例如无法在智慧屏上观看;另外,用户也无法在一起看视频的过程中通过语音通话或视频通话进行交流。In the scenario of watching videos together in group chat provided by instant messaging applications like the above, when multiple users use this function to watch videos together, each user cannot control their own progress independently; The video cannot be played on other devices, such as a smart screen; in addition, users cannot communicate through voice calls or video calls while watching videos together.
发明内容Contents of the invention
本申请实施例提供了一种视频共享方法、电子设备及存储介质,通过消息应用分享可以打开视频进行播放的视频访问信息实现在群聊界面或同时在多个一对一的聊天界面上共享视频,并且该视频访问信息可以支持在多个设备上播放视频,利于用户随心切换播放设备;本申请还通过在视频播放界面增加视角切换功能以及进度切换功能,方便用户切换到其他用户的观看视角或者切换到其他用户观看进度一起观看精彩片段,增加一起观看视频时的分享乐趣;本申请还通过将视频播放界面显示的弹幕评论消息与播放进度关联,以标记用户发表评论时所对应的播放进度,进而便于用户点击弹幕选择跳转至该弹幕评论所对应的播放进度处的精彩片段,利于增加群聊氛围和分享乐趣,提高用户一起看视频的互动体验,其中,以弹幕形 式显示的评论消息还能够以会话消息的形式分享到消息应用中,这也方便了消息应用上的聊天群中其他成员或者消息应用上的通讯录好友通过点击该会话消息快速打开视频并跳转至相应的播放进度观看视频的精彩瞬间;此外,本申请还通过在视频播放界面上增加音视频通话功能,用户可以通过该功能直接在视频播放界面上向聊天群中其他成员或者通讯录好友发起视频通话或语音通话,便于一起看视频的群聊成员相互交流。The embodiment of the present application provides a video sharing method, an electronic device and a storage medium, sharing video access information that can be opened and played through a message application to realize video sharing on a group chat interface or on multiple one-to-one chat interfaces at the same time , and the video access information can support playing videos on multiple devices, which is beneficial for users to switch playback devices at will; this application also adds viewing angle switching functions and progress switching functions in the video playback interface, which is convenient for users to switch to other users' viewing angles or Switch to other users’ viewing progress and watch highlights together to increase the fun of sharing when watching videos together; this application also associates the bullet chat comment messages displayed on the video playback interface with the playback progress to mark the corresponding playback progress when users post comments , so that it is convenient for the user to click on the barrage to select and jump to the highlight segment corresponding to the playback progress of the barrage comment, which is conducive to increasing the atmosphere of group chat and sharing fun, and improving the interactive experience of users watching videos together. Among them, it is displayed in the form of barrage Comments can also be shared in the messaging app in the form of conversational messages, which is convenient for other members of the chat group on the messaging app or contacts in the messaging app to quickly open the video and jump to the corresponding video by clicking on the chatting message. Watch the wonderful moments of the video at the playback progress; in addition, this application also adds an audio and video call function on the video playback interface, and the user can directly initiate a video call to other members of the chat group or contacts in the address book on the video playback interface through this function Or voice calls, which is convenient for group chat members who watch videos together to communicate with each other.
第一方面,本申请实施例提供了一种视频共享方法,应用于安装有第一应用的第一电子设备和第二电子设备,该方法包括:第一电子设备经由第一应用向第二电子设备发送视频的视频访问信息,其中,视频访问信息用于访问及播放视频;第二电子设备响应于用户针对视频访问信息的播放操作,播放视频;第二电子设备向第一电子设备分享播放视频所产生的视频播放数据;其中,视频播放数据包括用于标记视频的播放状态以及播放进度的数据;第一电子设备获取视频播放数据,并根据视频播放数据获取第二电子设备播放视频的状态。In the first aspect, an embodiment of the present application provides a video sharing method, which is applied to a first electronic device installed with a first application and a second electronic device. The device sends the video access information of the video, wherein the video access information is used to access and play the video; the second electronic device plays the video in response to the user's play operation on the video access information; the second electronic device shares and plays the video to the first electronic device Generated video playback data; wherein, the video playback data includes data for marking the playback status and playback progress of the video; the first electronic device obtains the video playback data, and obtains the status of the second electronic device playback video according to the video playback data.
即第一电子设备向第二电子设备共享能够打开视频进行播放的视频访问信息;第二电子设备点击该视频访问信息打开该视频进行播放的过程中,可以向第一电子设备同步共享播放该视频产生的视频播放数据;第一电子设备能够根据第二电子设备共享的视频播放数据获取到第二电子设备上播放该视频的状态,例如第二电子设备上播放该视频的进度、播放的该视频内容或者第二电子设备上播放该视频的暂停、快进状态等,在此不做限制。That is, the first electronic device shares with the second electronic device the video access information that can open the video for playback; when the second electronic device clicks the video access information to open the video for playback, it can synchronously share and play the video with the first electronic device Generated video playback data; the first electronic device can obtain the status of playing the video on the second electronic device according to the video playback data shared by the second electronic device, such as the progress of playing the video on the second electronic device, the video played The content or the pause and fast-forward status of playing the video on the second electronic device are not limited here.
上述视频访问信息,例如,可以是下文实施例中所描述的服务卡片,在另一些实施例中,视频访问信息也可以对应于第一应用上用于提供视频播放功能的小程序,在此不做限制。The above video access information, for example, may be the service card described in the following embodiments. In other embodiments, the video access information may also correspond to a small program on the first application for providing video playback function, which is not described here. Do limit.
在上述第一方面的一种可能的实现中,第一电子设备根据视频播放数据获取第二电子设备播放视频的状态,包括下列呈现方式中的至少一项:在第一电子设备播放视频的界面中,显示第二电子设备播放视频的进度;在第一电子设备播放视频的界面中,跳转到与视频播放数据对应的进度;在第一电子设备播放视频的界面上,显示第二电子设备播放视频的内容。In a possible implementation of the first aspect above, the first electronic device obtains the status of the video played by the second electronic device according to the video playback data, including at least one of the following presentation methods: Playing the video on the interface of the first electronic device , display the progress of the second electronic device playing the video; in the interface where the first electronic device plays the video, jump to the progress corresponding to the video playback data; on the interface where the first electronic device plays the video, display the progress of the second electronic device Play the content of the video.
即第一电子设备从视频播放数据中获取的第二电子设备播放该视频的状态可以通过多种呈现方式显示,例如可以在第一电子设备播放该视频的界面上显示第二电子设备播放该视频的进度,例如在播放界面的进度条上显示第二电子设备播放该视频的进度,在另一些实施例中,第一电子设备播放该视频的界面上可以显示多个第二电子设备播放该视频的进度,在此不做限制。如此,用户可以在观看视频的过程中随时了解他人观看该视频(例如观影)的进度。That is, the status of the second electronic device playing the video obtained by the first electronic device from the video playback data can be displayed in various presentation methods, for example, it can be displayed on the interface where the first electronic device plays the video that the second electronic device is playing the video For example, the progress of the second electronic device playing the video is displayed on the progress bar of the playback interface. In other embodiments, the interface where the first electronic device plays the video can display multiple second electronic devices playing the video. The progress is not limited here. In this way, the user can keep track of the progress of other people watching the video (for example, watching a movie) while watching the video.
在另一些实施例中,上述呈现方式还可以是基于用户在第一电子设备的视频播放界面(即下文实施例中所描述的视频播放窗口)上的操作指令,例如是点击进度条上显示的第二电子设备的图标跳转至第二电子设备播放该视频的进度所对应的操作指令,在第一电子设备播放该视频的界面上跳转至第二电子设备播放该视频的进度继续播放视频。可以理解,当第一电子设备播放该视频的界面跳转至第二电子设备播放该视频的进度之后,第一电子设备上原本播放该视频的进度将被第二电子设备播放该视频的进度替代,作为第一电子设备上播放上述视频的当前进度。如此,用户可以在与他人一起观看视频时切换到他人正在观看的精彩片段一起分享精彩,利于提高用户的观看体验。In some other embodiments, the above-mentioned presentation method can also be based on the user's operation instruction on the video playback interface of the first electronic device (that is, the video playback window described in the following embodiments), for example, clicking the button displayed on the progress bar. The icon of the second electronic device jumps to the operation instruction corresponding to the progress of the second electronic device playing the video, and jumps to the progress of the second electronic device playing the video on the interface where the first electronic device plays the video to continue playing the video . It can be understood that when the interface of the first electronic device playing the video jumps to the progress of the second electronic device playing the video, the original progress of playing the video on the first electronic device will be replaced by the progress of the second electronic device playing the video , as the current progress of playing the above video on the first electronic device. In this way, when watching a video with others, the user can switch to the highlights that others are watching and share the highlights together, which is conducive to improving the viewing experience of the users.
在另一些实施例中,上述呈现方式还可以是基于用户在第一电子设备的视频播放界面上的操作指令,例如是点击进度条上显示的第二电子设备的图标切换到第二电子设备播放该视频的界面所对应的操作指令,在第一电子设备播放该视频的界面上显示第二电子设备播放该视频的内容,可以理解,显示第二电子设备播放该视频的内容的方式,可以是将第一电子设备播放该视频的界面所显示的内容替换为第二电子设备播 放该视频的内容进行显示;也可以在第一电子设备播放该视频的界面上分出一部分显示区域显示第二电子设备播放该视频的内容,即俗称的画中画的形式;在另一些实施例中,还可以是在第一电子设备播放该视频的界面之上通过悬浮窗口显示第二电子设备播放该视频的内容,在此不做限制。另外可以理解,上述显示第二电子设备播放该视频的内容也可以包括显示播放进度等,但第一电子设备播放视频的进度与第二电子视频播放视频的进度相互独立,第一电子设备的用户可以关闭在第一电子设备播放该视频的界面上显示的第二电子设备播放该视频的内容,继续以第一电子设备播放视频的进度观看视频。In some other embodiments, the above presentation method can also be based on the user's operation instruction on the video playback interface of the first electronic device, for example, clicking the icon of the second electronic device displayed on the progress bar to switch to the second electronic device to play the video. The operation instruction corresponding to the interface of the video displays the content of the video played by the second electronic device on the interface played by the first electronic device. It can be understood that the method of displaying the content of the video played by the second electronic device may be Replace the content displayed on the interface where the first electronic device plays the video with the content that the second electronic device plays the video for display; it is also possible to divide a part of the display area on the interface where the first electronic device plays the video to display the second electronic device. The device plays the content of the video, which is commonly known as the form of picture-in-picture; The content is not limited here. In addition, it can be understood that the above display of the content of the video played by the second electronic device may also include displaying the progress of the video, but the progress of the video played by the first electronic device and the progress of the video played by the second electronic video are independent of each other, and the user of the first electronic device It is possible to close the content of the video played by the second electronic device displayed on the interface where the first electronic device plays the video, and continue to watch the video at the same pace as the first electronic device plays the video.
也就是说,通过本申请所提供的视频共享方法,使用第一电子设备的用户可以将视角切换到使用第二电子设备的用户视角观看该视频。如此,多个用户在一同观看视频的过程中,可以享受到虽处异地但可以一同观看视频的体验,利于多个用户观看视频时相互分享精彩画面或者精彩片段,提升用户观看体验。That is to say, through the video sharing method provided in this application, the user using the first electronic device can switch the viewing angle to the viewing angle of the user using the second electronic device to watch the video. In this way, in the process of watching a video together, multiple users can enjoy the experience of being able to watch the video together even though they are in different places, which is beneficial for multiple users to share wonderful pictures or highlights when watching the video, and improve the viewing experience of the users.
在上述第一方面的一种可能的实现中,视频访问信息包括用于访问及播放视频的链接,以及与视频相关的多媒体内容;并且第一应用为消息应用,第一电子设备经由消息应用向第二电子设备发送消息,消息包括视频访问信息。In a possible implementation of the above first aspect, the video access information includes a link for accessing and playing the video, and multimedia content related to the video; and the first application is a messaging application, and the first electronic device sends a message to the The second electronic device sends a message including video access information.
即第一电子设备通过消息应用向第二电子设备共享视频访问信息,消息应用中呈现的视频访问信息可以显示与该视频相关的文字介绍、图片等多媒体内容,视频访问信息可以通过会话消息(即上述消息)的形式通过该消息应用发送给第二电子设备。That is, the first electronic device shares video access information with the second electronic device through the message application, and the video access information presented in the message application can display multimedia content such as text introductions and pictures related to the video, and the video access information can be passed through the session message (ie The above message) is sent to the second electronic device through the message application.
例如,第一电子设备(例如手机)通过畅连应用等即时通信应用向第二电子设备(例如手机)发送电视剧《锦绣南歌》的视频访问信息,畅连应用中呈现的视频访问信息则可以包括《锦绣南歌》的剧情介绍、评分、主要演员介绍以及剧照等多媒体内容。如此,便于用户快速了解消息应用中共享的视频详情,判断自己是否感兴趣、是否打开该视频与大家一起看等。For example, the first electronic device (such as a mobile phone) sends the video access information of the TV series "Splendid Nange" to the second electronic device (such as a mobile phone) through an instant messaging application such as the Changlian application, and the video access information presented in the Changlian application can be Including "Splendid Nange" plot introduction, score, introduction of main actors and still photos and other multimedia content. In this way, it is convenient for users to quickly understand the details of the video shared in the messaging application, determine whether they are interested, whether to open the video to watch with everyone, etc.
在上述第一方面的一种可能的实现中,第一电子设备经由第一应用向第二电子设备发送视频的视频访问信息,包括:第一电子设备经由消息应用的会话界面向第二电子设备发送视频访问信息;其中会话界面包括第一用户标识、第二用户标识,第一用户标识用于识别操作第一电子设备的第一用户,第二用户标识用于识别操作第二电子设备的第二用户。In a possible implementation of the above first aspect, the first electronic device sends the video access information of the video to the second electronic device via the first application, including: the first electronic device sends the video access information to the second electronic device via the conversation interface of the message application Send video access information; wherein the session interface includes a first user ID and a second user ID, the first user ID is used to identify the first user who operates the first electronic device, and the second user ID is used to identify the second user who operates the second electronic device Second user.
即第一电子设备可以将视频访问信息发送至消息应用的会话界面,例如是该消息应用中的群聊界面,如此,该群聊界面对应的聊天群中各成员均可以点击上述视频访问消息打开视频一起观看。在另一些实施例中,上述会话界面也可以是消息应用中的一对一聊天界面,即第一电子设备的用户可以在与第二电子设备的用户的一对一聊天界面上发送上述视频访问信息,可以理解,第一电子设备的用户也可以选择在消息应用的通信录中选择多个好友(例如畅连通讯录中的好友)、同时通过多个一对一聊天界面向多人分别发送上述视频访问信息。如此,方便用户同时向多人共享视频。That is, the first electronic device can send the video access information to the conversation interface of the message application, such as the group chat interface in the message application, so that each member of the chat group corresponding to the group chat interface can click the above video access message to open Watch the video together. In some other embodiments, the conversation interface may also be a one-to-one chat interface in a message application, that is, the user of the first electronic device may send the above-mentioned video interview on the one-to-one chat interface with the user of the second electronic device Information, it can be understood that the user of the first electronic device can also choose to select multiple friends in the address book of the message application (for example, friends in the Changlian address book), and send messages to multiple people through multiple one-to-one chat interfaces at the same time. Video access information above. In this way, it is convenient for users to share videos to multiple people at the same time.
在上述第一方面的一种可能的实现中,第一电子设备根据视频播放数据获取第二电子设备播放视频的状态,包括:在第一电子设备播放视频的界面中,显示第二电子设备播放视频的进度和第二用户标识;其中,第二用户标识用于跳转到与视频播放数据对应的进度,或者用于显示第二电子设备播放视频的内容。In a possible implementation of the first aspect above, the first electronic device obtains the status of the video played by the second electronic device according to the video playback data, including: displaying the video played by the second electronic device on the interface where the first electronic device plays the video. The progress of the video and the second user ID; wherein, the second user ID is used to jump to the progress corresponding to the video playback data, or to display the content of the video played by the second electronic device.
例如对于前述例子,第一电子设备的视频播放界面的进度条上显示的第二电子设备的图标可以是第二用户标识,第二用户标识例如是畅连应用等即时通信应用上登录的用户名称以及头像等标识,例如第一电子设备的视频播放界面的进度条相应进度上方可以显示畅连好友的昵称、头像等。如此,便于用户实施了解一起看视频的好友观看视频的进度,利于寻找聊天话题,例如可以讨论不同进度处的精彩片段等,利于提高用户观看体验。For example, for the aforementioned example, the icon of the second electronic device displayed on the progress bar of the video playback interface of the first electronic device may be the second user ID, and the second user ID is, for example, the user name registered on an instant messaging application such as Changlian application And logos such as avatars, for example, the nicknames and avatars of Changlian friends can be displayed above the corresponding progress of the progress bar of the video playback interface of the first electronic device. In this way, it is convenient for the user to understand the progress of the friends who watch the video together, and it is beneficial to find chat topics, such as discussing highlights at different progresses, etc., which is beneficial to improving the viewing experience of the user.
在上述第一方面的一种可能的实现中,视频访问信息包括用于访问视频的卡片,卡片包括与视频相关 的多媒体内容以及用于访问视频的链接。In a possible implementation of the first aspect above, the video access information includes a card for accessing the video, and the card includes multimedia content related to the video and a link for accessing the video.
卡片包括第一选项和第二选项,其中,第一选项用于触发视频的播放;第二选项用于触发视频通过与第二电子设备协同工作的第三电子设备播放;所述第一电子设备根据所述视频播放数据获取所述第二电子设备播放所述视频的状态,还包括:在第一电子设备播放所述视频的界面中,显示所述第三电子设备播放所述视频的进度以及所述第三电子设备的设备图标。The card includes a first option and a second option, wherein the first option is used to trigger the playback of the video; the second option is used to trigger the playback of the video through a third electronic device that works in cooperation with the second electronic device; the first electronic device Acquiring the state of playing the video by the second electronic device according to the video playing data, further comprising: displaying a progress of playing the video by the third electronic device on an interface where the first electronic device plays the video, and A device icon of the third electronic device.
第二电子设备响应于用户针对视频访问信息的播放操作,播放视频,包括:第二电子设备响应于用户点击卡片的第一选项的操作,触发视频的播放;或者第二电子设备响应于用户点击卡片的第二选项的操作,触发视频在第三电子设备上播放。The second electronic device plays the video in response to the user's play operation on the video access information, including: the second electronic device responds to the user's operation of clicking the first option of the card, triggering the playback of the video; or the second electronic device responds to the user's click The operation of the second option on the card triggers the video to be played on the third electronic device.
例如,上述视频访问信息所包括的卡片例如是下文实施例中所描述的“@服务卡片”所获取的呈现视频相关内容的会话消息,参考下文实施例中“@服务卡片”搜索视频关键词的相关描述及界面示意图,例如下文中图5C所示,用户可以在该会话消息上点击播放按钮(即上述卡片的第一选项)直接在消息应用(例如畅连应用)中打开该视频进行播放,用户也可以在该会话消息上点击智慧屏播放按钮(即上述卡片的第二选项)通过与手机协同的智慧屏上播放该视频。如此,用户可以基于所处场景从当前互联或者协同的多个设备中选择播放视频的设备,利于提高用户观看体验。For example, the card included in the above video access information is, for example, the conversation message that presents video-related content obtained by "@servicecard" described in the following embodiments. Relevant descriptions and interface schematic diagrams, as shown in Figure 5C below, for example, the user can click the play button (that is, the first option of the above-mentioned card) on the conversation message to directly open the video in the message application (such as Changlian application) and play it. The user can also click the smart screen play button (that is, the second option of the above-mentioned card) on the conversation message to play the video on the smart screen coordinated with the mobile phone. In this way, the user can select a device to play videos from multiple devices that are currently interconnected or coordinated based on the scene, which is beneficial to improve the user's viewing experience.
可以理解,当第二电子设备的用户选择第二选项(例如下文中图5C所示的智慧屏播放按钮)播放共享的视频时,第一电子设备的视频播放界面所显示的第二电子设备播放进度则为第三电子设备上播放该视频的进度,同时相应进度处还可以显示当前播放该视频的第三电子设备的设备图标,例如下文图7所示的设备图标516b。It can be understood that when the user of the second electronic device selects the second option (such as the smart screen play button shown in Figure 5C below) to play the shared video, the second electronic device displayed on the video playback interface of the first electronic device plays The progress is the progress of playing the video on the third electronic device, and the device icon of the third electronic device currently playing the video may also be displayed at the corresponding progress, such as the device icon 516b shown in FIG. 7 below.
在上述第一方面的一种可能的实现中,第二电子设备向第一电子设备分享播放视频所产生的视频播放数据,包括:第二电子设备将视频播放数据上传至与第一电子设备和第二电子设备通信连接的服务器;第一电子设备从服务器获取视频播放数据。服务器是用于运行第一应用的服务器。In a possible implementation of the above first aspect, the second electronic device shares the video playback data generated by playing the video with the first electronic device, including: the second electronic device uploads the video playback data to the first electronic device and The server to which the second electronic device is communicatively connected; the first electronic device acquires video playback data from the server. The server is a server for running the first application.
即第一电子设备与第二电子设备之间通过服务器同步视频播放数据,第一电子设备上的第一应用和第二电子设备上的第一应用均通过服务器运行。可以理解,在本申请的实施例中,第一电子设备的第一应用上登录的用户与第二电子设备的第一应用上登录的用户互为好友,或者均为同一聊天群的成员。例如,下文实施例中所描述的使用手机201-1的用户A与使用手机201-2的用户B互为畅连好友,或者二者均为畅连聊天群“快乐一家”中的成员。That is, the video playback data is synchronized between the first electronic device and the second electronic device through the server, and the first application on the first electronic device and the first application on the second electronic device are both run through the server. It can be understood that, in the embodiment of the present application, the user logged in on the first application of the first electronic device and the user logged in on the first application of the second electronic device are mutual friends, or are members of the same chat group. For example, the user A using the mobile phone 201-1 and the user B using the mobile phone 201-2 described in the following embodiments are mutual friends of Changlian, or both are members of the Changlian chat group "Happy Family".
在上述第一方面的一种可能的实现中,视频播放数据包括用户在第二电子设备播放视频的界面上编辑发布的评论消息,并且评论消息与视频的播放进度相关联;其中,评论消息能够在视频的播放界面上和对应的播放进度信息一起显示;评论消息至少用于触发跳转至对应的播放进度。In a possible implementation of the first aspect above, the video playback data includes comment messages edited and published by the user on the interface where the second electronic device plays the video, and the comment messages are associated with the playback progress of the video; where the comment messages can be Displayed together with the corresponding playback progress information on the video playback interface; the comment message is at least used to trigger a jump to the corresponding playback progress.
即第一电子设备播放视频的界面上可以显示用户通过第二电子设备发布的评论消息,又称弹幕,该评论消息与相应的视频播放进度关联显示,使用第一电子设备的用户可以点击视频播放界面上的弹幕选择跳转至与该弹幕评论相对应的播放进度。在另一些实施例中,一起观看该视频的其他设备用户均可以点击视频播放界面上的弹幕选择跳转至相应的播放进度,在此不做限制。That is, the interface of the first electronic device to play the video can display the comment message released by the user through the second electronic device, also known as the barrage, the comment message is displayed in association with the corresponding video playback progress, and the user using the first electronic device can click on the video The bullet chat selection on the playback interface jumps to the playback progress corresponding to the bullet chat comment. In some other embodiments, users of other devices watching the video together can click the barrage selection on the video playback interface to jump to the corresponding playback progress, which is not limited here.
例如,在下文实施例中,使用手机201-1的用户A可以手机201-1播放视频的界面上点击的用户B通过手机201-2发布的弹幕评论,并选择跳转至该弹幕评论相对应的播放进度。如此,用户在一起看视频的过程中,可以根据弹幕内容任意切换到相应的精彩片段观看视频,利于提高用户观看体验。For example, in the following embodiment, user A using mobile phone 201-1 can click on the interface of playing the video on mobile phone 201-1 to click on the barrage comment issued by user B through mobile phone 201-2, and choose to jump to the barrage comment The corresponding playback progress. In this way, when the users watch the video together, they can arbitrarily switch to the corresponding highlights to watch the video according to the barrage content, which is beneficial to improve the user's viewing experience.
在上述第一方面的一种可能的实现中,对应的播放进度与评论消息的发布时刻相对应;或者对应的播放进度信息指示开始编辑评论消息的时刻,或者对应的播放进度信息指示评论消息被发出的时刻。In a possible implementation of the above-mentioned first aspect, the corresponding playback progress corresponds to the release time of the comment message; or the corresponding playback progress information indicates the moment when the comment message starts to be edited, or the corresponding playback progress information indicates that the comment message has been edited. the moment of issue.
例如,在下文实施例中,视频播放界面上显示的弹幕评论所对应的播放进度可以是用户A在视频播放界面上点击发评论按钮调出输入法开始编辑评论消息的时刻所对应的播放进度,也可以是用户A在视频播放界面上显示的发布评论的界面(参考下文中图12所示的消息发送界面)中完成评论消息的编辑后点击发送按钮的时刻所对应的播放进度,在此不做限制。For example, in the following embodiments, the playback progress corresponding to the barrage comment displayed on the video playback interface may be the playback progress corresponding to the moment when user A clicks the comment button on the video playback interface to call out the input method and start editing the comment message , may also be the playback progress corresponding to the moment when user A clicks the send button after editing the comment message in the interface for posting comments displayed on the video playback interface (refer to the message sending interface shown in Figure 12 below), here No restrictions.
在上述第一方面的一种可能的实现中,评论消息能够作为会话消息经由第一应用被分享至其他电子设备,并且会话消息至少用于触发播放视频并跳转至对应的播放进度。In a possible implementation of the above first aspect, the comment message can be shared to other electronic devices via the first application as a conversation message, and the conversation message is at least used to trigger playing the video and jump to the corresponding playback progress.
即用户在视频播放界面上的发布的评论消息经消息应用发送时可以转换为会话消息(即上述消息应用中的消息)发送,上述评论消息所转换的会话消息也可以作为共享视频的消息,其他设备用户可以通过点击会话界面上显示的由评论消息转换而来的会话消息打开视频播放,并且可以跳转至该评论消息对应的播放进度。如此,聊天群中的各成员可以直接通过群聊界面上的会话消息打开视频跳转至相应的精彩片段处,方便聊天群中各成员加入一起看视频以及方便各成员分享自己的观看体会。That is, the comment message published by the user on the video playback interface can be converted into a conversation message (that is, the message in the above-mentioned message application) when sent by the message application, and the conversation message converted from the above-mentioned comment message can also be used as a message for sharing the video. The device user can start video playback by clicking the conversation message converted from the comment message displayed on the conversation interface, and can jump to the playback progress corresponding to the comment message. In this way, each member in the chat group can directly open the video through the conversation message on the group chat interface and jump to the corresponding highlights, so that it is convenient for members in the chat group to join in to watch the video together and to share their viewing experience.
在上述第一方面的一种可能的实现中,上述方法还包括:第二电子设备在播放视频的过程中,启动与第一电子设备的音视频通话;第一电子设备在播放视频的界面上,显示音视频通话的界面。In a possible implementation of the above-mentioned first aspect, the above-mentioned method further includes: during the process of playing the video, the second electronic device initiates an audio-video call with the first electronic device; , to display the audio and video call interface.
即第一电子设备的用户与第二电子设备的用户能够通过视频播放界面进行音视频通话。例如,在下文实施例中,用户B可以在视频播放窗口中点击音视频通话按钮向聊天群中的用户A等任意数量的任意成员发起音视频通话,例如用户B与用户A在进行音视频通话,此时如果用户B点击视频播放窗口中进度条上的用户A的头像选择切换至用户A的视角,则切换后用户B可以在看到的手机201-1的视频播放窗口上看到用户A与用户B的通话界面。在另一些实施例中,如果用户A正与该聊天群中一起看视频的另一用户C在视频通话,用户B切换至用户A的视角后,也可以在手机201-1的视频播放窗口上看到用户A与用户C的通话界面。That is, the user of the first electronic device and the user of the second electronic device can conduct audio and video calls through the video playback interface. For example, in the following embodiments, user B can click the audio and video call button in the video playback window to initiate an audio and video call with any number of members such as user A in the chat group, for example, user B and user A are conducting an audio and video call At this time, if user B clicks the avatar of user A on the progress bar in the video playback window and selects to switch to the perspective of user A, then user B can see user A on the video playback window of mobile phone 201-1 after switching The conversation interface with user B. In some other embodiments, if user A is in a video call with another user C who is watching video together in the chat group, after user B switches to user A's perspective, he can also view the video in the video playback window of mobile phone 201-1. See the call interface between user A and user C.
可以理解,由于音视频通话的内容可能会涉及用户个人隐私,因此如果在切换至对方视角的操作中想要获取对方设备上的音视频通话的界面,对方设备可以通过弹窗的形式请求对方设备用户的授权方可实现显示对方设备上的音视频通话界面,在上述示例中,尤其在用户A与用户B之外的其他用户(例如用户C也在一对一视频通话时),基于隐私保护,即便用户A授权用户B可以切换至其视角,也仅在用户B所看到的手机201-1所显示的界面上显示与用户C的通话界面或仅显示用户C的头像,此时用户B不能获取用户A和用户C之间的通话内容。在另一些实施例中,如果用户A、B和C三人通过上述音视频通话按钮进行群通话聊天时,用户B切换至用户A视角则可以获取用户A和C之间的通话内容,在此不做要求。It can be understood that since the content of the audio and video call may involve the user's personal privacy, if you want to obtain the interface of the audio and video call on the other party's device during the operation of switching to the other party's perspective, the other party's device can request the other party's device in the form of a pop-up window The user's authorized party can realize the display of the audio and video call interface on the other party's device. In the above example, especially when users other than user A and user B (for example, user C is also in a one-to-one video call), based on privacy protection , even if user A authorizes user B to switch to its perspective, only the call interface with user C or only the avatar of user C is displayed on the interface displayed by mobile phone 201-1 seen by user B. At this time, user B The content of the call between user A and user C cannot be obtained. In other embodiments, if users A, B, and C use the above-mentioned audio and video call buttons to conduct a group call and chat, user B switches to the perspective of user A to obtain the content of the call between users A and C, here Do not ask.
第二方面,本申请实施例提供了一种视频共享方法,应用于第一电子设备,该方法包括:由第一应用发送视频的视频访问信息,其中,视频访问信息用于访问及播放视频;获取视频播放数据,并根据视频播放数据获取第二电子设备播放视频的状态;其中,视频播放数据为第二电子设备播放视频产生的用于标记视频的播放状态以及播放进度的数据。In the second aspect, the embodiment of the present application provides a video sharing method, which is applied to the first electronic device, and the method includes: sending the video access information of the video by the first application, wherein the video access information is used to access and play the video; Obtain video playback data, and acquire the state of playing video by the second electronic device according to the video playback data; wherein, the video playback data is data used to mark the playback status and playback progress of the video generated by the second electronic device playing the video.
在上述第二方面的一种可能的实现中,根据视频播放数据获取第二电子设备播放视频的状态,包括下列呈现方式中的至少一项:在播放视频的界面中,显示第二电子设备播放视频的进度;在播放视频的界面中,跳转到与视频播放数据对应的进度;在播放视频的界面上,显示第二电子设备播放视频的内容。In a possible implementation of the above-mentioned second aspect, the acquisition of the status of the video played by the second electronic device according to the video playback data includes at least one of the following presentation methods: In the interface for playing the video, displaying the video played by the second electronic device The progress of the video; in the video playing interface, jump to the progress corresponding to the video playing data; on the video playing interface, display the content of the video played by the second electronic device.
在上述第二方面的一种可能的实现中,第一应用为消息应用,经由第一应用发送视频的视频访问信息包括:经由消息应用的会话界面发送视频访问信息;其中会话界面包括第一用户标识、第二用户标识,第一用户标识用于识别操作第一电子设备的第一用户,第二用户标识用于识别操作第二电子设备的第二用户。In a possible implementation of the second aspect above, the first application is a messaging application, and sending video access information via the first application includes: sending video access information via a session interface of the messaging application; wherein the session interface includes the first user ID, the second user ID, the first user ID is used to identify the first user who operates the first electronic device, and the second user ID is used to identify the second user who operates the second electronic device.
在上述第二方面的一种可能的实现中,根据视频播放数据获取第二电子设备播放视频的状态,包括: 在播放视频的界面中,显示第二电子设备播放视频的进度和第二用户标识;其中,第二用户标识用于跳转到与视频播放数据对应的进度,或者用于显示第二电子设备播放视频的内容。In a possible implementation of the above-mentioned second aspect, acquiring the status of the video played by the second electronic device according to the video playback data includes: displaying the progress of the video played by the second electronic device and the second user ID in the interface for playing the video ; Wherein, the second user ID is used to jump to the progress corresponding to the video playback data, or to display the content of the video played by the second electronic device.
在上述第二方面的一种可能的实现中,获取视频播放数据包括:第一电子设备从服务器获取视频播放数据;其中,服务器是用于运行第一应用的服务器。In a possible implementation of the above second aspect, acquiring the video playback data includes: the first electronic device acquires the video playback data from a server; where the server is a server configured to run the first application.
在上述第二方面的一种可能的实现中,视频播放数据包括用户在第二电子设备播放视频的播放界面上编辑发布的评论消息,并且评论消息与视频的播放进度相关联;其中,评论消息和对应的播放进度能够一起显示在第一电子设备播放视频的界面中,评论消息至少用于触发跳转至对应的播放进度。In a possible implementation of the above-mentioned second aspect, the video playback data includes comment messages edited and published by the user on the playback interface of the second electronic device to play the video, and the comment messages are associated with the playback progress of the video; wherein, the comment messages Together with the corresponding playback progress, it can be displayed on the video playback interface of the first electronic device, and the comment message is at least used to trigger a jump to the corresponding playback progress.
在上述第二方面的一种可能的实现中,第一电子设备能够获取作为会话消息被分享至第一应用的评论消息,并且会话消息至少用于触发播放视频并跳转至对应的播放进度。In a possible implementation of the above-mentioned second aspect, the first electronic device can obtain the comment message shared to the first application as a conversation message, and the conversation message is at least used to trigger playing the video and jump to the corresponding playback progress.
第三方面,本申请实施例提供了一种视频共享方法,应用于第二电子设备,该方法包括:响应于用户针对视频的视频访问信息的播放操作,播放视频;其中,视频访问信息为第一电子设备经由第一应用发送的信息,视频访问信息用于访问及播放视频;分享播放视频所产生的视频播放数据;其中,视频播放数据用于供第一电子设备获取第二电子设备播放视频的状态,视频播放数据包括用于标记视频的播放状态以及播放进度的数据。In the third aspect, the embodiment of the present application provides a video sharing method, which is applied to the second electronic device, and the method includes: playing the video in response to the user's play operation on the video access information of the video; wherein, the video access information is the first The information sent by an electronic device through the first application, the video access information is used to access and play the video; the video playback data generated by sharing and playing the video; wherein, the video playback data is used for the first electronic device to obtain the second electronic device to play the video The status of the video, the video playback data includes data used to mark the playback status and playback progress of the video.
在上述第三方面的一种可能的实现中,视频访问信息包括用于访问及播放视频的链接,以及与视频相关的多媒体内容。In a possible implementation of the above third aspect, the video access information includes a link for accessing and playing the video, and multimedia content related to the video.
在上述第三方面的一种可能的实现中,视频访问信息包括用于访问视频的卡片,卡片包括与视频相关的多媒体内容以及用于访问视频的链接;并且卡片包括第一选项和第二选项,其中,第一选项用于触发视频的播放;第二选项用于触发视频通过与第二电子设备协同工作的第三电子设备播放;所述第一电子设备根据所述视频播放数据获取所述第二电子设备播放所述视频的状态,还包括:在第一电子设备播放所述视频的界面中,显示所述第三电子设备播放所述视频的进度以及所述第三电子设备的设备图标。In a possible implementation of the above third aspect, the video access information includes a card for accessing the video, the card includes multimedia content related to the video and a link for accessing the video; and the card includes the first option and the second option , wherein, the first option is used to trigger the playback of the video; the second option is used to trigger the playback of the video by a third electronic device that works in cooperation with the second electronic device; the first electronic device obtains the The state of the second electronic device playing the video further includes: displaying the progress of the third electronic device playing the video and the device icon of the third electronic device in the interface where the first electronic device plays the video .
在上述第三方面的一种可能的实现中,响应于用户针对视频的视频访问信息的播放操作,播放视频,包括:响应于用户点击卡片的第一选项的操作,触发视频的播放;或者响应于用户点击卡片的第二选项的操作,触发视频在第三电子设备上播放。In a possible implementation of the above third aspect, playing the video in response to the user's play operation on the video access information of the video includes: triggering the play of the video in response to the user's click on the first option of the card; or responding to When the user clicks on the second option of the card, the video is triggered to be played on the third electronic device.
在上述第三方面的一种可能的实现中,分享播放视频所产生的视频播放数据,包括:将视频播放数据上传至服务器,通过服务器分享视频播放数据;其中,服务器与第一电子设备、第二电子设备通信连接,服务器是用于运行第一应用的服务器。In a possible implementation of the above third aspect, sharing the video playback data generated by playing the video includes: uploading the video playback data to the server, and sharing the video playback data through the server; wherein, the server and the first electronic device, the second The two electronic devices are connected in communication, and the server is used to run the first application.
在上述第三方面的一种可能的实现中,视频播放数据包括用户在视频的播放界面上编辑发布的评论消息,并且评论消息与视频的播放进度相关联;其中,评论消息能够在视频的播放界面上和对应的播放进度一起显示。In a possible implementation of the above third aspect, the video playback data includes comment messages edited and released by the user on the video playback interface, and the comment messages are associated with the playback progress of the video; It will be displayed together with the corresponding playback progress on the interface.
在上述第三方面的一种可能的实现中,评论消息能够作为会话消息被分享至第一应用,并且会话消息至少用于触发播放视频并跳转至对应的播放进度。In a possible implementation of the above third aspect, the comment message can be shared to the first application as a session message, and the session message is at least used to trigger playing the video and jump to the corresponding playback progress.
第四方面,本申请实施例提供了一种电子设备,该电子设备包括:一个或多个处理器;一个或多个存储器;一个或多个存储器存储有一个或多个程序,当一个或者多个程序被一个或多个处理器执行时,使得电子设备执行上述视频共享方法。In a fourth aspect, the embodiment of the present application provides an electronic device, the electronic device includes: one or more processors; one or more memories; one or more memories store one or more programs, when one or more When a program is executed by one or more processors, the electronic device executes the above video sharing method.
第五方面,本申请实施例提供了一种计算机可读存储介质,存储介质上存储有指令,指令在计算机上执行时使计算机执行上述视频共享方法。In a fifth aspect, the embodiment of the present application provides a computer-readable storage medium, where instructions are stored on the storage medium, and when the instructions are executed on a computer, the computer executes the above video sharing method.
第六方面,本申请实施例提供了一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处 理器执行时实现上述视频共享方法。In a sixth aspect, the embodiment of the present application provides a computer program product, including a computer program/instruction, and when the computer program/instruction is executed by a processor, the above video sharing method is implemented.
附图说明Description of drawings
图1A至1E所示为现有技术所提供的群聊中一起看视频的UI界面示意图。1A to 1E are schematic diagrams of UI interfaces for watching videos together in a group chat provided by the prior art.
图2所示为本申请实施例所提供的一种通信系统的组成设备示意图。FIG. 2 is a schematic diagram of components of a communication system provided by an embodiment of the present application.
图3所示为上述图2所示通信系统的软件架构示意图。FIG. 3 is a schematic diagram of the software architecture of the communication system shown in FIG. 2 above.
图4所示为本申请实施例一所提供的视频共享方法的具体实施流程示意图。FIG. 4 is a schematic diagram of a specific implementation flow of the video sharing method provided by Embodiment 1 of the present application.
图5A至5D所示为本申请实施例一所提供的视频共享方法实施过程中的手机界面示意图。5A to 5D are schematic diagrams of mobile phone interfaces during the implementation of the video sharing method provided by Embodiment 1 of the present application.
图6A至6B所示为本申请实施例一所提供的视频共享方法实施过程中的手机界面示意图。6A to 6B are schematic diagrams of mobile phone interfaces during the implementation of the video sharing method provided by Embodiment 1 of the present application.
图6C所示为图6A和图6B中的设备小的放大示意图。Fig. 6C is a small enlarged schematic view of the device in Figs. 6A and 6B.
图7所示为本申请实施例一所提供的视频共享方法实施过程中的视频播放窗口的界面示意图。FIG. 7 is a schematic diagram of an interface of a video playing window during the implementation of the video sharing method provided by Embodiment 1 of the present application.
图8所示为本申请实施例二所提供的视频共享方法的具体实施流程示意图。FIG. 8 is a schematic diagram of a specific implementation flow of the video sharing method provided in Embodiment 2 of the present application.
图9所示为本申请实施例二所提供的视频播放窗口的界面示意图。FIG. 9 is a schematic diagram of the interface of the video playback window provided by Embodiment 2 of the present application.
图10A至10C所示为本申请实施例二所提供的用户发起音视频通话所对应的视频播放窗口界面示意图。10A to 10C are schematic diagrams of video playback window interfaces corresponding to a user initiating an audio and video call provided in Embodiment 2 of the present application.
图11所示为本申请实施例三所提供的视频共享方法的具体实施流程示意图。FIG. 11 is a schematic diagram of a specific implementation flow of the video sharing method provided by Embodiment 3 of the present application.
图12所示为本申请实施例三所提供的视频播放窗口界面示意图。FIG. 12 is a schematic diagram of a video playback window interface provided by Embodiment 3 of the present application.
图13A至13B所示为本申请实施例三所提供的用户点击弹幕评论跳转至相应播放进度前后所对应的视频播放窗口界面示意图。13A to 13B are schematic diagrams of the corresponding video playback window interfaces before and after the user clicks on the barrage comment to jump to the corresponding playback progress provided by Embodiment 3 of the present application.
图14所示为本申请实施例四所提供的视频共享方法的具体实施流程示意图。FIG. 14 is a schematic diagram of a specific implementation flow of the video sharing method provided by Embodiment 4 of the present application.
图15所示为本申请实施例四所提供的视频播放窗口的界面示意图。FIG. 15 is a schematic diagram of the interface of the video playback window provided by Embodiment 4 of the present application.
图16所示为本申请实施例四中用户勾选同步到群聊发表评论后跳转到群聊界面后的界面示意图。FIG. 16 is a schematic diagram of the interface after the user checks the synchronization to the group chat to post a comment in Embodiment 4 of the present application and jumps to the group chat interface.
图17所示为本申请实施例二所提供的视频共享方法与实施例四所提供的视频共享方法在同一应用场景中实施例的视频播放窗口的一种界面示意图。FIG. 17 is a schematic diagram of an interface of a video playback window of an embodiment of the video sharing method provided by Embodiment 2 of the present application and the video sharing method provided by Embodiment 4 in the same application scenario.
图18所示为本申请实施例二所提供的视频共享方法与实施例四所提供的视频共享方法在同一应用场景中实施例的视频播放窗口的另一种界面示意图。FIG. 18 is a schematic diagram of another interface of the video playing window of the embodiment of the video sharing method provided by Embodiment 2 of the present application and the video sharing method provided by Embodiment 4 in the same application scenario.
图19所示为本申请实施例提供的一种手机100的结构示意图。FIG. 19 is a schematic structural diagram of a mobile phone 100 provided by an embodiment of the present application.
图20所示为本申请实施例提供的一种手机100的软件结构框图。FIG. 20 is a block diagram of a software structure of a mobile phone 100 provided by an embodiment of the present application.
具体实施方式detailed description
下面结合具体实施例和附图对本申请做进一步说明。可以理解的是,此处描述的具体实施例仅仅是为了解释本申请,而非对本申请的限定。此外,为了便于描述,附图中仅示出了与本申请相关的部分而非全部的结构或过程。应注意的是,在本说明书中,相似的标号和字母在下面的附图中表示类似项。The present application will be further described below in combination with specific embodiments and accompanying drawings. It can be understood that the specific embodiments described here are only for explaining the present application, rather than limiting the present application. In addition, for the convenience of description, only some but not all structures or processes related to the present application are shown in the drawings. It should be noted that in this specification, like numerals and letters designate like items in the following drawings.
在图1A-1E所示的场景中,为了解决用户一起看视频时不便互动交流的问题,本申请提供了一种视频共享方法,通过提供以下功能方案提高用户在群聊中一起看视频的服务体验:In the scenarios shown in Figures 1A-1E, in order to solve the problem of inconvenient interaction and communication when users watch videos together, this application provides a video sharing method, which improves the service for users to watch videos together in group chats by providing the following functional solutions experience:
其一,本申请所提供的方法,通过在消息应用(例如即时通信应用)中的会话界面分享视频访问信息,实现在群聊界面或同时在多个一对一的聊天界面上共享视频,例如在会话界面的聊天输入框内输入“@服务卡片+搜索关键词”的方式分享与搜索的关键词相对应的视频访问信息,该视频访问信息包括文字介绍、图片等多媒体数据以及播放链接等,便于用户在群聊中发起一起看视频的邀请,并且用户还可以在服务卡片推介的内容中选择在当前群聊设备上播放视频、或者在智慧屏上播放视频,即支持用户在其他设备上观看 视频;First, the method provided by the present application realizes video sharing on a group chat interface or on multiple one-to-one chat interfaces at the same time by sharing video access information on a session interface in a message application (such as an instant messaging application), such as Enter "@servicecard+search keyword" in the chat input box of the conversation interface to share video access information corresponding to the search keyword. The video access information includes text introduction, multimedia data such as pictures, and playback links, etc. It is convenient for users to initiate an invitation to watch videos together in the group chat, and users can also choose to play the video on the current group chat device or play the video on the smart screen in the content recommended by the service card, which supports users to watch on other devices video;
其二,本申请所提供的方法,通过多个用户观看的视频播放界面增加视角切换功能以及进度切换功能,便于用户切换到其他用户的观看视角或者切换到其他用户观看进度一起观看精彩片段,增加一起观看视频时的分享乐趣,并且一起看视频的每个用户可以控制自己的观看进度,他人退出一起看视频也不会影响用户继续观看;Second, the method provided by this application adds the viewing angle switching function and progress switching function through the video playback interface watched by multiple users, so that users can switch to other users' viewing angles or switch to other users' viewing progress to watch highlights together, increasing Sharing fun while watching videos together, and each user watching videos together can control their own viewing progress, and it will not affect users to continue watching videos if others quit watching videos together;
其三,本申请所提供的方法,通过将视频播放界面显示的弹幕评论消息与对应的播放进度相关联,以标记用户发表评论时所对应的播放进度,进而便于用户点击弹幕选择跳转至该弹幕评论所对应的播放进度处的精彩片段,同时上述显示的弹幕上还增加了“同步”功能选项,用户发表评论时可以选择将该评论同步至群聊中,这样群聊中尚未一起观看视频的成员可以点击该条评论打开对应视频中的对应进度,一起观看该条评论对应的精彩片段,或者用户也可以点击该条评论下方的节目标签,打开该条评论对应的节目视频开始观看,这利于增加群聊氛围和分享乐趣,提高用户体验;Third, the method provided by this application, by associating the bullet chat comment message displayed on the video playback interface with the corresponding playback progress, to mark the corresponding playback progress when the user posts a comment, so that it is convenient for the user to click on the bullet screen to choose to jump To the highlight segment corresponding to the playback progress of the bullet chat comment, and at the same time, the "synchronization" function option is added to the bullet chat displayed above. When users post comments, they can choose to synchronize the comment to the group chat, so that the group chat Members who have not yet watched the video together can click the comment to open the corresponding progress in the corresponding video, and watch the highlights corresponding to the comment together, or users can also click the program label below the comment to open the program video corresponding to the comment Start watching, which is conducive to increasing the atmosphere of group chats and sharing fun, and improving user experience;
其四,本申请所提供的方法,通过在视频播放界面增加“视频通话/语音通话”功能按钮,用户可以通过该按钮向其他成员发起视频通话或语音通话,便于一起看视频的群聊成员相互交流。Fourth, in the method provided by this application, by adding a "video call/voice call" function button on the video playback interface, the user can initiate a video call or voice call to other members through this button, which is convenient for group chat members who watch videos together to communicate with each other. communicate with.
本申请所提供的视频共享方法,可以应用于图2所示的即时通信系统200中。如图2所示,该即时通信系统200可以包括电子设备201-1、201-2、…、202-N(N为大于1的整数),其中,上述N个电子设备之间可通过通信网络202互联。The video sharing method provided in this application can be applied to the instant messaging system 200 shown in FIG. 2 . As shown in Figure 2, the instant messaging system 200 may include electronic devices 201-1, 201-2, ..., 202-N (N is an integer greater than 1), wherein the above N electronic devices can be connected through a communication network 202 interconnection.
作为示例,上述通信网络202可以是有线网络,也可以是无线网络。例如,上述通信网络202可以是局域网(local area networks,LAN),也可以是广域网(wide area networks,WAN),例如互联网。上述通信网络可使用任何已知的网络通信协议来实现,上述网络通信协议可以是各种有线或无线通信协议,诸如以太网、通用串行总线(universal serial bus,USB)、火线(FIREWIRE)、全球移动通讯系统(global system for mobile communications,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址接入(codedivision multiple access,CDMA)、宽带码分多址(wideband code division multipleaccess,WCDMA),时分码分多址(time-division code division multiple access,TDSCDMA),长期演进(long term evolution,LTE)、蓝牙、无线保真(wireless fidelity,WiFi)、NFC、基于互联网协议的语音通话(voice over Internet protocol,VoIP)、支持网络切片架构的通信协议或任何其他合适的通信协议。As an example, the above communication network 202 may be a wired network or a wireless network. For example, the aforementioned communication network 202 may be a local area network (local area networks, LAN), or a wide area network (wide area networks, WAN), such as the Internet. The above-mentioned communication network can be realized using any known network communication protocol, and the above-mentioned network communication protocol can be various wired or wireless communication protocols, such as Ethernet, universal serial bus (universal serial bus, USB), fire wire (FIREWIRE), Global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access, WCDMA), time-division code division multiple access (TDSCDMA), long term evolution (long term evolution, LTE), Bluetooth, wireless fidelity (wireless fidelity, WiFi), NFC, Internet protocol-based Voice over Internet protocol (VoIP), a communication protocol supporting network slicing architecture, or any other suitable communication protocol.
可以理解,在一些实施例中,通信系统200中的各个电子设备可以登录各自的账号(例如华为账号)后可以通过一个或多个服务器互联,该服务器也可以通过云端实现。在另一些实施例中,通信系统200中的各个电子设备之间还可以通过Wi-Fi协议建立Wi-Fi连接,在此不做限制。It can be understood that, in some embodiments, each electronic device in the communication system 200 can be connected to each other through one or more servers after logging in their respective accounts (such as Huawei accounts), and the servers can also be realized through the cloud. In some other embodiments, a Wi-Fi connection may also be established between various electronic devices in the communication system 200 through a Wi-Fi protocol, which is not limited here.
可以理解,上述电子设备可以包括但不限于手机、智慧屏、台式计算机、平板电脑、膝上型计算机、可穿戴设备、头戴式显示器、移动电子邮件设备、便携式游戏机、便携式音乐播放器、阅读器设备、个人数字助理、虚拟现实或者增强现实设备、其中嵌入或耦接有一个或多个处理器的电视机等电子设备,在此不做限制。It can be understood that the aforementioned electronic devices may include, but are not limited to, mobile phones, smart screens, desktop computers, tablet computers, laptop computers, wearable devices, head-mounted displays, mobile email devices, portable game consoles, portable music players, Electronic devices such as reader devices, personal digital assistants, virtual reality or augmented reality devices, and televisions embedded with or coupled to one or more processors are not limited here.
下面以电子设备201-1、201-2为手机,通信网络202为服务器为例,详细介绍本申请的视频共享方法的具体实现过程。Taking the electronic devices 201-1 and 201-2 as mobile phones and the communication network 202 as a server as an example, the specific implementation process of the video sharing method of the present application will be introduced in detail below.
图3示出了上述图2所示通信系统的软件架构示意图。FIG. 3 shows a schematic diagram of the software architecture of the communication system shown in FIG. 2 above.
如图3所示,手机201-1的操作系统中包括视频播放模块2011a、消息显示模块2012a、音视频通话模块2013a、消息发送模块2014a以及会话管理模块2015a,手机201-2的操作系统中包括视频播放模块2011b、消息显示模块2012b、音视频通话模块2013b、消息发送模块2014b以及会话管理模块2015b;手机201-1、 201-2之间通过服务器202实现互联,服务器202的服务系统中包括数据同步模块2021、视频服务模块2022以及群组及消息管理模块2023。As shown in Figure 3, the operating system of the mobile phone 201-1 includes a video playback module 2011a, a message display module 2012a, an audio and video call module 2013a, a message sending module 2014a and a session management module 2015a, and the operating system of the mobile phone 201-2 includes Video playback module 2011b, message display module 2012b, audio and video call module 2013b, message sending module 2014b and session management module 2015b; mobile phones 201-1, 201-2 are interconnected by server 202, and the service system of server 202 includes data Synchronization module 2021 , video service module 2022 and group and message management module 2023 .
手机201-1上的视频播放模块2011a或手机201-2上的视频播放模块2011b从服务器202上的视频服务模块2022获取视频内容进行播放,并向数据同步模块2021上传播放状态及进度,视频播放模块2011a通过服务器202的数据同步模块2021与视频播放模块2011b之间同步播放状态及进度;手机201-1上的会话管理模块2015a通过服务器202上的群组及消息管理模块2023与的手机201-2上的会话管理模块2015b同步群组成员以及会话消息。The video playback module 2011a on the mobile phone 201-1 or the video playback module 2011b on the mobile phone 201-2 obtain video content from the video service module 2022 on the server 202 to play, and upload the playback status and progress to the data synchronization module 2021, and the video playback Module 2011a synchronizes playback status and progress through the data synchronization module 2021 of the server 202 and the video playback module 2011b; the session management module 2015a on the mobile phone 201-1 passes the group on the server 202 and the message management module 2023 and the mobile phone 201-1 The session management module 2015b on 2 synchronizes group members and session messages.
在手机201-1上:视频播放模块2011a在检测到用户在视频播放界面上发起通话的操作后向音视频通话模块2013a发送发起通话的指令,音视频通话模块2013a通过会话管理模块2015a接收或发送通话信息;视频播放模块2011a在检测到用户发送信息和/或评论的操作后向消息发送模块2014a发送消息和/或评论内容及发送指令,消息发送模块2014a将消息和/或评论内容通过会话管理模块2015a以会话消息形式发送信息和/或评论,会话管理模块2015a将接受到的消息通过消息显示模块2012a显示,用户发表的评论可以通过消息显示模块2012a发送给视频播放模块2013a同步显示,如果用户点击消息或评论以打开视频及相应播放进度时,消息显示模块2012a则可以向视频播放模块2011a发送播放视频指令,视频播放模块2011a则播放视频并直接跳转至相应进度。On the mobile phone 201-1: the video playback module 2011a sends an instruction to initiate a call to the audio and video call module 2013a after detecting that the user initiates a call on the video playback interface, and the audio and video call module 2013a receives or sends the call through the session management module 2015a Call information; the video playback module 2011a sends a message and/or comment content and an instruction to the message sending module 2014a after detecting the operation of the user sending information and/or comments, and the message sending module 2014a passes the message and/or comment content through session management The module 2015a sends information and/or comments in the form of a conversation message, and the conversation management module 2015a displays the received message through the message display module 2012a, and the comments issued by the user can be sent to the video playback module 2013a through the message display module 2012a for synchronous display, if the user When a message or comment is clicked to open the video and the corresponding playback progress, the message display module 2012a can send a video playback instruction to the video playback module 2011a, and the video playback module 2011a will play the video and directly jump to the corresponding progress.
在手机201-2上:视频播放模块2011b、会话管理模块2015b、音视频通话模块2013b、消息发送模块2014b及消息显示模块2012b之间的信息传递及模块交互过程与上述手机201-1中各模块之间信息传递及交互过程相同,在此不再赘述。On the mobile phone 201-2: the information transmission and module interaction process between the video playback module 2011b, the session management module 2015b, the audio and video call module 2013b, the message sending module 2014b and the message display module 2012b and each module in the above-mentioned mobile phone 201-1 The information transmission and interaction process among them are the same, and will not be repeated here.
具体地,手机201-1或手机201-2上的各模块的功能可以总结如下:Specifically, the functions of each module on the mobile phone 201-1 or the mobile phone 201-2 can be summarized as follows:
视频播放模块2011a或2011b,用于从服务器202的视频服务模块2022中获取相应的视频内容,向用户播放该视频内容并管理播放状态、播放进度等,同时向服务器202的数据同步模块2021上传播放状态及进度等;The video playing module 2011a or 2011b is used for obtaining corresponding video content from the video service module 2022 of the server 202, playing the video content to the user and managing the playing state, playing progress, etc., and uploading and playing to the data synchronization module 2021 of the server 202 simultaneously status and progress, etc.;
消息显示模块2012a或2012b,用于显示用户发送的聊天信息、共享的视频相关信息、以及用户观看视频时发表的评论消息等;The message display module 2012a or 2012b is used to display the chat information sent by the user, the video-related information shared, and the comment message issued by the user when watching the video, etc.;
音视频通话模块2013a或2013b,用于处理音视频通话过程中的相关消息、触发音视频通话的事件及相关流程等;The audio and video call module 2013a or 2013b is used for processing related messages in the audio and video call process, triggering events and related processes of the audio and video call, etc.;
消息发送模块2014a或2014b,用于发送用户编辑输入的聊天信息、选择共享的视频、以及编辑输入的评论消息等;The message sending module 2014a or 2014b is used to send the chat information edited and input by the user, the video selected to be shared, and the comment message input by the editor, etc.;
会话管理模块2015a或2015b,用于管理并同步更新聊天群组的成员名单等信息,以及管理聊天群组会话消息以及联系人之间的会话消息等。The session management module 2015a or 2015b is used for managing and synchronously updating information such as the member list of the chat group, and managing chat group session messages and session messages between contacts.
在服务器202中,数据同步模块2021接收手机201-1、手机201-2等播放设备上传的视频播放状态及进度,在各设备之间进行数据同步;视频服务模块2022可以响应于手机201-1、手机201-2等播放设备上的视频查询及播放等请求,向各设备返回视频相关数据内容以供各设备播放,对于查询/获取视频信息的请求,视频服务模块2022将相关视频信息通过群组及消息管理模块2023以会话消息形式发送至各设备上;群组及消息管理模块2023则通过与手机201-1、手机201-2等设备上的会话管理模块管理并同步群组成员、以及管理并同步会话消息。In the server 202, the data synchronization module 2021 receives the video playback status and progress uploaded by playback devices such as the mobile phone 201-1 and the mobile phone 201-2, and performs data synchronization between each device; the video service module 2022 can respond to the mobile phone 201-1 , mobile phone 201-2 and other playback devices such as video query and playback requests, return video-related data content to each device for each device to play, for query/acquire video information requests, the video service module 2022 sends relevant video information through the group The group and message management module 2023 sends to each device in the form of a session message; the group and message management module 2023 manages and synchronizes group members with the session management modules on devices such as the mobile phone 201-1 and the mobile phone 201-2, and Manage and synchronize conversation messages.
具体地,数据同步模块2021,用于同步聊天群组内的部分或所有成员通过聊天群内的视频访问信息播放视频的视频播放信息,包括相应视频的播放状态、播放进度等;Specifically, the data synchronization module 2021 is used to synchronize the video playback information of some or all members in the chat group to play the video through the video access information in the chat group, including the playback status and playback progress of the corresponding video;
视频服务模块2022,用于提供视频相关信息查询服务及提供视频播放内容等相关数据服务;The video service module 2022 is used to provide video-related information query services and provide related data services such as video playback content;
群组及消息管理模块2023,用于管理聊天群组中成员的增加、删除等,以及管理聊天群组内的及时消息保存、收发、同步等。The group and message management module 2023 is used to manage the addition and deletion of members in the chat group, as well as manage the saving, sending and receiving, and synchronization of instant messages in the chat group.
可以理解,上述视频播放模块、消息显示模块、音视频通话模块、消息发送模块以及会话管理模块可以设置在手机201-1、201-2的操作系统的应用层,例如,手机201-1、201-2上配置或安装的即时通信应用包括上述各模块。在另一些实施例中,例如手机201-1、201-2的操作系统为鸿蒙操作系统(Homney OS),上述视频播放模块、消息显示模块、音视频通话模块、消息发送模块以及会话管理模块可以设置为框架层的原子化功能模块,供应用层的各个应用程序调用,例如,手机201-1、201-2上的畅连应用以及视频应用均可以调用上述各模块,实现本申请的视频共享方法所能达到的效果,在此不做限制。It can be understood that the above-mentioned video playback module, message display module, audio and video call module, message sending module and session management module can be set in the application layer of the operating system of the mobile phone 201-1, 201-2, for example, the mobile phone 201-1, 201 The instant messaging application configured or installed on -2 includes the above modules. In other embodiments, for example, the operating system of the mobile phones 201-1 and 201-2 is the Hongmeng operating system (Homney OS), and the above-mentioned video playback module, message display module, audio and video call module, message sending module and session management module can be Set as the atomic function module of the framework layer, which is called by each application program of the application layer, for example, the smooth connection application and the video application on the mobile phone 201-1, 201-2 can call the above-mentioned modules to realize the video sharing of this application The effect that the method can achieve is not limited here.
作为示例,下面以手机201-1、201-2上安装的即时通信应用为畅连应用为例来说明本申请方案,其中,手机201-1上登录了用户A的账号,手机201-2上登录了用户B的账号,用户A、用户B为同一聊天群组中的成员。As an example, the instant messaging application installed on the mobile phones 201-1 and 201-2 is used as an example to illustrate this application solution. Among them, the account of user A is logged in on the mobile phone 201-1, User B's account is logged in, and user A and user B are members of the same chat group.
基于上述图2所示的通信系统以及图3所示的系统软件架构,下面以实施例一至实施例四结合的应用场景来介绍本申请的视频共享方法的一种实施过程。Based on the above-mentioned communication system shown in FIG. 2 and the system software architecture shown in FIG. 3 , an implementation process of the video sharing method of the present application will be introduced in the following by combining application scenarios from Embodiment 1 to Embodiment 4.
实施例一Embodiment one
本申请实施例基于用户在群聊中共享视频信息的场景,详细介绍本申请所提供的视频共享方法的实施过程。The embodiment of the present application introduces the implementation process of the video sharing method provided in the present application in detail based on the scene where users share video information in a group chat.
图4示出了本申请实施例所提供的视频共享方法的具体实施流程。包括以下步骤:FIG. 4 shows the specific implementation process of the video sharing method provided by the embodiment of the present application. Include the following steps:
401:手机201-2检测到用户B在聊天群组中查询视频信息的操作。401: The mobile phone 201-2 detects that user B searches for video information in a chat group.
具体地,用户B在手机201-2上显示的聊天群组中按照既定格式输入唤出视频服务卡片的命令,及查询关键词,查询与该关键词相对应的视频信息。Specifically, user B enters a command to call out a video service card according to a predetermined format in the chat group displayed on the mobile phone 201-2, and searches for keywords, and searches for video information corresponding to the keywords.
参考图5A至图5C所示,用户B可以在图5A所示的手机201-2的桌面应用图标中点击畅连应用图标501b,打开图5B所示的畅连界面502b,如图5B所示,该界面502b上所显示的最近联系人列表中包括聊天群503b,例如该聊天群503b的名称为“快乐一家”;用户B在畅连界面502b上点击聊天群503b,可以打开图5C所示的群聊界面504b,用户B可以在聊天框5041b中编辑输入“@视频服务卡片及查询关键词”,例如按照“@我的智慧屏锦绣南歌”的格式,查询相关视频信息,其中,“我的智慧屏”为支持畅连应用分享的一种设备类服务卡片,可以以畅连应用“联系人”的形式保存,供用户调用。当手机201-2与一智慧屏设备连接后,手机201-1上运行的畅连应用中即可将该智慧屏设备保存为“联系人”,用户还可以为智慧屏设备自定义联系人名称,例如定义为“我的智慧屏”或者“XXX的智慧屏”等,在此不做限制。Referring to Fig. 5A to Fig. 5C, user B can click the Changlian application icon 501b in the desktop application icon of the mobile phone 201-2 shown in Fig. 5A to open the Changlian interface 502b shown in Fig. 5B, as shown in Fig. 5B , the recent contact list displayed on the interface 502b includes a chat group 503b, for example, the name of the chat group 503b is "Happy Family"; user B clicks on the chat group 503b on the Changlian interface 502b, and can open the chat group 503b shown in Figure 5C In the group chat interface 504b, user B can edit and input "@video service card and query keywords" in the chat box 5041b, for example, query related video information in the format of "@我的智慧象优乌南歌", among which, " My Smart Screen is a device-type service card that supports Changlian app sharing, which can be saved in the form of Changlian app "contacts" for users to call. When the mobile phone 201-2 is connected to a smart screen device, the smart screen device can be saved as a "contact" in the Changlian application running on the mobile phone 201-1, and the user can also customize the contact name for the smart screen device , for example defined as "my smart screen" or "XXX's smart screen", etc., without limitation here.
参考图5C所示,用户在群聊界面504b上输入“@我的智慧屏”唤醒“我的智慧屏”所提供的视频播放服务;“锦绣南歌”是查询节目名称的关键词,唤醒“我的智慧屏”对应的视频播放服务后,从中搜索名为“锦绣南歌”的视频内容即可查询相关节目内容,生成视频访问信息分享至群聊界面504b。在另一些实施例中,用户还可以输入“@我的智慧屏当前播放”,将智慧屏设备上当前正在播放的视频相关的视频访问信息分享至群聊界面504b,视频访问信息的呈现形式可以参考图5C所示的会话消息510b,图5C所示界面将在下文详细描述,在此不再赘述。聊天群503b中的成员可以点击该视频访问信息选择在直接在运行畅连应用的手机上播放,或者选择在与手机互联的智慧屏设备上播放,在此不做限制。Referring to FIG. 5C , the user enters "@我的智智表" on the group chat interface 504b to wake up the video playback service provided by "My Smart Screen"; After the video playback service corresponding to "My Smart Screen", search for the video content named "Splendid Nange" to query the relevant program content, generate video access information and share it to the group chat interface 504b. In some other embodiments, the user can also input "@我的智智盘currently playing" to share the video access information related to the video currently playing on the smart screen device to the group chat interface 504b. The presentation form of the video access information can be Referring to the conversation message 510b shown in FIG. 5C , the interface shown in FIG. 5C will be described in detail below and will not be repeated here. Members in the chat group 503b can click on the video to access the information and choose to play it directly on the mobile phone running the Changlian application, or choose to play it on a smart screen device connected to the mobile phone, and there is no limitation here.
可以理解,上述聊天群503b中任一群成员均可以在群聊界面的聊天框内输入@视频服务卡片以及想要共享的视频的查询关键词并发送,以查询对应该查询关键词的视频相关信息。It can be understood that any group member in the above chat group 503b can input and send @video service card and the query keyword of the video to be shared in the chat box of the group chat interface to query the video-related information corresponding to the query keyword .
402:手机201-2响应于用户B的操作指令,向服务器202发送视频信息查询指令。402: The mobile phone 201-2 sends a video information query instruction to the server 202 in response to the user B's operation instruction.
具体地,手机201-2的处理器处理用户B在畅连应用的群聊界面504b上输入的“@视频服务卡片及查询关键词”操作指令后,可以通过无线通信模块向服务器202发送查询指令。Specifically, after the processor of the mobile phone 201-2 processes the "@video service card and query keyword" operation command input by user B on the group chat interface 504b of the Changlian application, it can send the query command to the server 202 through the wireless communication module. .
403:服务器202基于接收到的查询指令查询相应视频信息,并存储查询到的相关视频信息。403: The server 202 queries corresponding video information based on the received query instruction, and stores the queried related video information.
具体地,例如对于前述例子,服务器202上的群组及消息管理模块2023接收到用户B在畅连应用上唤醒视频服务卡片及查询节目名称关键词所对应的查询指令消息,例如用户B输入“@我的智慧屏锦绣南歌”所对应的查询指令消息,群组及消息管理模块2023识别该查询指令消息中的关键词“锦绣南歌”,向视频服务模块2022查询并获取对应于上述查询关键词的相关视频信息,该视频信息可以包括但不限于视频标识、视频介绍、视频时长、海报等信息。Specifically, for example, for the aforementioned example, the group and message management module 2023 on the server 202 receives a query instruction message corresponding to user B waking up the video service card on the Changlian application and querying the keyword of the program name, for example, user B enters " For the query command message corresponding to @我的智慧屏两秀南歌", the group and message management module 2023 identifies the keyword "Splendid Nange" in the query command message, queries the video service module 2022 and obtains the information corresponding to the above query Related video information of keywords, the video information may include but not limited to video identification, video introduction, video duration, poster and other information.
404:服务器202将查询到的相关视频信息发送至聊天群组。404: The server 202 sends the queried related video information to the chat group.
具体地,对于前述例子,服务器202上的群组及消息管理模块2023将获取到的《锦绣南歌》的相关视频信息发送至畅连应用中对应的聊天群组,用户A所使用的手机201-1上的会话管理模块2015a或用户B所使用的手机201-2上的会话管理模块2015b均可以接收该视频信息,即手机201-1或手机201-2上运行的畅连应用接收《锦绣南歌》的相关视频信息。Specifically, for the aforementioned example, the group and message management module 2023 on the server 202 sends the acquired video information related to "Splendid Nange" to the corresponding chat group in the Changlian application, and the mobile phone 201 used by user A Both the session management module 2015a on -1 and the session management module 2015b on the mobile phone 201-2 used by user B can receive the video information, that is, the Changlian application running on the mobile phone 201-1 or the mobile phone 201-2 receives the "Splendid View" Related video information of "Nange".
405:手机201-1、201-2将聊天群组中接收到的视频信息转换为会话消息的形式显示。405: The mobile phones 201-1 and 201-2 convert the video information received in the chat group into conversation messages and display them.
具体地,手机201-1上的会话管理模块2015a将聊天群组中接收到的相关视频信息转换为会话消息的形式,并通过消息显示模块2012a显示在畅连应用中打开的聊天群组的聊天界面上;手机201-2上的会话管理模块2015b将聊天群组中接收到的相关视频信息转换为会话消息的形式,并通过消息显示模块2012b显示在畅连应用中打开的聊天群组的聊天界面上。其中,会话管理模块2015a或2015b转换得到的会话消息中包括上述相关视频信息。Specifically, the conversation management module 2015a on the mobile phone 201-1 converts the relevant video information received in the chat group into the form of a conversation message, and displays the chat information of the chat group opened in the Changlian application through the message display module 2012a. On the interface: the conversation management module 2015b on the mobile phone 201-2 converts the relevant video information received in the chat group into the form of a conversation message, and displays the chat of the chat group opened in the Changlian application through the message display module 2012b interface. Wherein, the conversation message converted by the conversation management module 2015a or 2015b includes the above-mentioned related video information.
例如对于前述例子,参考图5C所示,手机201-2上打开的畅连应用中对应打开的聊天界面,即图5C所示的群聊界面504b中显示包含《锦绣南歌》相关视频信息的会话消息510b,该会话消息510b上可以显示节目名称,例如图5C所示的锦绣南歌,会话消息510b中还可以显示播放按钮511b、智慧屏播放按钮512b以及显示聊天群503b中正在一起看视频的成员及人数的共享状态栏513b等。手机201-2上显示包含《锦绣南歌》相关视频信息的会话消息的界面参考图5C所示,在此不再赘述。For example, referring to the aforementioned example, as shown in FIG. 5C, the chat interface correspondingly opened in the Changlian application opened on the mobile phone 201-2, that is, the group chat interface 504b shown in FIG. Conversational message 510b, the program name can be displayed on the conversational message 510b, such as Splendid Nange shown in Figure 5C, the conversational message 510b can also display a play button 511b, a smart screen play button 512b, and a chat group 503b that is watching videos together The sharing status bar 513b of the members and the number of people. Refer to FIG. 5C for the interface of the mobile phone 201-2 displaying the conversation message including the video information related to "Splendid Nange", and details will not be repeated here.
在另一些实施例中,上述会话消息510b还可以包括多个节目,参考图5D所示,用户B在上述步骤401中编辑输入的查询信息为“@我的智慧屏最近热播”,服务器202查询到相关视频信息后将获取到的最近热播相关的视频信息发送到聊天群502b中,手机201-2上显示的包含最近热播视频信息的会话消息510b中则可以包括多个视频节目名称,例如图5D所示的节目名称1、节目名称2、节目名称3、节目名称4等等,每个节目名称下方可以显示该节目的热播程度,例如显示播放频次信息等;该会话消息510b中还可以包括对应于各节目名称的上述播放按钮511b,在该会话消息510b的下方,还可以提供一选项按钮,例如图5D所示的查看更多按钮514b,用户点击该按钮514b则可以打开更多节目列表。In other embodiments, the above-mentioned conversation message 510b may also include multiple programs. Referring to FIG. After inquiring about the relevant video information, the recent popular video information obtained will be sent to the chat group 502b, and the conversation message 510b containing the latest popular video information displayed on the mobile phone 201-2 can include multiple video program titles , such as program name 1, program name 2, program name 3, program name 4, etc. shown in FIG. It can also include the above-mentioned play button 511b corresponding to each program name, and an option button can also be provided under the conversation message 510b, such as the view more button 514b shown in Figure 5D, and the user can click the button 514b to open the More show listings.
可以理解,聊天群503中的各群成员所使用的手机等电子设备上运行具有上述图3所示的手机201-1或201-2的各模块的即时通信应用,均可以通过上述步骤401至步骤405请求并接服务器202查询得到的相关视频信息并转换为如上述图5C或图5D所示的会话消息510b显示在如图5C或图5D所示的群聊界面504b上,在此不再赘述。It can be understood that the instant messaging application with the modules of the mobile phone 201-1 or 201-2 shown in FIG. Step 405 requests and connects the relevant video information obtained from the query of the server 202 and converts it into a conversation message 510b as shown in FIG. 5C or 5D above and displays it on the group chat interface 504b as shown in FIG. repeat.
406:手机201-1检测到用户A点击聊天群组中包含相关视频信息的会话消息,以播放该视频的操作。406: The mobile phone 201-1 detects that user A clicks on a conversation message containing relevant video information in the chat group to play the video.
具体地,参考图6A所示,用户A可以在手机201-1上运行的畅连应用中所显示的群聊界面504a中点 击包含相关视频信息的会话消息510a中的播放按钮511a以在手机201-1上直接播放该视频,参考图6A所示的操作①。或者在另一些实施例中,用户A也可以点击群聊界面504a上的智慧屏播放按钮512a以在智慧屏上播放该视频,参考图6A所示的操作②,其中可以播放该视频的智慧屏可以与用户A的手机201-1以图2所示的系统互联。可以理解,用户A点击群聊界面504a上的共享状态栏513a也可以了解具体有哪些群成员正在观看该会话信息510a所对应的视频内容。Specifically, as shown in FIG. 6A , user A can click the play button 511a in the conversation message 510a containing relevant video information in the group chat interface 504a displayed in the Changlian application running on the mobile phone 201-1 to play on the mobile phone 201-1. Play the video directly on -1, refer to operation ① shown in Figure 6A. Or in some other embodiments, user A can also click the smart screen play button 512a on the group chat interface 504a to play the video on the smart screen, refer to the operation ② shown in Figure 6A, where the video can be played on the smart screen It can be interconnected with the mobile phone 201-1 of user A through the system shown in FIG. 2 . It can be understood that user A can also know which group members are watching the video content corresponding to the session information 510a by clicking the sharing status bar 513a on the group chat interface 504a.
可以理解,图6A所示的聊天群503a中其他群成员也可以点击会话消息以打开相关视频,在此不再赘述。It can be understood that other group members in the chat group 503a shown in FIG. 6A can also click on the conversation message to open the related video, which will not be repeated here.
另外,参考图6A所示,群聊界面504a的右上角还可以显示视频播放小窗515a,该视频播放小窗515a下方也可以通过共享状态栏513a显示该视频的实时观看人数。在另一些实施例中,参考图6B所示,如果上述步骤401中用户B所查询的视频信息中包含多个节目,例如上述最近热播相关的视频信息,则群聊界面504a上所显示的上述视频播放小窗515a则可以是图6B所示的形式,该视频播放小窗515a显示显示“节目名称1”有1人正在看,“节目名称2”有3人正在看,“节目名称3”有2人正在看,该视频播放小窗515a下方通过共享状态栏513a显示共计多少人正在一起看视频,例如6个人正在一起看视频。可以理解,如果聊天群组中各群成员观看的节目较多,例如有4个或者4个以上的节目时,用户还可以通过在视频播放小窗515a上向左滑动(参考图6B所示的操作③),以查看其它节目此时正在一起看的人数。In addition, as shown in FIG. 6A , the upper right corner of the group chat interface 504a can also display a video playback widget 515a, and the video playback widget 515a can also display the number of real-time viewers of the video through the sharing status bar 513a below the video playback widget 515a. In other embodiments, as shown in FIG. 6B , if the video information queried by user B in step 401 above contains multiple programs, such as the video information related to the most recent hit, the group chat interface 504a displays The above-mentioned video playback window 515a can be in the form shown in FIG. 6B. This video playback window 515a shows that "program name 1" has 1 person watching it, "program name 2" has 3 people watching it, and "program name 3" has 3 people watching it. 2 people are watching, and the sharing status bar 513a below the video playback window 515a shows how many people are watching the video together, for example, 6 people are watching the video together. It can be understood that if the group members in the chat group watch more programs, for example, when there are 4 or more programs, the user can also slide to the left on the video playback window 515a (refer to the Operate ③) to view the number of people who are watching other programs together at this time.
可以理解,上述视频播放小窗515a可以是悬浮窗口,在另一些实施例中,该视频播放小窗515a还可以显示在其他位置或者以其他形式显示,在此不做限制。It can be understood that the video playback widget 515a may be a floating window, and in other embodiments, the video playback widget 515a may also be displayed in other positions or in other forms, which is not limited here.
407:手机201-1响应于用户A的操作指令,打开相关视频信息,播放视频。407: The mobile phone 201-1 responds to user A's operation instruction, opens related video information, and plays the video.
具体地,手机201-1接收到用户A的点击播放按钮511a的操作指令后,视频播放模块2011a基于该会话消息510a中包含的相关视频信息中的视频标识,例如该视频标识为相关视频的身份识别码(identification number,ID),向服务器202中的视频服务模块2022请求相应的视频数据,开始播放相应视频。在另一些实施例中,手机201-1接收到用户A的点击智慧屏播放按钮512a的操作指令后,手机201-1基于与智慧屏之间的互联关系,可以调用智慧屏上的视频播放模块向服务器202中的视频服务模块2022请求相应的视频数据,开始播放相应视频。此时,参考图6A所示,用户A的头像上可以显示设备图标516a,该设备图标516a的放大示意图参考图6C所示。在另一些实施例中,显示设备图标516a还可以显示在其他位置或者以其他形式显示,在此不做限制。Specifically, after the mobile phone 201-1 receives the user A's operation instruction of clicking the play button 511a, the video playback module 2011a, based on the video identification in the related video information contained in the conversation message 510a, for example, the video identification is the identity of the related video An identification code (identification number, ID) requests corresponding video data from the video service module 2022 in the server 202, and starts playing the corresponding video. In other embodiments, after the mobile phone 201-1 receives the user A's operation instruction of clicking the smart screen play button 512a, the mobile phone 201-1 can call the video playback module on the smart screen based on the interconnection relationship with the smart screen. Request corresponding video data from the video service module 2022 in the server 202, and start playing the corresponding video. At this time, as shown in FIG. 6A , a device icon 516 a may be displayed on the avatar of user A, and an enlarged schematic diagram of the device icon 516 a is shown in FIG. 6C . In some other embodiments, the display device icon 516a may also be displayed in other positions or in other forms, which is not limited here.
408:手机201-1向服务器202同步发送视频播放数据。其中,该视频播放数据包括视频播放状态、播放进度等数据。408: The mobile phone 201-1 synchronously sends video playback data to the server 202. Wherein, the video playback data includes video playback status, playback progress and other data.
具体地,手机201-1上的视频播放模块2011a采集用户A通过手机201-1上运行的畅连应用进入观看视频的实时播放数据,即上述包括视频播放状态、播放进度信息等的视频播放数据,视频播放模块2011a将所采集的视频播放数据同步上报至服务器202的数据同步模块2021。可以理解,手机201-1上传的视频播放数据可以随畅连应用数据一同发送至数据同步模块2021中。Specifically, the video playback module 2011a on the mobile phone 201-1 collects the real-time playback data that user A enters to watch the video through the Changlian application running on the mobile phone 201-1, that is, the above-mentioned video playback data including video playback status, playback progress information, etc. , the video playing module 2011a synchronously reports the collected video playing data to the data synchronization module 2021 of the server 202 . It can be understood that the video playback data uploaded by the mobile phone 201-1 can be sent to the data synchronization module 2021 together with the Changlian application data.
409:服务器202接收并存储手机201-1上的视频播放数据。409: The server 202 receives and stores the video playback data on the mobile phone 201-1.
具体地,服务器202上的视频同步模块2021接收手机201-1发来的畅连应用数据中的视频播放数据后将其存储。可以理解,视频同步模块2021上还可以接收其他电子设备上传的同步数据,并将相应数据对应于不同用户在不同设备上登录的畅连等即时通信应用数据进行存储,在此不做限制。Specifically, the video synchronization module 2021 on the server 202 receives and stores the video playback data in the Changlian application data sent by the mobile phone 201-1. It can be understood that the video synchronization module 2021 can also receive synchronization data uploaded by other electronic devices, and store the corresponding data corresponding to instant messaging application data such as Changlian logged in by different users on different devices, and there is no limitation here.
410:服务器202向手机201-2同步发送已存储的手机201-1上的视频播放数据。410: The server 202 synchronously sends the stored video playback data on the mobile phone 201-1 to the mobile phone 201-2.
具体地,服务器202上的视频同步模块2021响应于用户请求将已存储的来自手机201-1上运行的畅连 应用中同步的视频播放数据发送给手机201-2上运行的畅连应用,以实现在手机201-1与手机201-2之间同步来自手机201-1上的视频播放数据。Specifically, the video synchronization module 2021 on the server 202 sends the stored video playback data synchronized from the Changlian application running on the mobile phone 201-1 to the Changlian application running on the mobile phone 201-2 in response to the user request, so as to The video playback data from the mobile phone 201-1 is synchronized between the mobile phone 201-1 and the mobile phone 201-2.
可以理解,如果用户B也在使用手机201-2或与手机201-2互联的智慧屏播放上述相关视频,则用户A的手机201-1同样可以获取到手机201-2上的视频播放数据,上述同步过程的实现参考上述步骤406至本步骤410,在此不再赘述。It can be understood that if the user B is also using the mobile phone 201-2 or the smart screen connected to the mobile phone 201-2 to play the above-mentioned related video, then the mobile phone 201-1 of the user A can also obtain the video playback data on the mobile phone 201-2, For the implementation of the above synchronization process, refer to the above step 406 to this step 410, which will not be repeated here.
可以理解,服务器202中的数据同步模块2021可以将聊天群组中一起看视频的各个成员使用的手机或智慧屏等电子设备上所播放视频的实时数据,同步发送至其他成员的手机或智慧屏等电子设备上。It can be understood that the data synchronization module 2021 in the server 202 can synchronously send the real-time data of the video played on electronic devices such as mobile phones or smart screens used by each member in the chat group to watch the video together to other members' mobile phones or smart screens and other electronic devices.
411:手机201-2接收并显示手机201-1上的视频播放数据。411: The mobile phone 201-2 receives and displays the video playback data on the mobile phone 201-1.
具体地,手机201-2上的视频播放模块2011b接收服务器202上的视频同步模块2021同步存储的来自手机201-1上的视频播放数据,并在手机201-2所运行的畅连应用中显示的视频播放窗口上显示该视频放播放数据,例如显示该视频放播放数据中的视频播放状态、视频播放进度等信息,其中,视频播放状态包括但不限于手机201-1是否正在播放上述相关视频、以及手机201-1上播放上述相关视频的播放、暂停状态或者快进播放、倍速播放等状态。Specifically, the video playback module 2011b on the mobile phone 201-2 receives the video playback data from the mobile phone 201-1 synchronously stored by the video synchronization module 2021 on the server 202, and displays it in the Changlian application running on the mobile phone 201-2. Display the video playback data on the video playback window of the video playback window, such as displaying information such as the video playback status and video playback progress in the video playback data, wherein the video playback status includes but is not limited to whether the mobile phone 201-1 is playing the above-mentioned related video , and the mobile phone 201-1 is playing the playing, pausing, or fast-forwarding, double-speed playing and other states of the above-mentioned relevant video.
参考图7所示,在手机201-2所运行的畅连应用上显示的视频播放窗口701b中,进度条702b显示视频总时长7021以及已经播放的时长7022,进度条702b上方还显示其他正在一起看视频的群成员观看该视频的进度位置,其中已经播放时长9022与进度位置相匹配,例如图7所示的本机用户B观看该视频的进度位置B 7023所对应的已经播放时长9022显示为“00:31:42”,用户A观看该视频的进度位置A 7024以及用户C观看该视频的进度位置C 7205,例如用户A观看该视频的时长较短,则图7所示的进度位置A 7024位于进度位置B 7023的左侧。如果用户B是通过与手机201-2互联的智慧屏观看该视频,则用户B的头像上还可以显示设备图标516b,例如该设备图标516b显示的是智慧屏图标,在此不做限制。另外,上述视频播放窗口701b上还包括退出按钮703b和退出一起看按钮704b,其中用户B点击退出按钮703b可以关闭视频播放窗口701b;用户B点击退出一起看按钮704b则可以继续观看视频,但视频播放窗口701b上不再显示其他一起看视频的成员的播放状态及播放进度等信息。As shown in FIG. 7 , in the video playback window 701b displayed on the Changlian application running on the mobile phone 201-2, the progress bar 702b displays the total video duration 7021 and the duration 7022 that has been played. The group members who watch the video watch the progress position of the video, wherein the played duration 9022 matches the progress position, for example, the progress position B 7023 corresponding to the progress position B 7023 of the local user B shown in Figure 7 shows the played duration 9022 as "00:31:42", the progress position A 7024 of user A watching the video and the progress position C 7205 of user C watching the video. For example, the duration of user A watching the video is shorter, then the progress position A shown in Fig. 7 7024 is to the left of progress position B 7023. If user B watches the video through a smart screen connected to the mobile phone 201-2, a device icon 516b may also be displayed on user B's avatar. For example, the device icon 516b displays a smart screen icon, which is not limited here. In addition, the video playback window 701b also includes an exit button 703b and an exit button 704b, wherein user B clicks the exit button 703b to close the video playback window 701b; user B clicks the exit button 704b to continue watching the video, but the video Information such as the playback status and playback progress of other members watching the video together is no longer displayed on the playback window 701b.
在另一些实施例中,视频播放窗口701b还可以显示其他成员播放视频的暂停或播放状态,例如进度位置C 7025上方可以通过状态气泡7026来显示用户C的电子设备上播放视频的暂停状态,参考图7所示。手机201-2显示手机201-1及其他成员的电子设备上的视频播放数据的形式还可以通过其他形式展示,在此不做限制。In some other embodiments, the video playback window 701b can also display the pause or playback status of other members playing the video, for example, the status bubble 7026 above the progress position C 7025 can display the pause status of the video playback on user C's electronic device, refer to Figure 7 shows. The mobile phone 201-2 may display the video playback data on the mobile phone 201-1 and the electronic devices of other members in other forms, which is not limited here.
可以理解,手机201-2显示手机201-1上的视频播放数据,还包括手机201-2显示的群聊界面504b上的视频播放小窗515b中显示的正在观看相应视频的成员中包括手机201-1所对应的用户A。It can be understood that the mobile phone 201-2 displays the video playback data on the mobile phone 201-1, and also includes the members who are watching the corresponding video displayed in the video playback window 515b on the group chat interface 504b displayed by the mobile phone 201-2, including the mobile phone 201 User A corresponding to -1.
本申请实施例介绍了本申请的视频共享方法在群聊中共享视频场景中的实施过程,用户通过本申请实施例所提供的视频共享方法能够快捷方便在群聊中共享视频,与聊天群组中的其他成员一起看视频。下面通过另一实施例二结合的另一应用场景,来介绍本申请的视频共享方法的另一实施过程。The embodiment of the present application introduces the implementation process of the video sharing method of the present application in the video sharing scene in the group chat. Through the video sharing method provided in the embodiment of the present application, the user can quickly and conveniently share the video in the group chat, and chat with the chat group Watch videos with other members of . Another implementation process of the video sharing method of the present application will be introduced below through another application scenario combined with another second embodiment.
实施例二Embodiment two
本申请实施例基于用户在群聊中一起看视频时切换到其它成员视角,或者切换至其他成员播放进度一起观看视频的场景,详细介绍本申请所提供的视频共享方法的实施过程。The embodiment of the present application introduces the implementation process of the video sharing method provided by the present application in detail based on the scene where the user switches to another member's perspective while watching the video together in the group chat, or switches to other members' playback progress to watch the video together.
图8示出了本申请实施例所提供的视频共享方法的具体实施流程。包括以下步骤:FIG. 8 shows a specific implementation process of the video sharing method provided by the embodiment of the present application. Include the following steps:
步骤801至810与上述实施例一中图4所描述的步骤401至410完全相同,在此不再赘述。Steps 801 to 810 are completely the same as steps 401 to 410 described in FIG. 4 in the first embodiment above, and will not be repeated here.
步骤811与上述实施例一中的步骤411的不同之处在于,在本申请实施例的步骤811中,手机201-2接 收并显示手机201-1上的视频播放数据时,所显示的视频播放窗口的界面与上述实施例一中的图7所示有所不同。The difference between step 811 and step 411 in the first embodiment above is that, in step 811 of the embodiment of the present application, when the mobile phone 201-2 receives and displays the video playback data on the mobile phone 201-1, the displayed video playback The interface of the window is different from that shown in FIG. 7 in the first embodiment above.
图9示出了本申请实施例所提供的视频播放窗口界面示意图。FIG. 9 shows a schematic diagram of a video playback window interface provided by the embodiment of the present application.
如图9所示,在本申请实施例的手机201-2显示屏显示用户B视角的视频播放窗口901b中,进度条902b显示视频总时长9021以及已经播放时长9022,进度条902b上方还显示其他正在一起看视频的群成员观看该视频的进度位置,其中已经播放时长9022与进度位置相匹配,例如图9所示的本机用户B观看该视频的进度位置B 9023、用户A观看该视频的进度位置A 9024以及用户C观看该视频的进度位置C 9205,因此在图9显示的用户B视角中,用户B的进度位置B 9023对应的已经播放时长9022显示为“01:02:19”。另外,视频播放窗口901b还显示退出按钮903b、退出一起看按钮904b以及音视频通话按钮905b,其中,用户B点击音视频通话按钮905b可以向聊天群504b中的任意成员发起音视频通话,可以理解,用户B点击音视频通话按钮905b也可以选择聊天群504b中的多个成员发起群语音通话或群视频通话。As shown in Figure 9, in the mobile phone 201-2 display screen of the embodiment of the present application, in the video playback window 901b showing the perspective of user B, the progress bar 902b displays the total video duration 9021 and the already played duration 9022, and other video clips are displayed above the progress bar 902b The group members who are watching the video together watch the progress position of the video, wherein the playing duration 9022 matches the progress position, such as the progress position B 9023 of the local user B watching the video shown in Figure 9, and the progress position B 9023 of the user A watching the video. The progress position A 9024 and the progress position C 9205 of the video watched by the user C, so in the view of the user B shown in FIG. In addition, the video playback window 901b also displays an exit button 903b, an exit and watch button 904b, and an audio and video call button 905b, wherein user B can initiate an audio and video call to any member of the chat group 504b by clicking the audio and video call button 905b, understandably , user B can also select multiple members in the chat group 504b to initiate a group voice call or group video call by clicking the audio and video call button 905b.
如图9所示,在视频播放窗口901b中,其他成员头像上方还可以显示切换视角按钮以及切换进度按钮,用户可以点击想要切换视角或进度的目标对象的头像弹出上述两个按钮。例如用户B点击用户A的头像(参考图9所示的操作④),则用户A的头像上方显示切换视角按钮906b和切换进度按钮907b,作为示意,切换视角按钮906b可以显示为“切换至TA的视角”,切换进度按钮907b可以显示为“同步到TA的进度”,在另一些实施例中,切换视角按钮和切换进度按钮的显示形式以及显示内容还可以是其他,在此不做限制。As shown in FIG. 9 , in the video playback window 901b, buttons for switching perspectives and progress buttons can be displayed above other members' avatars, and the user can click the avatar of the target object who wants to switch perspectives or progress to pop up the above two buttons. For example, user B clicks on user A's avatar (refer to operation ④ shown in FIG. 9 ), and then user A's avatar will display a switching angle of view button 906b and a switching progress button 907b. As an illustration, the switching angle of view button 906b can be displayed as "Switch to TA Angle of view", the switching progress button 907b may be displayed as "synchronized to TA's progress". In other embodiments, the display form and display content of the switching viewing angle button and switching progress button may also be other, which is not limited here.
参考上述图3所示的通信系统软软件架构和图9所示,用户A观看视频的进度在用户B视角视频播放窗口901b上以进度位置A显示,当用户B点击进度位置A上用户A的头像并点击切换视角按钮906b时,手机201-2上的视频播放模块2011b基于从服务器202的数据同步模块2021获取手机201-1上的视频播放数据,手机201-2上运行的畅连应用可以响应于用户B的操作显示此时用户A视角的视频播放窗口(参考下图10C所示的901a);其中,该视频播放数据中包括视频播放进度以及视频播放过程中全部用户发表的评论弹幕等数据,手机201-2上的视频播放模块2011b还可以获取用户A的音视频通话的状态数据等,以在上述切换视角的过程中,同步显示用户A视角的音视频通话窗口。With reference to the software architecture of the communication system shown in FIG. 3 and shown in FIG. 9, the progress of user A watching the video is displayed at progress position A on user B’s perspective video playback window 901b. When user B clicks on user A’s progress position A When the avatar and click the button 906b to switch angles of view, the video playback module 2011b on the mobile phone 201-2 obtains the video playback data on the mobile phone 201-1 based on the data synchronization module 2021 of the server 202, and the Changlian application running on the mobile phone 201-2 can In response to user B's operation, the video playback window from user A's perspective is displayed at this time (refer to 901a shown in Figure 10C below); wherein, the video playback data includes video playback progress and comment barrages issued by all users during video playback and other data, the video playback module 2011b on the mobile phone 201-2 can also acquire the status data of user A's audio and video call, etc., so as to synchronously display the audio and video call window of user A's perspective during the above-mentioned process of switching perspectives.
可以理解,在另一些实施例中,上述切换视角的过程中也可以通过弹窗通知询问用户A是否同意用户B切换到自己的视角观看视频以及是否授权用户B切换视角后获取手机201-1上的音视频通话的状态数据等,在此不再赘述。It can be understood that, in some other embodiments, during the above-mentioned process of switching the viewing angle, user A may also be notified through a pop-up window to ask whether user A agrees to switch user B to watch the video from his own viewing angle and whether to authorize user B to switch the viewing angle to obtain the video on the mobile phone 201-1. The status data of the audio and video call, etc., will not be repeated here.
同样地,当用户B点击进度位置A上用户A的头像并点击切换进度按钮907b,手机201-2上的视频播放模块2011b基于获取的用户A的视频播放数据跳转至用户A此时观看该视频的播放进度上继续观看该视频。Similarly, when user B clicks the avatar of user A on the progress position A and clicks the switch progress button 907b, the video playback module 2011b on the mobile phone 201-2 jumps to user A to watch the video based on the acquired video playback data of user A. Continue watching the video while the video is in progress.
可以理解,用户B切换至用户A的视角或切换至用户A的进度的过程中,用户A和用户B可以保持音视频通话,进行交流互动,讨论该视频中的精彩片段等。It can be understood that during the process of user B switching to user A's perspective or switching to user A's progress, user A and user B can maintain audio and video calls, communicate and interact, discuss highlights in the video, and so on.
上述过程详见下述步骤812至815中相关描述,在此不再赘述。For the above process, refer to the relevant description in the following steps 812 to 815 for details, and details are not repeated here.
812:手机201-2检测到用户B发起音视频通话的操作。812: The mobile phone 201-2 detects that user B initiates an audio and video call.
具体地,用户B在手机201-2运行的畅连应用上显示的视频播放窗口901b中点击音视频通话按钮905b,选择通话对象后,点击确定发起语音通话或视频通话。Specifically, user B clicks the audio and video call button 905b in the video playback window 901b displayed on the Changlian application running on the mobile phone 201-2, selects a call partner, and clicks OK to initiate a voice call or video call.
参考图10A所示,用户B点击音视频通话按钮905b时,手机201-2上显示聊天群504b中的群成员列表1001,用户B点击用户A、用户C后的勾选框1002,并点击群成员列表右上方的确定按钮1003,即可向用户A、用户C发起语音通话或视频通话。Referring to Fig. 10A, when user B clicks the audio and video call button 905b, the mobile phone 201-2 displays a list of group members 1001 in the chat group 504b, and user B clicks the check box 1002 behind user A and user C, and clicks the group member list 1001. The OK button 1003 on the upper right of the member list can initiate a voice call or video call to user A and user C.
813:手机201-2响应于用户B的操作,通过服务器202向手机201-1发起语音通话或视频通话。813: The mobile phone 201-2 initiates a voice call or a video call to the mobile phone 201-1 through the server 202 in response to the user B's operation.
具体地,手机201-2上的视频通话模块2011b响应于用户B发起音视频通话的操作,向音视频通话模块2013b发送发起通话的指令,音视频通话模块2013b发起语音或视频通话,并通过会话管理模块2015b发送或接收通话消息,手机201-2上的会话管理模块2015b通过服务器202上的群组及消息管理模块2023与手机201-1上的会话管理模块2015a之间同步会话消息,实现手机201-2与手机201-1之间的音视频通话,即用户B与用户A之间所进行的音视频通话。同样地,用户B向用户C发起音视频通话的过程与上述过程相同,在此不再赘述。Specifically, the video call module 2011b on the mobile phone 201-2 responds to user B's operation of initiating an audio and video call, and sends an instruction to initiate a call to the audio and video call module 2013b, and the audio and video call module 2013b initiates a voice or video call, and through the conversation The management module 2015b sends or receives call messages, and the session management module 2015b on the mobile phone 201-2 synchronizes session messages with the session management module 2015a on the mobile phone 201-1 through the group and message management module 2023 on the server 202, so as to realize the The audio and video call between 201-2 and mobile phone 201-1 is the audio and video call between user B and user A. Similarly, the process of user B initiating an audio and video call to user C is the same as the above process, and will not be repeated here.
参考图10B所示,用户B向用户A、用户C成功发起音视频通话后,手机201-2上显示的用户B视角下的视频播放窗口901b中显示音视频通话窗口1004,该音视频通话窗口1004上显示用户A的视频窗口1005、用户C的视频窗口1006以及用户B的通话窗口1007,可以理解,视频窗口1005中显示的画面是用户A的手机201-1的摄像头采集并通过服务器202上的数据同步模块2021同步的图像数据,同样地,视频窗口1006、通话窗口1007分别是用户C所使用的电子设备上的摄像头、以及用户B的手机201-2上的摄像头所采集的图像数据。Referring to FIG. 10B , after user B successfully initiates an audio and video call to user A and user C, an audio and video call window 1004 is displayed in the video playback window 901b from the perspective of user B displayed on the mobile phone 201-2. 1004 displays the video window 1005 of user A, the video window 1006 of user C, and the call window 1007 of user B. It can be understood that the picture displayed in the video window 1005 is collected by the camera of user A's mobile phone 201-1 and passed through the server 202. The image data synchronized by the data synchronization module 2021. Similarly, the video window 1006 and the call window 1007 are the image data collected by the camera on the electronic device used by user C and the camera on the mobile phone 201-2 of user B respectively.
回到图10B所示,视频通话窗口1004上还显示退出/切换到语音按钮1008,用户B可以点击该按钮1008将正在进行的视频通话切换为语音通话或者退出当前正在进行视频通话。如图10B所示,用户B的视角下,用户A的视频窗口1005、用户C的视频窗口1006可以显示为大窗口或者显示为前置窗口,符合用户的通话习惯。在另一些实施例中,上述音视频通话窗口1004还可以显示为其他形式,在此不做限制。Referring back to FIG. 10B , the video call window 1004 also displays an exit/switch to voice button 1008 , and user B can click the button 1008 to switch the ongoing video call to a voice call or exit the currently ongoing video call. As shown in FIG. 10B , from the perspective of user B, the video window 1005 of user A and the video window 1006 of user C can be displayed as a large window or as a front window, which conforms to the user's calling habits. In other embodiments, the audio and video call window 1004 may also be displayed in other forms, which are not limited here.
814:手机201-2检测到用户B切换到他人进度的操作,切换到用户A的播放进度继续播放视频。814: The mobile phone 201-2 detects that user B switches to another person's progress, and switches to user A's playback progress to continue playing the video.
具体地,用户B在手机201-2运行的畅连应用上显示的视频播放窗口901b中点击用户A的头像(参考上述图9所示的操作④),在用户A的头像上方显示切换视角按钮906b和切换进度按钮907b后,点击切换进度按钮907b(参考图10B所示的操作⑤),选择切换到用户A的播放进度。手机201-2上的视频播放模块2011b响应于用户B的操作,基于与服务器202上的数据同步模块2021同步的用户A的视频播放数据,例如视频播放进度以及视频播放过程中全部用户发表的评论弹幕等数据,将当前手机201-2上播放相应视频的进度调整为用户A同步的视频播放进度,即切换到用户B的手机201-2播放相应视频的进度切换到了用户A的播放进度。可以理解,当用户B切换至用户A的播放进度后,用户B之前观看视频的进度则被用户A的播放进度替换,用户B之前的播放进度清除。Specifically, user B clicks the avatar of user A in the video playback window 901b displayed on the Changlian application running on the mobile phone 201-2 (refer to the operation ④ shown in FIG. 9 above), and a button to switch viewing angles is displayed above the avatar of user A. After 906b and the switching progress button 907b, click the switching progress button 907b (refer to operation ⑤ shown in FIG. 10B ), and select to switch to user A's playing progress. The video playback module 2011b on the mobile phone 201-2 responds to the operation of user B, based on the video playback data of user A synchronized with the data synchronization module 2021 on the server 202, such as video playback progress and comments issued by all users in the video playback process Barrage and other data, adjust the progress of playing the corresponding video on the current mobile phone 201-2 to the video playback progress synchronized by user A, that is, the progress of playing the corresponding video on the mobile phone 201-2 switched to user B is switched to the playback progress of user A. It can be understood that when user B switches to user A's playback progress, user B's previous video viewing progress is replaced by user A's playback progress, and user B's previous playback progress is cleared.
可以理解,切换进度按钮907b的功能有利于用户共享视频内容中的同一画面,例如用户B在与用户A视频通话的过程中交流视频内容,为便于交流,用户B将当前的视频播放进度切换至用户A的播放进度。It can be understood that the function of the switching progress button 907b is beneficial for users to share the same picture in the video content. For example, user B communicates video content during a video call with user A. For the convenience of communication, user B switches the current video playback progress to User A's playback progress.
815:手机201-2检测到用户B切换至他人视角的操作,切换至用户A的视角观看视频。815: The mobile phone 201-2 detects that user B switches to another person's perspective, and switches to user A's perspective to watch the video.
具体地,用户B在手机201-2运行的畅连应用上显示的视频播放窗口901b中点击用户A的头像(参考上述图9所示的操作④),在用户A的头像上方显示切换视角按钮906b和切换进度按钮907b后,点击切换视角按钮906b(参考图10B所示的操作⑥),选择切换到用户A的视角。手机201-2上的视频播放模块2011b响应于用户B的操作,获取通过服务器202上的数据同步模块2021同步的用户A的视频播放数据,例如视频播放进度以及视频播放过程中全部用户发表的评论弹幕等数据,将当前手机201-2所显示的画面显示为用户A的手机201-1上所显示的视频播放窗口901a,视频播放模块2011b还可以获取用户A通过畅连应用进行的音视频通话数据,例如显示用户A此时正在进行音视频通话的窗口状态等数据,视频播放模块2011b基于获取的上述视频播放数据以及音视频通话的窗口状态等数据将手机201-2上的视频播放窗口901b切换至手机201-1上显示的用户A视角的视频播放窗口901a。参考图10C所示,此时,切换至用户A视角的视 频播放窗口901a后,音视频通话窗口1004中用户A的视频窗口1005与用户B的视频窗口1007显示的位置已与图10B所示不同;另外,用户A头像下方的进度位置9024突出显示,并且已经播放时长9022也显示为“00:35:50”。此时,手机201-2上显示的视频播放窗口901b上还可以显示退出按钮1009,用户B点击该按钮1009可以退出用户A的视角并切回自己的视角,即用户B点击该按钮1009后,手机201-2所显示画面由图10C所示画面变换为图10B所示画面。Specifically, user B clicks the avatar of user A in the video playback window 901b displayed on the Changlian application running on the mobile phone 201-2 (refer to the operation ④ shown in FIG. 9 above), and a button to switch viewing angles is displayed above the avatar of user A. After 906b and the switch progress button 907b, click the switch view angle button 906b (refer to the operation ⑥ shown in FIG. 10B ), and select to switch to the view angle of user A. The video playback module 2011b on the mobile phone 201-2 responds to the operation of user B, and obtains the video playback data of user A synchronized by the data synchronization module 2021 on the server 202, such as video playback progress and comments issued by all users in the video playback process Barrage and other data, the screen currently displayed on the mobile phone 201-2 is displayed as the video playback window 901a displayed on the mobile phone 201-1 of user A, and the video playback module 2011b can also obtain the audio and video performed by user A through the Changlian application Call data, such as displaying data such as the window status of the audio and video call that user A is currently making, the video playback module 2011b displays the video playback window on the mobile phone 201-2 based on the obtained data such as the above video playback data and the window status of the audio and video call. 901b switches to the video playback window 901a displayed on the mobile phone 201-1 from the perspective of user A. Referring to FIG. 10C , at this time, after switching to the video playback window 901a from the perspective of user A, the display positions of user A’s video window 1005 and user B’s video window 1007 in the audio and video call window 1004 are different from those shown in FIG. 10B ; In addition, the progress position 9024 below the user A's avatar is highlighted, and the elapsed playing time 9022 is also displayed as "00:35:50". At this time, the video playback window 901b displayed on the mobile phone 201-2 can also display an exit button 1009, and user B can click this button 1009 to exit user A's perspective and switch back to his own perspective, that is, after user B clicks this button 1009, The screen displayed on the mobile phone 201-2 is converted from the screen shown in FIG. 10C to the screen shown in FIG. 10B.
可以理解,切换视角按钮906b的功能有利于用户共享视频内容中的同一画面,例如用户B在与用户A视频通话的过程中交流视频内容,为便于交流,用户B将当前的手机显示画面切换至用户A的视角与A讨论交流。It can be understood that the function of switching angle of view button 906b is beneficial for users to share the same picture in video content. For example, user B communicates video content during a video call with user A. In order to facilitate communication, user B switches the current display screen of the mobile phone to Discuss and communicate with user A from the perspective of user A.
可以理解,用户B在进行切换至用户A视角的操作时,手机201-2可以通过服务器202向手机201-1发送“是否同意切换视角”的确认通知,用户A在手机201-1上点击“确认”或“同意”后,用户B的手机201-2方能切换至用户A视角继续播放视频。It can be understood that when user B performs an operation of switching to user A's perspective, the mobile phone 201-2 can send a confirmation notification "whether you agree to switch the perspective" to the mobile phone 201-1 through the server 202, and user A clicks on the mobile phone 201-1 " After confirming" or "agreeing", the mobile phone 201-2 of user B can switch to the perspective of user A to continue playing the video.
在另一些实施例中,用户切换至他人视角的操作方式以及用户所使用的手机等电子设备上的画面变换形式可以为其他,在此不做限制。In some other embodiments, the operation mode for the user to switch to another person's perspective and the screen transformation form on the electronic device such as the mobile phone used by the user may be other, which is not limited here.
可以理解,上述步骤812至813、步骤814以及步骤815之间并没有先后执行顺序的要求,在另一些实施例中,可以先执行步骤812至813、步骤815,再执行步骤814;或者先执行步骤814或步骤815,再执行步骤812至813,在此不做限制。It can be understood that there is no requirement for the sequence of execution among the above steps 812 to 813, step 814 and step 815. In other embodiments, steps 812 to 813 and step 815 can be executed first, and then step 814 is executed; or Step 814 or step 815, and then execute steps 812 to 813, which are not limited here.
本申请实施例介绍了本申请的视频共享方法在群聊中一起看视频时切换到其它成员视角,或者切换至其他成员播放进度一起观看视频的场景中的实施过程,用户通过本申请实施例所提供的视频共享方法能够实现切换至他人视角或者切换至他人进度观看视频,还可以支持在视频播放界面向聊天群组中的其他成员发送语音通话或视频通话邀请进行交流互动,增加了聊天群组中各成员一起看视频的互动乐趣,提高用户体验。下面通过另一实施例二结合的另一应用场景,来介绍本申请的视频共享方法的另一实施过程。The embodiment of the present application introduces the implementation process of the video sharing method of the present application in the scene of switching to other members’ perspectives when watching a video together in a group chat, or switching to other members’ playing progress to watch the video together. The provided video sharing method can realize switching to other people's perspectives or switching to other people's progress to watch videos, and can also support sending voice calls or video call invitations to other members in the chat group on the video playback interface for communication and interaction, adding chat groups Members in the group can enjoy the interactive fun of watching videos together and improve user experience. Another implementation process of the video sharing method of the present application will be introduced below through another application scenario combined with another second embodiment.
实施例三Embodiment three
本申请实施例基于用户在群聊中一起看视频时,意图在视频播放窗口点击评论跳转至相应进度的场景,详细介绍本申请所提供的视频共享方法的实施过程。The embodiment of the present application introduces the implementation process of the video sharing method provided by the present application in detail based on the scene where the user intends to click a comment in the video playback window to jump to the corresponding progress while watching the video together in the group chat.
图11示出了本申请实施例所提供的视频共享方法的具体实施流程,包括以下步骤:Figure 11 shows the specific implementation process of the video sharing method provided by the embodiment of the present application, including the following steps:
步骤1101至步骤1110与上述实施例一中图4所描述的步骤401至410相同,在此不再赘述。Steps 1101 to 1110 are the same as steps 401 to 410 described in FIG. 4 in the first embodiment above, and will not be repeated here.
步骤1111与上述实施例一中的步骤411的不同之处在于,在本申请实施例的步骤1111中,手机201-2接收并显示手机201-1上的视频播放数据时,所显示的视频播放窗口的界面与上述实施例一中的图7所示有所不同。The difference between step 1111 and step 411 in the first embodiment above is that, in step 1111 of the embodiment of the present application, when the mobile phone 201-2 receives and displays the video playback data on the mobile phone 201-1, the displayed video playback The interface of the window is different from that shown in FIG. 7 in the first embodiment above.
图12示出了本申请实施例所提供的视频播放窗口界面示意图。FIG. 12 shows a schematic diagram of a video playback window interface provided by the embodiment of the present application.
如图12所示,在本申请实施例的手机201-2显示屏显示的视频播放窗口121b中,进度条122b显示视频总时长1221以及已经播放时长1222,进度条122b上方还显示其他正在一起看视频的群成员观看该视频的进度位置,其中已经播放时长1222与进度位置相匹配,例如图12所示的本机用户B观看该视频的进度位置B 1223、用户A观看该视频的进度位置A 1224以及用户C观看该视频的进度位置C 1225,在图12显示的用户B视角的视频播放窗口121b中,用户B的进度位置B 1223对应的已经播放时长1222显示为“01:02:19”。另外,视频播放窗口121b还显示退出按钮123b、退出一起看按钮124b以及发评论按钮126,其中,用户B点击音视频通话按钮905b可以向聊天群504b中的任意成员发起音视频通话,参考上述实施例二中图10及相关描述,在此不再赘述;用户B点击发评论按钮126可以发表评论消息,用户B发表的评 论消息可以以弹幕1262b的形式展示在视频播放窗口121b上,同样地,用户A发表的评论消息可以显示为图12所示的弹幕1261a,用户C发表的评论消息可以显示为图12所示的弹幕1261c。视频播放窗口121b上还可以显示查看更多评论按钮1262,用户B点击该按钮1262可以查看更多自己及其他成员针对所播放视频发表的评论消息。As shown in Figure 12, in the video playback window 121b displayed on the mobile phone 201-2 display screen of the embodiment of the present application, the progress bar 122b shows the total video duration 1221 and the already played duration 1222. The group members of the video watch the progress position of the video, wherein the playback duration 1222 matches the progress position, such as the progress position B 1223 of the local user B watching the video shown in Figure 12, and the progress position A of the user A watching the video 1224 and user C watching the progress position C 1225 of the video, in the video playback window 121b of the user B perspective shown in Figure 12, the progress position B 1223 of user B corresponding to the already played duration 1222 is displayed as "01:02:19" . In addition, the video playback window 121b also displays an exit button 123b, an exit and watch button 124b, and a comment button 126, wherein user B clicks the audio and video call button 905b to initiate an audio and video call to any member in the chat group 504b, referring to the above implementation Figure 10 and related descriptions in Example 2 are not repeated here; user B clicks the comment button 126 to publish a comment message, and the comment message issued by user B can be displayed on the video playback window 121b in the form of a barrage 1262b, similarly 12, the comment message published by user A may be displayed as a barrage message 1261a shown in FIG. 12, and the comment message posted by user C may be displayed as a barrage message 1261c shown in FIG. The view more comment button 1262 can also be displayed on the video playback window 121b, and user B can click this button 1262 to view more comment messages issued by himself and other members for the played video.
如图12所示,视频播放窗口121b中显示的弹幕1261a、1261b以及1261c上不仅包括评论消息1270,还包括用户发表该评论消息时刻对应的播放进度信息1271。As shown in FIG. 12 , the bullet screens 1261 a , 1261 b , and 1261 c displayed in the video playback window 121 b not only include a comment message 1270 , but also include playback progress information 1271 corresponding to the moment when the user publishes the comment message.
参考上述图3所示的通信系统架构和图12所示,手机201-2的视频播放模块2011b检测到用户B在手机201-2运行的畅连应用上显示的视频播放窗口121b中点击发评论按钮126发表评论消息的操作,依次通过消息发送模块2014b、会话管理模块2015b以及消息显示模块2012b将用户B所发表的评论消息以及相应时刻的视频播放进度信息融合后以弹幕形式显示在视频播放窗口121b,即上述图12所示的弹幕1261b。当其他用户单击该弹幕1261b时,便可选择跳转至相应的视频播放进度播放该视频。同样地,用户A、用户C所发表的评论显示为弹幕1261a、1261c的过程参考上述弹幕1261b的显示过程。以上弹幕显示过程详见下述步骤1112至1114中相关描述,在此不再赘述。Referring to the above-mentioned communication system architecture shown in FIG. 3 and FIG. 12, the video playback module 2011b of the mobile phone 201-2 detects that user B clicks to post a comment in the video playback window 121b displayed on the Changlian application running on the mobile phone 201-2. The button 126 publishes the operation of the comment message, through the message sending module 2014b, the session management module 2015b and the message display module 2012b in turn, the comment message published by user B and the video playback progress information at the corresponding time are fused and displayed on the video playback in the form of bullet screens. The window 121b is the barrage 1261b shown in FIG. 12 above. When other users click on the barrage 1261b, they can choose to jump to the corresponding video playback progress to play the video. Similarly, for the process of displaying the comments published by users A and C as bullet chatting 1261a and 1261c, refer to the display process of bullet chatting 1261b above. For the above barrage display process, please refer to the relevant descriptions in the following steps 1112 to 1114, which will not be repeated here.
1112:手机201-2检测到用户B发表评论的操作。1112: The mobile phone 201-2 detects that user B posts a comment.
具体地,用户B在手机201-2运行的畅连应用上显示的视频播放窗口121b中,点击发评论按钮126,编辑输入评论信息后点击发表评论。Specifically, the user B clicks the post comment button 126 in the video playback window 121b displayed on the Changlian application running on the mobile phone 201-2, edits and enters comment information, and then clicks post comment.
参考图12所示的操作⑦,用户B点击发评论按钮126时,手机201-2上显示输入法界面128供用户编辑输入评论信息,用户完成编辑输入后点击发表按钮129即可发表评论。With reference to the operation shown in Figure 12 ⑦, when user B clicks the comment button 126, the input method interface 128 is displayed on the mobile phone 201-2 for the user to edit and input comment information.
1113:手机201-2响应于用户B的操作,通过服务器202同步用户B发表的评论消息。1113: The mobile phone 201-2, in response to the operation of the user B, synchronizes the comment message published by the user B through the server 202.
具体地,手机201-2上的视频通话模块2011b响应于用户B发表评论的操作,获取用户通过在畅连应用上的视频播放窗口121b调起的输入法界面编辑输入的评论信息,视频通话模块2011b将上述评论信息以及用户发评论时对应的视频播放进度信息(例如用户B点击视频播放窗口121b上的发评论按钮126时所对应的视频播放进度信息)一起经由消息发送模块2014b发送给会话管理模块2015b,会话管理模块2015b将接收到的评论信息和相应的进度信息进行整合转换为带有进度信息的评论消息。手机201-2上的会话管理模块2015b通过服务器202上的群组及消息管理模块2023与手机201-1上的会话管理模块2015a之间同步上述带有进度信息的评论消息;手机201-1上的会话管理模块2015a接收到服务器202同步的上述带有进度信息的评论消息后,发送给消息显示模块2012a,消息显示模块2012a将需要显示的上述评论消息发送给视频播放模块2011a,手机201-1上视频播放模块2011a将上述评论消息连同历史评论消息一同显示在手机201-1上显示的视频播放窗口上。同时,手机201-2上的视频播放窗口121b上也显示上述评论消息以及历史评论消息,其显示过程与上述手机201-1上显示评论消息的过程相同,在此不再赘述。Specifically, the video call module 2011b on the mobile phone 201-2 responds to user B's operation of posting a comment, and obtains the comment information input by the user through the input method interface edited by the video playback window 121b on the Changlian application, and the video call module 2011b sends the above comment information and the corresponding video playback progress information when the user makes a comment (for example, the video playback progress information corresponding to when user B clicks the comment button 126 on the video playback window 121b) to the session manager via the message sending module 2014b Module 2015b, the session management module 2015b integrates the received comment information and corresponding progress information into a comment message with progress information. The session management module 2015b on the mobile phone 201-2 synchronizes the above-mentioned comment message with progress information through the group and message management module 2023 on the server 202 and the session management module 2015a on the mobile phone 201-1; After the session management module 2015a of the server 202 receives the above-mentioned comment message with progress information synchronized by the server 202, it sends it to the message display module 2012a, and the message display module 2012a sends the above-mentioned comment message to be displayed to the video playback module 2011a, and the mobile phone 201-1 The upper video playback module 2011a displays the above comment message together with historical comment messages on the video playback window displayed on the mobile phone 201-1. At the same time, the video playback window 121b on the mobile phone 201-2 also displays the comment messages and historical comment messages, and the display process is the same as the process of displaying comment messages on the mobile phone 201-1, which will not be repeated here.
在另一些实施例中,用户发评论时对应的视频播放进度信息也可以是用户编辑完评论信息后点击发表按钮129时所对应的视频播放进度信息。In some other embodiments, the video playback progress information corresponding to when the user posts a comment may also be the video playback progress information corresponding to when the user clicks the publish button 129 after editing the comment information.
同样地,用户A、用户C发表评论的过程与上述过程相同,在此不再赘述。参考上述评论消息的发表及显示过程,即实现了手机201-2和手机201-1的显示屏上同步显示该带有进度信息的评论消息,参考图12所示的弹幕1261a、1261b以及1261c。Similarly, the process for user A and user C to post comments is the same as the above process, and will not be repeated here. Referring to the publication and display process of the comment message above, the comment message with progress information is synchronously displayed on the display screens of the mobile phone 201-2 and the mobile phone 201-1, referring to the barrage 1261a, 1261b and 1261c shown in Figure 12 .
1114:手机201-2检测到用户B点击弹幕切换播放进度的操作,切换至该弹幕所对应的播放进度继续播放视频。1114: The mobile phone 201-2 detects that user B taps the barrage to switch the playback progress, and switches to the playback progress corresponding to the barrage to continue playing the video.
具体地,参考图13A所示,用户B点击手机201-2运行的畅连应用上显示的视频播放窗口121b中的弹 幕1261a(参考图13A所示的操作⑧),在该条弹幕1261a上方可以显示点赞按钮1301、加一发表按钮1302以及切换至该进度按钮1303,用户B点击点赞按钮1301可以点赞该条弹幕1261a所显示的评论消息,用户B点击加一发表按钮1302可以复制该条弹幕1261a所显示的评论消息作为自己发表评论的内容进行发表评论;另外,用户B点击切换至该进度按钮1303,手机201-2上的视频播放模块2011b可以将目前观看视频的进度切换至该条评论发表时间所对应的视频播放进度,切换后的视频播放窗口121b可以参考图13B所示,此时用户B的进度位置B 1223对应的已经播放时长1222为弹幕1261a上显示的“00:31:42”,在这一播放进度之后发表的评论所对应的弹幕1261b和1261c则不会显示在视频播放窗口121b中。Specifically, as shown in FIG. 13A , user B clicks on the bullet screen 1261a in the video playback window 121b displayed on the Changlian application running on the mobile phone 201-2 (refer to the operation ⑧ shown in FIG. 13A ), and in the bullet screen 1261a The like button 1301, plus one post button 1302 and switch to the progress button 1303 can be displayed on the top, user B clicks the like button 1301 to like the comment message displayed on the barrage 1261a, and user B clicks plus one post button 1302 Can copy the comment message shown in this barrage 1261a to post a comment as the content of commenting; The progress is switched to the video playback progress corresponding to the posting time of this comment, and the video playback window 121b after switching can be shown in FIG. "00:31:42", the barrage 1261b and 1261c corresponding to the comments published after this playback progress will not be displayed in the video playback window 121b.
可以理解,用户B在图13A所示的视频播放窗口121b中还可以点击弹幕1261b或1261c并切换至该弹幕所对应的播放进度,其他用户也可以点击其使用的电子设备上显示的弹幕并切换至该弹幕所对应的播放进度,在此不做限制。其中,其他用户例如用户A在手机201-1上点击弹幕跳转至弹幕评论消息所对应的播放进度的过程,参考上述过程描述,在此不再赘述。It can be understood that user B can also click on the bullet chat 1261b or 1261c in the video playback window 121b shown in FIG. 13A and switch to the playback progress corresponding to the bullet chat. screen and switch to the playback progress corresponding to the bullet screen, there is no limit here. Wherein, for other users, such as user A, to click on the bullet screen on the mobile phone 201-1 to jump to the playback progress corresponding to the bullet screen comment message, please refer to the above description of the process, and will not go into details here.
本申请实施例介绍了本申请的视频共享方法在群聊中一起看视频时点击评论跳转播放进度的场景中的实施过程,用户通过本申请实施例所提供的视频共享方法,不仅可以点击弹幕上他人发送的评论消息进行点赞或者加一发表等操作,还可以选择切换至该评论发表时对应的视频播放进度,增加了聊天群组中各成员一起看视频的互动乐趣,提高用户体验。下面通过另一实施例二结合的另一应用场景,来介绍本申请的视频共享方法的另一实施过程。The embodiment of the present application introduces the implementation process of the video sharing method of the present application in the scene of clicking a comment to jump to the playback progress when watching a video together in a group chat. Through the video sharing method provided by the embodiment of the present application, the user can not only click on the You can choose to switch to the video playback progress corresponding to the comment when the comment message sent by others on the screen is liked or added, which increases the interactive fun of the members in the chat group watching the video together and improves the user experience. . Another implementation process of the video sharing method of the present application will be introduced below through another application scenario combined with another second embodiment.
实施例四Embodiment Four
本申请实施例在上述实施例三的基础上,基于在发评论按钮上增加了发表评论时能够将评论消息发表至群聊界面中的功能,以适应于用户想通过群聊中显示的评论信息便可以打开视频并跳转至相应进度的使用场景,详细介绍本申请所提供的视频共享方法的实施过程。On the basis of the third embodiment above, the embodiment of the present application is based on adding the function of posting the comment message to the group chat interface when posting a comment on the post comment button, so as to adapt to the comment information that the user wants to display in the group chat Then you can open the video and jump to the use scene of the corresponding progress, and introduce in detail the implementation process of the video sharing method provided by this application.
图14示出了本申请实施例所提供的视频共享方法的具体实施流程,包括以下步骤:Figure 14 shows the specific implementation process of the video sharing method provided by the embodiment of the present application, including the following steps:
步骤1401至1410上述实施例三中图11所描述的步骤1101至1110相同,在此不再赘述。Steps 1401 to 1410 are the same as steps 1101 to 1110 described in FIG. 11 in the third embodiment above, and will not be repeated here.
步骤1411与上述实施例三中的步骤1111的不同之处在于,在本申请实施例的步骤1411中,手机201-2接收并显示手机201-1上的视频播放数据时,所显示的视频播放窗口的界面与上述实施例三中的图12所示有所不同。The difference between step 1411 and step 1111 in the third embodiment above is that, in step 1411 of the embodiment of the present application, when the mobile phone 201-2 receives and displays the video playback data on the mobile phone 201-1, the displayed video playback The interface of the window is different from that shown in FIG. 12 in the third embodiment above.
图15示出了本申请实施例所提供的视频播放窗口界面示意图。FIG. 15 shows a schematic diagram of a video playback window interface provided by the embodiment of the present application.
如图15所示,在本申请实施例的手机201-2显示屏显示的视频播放窗口151b中,进度条152b显示视频总时长1521以及已经播放时长1522,进度条152b上方还显示其他正在一起看视频的群成员观看该视频的进度位置,其中已经播放时长1522与进度位置相匹配,例如图15所示的本机用户B观看该视频的进度位置B 1523、用户A观看该视频的进度位置A 1524以及用户C观看该视频的进度位置C 1525,在图15显示的用户B视角的视频播放窗口151b中,用户B的进度位置B 1523对应的已经播放时长1522显示为“01:02:19”。另外,视频播放窗口151b还显示退出按钮153b、退出一起看按钮154b以及发消息按钮156,其中,用户B点击音视频通话按钮905b可以向聊天群504b中的任意成员发起音视频通话,参考上述实施例二中图10及相关描述,在此不再赘述;用户B点击发消息按钮156(参考上述图12所示的操作⑦)可以弹出消息发表界面1501发表评论消息,同时用户B还可以在消息发表界面1501上选择将所要发表的评论消息同步到群聊(参考图15所示的操作⑨),用户B发表的评论消息可以以弹幕1562b的形式展示在视频播放窗口151b上,同时用户B发表的评论消息还可以以会话消息的形式显示在群聊界面504b上,该会话消息的形式将在下文步骤中具体描述,在此不再赘述。同样地,用户A发表的评论消息可以显示为图15所 示的弹幕1561a,用户C发表的评论消息可以显示为图15所示的弹幕1561c。视频播放窗口151b上还可以显示查看更多评论按钮1562,用户B点击该按钮1562可以查看更多自己及其他成员针对所播放视频发表的评论消息。As shown in Figure 15, in the video playback window 151b displayed on the mobile phone 201-2 display screen of the embodiment of the present application, the progress bar 152b displays the total video duration 1521 and the already played duration 1522. The group members of the video watch the progress position of the video, wherein the playback duration 1522 matches the progress position, such as the progress position B 1523 of the local user B watching the video shown in Figure 15, and the progress position A of the user A watching the video 1524 and the progress position C 1525 of user C watching the video, in the video playback window 151b of user B's perspective shown in Figure 15, the already played duration 1522 corresponding to user B's progress position B 1523 is displayed as "01:02:19" . In addition, the video playback window 151b also displays an exit button 153b, an exit and watch button 154b, and a message button 156, wherein user B clicks the audio and video call button 905b to initiate an audio and video call to any member in the chat group 504b, referring to the above implementation Figure 10 and related descriptions in Example 2 will not be repeated here; user B clicks the send message button 156 (refer to the operation ⑦ shown in Figure 12 above) to pop up the message publishing interface 1501 to post a comment message, and user B can also post a comment message in the message Choose to synchronize the comment message to be published to the group chat on the publishing interface 1501 (refer to the operation ⑨ shown in Figure 15), and the comment message published by user B can be displayed on the video playback window 151b in the form of a barrage 1562b, while user B The published comment message can also be displayed on the group chat interface 504b in the form of a conversation message, and the form of the conversation message will be described in detail in the following steps, and will not be repeated here. Similarly, the comment message issued by user A can be displayed as a barrage message 1561a shown in Figure 15, and the comment message issued by user C can be displayed as a barrage message 1561c shown in Figure 15. The view more comment button 1562 can also be displayed on the video playback window 151b, and user B can click this button 1562 to view more comment messages issued by himself and other members for the played video.
如图15所示,视频播放窗口151b中显示的消息发表界面1501上,包括同步到群聊选项1502以及勾选框1503,当用户B点击勾选框1503后显示勾选标记时,则用户B所发表的评论消息可以同步到群聊界面504b上。As shown in FIG. 15 , the message publishing interface 1501 displayed in the video playback window 151b includes the option 1502 of synchronizing to group chat and a check box 1503. When the check mark is displayed after user B clicks the check box 1503, user B Published comment messages can be synchronized to the group chat interface 504b.
参考上述图3所示的通信系统架构和图12所示,手机201-2的视频播放模块2011b检测到用户B在手机201-2运行的畅连应用上显示的视频播放窗口151b中点击发消息按钮156的操作,依次通过消息发送模块2014b、会话管理模块2015b以及消息显示模块2012b将用户B所发表的评论消息以及相应时刻的视频播放进度信息融合后以弹幕形式显示在视频播放窗口151b,即上述弹幕1561a;当用户B在消息发表界面1501选择将所要发表的评论消息同步到群聊时,用户B所发表发上述评论消息将通过会话管理模块2015b转换成会话消息的形式,再通过消息显示模块2012b显示在相应的群聊界面504b中。可以理解,以会话消息形式显示在群聊界面504b中的评论消息上也具有相应时刻的播放进度信息,因而其他群聊成员可以点击该条会话消息打开视频并跳转至相应的播放进度观看该视频。同样地,用户A、用户C所发表评论弹幕以及将评论同步至群聊的过程考上述过程,上述过程详见下述步骤1512至1513中相关描述,在此不再赘述。Referring to the above-mentioned communication system architecture shown in FIG. 3 and FIG. 12, the video playback module 2011b of the mobile phone 201-2 detects that user B clicks to send a message in the video playback window 151b displayed on the Changlian application running on the mobile phone 201-2. The operation of the button 156, through the message sending module 2014b, the session management module 2015b and the message display module 2012b in sequence, the comment message published by user B and the video playback progress information at the corresponding time are fused and displayed in the video playback window 151b in the form of bullet screen, That is, the above bullet screen 1561a; when user B chooses to synchronize the comment message to be published to the group chat on the message publishing interface 1501, the above comment message published by user B will be converted into a conversation message form by the session management module 2015b, and then passed The message display module 2012b is displayed in the corresponding group chat interface 504b. It can be understood that the comment message displayed in the group chat interface 504b in the form of a conversation message also has the playback progress information at the corresponding time, so other group chat members can click on the conversation message to open the video and jump to the corresponding playback progress to watch the video. video. Similarly, the process of comment barrage published by user A and user C and the process of synchronizing the comment to the group chat refer to the above process. For the above process, please refer to the relevant description in the following steps 1512 to 1513, and will not be repeated here.
1512:手机201-2检测到用户B发表评论的操作。1512: The mobile phone 201-2 detects that user B posts a comment.
具体地,用户B在手机201-2运行的畅连应用上显示的视频播放窗口151b中,点击发消息按钮156,编辑输入评论信息后点击发表评论。Specifically, user B clicks the send message button 156 in the video playback window 151b displayed on the Changlian application running on the mobile phone 201-2, edits and inputs comment information, and then clicks to post a comment.
参考图15所示,用户B在消息发表界面1501上用户B完成评论信息的编辑后,可以选择勾选同步到群聊选项1502前的勾选框1503,勾选框1503显示勾选标记,例如是图15所示的“√”,此时用户B点击发送按钮159发表评论消息时,将该条评论消息同步发表至群聊界面504b上;如果用户B选择不勾选同步到群聊选项1502,即勾选框1503未显示勾选标记时,用户点击发送按钮159后则仅在视频播放界面151b上显示该评论消息。Referring to FIG. 15 , after user B finishes editing the comment information on the message publishing interface 1501, user B can choose to check the check box 1503 before synchronizing to the group chat option 1502, and the check box 1503 displays a check mark, for example It is "√" shown in Figure 15. At this time, when user B clicks the send button 159 to publish a comment message, the comment message will be synchronously published on the group chat interface 504b; if user B chooses not to check the synchronization to group chat option 1502 , that is, when the check box 1503 does not display a check mark, after the user clicks the send button 159, only the comment message will be displayed on the video playback interface 151b.
图16示出了用户勾选同步到群聊发表评论后跳转到群聊界面后的界面示意图。FIG. 16 shows a schematic diagram of the interface after the user checks the sync to group chat to post a comment and then jumps to the group chat interface.
如图16所示,用户B发表的评论在群聊界面504b上以会话消息1601b的形式显示,并且该会话消息1601b的下方可以显示评论来源信息框1602,以区别于群聊界面504b上其他聊天信息。As shown in Figure 16, the comment published by user B is displayed in the form of a conversation message 1601b on the group chat interface 504b, and a comment source information box 1602 may be displayed below the conversation message 1601b to distinguish it from other chats on the group chat interface 504b information.
1513:手机201-2响应于用户B的操作,通过服务器202同步用户B发表的评论消息,同时手机201-2将同步到群聊中的评论消息转换为会话消息的形式显示。1513: In response to user B's operation, the mobile phone 201-2 synchronizes the comment message published by user B through the server 202, and at the same time, the mobile phone 201-2 converts the comment message synchronized into the group chat into a chat message and displays it.
具体地,手机201-2通过服务器202同步用户B发表的评论消息的过程可以参考上述实施例三中的步骤1113,在此不再赘述。Specifically, the process of the mobile phone 201-2 synchronizing the comment message published by the user B through the server 202 can refer to step 1113 in the above third embodiment, which will not be repeated here.
如果用户B发表评论时勾选了同步到群聊选项1502,则手机201-2上的会话管理模块2015b还可以将接收到带有进度信息的评论消息转换为会话消息的形式,并通过消息显示模块2012b显示。参考上述图16所示,会话管理模块2015b转换得到的会话消息1601b所显示的消息内容下方还显示了评论来源信息框1602,以显示该条评论消息的来源。例如图16所示的会话消息1601b显示的消息内容为“用户B发表的评论00:32:23”,该内容下方显示“评论来自:节目1”,表明用户B是在节目名称1所对应的视频播放时发表的上述评论。If user B checks the synchronization to group chat option 1502 when posting a comment, the session management module 2015b on the mobile phone 201-2 can also convert the received comment message with progress information into the form of a session message, and display it through the message Module 2012b is displayed. Referring to the above-mentioned FIG. 16 , a comment source information box 1602 is displayed below the message content displayed in the conversation message 1601b converted by the conversation management module 2015b to display the source of the comment message. For example, the message content shown in the conversation message 1601b shown in Figure 16 is "Comment issued by user B at 00:32:23", and "Comment from: Program 1" is displayed below the content, indicating that user B is in the program corresponding to program name 1. The above comments made while the video was playing.
可以理解,上述群聊界面504b所对应的聊天群503b中的其他成员都可以看到用户B同步到群聊中的上述会话消息1601b,进一步地,聊天群503b中的其他成员可以点击评论来源信息框1602直接打开该条评 论所对应的视频并跳转至该条评论所对应的播放进度“00:32:23”,与用户B一起观看该视频。It can be understood that other members of the chat group 503b corresponding to the above-mentioned group chat interface 504b can see the above-mentioned conversation message 1601b synchronized by user B to the group chat, and further, other members of the chat group 503b can click to comment on the source information Block 1602 directly opens the video corresponding to the comment and jumps to the playback progress "00:32:23" corresponding to the comment, and watches the video with user B.
可以理解,用户B也可以在手机201-2显示的群聊界面504b上点击上述会话消息1601b下方的评论来源信息框1602,以打开该条评论所对应的视频并跳转至该条评论所对应的播放进度“00:32:23”。可以理解,当用户B点击评论来源信息框1602切换至该条评论所对应的播放进度后,用户B之前观看视频的进度则被该条评论对应的播放进度替换。It can be understood that user B can also click on the comment source information box 1602 below the conversation message 1601b on the group chat interface 504b displayed on the mobile phone 201-2 to open the video corresponding to the comment and jump to the video corresponding to the comment. The playback progress of "00:32:23". It can be understood that when user B clicks on the comment source information box 1602 to switch to the playback progress corresponding to the comment, the progress of user B watching the video before is replaced by the playback progress corresponding to the comment.
可以理解,上述实施例一至实施例四所介绍的本申请的视频共享方法所适用的应用场景以及视频共享过程中所实现的各种功能也可以在同一个应用场景中实现,例如上述实施例二所描述的视频共享过程中的音视频通话功能可以与实施例四所描述的发表评论同步至群聊等功能结合,使得用户既可以在观看视频的过程中与其他成员之间进行音视频通话,也可以通过视频播放界面上的弹幕跳转至评论所对应的播放进度观看视频,还可以点击群聊界面中同步的评论消息打开视频跳转至评论对应的进度与大家一起看视频,利于一起看视频的成员之间互动交流。此种情形下,手机等电子设备上显示的视频播放界面可以参考图17所示,具体实施过程参考上述实施例二和实施例四中的相关描述,在此不再赘述。It can be understood that the application scenarios to which the video sharing method of the present application described in the first to fourth embodiments described above and various functions implemented in the video sharing process can also be implemented in the same application scenario, such as the second embodiment above The audio and video call function described in the video sharing process can be combined with the functions of posting comments and synchronizing to group chats described in Embodiment 4, so that users can make audio and video calls with other members during the process of watching videos, You can also jump to the playback progress corresponding to the comment through the bullet screen on the video playback interface to watch the video. You can also click on the synchronized comment message in the group chat interface to open the video and jump to the progress corresponding to the comment to watch the video with everyone. Members who watch the video interact with each other. In this case, the video playback interface displayed on electronic devices such as mobile phones can refer to FIG. 17 , and the specific implementation process can refer to the relevant descriptions in the above-mentioned Embodiment 2 and Embodiment 4, which will not be repeated here.
在另一些实施例中,上述实施例二所描述的切换视角功能也可以与实施例四所描述的发表评论同步至群聊等功能结合,使得用户既可以在观看视频的过程中可以切换到他人视角,也可以通过视频播放界面上的弹幕跳转至评论所对应的播放进度观看视频,还可以点击群聊界面中同步的评论消息打开视频跳转至评论对应的进度与大家一起看视频,利于一起看视频的成员之间互动交流。此种情形下,手机等电子设备上显示的视频播放界面可以参考图18所示,具体实施过程参考上述实施例二和实施例四中的相关描述,在此不再赘述。In other embodiments, the function of switching viewing angles described in Embodiment 2 above can also be combined with the function of posting comments and synchronizing to group chats described in Embodiment 4, so that users can switch to other people during the process of watching videos. You can also jump to the playback progress corresponding to the comment through the bullet screen on the video playback interface to watch the video. You can also click on the synchronized comment message in the group chat interface to open the video and jump to the progress corresponding to the comment to watch the video with everyone. It is conducive to the interaction between members who watch the video together. In this case, the video playback interface displayed on electronic devices such as mobile phones may refer to FIG. 18 , and the specific implementation process may refer to the relevant descriptions in the above-mentioned Embodiment 2 and Embodiment 4, which will not be repeated here.
图19示出了根据实施例的手机201-1的结构示意图。Fig. 19 shows a schematic structural diagram of a mobile phone 201-1 according to the embodiment.
手机201-1可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The mobile phone 201-1 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2. Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, And a subscriber identification module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对手机201-1的具体限定。在本申请另一些实施例中,手机201-1可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 201-1. In other embodiments of the present application, the mobile phone 201-1 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。在本申请实施例中,处理器110可以通过控制器等控制上述手机201-1上的视频播放模块等各模块相互配合,执行本申请的视频共享方法。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. In the embodiment of the present application, the processor 110 may control the video playing module and other modules on the mobile phone 201-1 to cooperate with each other to execute the video sharing method of the present application through a controller or the like.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使 用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机201-1充电,也可以用于手机201-1与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。Wherein, the USB interface 130 is an interface conforming to the USB standard specification, specifically, it may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the mobile phone 201-1, and can also be used to transmit data between the mobile phone 201-1 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机201-1的结构限定。在本申请另一些实施例中,手机201-1也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the mobile phone 201-1. In other embodiments of the present application, the mobile phone 201-1 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机201-1的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is configured to receive a charging input from a charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the mobile phone 201-1. While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 . The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be disposed in the processor 110 . In some other embodiments, the power management module 141 and the charging management module 140 may also be set in the same device.
手机201-1的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the mobile phone 201-1 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。手机201-1中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in handset 201-1 can be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在手机201-1上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the mobile phone 201-1. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
无线通信模块160可以提供应用在手机201-1上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模 块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the mobile phone 201-1 including wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
在一些实施例中,手机201-1的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机201-1可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the mobile phone 201-1 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone 201-1 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc. The GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
手机201-1通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The mobile phone 201-1 realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Mini-LED,Micro-LED,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机201-1可以包括1个或N个显示屏194,N为大于1的正整数。在本申请实施例中,显示屏194用于显示上述畅连等即时通信应用(或称消息应用),的聊天界面或群聊界面,以及播放共享的视频的视频播放界面等。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Mini-LED, Micro-LED, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the mobile phone 201-1 may include 1 or N display screens 194, where N is a positive integer greater than 1. In the embodiment of the present application, the display screen 194 is used to display the chat interface or group chat interface of the above-mentioned Changlian and other instant messaging applications (or called messaging applications), and a video playback interface for playing shared videos.
手机201-1可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。在本申请实施例中,可以采集视频通话过程中显示在通话界面上的图像数据。The mobile phone 201-1 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor. In the embodiment of the present application, image data displayed on a call interface during a video call may be collected.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used for processing the data fed back by the camera 193 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机201-1可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the mobile phone 201-1 may include 1 or N cameras 193, where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机201-1在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone 201-1 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。手机201-1可以支持一种或多种视频编解码器。这样,手机201-1可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1, MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The mobile phone 201-1 can support one or more video codecs. In this way, the mobile phone 201-1 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现手机201-1的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By referring to the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process input information and continuously learn by itself. Applications such as intelligent cognition of the mobile phone 201-1 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机201-1的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 201-1. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机201-1使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行手机201-1的各种功能应用以及数据处理。The internal memory 121 may be used to store computer-executable program codes including instructions. The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 201-1. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like. The processor 110 executes various functional applications and data processing of the mobile phone 201-1 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
手机201-1可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The mobile phone 201-1 can realize the audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机201-1可以通过扬声器170A收听音乐,或收听免提通话。 Speaker 170A, also referred to as a "horn", is used to convert audio electrical signals into sound signals. The mobile phone 201-1 can listen to music through the speaker 170A, or listen to hands-free calls.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机201-1接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。 Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the mobile phone 201-1 receives a call or a voice message, the receiver 170B can be placed close to the human ear to receive the voice.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机201-1可以设置至少一个麦克风170C。在另一些实施例中,手机201-1可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机201-1还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C. The mobile phone 201-1 can be provided with at least one microphone 170C. In other embodiments, the mobile phone 201-1 can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the mobile phone 201-1 can also be equipped with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and realization of directional recording functions, etc.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used for connecting wired earphones. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。手机201-1根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,手机201-1根据压力传感器180A检测所述触摸操作强度。手机201-1也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标 时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 180A may be disposed on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may be comprised of at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The mobile phone 201-1 determines the strength of the pressure according to the change of capacitance. When a touch operation acts on the display screen 194, the mobile phone 201-1 detects the intensity of the touch operation according to the pressure sensor 180A. The mobile phone 201-1 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold is applied to the short message application icon, the instruction of viewing the short message is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
陀螺仪传感器180B可以用于确定手机201-1的运动姿态。气压传感器180C用于测量气压。在一些实施例中,手机201-1通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。磁传感器180D包括霍尔传感器。在一些实施例中,当手机201-1是翻盖机时,手机201-1可以根据磁传感器180D检测翻盖的开合。加速度传感器180E可检测手机201-1在各个方向上(一般为三轴)加速度的大小。当手机201-1静止时可检测出重力的大小及方向。距离传感器180F,用于测量距离。手机201-1可以通过红外或激光测量距离。在一些实施例中,拍摄场景,手机201-1可以利用距离传感器180F测距以实现快速对焦。接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。手机201-1可以利用接近光传感器180G检测用户手持手机201-1贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。环境光传感器180L用于感知环境光亮度。手机201-1可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测手机201-1是否在口袋里,以防误触。指纹传感器180H用于采集指纹。手机201-1可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。温度传感器180J用于检测温度。在一些实施例中,手机201-1利用温度传感器180J检测的温度,执行温度处理策略。The gyro sensor 180B can be used to determine the motion posture of the mobile phone 201-1. The air pressure sensor 180C is used to measure air pressure. In some embodiments, the mobile phone 201-1 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation. The magnetic sensor 180D includes a Hall sensor. In some embodiments, when the mobile phone 201-1 is a flip phone, the mobile phone 201-1 can detect the opening and closing of the flip according to the magnetic sensor 180D. The acceleration sensor 180E can detect the acceleration of the mobile phone 201-1 in various directions (generally three axes). When the mobile phone 201-1 is stationary, the magnitude and direction of gravity can be detected. The distance sensor 180F is used to measure the distance. The mobile phone 201-1 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the mobile phone 201-1 can use the distance sensor 180F to measure distance to achieve fast focusing. Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The mobile phone 201-1 can use the proximity light sensor 180G to detect that the user holds the mobile phone 201-1 close to the ear to make a call, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode. The ambient light sensor 180L is used for sensing ambient light brightness. The mobile phone 201-1 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 201-1 is in the pocket, so as to prevent accidental touch. The fingerprint sensor 180H is used to collect fingerprints. The mobile phone 201-1 can utilize the collected fingerprint features to realize fingerprint unlocking, access to the application lock, take pictures with fingerprints, answer incoming calls with fingerprints, and the like. The temperature sensor 180J is used to detect temperature. In some embodiments, the mobile phone 201-1 uses the temperature detected by the temperature sensor 180J to implement a temperature processing strategy.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机201-1的表面,与显示屏194所处的位置不同。The touch sensor 180K is also called "touch device". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the mobile phone 201-1, which is different from the position of the display screen 194.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机201-1可以接收按键输入,产生与手机201-1的用户设置以及功能控制有关的键信号输入。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The mobile phone 201-1 can receive key input and generate key signal input related to user settings and function control of the mobile phone 201-1.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。The motor 191 can generate a vibrating reminder. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机201-1的接触和分离。手机201-1可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be connected and separated from the mobile phone 201-1 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The mobile phone 201-1 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc.
图20是本发明实施例的手机201-1的软件结构框图。Fig. 20 is a block diagram of the software structure of the mobile phone 201-1 according to the embodiment of the present invention.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.
应用程序层可以包括一系列应用程序包。如图20所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。The application layer can consist of a series of application packages. As shown in FIG. 20, the application package may include application programs such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和 编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图20所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 20, the application framework layer can include window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. Content providers are used to store and retrieve data and make it accessible to applications. Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on. The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
可以理解,手机201-2的结构可以与上述图19以及图20所示的手机201-1的结构相同,在此不再赘述。It can be understood that the structure of the mobile phone 201-2 may be the same as the structure of the mobile phone 201-1 shown in FIG. 19 and FIG. 20 above, and will not be repeated here.
可以理解,本申请实施例将使用本领域技术人员通常采用的术语来描述说明性实施例的各个方面,以将他们工作的实质传达给本领域其他技术人员。然而,对于本领域技术人员来说,使用部分所描述的特征来施行一些替代性实施例是显而易见的。出于解释的目的,阐述了具体的数字和配置,以便对说明性实施例进行更加透彻的理解。然而,对于本领域技术人员来说显而易见的是,可以在没有具体细节的情况下实施替代实施例。在一些其他情况下,本文省略或简化了一些众所周知的特征,以避免使本申请的说明性实施例模糊不清。It will be understood that the embodiments of the present application will describe various aspects of the illustrative embodiments using terms commonly employed by those skilled in the art to convey the substance of their work to others skilled in the art. However, it will be apparent to those skilled in the art that some alternative embodiments may be practiced using some of the described features. For purposes of explanation, specific numbers and configurations are set forth in order to provide a more thorough understanding of the illustrative embodiments. It will be apparent, however, to one skilled in the art that alternative embodiments may be practiced without the specific details. In other instances, well-known features have been omitted or simplified herein in order to avoid obscuring the illustrative embodiments of the application.
在附图中,可能以特定布置和/或顺序示出了一些结构特征。然而,应当理解的是,这样的特定布置和/或排序不是必需的。而是,在一些实施例中,这些特征可以以不同于说明性附图中所示的方式和/或顺序来进行说明。另外,特定附图中所包含的结构特征并不意味着所有实施例都需要包含这样的特征,在一些实 施例中,可以不包含这些特征,或者可以将这些特征与其他特征进行组合。In the drawings, some structural features may be shown in a particular arrangement and/or order. However, it should be understood that no such specific arrangement and/or ordering is required. Rather, in some embodiments, features may be described in a different manner and/or order than shown in the illustrative figures. In addition, the inclusion of structural features in a particular drawing does not mean that all embodiments need to include such features. In some embodiments, these features may not be included, or these features may be combined with other features.
在说明书对“一个实施例”或“实施例”的引用意指结合实施例所描述的具体特征、结构或特性被包括在根据本申请公开的至少一个范例实施方案或技术中。说明书中的各个地方的短语“在一个实施例中”的出现不一定全部指代同一个实施例。Reference to "one embodiment" or "an embodiment" in the specification means that a specific feature, structure or characteristic described in connection with the embodiment is included in at least one exemplary implementation or technology disclosed according to the present application. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.
本申请公开还涉及用于执行文本中的操作装置。该装置可以专门处于所要求的目的而构造或者其可以包括被存储在计算机中的计算机程序选择性地激活或者重新配置的通用计算机。这样的计算机程序可以被存储在计算机可读介质中,诸如,但不限于任何类型的盘,包括软盘、光盘、CD-ROM、磁光盘、只读存储器(ROM)、随机存取存储器(RAM)、EPROM、EEPROM、磁或光卡、专用集成电路(ASIC)或者适于存储电子指令的任何类型的介质,并且每个可以被耦合到计算机系统总线。此外,说明书中所提到的计算机可以包括单个处理器或者可以是采用针对增加的计算能力的多个处理器涉及的架构。The present disclosure also relates to means for performing operations in text. This apparatus may be specially constructed for the required purposes or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored on a computer readable medium such as, but not limited to, any type of disk including floppy disk, compact disk, CD-ROM, magneto-optical disk, read-only memory (ROM), random-access memory (RAM) , EPROM, EEPROM, magnetic or optical card, application specific integrated circuit (ASIC), or any type of medium suitable for storing electronic instructions, and each may be coupled to a computer system bus. Furthermore, computers referred to in the specification may comprise a single processor or may be architectures involving multiple processors for increased computing power.
本文所提出的过程和显示器固有地不涉及任何具体计算机或其他装置。各种通用系统也可以与根据本文中的教导的程序一起使用,或者构造更多专用装置以执行一个或多个方法步骤可以证明是方便的。在一下描述中讨论了用于各种这些系统的结构。另外,可以使用足以实现本申请公开的技术和实施方案的任何具体编程语言。各种编程语言可以被用于实施本公开,如本文所讨论的。The processes and displays presented herein are not inherently related to any specific computer or other device. Various general-purpose systems may also be used with programs in accordance with the teachings herein, or it may prove convenient to construct a more specialized apparatus to perform one or more method steps. The architecture for a variety of these systems is discussed in the description below. In addition, any specific programming language sufficient to implement the techniques and embodiments disclosed herein may be used. Various programming languages can be used to implement the present disclosure, as discussed herein.
另外,在本说明书所使用的语言已经主要被选择用于可读性和指导性的目的并且可能未被选择为描绘或限制所公开的主题。因此,本申请公开旨在说明而非限制本文所讨论的概念的范围。Additionally, the language used in this specification has been chosen primarily for readability and instructional purposes and may not have been chosen to delineate or limit the subject matter disclosed. Accordingly, the present disclosure is intended to illustrate, not to limit, the scope of the concepts discussed herein.

Claims (30)

  1. 一种视频共享方法,应用于安装有第一应用的第一电子设备和第二电子设备,其特征在于,包括:A video sharing method, applied to a first electronic device and a second electronic device installed with a first application, characterized in that it includes:
    所述第一电子设备经由第一应用向所述第二电子设备发送视频的视频访问信息,其中,所述视频访问信息用于访问及播放所述视频;The first electronic device sends video access information of the video to the second electronic device via the first application, wherein the video access information is used to access and play the video;
    所述第二电子设备响应于用户针对所述视频访问信息的播放操作,播放所述视频;The second electronic device plays the video in response to the user's play operation on the video access information;
    所述第二电子设备向所述第一电子设备分享播放所述视频所产生的视频播放数据;其中,所述视频播放数据包括用于标记所述视频的播放状态以及播放进度的数据;The second electronic device shares the video playback data generated by playing the video with the first electronic device; wherein, the video playback data includes data for marking the playback status and playback progress of the video;
    所述第一电子设备获取所述视频播放数据,并根据所述视频播放数据获取所述第二电子设备播放所述视频的状态。The first electronic device acquires the video playing data, and acquires a state of the second electronic device playing the video according to the video playing data.
  2. 根据权利要求1所述的方法,其特征在于,所述第一电子设备根据所述视频播放数据获取所述第二电子设备播放所述视频的状态,包括下列呈现方式中的至少一项:The method according to claim 1, wherein the first electronic device acquires the status of the second electronic device playing the video according to the video playback data, including at least one of the following presentation methods:
    在第一电子设备播放所述视频的界面中,显示所述第二电子设备播放所述视频的进度;In the interface where the first electronic device plays the video, display the progress of the second electronic device playing the video;
    在第一电子设备播放所述视频的界面中,跳转到与所述视频播放数据对应的进度;In the interface where the first electronic device plays the video, jump to a progress corresponding to the video playback data;
    在第一电子设备播放所述视频的界面上,显示所述第二电子设备播放所述视频的内容。On the interface where the first electronic device plays the video, the content of the video played by the second electronic device is displayed.
  3. 根据权利要求2所述的方法,其特征在于,所述视频访问信息包括用于访问及播放所述视频的链接,以及与所述视频相关的多媒体内容;并且The method according to claim 2, wherein the video access information includes a link for accessing and playing the video, and multimedia content related to the video; and
    所述第一应用为消息应用,所述第一电子设备经由所述消息应用向所述第二电子设备发送消息,所述消息包括所述视频访问信息。The first application is a message application, the first electronic device sends a message to the second electronic device via the message application, and the message includes the video access information.
  4. 根据权利要求3所述的方法,其特征在于,所述第一电子设备经由第一应用向所述第二电子设备发送视频的视频访问信息,包括:The method according to claim 3, wherein the first electronic device sends the video access information of the video to the second electronic device via the first application, including:
    所述第一电子设备经由所述消息应用的会话界面向所述第二电子设备发送所述视频访问信息;其中The first electronic device sends the video access information to the second electronic device via a conversational interface of the message application; wherein
    所述会话界面包括第一用户标识、第二用户标识,所述第一用户标识用于识别操作所述第一电子设备的第一用户,所述第二用户标识用于识别操作所述第二电子设备的第二用户。The conversation interface includes a first user identifier and a second user identifier, the first user identifier is used to identify the first user who operates the first electronic device, and the second user identifier is used to identify the second user who operates the first electronic device. A second user of an electronic device.
  5. 根据权利要求4所述的方法,其特征在于,所述第一电子设备根据所述视频播放数据获取所述第二电子设备播放所述视频的状态,包括:The method according to claim 4, wherein the first electronic device acquires the state of the second electronic device playing the video according to the video playback data, comprising:
    在第一电子设备播放所述视频的界面中,显示所述第二电子设备播放所述视频的进度和所述第二用户标识;其中,In the interface where the first electronic device plays the video, display the progress of the second electronic device playing the video and the second user identifier; wherein,
    所述第二用户标识用于跳转到与所述视频播放数据对应的进度,或者The second user identifier is used to jump to the progress corresponding to the video playback data, or
    用于显示所述第二电子设备播放所述视频的内容。It is used to display the content of the video played by the second electronic device.
  6. 根据权利要求1中任一项所述的方法,其特征在于,所述视频访问信息包括用于访问所述视频的卡片,所述卡片包括与所述视频相关的多媒体内容以及用于访问所述视频的链接。The method according to any one of claims 1, wherein the video access information includes a card for accessing the video, the card includes multimedia content related to the video and a card for accessing the video Link to the video.
  7. 根据权利要求6所述的方法,其特征在于,所述卡片包括第一选项和第二选项,其中,The method of claim 6, wherein the card includes a first option and a second option, wherein,
    所述第一选项用于触发所述视频的播放;The first option is used to trigger playing of the video;
    所述第二选项用于触发所述视频通过与所述第二电子设备协同工作的第三电子设备播放;The second option is used to trigger the video to be played by a third electronic device cooperating with the second electronic device;
    所述第一电子设备根据所述视频播放数据获取所述第二电子设备播放所述视频的状态,还包括:The first electronic device obtains the state of the second electronic device playing the video according to the video playback data, and further includes:
    在第一电子设备播放所述视频的界面中,显示所述第三电子设备播放所述视频的进度以及所述第三电子设备的设备图标。In the interface where the first electronic device plays the video, the progress of the third electronic device playing the video and the device icon of the third electronic device are displayed.
  8. 根据权利要求7所述的方法,其特征在于,所述第二电子设备响应于用户针对所述视频访问信息的播 放操作,播放所述视频,包括:The method according to claim 7, wherein the second electronic device plays the video in response to the user's play operation on the video access information, comprising:
    所述第二电子设备响应于用户点击所述卡片的第一选项的操作,触发所述视频的播放;或者The second electronic device triggers the playing of the video in response to the user clicking the first option of the card; or
    所述第二电子设备响应于用户点击所述卡片的第二选项的操作,触发所述视频在所述第三电子设备上播放。The second electronic device triggers the video to be played on the third electronic device in response to the user's operation of clicking the second option of the card.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述第二电子设备向所述第一电子设备分享播放所述视频所产生的视频播放数据,包括:The method according to any one of claims 1 to 8, wherein the second electronic device shares the video playback data generated by playing the video with the first electronic device, comprising:
    所述第二电子设备将所述视频播放数据上传至与所述第一电子设备和第二电子设备通信连接的服务器;The second electronic device uploads the video playback data to a server communicatively connected to the first electronic device and the second electronic device;
    所述第一电子设备从所述服务器获取所述视频播放数据。The first electronic device acquires the video playing data from the server.
  10. 根据权利要求9所述的方法,其特征在于,所述服务器是用于运行所述第一应用的服务器。The method according to claim 9, wherein the server is a server for running the first application.
  11. 根据权利要求1所述的方法,其特征在于,所述视频播放数据包括用户在所述第二电子设备播放所述视频的界面上编辑发布的评论消息,并且所述评论消息与所述视频的播放进度相关联;其中,所述评论消息能够在所述视频的播放界面上和对应的播放进度信息一起显示;The method according to claim 1, wherein the video playback data includes comment messages edited and released by the user on the interface where the second electronic device plays the video, and the comment messages are related to the video information. The playback progress is associated; wherein, the comment message can be displayed together with the corresponding playback progress information on the playback interface of the video;
    所述评论消息至少用于触发跳转至所述对应的播放进度。The comment message is at least used to trigger a jump to the corresponding playback progress.
  12. 根据权利要求11所述的方法,其特征在于,所述对应的播放进度与所述评论消息的发布时刻相对应;或者The method according to claim 11, wherein the corresponding playback progress corresponds to the release time of the comment message; or
    所述对应的播放进度信息指示开始编辑所述评论消息的时刻,或者The corresponding playback progress information indicates the time to start editing the comment message, or
    所述对应的播放进度信息指示所述评论消息被发出的时刻。The corresponding playing progress information indicates the moment when the comment message is sent.
  13. 根据权利要求11至12中任一项所述的方法,其特征在于,A method according to any one of claims 11 to 12, characterized in that,
    所述评论消息能够作为会话消息经由所述第一应用被分享至其他电子设备,并且所述会话消息至少用于触发播放所述视频并跳转至所述对应的播放进度。The comment message can be shared with other electronic devices via the first application as a conversation message, and the conversation message is at least used to trigger playing the video and jumping to the corresponding playing progress.
  14. 根据权利要求1至13中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 13, further comprising:
    所述第二电子设备在播放所述视频的过程中,启动与所述第一电子设备的音视频通话;During the process of playing the video, the second electronic device starts an audio and video call with the first electronic device;
    所述第一电子设备在播放所述视频的界面上,显示所述音视频通话的界面。The first electronic device displays the audio and video call interface on the interface for playing the video.
  15. 一种视频共享方法,应用于第一电子设备,其特征在于,包括:A video sharing method applied to a first electronic device, characterized in that it includes:
    经由第一应用发送视频的视频访问信息,其中,所述视频访问信息用于访问及播放所述视频;Sending video access information of the video via the first application, wherein the video access information is used to access and play the video;
    获取视频播放数据,并根据所述视频播放数据获取所述第二电子设备播放所述视频的状态;其中,所述视频播放数据为所述第二电子设备播放所述视频产生的用于标记所述视频的播放状态以及播放进度的数据。Acquiring video playback data, and acquiring the status of the second electronic device playing the video according to the video playback data; wherein, the video playback data is generated by the second electronic device playing the video for marking the The playback status and playback progress data of the above-mentioned video.
  16. 根据权利要求15所述的方法,其特征在于,所述根据所述视频播放数据获取所述第二电子设备播放所述视频的状态,包括下列呈现方式中的至少一项:The method according to claim 15, wherein the acquiring the status of playing the video by the second electronic device according to the video playback data includes at least one of the following presentation methods:
    在播放所述视频的界面中,显示所述第二电子设备播放所述视频的进度;In the interface for playing the video, displaying the progress of playing the video by the second electronic device;
    在播放所述视频的界面中,跳转到与所述视频播放数据对应的进度;In the interface for playing the video, jump to the progress corresponding to the video playback data;
    在播放所述视频的界面上,显示所述第二电子设备播放所述视频的内容。On the interface for playing the video, it is displayed that the second electronic device plays the content of the video.
  17. 根据权利要求16所述的方法,其特征在于,所述第一应用为消息应用,所述经由第一应用发送视频的视频访问信息包括:The method according to claim 16, wherein the first application is a messaging application, and the video access information for sending video via the first application includes:
    经由所述消息应用的会话界面发送所述视频访问信息;其中sending said video access information via a conversational interface of said messaging application; wherein
    所述会话界面包括第一用户标识、第二用户标识,所述第一用户标识用于识别操作所述第一电子设备的第一用户,所述第二用户标识用于识别操作所述第二电子设备的第二用户。The conversation interface includes a first user identifier and a second user identifier, the first user identifier is used to identify the first user who operates the first electronic device, and the second user identifier is used to identify the second user who operates the first electronic device. A second user of an electronic device.
  18. 根据权利要求17所述的方法,其特征在于,所述根据所述视频播放数据获取所述第二电子设备播放所述视频的状态,包括:The method according to claim 17, wherein the obtaining the state of playing the video by the second electronic device according to the video playing data comprises:
    在播放所述视频的界面中,显示所述第二电子设备播放所述视频的进度和所述第二用户标识;其中,In the interface for playing the video, display the progress of the second electronic device playing the video and the second user identifier; wherein,
    所述第二用户标识用于跳转到与所述视频播放数据对应的进度,或者The second user identifier is used to jump to the progress corresponding to the video playback data, or
    用于显示所述第二电子设备播放所述视频的内容。It is used to display the content of the video played by the second electronic device.
  19. 根据权利要求15至18中任一项所述的方法,其特征在于,所述获取视频播放数据包括:所述第一电子设备从所述服务器获取所述视频播放数据;其中,The method according to any one of claims 15 to 18, wherein said acquiring video playback data comprises: said first electronic device acquiring said video playback data from said server; wherein,
    所述服务器是用于运行所述第一应用的服务器。The server is a server for running the first application.
  20. 根据权利要求19所述的方法,其特征在于,所述视频播放数据包括用户在所述第二电子设备播放所述视频的播放界面上编辑发布的评论消息,并且所述评论消息与所述视频的播放进度相关联;其中,The method according to claim 19, wherein the video playback data includes comment messages edited and published by the user on the playback interface of the second electronic device to play the video, and the comment messages are related to the video is associated with the playback progress; among them,
    所述评论消息和对应的播放进度能够一起显示在所述第一电子设备播放所述视频的界面中,所述评论消息至少用于触发跳转至所述对应的播放进度。The comment message and the corresponding playback progress can be displayed together on the interface where the first electronic device plays the video, and the comment message is at least used to trigger a jump to the corresponding playback progress.
  21. 根据权利要求20中任一项所述的方法,其特征在于,所述第一电子设备能够获取作为会话消息被分享至所述第一应用的所述评论消息,并且The method according to any one of claims 20, wherein the first electronic device is capable of obtaining the comment message shared to the first application as a conversation message, and
    所述会话消息至少用于触发播放所述视频并跳转至所述对应的播放进度。The session message is at least used to trigger playing the video and jumping to the corresponding playing progress.
  22. 一种视频共享方法,应用于第二电子设备,其特征在于,包括:A video sharing method applied to a second electronic device, characterized in that it includes:
    响应于用户针对视频的视频访问信息的播放操作,播放所述视频;其中,所述视频访问信息为第一电子设备经由第一应用发送的信息,所述视频访问信息用于访问及播放所述视频;Play the video in response to the user's play operation on the video access information of the video; wherein the video access information is information sent by the first electronic device via the first application, and the video access information is used to access and play the video video;
    分享播放所述视频所产生的视频播放数据;其中,所述视频播放数据用于供所述第一电子设备获取所述第二电子设备播放所述视频的状态,所述视频播放数据包括用于标记所述视频的播放状态以及播放进度的数据。Share and play the video playback data generated by playing the video; wherein, the video playback data is used for the first electronic device to acquire the status of the second electronic device playing the video, and the video playback data includes Data that marks the playback status and playback progress of the video.
  23. 根据权利要求22所述的方法,其特征在于,所述视频访问信息包括用于访问及播放所述视频的链接,以及与所述视频相关的多媒体内容。The method according to claim 22, wherein the video access information includes a link for accessing and playing the video, and multimedia content related to the video.
  24. 根据权利要求23所述的方法,其特征在于,所述视频访问信息包括用于访问所述视频的卡片,所述卡片包括与所述视频相关的多媒体内容以及用于访问所述视频的链接;并且所述卡片包括第一选项和第二选项,其中,The method according to claim 23, wherein the video access information includes a card for accessing the video, and the card includes multimedia content related to the video and a link for accessing the video; And the card includes a first option and a second option, wherein,
    所述第一选项用于触发所述视频的播放;The first option is used to trigger playing of the video;
    所述第二选项用于触发所述视频通过与所述第二电子设备协同工作的第三电子设备播放;The second option is used to trigger the video to be played by a third electronic device cooperating with the second electronic device;
    所述第一电子设备根据所述视频播放数据获取所述第二电子设备播放所述视频的状态,还包括:The first electronic device obtains the state of the second electronic device playing the video according to the video playback data, and further includes:
    在第一电子设备播放所述视频的界面中,显示所述第三电子设备播放所述视频的进度以及所述第三电子设备的设备图标。In the interface where the first electronic device plays the video, the progress of the third electronic device playing the video and the device icon of the third electronic device are displayed.
  25. 根据权利要求24所述的方法,其特征在于,所述响应于用户针对视频的视频访问信息的播放操作,播放所述视频,包括:The method according to claim 24, wherein the playing the video in response to the user's play operation on the video access information of the video comprises:
    响应于用户点击所述卡片的第一选项的操作,触发所述视频的播放;或者triggering the playing of the video in response to the user clicking the first option of the card; or
    响应于用户点击所述卡片的第二选项的操作,触发所述视频在所述第三电子设备上播放。In response to the user's operation of clicking the second option of the card, the video is triggered to be played on the third electronic device.
  26. 根据权利要求22至25中任一项所述的方法,其特征在于,所述分享播放所述视频所产生的视频播放数据,包括:The method according to any one of claims 22 to 25, wherein said sharing and playing the video playback data generated by said video includes:
    将所述视频播放数据上传至服务器,通过所述服务器分享所述视频播放数据;其中,Upload the video playback data to a server, and share the video playback data through the server; wherein,
    所述服务器与所述第一电子设备、第二电子设备通信连接,所述服务器是用于运行所述第一应用的服务器。The server is connected in communication with the first electronic device and the second electronic device, and the server is a server for running the first application.
  27. 根据权利要求26所述的方法,其特征在于,所述视频播放数据包括用户在所述视频的播放界面上编辑发布的评论消息,并且所述评论消息与所述视频的播放进度相关联;其中,The method according to claim 26, wherein the video playback data includes comment messages edited and released by users on the playback interface of the video, and the comment messages are associated with the playback progress of the video; wherein ,
    所述评论消息能够在所述视频的播放界面上和对应的播放进度一起显示。The comment message can be displayed together with the corresponding playing progress on the playing interface of the video.
  28. 根据权利要求27所述的方法,其特征在于,所述评论消息能够作为会话消息被分享至所述第一应用,并且所述会话消息至少用于触发播放所述视频并跳转至所述对应的播放进度。The method according to claim 27, wherein the comment message can be shared to the first application as a conversation message, and the conversation message is at least used to trigger playing the video and jumping to the corresponding playback progress.
  29. 一种电子设备,其特征在于,所述电子设备包括:一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储有一个或多个程序,当所述一个或者多个程序被所述一个或多个处理器执行时,使得所述电子设备执行权利要求1至28中任一项所述的视频共享方法。An electronic device, characterized in that the electronic device includes: one or more processors; one or more memories; one or more programs stored in the one or more memories, when the one or more When the program is executed by the one or more processors, the electronic device is made to execute the video sharing method described in any one of claims 1-28.
  30. 一种计算机可读存储介质,其特征在于,所述存储介质上存储有指令,所述指令在计算机上执行时使所述计算机执行权利要求1至28中任一项所述的视频共享方法。A computer-readable storage medium, characterized in that instructions are stored on the storage medium, and when the instructions are executed on a computer, the computer executes the video sharing method according to any one of claims 1 to 28.
PCT/CN2022/086789 2021-06-24 2022-04-14 Video sharing method, and electronic device and storage medium WO2022267640A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110704189.2A CN115529487A (en) 2021-06-24 2021-06-24 Video sharing method, electronic device and storage medium
CN202110704189.2 2021-06-24

Publications (1)

Publication Number Publication Date
WO2022267640A1 true WO2022267640A1 (en) 2022-12-29

Family

ID=84545205

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/086789 WO2022267640A1 (en) 2021-06-24 2022-04-14 Video sharing method, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115529487A (en)
WO (1) WO2022267640A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041225A (en) * 2023-09-28 2023-11-10 中科融信科技有限公司 Multi-party audio and video communication method and system based on 5G

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101600891B1 (en) * 2014-10-17 2016-03-09 쿨사인 주식회사 Synchronization method and system for audio and video of a plurality terminal
CN108282673A (en) * 2018-01-29 2018-07-13 优酷网络技术(北京)有限公司 A kind of update method, server and client playing record
CN110784771A (en) * 2019-10-30 2020-02-11 维沃移动通信有限公司 Video sharing method and electronic equipment
CN112187619A (en) * 2020-05-26 2021-01-05 华为技术有限公司 Instant messaging method and equipment
CN112969097A (en) * 2021-02-19 2021-06-15 腾讯科技(深圳)有限公司 Content playing method and device, and content commenting method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241622A (en) * 2016-03-29 2017-10-10 北京三星通信技术研究有限公司 video location processing method, terminal device and cloud server
CN112423087A (en) * 2020-11-17 2021-02-26 北京字跳网络技术有限公司 Video interaction information display method and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101600891B1 (en) * 2014-10-17 2016-03-09 쿨사인 주식회사 Synchronization method and system for audio and video of a plurality terminal
CN108282673A (en) * 2018-01-29 2018-07-13 优酷网络技术(北京)有限公司 A kind of update method, server and client playing record
CN110784771A (en) * 2019-10-30 2020-02-11 维沃移动通信有限公司 Video sharing method and electronic equipment
CN112187619A (en) * 2020-05-26 2021-01-05 华为技术有限公司 Instant messaging method and equipment
CN112969097A (en) * 2021-02-19 2021-06-15 腾讯科技(深圳)有限公司 Content playing method and device, and content commenting method and device

Also Published As

Publication number Publication date
CN115529487A (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN110109636B (en) Screen projection method, electronic device and system
CN110381197B (en) Method, device and system for processing audio data in many-to-one screen projection
CN111345010B (en) Multimedia content synchronization method, electronic equipment and storage medium
CN113542839B (en) Screen projection method of electronic equipment and electronic equipment
WO2021164445A1 (en) Notification processing method, electronic apparatus, and system
CN113497909B (en) Equipment interaction method and electronic equipment
WO2022143128A1 (en) Video call method and apparatus based on avatar, and terminal
CN114173000B (en) Method, electronic equipment and system for replying message and storage medium
WO2021249318A1 (en) Screen projection method and terminal
CN110198362B (en) Method and system for adding intelligent household equipment into contact
JP7416519B2 (en) Multi-terminal multimedia data communication method and system
CN114040242B (en) Screen projection method, electronic equipment and storage medium
WO2023030099A1 (en) Cross-device interaction method and apparatus, and screen projection system and terminal
WO2022042769A2 (en) Multi-screen interaction system and method, apparatus, and medium
WO2023125847A1 (en) Audio processing method and system, and related apparatuses
WO2024045801A1 (en) Method for screenshotting, and electronic device, medium and program product
WO2022127670A1 (en) Call method and system, and related device
WO2022135157A1 (en) Page display method and apparatus, and electronic device and readable storage medium
WO2022267640A1 (en) Video sharing method, and electronic device and storage medium
WO2021052388A1 (en) Video communication method and video communication apparatus
WO2023045597A1 (en) Cross-device transfer control method and apparatus for large-screen service
WO2023030056A1 (en) Notification message processing method and device
EP4246921A1 (en) Chat interaction method, electronic device, and server
CN114860178A (en) Screen projection method and electronic equipment
CN114520887B (en) Video call background switching method and first terminal equipment

Legal Events

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

Ref document number: 22827142

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE