CN112887777B - Interactive prompting method and device for interactive video, electronic equipment and storage medium - Google Patents

Interactive prompting method and device for interactive video, electronic equipment and storage medium Download PDF

Info

Publication number
CN112887777B
CN112887777B CN201911204161.1A CN201911204161A CN112887777B CN 112887777 B CN112887777 B CN 112887777B CN 201911204161 A CN201911204161 A CN 201911204161A CN 112887777 B CN112887777 B CN 112887777B
Authority
CN
China
Prior art keywords
interactive
time
real
posture
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911204161.1A
Other languages
Chinese (zh)
Other versions
CN112887777A (en
Inventor
马骥
杨芳芳
孟龙
蒋黛炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Youku Culture Technology Beijing Co ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201911204161.1A priority Critical patent/CN112887777B/en
Publication of CN112887777A publication Critical patent/CN112887777A/en
Application granted granted Critical
Publication of CN112887777B publication Critical patent/CN112887777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides an interactive prompting method, an interactive prompting device, electronic equipment and a storage medium of an interactive video, wherein the method comprises the following steps: when the video is played to the interactive node, displaying interactive prompt information; the interactive prompt information at least prompts the target posture of the terminal; detecting the real-time posture of the terminal, and displaying interaction feedback information according to the real-time posture; the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in a preset display range. According to the embodiment of the invention, invalid interaction can be reduced by optimizing the prompt of the interactive operation, and the interactive enthusiasm of the user is improved.

Description

Interactive prompting method and device for interactive video, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of videos, in particular to an interactive prompting method and device of an interactive video, electronic equipment and a storage medium.
Background
With the development of video technology, different from a traditional video with only single playing content, an interactive video comes, and the interactive video allows a user to interact based on video content in the video playing process, so that the plot development is promoted or different plot development directions are selected.
When interactive video plays interactive node at present, user's accessible suggestion carries out interactive operation, and how this in-process passes through technical scheme, optimizes the interactive operation suggestion, reduces invalid interaction, promotes user interaction enthusiasm, has become the problem that technical staff in the field needs to solve urgently.
Disclosure of Invention
In view of this, embodiments of the present invention provide an interactive prompting method and apparatus for an interactive video, an electronic device, and a storage medium, which reduce invalid interaction and improve user interaction enthusiasm by optimizing prompting of interactive operations.
In order to solve the above problem, the embodiments of the present invention provide the following technical solutions:
an interactive prompting method of an interactive video comprises the following steps:
when the video is played to the interactive node, displaying interactive prompt information; the interactive prompt information at least prompts the target posture of the terminal;
detecting the real-time posture of the terminal, and displaying interactive feedback information according to the real-time posture; the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in a preset display range.
Optionally, the interactive feedback information further includes: an interaction indication range corresponding to the preset display range; when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in the interactive indicating range, and when the real-time posture is not matched with the target posture, the display position of the interactive feedback indicating object exceeds the interactive indicating range.
Optionally, the interactive feedback information further includes: and an interactive feedback result, wherein when the real-time posture is matched with the target posture, the interactive feedback result prompts interactive correct information, and when the real-time posture is not matched with the target posture, the interactive feedback result prompts interactive wrong information.
Optionally, the real-time attitude of the terminal is a real-time angle of the terminal;
the real-time adjustment of the display position of the interactive feedback indication object along with the real-time posture comprises:
and the display position of the interactive feedback indication object relative to the interactive indication range is adjusted along with the real-time angle of the terminal.
Optionally, the displaying position of the interactive feedback indicating object relative to the interactive indicating range includes, along with the real-time angle adjustment of the terminal:
the display position of the interactive feedback indicating object is adjusted according to the real-time moving direction of the interactive feedback indicating object relative to the interactive indicating range and the real-time moving distance of the interactive feedback indicating object relative to the center of the interactive indicating range; the real-time moving direction is obtained by converting the angle direction of the real-time angle, and the real-time moving distance is obtained by converting the angle value of the real-time angle.
Optionally, the detecting the real-time posture of the terminal includes:
and acquiring the real-time angle of the terminal output by the angle sensor of the terminal.
Optionally, the method further includes:
if the time for maintaining the real-time posture of the terminal as the target posture reaches a first set time, playing branch content corresponding to the target posture of the terminal in a video;
if the time for maintaining the real-time posture of the terminal as the target posture does not reach the first set time, returning to the step of displaying the interactive prompt information at the second set time after displaying the interactive prompt information; wherein the second setting time is longer than the first setting time.
An embodiment of the present invention further provides an interactive prompting device for an interactive video, including:
the interactive prompt display module is used for displaying interactive prompt information when the video is played to the interactive node; the interactive prompt information at least prompts the target posture of the terminal;
the interactive feedback display module is used for detecting the real-time posture of the terminal and displaying interactive feedback information according to the real-time posture; the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in a preset display range.
The embodiment of the invention also provides electronic equipment, which comprises at least one memory and at least one processor, wherein the memory stores one or more computer-executable instructions, and the processor calls the one or more computer-executable instructions to execute the interactive prompting method of the interactive video.
The embodiment of the invention also provides a storage medium, wherein the storage medium stores one or more computer-executable instructions, and the one or more computer-executable instructions are used for executing the interactive prompting method of the interactive video.
According to the interactive prompting method of the interactive video, provided by the embodiment of the invention, the interactive operation of a user can be reflected by the posture of the terminal, when the video is played to an interactive node, the interactive prompting information can be displayed, and the interactive prompting information at least prompts the target posture of the terminal; therefore, the real-time posture of the terminal can be detected, the interactive feedback information is displayed according to the real-time posture, the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in a preset display range.
Therefore, the real-time posture of the terminal can be reflected to be the real-time adjustment of the display position of the interactive feedback indication object, and whether the real-time posture of the terminal is matched with the target posture indicated by the interactive prompt information is reflected by whether the display position of the interactive feedback indication object is in the preset display range, so that the real-time situation of the terminal posture operated by the user can be obtained by the real-time adjustment of the display position of the interactive feedback indication object in the process of operating the terminal posture, the user can correct the interactive operation of the user in time when the interactive operation is inaccurate (namely the real-time posture of the terminal is inconsistent with the target posture), the real-time posture of the terminal is matched with the target posture, the invalid interaction of the user is reduced, the enthusiasm of the user interaction is improved, and the immersive experience of the video is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an interactive prompting method for interactive video according to an embodiment of the present invention;
fig. 2 is an exemplary diagram of an interactive feedback indication object and an interactive indication range according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating interactive feedback results provided by an embodiment of the present invention;
fig. 4 is another flowchart of an interactive prompt method of an interactive video according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating an example of an interactive prompt message provided by an embodiment of the present invention;
FIG. 6 is an illustration of a seating chart for a gyroscope according to an embodiment of the present invention;
FIG. 7 is an exemplary diagram of an interactive feedback indicating object moving relative to an interactive indicating range according to an embodiment of the present invention;
FIG. 8 is a diagram illustrating an exemplary application provided by an embodiment of the present invention;
fig. 9 is a block diagram of an interactive prompt device for interactive video according to an embodiment of the present invention;
fig. 10 is a block diagram of an electronic device provided in an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
When an interactive video (hereinafter referred to as a video) is played to an interactive node, a user needs to promote the plot development or select different plot development directions through interactive operation; for example, different branching scenarios are set behind an interactive node of a video, when the video is played to the interactive node, a user needs to be prompted to complete interactive operation through prompt information displayed on a screen, and the selection of the branching scenarios is realized.
When a video is played to an interactive node at present, a user is prompted to carry out interactive operation mainly by displaying a static image or a dynamic image, the mode only prompts the operation which the user needs to execute by the static image or the dynamic image, and the real-time feedback of the user interactive operation is lacked in the process of the user interactive operation; this results in that the user cannot know the feedback of the interactive operation, and there are many cases of executing invalid interaction, and the scenario cannot be smoothly advanced or the scenario developing direction cannot be selected due to many invalid interactions, so that the user interaction enthusiasm is low.
Based on the above description, the embodiment of the invention considers that the user interaction operation is fed back in real time from the display aspect, so that the user can correct the user interaction operation in time through the feedback prompt in the interaction operation process, the invalid interaction of the user is reduced, and the interaction enthusiasm of the user is improved.
In an optional implementation, fig. 1 shows an optional flow of the interactive video interaction prompting method provided in the embodiment of the present invention, where the flow may be applied to an electronic device, and the electronic device may be a terminal device that plays a video, such as a smart phone, a tablet computer, a PC (personal computer), a smart television, and the like that play a video; referring to fig. 1, the process may include:
s100, when a video is played to an interactive node, displaying interactive prompt information; the interactive prompt information at least prompts the target posture of the terminal.
The video referred by the embodiment of the invention is an interactive video, the interactive node is a node which is arranged in the video and supports the user to participate in the interaction, the interactive node of the video can be recorded by the interactive script of the video, and the interactive script can set the content and the mode of the user interaction. Optionally, one video may have one or more interactive nodes, and when the video is played to any interactive node, the interactive prompting method provided by the embodiment of the present invention may be executed, so that the scenario development is promoted or different scenario development directions are selected based on the interactive operation of the user.
Optionally, one interactive node may correspond to a plurality of branch contents in different plot trends, and different results of user interactive operations may realize different branch content selections, thereby promoting the plots to develop in different directions; in another optional implementation, video content of a single plot trend can be set behind the interactive node, and after the user performs the required interactive operation, the video can be pushed to play the video content.
In the embodiment of the invention, the user interaction operation is embodied by the terminal gesture of the user operation, and when the terminal gesture of the user operation reaches the required target gesture, the selection of the branch content corresponding to the target gesture can be realized, or the video content of a single plot trend is pushed to be played downwards.
In order to prompt the target posture of the terminal and enable the posture of the user operation terminal to have accurate reference, the embodiment of the invention can prompt the target posture of the terminal by displaying the interactive prompt information when the video is played to the interactive node.
In an optional implementation, the interactive prompt information may be prompt information of a static image, prompt information of a dynamic image, prompt information of a character, and the like, and may also be prompt information of an image (a static or dynamic image) in combination with a character. The interactive prompt information can be displayed on the video interface, for example, the interactive prompt information is displayed on the video interface in an overlapping manner; in another optional implementation, the interactive prompt information may also be displayed in an area of the screen of the video playing device different from the video interface, for example, in the case of playing a video in a non-full screen mode, the interactive prompt information may be displayed in an area of the screen different from the video interface.
It should be noted that the video playing device and the terminal operated by the user may be the same device, for example, the user may perform an interactive operation through a smart phone, a tablet computer, etc. playing the video, so as to operate the posture of the terminal; optionally, the video playing device and the terminal operated by the user may also be different devices that communicate with each other, for example, the video playing device is an intelligent television, and the terminal operated by the user is a remote controller, an intelligent mobile phone, a tablet computer, or the like that communicate with the intelligent television.
Step S110, detecting a real-time posture of a terminal, and displaying interactive feedback information according to the real-time posture; the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in a preset display range.
After the interactive prompt information is displayed and the target posture where the terminal is placed is prompted, the embodiment of the invention can realize real-time posture detection of the terminal through the sensor of the terminal.
In the embodiment of the invention, in order to feed back the terminal posture operated by a user in real time, the embodiment of the invention can display the interactive feedback information based on the detected real-time posture of the terminal, so that the real-time posture of the terminal is fed back on a display level through the interactive feedback information; the feedback of the real-time posture of the terminal by the interactive feedback information can be realized by the interactive feedback indicating object, and the display position of the interactive feedback indicating object on the screen can be adjusted in real time along with the real-time posture of the terminal, so that the real-time posture of the terminal can be reflected by the real-time adjustment of the display position of the interactive feedback indicating object, and the real-time feedback of the terminal posture operated by a user can be realized.
In the process of operating the terminal gesture by the user, in order to enable the user to have reference of whether the terminal gesture is in the target gesture, the preset display range can be appointed on the screen, when the display position of the interactive feedback indicating object is in the preset display range, the real-time gesture of the terminal is considered to be matched with the target gesture, the user interactive operation is accurate, and when the display position of the interactive feedback indicating object exceeds the preset display range, the real-time gesture of the terminal is considered not to be matched with the target gesture, and the user interactive operation has errors; that is to say, whether the display position of the interactive feedback indication object based on the screen display is located in the preset display range or not can be known by the user whether the real-time posture of the terminal is matched with the target posture or not, so that when the real-time posture of the terminal is not matched with the target posture, the user can correct the operated terminal posture in time, the situation that the user operates the terminal in a non-target posture is reduced, and the effect of reducing invalid interaction of the user is achieved.
It should be noted that, in the embodiment of the present invention, the interaction node may configure an interaction type, different terminal gestures may be used for different interaction types, and different terminal gestures may be detected by different types of sensors. In this embodiment, the sensor of the terminal is a sensor corresponding to an interaction type configured by the interaction node, and is configured to detect a terminal gesture required under the interaction type. In the embodiment of the present invention, the gesture of the terminal is not limited, and may be, for example and without limitation: an equilibrium state and an unbalanced state. The equilibrium state may include: static, linear motion at a constant speed or rotation at a constant speed and the like; the non-equilibrium state may be non-uniform shaking, irregular rotation, tumbling, accelerated motion, etc. In one example, the target pose of the terminal may be a balanced pose of the terminal.
According to the interactive prompting method of the interactive video, provided by the embodiment of the invention, the interactive operation of a user can be reflected by the posture of the terminal, when the video is played to an interactive node, the embodiment of the invention can display interactive prompting information, and the interactive prompting information at least prompts the target posture of the terminal; therefore, the real-time posture of the terminal can be detected, the interactive feedback information is displayed according to the real-time posture, the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in the preset display range.
Therefore, the real-time posture of the terminal can be reflected to be the real-time adjustment of the display position of the interactive feedback indication object, and whether the real-time posture of the terminal is matched with the target posture indicated by the interactive prompt information is reflected by whether the display position of the interactive feedback indication object is in the preset display range, so that the real-time situation of the terminal posture operated by the user can be obtained by the real-time adjustment of the display position of the interactive feedback indication object in the process of operating the terminal posture, the user can correct the interactive operation of the user in time when the interactive operation is inaccurate (namely the real-time posture of the terminal is inconsistent with the target posture), the real-time posture of the terminal is matched with the target posture, the invalid interaction of the user is reduced, the enthusiasm of the user interaction is improved, and the immersive experience of the video is enhanced.
In an optional implementation, the predetermined display range may be represented by an interaction indication range further included in the interaction feedback information, that is, the interaction feedback information displayed based on the real-time gesture of the terminal in the embodiment of the present invention may include: the interactive feedback indication object and the interactive indication range corresponding to the preset display range; the display position of the interactive feedback indication object on the screen is adjusted along with the real-time posture of the terminal, when the real-time posture is matched with the target posture, the display position of the interactive feedback indication object is in the interactive indication range, and when the real-time posture is not matched with the target posture, the display position of the interactive feedback indication object exceeds the interactive indication range.
In one example, as shown in fig. 2, the interactive feedback indication object may be a point-like motion point, the interactive indication range may be a circular range (similar to a compass shape) with a preset radius, and the position of the motion point relative to the circular range shown in fig. 2 is adjusted according to the real-time posture of the terminal, for example, if the terminal is tilted to a certain direction, the motion point moves in the direction relative to the circular range, so that when the real-time posture of the terminal does not match the target posture (such as a balance posture), the position of the motion point relative to the circular range is beyond the circular range, and when the real-time posture of the terminal matches the target posture, the motion point is within the circular range.
In a further optional implementation, the embodiment of the invention can also feed back an interactive feedback result in the form of characters, images and the like to the user so as to intuitively prompt the user whether the interactive operation is accurate or not; based on this, optionally, the interactive feedback information according to the embodiment of the present invention may further include: the interactive feedback result prompts interactive correct information when the real-time posture of the terminal is matched with the target posture, and prompts interactive wrong information when the real-time posture of the terminal is not matched with the target posture;
for example, taking the case that the user interaction operation needs to keep the terminal in the balanced posture (that is, the target posture is the balanced posture), as shown in fig. 2 and 3, the display position of the interaction feedback indication object is in the interaction indication range, which indicates that the real-time posture of the terminal is the balanced posture, the embodiment of the invention can display the interaction feedback result with correct interaction, and when the display position of the interaction feedback indication object exceeds the interaction indication range, which indicates that the real-time posture of the terminal is not the balanced posture, the embodiment of the invention can display the interaction feedback result with wrong interaction.
Optionally, whether the posture of the terminal is in the target posture or not can correspond to different branch contents, and when the time for maintaining the real-time posture of the terminal as the target posture reaches a first set time, the embodiment of the invention can determine that a user performs interactive operation according to requirements, and the effective time of interaction reaches a certain time, so that the embodiment of the invention can play the branch contents corresponding to the target posture of the terminal in a video; and if the time for maintaining the real-time posture of the terminal as the target posture does not reach the first set time, determining that the user does not perform interactive operation according to the requirement or the effective interactive time does not reach a certain time at a second set time after the interactive prompt information is displayed, so that the embodiment of the invention can play the branch content corresponding to the terminal not in the target posture in the video.
Of course, the embodiment of the present invention may also be configured to play the video content downward only when the posture of the terminal is maintained as the target posture; therefore, if the time for maintaining the real-time posture of the terminal as the target posture does not reach the first set time, and at the second set time after the interactive prompt information is displayed, the embodiment of the invention can return to the step for displaying the interactive prompt information in the step S100, so that the real-time posture of the terminal is continuously detected and the interactive feedback information is displayed, and the branch content corresponding to the target posture of the terminal in the video is played until the time for maintaining the real-time posture of the terminal as the target posture reaches the first set time.
Optionally, the first set time may be predefined effective interaction time, and the user is considered to perform the interaction operation as required only when the time for maintaining the real-time posture of the terminal as the target posture reaches the first set time; the second set time may be a duration of allowing the user to perform the interactive operation, that is, after the interactive prompt information is displayed, the user is allowed to perform the interactive operation within the second set time to perform the posture adjustment of the terminal.
In an optional implementation, taking as an example that different interaction results of the interactive video content correspond to different branch contents, optionally, fig. 4 shows another optional flow of the interactive video interaction prompting method provided in the embodiment of the present invention, as shown in fig. 4, the flow may include:
s200, when the video is played to an interactive node, displaying interactive prompt information; the interactive prompt information at least prompts the target posture of the terminal.
Optionally, the target gesture may be a balance gesture, and the interaction prompt information may be used to prompt the user to place the terminal in the balance gesture, for example, taking the terminal as a mobile phone for playing a video, as shown in fig. 5, the video interface may display an image of the mobile phone placed in a horizontal gesture and cooperate with a text prompt to display the interaction prompt information.
And S210, detecting the real-time posture of the terminal, and adjusting the display position of the displayed interactive feedback indication object relative to the interactive indication range in real time according to the real-time posture.
In the embodiment of the invention, the interactive feedback information comprises an interactive feedback indication object and an interactive indication range; based on the real-time posture of the detected terminal, the display position of the displayed interactive feedback indication object relative to the interactive indication range can be adjusted in real time, so that interactive feedback information can be displayed according to the real-time posture.
In one example, the embodiment of the invention can realize the detection of the real-time attitude of the terminal by detecting the real-time angle of the terminal, so that the display position of the interactive feedback indication object can be adjusted in real time through the real-time angle of the terminal; based on this, the embodiment of the invention can realize the detection of the real-time attitude of the terminal by acquiring the real-time angle output by the angle sensor of the terminal.
Optionally, the angle sensor may be a gyroscope; a gyroscope is a device for sensing and maintaining direction, and is designed based on the theory of conservation of angular momentum. The gyroscope is mainly composed of a rotatable rotor which is positioned at an axis. Once the gyroscope begins to rotate, there is a tendency to resist changes in direction due to the angular momentum of the rotor. However, when an external force is applied, the direction in which the rotation axis of the gyroscope points changes, and the angle (e.g., attitude angle) of the terminal can be detected based on the change in direction. The angle of the gyroscope output may refer to the pitch angle (pitch), yaw angle (yaw), and roll angle (roll) of the gyroscope output. In an embodiment of the present invention, the pitch angle (pitch), yaw angle (yaw), and roll angle (roll) may be defined in the following manner:
as illustrated in fig. 6, taking a cell phone as an example, the x-axis is horizontal and pointing to the right, the z-axis is vertical and pointing to the front, and the y-axis is pointing directly above the front of the screen. When the terminal is rocking side-to-side (rotating around the y-axis), a varying roll angle (roll) is obtained, ranging from (-90 degrees, 90 degrees); as the terminal rocks back and forth (rotates about the x-axis), a changing pitch angle (pitch) is obtained, ranging from (-180 degrees, 180 degrees); when the terminal landscape is converted to portrait or portrait is converted to landscape (rotation around z-axis), a varying yaw angle (yaw) results.
Optionally, the real-time angle of the detected terminal is converted into real-time motion data of the interactive feedback indication object relative to the interactive indication range, so that the display position of the displayed interactive feedback indication object relative to the interactive indication range is adjusted in real time according to the real-time motion data of the interactive feedback indication object relative to the interactive indication range, and the display position of the interactive feedback indication object relative to the interactive indication range can be adjusted in real time according to the real-time angle of the terminal;
in a further optional implementation, the real-time angle of the terminal may include an angle direction and an angle value, and the embodiment of the present invention may convert the angle direction of the real-time angle of the terminal into a real-time moving direction of the interactive feedback indicating object relative to the interactive indicating range, and convert the angle value of the real-time angle of the terminal into a real-time moving distance of the interactive feedback indicating object relative to the center of the interactive indicating range; and further, the real-time moving direction of the interactive feedback indicating object relative to the interactive indicating range and the real-time moving distance of the interactive feedback indicating object relative to the center of the interactive indicating range are used for adjusting the display position of the interactive feedback indicating object relative to the interactive indicating range in real time.
Optionally, the angular direction of the terminal may correspond to a moving direction of the interactive feedback indication object relative to the interactive indication range, for example, if the terminal rotates from a horizontal posture to a lower right corner in real time, the interactive feedback indication object moves to the lower right corner in real time relative to the interactive indication range, that is, if the real-time moving direction of the interactive feedback indication object relative to the interactive indication range is the lower right corner direction, and if the terminal rotates to the upper right corner, the interactive feedback indication object moves to the upper right corner in real time relative to the interactive indication range;
optionally, the angle value of the terminal in one direction may correspond to a distance between the interactive feedback indicating object and the center of the interactive indicating range, for example, taking that the distance between the interactive feedback indicating object and the center of the interactive indicating range reaches the radius r of the interactive indicating range, and the angle of the corresponding terminal in one direction reaches 90 °, assuming that the rotation angle of the terminal in one direction is n, the angle value may be represented as: the interactive feedback indication object moves towards the direction relative to the interactive indication range, and the distance of the movement distance relative to the center of the interactive indication range is nr/90; for example, as shown in fig. 7, taking the terminal rotated by 30 ° in the lower right corner direction as an example, the interactive feedback indicating object moves in the lower right corner direction relative to the interactive indicating range, and the moving distance is 1/3 of the radius relative to the center of the interactive indicating range.
Step S220, if the real-time posture is matched with the target posture, the interactive feedback result prompts correct interactive information, and if the real-time posture is not matched with the target posture, the interactive feedback result prompts wrong interactive information.
In the embodiment of the invention, the interactive feedback information further comprises an interactive feedback result, and through the interactive feedback result, when the real-time posture of the terminal is matched with the target posture (namely the interactive feedback indicating object is positioned in the interactive indicating range), the embodiment of the invention can display and prompt the interactive feedback result with correct interaction, and when the real-time posture of the terminal is not matched with the target posture (namely the interactive feedback indicating object exceeds the interactive indicating range), the embodiment of the invention can display and prompt the interactive feedback result with wrong interaction, thereby more intuitively prompting the user whether the interactive operation is accurate or not.
Alternatively, step S210 and step S220 may be performed synchronously.
Step S230, determining whether the time for maintaining the real-time posture of the terminal as the target posture reaches a first set time, if so, executing step S240, otherwise, returning to step S200 at a second set time after the interactive prompt message is displayed.
And S240, playing the branch content corresponding to the target posture of the terminal in the video.
When the time for maintaining the real-time posture of the terminal as the target posture reaches the first set time, the embodiment of the invention can determine that the user performs interactive operation according to the requirement and the interactive operation is effective, and can control the video to play the branch content corresponding to the target posture of the terminal.
And if the time for maintaining the real-time posture of the terminal as the target posture does not reach the first set time, the embodiment of the invention can return to the step S200 at the second set time after the interactive prompt information is displayed, and re-display the interactive prompt information, thereby continuously detecting the real-time posture of the terminal and displaying the interactive feedback information according to the real-time posture.
Optionally, after the interactive prompt information is displayed in step S200, the embodiment of the present invention may further set a waiting time, and after the waiting time elapses, the embodiment of the present invention displays the interactive feedback information according to the real-time gesture, so as to provide a certain interactive preparation time for the user; of course, during this waiting time, the embodiment of the present invention can maintain the real-time posture of the detection terminal.
Optionally, further, in a user interaction process (i.e., in a process of operating a terminal gesture by a user), the embodiment of the present invention may control the video to stop playing or to cyclically play the content of the interaction node, so as to wait for a user interaction result to determine a subsequent video playing content; optionally, the time of the user's interaction process may be set to the second set time, that is, the second set time after the interaction prompt information is displayed may be the time of the user's interaction process.
The real-time posture of the terminal can be reflected to be the real-time adjustment of the display position of the interactive feedback indication object, and whether the real-time posture of the terminal is matched with the target posture or not is reflected through whether the display position of the interactive feedback indication object is in the preset display range or not, so that the real-time situation of the terminal posture operated by a user can be obtained through the real-time adjustment of the display position of the interactive feedback indication object in the process of operating the terminal posture of the user, the user can correct the interactive operation of the user in time when the interactive operation is inaccurate (the real-time posture of the terminal is inconsistent with the target posture), the real-time posture of the terminal is matched with the target posture, the invalid interaction of the user can be reduced, the enthusiasm of the user interaction is improved, and the immersive experience of the video is enhanced.
In an optional application example, taking as an example whether a user operates a mobile phone to keep a horizontal posture to determine whether a video character horse riding succeeds or not so as to determine different branching scenarios, the video playing process according to an embodiment of the present invention may include:
and S10, playing the video to an interactive node of the video character horse riding, and displaying interactive prompt information for placing the mobile phone in a horizontal posture.
Optionally, the embodiment of the present invention may further activate the gyroscope synchronously to implement angle detection of the mobile phone, and certainly, if the gyroscope is always in an activated state, this means may be omitted.
Step S11, detecting a real-time angle of the mobile phone, converting the angle direction of the real-time angle into a real-time moving direction of the interactive feedback indicating object relative to an interactive indicating range, converting the angle value of the real-time angle into a real-time moving distance of the interactive feedback indicating object relative to the center of the interactive indicating range, and adjusting the display position of the interactive feedback indicating object relative to the interactive indicating range according to the real-time moving direction and the real-time moving distance.
The following description is based on different mobile phone posture situations.
And S12, if the mobile phone is in a horizontal posture, the display position of the interactive feedback indication object is located in the content of the interactive indication range, and an interactive feedback result with correct interaction is displayed.
Optionally, further, when the time for maintaining the mobile phone in the horizontal posture reaches the first set time, the branch content of the successful horse riding of the video character can be played.
And S13, if the mobile phone is not in the horizontal posture, displaying the interactive feedback indicating object at a position exceeding the interactive indicating range content, and displaying the interactive feedback result with interactive error.
Optionally, after the second set time, the time that the mobile phone maintains the horizontal posture does not reach the first set time, or the mobile phone never reaches the horizontal state, the interaction prompt information for placing the mobile phone in the horizontal posture may be displayed again, and the display position of the interaction feedback indication object relative to the interaction indication range is adjusted based on the real-time angle of the mobile phone, until the time that the mobile phone maintains the horizontal posture reaches the first set time, the branch content that the video character successfully rides the horse is played.
Optionally, further, when the real-time posture of the terminal is matched with the target posture, the video object (e.g., a video character or an object) in the video may perform feedback corresponding to the target posture of the terminal, and when the real-time posture of the terminal is not matched with the target posture, the video object (e.g., a video character or an object) in the video may perform feedback corresponding to the non-target posture of the terminal, so as to show whether the user operates the terminal to maintain the target posture successfully or not through feedback of the video content; for example, in the case that whether the user operates the mobile phone to keep a horizontal posture or not is determined to determine whether the video character rides successfully or not, and user interaction is realized, when the posture of the user operating the terminal is maintained as the horizontal posture, the video character can maintain a riding state, so that feedback that the posture of the terminal is the horizontal posture is provided through video content, and when the posture of the user operating the terminal is not the horizontal posture, the video character falls down immediately, so that feedback that the posture of the terminal is not the horizontal posture is provided through the video content.
The interactive prompting method for the interactive video, provided by the embodiment of the invention, can reduce invalid interaction of a user, improve the enthusiasm of user interaction and enhance the immersive experience of the video.
While various embodiments of the present invention have been described above, various alternatives described in the various embodiments can be combined and cross-referenced without conflict to extend the variety of possible embodiments that can be considered disclosed and disclosed in connection with the embodiments of the present invention.
In the following, the interactive video interaction prompting device provided in the embodiment of the present invention is introduced, and the interactive video interaction prompting device described below may be considered as a functional module that is required to be set by an electronic device (for example, a terminal for playing a video) to implement the interactive video interaction prompting method provided in the embodiment of the present invention. The content of the interactive video interaction prompting device described below can be referred to in correspondence with the content of the interactive video interaction prompting method described above.
In an alternative implementation, fig. 9 is a block diagram illustrating an interactive prompting device for interactive video according to an embodiment of the present invention, and as shown in fig. 9, the device may include:
the interactive prompt display module 100 is used for displaying interactive prompt information when a video is played to an interactive node; the interactive prompt information at least prompts the target posture of the terminal;
the interactive feedback display module 110 is configured to detect a real-time posture of the terminal, and display interactive feedback information according to the real-time posture; the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in a preset display range.
Optionally, the interactive feedback information may further include: an interaction indication range corresponding to the predetermined display range; when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in the interactive indicating range, and when the real-time posture is not matched with the target posture, the display position of the interactive feedback indicating object exceeds the interactive indicating range.
Optionally, the interactive feedback information may further include: and an interactive feedback result, wherein when the real-time posture is matched with the target posture, the interactive feedback result prompts interactive correct information, and when the real-time posture is not matched with the target posture, the interactive feedback result prompts interactive wrong information.
Optionally, the real-time posture of the terminal is a real-time angle of the terminal;
the real-time adjustment of the display position of the interactive feedback indication object along with the real-time posture comprises:
and the display position of the interactive feedback indication object relative to the interactive indication range is adjusted along with the real-time angle of the terminal.
Optionally, the displaying position of the interactive feedback indicating object relative to the interactive indicating range includes, along with the real-time angle adjustment of the terminal:
the display position of the interactive feedback indicating object is adjusted according to the real-time moving direction of the interactive feedback indicating object relative to the interactive indicating range and the real-time moving distance of the interactive feedback indicating object relative to the center of the interactive indicating range; the real-time moving direction is obtained by converting the angle direction of the real-time angle, and the real-time moving distance is obtained by converting the angle value of the real-time angle.
Optionally, the interactive feedback display module 110 is configured to detect a real-time gesture of the terminal, and may include:
and acquiring the real-time angle of the terminal output by the angle sensor of the terminal.
Optionally, the interaction prompting device provided in the embodiment of the present invention may be further configured to:
if the time for maintaining the real-time posture of the terminal as the target posture reaches a first set time, playing the branch content corresponding to the target posture of the terminal in the video;
if the time for maintaining the real-time posture of the terminal as the target posture does not reach the first set time, returning to the step of displaying the interactive prompt information at the second set time after displaying the interactive prompt information; wherein the second setting time is longer than the first setting time.
The interactive prompting device for the interactive video, provided by the embodiment of the invention, can reflect the real-time posture of the terminal into the real-time adjustment of the display position of the interactive feedback indication object, and can reflect whether the real-time posture of the terminal is matched with the target posture or not by judging whether the display position of the interactive feedback indication object is in the preset display range or not, so that the real-time situation of the terminal posture operated by a user can be obtained by the real-time adjustment of the display position of the interactive feedback indication object in the process of operating the terminal posture by the user, and the user can correct the interactive operation of the user in time when the interactive operation is inaccurate (the real-time posture of the terminal is inconsistent with the target posture), so that the real-time posture of the terminal is matched with the target posture, the invalid interaction of the user can be reduced, the enthusiasm of the user interaction is improved, and the immersive experience of the video is enhanced.
Optionally, the interactive prompting device for the interactive video may be loaded in the electronic device in the form of a computer executable instruction (e.g., a program), so as to implement the interactive prompting method for the interactive video provided by the embodiment of the present invention. In an alternative implementation, fig. 10 shows an alternative block diagram of the electronic device provided in the embodiment of the present invention, and as shown in fig. 10, the terminal may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the present invention, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 complete mutual communication through the communication bus 4; it is clear that the illustrated communication connection illustration of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is only optional;
optionally, the communication interface 2 may be an interface of a communication module for performing network communication;
the processor 1 may be a central processing unit CPU or an Application Specific Integrated Circuit ASIC or one or more Integrated circuits configured to implement an embodiment of the invention.
The memory 3 may comprise high-speed RAM memory and may also comprise non-volatile memory, such as at least one disk memory.
The memory 3 stores one or more computer-executable instructions, and the processor 1 calls the one or more computer-executable instructions to execute the interactive prompting method for interactive videos provided by the embodiment of the present invention.
The embodiment of the present invention may further provide a storage medium, where the storage medium may store one or more computer-executable instructions, and the one or more computer-executable instructions may be configured to execute the interactive video interaction prompting method provided in the embodiment of the present invention.
For specific contents of the interactive prompting method for interactive video, reference may be made to the description of the corresponding parts above, and details are not repeated here.
Although the embodiments of the present invention have been disclosed, the present invention is not limited thereto. Various changes and modifications may be effected by one skilled in the art without departing from the spirit and scope of the invention, as defined in the appended claims.

Claims (10)

1. An interactive prompting method for interactive video is characterized by comprising the following steps:
when the video is played to the interactive node, displaying the interactive prompt information; the interactive prompt information at least prompts the target posture of the terminal;
detecting the real-time posture of the terminal, and displaying interaction feedback information according to the real-time posture; the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in a preset display range.
2. The interactive prompting method for interactive video according to claim 1, wherein the interactive feedback information further comprises: an interaction indication range corresponding to the preset display range; when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in the interactive indicating range, and when the real-time posture is not matched with the target posture, the display position of the interactive feedback indicating object exceeds the interactive indicating range.
3. The interactive prompting method for interactive video according to claim 2, wherein the interactive feedback information further comprises: and an interactive feedback result, wherein when the real-time posture is matched with the target posture, the interactive feedback result prompts interactive correct information, and when the real-time posture is not matched with the target posture, the interactive feedback result prompts interactive wrong information.
4. The interactive prompting method for the interactive video according to any one of claims 2-3, wherein the real-time posture of the terminal is the real-time angle of the terminal;
the real-time adjustment of the display position of the interactive feedback indication object along with the real-time posture comprises:
and the display position of the interactive feedback indication object relative to the interactive indication range is adjusted along with the real-time angle of the terminal.
5. The interactive prompting method for interactive video according to claim 4, wherein the displaying position of the interactive feedback indication object relative to the interactive indication range includes, along with the real-time angle adjustment of the terminal:
the display position of the interactive feedback indicating object is adjusted according to the real-time moving direction of the interactive feedback indicating object relative to the interactive indicating range and the real-time moving distance of the interactive feedback indicating object relative to the center of the interactive indicating range; and converting the real-time moving direction from the angle direction of the real-time angle, and converting the real-time moving distance from the angle value of the real-time angle.
6. The interactive prompting method for the interactive video according to claim 4, wherein the detecting the real-time gesture of the terminal comprises:
and detecting the real-time angle output by the angle sensor of the terminal.
7. The method for interactive hinting of an interactive video according to claim 1, further comprising:
if the time for maintaining the real-time posture of the terminal as the target posture reaches a first set time, playing branch content corresponding to the target posture of the terminal in a video;
if the time for maintaining the real-time posture of the terminal as the target posture does not reach the first set time, returning to the step of displaying the interactive prompt information at the second set time after displaying the interactive prompt information; wherein the second setting time is longer than the first setting time.
8. An interactive prompting device for interactive video, comprising:
the interactive prompt display module is used for displaying interactive prompt information when the video is played to the interactive node; the interactive prompt information at least prompts the target posture of the terminal;
the interactive feedback display module is used for detecting the real-time posture of the terminal and displaying interactive feedback information according to the real-time posture; the interactive feedback information at least comprises an interactive feedback indicating object, the display position of the interactive feedback indicating object is adjusted in real time along with the real-time posture, and when the real-time posture is matched with the target posture, the display position of the interactive feedback indicating object is in a preset display range.
9. An electronic device comprising at least one memory and at least one processor, the memory storing one or more computer-executable instructions, the processor invoking the one or more computer-executable instructions to perform the interactive video interaction prompt method of any one of claims 1-7.
10. A storage medium storing one or more computer-executable instructions for performing the interactive hinting method for interactive video according to any one of claims 1-7.
CN201911204161.1A 2019-11-29 2019-11-29 Interactive prompting method and device for interactive video, electronic equipment and storage medium Active CN112887777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911204161.1A CN112887777B (en) 2019-11-29 2019-11-29 Interactive prompting method and device for interactive video, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911204161.1A CN112887777B (en) 2019-11-29 2019-11-29 Interactive prompting method and device for interactive video, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112887777A CN112887777A (en) 2021-06-01
CN112887777B true CN112887777B (en) 2022-12-23

Family

ID=76038788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911204161.1A Active CN112887777B (en) 2019-11-29 2019-11-29 Interactive prompting method and device for interactive video, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112887777B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114397959A (en) * 2021-12-13 2022-04-26 北京大麦文化传播有限公司 Interactive prompting method, device and equipment
CN114327214A (en) * 2022-01-05 2022-04-12 北京有竹居网络技术有限公司 Interaction method, interaction device, electronic equipment, storage medium and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707817A (en) * 2017-09-27 2018-02-16 维沃移动通信有限公司 A kind of video capture method and mobile terminal
CN108519818A (en) * 2018-03-29 2018-09-11 北京小米移动软件有限公司 Information cuing method and device
CN108829237A (en) * 2018-05-02 2018-11-16 北京小米移动软件有限公司 Children's wrist-watch control method, terminal control method and device
CN109391834A (en) * 2017-08-03 2019-02-26 阿里巴巴集团控股有限公司 A kind of play handling method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161635B (en) * 2016-07-20 2019-01-29 腾讯科技(北京)有限公司 Information processing method, terminal and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109391834A (en) * 2017-08-03 2019-02-26 阿里巴巴集团控股有限公司 A kind of play handling method, device, equipment and storage medium
CN107707817A (en) * 2017-09-27 2018-02-16 维沃移动通信有限公司 A kind of video capture method and mobile terminal
CN108519818A (en) * 2018-03-29 2018-09-11 北京小米移动软件有限公司 Information cuing method and device
CN108829237A (en) * 2018-05-02 2018-11-16 北京小米移动软件有限公司 Children's wrist-watch control method, terminal control method and device

Also Published As

Publication number Publication date
CN112887777A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US11231845B2 (en) Display adaptation method and apparatus for application, and storage medium
RU2613025C1 (en) Method and device for screen rotation control
US8624838B2 (en) Electronic apparatus
US9910558B2 (en) Methods and devices for user interactive interfaces on touchscreens
US8619028B2 (en) Mobile communication terminal, application program, image display control apparatus, electronic apparatus, and image display control method
KR101430761B1 (en) Orientation-sensitive signal output
JP6081769B2 (en) Program, information processing apparatus, information processing method, and information processing system
US10963100B2 (en) Interactive object control method and apparatus, terminal, and computer-readable storage medium
GB2528948A (en) Activation target deformation using accelerometer or gyroscope information
CN112887777B (en) Interactive prompting method and device for interactive video, electronic equipment and storage medium
CN106445334B (en) Display interface adjusting method and adjusting system
JP7078234B2 (en) How to create a 3D object to be placed in augmented reality space
JP6100497B2 (en) Information processing program, information processing apparatus, information processing system, and image display method
US20170169546A1 (en) Method and electronic device for adjusting panoramic video
US9665232B2 (en) Information-processing device, storage medium, information-processing method, and information-processing system for enlarging or reducing an image displayed on a display device
CN111897437A (en) Cross-terminal interaction method and device, electronic equipment and storage medium
CN112740143B (en) Screen display content control method and device, electronic equipment and storage medium
CN113906381A (en) Electronic device for displaying messages and method of operating the same
US9001058B2 (en) Computer action detection
CN106500689B (en) Method for determining posture of mobile terminal and mobile terminal
CN112114656A (en) Image processing method, device and equipment based on airflow and storage medium
KR102276816B1 (en) Method and system for providing content composed of spatial unit
KR102301498B1 (en) Method, system, and computer progrma for displaying content and content list in dual screens
JP7386583B1 (en) Program, information processing device and method
JP7480408B1 (en) Information processing system, information processing device, program, and information processing method

Legal Events

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

Effective date of registration: 20240620

Address after: Room 201, No. 9 Fengxiang East Street, Yangsong Town, Huairou District, Beijing

Patentee after: Youku Culture Technology (Beijing) Co.,Ltd.

Country or region after: China

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: ALIBABA GROUP HOLDING Ltd.

Country or region before: Cayman Islands