Audio detection and subtitle rendering

The subtitle control system manages audio playback and subtitle presentation in consumer electronic devices, solving the problems of uncertainty in audio playback access and difficulty in subtitle presentation in multi-application environments, and improving user experience and device efficiency.

CN115668957BActive Publication Date: 2024-10-01SNAP INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180037741.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-05-28
Filing Date
2021-05-27
Publication Date
2024-10-01
Estimated Expiration
2041-05-27

AI Technical Summary

Technical Problem

In consumer electronic devices, when multiple applications are executed simultaneously, the device may unexpectedly grant or deny access to the audio playback function, resulting in poor user experience, especially when audio signal generation and video signals exist in parallel, metadata such as There are also difficulties in the presentation of subtitles, which affects the user experience.

Method used

By providing a subtitle control system that determines which audio signal should be used for the device's audio playback function and automatically controls the presentation of subtitles based on the user's volume control and mute switch input, it ensures that users can conveniently view subtitles for video content while reducing the need for device Use of resources.

Benefits of technology

It improves the user experience, reduces user operation complexity and resource consumption, ensures balanced playback of multiple application content, and reduces the processor cycles, memory and power usage required by the device to complete tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115668957B_ABST
    Figure CN115668957B_ABST
Patent Text Reader

Abstract

Methods, systems, and devices for facilitating synchronized execution of applications so that associated audio playback meets user expectations.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority claim

[0002] This application claims priority to U.S. patent application Ser. No. 16 / 886,002, filed May 28, 2020, which is incorporated herein by reference in its entirety. Background Art

[0003] Consumer electronic devices such as smart phones and tablet devices usually implement audio playback functions. Applications and device functions configured to use the audio playback function can request access to the audio playback function. The device can then grant access to the audio playback function to one requesting application or device function at a time. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] To easily identify the discussion of any particular element or act, the highest digit or digits in a reference number refer to the figure number in which the element is first introduced.

[0005] Figure 1 is a pictorial representation of a networked environment in which the present disclosure may be deployed, according to some example implementations.

[0006] Figure 2 is a graphical representation of a data structure maintained in a database according to some example implementations.

[0007] Figure 3 is a block diagram 300 illustrating an example subtitle control system according to an example implementation.

[0008] Figure 4 Operation of an example system for controlling audio playback according to the present disclosure is shown.

[0009] Figure 5 is a graphical representation of a processing environment according to some example implementations.

[0010] Figure 6 is a block diagram illustrating a software architecture in which the present disclosure may be implemented according to some example implementations.

[0011] Figure 7 is a diagrammatic representation of a machine in the form of a computer system within which a set of instructions may be executed for causing the machine to perform any one or more of the methodologies discussed, according to some example embodiments. DETAILED DESCRIPTION

[0012] The following description includes systems, methods, techniques, instruction sequences and computing machine program products that implement the illustrative embodiments of the present disclosure. In the following description, for the purpose of illustration, many specific details are set forth to provide an understanding of the various embodiments of the subject of the present invention. However, it will be apparent to those skilled in the art that the embodiments of the subject of the present invention can be put into practice without these specific details. Typically, it is not necessary to show in detail known instruction examples, protocols, structures and techniques.

[0013] Consumer electronic devices such as smart phones and tablet devices typically implement audio playback functionality. Applications and device functions (hereinafter referred to as "applications") configured to use the audio playback functionality can request access to the audio playback functionality. The device can then grant access to the audio playback functionality to one requesting application at a time.

[0014] In the event that such a device executes more than one application or device function simultaneously, and each application or device function requests access to the audio playback function, then the device may grant access to an unintended or undesired requesting application or device function.

[0015] Users who experience unexpected or undesirable behavior when granted control of audio playback functions may be discouraged from using certain applications altogether.

[0016] Additional challenges arise where the audio signal generated by one of the applications and device functions is not intelligible to the user or where it is desired to supplement the audio signal with information.

[0017] Many categories of consumer electronic devices incorporate display devices capable of rendering a display screen in accordance with a video signal. Many applications for such devices inherently generate a video signal in addition to an audio signal. It is known to provide metadata for visual reproduction in parallel with the audio signal: the metadata may be, for example, the lyrics of a song in a multimedia content, a translation of dialogue into a different language, or a closed captioned audio description of the action. The metadata may be synchronized with the video portion of the multimedia content, such that, for example, the lyrics of a song are arranged to appear on a user display at approximately the time the lyrics of the song are sung in the audio portion of the same multimedia content.

[0018] Furthermore, even when the audio signal is generated by the application, audio playback is not always desired. It is not uncommon for a user to consume multimedia content without audio playback to avoid disturbing others in the user's surroundings. In anticipation of such an operation, it is known to play multimedia content with superimposed subtitles.

[0019] Implementations of the present disclosure address these and other problems.

[0020] The goal is to operate a more convenient policy that manages access to audio playback functions. A further goal is to ensure that the policy that manages the presentation of metadata cooperates effectively with the policy that manages access to audio playback functions.

[0021] In the case where such a device executes more than one application simultaneously, each application requests access to the audio playback function, the device may grant access to one or more of the requesting applications in an unintended or undesirable manner. By default, the audio signal from the most recently instantiated application may be applied exclusively to the audio playback function. Any audio signal generated by another application may be muted, stopped, or paused to enable the audio signal from the most recently instantiated application to be played without interruption.

[0022] A user who experiences unexpected or undesirable behavior when granted control of audio playback functionality may be discouraged from using certain applications altogether. For example, a user may be playing music content from a music streaming application and then open a news application intending to read news content, however, the audio signal for the multimedia content presented by the news application may be given priority over the audio signal from the music streaming application.

[0023] Embodiments of the present disclosure provide a method for determining which audio signal (or audio signals) from a plurality of applications is applied to an audio playback function in a device, wherein the plurality of applications include a first application and a second application. The first application generates a first audio signal, and the second application generates a second audio signal.

[0024] In some embodiments, the first application generates multimedia data including video data, and the first audio signal is associated with the video data (and optionally synchronized with the video data). The access policy may require that when the second audio signal is received from the second application, the first audio signal is no longer applied to the audio playback function, even when the video data from the first application is being reproduced on the display of the device.

