Video transition method, electronic device, storage medium, and program product

By introducing a transition video library and video switching instructions during the video transition process, a smooth transition between virtual objects and users is achieved, solving the problem of discontinuous video switching in existing technologies and improving user experience and interactive effects.

CN116962840BActive Publication Date: 2026-11-27MOFA (SHANGHAI) INFORMATION TECH CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310574679.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-20
Publication Date
2026-11-27
Estimated Expiration
2043-05-20

AI Technical Summary

Technical Problem

Existing video transition methods fail to effectively consider the interaction needs between virtual objects and users, resulting in discontinuous video transitions and a poor user experience.

Method used

By receiving access requests from terminal devices, a communication connection is established with the target server, the first interactive video is played, and a transition video is retrieved from the transition video library according to the video switching instructions, so as to achieve a smooth transition from the first interactive video to the second interactive video.

Benefits of technology

It improves the continuity and smoothness of video playback, enhances user comfort and immersion, and improves the interaction and engagement between virtual objects and users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116962840B_ABST
    Figure CN116962840B_ABST
Patent Text Reader

Abstract

The application provides a video transition method, an electronic device, a storage medium and a program product. The method comprises the following steps: receiving an access request from a terminal device, establishing a communication connection between the terminal device and a target server, the target server being configured to provide a virtual object interaction function; playing a first interactive video transmitted by the target server by using the terminal device; obtaining a transition video from a transition video library according to a video switching instruction and the first interactive video; the video switching instruction is used to switch the transmitted first interactive video, so that the terminal device plays a second interactive video; and playing the transition video and the transition video in sequence by using the terminal device. The first interactive video providing the virtual object interaction function and the video switching instruction are used to improve the acquisition accuracy of the transition video from the aspects of the virtual object and the user's intention, to enhance the interaction effect between the virtual object and the user, and to improve the user's participation and immersion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical fields of virtual humans and artificial intelligence, and in particular to video transition methods, electronic devices, computer-readable storage media, and computer program products. Background Technology

[0002] Virtual objects include virtual humans, virtual animals, and virtual cartoon characters. Virtual humans, in particular, are anthropomorphic figures constructed using CG technology and operating in code form, possessing various interactive capabilities such as language communication, facial expressions, and action demonstrations. Virtual human technology has rapidly developed in the field of artificial intelligence and has been applied in many technological areas, including film, media, gaming, finance, cultural tourism, education, and healthcare.

[0003] Existing video transitions typically employ fade-in / fade-out effects between one or both adjacent videos to achieve a smooth transition. This approach is only suitable for traditional applications and does not consider the interactive functionality between virtual objects and the user, thus failing to adequately meet the needs of the virtual object technology field. Therefore, this application provides a video transition method, electronic device, computer-readable storage medium, and computer program product to improve upon existing technologies. Summary of the Invention

[0004] The purpose of this application is to provide a video transition method, electronic device, computer-readable storage medium, and computer program product that utilizes a first interactive video and video switching instructions that provide virtual object interaction functions to improve the accuracy of transition video acquisition, enhance the interaction effect between virtual objects and users, increase user participation and immersion, and meet the needs of the virtual object technology field.

[0005] The objective of this application is achieved through the following technical solution:

[0006] In a first aspect, this application provides a video transition method, the method comprising:

[0007] Receive access requests from terminal devices and establish a communication connection between the terminal devices and the target server, wherein the target server is used to provide virtual object interaction functions;

[0008] Play the first interactive video transmitted by the target server using a terminal device;

[0009] According to the video switching instruction and the first interactive video, a transition video is obtained from the transition video library; the video switching instruction is used to switch the transmitted first interactive video so that the terminal device can play the second interactive video.

[0010] The terminal device is used to play the transition video and the second interactive video in sequence.

[0011] The beneficial effects of this technical solution are as follows: When a terminal device initiates an access request, a communication connection is established between the terminal device and the target server. The target server is responsible for providing the user's interaction with virtual objects and transmitting the first interactive video to the terminal device for playback. When a video switch is required, a video switch instruction is received, and the corresponding transition video is retrieved from the transition video library. The role of the transition video is to provide a smooth transition process, ensuring that the switch to the second interactive video does not feel abrupt or uncomfortable for the user. In other words, the transition video enables a smooth transition from the first interactive video to the second interactive video.

[0012] Compared to existing video switching methods, which do not consider the impact of virtual objects on user preferences, the transition video in this implementation is not only related to the video switching command but also influenced by the first interactive video. It can be understood that the first (and second) interactive videos are used to realize the interaction between the virtual object and the user. Therefore, this technical solution, on the one hand, improves the continuity of video playback. By using transition videos, this method avoids abrupt switching between playing the first and second interactive videos, thereby improving the continuity and smoothness of the video. On the other hand, visually, transition videos make the transition smooth and natural, thereby enhancing user comfort and experience, and improving the user experience. Furthermore, a smooth and natural video switching transition process is crucial for improving user satisfaction and engagement. Furthermore, using video switching commands and the first interactive video to obtain transition videos from a transition video library improves the accuracy of transition video acquisition since the interactive videos are used for interaction between the virtual object and the user. Moreover, this method is suitable for providing interactive functions between virtual objects and users, thus further enhancing the interactive effect between virtual objects and users, and strengthening user immersion and participation. For example, in a virtual customer service system, when a user asks a question to customer service, the customer service may need to respond with voice or gestures. At this time, a transition method can be used to select an appropriate transition video according to the user's instructions and smoothly transition it with the virtual customer service's response video, thereby creating a more realistic interactive experience and improving user satisfaction and engagement.

[0013] In summary, by utilizing the first interactive video and video switching instructions that provide virtual object interaction functions, and considering both the virtual object and user intentions, the accuracy of acquiring transition videos can be improved, the interaction effect between virtual objects and users can be enhanced, and the user's sense of participation and immersion can be increased.

[0014] In some possible implementations, the process of obtaining the video switching instruction includes at least one of the following:

[0015] The terminal device is used to receive the user's video switching command;

[0016] The video switching instruction is generated based on the remaining playback time of the first interactive video and the playlist;

[0017] Based on the user's input information, obtain the video to be switched corresponding to the input information, and generate the video switching instruction based on the video to be switched.

[0018] The beneficial effects of this technical solution are as follows: On the one hand, users can issue video switching commands to virtual objects through terminal devices (such as mobile phones, tablets, etc.), and switch to the corresponding video (i.e., the second interactive video) according to the user's selection. Users can directly control the playback of the video to obtain the interactive video they want, enhancing user participation and satisfaction. On the other hand, video switching commands can be automatically generated based on the remaining playback time of the first interactive video and the playlist. This can be understood as predicting the next optimal video based on the remaining playback time of the currently playing first interactive video and the playlist, and generating a corresponding video switching command. This allows for more intelligent selection of appropriate video switching times, making the transition effect more natural and smooth, and increasing user satisfaction with the interaction with the virtual object. Furthermore, based on the user's input information, the corresponding video to be switched is obtained, and the video switching command is generated based on the video to be switched. Based on the input information (such as text, voice, images, etc.) provided by the user during interaction with the virtual object, the user's intention is identified, and the corresponding video to be switched is obtained. Then, a corresponding video switching command is generated based on this video, enabling more accurate selection of appropriate transition videos according to the user's intention, further enhancing the interactive effect.

[0019] In summary, it provides multiple video switching command acquisition processes to adapt to different situations, and all three processes can improve the interaction between virtual objects and users, enhance user participation and satisfaction, and have a high degree of intelligence.

[0020] In some possible implementations, generating the video switching instruction based on the remaining playback time of the first interactive video and the playlist includes:

[0021] Detect the remaining playback time of the first interactive video, and whether there are any videos to be switched in the playlist;

[0022] When the remaining playback time is less than the preset time, the video switching instruction is generated according to the playlist.

[0023] The beneficial effects of this technical solution are as follows: it synchronously detects the remaining playback time of the first interactive video and whether there is a video to be switched in the playlist. If the remaining playback time of the first interactive video is less than the preset time, a video switching instruction is generated according to the playlist. That is, it can intelligently determine when to switch videos based on the playback status (enhancing intelligent control capabilities). Without user intervention, it can improve the interactive experience between users and virtual objects by automatically judging and switching videos.

[0024] In summary, automatically switching videos based on the remaining playback time of the first interactive video and the playlist can improve the user's interactive experience with virtual objects, while also simplifying user operations by enabling automated switching.

[0025] In some possible implementations, generating the video switching instruction based on the playlist includes:

[0026] When the playlist is empty, obtain the correlation between the first interactive video and each interactive video in the interactive video library;

[0027] Based on the interactive video with the highest correlation to the first interactive video, the video switching instruction is generated so that the terminal device plays the transition video and the interactive video in sequence;

[0028] When the playlist includes multiple videos to be switched, the correlation between each video to be switched and the first interactive video is detected;

[0029] Based on the video to be switched that has the highest correlation with the first interactive video, a video switching instruction is generated so that the terminal device plays the transition video and the video to be switched that has the highest correlation in sequence.

