CN115047999A - Interface switching method and device, electronic equipment, storage medium and program product - Google Patents

Interface switching method and device, electronic equipment, storage medium and program product Download PDF

Info

Publication number
CN115047999A
CN115047999A CN202210893729.0A CN202210893729A CN115047999A CN 115047999 A CN115047999 A CN 115047999A CN 202210893729 A CN202210893729 A CN 202210893729A CN 115047999 A CN115047999 A CN 115047999A
Authority
CN
China
Prior art keywords
interface
target
multimedia interface
content
multimedia
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210893729.0A
Other languages
Chinese (zh)
Other versions
CN115047999B (en
Inventor
尤晓雅
马新雅
潘灶烽
陈乐辉
卓文迪
史田辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210893729.0A priority Critical patent/CN115047999B/en
Publication of CN115047999A publication Critical patent/CN115047999A/en
Priority to PCT/CN2023/098372 priority patent/WO2024021867A1/en
Application granted granted Critical
Publication of CN115047999B publication Critical patent/CN115047999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/44Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present disclosure relates to an interface switching method, device, electronic apparatus, storage medium, and program product, which can improve flexibility of multimedia content presentation and meet requirements of various scenes. The method comprises the following steps: displaying a first multimedia interface, wherein the first multimedia interface presents first content; receiving a first trigger operation on a first multimedia interface; responding to the first trigger operation, updating the first multimedia interface into a second multimedia interface displayed in a floating mode, and displaying a target interface; the second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content.

Description

Interface switching method and device, electronic equipment, storage medium and program product
Technical Field
The present disclosure relates to the field of multimedia technologies, and in particular, to an interface switching method and apparatus, an electronic device, a storage medium, and a program product.
Background
With the continuous development of intelligent devices and multimedia technologies, multimedia technologies are applied more and more widely. Among them, applications are commonly used in which working contents or life contents are recorded by a multimedia technology and remote real-time communication is realized by the multimedia technology.
The working content or the life content is recorded through a multimedia technology, a multimedia file can be obtained, and the working content or the life content can be reviewed through playing the multimedia file.
However, the display mode of the playing interface of the current multimedia file or the real-time multimedia communication interface is fixed, and the display mode is single and not high in flexibility.
Disclosure of Invention
In order to solve the technical problems described above or at least partially solve the technical problems, the present disclosure provides an interface switching method, apparatus, electronic device, storage medium, and program product.
In a first aspect of the embodiments of the present disclosure, an interface switching method is provided, where the method includes: displaying a first multimedia interface, wherein the first multimedia interface presents first content; receiving a first trigger operation on a first multimedia interface; responding to the first trigger operation, updating the first multimedia interface into a second multimedia interface displayed in a floating mode, and displaying a target interface; the second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content.
Optionally, the displaying the first multimedia interface includes: displaying a first multimedia interface through a first view controller; the updating of the first multimedia interface into a second multimedia interface with floating display and displaying of the target interface includes: updating the first multimedia interface into a second multimedia interface displayed in a floating manner through the first view controller; and displaying the target interface through a second view controller, wherein the second view controller is used for displaying other interfaces before the first multimedia interface is displayed.
Optionally, the updating the first multimedia interface to a second multimedia interface displayed in a floating manner, and displaying the target interface includes: updating the first multimedia interface into a second multimedia interface in a floating display mode by using a first preset dynamic effect, wherein the first preset dynamic effect comprises a dynamic effect of the first multimedia interface reduction, and updating the first multimedia interface into an updating dynamic effect of the second multimedia interface; and displaying the target interface by using a second preset dynamic effect, wherein the second preset dynamic effect comprises a dynamic effect popped up in the screen by the target interface.
Optionally, the third content includes a target subtitle, the target subtitle being located at a target position of the screen in the first multimedia interface; the first preset dynamic effect specifically comprises a dynamic effect of a first multimedia interface which is reduced from a first position to a second position of the screen, wherein the first position is a position in the target position, and the second position is a position opposite to the first position; the second preset dynamic effect specifically comprises a dynamic effect popped up by the target interface from the target position to a third position of the screen, and the third position is a position opposite to the target position.
Optionally, after the first multimedia interface is updated to the second multimedia interface displayed in a floating manner and the target interface is displayed, the method further includes: receiving a second trigger operation on a second multimedia interface; and responding to the second trigger operation, updating the second multimedia interface displayed in a floating manner to the first multimedia interface displayed in a full screen manner, and canceling the display of the target interface.
Optionally, the updating the second multimedia interface displayed in a floating manner to the first multimedia interface displayed in a full screen manner and canceling the display of the target interface includes: updating the second multimedia interface displayed in a suspension manner into the first multimedia interface displayed in a full screen manner by using a third preset dynamic effect, wherein the third preset dynamic effect comprises a dynamic effect for amplifying the second multimedia interface and an updating dynamic effect for updating the second multimedia interface into the first multimedia interface; and canceling the display of the target interface by using a fourth preset dynamic effect, wherein the fourth preset dynamic effect comprises the dynamic effect that the target interface is reduced and disappears in the screen.
Optionally, the third content includes a target subtitle, and the target subtitle is located at a target position on a screen in the first multimedia interface; the third preset dynamic effect concretely comprises a dynamic effect of a second multimedia interface which is amplified from a second position of the screen to a first position, wherein the first position is a position in the target position, and the second position is a position opposite to the first position; the fourth preset dynamic effect specifically comprises a dynamic effect that the target interface shrinks and disappears from a third position of the screen to the target position, and the third position is a position opposite to the target position.
Optionally, the first multimedia interface and the second multimedia interface are both real-time multimedia interactive interfaces; the first content includes real-time subtitles, and the third content includes target subtitles and history subtitles, and the target subtitles are real-time subtitles.
Optionally, the first trigger operation includes a trigger operation on a display area where the real-time subtitle in the first multimedia interface is located.
Optionally, after the target interface is a subtitle interface, the first multimedia interface is updated to a second multimedia interface displayed in a floating manner, and the target interface is displayed, the method further includes: and under the condition of keeping the second multimedia interface floating and displaying, receiving a third trigger operation on the target interface, wherein the third trigger operation comprises any one of the following operations: rolling caption operation, searching caption operation and marking operation; responding to a third trigger operation, and updating a first subtitle currently displayed on the target interface into a second subtitle under the condition that the third trigger operation is a subtitle updating operation; displaying a third subtitle searched from the target interface under the condition that the third triggering operation is a searching operation; and under the condition that the third trigger operation is a marking operation on the fourth subtitle in the target interface, displaying a mark at the position where the fourth subtitle is located.
Optionally, the third content includes a target subtitle, and the first content includes a plurality of user identifiers, each user identifier being used to indicate a user; the second content comprises a first user identification, and the first user identification is a user identification corresponding to the target subtitle.
Optionally, the second content further includes at least one user identifier different from the first user identifier in the plurality of user identifiers; in the second multimedia interface, the display area occupied by the first user identifier is larger than the display area occupied by each user identifier in the at least one user identifier.
Optionally, the third content further includes other subtitles associated with the first content; after the first multimedia interface is updated to the second multimedia interface displayed in a floating manner and the target interface is displayed, the method further comprises the following steps: receiving a fourth trigger operation on the target user identification in the second content; and responding to a fourth trigger operation, displaying fourth content in a target form in the target interface, wherein the fourth content comprises subtitles corresponding to the target user identification in the third content.
In a second aspect of the embodiments of the present disclosure, an interface switching apparatus is provided, which includes: a display module and a receiving module; the display module is used for displaying a first multimedia interface, and the first multimedia interface presents first content; the receiving module is used for receiving a first trigger operation of a first multimedia interface; the display module is also used for responding to the first trigger operation, updating the first multimedia interface into a second multimedia interface displayed in a floating way, and displaying a target interface; the second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content.
Optionally, the display module is specifically configured to display a first multimedia interface through the first view controller; the display module is specifically used for updating the first multimedia interface into a second multimedia interface displayed in a floating manner through the first view controller; and displaying the target interface through a second view controller, wherein the second view controller is used for displaying other interfaces before the first multimedia interface is displayed.
Optionally, the display module is specifically configured to update the first multimedia interface to a second multimedia interface displayed in a floating manner with a first preset dynamic effect, where the first preset dynamic effect includes a dynamic effect of a reduced first multimedia interface, and update the first multimedia interface to an updated dynamic effect of the second multimedia interface; and displaying the target interface by using a second preset dynamic effect, wherein the second preset dynamic effect comprises a dynamic effect popped up in the screen by the target interface.
Optionally, the third content includes a target subtitle, the target subtitle being located at a target position of the screen in the first multimedia interface; the first preset dynamic effect specifically comprises a dynamic effect of a first multimedia interface which is reduced from a first position to a second position of the screen, wherein the first position is a position in the target position, and the second position is a position opposite to the first position; the second preset dynamic effect specifically comprises a dynamic effect popped up by the target interface from the target position to a third position of the screen, and the third position is a position opposite to the target position.
Optionally, the receiving module is further configured to receive a second trigger operation on a second multimedia interface after the first multimedia interface is updated to the second multimedia interface displayed in a floating manner and the target interface is displayed; the display module is further used for responding to a second trigger operation, updating the second multimedia interface displayed in a floating mode to the first multimedia interface displayed in a full screen mode, and canceling the display of the target interface.
Optionally, the display module is specifically configured to update the second multimedia interface displayed in a floating manner to the first multimedia interface displayed in a full screen manner with a third preset dynamic effect, where the third preset dynamic effect includes a dynamic effect of enlarging the second multimedia interface, and update the second multimedia interface to an update dynamic effect of the first multimedia interface; and canceling the display of the target interface by using a fourth preset dynamic effect, wherein the fourth preset dynamic effect comprises the dynamic effect that the target interface is reduced and disappears in the screen.
Optionally, the third content includes a target subtitle, the target subtitle being located at a target position of the screen in the first multimedia interface; the third preset dynamic effect concretely comprises a dynamic effect of a second multimedia interface which is amplified from a second position of the screen to a first position, wherein the first position is a position in the target position, and the second position is a position opposite to the first position; the fourth preset dynamic effect specifically comprises a dynamic effect that the target interface shrinks and disappears from a third position of the screen to the target position, and the third position is a position opposite to the target position.
Optionally, the first multimedia interface and the second multimedia interface are both real-time multimedia interactive interfaces; the first content includes real-time subtitles, and the third content includes target subtitles and history subtitles, and the target subtitles are real-time subtitles.
Optionally, the first trigger operation includes a trigger operation on a display area where the real-time subtitle in the first multimedia interface is located.
Optionally, the target interface is a subtitle interface, and the apparatus further includes a processing module; the receiving module is further configured to receive a third trigger operation on the target interface under the condition that the second multimedia interface is kept in floating display after the first multimedia interface is updated to the second multimedia interface in floating display and the target interface is displayed, where the third trigger operation includes any one of: rolling caption operation, searching caption operation and marking operation; the processing module is used for responding to a third trigger operation, and updating a first subtitle currently displayed on the target interface into a second subtitle under the condition that the third trigger operation is a subtitle updating operation; displaying a third subtitle searched from the target interface under the condition that the third triggering operation is a searching operation; and in the case that the third trigger operation is a marking operation on a fourth subtitle in the target interface, displaying a mark at the position where the fourth subtitle is located.
Optionally, the third content includes a target subtitle, and the first content includes a plurality of user identifiers, each user identifier being used to indicate a user; the second content comprises a first user identification, and the first user identification is a user identification corresponding to the target subtitle.
Optionally, the second content further includes at least one user identifier different from the first user identifier in the plurality of user identifiers; in the second multimedia interface, the display area occupied by the first user identifier is larger than the display area occupied by each user identifier in the at least one user identifier.
Optionally, the third content further includes other subtitles associated with the first content; the receiving module is further configured to receive a fourth trigger operation on a target user identifier in the second content after the first multimedia interface is updated to the second multimedia interface displayed in a floating manner and the target interface is displayed; the display module is further configured to display fourth content in a target form in the target interface in response to a fourth trigger operation, where the fourth content includes a subtitle corresponding to the target user identifier in the third content.
In a third aspect of the embodiments of the present disclosure, an electronic device is provided, where the electronic device includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the interface switching method according to the first aspect is implemented.
In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the interface switching method according to the first aspect.
In a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, where the computer program product includes a computer program, and when the computer program product runs on a processor, the processor executes the computer program to implement the interface switching method according to the first aspect.
In a sixth aspect of the embodiments of the present disclosure, a chip is provided, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute program instructions to implement the interface switching method according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: in the embodiment of the disclosure, a first multimedia interface is displayed, wherein the first multimedia interface presents first content; receiving a first trigger operation on a first multimedia interface; responding to the first trigger operation, updating the first multimedia interface into a second multimedia interface displayed in a floating mode, and displaying a target interface; the second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content. By adopting the technical scheme, different contents (the second content and the target caption in the third content) in the first multimedia interface (the first content) can be respectively displayed in the two interfaces (the second multimedia interface displays the second content, and the target interface displays the third content), and the second multimedia interface in the two interfaces is displayed on the target interface in a suspension manner, so that the second content and the third content can be simultaneously displayed for a user, the flexibility of multimedia content display is improved, the requirements of various scenes can be met, and the user experience can be improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an interface switching method according to an embodiment of the present disclosure;
fig. 2A is one of schematic interface diagrams of an interface switching method according to an embodiment of the present disclosure;
fig. 2B is a second schematic interface diagram of an interface switching method according to the embodiment of the disclosure;
fig. 3A is a third schematic interface diagram of an interface switching method according to the present disclosure;
fig. 3B is a fourth schematic interface diagram of the interface switching method according to the embodiment of the disclosure;
fig. 4A is a fifth schematic interface diagram of the interface switching method according to the embodiment of the disclosure;
fig. 4B is a sixth schematic interface diagram of the interface switching method according to the embodiment of the disclosure;
fig. 5 is a block diagram of an interface switching device according to an embodiment of the disclosure;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
The terms first, second and the like in the description and in the claims of the present disclosure are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the disclosure may be practiced other than those illustrated or described herein, and that the objects identified as "first," "second," etc. are generally a class of objects and do not limit the number of objects, e.g., a first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The electronic device in the embodiments of the present disclosure may be a mobile electronic device, and may also be a non-mobile electronic device. The mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the disclosed embodiments are not particularly limited.
An execution main body of the interface switching method provided in the embodiment of the present disclosure may be the electronic device (including a mobile electronic device and a non-mobile electronic device), or may also be a functional module and/or a functional entity capable of implementing the interface switching method in the electronic device, which may be determined specifically according to actual use requirements, and the embodiment of the present disclosure is not limited.
The interface switching method provided by the embodiments of the present disclosure is described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present disclosure provides an interface switching method, which may include steps 101 to 103 described below.
101. And displaying the first multimedia interface.
Wherein the first multimedia interface presents first content.
The multimedia interface is an interface for displaying various types of multimedia information, and the multimedia information may include audio, video, text, and the like, and is not limited specifically. The first multimedia interface refers to one of the multimedia interfaces, the first content refers to content displayed in the first multimedia interface, and may include various multimedia information, for example, in a conference recording scene, the first content may include recorded audio and/or video, corresponding subtitle content, a conference summary, and other content related to a conference. For another example, in a real-time multimedia interactive scene, the first content is a real-time interactive video and a real-time subtitle.
In the embodiment of the disclosure, the client may obtain the first content according to a request of a user, display the first multimedia interface, and display the first content in the first multimedia interface. Because the first content may include multiple types of information, different display areas may be set in the first multimedia interface for displaying the various types of information, for example, an audio/video area, a subtitle area, a summary display area, and other areas may be set in the first multimedia interface, and are respectively used for displaying audio, video, subtitle content, a summary, and the like.
102. A first trigger operation on a first multimedia interface is received.
In the embodiment of the present disclosure, the first trigger operation may be a trigger operation of a user on a virtual key on the first multimedia interface, a specific position and an expression form of the virtual key are not limited, and the virtual key may be an interface switching control.
103. And responding to the first trigger operation, updating the first multimedia interface into a second multimedia interface displayed in a floating mode, and displaying the target interface.
The second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content.
And the first multimedia interface, the second multimedia interface and the target interface are all interfaces in the same application program.
The first multimedia interface and the second multimedia interface may be the same interface with different display contents, or different interfaces with different display contents, and may be determined specifically according to actual conditions. And are not limited herein.
The second content may include a video in the first content, and may also include an audio or an epoch, etc. in the first content; the third content may be (all) subtitle content included in the first content, and may further include audio or summary, etc. in the first content, which may be determined according to actual situations.
The audio may be any audio data that records information, for example, the audio may be audio data in a process of recording a conference, the subtitle content refers to text content obtained after the audio is recognized and processed by using A Speech Recognition (ASR) technology, and a specific Speech Recognition technology in the embodiment of the present disclosure is not limited, for example, a random model method or an artificial neural network method may be used.
In the embodiment of the disclosure, different contents (a second content and a third content) in a first multimedia interface (a first content) can be respectively displayed in two interfaces (the second multimedia interface displays the second content, and a target interface displays the third content), and the second multimedia interface in the two interfaces is displayed on the target interface in a floating manner, so that the second content and the third content can be simultaneously displayed to a user, the flexibility of playing the multimedia contents is improved, the requirements of various scenes can be met, and the user experience can be improved.
Alternatively, the step 101 may be specifically realized by the following step 101a, and the step 103 may be specifically realized by the following step 103a and step 103 b.
101a, displaying a first multimedia interface through a first view controller.
103a, updating the first multimedia interface into a second multimedia interface displayed in a floating way through the first view controller.
103b, displaying the target interface through the second view controller.
View Controllers (VCs) are the basis for the internal structure of Applications (APPs), each having at least one view Controller, and most APPs having many view controllers. Each view controller manages some portion of the overall APP user interface, as well as the interaction between the container interface and the data under the interface. The system comprises two types of view controllers, one type of view controller is a view controller specially displaying contents, and the view controller manages a part of contents which are not related to each other in APP; another type is a view controller that is a container that collects information from other view controllers (which may be called sub-controllers) and then presents that information in a manner that is easy to view, or in a different manner.
The first view controller and the second view controller in the embodiments of the present disclosure are both the view controllers as the containers described above. It can be understood that, if the first multimedia interface, the second multimedia interface, and the target interface are all three views managed by the first view controller, at least two of the first multimedia interface, the second multimedia interface, and the target interface cannot be simultaneously displayed through the first view controller, and only one of the first multimedia interface, the second multimedia interface, and the target interface can be simultaneously displayed through the first view controller. Therefore, in the embodiment of the disclosure, the second multimedia interface is displayed through the first view controller, and the target interface is displayed through the second view controller, that is, the second multimedia interface and the target interface are simultaneously displayed by adding the second view controller, so that the first multimedia interface is switched to the target interface and the second multimedia interface, and the flexibility of displaying multimedia contents is increased.
And the second view controller is used for displaying other interfaces before the first multimedia interface is displayed.
Optionally, the second view Controller is a Top view Controller (Top test view Controller) except the first view Controller.
Specifically, in the step 103b, the target interface is controlled to cover other interfaces in the second view controller, so as to display the target interface.
In the embodiment of the present disclosure, when each view controller displays content as a container, each view controller is registered to form a container link, and when the view controller is removed, the view controller is removed from the container link, thereby implementing management of each view controller.
Therefore, in the embodiment of the present disclosure, after the first trigger operation is received, the target interface is displayed through the second view controller by finding the appropriate second video controller, the second multimedia interface is displayed through the first video controller, so that different contents (target subtitles in the second content and the third content) in the first multimedia interface (the first content) are respectively displayed in the two interfaces (the second content is displayed in the second multimedia interface, and the third content is displayed in the target interface), and the second multimedia interface in the two interfaces is displayed on the target interface in a floating manner, so that the second content and the third content can be simultaneously displayed to the user, the flexibility of playing the multimedia content is improved, the requirements of various scenes can be met, and the user experience can be improved.
Alternatively, the step 103 may be specifically realized by the following steps 103c and 103 d.
103c, updating the first multimedia interface into a second multimedia interface displayed in a floating manner by using the first preset dynamic effect.
It is understood that, when the step 103 is implemented specifically, the dynamic effect may not be included, or may also be included, where the first preset dynamic effect may be determined according to an actual situation, and is not limited herein. In the embodiment of the disclosure, the first multimedia interface is updated to the second multimedia interface displayed in a floating manner by the first preset dynamic effect, and the process from the first multimedia interface to the second multimedia interface is dynamically displayed by the first preset dynamic effect, so that the user experience can be improved.
The first preset dynamic effect comprises a dynamic effect of the first multimedia interface reduction and an updating dynamic effect of updating the first multimedia interface into the second multimedia interface. Therefore, the dynamic process from the first multimedia interface to the second multimedia interface is more vividly shown for the user, and the user experience can be better improved.
103d, displaying the target interface with a second preset dynamic effect.
It is understood that, when the step 103 is implemented specifically, the dynamic effect may not be included, or may also be included, where the second preset dynamic effect may be determined according to an actual situation, and is not limited herein. In the embodiment of the disclosure, the target interface is displayed by the second preset dynamic effect, and the occurrence process of the target interface is dynamically displayed by the second preset dynamic effect, so that the user experience can be improved.
And the second preset dynamic effect comprises a dynamic effect of the target interface popped up in the screen. Therefore, the dynamic process that the target interface pops up in the screen is more vividly shown for the user, and the user experience can be better improved.
Optionally, the third content comprises a target subtitle; the target subtitle is positioned at the target position of the screen in the first multimedia interface; the first preset dynamic effect specifically comprises a dynamic effect of a first multimedia interface which is reduced from a first position to a second position of the screen, wherein the first position is a position in the target position, and the second position is a position opposite to the first position; the second preset dynamic effect specifically comprises a dynamic effect popped up by the target interface from the target position to a third position of the screen, and the third position is a position opposite to the target position.
The target subtitles may be historical subtitles or real-time subtitles, and may be specifically determined according to application scenes. The target subtitle is specifically a subtitle displayed on the first multimedia interface when the first trigger operation is received, that is, a partial subtitle in the third content.
The historical subtitles refer to subtitles with the time length from the subtitle generation time to the current time being greater than or equal to a preset time length, the real-time subtitles refer to subtitles with the time length from the subtitle generation time to the current time being less than the preset time length, wherein the preset time length can be determined according to actual conditions, and is not limited here, and can be 1S or 0.5S, for example.
Illustratively, subtitles in a multimedia file obtained by recording a conference recording scene are historical subtitles, in a real-time multimedia interaction scene, subtitles generated at a time when the time length from the current time is greater than or equal to a preset time length are historical subtitles, and subtitles generated at a time when the time length from the current time is less than the preset time length are real-time subtitles.
Wherein the first position may be all or part of the target positions. Through the combination of the first preset dynamic effect and the second preset dynamic effect, the dynamic process from the first multimedia interface to the second multimedia interface and the dynamic display process of the target interface can be better displayed, and the user experience is improved.
Illustratively, as shown in fig. 2A, the first multimedia interface is a conference interface, where a mark "201" indicates a plurality of user identifiers (the plurality of user identifiers are used to indicate the conference interface, each user identifier may be a user avatar (a user does not turn on a camera), a real-time video stream of the user, a screen sharing interface of the user (i.e., screen content on a screen shared by the user), and the like, which may be determined according to practical situations and is not limited herein), and a mark "202" indicates a target subtitle. As shown in fig. 2B, the mark "203" indicates a second multimedia interface, the second multimedia interface is a thumbnail interface of the conference interface (which displays an identifier of a currently speaking user of the multiple users corresponding to the conference, where the identifier of the currently speaking user may be a user avatar, a real-time video stream of the user, a screen sharing interface of the user, and the like, and may be determined according to an actual situation, and is not limited herein), the mark "204" indicates a target interface, the target interface is a full subtitle interface (a target subtitle is shown in a dashed frame), and the user clicks the target subtitle in the first multimedia interface to display the full subtitle interface and to display the thumbnail interface in a suspended window. In the switching process, through an animation with continuously reduced view (such as the animation continuously reduced from the lower left corner to the upper right corner), the conference interface is firstly reduced, and finally, the conference interface is changed into an independent window, and the second multimedia is displayed in a suspended window; meanwhile, the complete caption interface is taken as a bottom page to pop out from the App (Present), so that the animation effect of popping up from the lower part of the screen to the upper part of the screen is realized. The method uses a meeting interface changing window (reducing to a hanging window) and an animation technology of updating the meeting interface to a thumbnail interface, and a full subtitle is based on a pop-up animation from a Present technology in App. The two animations occur simultaneously, and the final effect is formed.
Optionally, after the step 103, the interface switching method provided by the embodiment of the present disclosure may further include the following steps 104 and 105.
104. And receiving a second trigger operation on the second multimedia interface.
The second trigger operation may be a trigger operation of a user on a virtual key on the second multimedia interface, the specific position and the expression form of the virtual key are not limited, and the virtual key may be an interface switching control.
105. And responding to the second trigger operation, updating the second multimedia interface displayed in a floating manner to the first multimedia interface displayed in a full screen manner, and canceling the display of the target interface.
In the embodiment of the disclosure, the second multimedia interface is displayed from the display target interface and the suspended window through the second trigger operation, and the first multimedia interface is quickly switched back to be displayed, so that the flexibility of multimedia content playing is improved, the requirements of various scenes can be met, and the user experience can be improved.
Alternatively, the step 105 may be specifically performed by the following steps 105a and 105 b.
And 105a, updating the second multimedia interface displayed in a floating manner to the first multimedia interface displayed in a full screen manner by using a third preset dynamic effect.
It is understood that, when the step 105 is implemented specifically, the step may not include a dynamic effect, and may also include a dynamic effect, where the third preset dynamic effect may be determined according to an actual situation, and is not limited herein. In the embodiment of the disclosure, the second multimedia interface displayed in a floating manner is updated to the first multimedia interface displayed in a full screen manner by the third preset action, and the process from displaying the second multimedia interface in a suspended manner to displaying the first multimedia interface in a full screen manner is dynamically displayed by the third preset action, so that the user experience can be improved.
The third preset dynamic effect comprises a dynamic effect for amplifying the second multimedia interface and an updating dynamic effect for updating the second multimedia interface into the first multimedia interface. The dynamic process from displaying the second multimedia interface in the suspended window to displaying the first multimedia interface is more vividly shown for the user, and the user experience can be better improved.
105b, canceling the display target interface with the fourth preset dynamic effect.
It is understood that, when the step 105 is implemented specifically, the step may not include a dynamic effect, and may also include a dynamic effect, where the fourth preset dynamic effect may be determined according to an actual situation, and is not limited herein. In the embodiment of the disclosure, the target interface is cancelled to be displayed by the fourth preset dynamic effect, and the shrinking and disappearing processes of the target interface are dynamically displayed by the fourth preset dynamic effect, so that the user experience can be improved.
And the fourth preset dynamic effect comprises a dynamic effect that the target interface is reduced and disappears in the screen. The dynamic process that the target interface shrinks and disappears in the screen is displayed for the user more vividly, and the user experience can be improved better.
Optionally, the third content includes a target subtitle, the target subtitle being located at a target position of the screen in the first multimedia interface; the third preset dynamic effect concretely comprises a dynamic effect of a second multimedia interface which is amplified from a second position of the screen to a first position, wherein the first position is a position in the target position, and the second position is a position opposite to the first position; the fourth preset dynamic effect specifically comprises a dynamic effect that the target interface shrinks and disappears from a third position of the screen to the target position, and the third position is a position opposite to the target position.
Wherein the first position may be all or part of the target positions. Through the combination of the third preset dynamic effect and the fourth preset dynamic effect, the dynamic process from the display of the second multimedia interface in the suspended window to the display of the first multimedia interface in the full screen and the dynamic disappearance process of the target interface can be better displayed, and the user experience can be improved.
Illustratively, when the user clicks on the second multimedia interface displayed in the hanging window (conference widget), the user switches from displaying the first multimedia interface as shown in fig. 2A to fig. 2B. In the switching process, a second multimedia interface displayed by the suspended window is converted into a first multimedia interface displayed in a full screen mode through an animation technology (such as animation continuously amplifying from the upper right corner to the lower left corner) for continuously amplifying the suspended window; meanwhile, the complete caption interface is removed from the Pop of the interface stack, so that only the conference interface (the first multimedia interface) is displayed. Animation technology of a floating window changing conference interface and full caption Pop (Pop) technology are used here. The two animations occur simultaneously, forming the final effect.
Illustratively, a user clicks a target subtitle, and the embodiment of the Present disclosure adopts Navigator technology of App to find a Top view Controller (Top view Controller) of a main Scene (Scene) of the current App, and after finding the Top view Controller, a Present complete subtitle interface is found at the Top Controller. In contrast, in the above scenario, the user clicks the floating window, and the floating window is restored to the conference interface, and at the same time, the Pop of the full-caption interface Pop disappears.
Optionally, the first multimedia interface and the second multimedia interface are both real-time multimedia interactive interfaces; the first content includes real-time subtitles, and the third content includes target subtitles and history subtitles, and the target subtitles are real-time subtitles.
And the real-time subtitles in the first content and the third content are the same subtitles.
The interface switching method provided by the embodiment of the present disclosure may be applied to a real-time multimedia interaction scene, a (recorded) multimedia file playing scene, or other scenes, and may be specifically determined according to actual conditions, and is not limited herein.
If the interface switching method provided by the embodiment of the disclosure is applied to a real-time multimedia interaction scene, both the first multimedia interface and the second multimedia interface are real-time multimedia interaction interfaces; the first content includes real-time subtitles and the third content includes historical subtitles and historical subtitles. Therefore, the flexibility of displaying the real-time multimedia interaction scene interface is improved.
Illustratively, in a real-time multimedia interaction scene (e.g., a real-time multimedia conference scene), a first multimedia interface presents real-time video streams of a plurality of users and real-time subtitles of a currently speaking user, a target user (any one of the plurality of users) triggers the electronic device to switch the first multimedia interface into a second multimedia interface displayed in a floating mode through a triggering operation on the real-time subtitles presented by the first multimedia interface, and presents a target interface (subtitle interface) of the real-time subtitles and historical subtitles, the second multimedia interface presents the real-time video stream of the currently speaking user corresponding to the real-time subtitles, then the target user can view and/or edit the real-time subtitles and the historical subtitles in the target interface, and then the target user can also trigger the electronic device through a triggering operation on the second multimedia interface, the target interface and the second multimedia interface displayed in a floating mode are switched to the first multimedia interface, so that a user can control the electronic equipment to switch between the first multimedia interface and the second multimedia interface and the target interface according to the requirements of the user, and the flexibility of interface display in a real-time multimedia interaction scene can be improved. And when the target interface is switched to, the second multimedia interface is displayed in a floating mode, so that the change condition of the real-time multimedia interactive interface can be continuously displayed while the subtitle content in the subtitle interface is displayed (a user can pay attention to the subtitle interface and the real-time multimedia interactive interface at the same time), the flexibility of interface display can be further improved, and the user experience is improved.
If the interface switching method provided by the embodiment of the disclosure is applied to a multimedia file playing scene, the first multimedia interface and the second multimedia interface are both interfaces in a recorded multimedia file, the third content includes a target subtitle, the target subtitle is a history subtitle, and the target interface further includes other history subtitles related to the history subtitle. Therefore, the flexibility of displaying the multimedia file playing scene interface is improved.
Optionally, the first trigger operation includes a trigger operation on a display area where the real-time subtitle in the first multimedia interface is located. Therefore, in a real-time multimedia interaction scene, a subtitle interface (target interface) can be triggered and displayed through triggering operation of a display area where a real-time subtitle is located, so that the first multimedia interface and the subtitle interface can be switched rapidly, meanwhile, a second multimedia interface is displayed in a floating mode, and the display form of multimedia content is increased.
Optionally, the target interface is a subtitle interface, and after the step 103, the interface switching method provided by the embodiment of the present disclosure may further include the following steps 106 to 107.
106. And receiving a third trigger operation on the target interface under the condition of keeping the second multimedia interface in floating display.
Wherein the third trigger operation comprises any one of: a rolling caption operation, a search caption operation, and a marking operation.
107. Responding to a third trigger operation, and updating a first subtitle currently displayed on the target interface into a second subtitle under the condition that the third trigger operation is a subtitle updating operation; displaying a third subtitle searched from the target interface under the condition that the third triggering operation is a searching operation; and in the case that the third trigger operation is a marking operation on a fourth subtitle in the target interface, displaying a mark at the position where the fourth subtitle is located.
The subtitle updating operation may be a scrolling updating operation, a modifying operation, a deleting operation, and the like, which may be determined according to an actual situation, and is not limited herein.
Optionally, when the subtitle updating operation is a modifying operation, the subtitle content corresponding to the first multimedia interface may be updated synchronously, so that the subtitle content displayed by the first multimedia interface is consistent with the subtitle content in the target interface.
Wherein the search operation may be a keyword search operation.
The marking operation may be underlining, changing a font color, increasing or decreasing a background, or adding an annotation, and the like, and may be determined specifically according to an actual situation, which is not limited herein.
In the embodiment of the disclosure, through the third trigger operation, the subtitles in the subtitle interface can be edited, so that the subtitle content can be recorded better.
Optionally, the third content includes a target subtitle, and the first content includes a plurality of user identifiers, each user identifier being used to indicate a user; the second content comprises a first user identification, and the first user identification is a user identification corresponding to the target subtitle.
Each user identifier is a user avatar, a real-time video stream of the user, a screen sharing interface of the user, and the like, and may be determined specifically according to an actual situation, which is not limited herein.
In the embodiment of the disclosure, the first user identifier is displayed in the second multimedia interface, and under the condition that the complete caption interface is displayed, the user currently in a speaking state can be well shown to the user, so that the user experience can be improved.
Optionally, the second content further includes at least one user identifier different from the first user identifier in the plurality of user identifiers; in the second multimedia interface, the display area occupied by the first user identifier is larger than the display area occupied by each user identifier in the at least one user identifier.
And at least one user identifier is a part of or all identifiers except the first user identifier in the plurality of user identifiers.
It is to be understood that the second content may include only the first user id in the first content, or may include the first user id in the first content and at least one other user id. Moreover, the user may trigger the electronic device to update the user identifier displayed in the second multimedia interface through a trigger operation on the second multimedia interface (the trigger operation updates only the user identifiers other than the first user identifier), the update of the first user identifier is updated along with the update of the user currently in the speaking state over time, for example, if the user currently in the speaking state is user a, the first user identifier is the user identifier corresponding to user a, and if the user currently in the speaking state is changed from user a to user B, the first user identifier is updated from the user identifier corresponding to user a to the user identifier corresponding to user B.
In the embodiment of the present disclosure, the second content further includes at least one user identifier in addition to the first user identifier, and in the second multimedia interface, the display area occupied by the first user identifier is larger than the display area occupied by each user identifier in the at least one user identifier, so that according to the size of the display area occupied by each user identifier in the second multimedia interface, it can be determined which user identifier indicates the user currently in the speaking state, and therefore, the user experience can be improved.
Optionally, the third content further includes other subtitles associated with the first content; after the step 103, the interface switching method provided by the embodiment of the present disclosure may further include the following steps 108 and 109.
108. And receiving a fourth trigger operation on the target user identification in the second content.
The target user identifier may be the first user identifier, or may be any one of at least one user identifier, which may be determined specifically according to an actual situation.
And the fourth triggering operation is an operation of quickly screening the subtitle content corresponding to the user indicated by the target user identification from the target interface.
109. And responding to a fourth trigger operation, and displaying fourth content in a target form in the target interface.
And the fourth content comprises a subtitle corresponding to the target user identification in the third content.
The target form display may be to replace the third content with a fourth content, or to display the fourth content in the third content for a mark, so as to prompt the user of the subtitle content corresponding to the target user identifier, thereby facilitating the user to quickly find the subtitle content corresponding to a certain user that the user needs to view, and improving the operation efficiency and user experience.
The mark display can be one or more of highlighting, bolding, increasing the display font size, changing the display font, adding underlines and the like.
Illustratively, as shown in fig. 1, the first content presented by the first multimedia interface includes 6 user identifiers (user identifier 1, user identifier 2, user identifier 3, user identifier 4, user identifier 5, and user identifier 6), and as shown in fig. 3A, the second content presented by the second multimedia interface includes four user identifiers (user identifier 3, user identifier 4, user identifier 5, and user identifier 6), that is, the second content includes only four identifiers in the first content, where the user identifier 3 is the first user identifier and indicates a user currently in a speaking state. The display area occupied by the user identifier 3 is larger than the display areas occupied by other user identifiers (user identifier 4, user identifier 5 and user identifier 6), so that the user identifier 3 can be highlighted, and the user indicated by the user identifier 3 is prompted to be the user currently in a speaking state and the user corresponding to the target subtitle (the target subtitle is the subtitle in the dotted frame in fig. 3A). The user may also update the user identifier displayed in the second multimedia interface by a triggering operation on the second multimedia interface, such as the user identifier 4, the user identifier 5, and the user identifier 6 shown in the second multimedia interface shown in fig. 3A, and update the user identifier 5, the user identifier 6, and the user identifier 1 shown in the second multimedia interface shown in fig. 3B.
Illustratively, the full subtitle content in the third content presented by the target interface in fig. 3A includes subtitle content corresponding to each user identifier, the fourth trigger operation is an operation of clicking the user identifier 4 (the user identifier 4 is the above-mentioned target user identifier) in fig. 3A by a user, in response to the fourth trigger operation, a subtitle corresponding to the user identifier 4 is quickly screened out from the full subtitle content in the third content, as shown in fig. 4A, subtitle content corresponding to the user identifier 4 in the full subtitle content is displayed in bold, or as shown in fig. 4B, subtitle content corresponding to the user identifier 4 in the full subtitle content is replaced by subtitle content corresponding to the user identifier 4.
The display position and the display size of the second multimedia interface can be adjusted through triggering operation, the display sequence, the display type, the display size and the like of a plurality of user identifiers displayed on the second multimedia interface can be adjusted through triggering operation, and the display position and the display size can be determined according to actual conditions, and are not limited here.
Fig. 5 is a block diagram of an interface switching device according to an embodiment of the present disclosure, and as shown in fig. 5, the interface switching device includes: a display module 501 and a receiving module 502; a display module 501, configured to display a first multimedia interface, where the first multimedia interface presents first content; the receiving module 502 is configured to receive a first trigger operation on a first multimedia interface; the display module 501 is further configured to update the first multimedia interface to a second multimedia interface displayed in a floating manner in response to the first trigger operation, and display a target interface; the second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content.
Optionally, the display module 501 is specifically configured to display a first multimedia interface through a first view controller; the display module 501 is specifically configured to update the first multimedia interface to a second multimedia interface displayed in a floating manner through the first view controller; and displaying the target interface through a second view controller, wherein the second view controller is used for displaying other interfaces before the first multimedia interface is displayed.
Optionally, the display module 501 is specifically configured to update the first multimedia interface to a second multimedia interface displayed in a floating manner with a first preset dynamic effect, where the first preset dynamic effect includes a dynamic effect of a reduced first multimedia interface, and update the first multimedia interface to an updated dynamic effect of the second multimedia interface; and displaying the target interface by using a second preset dynamic effect, wherein the second preset dynamic effect comprises a dynamic effect popped up in the screen by the target interface.
Optionally, the third content includes a target subtitle, the target subtitle being located at a target position of the screen in the first multimedia interface; the first preset dynamic effect specifically comprises a dynamic effect of a first multimedia interface which is reduced from a first position to a second position of the screen, wherein the first position is a position in the target position, and the second position is a position opposite to the first position; the second preset dynamic effect specifically comprises a dynamic effect popped up by the target interface from the target position to a third position of the screen, and the third position is a position opposite to the target position.
Optionally, the receiving module 501 is further configured to receive a second trigger operation on a second multimedia interface after the first multimedia interface is updated to the second multimedia interface displayed in a floating manner and the target interface is displayed; the display module 502 is further configured to update the second multimedia interface displayed in a floating manner to the first multimedia interface displayed in a full screen manner and cancel the display of the target interface in response to the second trigger operation.
Optionally, the display module 502 is specifically configured to update the second multimedia interface displayed in a floating manner to the first multimedia interface displayed in a full screen manner with a third preset dynamic effect, where the third preset dynamic effect includes a dynamic effect of enlarging the second multimedia interface, and update the second multimedia interface to an update dynamic effect of the first multimedia interface; and canceling the display of the target interface by using a fourth preset dynamic effect, wherein the fourth preset dynamic effect comprises the dynamic effect that the target interface is reduced and disappears in the screen.
Optionally, the third content includes a target subtitle, the target subtitle being located at a target position of the screen in the first multimedia interface; the third preset dynamic effect concretely comprises a dynamic effect of a second multimedia interface which is amplified from a second position of the screen to a first position, wherein the first position is a position in the target position, and the second position is a position opposite to the first position; the fourth preset dynamic effect specifically comprises a dynamic effect that the target interface shrinks and disappears from a third position of the screen to the target position, and the third position is a position opposite to the target position.
Optionally, the first multimedia interface and the second multimedia interface are both real-time multimedia interactive interfaces; the first content includes real-time subtitles, and the third content includes target subtitles and history subtitles, and the target subtitles are real-time subtitles.
Optionally, the first trigger operation includes a trigger operation on a display area where the real-time subtitle in the first multimedia interface is located.
Optionally, the target interface is a subtitle interface, and the apparatus further includes a processing module; the receiving module is further configured to receive a third trigger operation on the target interface under the condition that the second multimedia interface is kept in floating display after the first multimedia interface is updated to the second multimedia interface in floating display and the target interface is displayed, where the third trigger operation includes any one of: rolling caption operation, searching caption operation and marking operation; the processing module is used for responding to a third trigger operation, and updating a first subtitle currently displayed on the target interface into a second subtitle under the condition that the third trigger operation is a subtitle updating operation; displaying a third subtitle searched from the target interface under the condition that the third triggering operation is a searching operation; and in the case that the third trigger operation is a marking operation on a fourth subtitle in the target interface, displaying a mark at the position where the fourth subtitle is located.
Optionally, the third content includes a target subtitle, and the first content includes a plurality of user identifiers, each user identifier being used to indicate a user; the second content comprises a first user identification, and the first user identification is a user identification corresponding to the target subtitle.
Optionally, the second content further includes at least one user identifier different from the first user identifier in the plurality of user identifiers; in the second multimedia interface, the display area occupied by the first user identifier is larger than the display area occupied by each user identifier in the at least one user identifier.
Optionally, the third content further includes other subtitles associated with the first content; the receiving module 502 is further configured to receive a fourth trigger operation on a target user identifier in the second content after the first multimedia interface is updated to the second multimedia interface displayed in a floating manner and the target interface is displayed; the display module 501 is further configured to display fourth content in a target form in the target interface in response to a fourth trigger operation, where the fourth content includes a subtitle corresponding to the target user identifier in the third content.
In the embodiment of the present disclosure, each module may implement the interface switching method provided in the above method embodiment, and may achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, which is used for exemplarily describing an electronic device implementing any interface switching method in the embodiment of the present disclosure, and should not be construed as a specific limitation to the embodiment of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processor (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage device 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While the electronic device 600 is illustrated with various means, it is not required that all illustrated means be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. When executed by the processor 601, the computer program may perform the functions defined in any of the interface switching methods provided by the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: displaying a first multimedia interface, wherein the first multimedia interface presents first content; receiving a first trigger operation on a first multimedia interface; responding to the first trigger operation, updating the first multimedia interface into a second multimedia interface displayed in a floating mode, and displaying a target interface; the second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content.
In embodiments of the present disclosure, computer program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the computer, partly on the computer, as a stand-alone software package, partly on the computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a computer-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (17)

1. An interface switching method, characterized in that the method comprises:
displaying a first multimedia interface, wherein the first multimedia interface presents first content;
receiving a first trigger operation on the first multimedia interface;
responding to the first trigger operation, updating the first multimedia interface into a second multimedia interface displayed in a floating mode, and displaying a target interface;
wherein the second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content.
2. The method of claim 1, wherein displaying the first multimedia interface comprises:
displaying the first multimedia interface through a first view controller;
the updating the first multimedia interface to a second multimedia interface displayed in a floating manner and displaying the target interface includes:
updating, by the first view controller, the first multimedia interface to the second multimedia interface displayed in hover;
and displaying the target interface through a second view controller, wherein the second view controller is used for displaying other interfaces before the first multimedia interface is displayed.
3. The method of claim 1, wherein updating the first multimedia interface to a second multimedia interface in a floating display and displaying a target interface comprises:
updating the first multimedia interface to a second multimedia interface displayed in a floating manner by using a first preset dynamic effect, wherein the first preset dynamic effect comprises a dynamic effect of the first multimedia interface which is reduced, and updating the first multimedia interface to an updating dynamic effect of the second multimedia interface;
and displaying the target interface by using a second preset dynamic effect, wherein the second preset dynamic effect comprises a dynamic effect popped up in the screen by the target interface.
4. The method of claim 3, wherein the third content comprises a target caption, and wherein the target caption is located at a target position on a screen in the first multimedia interface;
the first preset action specifically comprises an action that the first multimedia interface shrinks from a first position to a second position of the screen, the first position is a position in the target position, and the second position is a position opposite to the first position;
the second preset dynamic effect specifically comprises a dynamic effect popped up from the target position to a third position of the screen by the target interface, and the third position is a position opposite to the target position.
5. The method of claim 1, wherein after updating the first multimedia interface to a second multimedia interface that is displayed in hover and displaying a target interface, the method further comprises:
receiving a second trigger operation on the second multimedia interface;
and responding to the second trigger operation, updating the second multimedia interface displayed in a floating manner to the first multimedia interface displayed in a full screen manner, and canceling the display of the target interface.
6. The method of claim 5, wherein the updating the second multimedia interface displayed in hover to the first multimedia interface displayed in full screen and the dismissing the target interface comprises:
updating the second multimedia interface displayed in a suspended mode to the first multimedia interface displayed in a full screen mode by using a third preset dynamic effect, wherein the third preset dynamic effect comprises a dynamic effect for amplifying the second multimedia interface and an updating dynamic effect for updating the second multimedia interface to the first multimedia interface;
and canceling the display of the target interface by using a fourth preset dynamic effect, wherein the fourth preset dynamic effect comprises the dynamic effect that the target interface is reduced and disappears in the screen.
7. The method of claim 6, wherein the third content comprises a target caption, the target caption being located at a target position on a screen in the first multimedia interface;
the third preset dynamic effect specifically comprises a dynamic effect of the second multimedia interface which is amplified from a second position of the screen to a first position, wherein the first position is a position in the target position, and the second position is a position opposite to the first position;
the fourth preset dynamic effect specifically includes a dynamic effect that the target interface shrinks and disappears from a third position of the screen to the target position, and the third position is a position opposite to the target position.
8. The method of claim 1, wherein the first multimedia interface and the second multimedia interface are both real-time multimedia interactive interfaces; the first content comprises real-time subtitles, the third content comprises target subtitles and historical subtitles, and the target subtitles are the real-time subtitles.
9. The method of claim 8, wherein the first trigger operation comprises a trigger operation on a display area of the first multimedia interface where the real-time subtitle is located.
10. The method of claim 1, wherein after the target interface is a caption interface, updating the first multimedia interface to a second multimedia interface displayed in a floating manner, and displaying the target interface, the method further comprises:
receiving a third trigger operation on the target interface under the condition of keeping the second multimedia interface in a floating display state, wherein the third trigger operation comprises any one of the following operations: rolling caption operation, searching caption operation and marking operation;
responding to the third trigger operation, and updating a first subtitle currently displayed on the target interface into a second subtitle under the condition that the third trigger operation is a subtitle updating operation;
displaying a third subtitle searched from the target interface under the condition that the third triggering operation is a searching operation;
and under the condition that the third trigger operation is a marking operation on a fourth subtitle in the target interface, displaying a mark at the position of the fourth subtitle.
11. The method according to any one of claims 1 to 10, wherein the third content comprises a target subtitle, the first content comprises a plurality of user identifiers, each user identifier indicating one user;
the second content comprises a first user identification, and the first user identification is a user identification corresponding to the target subtitle.
12. The method of claim 11, wherein the second content further comprises at least one of the plurality of user identities that is different from the first user identity;
in the second multimedia interface, a display area occupied by the first user identifier is larger than a display area occupied by each user identifier in the at least one user identifier.
13. The method of claim 11, wherein the third content further comprises other subtitles associated with the first content;
after the first multimedia interface is updated to the second multimedia interface displayed in a floating manner and the target interface is displayed, the method further comprises the following steps:
receiving a fourth trigger operation on the target user identification in the second content;
and responding to the fourth trigger operation, displaying fourth content in a target form in the target interface, wherein the fourth content comprises subtitles corresponding to the target user identification in the third content.
14. An interface switching device, comprising: the device comprises a display module and a receiving module;
the display module is used for displaying a first multimedia interface, and the first multimedia interface presents first content;
the receiving module is used for receiving a first trigger operation of the first multimedia interface;
the display module is further used for responding to the first trigger operation, updating the first multimedia interface into a second multimedia interface displayed in a floating mode, and displaying a target interface;
wherein the second multimedia interface presents second content, the target interface presents third content, and the first content comprises the second content and the third content.
15. An electronic device, comprising: a memory for storing a computer program and a processor; the processor is configured to execute the interface switching method of any one of claims 1 to 13 when invoking the computer program.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the interface switching method according to any one of claims 1 to 13.
17. A computer program product, characterized in that a computer program is stored on the computer program product, which computer program, when being executed by a processor, carries out the interface switching method of any one of claims 1 to 13.
CN202210893729.0A 2022-07-27 2022-07-27 Interface switching method, device, electronic equipment, storage medium and program product Active CN115047999B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210893729.0A CN115047999B (en) 2022-07-27 2022-07-27 Interface switching method, device, electronic equipment, storage medium and program product
PCT/CN2023/098372 WO2024021867A1 (en) 2022-07-27 2023-06-05 Interface switching method and apparatus, electronic device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210893729.0A CN115047999B (en) 2022-07-27 2022-07-27 Interface switching method, device, electronic equipment, storage medium and program product

Publications (2)

Publication Number Publication Date
CN115047999A true CN115047999A (en) 2022-09-13
CN115047999B CN115047999B (en) 2024-07-02

Family

ID=83167693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210893729.0A Active CN115047999B (en) 2022-07-27 2022-07-27 Interface switching method, device, electronic equipment, storage medium and program product

Country Status (2)

Country Link
CN (1) CN115047999B (en)
WO (1) WO2024021867A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024021867A1 (en) * 2022-07-27 2024-02-01 北京字跳网络技术有限公司 Interface switching method and apparatus, electronic device, storage medium, and program product

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281994A1 (en) * 2013-03-15 2014-09-18 Xiaomi Inc. Interactive method, terminal device and system for communicating multimedia information
CN107430723A (en) * 2015-03-09 2017-12-01 微软技术许可有限责任公司 conference summary
US20190012320A1 (en) * 2015-12-29 2019-01-10 Huawei Technologies Co., Ltd. Multimedia File Management Method, Electronic Device, And Graphical User Interface
CN110941378A (en) * 2019-11-12 2020-03-31 北京达佳互联信息技术有限公司 Video content display method and electronic equipment
US20200126583A1 (en) * 2018-10-19 2020-04-23 Reduct, Inc. Discovering highlights in transcribed source material for rapid multimedia production
CN112463274A (en) * 2020-11-20 2021-03-09 北京搜狗科技发展有限公司 Interface adjusting method and device and electronic equipment
CN113014732A (en) * 2021-02-04 2021-06-22 腾讯科技(深圳)有限公司 Conference record processing method and device, computer equipment and storage medium
CN113010698A (en) * 2020-11-18 2021-06-22 北京字跳网络技术有限公司 Multimedia interaction method, information interaction method, device, equipment and medium
CN113010704A (en) * 2020-11-18 2021-06-22 北京字跳网络技术有限公司 Interaction method, device, equipment and medium for conference summary
CN113259740A (en) * 2021-05-19 2021-08-13 北京字跳网络技术有限公司 Multimedia processing method, device, equipment and medium
CN113886612A (en) * 2020-11-18 2022-01-04 北京字跳网络技术有限公司 Multimedia browsing method, device, equipment and medium
CN114153347A (en) * 2021-12-03 2022-03-08 北京达佳互联信息技术有限公司 Conference recording method, conference recording device, electronic equipment and computer-readable storage medium
WO2022047620A1 (en) * 2020-09-01 2022-03-10 深圳传音控股股份有限公司 Interaction method, terminal and storage medium
CN114339123A (en) * 2021-12-24 2022-04-12 北京达佳互联信息技术有限公司 Video conference interaction method and related equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021174662A1 (en) * 2020-03-04 2021-09-10 海信视像科技股份有限公司 Display device and display method for operation guide
CN112121415A (en) * 2020-09-30 2020-12-25 腾讯科技(深圳)有限公司 Method, device and equipment for controlling interface display and storage medium
CN115047999B (en) * 2022-07-27 2024-07-02 北京字跳网络技术有限公司 Interface switching method, device, electronic equipment, storage medium and program product

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281994A1 (en) * 2013-03-15 2014-09-18 Xiaomi Inc. Interactive method, terminal device and system for communicating multimedia information
CN107430723A (en) * 2015-03-09 2017-12-01 微软技术许可有限责任公司 conference summary
US20190012320A1 (en) * 2015-12-29 2019-01-10 Huawei Technologies Co., Ltd. Multimedia File Management Method, Electronic Device, And Graphical User Interface
US20200126583A1 (en) * 2018-10-19 2020-04-23 Reduct, Inc. Discovering highlights in transcribed source material for rapid multimedia production
CN110941378A (en) * 2019-11-12 2020-03-31 北京达佳互联信息技术有限公司 Video content display method and electronic equipment
WO2022047620A1 (en) * 2020-09-01 2022-03-10 深圳传音控股股份有限公司 Interaction method, terminal and storage medium
CN113886612A (en) * 2020-11-18 2022-01-04 北京字跳网络技术有限公司 Multimedia browsing method, device, equipment and medium
CN113010698A (en) * 2020-11-18 2021-06-22 北京字跳网络技术有限公司 Multimedia interaction method, information interaction method, device, equipment and medium
CN113010704A (en) * 2020-11-18 2021-06-22 北京字跳网络技术有限公司 Interaction method, device, equipment and medium for conference summary
CN112463274A (en) * 2020-11-20 2021-03-09 北京搜狗科技发展有限公司 Interface adjusting method and device and electronic equipment
CN113014732A (en) * 2021-02-04 2021-06-22 腾讯科技(深圳)有限公司 Conference record processing method and device, computer equipment and storage medium
CN113259740A (en) * 2021-05-19 2021-08-13 北京字跳网络技术有限公司 Multimedia processing method, device, equipment and medium
CN114153347A (en) * 2021-12-03 2022-03-08 北京达佳互联信息技术有限公司 Conference recording method, conference recording device, electronic equipment and computer-readable storage medium
CN114339123A (en) * 2021-12-24 2022-04-12 北京达佳互联信息技术有限公司 Video conference interaction method and related equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024021867A1 (en) * 2022-07-27 2024-02-01 北京字跳网络技术有限公司 Interface switching method and apparatus, electronic device, storage medium, and program product

Also Published As

Publication number Publication date
CN115047999B (en) 2024-07-02
WO2024021867A1 (en) 2024-02-01

Similar Documents

Publication Publication Date Title
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
US20240121479A1 (en) Multimedia processing method, apparatus, device, and medium
CN110704684A (en) Video searching method and device, terminal and storage medium
EP4395331A1 (en) Information display method and apparatus, electronic device, and storage medium
CN114629882B (en) Information display method, apparatus, electronic device, storage medium, and program product
US20220392026A1 (en) Video transmission method, electronic device and computer readable medium
CN114491349B (en) Page display method, page display device, electronic device, storage medium and program product
CN114679628B (en) Bullet screen adding method and device, electronic equipment and storage medium
CN113934349B (en) Interaction method, interaction device, electronic equipment and storage medium
CN115379136B (en) Special effect prop processing method and device, electronic equipment and storage medium
US20220283697A1 (en) Video editing and playing method, apparatus, device and medium
US20210400330A1 (en) Information interaction method and device, electronic apparatus, and computer readable storage medium
CN111970571A (en) Video production method, device, equipment and storage medium
CN112307375A (en) Page display method and device, electronic equipment and computer readable medium
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN116048337A (en) Page display method, device, equipment and storage medium
CN113986003A (en) Multimedia information playing method and device, electronic equipment and computer storage medium
WO2024021867A1 (en) Interface switching method and apparatus, electronic device, storage medium, and program product
CN110134905B (en) Page update display method, device, equipment and storage medium
CN110377842A (en) Voice remark display methods, system, medium and electronic equipment
CN111221455B (en) Material display method and device, terminal and storage medium
CN110568976B (en) Method, device, equipment and storage medium for controlling application display
EP4418089A1 (en) Data processing method and apparatus, electronic device, and storage medium
CN114968463B (en) Entity display method, device, equipment and medium
CN112114735A (en) Method and device for managing tasks

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