[0025] In some embodiments, the first application also generates metadata associated with the first audio signal. Examples of metadata include subtitles, lyrics subtitles, closed captions / audio descriptions ("CC"), translations, etc. Metadata can be conveniently stored in subtitle files such as text format subtitles (SRT) files or video timed text (VTT) files. Unless otherwise indicated by the context, the term "subtitles" used in this disclosure generally refers to metadata that can be presented textually or otherwise visually, providing a visual alternative to the audio track of the video clip, such as subtitles, lyrics subtitles, and CC. Therefore, "subtitles" are not only the spoken vocabulary of characters, narrators, or other voice participants, but can also be supplemented to the dialogue, which includes other relevant parts of the audio track that describes the lyrics (and phrases) of the song to be described, background noise, phone ringtones, and other audio prompts. Subtitles can also be a translation of the vocabulary used or a version of the audio track that is adapted to user preferences (e.g., by removing or replacing profane words).

[0026] In some embodiments, the user can consume content and particularly video reproduced by the first application without audio or sound, and the presentation of subtitles increases the overall enjoyment of the content. When such content consumed without audio does include metadata such as subtitles, subtitles are presented only when specifically requested by the user. That is, in order to view the subtitles, the user has to stop the playback of the content, browse through several menus, activate the presentation of subtitles, and then return to view the content with subtitles. These steps burden the user and make the user experience lack a sense of seamlessness and pleasure. In addition, due to this additional burden, users often fail to access subtitles, which results in a waste of resources dedicated to providing unconsumed subtitles.

[0027] In some embodiments, the device may enable subtitle rendering by default, for example, by placing the device's subtitle rendering setting in an enabled state. Then, when the audio playback from the subtitled video content is superior to the subtitle rendering, the burden of overriding the subtitle rendering setting may fall on the user.

[0028] An access policy may be defined that indicates that when a second audio signal (i.e., a second audio output) is received from a second application, the first audio signal (i.e., the audio output of the first application) is no longer applied to the audio playback function. The access policy may also indicate that metadata from the first application is to be presented on the screen of the device while the second audio signal is played. Thus, the first application may generate (for example) video data and subtitles for display while the second application generates audio data for playback via the audio playback function.

[0029] Thus, the disclosed embodiments improve the efficiency of using electronic devices by providing a subtitle control system that provides users with an efficient and user-friendly interface for providing subtitle content to accompany content played from a first application when audio / sound content is played by a second, different application.

[0030] According to the disclosed embodiments, the subtitle control system also improves the efficiency of using the electronic device by automatically controlling the presentation of subtitles (when available for a given video presented by a first application) based on the playback of audio / sound content by a second application. In particular, according to the disclosed embodiments, a simple and direct user interface is provided, enabling a given user to view the visual components of the video content from the first application while listening to the audio components of the content reproduced by the second application. In the presence of appropriate metadata, subtitles for the video content are presented to the given user.

[0031] In this manner, the disclosed embodiments improve the efficiency of using an electronic device by reducing the complexity experienced by a user when executing more than one application with audio content for playback. Where subtitles are present for the content being played, subtitle presentation is automatically triggered, thereby reducing the number of screens and interfaces that a user has to navigate to ensure a desired balance of content playback from multiple applications. This reduces the device resources (e.g., processor cycles, memory, and power usage) required to complete tasks using the device.

[0032] In some embodiments, a decision is made based on a volume control whether to present subtitles to a given user watching a video. That is, the disclosed embodiments seamlessly and without user input control whether subtitles are presented for a video being consumed based on the volume setting of the device. The device volume control includes an interface for increasing or decreasing the volume (i.e., a volume "up" / "down" control) and may be provided with a dedicated mute switch: these controls may be implemented in hardware and / or in software.

[0033] Volume control activity can be used to infer alternative user playback needs. Therefore, a user pressing the volume "up" button can be interpreted as a trigger to stop subtitle playback and / or switch the audio content source from the second application to the audio content source from the first application. The "mute" state of the mute switch can be used to infer that the subtitle presentation setting of the device should be in an enabled state, but pressing the mute switch when executing the first application can be interpreted differently as follows: a single press can indicate that the user expects subtitles without changing the audio playback from the second application, and two presses or a press that lasts longer than a predetermined time-2 seconds can, for example, mute the audio playback from all applications.

[0034] In some embodiments, the device may detect actuation of an input device, which may be interpreted as a request to override a default action (i.e., an action required by the access policy by default). For example, in some embodiments, the device may monitor user input via a volume "up" / "down" control when playing audio content from a first application and watching a given video reproduced by a second application to determine whether the user's playback requirements have changed. Given that the default action causes the audio signal from the newly opened application to take precedence over the audio signal of the previously executed application, actuation of the volume button may trigger the following alternative operation: the audio playback function continues to be accessed for the audio signal of the previously executed application, and the newly opened application executes the output of video data and metadata to the display function without outputting the corresponding audio signal to the audio playback function. Therefore, the user can continue to listen to music from the previously executed music application while executing the messaging client application in silent / captioned mode.

[0035] In this manner, the disclosed embodiments improve the efficiency of using electronic devices by reducing the number of screens and interfaces that a user has to navigate to view (or stop viewing) subtitles for a given video. This reduces the device resources (e.g., processor cycles, memory, and power usage) required to complete tasks using the device.

[0036] In some implementations, at least one of the applications requesting access to the audio playback functionality is a messaging client application 104 .

[0037] Figure 1 1 is a block diagram illustrating an example messaging system 100 for exchanging data (e.g., messages and associated content) over a network. The messaging system 100 includes multiple instances of client devices 102, each instance hosting multiple applications, including a messaging client application 104. Each messaging client application 104 is communicatively coupled to other instances of the messaging client application 104 and a messaging server system 108 via a network 106 (e.g., the Internet).

[0038] The messaging client application 104 is able to communicate and exchange data with another messaging client application 104 and with a messaging server system 108 via the network 106. The data exchanged between the messaging client applications 104 and between the messaging client applications 104 and the messaging server system 108 includes functions (e.g., commands to activate functions) and payload data (e.g., text, audio, video, or other multimedia data).