[0030] The beneficial effects of this technical solution are as follows: Generally, a playlist includes one or more videos to be played. When all videos have finished playing, or when the playlist is cleared, it becomes empty. In this case, the relevance between the first interactive video and each interactive video in the interactive video library can be obtained. Based on the interactive video with the highest relevance, a switching instruction is generated, causing the terminal device to play the transition video and the most relevant interactive video (equivalent to the second interactive video) sequentially. If the playlist contains multiple videos to be switched, requiring the user to select one would undoubtedly increase user operations and reduce the user experience. In this case, the relevance between each video to be switched and the first interactive video is detected, and a switching instruction is generated based on the most relevant video, causing the terminal device to play the transition video and the most relevant video (equivalent to the second interactive video) sequentially. On the one hand, generating switching instructions based on the relevance to the currently playing video better meets the user's viewing needs, optimizes the user experience, and improves user satisfaction. On the other hand, when no videos are available, a suitable video can be automatically selected from the interactive video library for playback without manual intervention, improving the efficiency of playlist management and achieving automated playlist management. On the other hand, even if the playlist is empty or contains multiple videos to be switched, the user does not need to leave the immersive environment of interacting with the virtual object (which would make the interaction feel choppy). Instead, the switching command is automatically generated based on the content of this technical solution, and a second interactive video more suitable for the user is automatically played. By optimizing the generation method of video switching commands, the switching between videos can be accelerated, playback efficiency can be improved, and problems such as stuttering that affect the viewing experience can be reduced.

[0031] In some possible implementations, the method further includes:

[0032] After the terminal device finishes playing the second interactive video, semantic information is extracted from the input information using the semantic extraction model corresponding to the input information.

[0033] The semantic information is input into the information recommendation model to obtain at least one interactive information corresponding to the semantic information, and the obtained interactive information is displayed to the user through the terminal device.

[0034] The beneficial effects of this technical solution are as follows: After the second interactive video finishes playing on the terminal device, semantic information is extracted from the input information using a semantic extraction model corresponding to the input information. The extracted semantic information is then input into an information recommendation model to obtain at least one corresponding interactive information. This interactive information is then displayed to the user through the terminal device. On the one hand, it can extract key information based on the user's input, improving user engagement and experience. On the other hand, it can automatically make recommendations, avoiding the need for users to painstakingly filter recommended information. Using this method, user needs can be met more accurately, thereby improving user satisfaction and loyalty, and increasing platform activity and user stickiness. Furthermore, the extraction of the previously input information only occurs after the second interactive video has finished playing. This means that if the user sends a video switching command using the terminal device before this, only the video switching function will continue to be executed, thus saving computational resources and improving data processing efficiency.

[0035] In some possible implementations, the step of obtaining the video to be switched corresponding to the user's input information, and generating the video switching instruction based on the video to be switched, includes:

[0036] Using the semantic extraction model corresponding to the input information, semantic information is extracted from the input information;

[0037] Obtain the content information of each interactive video in the interactive video library, and detect whether the semantic similarity between the semantic information and each piece of content information is greater than a preset semantic similarity.

[0038] When the semantic similarity between any of the content information and the semantic information is not greater than the preset semantic similarity, the video to be switched is determined based on the historical interaction data between the user and the virtual object;

[0039] When the semantic similarity between at least one of the content information and the semantic information is greater than the preset semantic similarity, the interactive video corresponding to the maximum semantic similarity is selected as the video to be switched.

[0040] The beneficial effects of this technical solution are as follows: A semantic extraction model is used to extract semantic information from the input information, obtain the content information of each interactive video in the interactive video library, and detect whether the similarity between the semantic information and each piece of content information is greater than a preset similarity. If the similarity between all content information and the semantic information is not greater than the preset similarity, the video to be switched is determined based on the user's historical interaction data with the virtual object. If at least one piece of content information has a similarity greater than the preset similarity, the video with the highest similarity is selected as the video to be switched. On the one hand, based on user input information and historical interaction data, the optimal interactive video can be intelligently recommended to the user, improving user experience and engagement, while also increasing platform activity and user loyalty. On the other hand, by using the semantic extraction model, user needs and intentions can be identified more accurately, further improving the quality of interactive videos and user satisfaction. In summary, this enhances the user's video interaction experience with virtual objects and increases user stickiness.

[0041] In some possible implementations, determining the video to be switched based on the user's historical interaction data with the virtual object includes:

[0042] The historical interaction data between the user and the virtual object is obtained. The historical interaction data includes multiple historical semantic information of the user and the virtual object in the historical interaction, as well as the interactive video corresponding to each historical semantic information.

[0043] The semantic similarity between the semantic information and each historical semantic information is detected, and the interactive video corresponding to the historical semantic information with the highest similarity to the semantic information is taken as the video to be switched, so as to generate the video switching instruction.

[0044] The beneficial effects of this technical solution are as follows: It acquires historical interaction data between the user and virtual objects (including historical semantic information and the corresponding interactive video for each historical semantic information), then detects the similarity between the semantic information and each historical semantic information, and selects the interactive video corresponding to the historical semantic information with the highest similarity as the video to be switched. Finally, it generates a video switching instruction based on the selected video to be switched. On the one hand, it can intelligently recommend the optimal interactive video to the user based on the user's historical interaction data with virtual objects. On the other hand, by detecting the similarity between semantic information and historical semantic information, it can more accurately identify the user's needs and intentions, further improving the quality of interactive videos and user satisfaction.

[0045] In summary, by analyzing historical interaction data, the system intelligently recommends the most optimal interactive videos to users, improving user experience and engagement. This not only helps increase user stickiness but also enhances platform activity and user loyalty, thereby driving platform development.

[0046] Secondly, this application also provides an electronic device, the electronic device including a memory and at least one processor, the memory storing a computer program, the at least one processor being configured to execute the computer program to perform the following steps:

[0047] Receive access requests from terminal devices and establish a communication connection between the terminal devices and the target server, wherein the target server is used to provide virtual interactive functions;

[0048] Play the first interactive video of the virtual object using the terminal device;

[0049] According to the video switching instruction and the first interactive video, a transition video is obtained from the transition video library; the video switching instruction is used to switch the transmitted first interactive video so that the terminal device can play the second interactive video.

[0050] The transition video is played using the terminal device before the second interactive video is played.

[0051] Thirdly, this application also provides a computer-readable storage medium storing a computer program that, when executed by at least one processor, implements the steps of any of the above methods or the functions of any of the above electronic devices.

[0052] Fourthly, this application also provides a computer program product comprising a computer program that, when executed by at least one processor, implements the steps of any of the methods described above or the functions of any of the electronic devices described above. Attached Figure Description

[0053] The present application will be further described below with reference to the accompanying drawings and embodiments.

[0054] Figure 1 This is a flowchart illustrating a video transition method provided in an embodiment of this application.

[0055] Figure 2 This is a flowchart illustrating the generation of video switching instructions provided in an embodiment of this application.

[0056] Figure 3 This is a schematic diagram of a process for obtaining interactive information provided in an embodiment of this application.

[0057] Figure 4 This is a schematic diagram of another process for generating video switching instructions provided in an embodiment of this application.

[0058] Figure 5This is a flowchart illustrating another method for generating video switching instructions provided in an embodiment of this application.

[0059] Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of this application.

[0060] Figure 7 This is a schematic diagram of the structure of a computer program product provided in an embodiment of this application. Detailed Implementation

[0061] The technical solutions in this application will be described below with reference to the accompanying drawings and specific embodiments. It should be noted that, without conflict, the various embodiments or technical features described below can be arbitrarily combined to form new embodiments.

[0062] In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any implementation or design described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other implementations or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0063] The technical field and related terms of the embodiments of this application are briefly described below.

[0064] Virtual objects include virtual humans, virtual animals, and virtual cartoon characters. Virtual humans, in particular, are anthropomorphic figures constructed using CG technology and operating in code form, possessing various interactive capabilities such as language communication, facial expressions, and action demonstrations. Virtual human technology has rapidly developed in the field of artificial intelligence and has been applied in many technological areas, including film, media, games, finance, culture and tourism, education, and healthcare. It allows for the customization of virtual hosts, virtual anchors, virtual training instructors, virtual customer service representatives, virtual lawyers, virtual teachers, virtual idols, virtual doctors, virtual guides, and virtual assistants, and can also generate videos with a single click from text or audio. Among virtual humans, service-oriented virtual humans primarily function to replace real-life services and provide daily companionship; they are virtualizations of real-world service roles. Their industrial value mainly lies in reducing costs in existing service industries, thereby improving efficiency and reducing costs in the existing market.

[0065] Artificial Intelligence (AI) is the theory, methods, technology, and application systems that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to achieve optimal results. In other words, AI is a comprehensive technology within computer science that attempts to understand the essence of intelligence and produce a new kind of intelligent machine that can react in a way similar to human intelligence. AI studies the design principles and implementation methods of various intelligent machines, enabling them to possess perception, reasoning, and decision-making capabilities. AI technology is a comprehensive discipline involving a wide range of fields, encompassing both hardware and software technologies. Fundamental AI technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly include computer vision, speech processing, natural language processing, as well as machine learning / deep learning, autonomous driving, and intelligent transportation.

[0066] Machine Learning (ML) is a multidisciplinary field involving probability theory, statistics, approximation theory, convex analysis, and algorithm complexity theory. A computer program can learn experience E given a certain type of task T and a performance metric P. If its performance on task T can be measured by P, it improves with experience E. Machine learning specifically studies how computers can simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to endow computers with intelligence; its applications span all areas of artificial intelligence.

[0067] Deep learning is a special type of machine learning that learns to represent the world using nested hierarchical concepts, achieving tremendous functionality and flexibility. Each concept is defined as being associated with a simpler one, while more abstract representations are computed in a less abstract manner. Machine learning and deep learning typically include techniques such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and learning by demonstration.

[0068] Virtual object interaction applications provide interactive functionality using virtual objects. These virtual objects can simulate human communication and behavior and interact with users. This type of software (referring to virtual human interaction applications) is typically driven by artificial intelligence and natural language processing technologies and can interact with users through video, text, voice, images, and other means.

[0069] Existing video transitions are mostly applicable to traditional fields, only considering that people watch multiple videos consecutively. When transitioning between two adjacent videos, the audio and video content may differ too much, leading to a jarring and unexpected viewing experience for the user. Therefore, the previous video is usually faded out, and the next video is faded in to avoid this jarring and unexpected experience. However, with technological advancements, the use of virtual objects to interact with users is gradually becoming more widespread. This typically involves using computer graphics, animation, artificial intelligence, and other related technologies to create a virtual object (such as a virtual human), and then allowing users to interact with this virtual object through interactive videos. This interaction process usually involves interacting with the virtual object through input devices (such as keyboards, mice, cameras, or microphones). The appearance, behavior, and interaction methods of the virtual object will vary depending on the specific application scenario. For example, in games, the virtual character might be a warrior in armor; in online customer service, the virtual character might be a uniformed after-sales customer service representative. Regardless of appearance and behavior, they are controlled by computer programs and can react accordingly to user interactions. Clearly, the interactive videos of the aforementioned virtual objects can provide users with a more immersive interactive experience. Traditional methods of fading in and out of interactive videos cannot adequately meet the needs of the virtual object technology field. Based on this, this application provides a video transition method, an electronic device, a computer-readable storage medium, and a computer program product to improve upon existing technologies.

[0070] The solutions provided in this application involve technologies such as virtual humans, interaction design, artificial intelligence, 3D modeling, and cloud computing, and are specifically illustrated through the following embodiments. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.

[0071] Method Implementation Examples

[0072] See Figure 1 , Figure 1 This is a flowchart illustrating a video transition method provided in an embodiment of this application.

[0073] This application provides a video transition method, the method comprising:

[0074] Step S101: Receive an access request from a terminal device and establish a communication connection between the terminal device and the target server, wherein the target server is used to provide virtual object interaction functions;

[0075] Step S102: Play the first interactive video transmitted by the target server using a terminal device;

[0076] Step S103: Obtain a transition video from the transition video library according to the video switching instruction and the first interactive video; the video switching instruction is used to switch the transmitted first interactive video so that the terminal device can play the second interactive video.

[0077] Step S104: Use the terminal device to play the transition video and the second interactive video in sequence.

[0078] The video transition method can run on an electronic device. The electronic device and the (user-used) terminal device can be independent, or they can be integrated. When the electronic device and terminal device are independent, the electronic device can be a computer, server (including cloud server), or other device with computing capabilities. This application does not limit the terminal device; it can be, for example, a mobile phone, tablet computer, laptop computer, desktop computer, smart wearable device, or other smart terminal device with a display screen and speakers. Alternatively, the terminal device can be a workstation or console with a display screen and speakers. The display screen can be a touch screen or a non-touch screen.

[0079] In this embodiment, virtual objects include one or more of virtual humans, virtual animals, and virtual cartoon characters. As an example, the interactive application for a virtual object could be named something like "Safety Education Platform," "Introduction to Lean Management," "A Good Habit in Seven Days," or "Introduction to C Language from Zero." That is, virtual objects can be presented to users in roles such as virtual instructors, virtual waiters, or virtual salespeople through interactive applications. In this embodiment, when the virtual object is a virtual instructor, the user could be, for example, a learner (or student) acquiring skills or knowledge. When the virtual object is a virtual waiter, the user could be, for example, a diner or a ticket buyer.

[0080] This application does not limit the services provided by virtual objects. Virtual objects can provide users with various types of services through interactive video, such as programming teaching, foreign language teaching, insurance consultation, shopping consultation, and travel services, covering the needs of various users.

[0081] A target server is a computer system in a computer network that provides various network services and hosts applications, data, and other resources. Its main function is to process network requests and return corresponding data to terminal devices; it is the core node for interaction with terminal devices. A target server can be dedicated hardware, a regular computer, or a virtual machine, and its performance and configuration will vary depending on the services provided and the network load. When establishing a communication connection with terminal devices, the target server needs to fully consider factors such as network bandwidth, security, reliability, and performance to ensure stable, fast, and secure communication.

[0082] The target server can run one or more applications (such as applications that enable interaction between virtual objects and the user) to provide interactive functionality. These applications can be written in one or more programming languages, such as Java, Python, Node.js, etc., and can utilize various frameworks and libraries to implement various functions, such as natural language processing, speech-to-text, and image recognition. To improve the availability and performance of the target server, a load balancer can be used to distribute requests across multiple servers, and a failover mechanism can be used to automatically switch to a backup server in case of server failure. The electronic devices and the target server can be independent of each other, or the electronic devices can be integrated with the target server.

[0083] The first (or second) interactive video displayed to the user by the virtual object can be stored in an interactive video library, and the transition video between the first and second interactive videos can be stored in a transition video library; this application does not impose any limitations on this. The transition video library and / or interactive video library need to be stored on one or more servers, which can use cloud storage or proprietary storage methods to store the videos.

[0084] Therefore, when a terminal device initiates an access request, a communication connection is established between the terminal device and the target server. The target server is responsible for providing the user's interaction with the virtual object and transmitting the first interactive video to the terminal device for playback. When a video switch is required, a video switch instruction is received, and the corresponding transition video is retrieved from the transition video library. The role of the transition video is to provide a smooth transition process, ensuring that the switch to the second interactive video does not feel abrupt or uncomfortable for the user. In other words, the transition video enables a smooth transition from the first interactive video to the second interactive video.

[0085] Compared to existing video switching methods, which do not consider the influence of virtual objects on user intentions, the transition video in this embodiment is not only related to the video switching command but also influenced by the first interactive video. It can be understood that the first (and second) interactive video is used to realize the interaction between the virtual object and the user. Therefore, the embodiments of this application have at least the following beneficial effects:

[0086] On the one hand, it improves the continuity of video playback. By using transitional videos, this method avoids abrupt switching between playing the first and second interactive videos, thereby improving the continuity and smoothness of the video.

[0087] On the other hand, visually, smooth and natural transition videos enhance user comfort and experience, thus improving overall user satisfaction. Furthermore, a smooth and natural video transition process is crucial for increasing user satisfaction and engagement.

[0088] On the other hand, transition videos are obtained from the transition video library using video switching instructions and the first interactive video. Since interactive videos are used for interaction between virtual objects and users, the accuracy of transition video acquisition is improved.

[0089] On the other hand, it is suitable for providing interactive functions between virtual objects and users, thus further enhancing the interaction effect between virtual objects and users, and increasing user immersion and participation. For example, in a virtual customer service system, when a user asks a question to customer service, the customer service may need to respond with voice or gestures. At this time, this transition method can be used to select the appropriate transition video according to the user's instructions and smoothly transition it with the virtual customer service's response video, thereby creating a more realistic interactive experience and improving user satisfaction and participation.

[0090] In summary, by utilizing the first interactive video and video switching instructions that provide virtual object interaction functions, and considering both the virtual object and user intentions, the accuracy of acquiring transition videos can be improved, the interaction effect between virtual objects and users can be enhanced, and the user's sense of participation and immersion can be increased.

[0091] As an example, the virtual object is a virtual person named "Xiaoling," and the interactive application for this virtual object is called "Life Assistant Interactive Platform." That is, the virtual object can be presented to the user as a virtual person through the interactive application. User Xiaojia interacts with Xiaoling by accessing the target server via their mobile phone.

[0092] After receiving Xiaojia's request, the target server establishes a communication connection with the terminal device and simultaneously transmits the first interactive video to the terminal device for playback. In the first interactive video, Xiaoling greets Xiaojia with a smile and tells Xiaojia that she can help answer questions or share life experiences. During the conversation, Xiaojia turns to ask Xiaoling questions about yoga. After receiving the video switching instruction, the target server retrieves a transition video from the transition video library. This transition video shows Xiaoling doing yoga in a yoga studio, and then smoothly transitions to the next interactive video. After the transition video finishes playing, the terminal device plays the second interactive video. The second interactive video shows Xiaoling demonstrating her yoga skills on the beach and offering Xiaojia some fitness advice. Throughout the process, Xiaoling's facial expressions, gestures, and voice match the video content, giving Xiaojia a more realistic experience.