[0039] The messaging server system 108 provides server-side functionality to specific messaging client applications 104 via the network 106. Although certain functions of the messaging system 100 are described herein as being performed by the messaging client applications 104 or by the messaging server system 108, the location of certain functions within the messaging client applications 104 or the messaging server system 108 is a design choice. For example, it may be technically preferable to initially deploy certain technologies and functions within the messaging server system 108, but later migrate the technologies and functions to the messaging client applications 104 where the client devices 102 have sufficient processing power.

[0040] The messaging server system 108 supports various services and operations provided to the messaging client applications 104. Such operations include sending data to the messaging client applications 104, receiving data from the messaging client applications 104, and processing data generated by the messaging client applications 104. As examples, the data may include: message content, client device information, geolocation information, media annotations and overlays, message content persistence conditions, social network information, texture maps, virtual effects, and live event information. The data exchange within the messaging system 100 is activated and controlled by functions available via the user interface (UI) of the messaging client applications 104.

[0041] Turning now specifically to the messaging server system 108, an application program interface (API) server 110 is coupled to and provides a programming interface to an application server 112. The application server 112 is communicatively coupled to a database server 118, which facilitates access to a database 120 in which data associated with messages processed by the application server 112 is stored.

[0042] The application program interface (API) server 110 receives and sends message data (e.g., commands and message payloads) between the client device 102 and the application server 112. In particular, the application program interface (API) server 110 provides a set of interfaces (e.g., routines and protocols) that the messaging client application 104 can call or query to activate the functionality of the application server 112. The application program interface (API) server 110 exposes various functions supported by the application server 112, including account registration, login functionality, sending messages from a particular messaging client application 104 to another messaging client application 104 via the application server 112, sending media files (e.g., images or videos) from a messaging client application 104 to a messaging server application 114, accessible by another messaging client application 104, setting of collections of media data (e.g., stories), retrieving a friend list of a user of a client device 102, retrieving such a collection, retrieving messages and content, adding friends to a social graph and removing friends from a social graph, locating friends within a social graph, and opening application events (e.g., application events related to a messaging client application 104).

[0043] The application server 112 hosts multiple applications and subsystems, including a messaging server application 114, a location sharing system 116, a social networking system 122, and a subtitle control system 124. The messaging server application 114 implements multiple message processing techniques and functions, particularly those related to the aggregation and other processing of content (e.g., text and multimedia content) included in messages received from multiple instances of the messaging client application 104. As will be described in further detail, text and media content from multiple sources can be aggregated into content collections (e.g., referred to as stories or galleries). These collections are then made available to the messaging client application 104 by the messaging server application 114. In view of the hardware requirements for such processing, the messaging server application 114 can also perform other processor- and memory-intensive data processing on the server side.

[0044] The application server 112 also includes a location sharing system 116 that is dedicated to performing various image processing operations, typically with respect to images or videos received within the payload of a message at the messaging server application 114 .

[0045] The application server 112 is communicatively coupled to a database server 118 , which facilitates access to a database 120 in which data associated with messages processed by the messaging server application 114 is stored.

[0046] The social networking system 122 supports various social networking functional services and makes these functional services available to the messaging server application 114. To this end, the social networking system 122 maintains and accesses the entity graph 206 (e.g., Figure 2 ). Examples of functionality and services supported by the social networking system 122 include identifying other users of the messaging system 100 with whom a particular user has a relationship or "follows," and also identifying interests and other entities of a particular user.

[0047] Examples of functionality and services supported by the social networking system 122 also include generating a geographic-based graphical user interface (GUI). This interface may be referred to herein as a "graph GUI" and may be used in conjunction with a social media application. In some implementations, the graph GUI may include a representation of at least an approximate respective location of a user and the user's friends in a social network graph accessed by the social media application using an avatar for each respective user.

[0048] Social networking system 122 may receive authorization from the user to use or refrain from using the user's location information. In some implementations, social networking system 122 may also choose to share or not share the user's location with other users via the GUI. In some cases, an avatar of the user may be displayed to the user on a display screen of the user's computing device, regardless of whether the user shares his or her location with other users.

[0049] In some embodiments, a user can turn off or on the user's location sharing from within the map GUI (e.g., via a setting accessed in conjunction with a menu presented in the map GUI). In some embodiments, social networking system 122 may still present the user's avatar at the user's current location on the map GUI on the user's own device after the user turns off location sharing. This mode is referred to herein as "ghost mode." In some embodiments, social networking system 122 may present an icon on the display screen of the user's computing device to indicate that the user's location is not currently shared with other users.

[0050] Note that the illusion mode functionality described herein may be different from turning off location services on a mobile user device. Thus, in some embodiments, when the illusion mode is turned on, the device location service is still running so that the user's location can still be determined.

[0051] In some embodiments, when the illusion mode is turned on after the user previously shared his or her location and the user's avatar is displayed on the map, the user's avatar disappears from the map of other users. In some embodiments, when in the illusion mode, the user can still see on the map anyone who has chosen to share their location with the user. In some embodiments, the user can also be provided with the option of specifying who will see their location and at what granularity. Examples of granularity options that can be selected by the user include an "exact" option (e.g., the user's location will be presented on the map as accurately as the location information from the user's computing device can provide); and a random location within a predetermined area (e.g., a city) based on the location information from the user's computing device.