[0093] In this process, the terminal device can be considered to play the role of playing videos and receiving instructions. Xiaoling is a virtual human with facial expressions, voice, and movements, and Xiaojia interacts with this virtual human through the terminal device. To make the transition effect more natural and smooth, the target server uses a transition video library, achieving a smooth transition between different interactive videos through video switching commands.

[0094] A transition video library is a database used to store multiple transition videos, which can be categorized and organized according to different themes, styles, and scenes.

[0095] As an example, the virtual object is the virtual human "Xiaoling," and the interactive application for the virtual object is called "Online Consultation." Videos in the transition video library can be categorized and organized according to themes such as "Internal Medicine," "Surgery," "Pediatrics," "Gynecology," and "Obstetrics." The interactive application for the virtual object is called "Expert Teaching," and videos in the transition video library can be categorized and organized according to categories such as "Multiple Choice Questions" and "Fill-in-the-Blank Questions." Generally, transition videos in the transition video library are short videos used to switch between two or more different interactive videos, seamlessly connecting these interactive videos.

[0096] In some embodiments, the process of obtaining the video switching instruction includes at least one of the following:

[0097] The terminal device is used to receive the user's video switching command;

[0098] The video switching instruction is generated based on the remaining playback time of the first interactive video and the playlist;

[0099] Based on the user's input information, obtain the video to be switched corresponding to the input information, and generate the video switching instruction based on the video to be switched.

[0100] Therefore, on the one hand, users can send video switching commands to the virtual object through terminal devices (such as mobile phones, tablets, etc.), switching to the corresponding video (i.e., the second interactive video) according to the user's selection. Users can directly control the playback of the video to obtain the interactive video they want, enhancing user participation and satisfaction. On the other hand, video switching commands can be automatically generated based on the remaining playback time of the first interactive video and the playlist. This can be understood as predicting the next optimal video based on the remaining playback time of the currently playing first interactive video and the playlist, and generating a corresponding video switching command. This allows for more intelligent selection of appropriate video switching times, making the transition effect more natural and smooth, and increasing user satisfaction with the interaction with the virtual object. Furthermore, based on user input information, the corresponding video to be switched is obtained, and the video switching command is generated based on the video to be switched. Based on the input information (such as text, voice, images, etc.) provided by the user during interaction with the virtual object, the user's intention is identified, and the corresponding video to be switched is obtained. Then, a corresponding video switching command is generated based on this video, enabling more accurate selection of appropriate transition videos according to user intention, further enhancing the interactive effect.

[0101] In summary, it provides multiple video switching command acquisition processes to adapt to different situations, and all three processes can improve the interaction between virtual objects and users, enhance user participation and satisfaction, and have a high degree of intelligence.

[0102] As an example, the virtual object is a virtual human named "Xiaoling," and the interactive application for this virtual object is called "Art AI Communication and Interaction." This means the virtual object can be presented to the user as a virtual human through the interactive application. User Xiaojia interacts with Xiaoling and watches the first interactive video by accessing the target server via a mobile phone. During the video viewing, Xiaojia wants to switch to another topic, such as classical music. Xiaojia uses his smartphone to send a video switching command, which is sent to the target server. The target server, based on the received command, generates a video switching command according to the remaining playback time of the currently playing first interactive video and the playlist. Specifically, the target server retrieves a classical music-related video from its media library to switch to and sends this command back to the terminal device. Upon receiving this command, the terminal device stops playing the current first interactive video, smoothly displays a transition video, and begins playing the second interactive video related to classical music.

[0103] See Figure 2 , Figure 2 This is a flowchart illustrating the generation of video switching instructions provided in an embodiment of this application.

[0104] In some embodiments, generating the video switching instruction based on the remaining playback time of the first interactive video and the playlist includes:

[0105] Step S201: Detect the remaining playback time of the first interactive video and whether there is a video to be switched in the playlist;

[0106] Step S202: When the remaining playback time is less than the preset time, generate the video switching instruction according to the playlist.

[0107] Therefore, the remaining playback time of the first interactive video and whether there is a video to be switched in the playlist are detected simultaneously. If the remaining playback time of the first interactive video is less than the preset time, a video switching instruction is generated according to the playlist. That is, the system can intelligently determine when to switch videos based on the playback status (enhancing intelligent control capabilities). Without user intervention, the system can improve the interactive experience between users and virtual objects by automatically judging and switching videos.

[0108] This application embodiment does not limit the preset duration, which may be, for example, 1 minute, 3 minutes, or 1 / 10 of the total duration of the first interactive video. In a specific application, the preset duration can be set in advance by the user, because virtual objects usually push polite messages to the user at the end of the first interactive video, and some users do not like such pushes, so a function to skip the end of the video can be set. This application embodiment also does not limit the remaining playback time, which may be, for example, 10 minutes, 3 minutes, or 2 minutes.

[0109] In summary, automatically switching videos based on the remaining playback time of the first interactive video and the playlist can improve the user's interactive experience with virtual objects, while also simplifying user operations by enabling automated switching.

[0110] As an example, user Xiaojia is watching a first interactive video titled "Adventure Journey." The playlist includes four videos related to natural landscapes to be switched to: mountain scenery, ocean sunrise, desert sunset, and forest ecology. The process of generating video switching instructions is as follows: The target server detects the remaining playback time of the current first interactive video and whether there are any videos to be switched to in the playlist. Specifically, the current video is playing for 5 minutes, the total duration is 10 minutes, the remaining playback time is 5 minutes, and the playlist includes videos of mountain scenery, ocean sunrise, desert sunset, and forest ecology.

[0111] For example, if the preset time is 6 minutes, when the remaining playback time of the first interactive video is 5 minutes, the video switching instruction is generated according to the playlist. For example, the video switching instruction is used to switch the transmitted adventure video so that the terminal device plays a desert sunset.

[0112] In some embodiments, generating the video switching instruction based on the playlist (i.e., step S202) includes:

[0113] When the playlist is empty, obtain the correlation between the first interactive video and each interactive video in the interactive video library;

[0114] Based on the interactive video with the highest correlation to the first interactive video, the video switching instruction is generated so that the terminal device plays the transition video and the interactive video in sequence;

[0115] When the playlist includes multiple videos to be switched, the correlation between each video to be switched and the first interactive video is detected;

[0116] Based on the video to be switched that has the highest correlation with the first interactive video, a video switching instruction is generated so that the terminal device plays the transition video and the video to be switched that has the highest correlation in sequence.

[0117] The beneficial effects of this technical solution are as follows: Generally, a playlist includes one or more videos to be played. When all videos have finished playing, or when the playlist is cleared, it becomes empty. In this case, the relevance between the first interactive video and each interactive video in the interactive video library can be obtained. Based on the interactive video with the highest relevance, a switching instruction is generated, causing the terminal device to play the transition video and the most relevant interactive video (equivalent to the second interactive video) sequentially. If the playlist contains multiple videos to be switched, requiring the user to select one would undoubtedly increase user operations and reduce the user experience. In this case, the relevance between each video to be switched and the first interactive video is detected, and a switching instruction is generated based on the most relevant video, causing the terminal device to play the transition video and the most relevant video (equivalent to the second interactive video) sequentially. On the one hand, generating switching instructions based on the relevance to the currently playing video better meets the user's viewing needs, optimizes the user experience, and improves user satisfaction. On the other hand, when no videos are available, a suitable video can be automatically selected from the interactive video library for playback without manual intervention, improving the efficiency of playlist management and achieving automated playlist management. On the other hand, even if the playlist is empty or contains multiple videos to be switched, the user does not need to leave the immersive environment of interacting with the virtual object (which would make the interaction feel choppy). Instead, the switching command is automatically generated based on the content of this technical solution, and a second interactive video more suitable for the user is automatically played. By optimizing the generation method of video switching commands, the switching between videos can be accelerated, playback efficiency can be improved, and problems such as stuttering that affect the viewing experience can be reduced.

[0118] As an example, the virtual object is the virtual human "Xiaoling," and the interactive application for the virtual object is called "Junior High, Here I Come." That is, the virtual object can be presented to the user as a virtual human through the interactive application. The interactive video library includes three interactive videos corresponding to "hugging," "farewell," and "longing."

[0119] Suppose user Xiaojia is watching an interactive video titled "Graduation Ceremony." When the playlist is empty: The relevance of this interactive video to each interactive video in the interactive video library is calculated. For example, assuming the target server uses a relevance algorithm based on video topic similarity, the similarity score between the "hug" video and the "graduation ceremony" video is 0.85, the similarity score between the "farewell" video and the "graduation ceremony" video is 0.75, and the similarity score between the "longing" video and the "graduation ceremony" video is 0.65. The target server generates a video switching instruction based on the interactive video with the highest relevance to the first interactive video, playing the "hug" video.

[0120] As another example, the virtual object is the virtual human "Xiaoling," and the interactive application for the virtual object is called "Junior High School, Here I Come." That is, the virtual object can be presented to the user in the form of a virtual human through the interactive application.

[0121] Suppose user Xiaojia is watching an interactive video titled "Graduation Ceremony," and the playlist includes three videos to be switched: Hug, Farewell, and Outlook. The relevance of each video to be switched to the first interactive video is detected. The association algorithm used is still based on video theme similarity calculation: the similarity score between the Hug video and the Graduation Ceremony video is 0.85, the Farewell video is 0.75, and the Outlook video is 0.50. A video switching instruction is generated based on the video to be switched with the highest relevance to the first interactive video, and the Hug video is played.

[0122] Relevance refers to the degree of connection or similarity between two things. In the fields of information retrieval and natural language processing, relevance is often used to measure the degree of matching between a text query and a document. A higher relevance means that the content of the two is more similar or related. This application does not limit the form in which relevance is expressed, such as 0.95, 0.8, or 0.65.

[0123] The correlation between the first interactive video and the interactive videos in the interactive video library can be obtained by using video content analysis algorithms to compare the differences in visual and audio content between the two videos, or by using image recognition technology to compare the similarity of objects, scenes, colors, motion, etc., in the two videos. For example, any one of the following methods can be used: frame difference, histogram-based video extraction, or neural network-based video feature extraction. Frame difference calculates the similarity between two videos by analyzing the differences between pixels and motion direction information in the frames parsed from each video. Histogram-based video extraction extracts the color information of each frame in the video, calculates the color histogram, and designs appropriate metrics to calculate the distance or similarity between the two videos. Neural network-based video feature extraction uses convolutional neural networks (CNNs) to extract features from the video, learning the common features of the two videos to calculate their similarity.

[0124] See Figure 3 , Figure 3 This is a schematic diagram of a process for obtaining interactive information provided in an embodiment of this application.

[0125] In some embodiments, the method further includes:

[0126] Step S105: After the terminal device finishes playing the second interactive video, semantic information is extracted from the input information using the semantic extraction model corresponding to the input information;

[0127] Step S106: Input the semantic information into the information recommendation model to obtain at least one interactive information corresponding to the semantic information, and display the obtained interactive information to the user through the terminal device.

[0128] Therefore, after the second interactive video finishes playing on the terminal device, a semantic extraction model corresponding to the input information is used to extract semantic information from the input. The extracted semantic information is then input into an information recommendation model to obtain at least one corresponding interactive information. The obtained interactive information is then displayed to the user through the terminal device. On the one hand, key information can be extracted based on the user's input, improving user engagement and experience. On the other hand, automatic recommendations can be made, avoiding the situation where users are overwhelmed by filtering recommended information. Using this method, user needs can be met more accurately, thereby improving user satisfaction and loyalty, and increasing platform activity and user stickiness. Furthermore, the extraction of the previously input information is only performed after the second interactive video has finished playing. That is, if the user sends a video switching command using the terminal device before this, only the video switching function will continue to be executed, thus saving computational load and improving data processing efficiency.

[0129] This application does not limit the type of input information. For example, it may be text information entered by the user through a keyboard, voice information entered through a microphone, or image information entered through a camera.

[0130] The interactive information may include chat information such as text chat and voice messages, video calls with virtual objects, or location information interaction including the user's own geographical location and the locations of other users or virtual objects. This application embodiment does not impose any restrictions.

[0131] Taking a mobile phone as an example, here's an example of how interactive information can be displayed to users via a mobile phone:

[0132] Interactive information can be displayed as a pop-up window, where an advertisement box appears on the user interface to attract the user's attention and guide the user to click on the advertisement link or download the application.

[0133] Interactive information can be displayed as notification messages, allowing users to directly preview and respond to interactive information by pushing messages, reminders, and events to the phone's notification bar.

[0134] Interactive information can be displayed via links, such as by sending links to mobile phones via SMS or images, guiding users to click the links to enter the corresponding webpage or application interface to display interactive information.

[0135] As an example, Xiao Yi is watching a second interactive video called "Tourism" and, after it ends, uses the keyboard on his terminal device to input some thoughts and feedback, such as "I want to go to Shanghai to see the Oriental Pearl Tower and all kinds of delicious food."

[0136] The terminal device receives input information from Xiao Yi and performs semantic extraction on that information. Assuming the terminal device uses a semantic extraction model based on natural language processing algorithms, it can automatically identify tourism-related keywords such as "Shanghai," "Oriental Pearl Tower," and "food" as semantic information from Xiao Yi's input.

[0137] By inputting the extracted semantic information into the information recommendation model, the terminal device can obtain at least one corresponding interactive message. For example, the information recommendation model might recommend text-based content about Shanghai tourism, the Oriental Pearl Tower, and local cuisine, such as Shanghai travel guides, introductions to the history and cultural background of the Oriental Pearl Tower, and explorations of Shanghai's unique culinary delights.

[0138] The terminal device displays the obtained interactive information to Xiao Yi. For example, Xiao Yi can view recommended travel guides and food introductions by swiping or clicking on corresponding links on the screen, which can enhance Xiao Yi's engagement and loyalty.

[0139] In some embodiments, when the input information is text information, the semantic extraction model corresponding to the input information is a pre-trained language model based on deep learning; when the input information is speech information, the semantic extraction model corresponding to the input information includes a speech-to-text model based on deep learning and a pre-trained language model based on deep learning; when the input information is image information, the semantic extraction model corresponding to the input information is a semantic segmentation model based on deep learning.

[0140] Therefore, deep learning-based models can be used to extract semantic features from input information. Different deep learning models are used for semantic extraction for different types of input information, including pre-trained language models, speech-to-text models, and semantic segmentation models.

[0141] For textual information, pre-trained language models, such as BERT and RoBERTa, are used to extract semantic features from the input text. These models, through pre-training on a large amount of text, can learn the structure and semantic information of the language, thus effectively extracting the semantic information of the input text.

[0142] For speech information, deep learning-based speech-to-text models, such as CTC and Transformer, are used to convert speech information into text information, and pre-trained language models are used to extract semantic features from the text information. In this way, semantic information related to the input information can be extracted from the speech information.

[0143] For image information, deep learning-based semantic segmentation models, such as UNet and DeepLab, are used to segment the image and extract the semantic information corresponding to each pixel. This allows for the accurate extraction of semantic information related to the input information from the image.

[0144] The advantages of this approach are that using deep learning-based semantic extraction models can more accurately extract the semantic features of input information, thereby improving the accuracy and efficiency of semantic understanding; using pre-trained language models can improve the capabilities of natural language processing, including text classification, sentiment analysis, and machine translation; and employing different deep learning models can enable the processing of multimodal information, including text, speech, and image information, thus achieving more comprehensive information processing.

[0145] As an example, when a user inputs the text "How can I lose weight?", a pre-trained language model can be used for semantic extraction and understanding. Text processing techniques can be used to segment, vectorize, and encode the input text "How can I lose weight?". Then, a pre-trained model can be used for semantic understanding to obtain the corresponding semantic information. Alternatively, a BERT-based semantic understander can be used to convert the input text into corresponding representation vectors. These vectors are then calculated and compared to obtain the final semantic information. For the input "How can I lose weight?", the semantic understanding process follows these steps: First, the text is segmented and converted into corresponding word vector representations; then, the word vectors are input into the BERT model to obtain the representation vector for each position (including the outputs of all layers); then, the representation vectors for each position are weighted and summed to obtain the representation vector for the entire sentence; finally, the sentence representation vector is input into a classification model to obtain the final semantic classification result such as "fat loss" or "fitness".

[0146] Furthermore, if a deep learning-based keyword extractor is used for semantic processing, keywords are first extracted from the input text, and then a prediction model is used to classify and summarize the keywords to obtain the corresponding semantic information. For example, for the input information "How can I lose weight?", a deep learning-based keyword extractor can be used to process it, obtaining keywords such as "weight loss" and "fitness". These keywords are then input into the prediction model to obtain the semantic classification results.

[0147] As an example, a student's English interview might include the following information: "Hello everyone, I'm Xiaojia, I'm from A, I'm a student, could you tell me about your company's benefits?" Then, a pre-trained language model based on deep learning (such as BERT or GPT) can be used to extract Xiaojia's semantic information. This semantic information includes the student's pronunciation, speaking speed, intonation, and tone. For example, Xiaojia might have a heavy accent and speak quickly.

[0148] As an example, when the input information is an image, such as a photo of a celebrity, the corresponding semantic information might be the celebrity's skin type, etc. In this case, the image is used as input, and a semantic segmentation model is used to segment the image, classifying the regions and pixels in the image according to semantic categories. Simultaneously, based on the segmentation results, relevant semantic information can be extracted, such as the celebrity's skin type and clothing style. Semantic extraction models are deep learning-based semantic segmentation models, such as UNet and SegNet. In the above process, the semantic segmentation model is mainly responsible for classifying different regions and pixels in the image according to semantic categories, thus obtaining the semantic category to which each pixel belongs; the extracted semantic information can then be used for further semantic analysis and applications.