[0052] In some embodiments, when a user (or user group) selects the random location granularity option, the user's avatar will be displayed within a predetermined distance of the user's current location in the map GUI (e.g., within a predetermined area, such as in the user's city), and the position of the user's avatar will not change unless the user leaves the area. In some embodiments, the user's avatar may include a label specifying the geographic area in which the user is located (e.g., "New York City").

[0053] In some embodiments, the user can select other groups of users to whom his / her location will be displayed, and different display attributes can be specified for different corresponding groups or different corresponding individuals. In one example, the audience options include: "Best Friends", "Friends", and "Custom" (Custom is a whitelist at the individual level for people). In this example, if "Friends" is selected, all new people added to the user's friends list will automatically be able to see their location. If they have shared with the user, their avatar will appear on the user's map.

[0054] In some embodiments, when viewing the map GUI, the user can see on the map the locations of all of his / her friends who have shared their locations with the user, with each friend represented by their respective avatars. In some embodiments, if a friend does not have an avatar, a profile picture or a default icon displayed at the friend's corresponding location can be used to represent the friend.

[0055] In some embodiments, a user can select between friends on the graph via a menu such as a turntable. In some embodiments, selecting a particular friend will automatically focus the graph view on the avatar of that friend. Embodiments of the present disclosure may also allow the user to take various actions with the user's friends from within the graph GUI. For example, the system may allow the user to chat with the user's friends without leaving the graph. In a specific example, the user may select a chat icon from a menu presented in conjunction with the graph GUI to initiate a chat session.

[0056] Subtitle control system 124 controls the automatic presentation of subtitles for the content based on the volume control of the content being consumed by a given user. For example, subtitle control system 124 presents a simple and direct graphical user interface that allows a given user to watch video content ("multiple videos"). A given user can generally add subtitles to a video by switching the subtitle presentation setting to an enabled state. Alternatively, a user can selectively require that one or more video contents be added subtitles by dragging a subtitle file such as a text format subtitle (SRT) file or a video timed text (VTT) file to an icon or representation of a given video and / or by selecting an upload option for a given video. Once subtitles have been added, when a video is shared on a messaging application, subtitles are automatically processed and associated with a given video and made available for consumption by other users.

[0057] In some embodiments, the subtitle control system 124 controls whether to present subtitles for a given video being consumed based on the volume setting of the device. In particular, the subtitle control system 124 determines whether the dedicated physical mute switch of the device is currently in an enabled position (meaning that the audio function of the device is muted). In response to determining that the physical mute switch is in an enabled position, the subtitle control system 124 automatically determines whether a subtitle file is associated with the video being consumed, and if the subtitle file is associated with the video being consumed, the subtitles and the video being consumed are automatically presented on the device. In addition, the subtitle control system 124 determines whether the subtitle presentation setting of the device is currently in a state where subtitles are presented by default. In response to determining that the default subtitle setting is in an enabled position, the subtitle control system 124 automatically presents subtitles for any video consumed by the user on the device.

[0058] Note that although Figure 1 The captioning control system 124 in is described as being a component of the messaging server system 108 , but some or all of the functionality of the captioning control system 124 may be performed in the messaging client application 104 of the client device 102 .

[0059] Figure 2 is a schematic diagram illustrating a data structure 200 that may be stored in a database 120 of a messaging server system 108 according to certain example implementations. Although the contents of the database 120 are illustrated as including a plurality of tables, it should be understood that data may be stored in other types of data structures (e.g., as an object-oriented database).

[0060] The database 120 includes message data stored in a message table 212. The entity table 202 stores entity data, including an entity graph 206. The entities for which records are maintained in the entity table 202 may include individuals (e.g., users), corporate entities, organizations, objects, places, events, etc. Regardless of the type, any entity about which the messaging server system 108 stores data may be an identified entity. Each entity is provided with a unique identifier as well as an entity type identifier (not shown).

[0061] The entity graph 206 also stores information about relationships and associations between entities. Such relationships may be, for example, social, professional (e.g., working in a common company or organization), interest-based, or activity-based.

[0062] The message table 212 can store a collection of conversations between a user and one or more friends or entities. The message table 212 can include various attributes of each conversation, such as a list of participants, the size of the conversation (e.g., the number of users and / or the number of messages), the chat color of the conversation, a unique identifier for the conversation, and any other conversation-related features.

[0063] The database 120 also stores annotation data in the form of examples of filters in the annotation table 210. The database 120 also stores the annotation content received in the annotation table 210. The filter for which data is stored in the annotation table 210 is associated with a video (for which data is stored in the video table 214) and / or an image (for which data is stored in the image table 208) and is applied to the video and / or image. In one example, the filter is displayed as an overlay on an image or video during presentation to the recipient user. The filter can be of various types, including a user-selected filter from a library of filters presented to the sender user by the messaging client application 104 when the sender user is composing a message. Other types of filters include geographic location filters (also referred to as geographic filters), which can be presented to the sender user based on geographic location. For example, a geographic location filter specific to a nearby or special location can be presented in the UI by the messaging client application 104 based on geographic location information determined by a global positioning system (GPS) unit of the client device 102. Another type of filter is a data filter, which can be selectively presented to the sender user by the messaging client application 104 based on other input or information collected during the message creation process by the client device 102. Examples of data filters include the current temperature at a particular location, the current speed at which the sender user is traveling, the battery life of the client device 102, or the current time.

[0064] As described above, the video table 214 stores video data that, in one embodiment, is associated with messages for which records are maintained within the message table 212. Similarly, the image table 208 stores image data associated with messages for which message data is stored in the entity table 202. The entity table 202 may associate various annotations from the annotation table 210 with the various images and videos stored in the image table 208 and the video table 214.

[0065] Subtitles 216 store subtitles for one or more videos that can be consumed by messaging client application 104. That is, subtitles 216 store subtitle files (e.g., SRT files and / or VTT files) and links to associated videos of subtitle files. In some implementations, subtitles received for a given video are stored in two formats (e.g., SRT and VTT). In particular, in response to a given user uploading a subtitle file (e.g., SRT file) in a first format, the subtitle file in the first format is stored in association with the corresponding video. In addition, the subtitle file in the first format is automatically converted into a subtitle file (e.g., VTT file) in a second format and the subtitle file in the second format is also stored in association with the video in the second format. For a given request for subtitles for a given video, the type of device on which the subtitles are to be presented can be specified, and the corresponding subtitles in the first format or the second format are retrieved and returned to be presented with the video.

[0066] When subtitles are enabled for a given video being played or presented (e.g., a decision is made by the subtitle control system 124 to automatically present subtitles), subtitles 216 are accessed and retrieved for the given video (e.g., by obtaining the title or identifier of the given video being consumed and searching the subtitles 216 for any subtitles that are linked to the title or identifier of the given video). The subtitles retrieved from the subtitles 216 that are linked to the given video being played are then presented with the given video being played.

[0067] The story table 204 stores data about a collection of messages and associated images, video or audio data that are compiled into a collection (e.g., a story or gallery). The creation of a particular collection can be initiated by a particular user (e.g., each user for whom a record is maintained in the entity table 202). A user can create a "personal story" in the form of a collection of content that has been created and sent / broadcasted by the user. To this end, the UI of the messaging client application 104 can include a user-selectable icon to enable the sending user to add specific content to his or her personal story. Video content played by the application can include such a story.

[0068] A collection may also constitute a "live story," which is a collection of content from multiple users that is created manually, automatically, or using a combination of manual and automatic techniques. For example, a "live story" may constitute a curated stream of user-submitted content from various locations and events. Users whose client devices have location services enabled and who are at a common location event at a particular time may be presented with an option, for example, via the UI of the messaging client application 104, to contribute content to a particular live story. A live story may be identified to the user by the messaging client application 104 based on his or her location. The end result is a "live story" told from a community perspective.

[0069] Another type of content collection is called a "location story," which enables users whose client devices 102 are located within a particular geographic location (e.g., on a college or university campus) to contribute to a particular collection. In some implementations, contributions to location stories may require a second degree of authentication to verify that the end user belongs to a particular organization or other entity (e.g., is a student on a university campus).

[0070] Figure 3 3 is a block diagram 300 illustrating an example subtitle control system according to an example implementation. As previously described, the subtitle control system 124 may be implemented on a user device (such as the client device 102) or a server device (such as the client device 102). Figure 1 The subtitle control system 124 includes a volume control module 302, a mute switch module 304, and a subtitle enabling and retrieving module 126.

[0071] The volume control module 302 continuously (or in response to detecting activation of a volume button) monitors a volume control of a user device (e.g., client device 102). The volume control may include a physical volume "up" / "down" button on the user device. In some cases, the volume control module 302 monitors the volume control when audio content is being played by a first application and a video is being played by a second application (e.g., messaging client application 104).

[0072] In response to the volume control module 302 detecting activation of a volume “down” button or a volume “up” button on the user device (e.g., where audio content is being played by a first application and a video along with subtitles is being played by a second application), the volume control module 302 communicates with the subtitle enabling and retrieval module 126 to switch the presentation of subtitles to a disabled state.

[0073] The mute switch module 304 similarly monitors the user input at the mute switch of the device. In response to the user input at the detected mute switch, the subtitle enabling and retrieval module 126 operates to retrieve and display subtitles (when mute is enabled) and stop or cancel the previous subtitle display (when mute is disabled). If the mute state is entered, the volume control module 302 can (for example, through the graphical user interface of the user device display) retrieve the identifier of the current multimedia content item being played by the display function. The identifier can be provided to the database to search for any available subtitles of the content item being played in the subtitle 216. If a match is found in the subtitle 216, the subtitle file is retrieved. In addition, the current playback position is retrieved and used as an index in the subtitle file to access the correct subtitle group for the current playback position of the video (for example, to access the subtitles corresponding to the 1:30 [minutes: seconds] segment of the video). The subtitles are presented on or beside the video frame of the video at the same time. In some cases, the language of the search device is determined to determine whether the desired language is a specific language other than the default language. If so, the subtitles of the desired language are retrieved and displayed (if available).

[0074] In some implementations, the subtitles enabling and retrieval module 126 can access a display characteristics field stored on the user device. The subtitles enabling and retrieval module 126 can modify the display characteristics (e.g., font size, color, and shape) of subtitles presented with the video being played. Subtitles can be presented on an area of ​​the screen that does not obstruct any important aspects of the video content.

[0075] In some embodiments, the subtitles enabling and retrieval module 126 can monitor user interactions while a video is playing to determine whether to display or continue to display subtitles. For example, the subtitles enabling and retrieval module 126 can detect that the mute switch has been moved to an enabled position in which the audio of the device is muted (or the volume control monitored by the volume control module 302 is gradually reduced to a volume level of 0%) by receiving instructions from the mute switch module 304. In response, the subtitles enabling and retrieval module 126 can automatically retrieve and display subtitles for the video being played and any subsequent videos to be played.

[0076] In some embodiments, the subtitles enabling and retrieval module 126 can detect that a user performs a touch and hold action while a video is playing. For example, the subtitles enabling and retrieval module 126 can detect physical contact of a user's finger with a display that is playing a video. The physical contact can last for more than a threshold period of time (e.g., more than 3 seconds), during which the finger is not lifted or removed from the physical contact display. In response, the subtitles enabling and retrieval module 126 can present an overlay including an options menu on the video being played. The options may include enabling subtitles options that enable the user to toggle (switch between turning on / activating subtitles or turning off / deactivating subtitles for the graphical user interface) the activation of subtitles.

[0077] In some embodiments, the subtitles enabling and retrieval module 126 can access the default global subtitles setting of the user device to determine whether to display subtitles. In response to determining that the default global subtitles setting of the user device is set to an enabled state, the subtitles enabling and retrieval module 126 can automatically retrieve and display subtitles for the video being played and any subsequently played videos.

[0078] Figure 4 The main operational blocks in a typical routine 400 according to the present disclosure are shown. The routine determines how to handle the presentation of corresponding audio signals generated or otherwise output by multiple applications, and which (or which) of the audio signals are applied to the audio playback function in the device.

[0079] At block 402, a first application is executed. The first application generates audio data, which is played by an audio playback function. The first application may be, for example, a music streaming application that outputs music via a music playback function: the user listens to the music through headphones or speakers coupled to the device. In the absence of other audio data sources, the first application is granted priority access to the audio playback function.

[0080] At block 404, a second application is started. The second application outputs multimedia content, which includes video data and audio data. The second application can be at least one of a multimedia playback application, a camera application, or a messaging client application. Although some aspects of the second application (e.g., operating mode) may not have an impact on the operation of an audio playback function (e.g., a chat function, a visual enhancement function, or a camera function), other operating modes (e.g., when the multimedia content has its own soundtrack) do have an impact. Optionally, the device can detect whether the operating mode of the second application may have an impact on the operation of the audio playback function.

[0081] At decision block 406 , the device optionally determines whether the multimedia content from the second application includes metadata (eg, subtitle information).

[0082] If it is determined that the multimedia content from the second application does not include metadata, then the device may grant each of the first application and the second application access to audio playback functionality, block 408. According to an audio mixing algorithm, corresponding audio signals without priority access or corresponding audio signals with priority access may be mixed together.

[0083] If it is determined that the multimedia content from the second application does include metadata, and optionally it is determined that the operating mode of the second application may have an impact on the audio playback function operation, the device causes the audio playback function to deny the second application access to the audio playback function, and instead display metadata (e.g., subtitles or audio description information), block 410. The second application executes in a silent / subtitled mode.

[0084] The device is arranged to monitor for key press inputs and if a key press of, for example, a volume button is detected (decision block 412 ), the key press is interpreted as a request to switch the operating mode of the second application to a default operation, block 314 .

[0085] Now turn to Figure 5 , a graphical representation of a processing environment 500 is shown, which includes at least a processor 502 (e.g., a GPU, a CPU, or a combination thereof). The processing environment 500 can be implemented in a user device such as a client device 102, which is arranged to capture video frames in real time and process and display an augmented or virtual reality 3D experience, as described below.

[0086] Processor 502 is shown coupled to power source 504 and includes modules (permanently configured or temporarily instantiated), namely position component 508, GUI component 310, messaging UI component 512, and virtual effect UI component 514. Position component 508 is operative to determine the user's location based on location information. GUI component 310 is operative to generate a user interface and cause the user interface to be displayed on the client device. Messaging UI component 512 is operative to generate a user interface and cause the user interface to be displayed on the client device. As shown, processor 502 can be communicatively coupled to another processor 506.

[0087] In some embodiments, the virtual effects UI component 514 performs semantic segmentation on the image frames (i.e., video stream) from the image capture device, as described in detail below, and generates an augmented or virtual reality 3D experience to be presented in the user interface generated by the GUI component 510. In some embodiments, the virtual effects UI component 514 is implemented in a graphics processing unit (GPU). In some embodiments, the processor 502 itself is a GPU.

[0088] Figure 66 is a block diagram 600 illustrating a software architecture 604 that can be installed on any one or more of the devices described herein. The software architecture 604 is supported by hardware such as a machine 602 including a processor 620, a memory 626, and an I / O component 638. In this example, the software architecture 604 can be conceptualized as a stack of layers in which each layer provides specific functionality. The software architecture 604 includes layers such as an operating system 612, a library 610, a framework 608, and an application 606. In operation, the application 606 invokes an API call 650 through the software stack and receives a message 652 in response to the API call 650.

[0089] The operating system 612 manages hardware resources and provides public services. The operating system 612 includes, for example, a kernel 614, services 616, and drivers 622. The kernel 614 acts as an abstraction layer between the hardware layer and other software layers. For example, the kernel 614 provides memory management, processor management (e.g., scheduling), component management, networking and security settings, and other functions. Services 616 can provide other public services to other software layers. Drivers 622 are responsible for controlling or interfacing with the underlying hardware. For example, drivers 622 may include display drivers, camera drivers, or Low-power drivers, Flash drivers, Serial communications drivers (e.g., Universal Serial Bus (USB) drivers), Drivers, audio drivers, power management drivers, etc.

[0090] The library 610 provides a low-level common infrastructure used by the application 606. The library 610 may include a system library 618 (e.g., a C standard library) that provides functions such as memory allocation functions, string manipulation functions, mathematical functions, etc. In addition, the library 610 may include an API library 624, such as a media library (e.g., a library for supporting the presentation and manipulation of various media formats such as Moving Picture Experts Group 4 (MPEG4), Advanced Video Coding (H.264 or AVC), Moving Picture Experts Group Layer 3 (MP3), Advanced Audio Coding (AAC), Adaptive Multi-Rate (AMR) audio codec, Joint Photographic Experts Group (JPEG or JPG), or Portable Network Graphics (PNG)), a graphics library (e.g., an OpenGL framework for presenting in two dimensions (2D) and three dimensions (3D) in graphics content on a display), a database library (e.g., SQLite providing various relational database functions), a web library (e.g., WebKit providing web browsing functions), etc. The library 610 may also include a variety of other libraries 628 to provide many other APIs to the application 606.

[0091] The framework 608 provides a high-level common infrastructure used by the applications 606. For example, the framework 608 provides various graphical user interface (GUI) functions, advanced resource management, and advanced location services. The framework 608 can provide a wide range of other APIs that can be used by the applications 606, some of which can be specific to a particular operating system or platform.

[0092] In an example embodiment, applications 606 may include a home application 636, a contacts application 630, a browser application 632, a book reader application 634, a location application 642, a media application 644, a messaging application 646, a game application 648, and a variety of other applications such as third-party applications 640. Application 606 is a program that executes the functions defined in the program. Various programming languages ​​can be used to create one or more of the applications 606 constructed in various ways, such as an object-oriented programming language (e.g., Objective-C, Java, or C++) or a procedural programming language (e.g., C language or assembly language). In a specific example, third-party applications 640 (e.g., those created by an entity other than the vendor of a particular platform using ANDROID TM or IOS TM Software Development Kit (SDK) can be used to develop applications on platforms such as IOS TM ANDROID TM , Mobile software running on the mobile operating system of the Phone or another mobile operating system. In this example, third-party applications 640 can activate API calls 650 provided by the operating system 612 to facilitate the functions described herein.

[0093] Figure 7700 in which instructions 708 (e.g., software, programs, applications, applet, app, or other executable code) may be executed to cause the machine 700 to perform any one or more of the methodologies discussed herein. For example, the instructions 708 may cause the machine 700 to perform any one or more of the methodologies described herein. The instructions 708 convert a general purpose, unprogrammed machine 700 into a specific machine 700 that is programmed to perform the functions described and illustrated in the manner described. The machine 700 may operate as a standalone device or may be coupled (e.g., networked) to other machines. In a network deployment, the machine 700 may operate in the capacity of a server machine or a client machine in a server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment. The machine 700 may include, but is not limited to, a server computer, a client computer, a personal computer (PC), a tablet computer, a laptop computer, a netbook, a set-top box (STB), a PDA, an entertainment media system, a cellular phone, a smart phone, a mobile device, a wearable device (e.g., a smart watch), a smart home device (e.g., a smart home appliance), other smart devices, a web device, a network router, a network switch, a network bridge, or any machine capable of executing, sequentially or otherwise, the instructions 708 specifying actions to be taken by the machine 700. In addition, while only a single machine 700 is shown, the term "machine" should also be taken to include a collection of machines that individually or jointly execute the instructions 708 to perform any one or more of the methodologies discussed herein.

[0094] The machine 700 may include a processor 702, a memory 704, and an I / O component 742, which may be configured to communicate with each other via a bus 744. In an example embodiment, the processor 702 (e.g., a central processing unit (CPU), a reduced instruction set computing (RISC) processor, a complex instruction set computing (CISC) processor, a graphics processing unit (GPU), a digital signal processor (DSP), an ASIC, a radio frequency integrated circuit (RFIC), other processors, or any suitable combination thereof) may include, for example, a processor 706 and a processor 710 that execute instructions 708. The term "processor" is intended to include multi-core processors, which may include two or more independent processors (sometimes referred to as "cores") that may execute instructions simultaneously. Although Figure 7 Multiple processors 702 are shown, but machine 700 may include a single processor with a single core, a single processor with multiple cores (e.g., a multi-core processor), multiple processors with single cores, multiple processors with multiple cores, or any combination thereof. Processor 502 may be formed as Figure 5 The processing environment shown.

[0095] The memory 704 includes a main memory 712, a static memory 714, and a storage unit 716 that are accessible to the processor 702 via the bus 744. The main memory 704, the static memory 714, and the storage unit 716 store instructions 708 that implement any one or more of the methods or functions described herein. The instructions 708 may also reside, completely or partially, within the main memory 712, within the static memory 714, within the machine-readable medium 718 within the storage unit 716, within at least one of the processors 702 (e.g., within a cache memory of a processor), or within any suitable combination thereof during execution thereof by the machine 700.

[0096] I / O components 742 may include a variety of components for receiving input, providing output, generating output, sending information, exchanging information, capturing measurements, etc. The specific I / O components 742 included in a particular machine will depend on the type of machine. For example, a portable machine such as a mobile phone may include a touch input device or other such input mechanism, while a headless server machine may not include such a touch input device. It will be appreciated that I / O components 742 may include Figure 7 720. In various example embodiments, the I / O components 742 may include output components 728 and input components 730. The output components 728 may include visual components (e.g., displays such as plasma display panels (PDPs), light emitting diode (LED) displays, liquid crystal displays (LCDs), projectors, or cathode ray tubes (CRTs)), acoustic components (e.g., speakers), tactile components (e.g., vibration motors, resistance mechanisms), other signal generators, and the like. The input components 730 may include alphanumeric input components (e.g., keyboards, touch screens configured to receive alphanumeric input, optical keyboards, or other alphanumeric input components), point-based input components (e.g., mice, touch pads, trackballs, joysticks, motion sensors, or other pointing instruments), tactile input components (e.g., physical buttons, touch screens that provide location and / or force of touch or touch gestures, or other tactile input components), audio input components (e.g., microphones), video input components (e.g., cameras or other image capture devices), and the like.

[0097] In other example embodiments, the I / O component 742 may include a biometric component 732, a motion component 734, an environmental component 736, or a positioning component 738, as well as various other components. For example, the biometric component 732 includes components for detecting expressions (e.g., hand expressions, facial expressions, voice expressions, body postures, or eye tracking), measuring biosignals (e.g., blood pressure, heart rate, body temperature, sweating, or brain waves), identifying people (e.g., voice recognition, retinal recognition, facial recognition, fingerprint recognition, or EEG-based recognition), etc. The motion component 734 includes an acceleration sensor component (e.g., an accelerometer), a gravity sensor component, a rotation sensor component (e.g., a gyroscope), etc. The environment component 736 includes, for example, an illumination sensor component (e.g., a photometer), a temperature sensor component (e.g., one or more thermometers for detecting ambient temperature), a humidity sensor component, a pressure sensor component (e.g., a barometer), a sound sensor component (e.g., one or more microphones for detecting background noise), a proximity sensor component (e.g., an infrared sensor for detecting nearby objects), a gas sensor (e.g., a gas detection sensor for detecting concentrations of hazardous gases to ensure safety or for measuring pollutants in the atmosphere), or other components that can provide indications, measurements, or signals corresponding to the surrounding physical environment. The positioning component 738 includes a position sensor component (e.g., a GPS receiver component), an altitude sensor component (e.g., an altimeter or barometer for detecting air pressure, from which the altitude can be obtained), an orientation sensor component (e.g., a magnetometer), etc.

[0098] A variety of technologies may be used to implement communications. I / O components 742 also include communications components 740 that are operable to couple machine 700 to network 720 or device 722 via coupling 724 and coupling 726, respectively. For example, communications components 740 may include a network interface component or other suitable device that interfaces with network 720. In other examples, communications components 740 may include wired communications components, wireless communications components, cellular communications components, near field communications (NFC) components, Parts (e.g. Low energy consumption), Components, and other communication components for providing communication via other forms. Device 722 can be any peripheral device among other machines or a variety of peripheral devices (e.g., a peripheral device coupled via USB).

[0099] In addition, the communication component 740 can detect an identifier or include a component operable to detect an identifier. For example, the communication component 740 can include a radio frequency identification (RFID) tag reader component, an NFC smart tag detection component, an optical reader component (e.g., an optical sensor for detecting the following: a one-dimensional barcode, such as a universal product code (UPC) barcode; a multi-dimensional barcode, such as a Quick Response (QR) code, Aztec code, Data Matrix, Data Glyph, MaxiCode, PDF417, Hypercode, UCC RSS-2D barcode and other optical codes), or an acoustic detection component (e.g., a microphone for identifying an audio signal of a tag). In addition, various information can be obtained via the communication component 740, such as a location via Internet Protocol (IP) geolocation, a location via Internet Protocol (IP), ... The location of signal triangulation, the location of an NFC beacon signal via detection that can indicate a specific location, etc.

[0100] Various memories (e.g., memory 704, main memory 712, static memory 714, and / or memory of processor 702) and / or storage unit 716 may store one or more sets of instructions and data structures (e.g., software) implemented or used by any one or more of the methods or functions described herein. These instructions (e.g., instructions 708) when executed by processor 702 cause various operations to implement the disclosed embodiments.

[0101] The instructions 708 may be sent or received over the network 720 via a network interface device (e.g., a network interface component included in the communication component 740) using a transmission medium and using any of a number of well-known transmission protocols (e.g., the Hypertext Transfer Protocol (HTTP)). Similarly, the instructions 708 may be sent or received to the device 722 via a coupling 726 (e.g., a peer-to-peer coupling) using a transmission medium.

Claims

1. A computer-implemented method executed by one or more processors of a user device, the method comprising: executing a first application that generates a first audio output and a first video output based on one or more multimedia content items; providing the first audio output to an audio playback function of the user device; causing the audio playback function to reproduce the first audio output; providing the first video output to a display function of the user device; detecting a user request to execute a second application, the second application configured to generate a second audio output; After detecting the user request, executing the second application; as well as determining whether the first application also generates a first subtitle output based on the multimedia content item; In response to determining that the first application generates the first subtitle output based on the multimedia content item: providing the second audio output to the audio playback function of the user device; as well as When the display function of the user equipment causes the first video output of the first application to be displayed, the audio playback function causes the second audio output of the second application to be reproduced; detecting user input via a volume control of the user device; as well as In response to detecting the user input, the audio playback function is caused to reproduce the first audio output of the first application while the display function of the user device causes display of the second video output of the second application.

2. The computer-implemented method of claim 1 , wherein: Causing the audio playback function to reproduce the second audio output also includes causing the audio playback function to discard the first audio output.

3. The computer-implemented method of claim 1 , wherein: Causing the audio playback function to reproduce the second audio output also includes ceasing to provide the first audio output to the audio playback function.

4. The computer-implemented method of claim 1 , further comprising: The display function is caused to reproduce the first video output.

5. The computer-implemented method of claim 1 , wherein: The display function of providing the first video output to the user device also includes: Where the first subtitle output is generated to correspond to the first video output, the first subtitle output is provided to the display function of the user device for display on the first video output.

6. The computer-implemented method of claim 5, further comprising: determining whether user input is received to change audio playback of the user device; as well as Upon determining that the user input is received, providing the second audio output to the audio playback function is stopped, and the audio playback function is caused to reproduce the first audio output.

7. The computer-implemented method of claim 6, further comprising ceasing to provide the first subtitle output to the display function upon determining that the user input is received.

8. A user device providing an audio playback function and a display function, the user device comprising: one or more processors; as well as a memory storing instructions which, when executed by the one or more processors, implement the audio playback function and the display function and configure the device to: executing a first application that generates a first audio output and a first video output based on one or more multimedia content items; providing the first audio output to the audio playback function; causing the audio playback function to reproduce the first audio output; providing the first video output to the display function; detecting a user request to execute a second application, the second application configured to generate a second audio output; After detecting the user request, executing the second application; as well as determining whether the first application also generates a first subtitle output based on the multimedia content item; In response to determining that the first application generates the first subtitle output based on the multimedia content item: providing the second audio output to the audio playback function; as well as When the display function of the user equipment causes the first video output of the first application to be displayed, the audio playback function causes the second audio output of the second application to be reproduced; detecting user input via a volume control of the user device; And in response to detecting the user input, causing the audio playback function to reproduce the first audio output of the first application while the display function of the user device causes the second video output of the second application to be displayed.

9. The user equipment according to claim 8, wherein: Causing the audio playback function to reproduce the second audio output also includes causing the audio playback function to discard the first audio output.

10. The user equipment according to claim 8, wherein: Causing the audio playback function to reproduce the second audio output also includes ceasing to provide the first audio output to the audio playback function.

11. The user equipment according to claim 8, wherein: The instructions also configure the device to: The display function is caused to reproduce the first video output.

12. The user equipment according to claim 8, wherein: Providing the first video output to the display function further comprises: Where the first subtitle output is generated to correspond to the first video output, the first subtitle output is provided to the display function for display on the first video output.

13. The user equipment according to claim 12, wherein: The instructions also configure the device to: determining whether user input is received to change audio playback of the user device; and Upon determining that the user input is received, providing the second audio output to the audio playback function is stopped, and the audio playback function is caused to reproduce the first audio output.

14. The user equipment according to claim 13, wherein: The instructions further configure the device to cease providing the first subtitle output to the display function upon determining that the user input was received.

15. A non-transitory computer-readable storage medium comprising instructions that, when executed by a computer, cause the computer to: executing a first application that generates a first audio output and a first video output based on one or more multimedia content items; providing the first audio output to an audio playback function of a user device; causing the audio playback function to reproduce the first audio output; providing the first video output to a display function of the user device; detecting a user request to execute a second application, the second application configured to generate a second audio output; After detecting the user request, executing the second application; as well as determining whether the first application also generates a first subtitle output based on the multimedia content item; In response to determining that the first application generates the first subtitle output based on the multimedia content item: providing the second audio output to the audio playback function of the user device; as well as When the display function of the user equipment causes the first video output of the first application to be displayed, the audio playback function causes the second audio output of the second application to be reproduced; detecting user input via a volume control of the user device; as well as In response to detecting the user input, the audio playback function is caused to reproduce the first audio output of the first application while the display function of the user device causes display of the second video output of the second application.

16. The computer-readable storage medium of claim 15, wherein: Causing the audio playback function to reproduce the second audio output also includes causing the audio playback function to discard the first audio output.

17. The computer-readable storage medium of claim 15, wherein: Causing the audio playback function to reproduce the second audio output also includes ceasing to provide the first audio output to the audio playback function.

18. The computer-readable storage medium of claim 15, wherein: The instructions further configure the computer to: The display function is caused to reproduce the first video output.

19. The computer-readable storage medium of claim 15, wherein: The display function of providing the first video output to the user device also includes: Where the first subtitle output is generated to correspond to the first video output, the first subtitle output is provided to the display function of the user device for display on the first video output.

20. The computer-readable storage medium of claim 19, wherein: The instructions further configure the computer to: determining whether user input is received to change audio playback of the user device; and After determining that the user input is received, the audio playback is changed by: ceasing to provide said second audio output to said audio playback function, causing the audio playback function to reproduce the first audio output, and The first subtitle output is stopped from being provided to the display function.