[0149] The information recommendation model can be a matrix factorization-based model, a content filtering-based model, or a deep learning-based model. When using a deep learning-based model, it can be trained on a pre-defined deep learning network using a recommendation training set, or it can be a pre-trained model.

[0150] In a specific application, the training process of the information recommendation model may include: acquiring a first training set, the first training set including multiple first training data, each first training data including sample information and labeled data of interaction information of the sample information; for each first training data in the first training set, performing the following processing: inputting the sample information in the first training data into a preset first deep learning model to obtain predicted data of the sample information; updating the model parameters of the first deep learning model based on the predicted data and labeled data of the sample information; detecting whether a preset first training termination condition is met; if yes, then using the trained first deep learning model as the information recommendation model; if no, then continuing to train the first deep learning model using the next first training data.

[0151] When deep learning is used to train various models, by designing and establishing an appropriate number of neural computing nodes and a multi-layered computational hierarchy, and by selecting suitable input and output layers, a pre-defined deep learning model (i.e., the initial model corresponding to each model) can be obtained. Through the learning and optimization of deep learning models, a functional relationship from input to output can be established. Although it is not possible to find a 100% accurate functional relationship between input and output, it can approximate the real-world correlation as closely as possible. The models trained in this way can obtain corresponding output data based on input data, have a wide range of applications, and provide high accuracy and reliability in calculation results.

[0152] Training deep learning models using the training sets corresponding to each model allows for rapid modeling by learning from only a small number of samples. The training error of the deep learning model gradually decreases during continuous training. The optimal weights are saved and retrieved. The accuracy of the training and validation sets is recorded for parameter tuning (adjusting model parameters). Updating the model parameters of the deep learning model can enable the model to better fit the data, have effective generalization ability, and improve robustness and fitting accuracy.

[0153] In some alternative implementations, data mining can be performed on historical data to obtain sample information from the training set. That is, this sample information can be collected from the configuration process of real personnel. Alternatively, the sample information can be automatically generated using the generative network of a GAN model.

[0154] GAN, or Generative Adversarial Network, consists of a generator network and a discriminator network. The generator network randomly samples data from the latent space as input, and its output should closely mimic real samples from the training set. The discriminator network takes either real samples or the generator network's output as input, aiming to distinguish the generator network's output from real samples as much as possible. The generator network, in turn, tries to deceive the discriminator network. The two networks compete against each other, constantly adjusting their parameters, with the ultimate goal of making it impossible for the discriminator network to determine whether the generator network's output is genuine. Using GAN models can generate a large amount of sample information for the training process of the aforementioned models, effectively reducing the amount of raw data collected and significantly lowering the cost of data collection and annotation.

[0155] The embodiments of this application do not limit the training process of each model. For example, it may adopt a supervised learning training method, a semi-supervised learning training method, or an unsupervised learning training method.

[0156] When using supervised or semi-supervised learning training methods, this application embodiment does not limit the method of obtaining labeled data. For example, manual annotation, automatic annotation, or semi-automatic annotation can be used. When the sample data is collected from real personnel, real data can be obtained from historical data as labeled data through keyword extraction.

[0157] The embodiments of this application do not limit the training termination conditions during the training process of each model. For example, it may be that the number of training times reaches a preset number (the preset number of times is, for example, 1 time, 3 times, 10 times, 100 times, 1000 times, 10000 times, etc.), or it may be that the training data in the training set has been trained once or multiple times, or it may be that the total loss value obtained in this training is not greater than the preset loss value.

[0158] This application does not limit the acquisition method of semantic extraction model and information recommendation model. In some embodiments, the above-mentioned models can be trained, and in other embodiments, the above-mentioned models can be pre-trained.

[0159] In some embodiments, after the obtained interactive information is displayed to the user through the terminal device, the terminal device receives the user's interactive operation, analyzes the interactive operation, determines the user's attention to the interactive videos in the interactive video library, and selects the interactive video with the highest attention as the video to be switched.

[0160] This can be understood as follows: users select information of interest from interactive information. Based on the user's selection, the system identifies their focus and then retrieves the next interactive video the user might be interested in from the interactive video library and schedules its playback. This demonstrates a high level of intelligence. Therefore, during the presentation phase, the terminal device displays interactive videos from the library to the user. Users can interact via touchscreen, voice, and gestures, such as clicking, swiping, zooming in / out, and voice recognition. The terminal device analyzes the collected user interaction information and calculates the level of attention given to different interactive videos based on factors such as user behavior patterns and reaction times. Finally, the terminal device selects the most-watched interactive video as the next video to play.

[0161] On the one hand, using user interaction behavior as a basis for judgment and prioritizing the most popular interactive videos as the videos to switch to can improve the user viewing experience, making it easier for users to find content they like, increasing user loyalty, and thus reducing user churn. On the other hand, using user interaction behavior to determine their level of interest can more accurately predict user interests and preferences, thereby delivering content that better meets user needs and increasing the click-through rate of the delivered content.

[0162] See Figure 4 , Figure 4 This is a schematic diagram of another process for generating video switching instructions provided in an embodiment of this application.

[0163] In some embodiments, obtaining the video to be switched corresponding to the user's input information, and generating the video switching instruction based on the video to be switched, includes:

[0164] Step S301: Use the semantic extraction model corresponding to the input information to extract semantic information from the input information;

[0165] Step S302: Obtain the content information of each interactive video in the interactive video library, and detect whether the semantic similarity between the semantic information and each piece of content information is greater than the preset semantic similarity.

[0166] Step S303: When the semantic similarity between any of the content information and the semantic information is not greater than the preset semantic similarity, determine the video to be switched based on the historical interaction data between the user and the virtual object;

[0167] Step S304: When the semantic similarity between at least one of the content information and the semantic information is greater than the preset semantic similarity, the interactive video corresponding to the maximum semantic similarity is selected as the video to be switched.

[0168] This application does not limit the form and magnitude of semantic similarity in its embodiments; for example, it may be 0.85, 0.95, 96%, etc. This application also does not limit the form and magnitude of the preset semantic similarity; for example, it may be 0.86, 0.92, 97%, etc.

[0169] Therefore, a semantic extraction model is used to extract semantic information from the input information, obtain the content information of each interactive video in the interactive video library, and detect whether the similarity between the semantic information and each piece of content information is greater than a preset similarity. If the similarity between all content information and the semantic information is not greater than the preset similarity, the video to be switched is determined based on the user's historical interaction data with the virtual object; if at least one piece of content information has a similarity greater than the preset similarity, the video with the highest similarity is selected as the video to be switched. On the one hand, based on user input information and historical interaction data, the optimal interactive video can be intelligently recommended to the user, improving user experience and engagement, while also increasing platform activity and user loyalty. On the other hand, by using the semantic extraction model, user needs and intentions can be identified more accurately, further improving the quality of interactive videos and user satisfaction. In summary, this improves the user's video interaction experience with virtual objects and increases user stickiness.

[0170] As an example, the virtual object is a virtual doctor, and the interactive application for this virtual object is called "Virtual Consultation." This means that the virtual object can present itself to the user as a virtual doctor and provide consultation services through the interactive application. Users can ask the virtual doctor health questions and receive corresponding answers.

[0171] When a user asks a question to the virtual doctor, a semantic extraction model is used to extract semantic information from the input information. For example, if a user asks, "I have a headache and a fever, do I have a cold?" the semantic extraction model converts this sentence into the semantic information "I have a headache and a fever" for subsequent similarity calculation.

[0172] The system retrieves content information for each interactive video in the interactive video library and checks whether the semantic similarity between the semantic information and each piece of content information is greater than a preset semantic similarity. For example, it retrieves multiple interactive videos from the library, such as a virtual doctor explaining the causes, symptoms, and treatments of a cold, with each video corresponding to specific content information. If the current semantic information is "feeling a headache and fever," it compares this information with all the content information in the interactive video library to check if any interactive video has a semantic similarity greater than a preset semantic similarity.

[0173] When the semantic similarity between at least one piece of content information and the semantic information is greater than a preset semantic similarity, the interactive video corresponding to the highest semantic similarity is selected as the video to be switched. For example, in the virtual doctor's interactive video library, there is a video whose content information is about the causes of the common cold. Its semantic similarity is the highest compared to the semantic information of the current question, so this video is selected as the video to be switched.

[0174] As another example, the virtual object is a virtual doctor, and the interactive application for the virtual object is named "Virtual Consultation." Unlike the previous example, this method checks whether the semantic similarity between the semantic information and each piece of content information is greater than a preset semantic similarity. The current semantic information is "feeling a headache and fever." It is compared with all content information in the interactive video library. Since the semantic similarity between any piece of content information and the semantic information is not greater than the preset semantic similarity, to avoid interrupting communication between the user and the virtual doctor, the video to be switched needs to be determined based on the user's historical interaction data with the virtual doctor. In this case, historical semantic information similar to the current problem is searched in the historical interaction data, and the corresponding interactive video is selected as the video to be switched. For example, historical semantic information similar to the current semantic information "feeling a headache and fever" is "feeling weak and aches all over the body and high temperature," and the interactive video corresponding to "feeling weak and aches all over the body and high temperature" is selected as the video to be switched.

[0175] See Figure 5 , Figure 5This is a flowchart illustrating another method for generating video switching instructions provided in an embodiment of this application.

[0176] In some embodiments, determining the video to be switched based on the user's historical interaction data with the virtual object (i.e., step S303) includes:

[0177] Step S401: Obtain the historical interaction data between the user and the virtual object. The historical interaction data includes multiple historical semantic information of the user and the virtual object in the historical interaction, and the interactive video corresponding to each historical semantic information.

[0178] Step S402: Detect the semantic similarity between the semantic information and each of the historical semantic information, and take the interactive video corresponding to the historical semantic information with the highest similarity to the semantic information as the video to be switched, so as to generate the video switching instruction.

[0179] Therefore, the system obtains historical interaction data between the user and the virtual object (including historical semantic information and the interactive video corresponding to each historical semantic information), then detects the similarity between the semantic information and each historical semantic information, selects the interactive video corresponding to the historical semantic information with the highest similarity as the video to be switched, and finally generates a video switching instruction based on the selected video to be switched.

[0180] On the one hand, it can intelligently recommend the best interactive videos to users based on their historical interaction data with virtual objects.

[0181] On the other hand, by detecting the similarity between semantic information and historical semantic information, users' needs and intentions can be identified more accurately, further improving the quality of interactive videos and user satisfaction.

[0182] In summary, by analyzing historical interaction data, the system intelligently recommends the most optimal interactive videos to users, improving user experience and engagement. This not only helps increase user stickiness but also enhances platform activity and user loyalty, thereby driving platform development.

[0183] As an example, the virtual object is a virtual human named "Xiaoling," and the interactive application for this virtual object is called "Toddler Companion." This means that the virtual object can be presented to the user as a virtual human through the interactive application.

[0184] User Xiaojia interacts with a little spirit, who answers Xiaojia's questions and tells stories, etc. The process of determining the video to switch based on Xiaojia's historical interaction data with the little spirit is as follows:

[0185] Historical interaction data is the collected data on the user's past interactions with Xiaoling, including multiple historical semantic information such as the questions asked by the user, the content of Xiaoling's answers, and the corresponding interactive video for each historical semantic information. For example, suppose a user once asked Xiaoling, "What fruit do you like to eat?" and Xiaoling answered, "I like bananas the most!" Then the historical semantic information for this interaction is "likes to eat bananas," and the corresponding interactive video is the video of Xiaoling saying this.

[0186] When a user asks Xiaoling a question again, the question is converted into semantic information and compared with all semantic information in the historical interaction data to calculate similarity. For example, if the user asks, "What other hobbies do you have?", this question can be converted into the semantic information "What hobbies do you have?" and its similarity to all semantic information in the historical interaction data can be calculated. The interactive video corresponding to the historical semantic information with the highest similarity to the newly proposed semantic information can be used as the video to be switched. For instance, if Xiaoling previously answered, "I like watching movies and listening to music," the interactive video corresponding to the historical semantic information "I like watching movies and listening to music" can be used as the video to be switched.

[0187] In a specific application scenario, this application embodiment provides a video transition method, the method comprising:

[0188] Receive access requests from terminal devices and establish a communication connection between the terminal devices and the target server, wherein the target server is used to provide virtual object interaction functions;

[0189] Play the first interactive video transmitted by the target server using a terminal device;

[0190] The terminal device is used to receive the user's video switching command;

[0191] Alternatively, detect the remaining playback time of the first interactive video and whether there is a video to be switched in the playlist; when the remaining playback time is less than a preset time, generate the video switching instruction according to the playlist;

[0192] Alternatively, based on the user's input information, obtain the video to be switched corresponding to the input information, and generate the video switching instruction based on the video to be switched;

[0193] According to the video switching instruction and the first interactive video, a transition video is obtained from the transition video library; the video switching instruction is used to switch the transmitted first interactive video so that the terminal device can play the second interactive video.

[0194] The terminal device is used to play the transition video and the second interactive video sequentially.

[0195] After the terminal device finishes playing the second interactive video, semantic information is extracted from the input information using the semantic extraction model corresponding to the input information.

[0196] The semantic information is input into the information recommendation model to obtain at least one interactive information corresponding to the semantic information, and the obtained interactive information is displayed to the user through the terminal device.

[0197] The step of generating the video switching instruction based on the playlist includes:

[0198] When the playlist is empty, obtain the correlation between the first interactive video and each interactive video in the interactive video library;

[0199] Based on the interactive video with the highest correlation to the first interactive video, the video switching instruction is generated so that the terminal device plays the transition video and the interactive video in sequence;

[0200] When the playlist includes multiple videos to be switched, the correlation between each video to be switched and the first interactive video is detected;

[0201] Based on the video to be switched that has the highest correlation with the first interactive video, a video switching instruction is generated so that the terminal device plays the transition video and the video to be switched that has the highest correlation in sequence.

[0202] In another specific application scenario, this application embodiment provides yet another video transition method, the method comprising:

[0203] Receive access requests from terminal devices and establish a communication connection between the terminal devices and the target server, wherein the target server is used to provide virtual object interaction functions;

[0204] Play the first interactive video transmitted by the target server using a terminal device;

[0205] Based on the user's input information, obtain the video to be switched corresponding to the input information, and generate the video switching instruction based on the video to be switched;

[0206] Alternatively, detect the remaining playback time of the first interactive video and whether there is a video to be switched in the playlist; when the remaining playback time is less than a preset time, generate the video switching instruction according to the playlist;

[0207] Alternatively, based on the user's input information, obtain the video to be switched corresponding to the input information, and generate the video switching instruction based on the video to be switched;

[0208] Using the semantic extraction model corresponding to the input information, semantic information is extracted from the input information;

[0209] Obtain the content information of each interactive video in the interactive video library, and detect whether the semantic similarity between the semantic information and each piece of content information is greater than a preset semantic similarity.

[0210] When the semantic similarity between any of the content information and the semantic information is not greater than the preset semantic similarity, the historical interaction data between the user and the virtual object is obtained. The historical interaction data includes multiple historical semantic information of the user and the virtual object in historical interactions, as well as interactive videos corresponding to each historical semantic information.

[0211] Detect the semantic similarity between the semantic information and each of the historical semantic information, and take the interactive video corresponding to the historical semantic information with the highest similarity to the semantic information as the video to be switched, so as to generate the video switching instruction;

[0212] When the semantic similarity between at least one of the content information and the semantic information is greater than the preset semantic similarity, the interactive video corresponding to the maximum semantic similarity will be used as the video to be switched.

[0213] The step of generating the video switching instruction based on the playlist includes:

[0214] When the playlist is empty, obtain the correlation between the first interactive video and each interactive video in the interactive video library;

[0215] Based on the interactive video with the highest correlation to the first interactive video, the video switching instruction is generated so that the terminal device plays the transition video and the interactive video in sequence;

[0216] When the playlist includes multiple videos to be switched, the correlation between each video to be switched and the first interactive video is detected;

[0217] Based on the video to be switched that has the highest correlation with the first interactive video, a video switching instruction is generated so that the terminal device plays the transition video and the video to be switched that has the highest correlation in sequence.

[0218] Electronic device examples

[0219] This application also provides an electronic device, the specific embodiments of which are consistent with the embodiments and technical effects achieved in the above method embodiments, and some contents will not be repeated.

[0220] The electronic device includes a memory and at least one processor, the memory storing a computer program, and the at least one processor being configured to execute the computer program to perform the following steps:

[0221] Receive access requests from terminal devices and establish a communication connection between the terminal devices and the target server, wherein the target server is used to provide virtual object interaction functions;

[0222] Play the first interactive video transmitted by the target server using a terminal device;

[0223] According to the video switching instruction and the first interactive video, a transition video is obtained from the transition video library; the video switching instruction is used to switch the transmitted first interactive video so that the terminal device can play the second interactive video.

[0224] The terminal device is used to play the transition video and the second interactive video in sequence.

[0225] In some embodiments, the at least one processor is configured to generate the video switching instruction based on the remaining playback time of the first interactive video and the playlist when executing the computer program:

[0226] Detect the remaining playback time of the first interactive video, and whether there are any videos to be switched in the playlist;

[0227] When the remaining playback time is less than the preset time, the video switching instruction is generated according to the playlist.

[0228] In some embodiments, the at least one processor is configured to generate the video switching instructions based on the playlist when executing the computer program in the following manner:

[0229] When the playlist is empty, obtain the correlation between the first interactive video and each interactive video in the interactive video library;

[0230] Based on the interactive video with the highest correlation to the first interactive video, the video switching instruction is generated so that the terminal device plays the transition video and the interactive video in sequence;

[0231] When the playlist includes multiple videos to be switched, the correlation between each video to be switched and the first interactive video is detected;

[0232] Based on the video to be switched that has the highest correlation with the first interactive video, a video switching instruction is generated so that the terminal device plays the transition video and the video to be switched that has the highest correlation in sequence.

[0233] In some embodiments, when the at least one processor is configured to execute the computer program, it further performs the following steps:

[0234] After the terminal device finishes playing the second interactive video, semantic information is extracted from the input information using the semantic extraction model corresponding to the input information.

[0235] The semantic information is input into the information recommendation model to obtain at least one interactive information corresponding to the semantic information, and the obtained interactive information is displayed to the user through the terminal device.

[0236] In some embodiments, the at least one processor is configured to execute the computer program to obtain a video to be switched corresponding to user input information in the following manner, and to generate a video switching instruction based on the video to be switched:

[0237] Using the semantic extraction model corresponding to the input information, semantic information is extracted from the input information;

[0238] Obtain the content information of each interactive video in the interactive video library, and detect whether the semantic similarity between the semantic information and each piece of content information is greater than a preset semantic similarity.

[0239] When the semantic similarity between any of the content information and the semantic information is not greater than the preset semantic similarity, the video to be switched is determined based on the historical interaction data between the user and the virtual object;

[0240] When the semantic similarity between at least one of the content information and the semantic information is greater than the preset semantic similarity, the interactive video corresponding to the maximum semantic similarity is selected as the video to be switched.

[0241] In some embodiments, the at least one processor is configured to determine the video to be switched based on historical interaction data between the user and the virtual object when executing the computer program:

[0242] The historical interaction data between the user and the virtual object is obtained. The historical interaction data includes multiple historical semantic information of the user and the virtual object in the historical interaction, as well as the interactive video corresponding to each historical semantic information.

[0243] The semantic similarity between the semantic information and each historical semantic information is detected, and the interactive video corresponding to the historical semantic information with the highest similarity to the semantic information is taken as the video to be switched, so as to generate the video switching instruction.

[0244] See Figure 6 , Figure 6 This is a structural block diagram of an electronic device provided in an embodiment of this application.

[0245] Electronic device 10 may include, for example, at least one memory 11, at least one processor 12, and a bus 13 connecting different platform systems.

[0246] The memory 11 may include a (computer) readable medium in the form of volatile memory, such as random access memory (RAM) 111 and / or cache memory 112, and may further include read-only memory (ROM) 113.

[0247] The memory 11 also stores a computer program, which can be executed by the processor 12 to enable the processor 12 to implement the steps of any of the above methods.

[0248] The memory 11 may also include a utility 114 having at least one program module 115, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0249] Accordingly, processor 12 can execute the aforementioned computer program, and can also execute utility 114.

[0250] The processor 12 may employ one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0251] Bus 13 can represent one or more types of bus structures, including a memory bus or memory controller, peripheral bus, graphics acceleration port, processor, or a local bus using any bus structure with multiple bus structures.

[0252] Electronic device 10 can also communicate with one or more external devices, such as keyboards, pointing devices, Bluetooth devices, etc., and with one or more devices capable of interacting with it, and / or with any device that enables it to communicate with one or more other computing devices (e.g., routers, modems, etc.). This communication can be performed through input / output interface 14. Furthermore, electronic device 10 can communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via network adapter 15. Network adapter 15 can communicate with other modules of electronic device 10 via bus 13. It should be understood that, although not shown in the figures, in practical applications, other hardware and / or software modules can be used in conjunction with electronic device 10, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms.

[0253] Computer-readable storage medium embodiments

[0254] This application also provides a computer-readable storage medium, the specific embodiments of which are consistent with the embodiments and technical effects achieved in the above method embodiments, and some contents will not be repeated.

[0255] The computer-readable storage medium stores a computer program that, when executed by at least one processor, implements the steps of any of the above methods or the functions of any of the above electronic devices.

[0256] A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. In embodiments of this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0257] Computer-readable storage media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable storage medium may also be any computer-readable medium capable of sending, propagating, or transmitting a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, or any suitable combination thereof. Program code for performing operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar programming languages. The program code may be executed entirely on a user computing device, partially on a user device, as a standalone software package, partially on a user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing devices can be connected to user computing devices via any type of network, including local area networks (LANs) or wide area networks (WANs), or they can be connected to external computing devices (e.g., via the Internet using an Internet service provider).

[0258] Computer program product examples

[0259] This application also provides a computer program product, the specific embodiments of which are consistent with the embodiments and technical effects achieved in the above method embodiments, and some contents will not be repeated.

[0260] This application provides a computer program product comprising a computer program that, when executed by at least one processor, implements the steps of any of the above-described methods or the functions of any of the above-described electronic devices.

[0261] See Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer program product provided in an embodiment of this application.

[0262] The computer program product is used to implement the steps of any of the above methods or to implement the functions of any of the above electronic devices. The computer program product may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the computer program product of the present invention is not limited thereto, and the computer program product may employ any combination of one or more computer-readable media.

[0263] It should be noted that in the embodiments of this application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple. It is worth noting that "at least one" can also be interpreted as "one or more".

[0264] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are configured to distinguish similar objects and are not necessarily configured to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0265] This application describes the invention from the perspectives of purpose, performance, progress, and novelty, and it meets the functional enhancement and use requirements emphasized by the Patent Law. The above description and drawings are merely preferred embodiments of this application and are not intended to limit this application. Therefore, all structures, devices, features, etc., that are similar to or identical to those of this application, i.e., all equivalent substitutions or modifications made in accordance with the scope of this patent application, shall fall within the scope of protection of this patent application.

Claims

1. A video transition method, characterized in that, The method includes: Receive access requests from terminal devices and establish a communication connection between the terminal devices and the target server, wherein the target server is used to provide virtual object interaction functions; Play the first interactive video transmitted by the target server using a terminal device; A video switching instruction is obtained, and a transition video is obtained by matching and retrieving from a transition video library containing multiple pre-made transition videos based on the video switching instruction and the first interactive video; the video switching instruction is used to switch the transmitted first interactive video so that the terminal device can play the second interactive video. The terminal device is used to play the transition video and the second interactive video sequentially. Obtaining the video switching command includes: Based on the user's input information, obtain the video to be switched corresponding to the input information, and generate the video switching instruction based on the video to be switched; The step of obtaining the video to be switched corresponding to the user's input information includes: Using the semantic extraction model corresponding to the input information, semantic information is extracted from the input information; Obtain the content information of each interactive video in the interactive video library, and detect whether the semantic similarity between the semantic information and each piece of content information is greater than a preset semantic similarity. When the semantic similarity between any of the content information and the semantic information is not greater than the preset semantic similarity, the video to be switched is determined based on the historical interaction data between the user and the virtual object; When the semantic similarity between at least one of the content information and the semantic information is greater than the preset semantic similarity, the interactive video corresponding to the maximum semantic similarity is selected as the video to be switched.

2. The video transition method according to claim 1, characterized in that, The step of determining the video to be switched based on the user's historical interaction data with the virtual object includes: The historical interaction data between the user and the virtual object is obtained. The historical interaction data includes multiple historical semantic information of the user and the virtual object in the historical interaction, as well as the interactive video corresponding to each historical semantic information. The semantic similarity between the semantic information and each historical semantic information is detected, and the interactive video corresponding to the historical semantic information with the highest similarity to the semantic information is taken as the video to be switched, so as to generate the video switching instruction.

3. An electronic device, characterized in that, The electronic device includes a memory and at least one processor, the memory storing a computer program, and the at least one processor being configured to execute the computer program to perform the following steps: Receive access requests from terminal devices and establish a communication connection between the terminal devices and the target server, wherein the target server is used to provide virtual interactive functions; Play the first interactive video of the virtual object using the terminal device; A video switching instruction is obtained, and a transition video is obtained by matching and retrieving from a transition video library containing multiple pre-made transition videos based on the video switching instruction and the first interactive video; the video switching instruction is used to switch the transmitted first interactive video so that the terminal device can play the second interactive video. The transition video is played using the terminal device before the second interactive video is played. Obtaining the video switching command includes: Based on the user's input information, obtain the video to be switched corresponding to the input information, and generate the video switching instruction based on the video to be switched; The step of obtaining the video to be switched corresponding to the user's input information includes: Using the semantic extraction model corresponding to the input information, semantic information is extracted from the input information; Obtain the content information of each interactive video in the interactive video library, and detect whether the semantic similarity between the semantic information and each piece of content information is greater than a preset semantic similarity. When the semantic similarity between any of the content information and the semantic information is not greater than the preset semantic similarity, the video to be switched is determined based on the historical interaction data between the user and the virtual object; When the semantic similarity between at least one of the content information and the semantic information is greater than the preset semantic similarity, the interactive video corresponding to the maximum semantic similarity is selected as the video to be switched.

4. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by at least one processor, implements the steps of the method of any one of claims 1-2 or the function of the electronic device of claim 3.

5. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by at least one processor, implements the steps of the method of any one of claims 1-2 or the function of the electronic device of claim 3.

Citation Information

Patent Citations

  • Method and device for recommending and playing videos in video list

    CN110493654A

  • Virtual video live broadcast processing method and device, storage medium and electronic equipment

    CN112543342A

  • Animation playing method and device, electronic equipment and storage medium

    CN113658300A

  • Video recommendation method and device, readable storage medium and electronic equipment

    CN115499704A