Method and system for generating context application menu and computer readable storage medium
By generating context-related setting menus in the electronic messaging system, the problem of difficulty in providing personalized application menus in the prior art is solved, and a more dynamic and user-friendly user interface is achieved.
Patent Information
- Application Number
- CN202510013706.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2020-06-10
- Filing Date
- 2021-06-10
- Publication Date
- 2025-05-13
AI Technical Summary
The prior art is difficult to provide personalized application menus in electronic messaging systems, and cannot effectively adjust menu content dynamically according to user's current activities and relationships.
By generating and displaying context-related settings menus on the client device, the menu content is dynamically adjusted based on the currently running application and user relationship, including application interfaces related to game applications and action bars related to messaging systems.
Improved user experience, enhanced user engagement, and more effectively presenting the media content items they are interested in to users.
Smart Images

Figure CN119996559A_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application filed on December 9, 2022, with application number 202180041698.X and invention name “Contextual Application Menu”. The international filing date of the PCT international application corresponding to the above parent application is June 10, 2021, and the international application number is PCT / US2021 / 036803.
[0002] Priority declaration
[0003] This application claims the benefit of priority to U.S. Provisional Application Serial No. 63 / 037,336, filed on June 10, 2020, the entire contents of which are incorporated herein by reference. Technical Field
[0004] Various implementations described herein relate to contextual application menus, and more particularly, to methods, systems, and computer-readable storage media for generating contextual application menus. Background Art
[0005] Electronic messaging, especially instant messaging, continues to gain popularity around the world. Users can quickly and instantly share electronic media content items including text, electronic images, audio and video with each other. Summary of the invention
[0006] One aspect of an implementation of the present disclosure provides a method for generating a contextual application menu, comprising: causing a processor to cause a first portion of a display screen of a client device to display an application interface associated with a game application, the game application being launched within the context of a messaging system and utilizing features of the messaging system, and causing a second portion of the display screen to display an action bar associated with the messaging system that is different from the game application, the action bar comprising a setting selectable item for activating a setting menu associated with the game application and a text input element for receiving text input to be sent to a user associated with a user of the client device on the messaging system; and in response to receiving a selection of the setting selectable item, generating the settings menu, the settings menu comprising selectable items for changing a plurality of settings of the game application and selectable items for controlling the messaging system.
[0007] Yet another aspect of an embodiment of the present disclosure provides a non-transitory computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, cause the processor to perform operations, the operations comprising: causing a first portion of a display screen of a client device to display an application interface associated with a gaming application, the gaming application being launched within the context of a messaging system and utilizing features of the messaging system, and causing a second portion of the display screen to display an action bar associated with the messaging system that is different from the gaming application, the action bar comprising a settings selectable item for activating a settings menu associated with the gaming application and a text input element for receiving text input to be sent to a user associated with a user of the client device on the messaging system; and in response to receiving a selection of the settings selectable item, generating the settings menu, the settings menu comprising selectable items for changing a plurality of settings of the gaming application and selectable items for controlling the messaging system.
[0008] Another aspect of an embodiment of the present disclosure provides a system comprising: a processor; and a memory having instructions stored thereon, wherein the instructions, when executed by the processor, cause the system to perform operations, the operations comprising: causing a first portion of a display screen of a client device to display an application interface associated with a game application, wherein the game application is launched within the context of a messaging system and utilizes features of the messaging system, and causing a second portion of the display screen to display an action bar associated with the messaging system different from the game application, the action bar comprising a setting selectable item for activating a setting menu associated with the game application and a text input element for receiving text input to be sent to a user associated with a user of the client device on the messaging system; and in response to receiving a selection of the setting selectable item, generating the setting menu, the setting menu comprising selectable items for changing multiple settings of the game application and selectable items for controlling the messaging system. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In the drawings, which are not necessarily drawn to scale, similar reference numerals may describe similar components in different views. To easily identify the discussion of any particular element or action, the highest digit or digits in the reference numeral refer to the figure number used when the element was first introduced. Some embodiments are shown by way of example and not limitation in the figures of the accompanying drawings, in which:
[0010] Figure 1 is a diagrammatic representation of a networked environment in which the present disclosure may be deployed, according to some examples.
[0011] Figure 2is a diagrammatic representation of a messaging system having both client-side and server-side functionality according to some examples.
[0012] Figure 3 is a diagrammatic representation of data structures maintained in a database according to some examples.
[0013] Figure 4 is a graphical representation of messages according to some examples.
[0014] Figure 5 An interface 500 is shown with a first portion and a second portion of a display screen in an inactive position according to one embodiment.
[0015] Figure 6 An interface 600 is shown with a first portion and a second portion of a display screen in an activated position according to one embodiment.
[0016] Figure 7 A process 700 for generating a contextual application menu is shown according to one implementation.
[0017] Figure 8 is a diagrammatic representation of a machine in the form of a computer system according to some examples, within which a set of instructions may be executed, for causing the machine to perform any one or more of the methodologies discussed herein.
[0018] Fig. 9 is a block diagram illustrating a software architecture in which examples may be implemented. DETAILED DESCRIPTION
[0019] As the number of users on a social networking system increases, each user also has a growing network of individuals that she follows. Therefore, in order to maintain user engagement on a social networking system, it is of utmost importance that the system has the ability to present to each user the media content items that are of most interest or relevance to her. In addition to the need to curate media content items, social networking systems are also faced with the challenge of providing a graphical user interface that attracts the user's attention and allows her to view the curated media content items and further interact with the network of individuals that she follows.
[0020] In the messaging system, users are connected to various other users with whom they have different levels and types of relationships. Users can interact with each other in the messaging system by exchanging messages, audio-visual content, links to content on the Internet, etc.
[0021] Embodiments of the present disclosure improve the functionality of electronic messaging software and systems by generating a platform on which users can access applications and by generating a settings menu based on the context of the user's client device. Specifically, the settings menu generated and displayed on the user's client device is contextual because the content of the settings menu can depend on the application currently running on the user's client device or on the users associated with the application or the user on the messaging device. Selectable items (e.g., icons, images, text) identifying these users can be displayed in the settings menu so that the user can quickly access these users in order to send them content or messages related to the application.
[0022] Implementations of the present disclosure also improve the functionality of electronic messaging software and systems by providing shared placement of an action bar between applications executing on a client device from which a settings menu can be accessed. The action bar can be native to the messaging system, but dynamically adapts to incorporate elements relevant to the current context of the client device, such as the application that the user is currently accessing on the client device. By ensuring shared placement of the action bar and the contextual aspects of the settings menu, implementations of the messaging system improve the user experience, making it possible to further increase user engagement with the messaging system.
[0023] Networked computing environment
[0024] 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 106, each of which hosts several applications including a messaging client 108. Each messaging client 108 is communicatively coupled to other instances of the messaging client 108 and a messaging server system 104 via a network 102 (e.g., the Internet).
[0025] The messaging clients 108 are able to communicate and exchange data with other messaging clients 108 and messaging server systems 104 via the network 102. The data exchanged between messaging clients 108 and between messaging clients 108 and messaging server systems 104 include functions (e.g., commands to invoke functions) and payload data (e.g., text, audio, video, or other multimedia data).
[0026] The messaging server system 104 provides server-side functionality to certain messaging clients 108 via the network 102. Although certain functionality of the messaging system 100 is described herein as being performed by the messaging client 108 or by the messaging server system 104, the location of certain functionality within the messaging client 108 or messaging server system 104 may be a design choice. For example, it may be technically preferable to initially deploy certain technologies and functionality within the messaging server system 104, but later migrate the technologies and functionality to the messaging client 108 if the client device 106 has sufficient processing power.
[0027] The messaging server system 104 supports various services and operations provided to the messaging clients 108. Such operations include sending data to the messaging clients 108, receiving data from the messaging clients, and processing data generated by the messaging clients. The data may include message content, client device information, geolocation information, media enhancements and overlays, message content persistence conditions, social network information, and live event information as examples. The data exchange within the messaging system 100 is stimulated and controlled by the functions available via the user interface (UI) of the messaging client 108.
[0028] Turning now specifically to the messaging server system 104, an application program interface (API) server 112 is coupled to and provides a programming interface to an application server 110. The application server 110 is communicatively coupled to a database server 116, which facilitates access to a database 122 that stores data associated with messages processed by the application server 110. Similarly, a web server 124 is coupled to the application server 110 and provides a web-based interface to the application server 110. To this end, the web server 124 processes incoming network requests via the Hypertext Transfer Protocol (HTTP) and several other related protocols.
[0029] The application program interface (API) server 112 receives and sends message data (e.g., commands and message payloads) between the client device 106 and the application server 110. In particular, the application program interface (API) server 112 provides a set of interfaces (e.g., routines and protocols) that the messaging client 108 can call or query to activate the functions of the application server 110. An application program interface (API) server 112 exposes various functions supported by application server 110, including: account registration; login functionality; sending messages from a particular messaging client 108 to another messaging client 108 via application server 110; sending media files (e.g., images or videos) from a messaging client 108 to messaging server 114; and setting up collections of media data (e.g., stories) for access by another messaging client 108, retrieving a friend list of a user of client device 106, retrieving such collections, retrieving messages and content, adding and removing entities (e.g., friends) to and from an entity graph (e.g., a social graph), locating friends in a social graph, and opening application events (e.g., related to messaging client 108).
[0030] The application server 110 hosts several server applications and subsystems, including, for example, a messaging server 114, an image processing server 118, and a social network server 120. The messaging server 114 implements several message processing techniques and functions, which are particularly 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 108. As will be described in further detail, text and media content from multiple sources can be aggregated into content collections (e.g., called stories or galleries). These collections are then made available to the messaging client 108. Given the hardware requirements for other processor and memory intensive processing of data, such processing can also be performed on the server side by the messaging server 114.
[0031] The application server 110 also includes an image processing server 118 that is dedicated to performing various image processing operations, typically with respect to images or videos within the payload of messages sent from or received at the messaging server 114.
[0032] The social network server 120 supports various social networking functions and services and makes them available to the messaging server 114. To this end, the social network server 120 maintains and accesses an entity graph 308 (e.g., Figure 3Examples of functions and services supported by social network server 120 include identifying other users in messaging system 100 who have a relationship with or are "following" a particular user, and identifying interests and other entities of a particular user.
[0033] System Architecture
[0034] Figure 2 1 is a block diagram showing further details about the messaging system 100 according to some examples. Specifically, the messaging system 100 is shown to include a messaging client 108 and an application server 110. The messaging system 100 contains several subsystems that are supported on the client side by the messaging client 108 and on the server side by the application server 110. These subsystems include, for example, a transient timer system 202, a collection management system 204, an enhancement system 206, a map system 210, and a game system 212.
[0035] The transient timer system 202 is responsible for implementing temporary or time-limited access to content by the messaging client 108 and the messaging server 114. The transient timer system 202 includes a number of timers that selectively enable access (e.g., for presentation and display) of messages and associated content via the messaging client 108 based on duration and display parameters associated with a message or collection of messages (e.g., a story). Additional details regarding the operation of the transient timer system 202 are provided below.
[0036] The collection management system 204 is responsible for managing groups and collections of media (e.g., collections of text, image video, and audio data). Collections of content (e.g., messages including images, videos, text, and audio) can be organized into "event galleries" or "event stories". Such collections can be made available in a specified time period, for example, for the duration of an event related to the content. For example, content related to a concert can be made available as a "story" for the duration of the concert. The collection management system 204 can also be responsible for publishing an icon that provides notifications of the existence of a specific collection to the user interface of the messaging client 108. In one embodiment, the collection management system 204 can be responsible for managing a shared collection of media content items, which can only be viewed by a group of users (e.g., a private group) selected by the creator of the shared collection in the messaging system. In one embodiment, the shared collection of media content items can be modified by the creator of the shared collection and other members of the private group. For example, the collection management system 204 only processes and implements modifications, such as adding, deleting, or editing media content items included in the shared collection received from the client device 102 of the member of the private group. A shared collection may also be a “shared story” such that the shared collection is available for a specified period of time, which is enforced by the transient timer system 202 .
[0037] In addition, the collection management system 204 also includes a curation interface 208, which allows the collection manager to manage and curate specific content collections. For example, the curation interface 208 enables an event organizer to curate a content collection related to a specific event (e.g., to delete inappropriate content or redundant messages). In addition, the collection management system 204 uses machine vision (or image recognition technology) and content rules to automatically curate content collections. In some examples, compensation can be paid to users for including user-generated content in a collection. In such a case, the curation management system 204 operates to automatically pay such users for using their content.
[0038] The enhancement system 206 provides various functions that enable users to enhance (e.g., annotate or otherwise modify or edit) media content associated with a message. For example, the enhancement system 206 provides functions related to the media coverage of the message processed by the messaging system 100 and generates and publishes. The enhancement system 206 can operably supply media coverage or enhancement (e.g., image filters) to the messaging client 108 based on the geographic location of the client device 106. In another example, the enhancement system 206 can operably supply media coverage to the messaging client 108 based on other information such as social network information of the user of the client device 106. The media coverage can include audio and visual content and visual effects. Examples of audio and visual content include pictures, text, logos, animations, and sound effects. Examples of visual effects include color coverage. Audio and visual content or visual effects can be applied to media content items (e.g., photos) at the client device 106. For example, the media coverage can include text or images that can be covered on photos taken by the client device 106. In another example, the media overlay includes a location identification overlay (e.g., Venice Beach), a live event name, or a business name overlay (e.g., Beach Cafe). In another example, the enhancement system 206 uses the geolocation of the client device 106 to identify a media overlay that includes the name of the business at the geolocation of the client device 106. The media overlay may include other tags associated with the business. The media overlay may be stored in the database 122 and accessed by the database server 116. In one embodiment, the enhancement system 206 generates an invitation media overlay for a shared collection of media content items. The invitation overlay may include text that identifies the shared collection of media content items. The invitation overlay may also include an avatar associated with the user who created the shared collection. In some embodiments, the invitation overlay may also include an avatar associated with a user in a private group.
[0039] In some examples, the enhancement system 206 provides a user-based publishing platform that enables a user to select a geolocation on a map and upload content associated with the selected geolocation. The user can also specify an environment in which a particular media overlay should be provided to other users. The enhancement system 206 generates a media overlay including the uploaded content and associates the uploaded content with the selected geolocation.
[0040] In other examples, the enhancement system 206 provides a merchant-based publishing platform that enables merchants to select specific media coverage associated with a geographic location via a bidding process. For example, the enhancement system 206 associates the media coverage of the highest bidding merchant with the corresponding geographic location for a predefined amount of time.
[0041] The mapping system 210 provides various geolocation functions and supports the presentation of map-based media content and messages by the messaging client 108. For example, the mapping system 210 enables the display of user icons or avatars (e.g., stored in the profile data 316) on a map to indicate the current or past locations of the user's "friends" in the context of the map, as well as media content (e.g., a collection of messages including photos and videos) generated by such friends. For example, a message posted by a user to the messaging system 100 from a particular geolocation can be displayed to the particular user's "friends" at the particular location in the context of the map on the mapping interface of the messaging client 108. The user can also share his or her location and status information with other users of the messaging system 100 (e.g., using an appropriate status avatar) via the messaging client 108, where the location and status information is similarly displayed to selected users in the context of the mapping interface of the messaging client 108.
[0042] The gaming system 212 provides various gaming functions in the context of the messaging client 108. The messaging client 108 provides a gaming interface that provides a list of available games that can be launched by a user in the context of the messaging client 108 and played with other users of the messaging system 100. The messaging system 100 also enables a particular user to invite other users to participate in playing a particular game by sending an invitation to such other users from the messaging client 108. The messaging client 108 also supports both voice messaging and text messaging (e.g., chatting) in the context of playing games, provides leaderboards for games, and also supports providing in-game rewards (e.g., coins and items).
[0043] Data Architecture
[0044] Figure 3 is a schematic diagram illustrating a data structure 300 that may be stored in a database 122 of a messaging server system 104 according to some examples. Although the contents of the database 122 are illustrated as including several tables, it should be understood that the data may be stored in other types of data structures (e.g., as an object-oriented database).
[0045] Database 122 includes message data stored in message table 302. For any particular message, the message data includes at least message sender data, message recipient (or receiver) data, and payload. Figure 4 Additional details regarding information that may be included in a message and included in the message data stored in message table 302 are described.
[0046] The entity table 306 stores entity data and is linked (e.g., by reference) to the entity graph 308 and profile data 316. Entities for which records are maintained within the entity table 306 may include individuals, corporate entities, organizations, objects, places, events, etc. Regardless of the entity type, any entity about which the messaging server system 104 stores data may be an identified entity. Each entity is provided with a unique identifier as well as an entity type identifier (not shown).
[0047] The entity graph 308 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.
[0048] Profile data 316 stores multiple types of profile data about a particular entity. Based on the privacy settings specified by the particular entity, profile data 316 can be selectively used and presented to other users of the messaging system 100. In the case where the entity is a person, profile data 316 includes, for example, a user name, phone number, address, settings (e.g., notification and privacy settings), and an avatar representation (or a collection of such avatar representations) selected by the user. A particular user can then selectively include one or more of these avatar representations in the content of messages transmitted via the messaging system 100 and on a map interface displayed to other users by the messaging client 108. The collection of avatar representations can include a "status avatar" that presents a graphical representation of a status or activity that a user may choose to convey at a particular time.
[0049] Where the entity is a group, the profile data 316 for the group may similarly include one or more avatar representations associated with the group, in addition to the group name, members, and various settings related to the group (eg, notifications).
[0050] Database 122 also stores enhancement data, such as overlays or filters, in enhancement table 310. Enhancement data is associated with and applied to videos (video data is stored in video table 304) and images (image data is stored in image table 312).
[0051] In one example, a filter is an overlay that is displayed as an overlay on an image or video during presentation to a receiving user. The filter can be of various types, including a filter selected by the user from a set of filters presented to the sending user by the messaging client 108 when the sending user is composing a message. The user-selected filter can include an invitation media overlay associated with a shared collection of media content items.
[0052] Other types of filters include geolocation filters (also referred to as geofilters), which can be presented to a sending user based on geolocation. For example, geolocation filters specific to a nearby or particular location can be presented within a user interface by messaging client 108 based on geolocation information determined by a global positioning system (GPS) unit of client device 106.
[0053] Another type of filter is a data filter, which can be selectively presented to the sending user by the messaging client 108 based on other input or information collected by the client device 106 during the message creation process. Examples of data filters include the current temperature at a particular location, the current speed at which the sending user is traveling, the battery life of the client device 106, or the current time.
[0054] Other augmented data that can be stored in the image table 312 include augmented reality content items (eg, corresponding to application lenses or augmented reality experiences). Augmented reality content items can be real-time special effects and sounds that can be added to images or videos.
[0055] As described above, augmented data includes augmented reality content items, overlays, image transformations, AR images, and similar items that refer to modifications that can be applied to image data (e.g., videos or images). This includes real-time modifications that modify the image when it is captured using a device sensor (e.g., one or more cameras) of the client device 106 and then displayed on the screen of the client device 106 with modifications. This also includes modifications to stored content (e.g., video clips in a gallery that can be modified). For example, in a client device 106 with access rights to multiple augmented reality content items, a user can use a single video clip with multiple augmented reality content items to see how different augmented reality content items will modify the stored clips. For example, by selecting different augmented reality content items for the same content, multiple augmented reality content items that apply different pseudo-random motion models can be applied to the same content. Similarly, real-time video capture can be used with the modifications shown to show how the video image currently captured by the sensor of the client device 106 will modify the captured data. Such data may simply be displayed on the screen without being stored in memory, or content captured by the device sensors may be recorded and stored in memory with or without modification (or both). In some systems, a preview feature may show how different augmented reality content items will look in different windows in the display simultaneously. For example, this may enable viewing multiple windows with different pseudo-random animations on the display simultaneously.
[0056] Thus, data and various systems using augmented reality content items or other such transformation systems using such data to modify content may involve detection of objects (e.g., faces, hands, bodies, cats, dogs, surfaces, objects, etc.), tracking of such objects as they leave, enter, and move around the field of view in a video frame, and modification or transformation of such objects as they are tracked. In various embodiments, different methods for implementing such transformations may be used. Some examples may involve generating a three-dimensional mesh model of one or more objects and using transformations of the model and animated textures within a video to implement the transformations. In other examples, tracking of points on an object may be used to place an image or texture (which may be two-dimensional or three-dimensional) at the tracked location. In further examples, neural network analysis of a video frame may be used to place an image, model, or texture in content (e.g., an image or frame of a video). Thus, an augmented reality content item refers to both images, models, and textures used to create transformations in the content, and additional modeling and analysis information required to implement such transformations using object detection, tracking, and placement.
[0057] Real-time video processing can be performed using any kind of video data (e.g., video streams, video files, etc.) stored in the memory of any kind of computerized system. For example, a user can load a video file and save it in the memory of the device, or a video stream can be generated using the device's sensors. In addition, any object, such as human faces and parts of the human body, animals, or non-living things (e.g., chairs, cars, or other objects) can be processed using computer animation models.
[0058] In some examples, when a specific modification is selected together with the content to be transformed, the element to be transformed is identified by the computing device, and then if the element to be transformed is present in the frame of the video, the element to be transformed is detected and tracked. The elements of the object are modified according to the modification request, thereby transforming the frame of the video stream. For different kinds of transformations, the transformation of the frame of the video stream can be performed by different methods. For example, for a frame transformation that mainly refers to a variation of the elements of the object, the feature points of each element of the object are calculated (for example, using an active shape model (ASM) or other known methods). Then, a grid based on the feature points is generated for each of at least one element of the object. The grid is used for the subsequent stage of tracking the elements of the object in the video stream. During the tracking process, the mentioned grid of each element is aligned with the position of each element. Then, additional points are generated on the grid. A first group of first points is generated for each element based on the modification request, and a group of second points is generated for each element based on the group of first points and the modification request. Then, the frame of the video stream can be transformed by modifying the elements of the object based on the group of first points and the group of second points and the grid. In such a method, the background of the modified object can also be changed or distorted by tracking and modifying the background.
[0059] In some examples, a transformation that changes some areas of an object using the elements of an object can be performed by calculating feature points of each element of the object and generating a grid based on the calculated feature points. Points are generated on the grid, and then various areas based on these points are generated. Then, the elements of the object are tracked by aligning the area of each element with the position of each of at least one element, and the properties of the area can be modified based on the modification request, thereby transforming the frame of the video stream. Depending on the specific modification request, the properties of the mentioned area can be transformed in different ways. Such modifications may involve: changing the color of the area; removing at least part of the area from the frame of the video stream; including one or more new objects in the area based on the modification request; and modifying or distorting the elements of the area or object. In various embodiments, any combination of such modifications or other similar modifications may be used. For certain models to be animated, some feature points can be selected as control points for determining the entire state space of options for model animation.
[0060] In some examples of computer animation models that use face detection to transform image data, faces are detected on an image using a specific face detection algorithm (e.g., Viola-Jones). An active shape model (ASM) algorithm is then applied to the face region of the image to detect facial feature reference points.
[0061] In other examples, other methods and algorithms suitable for face detection can be used. For example, in some embodiments, landmarks are used to locate features, which represent distinguishable points that are present in most of the images considered. For example, for facial landmarks, the location of the left eye pupil can be used. If the initial landmarks are not recognizable (for example, if the person has an eye patch), secondary landmarks can be used. Such a landmark identification process can be used for any such object. In some examples, a set of landmarks forms a shape. The shape can be represented as a vector using the coordinates of the points in the shape. One shape is aligned with another shape using a similarity transformation (allowing translation, scaling, and rotation) that minimizes the average Euclidean distance between the shape points. The average shape is the average of the aligned training shapes.
[0062] In some examples, a landmark search begins with an average shape aligned with the location and size of a face determined by a global face detector. Such a search then repeats the steps of suggesting tentative shapes by adjusting the positioning of shape points through template matching of the image texture around each point, and then fitting the tentative shapes to a global shape model until convergence occurs. In some systems, individual template matches are unreliable, and the shape model pools the results of weak template matches to form a stronger overall classifier. The entire search is repeated at each level of the image pyramid, from coarse to fine resolution.
[0063] The transformation system can capture an image or video stream on a client device (e.g., client device 106) and perform complex image manipulations locally on the client device 106 while maintaining an appropriate user experience, computational time, and power consumption. Complex image manipulations can include size and shape changes, emotion transfer (e.g., changing a face from a frown to a smile), state transfer (e.g., aging a subject, reducing apparent age, changing gender), style transfer, application of graphical elements, and any other suitable image or video manipulations enabled by a convolutional neural network that has been configured to execute efficiently on the client device 106.
[0064] In some examples, a computer animation model for transforming image data can be used by a system in which a user can capture an image or video stream of the user (e.g., a selfie) using a client device 106 having a neural network operating as part of a messaging client application 104 operating on the client device 106. A transformation system operating within the messaging client 108 determines the presence of a face within the image or video stream and provides a modification icon associated with the computer animation model to transform the image data, or the computer animation model can be presented as associated with an interface described herein. The modification icon includes the following changes, which can be the basis for modifying the face of the user within the image or video stream as part of the modification operation. Once the modification icon is selected, the transformation system initiates a process of transforming the image of the user to reflect the selected modification icon (e.g., generating a smiley face on the user). Once the image or video stream is captured and the specified modification is selected, the modified image or video stream can be presented in a graphical user interface displayed on the client device 106. The transformation system can implement a complex convolutional neural network on a portion of the image or video stream to generate and apply the selected modification. That is, once a modification icon is selected, the user can capture an image or video stream and be presented with the results of the modification in real time or near real time. Furthermore, while the video stream is being captured, the modification can be persistent and the selected modification icon remains toggled. Machine-taught neural networks can be used to implement such modifications.
[0065] The graphical user interface presenting the modifications performed by the transformation system can supply additional interactive options for the user. Such options can be based on an interface for initiating content capture and selection of a specific computer animation model (e.g., initiated from a content creator user interface). In various embodiments, the modification can be persistent after the initial selection of the modification icon. The user can turn on or off the modification by tapping or otherwise selecting the face modified by the transformation system, and store it for later viewing or browsing to other areas of the imaging application. In the case of multiple faces modified by the transformation system, the user can globally turn on or off the modification by tapping or selecting a single face modified and displayed in the graphical user interface. In some embodiments, each face in a group of multiple faces can be modified individually, or such modifications can be switched individually by tapping or selecting each face or a series of each face displayed in the graphical user interface.
[0066] The story table 314 stores data about a collection of messages and associated image, 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 whose record is maintained in the entity table 306). 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 user interface of the messaging client 108 may include a user-selectable icon to enable the sending user to add specific content to his or her personal story.
[0067] A collection may also constitute a "live story" that 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 different locations and events. Users whose client devices have location services enabled and who are at a public location event at a particular time may be presented with an option, for example, via a user interface of the messaging client 108, to contribute content to a particular live story. Live stories may be identified to a user by the messaging client 108 based on his or her location. The end result is a "live story" told from a community perspective.
[0068] Another type of content collection is called a "location story" that enables users whose client devices 106 are located within a specific geographic location (e.g., on a college or university campus) to contribute to a specific collection. In some embodiments, contributions to location stories may require a second degree of authentication to verify that the end user belongs to a specific organization or other entity (e.g., is a student on a university campus).
[0069] As mentioned above, the video table 304 stores video data, which in one example is associated with a message whose record is maintained within the message table 302. Similarly, the image table 312 stores image data associated with a message whose message data is stored in the entity table 306. The entity table 306 may associate various enhancements from the enhancement table 310 with the various images and videos stored in the image table 312 and the video table 304.
[0070] Data communication architecture
[0071] Figure 4is a schematic diagram illustrating the structure of a message 400 according to some examples, the message being generated by a messaging client 108 for transmission to another messaging client 108 or a messaging server 114. The content of a particular message 400 is used to populate a message table 302 stored in a database 122, which is accessible by a messaging server 114. Similarly, the content of the message 400 is stored in memory as "in-flight" or "in-flight" data of a client device 106 or application server 110. The message 400 is shown to include the following example components:
[0072] Message identifier 402 : a unique identifier that identifies the message 400 .
[0073] Message text payload 404 : Text to be generated by a user via the user interface of the client device 106 and included in the message 400 .
[0074] Message image payload 406 : Image data captured by a camera component of the client device 106 or retrieved from a memory component of the client device 106 and included in the message 400 . The image data for a sent or received message 400 may be stored in the image table 312 .
[0075] Message video payload 408 : Video data captured by the camera component or retrieved from the memory component of the client device 106 and included in the message 400 . The video data for a message 400 sent or received may be stored in the video table 304 .
[0076] Message audio payload 410 : audio data captured by a microphone or retrieved from a memory component of the client device 106 and included in the message 400 .
[0077] Message enhancement data 412: Enhancement data (e.g., filters, stickers, or other annotations or enhancements) representing enhancements to be applied to the message image payload 406, message video payload 408, or message audio payload 410 of the message 400. The enhancement data for a sent or received message 400 may be stored in the enhancement table 310.
[0078] Message duration parameter 414: A parameter value indicating the amount of time in seconds that the content of a message (eg, message image payload 406, message video payload 408, message audio payload 410) is to be presented to or accessible by a user via the messaging client 108.
[0079] Message geolocation parameters 416: Geolocation data (e.g., latitude and longitude coordinates) associated with the content payload of the message. Multiple message geolocation parameter 416 values may be included in the payload, with each of these parameter values being associated with a content item included in the content (e.g., a specific image in a message image payload 406, or a specific video in a message video payload 408).
[0080] Message story identifier 418: An identifier value that identifies one or more content collections (e.g., "stories" identified in story table 314) with which a particular content item in message image payload 406 of message 400 is associated. For example, multiple images within message image payload 406 may each be associated with multiple content collections using an identifier value.
[0081] Message tags 420: Each message 400 may be tagged with a plurality of tags, each of such plurality of tags indicating the subject of the content included in the message payload. For example, where a particular image included in the message image payload 406 depicts an animal (e.g., a lion), a tag value may be included within the message tags 420 indicating the relevant animal. The tag values may be manually generated based on user input, or may be automatically generated using, for example, image recognition.
[0082] • Message sender identifier 422: An identifier (eg, a messaging system identifier, an email address, or a device identifier) that indicates the user of the client device 106 on which the message 400 was generated and from which the message 400 was sent.
[0083] • Message recipient identifier 424: An identifier (eg, a messaging system identifier, an email address, or a device identifier) that indicates the user of the client device 106 to which the message 400 is addressed.
[0084] The content (e.g., value) of each component of message 400 may be a pointer to a location in a table where the content data value is stored. For example, the image value in message image payload 406 may be a pointer to a location within image table 312 (or the address of a location within image table). Similarly, the value within message video payload 408 may point to data stored within video table 304, the value stored within message enhancement 412 may point to data stored in enhancement table 310, the value stored within message story identifier 418 may point to data stored in story table 314, and the values stored within message sender identifier 422 and message recipient identifier 424 may point to user records stored within entity table 306.
[0085] Contextual Application Menu
[0086] like Figure 2 As shown, the gaming system 212 provides various gaming functions in the context of the messaging client 108. Games that can be launched by a user in the context of the messaging client 108 can include smaller applications (e.g., "mini-applications") that are sub-applications of a larger main application that provide utility to the larger user base of the main application. The mini-applications can be designed to fit the platform provided by the messaging system 100 and take advantage of features of the messaging system 100 including the user and the user's friend list in the social graph, etc.
[0087] The mini-app may be a Hypertext Markup Language Version 5 (HTML5) web application, which is a game or other program that can be executed within the messaging system 100. The gaming system 212 or a processor in the client device 106 or a processor in the application server 110 may cause an interface to be displayed by the client device 106, either alone or in combination. Figure 5 An interface 500 is shown according to one embodiment.
[0088] The user of the client device 106 can launch the mini-application by selecting a selectable item (e.g., an icon, text, or image) associated with the mini-application. The gaming system 212 can generate a list of selectable items each associated with a list of available mini-applications that can be executed by the client device 106 within the messaging system 100. Figure 5 As shown, in response to a user of the client device 106 selecting a selectable item associated with a micro-application, the gaming system 212 causes the client device 106 to display an interface 500. The interface 500 includes a first portion 502 and a second portion 504 of the display screen in an inactive position. Figure 5 As shown, the first portion 502 of the display screen is the top portion of the display screen, and the second portion 504 of the display screen is the bottom portion of the display screen. The first portion 502 of the display screen in the inactive position is larger in size than the second portion 504 of the display screen in the inactive position.
[0089] The first portion 502 includes an application interface 506 associated with a mini-application selected and activated by a user. The second portion 504 includes an action bar 516 associated with the gaming system 212 of the messaging system 100. The action bar 516 may be native to the gaming system 212 such that the action bar is always present when any mini-application is selected and displayed in the first portion 502. The appearance and functionality of the action bar 516 may differ based on the context or state of the client device 106 or the user of the client device 106.
[0090] The action bar 516 may include a selectable item 508, which may be selected to exit from the mini-application. By activating the selectable item 508, the client device 106 returns the user to the interface from which the user launched the mini-application. For example, if the user selects an icon associated with the mini-application from a communication interface for a communication session between multiple users of the messaging system 100, when the user selects the selectable item 508, the client device 106 is caused to display the communication interface. Alternatively, if the user selects an icon associated with the mini-application from a mini-application search interface or a media content item viewing interface (e.g., when viewing a received media content item), the client device 106 is caused to display the mini-application search interface or the media content item viewing interface, respectively.
[0091] The action bar 516 may also include a text input element 510 that may receive user-entered text to be shared in a communication interface for a communication session between a user of the client device 106 and other users in the messaging system 100 .
[0092] The microphone icon 512 in the action bar 516, when activated, can cause the microphone of the client device 106 to begin recording acoustic signals. Specifically, the microphone icon 512 can be activated to record the voice of the user of the client device 106 to allow the user to send a voice message to the user in the communication session. The voice recording can be displayed as an optional item in the communication interface and played back by other users who receive the voice recording on their client devices. Alternatively, a voice communication connection between users in the communication session can be established, which allows the user to communicate via audio when the microphone icon 512 is activated.
[0093] like Figure 5 As shown, the action bar 516 may also include a settings selectable item 514 associated with a settings menu. When the settings selectable item 514 is activated by a user of the client device 106, the gaming system 212 receives a request to display the settings menu. The gaming system 212 generates the settings menu based on the context of the client device 106.
[0094] The context may include information about the micro-application currently running in the application interface 506. For example, the information about the micro-application may include the identification of the micro-application (e.g., name, icon, image, etc.), the application type of the micro-application (e.g., single player, multi-player, etc.), or the subject associated with the micro-application (e.g., categories such as meditation and health, fitness, food, culture, fashion, etc.). The context may also include information about the user of the client device 106, such as user activity information about the micro-application or user selection information about the micro-application, user game score information about the micro-application, and user ranking information about the micro-application. The context may also include a user list associated with a user on the micro-application, or a user list associated with a user on the messaging system 100.
[0095] When the user activates the setting selectable item 514, the gaming system 212 also causes the first portion 502 and the second portion 504 to be displayed in the activated position. Figure 6 An interface 600 is shown with a first portion and a second portion of a display screen in an activated position according to one embodiment.
[0096] As shown in interface 600, first portion 502 is collapsed, while second portion 504 is expanded and includes a settings menu generated based on the context of client device 106. Figure 6 In the example, the gaming system 212 places the first portion 502 and the second portion 504 in an activated position, including retracting the first portion 502 of the display screen upward by a predetermined distance. Figure 6 In the first part 502, the application interface 506 is pushed upward. Figure 5 The top of the application interface 506 is shown in Figure 6 The game system 212 also enables Figure 6 The second portion 504 of the display screen extends upward by a predetermined distance vacated by the first portion 502. In some implementations, the settings menu is displayed on the client device 106 so that it appears as if it exists behind the application interface 506. For example, when the application interface 506 is pushed upward, the second portion 504 expands in a manner that exposes the settings menu from behind the application interface 506. In this implementation, the settings menu (or other user interface menu) in the second portion 504 is controlled by the platform's gaming system 212 and is displayed below the content in the first portion 502.
[0097] The settings menu is contextual because the settings menu can include the name of the mini-application currently displayed in the application interface 506 (e.g., the top space in the interface 600) and the settings associated with the mini-application. These settings can include preferences associated with the mini-application. For example, the interface 600 includes selectable items (e.g., selectable items 608) associated with setting preferences or control of options, including activating or deactivating sound in the mini-application, customer support for the mini-application, and providing feedback for the mini-application. The selectable items 608 associated with the preferences can depend on the mini-application displayed in the application interface 506. For example, other mini-applications can provide users with control of different preferences (e.g., mini-application display settings (e.g., color, background, font size, font, etc.), options to hide mini-application scores from friends, etc.).
[0098] The settings menu can also be contextual in that it can include multiple selectable items (e.g., user selectable items 604) associated with each user in a list of users associated with the user on the mini-app. The user selectable items 604 can be associated with a group of users or a single user associated with the user on the mini-app. For example, the users associated with the user on the mini-app can be other users who are also running the mini-app on their client devices. For example, if the mini-app is a multi-player game, the users associated with the user on the mini-app are other users who play the multi-player game with the user. Figure 6 , the user may select user selectable item 604 to communicate with various users (e.g., the design team) to send them media content items related to the micro-application, or request the messaging system 100 to cause notifications to appear on the client devices of various users (e.g., to call the users in the design team). In another embodiment, the users associated with the users on the micro-application may also be users who are running the micro-application on their client devices but are not yet communicatively coupled to the user of the client device 106 via the micro-application. For example, the users in the design team are using the headspace micro-application and are associated with the user of the client device 106 via the messaging system 100, but not specifically via the headspace micro-application. In this embodiment, the user of the client device 106 may select user selectable item 604 to invite the users in the design team to play or use the headspace micro-application with the user of the client device 106. Although not shown, the user may select user selectable item 604 labeled "Add Friend" to invite more users to play or use the micro-application.
[0099] The settings menu may also include a selectable item 606 that allows the user to view more settings menus when activated by the user. When selectable item 606 is activated, the gaming system 212 receives a request to display additional information included in the settings menu and further expands or becomes larger the second portion 504.
[0100] The gaming system 212 can also make the second portion 504 a scrollable interface when the selectable item 606 is activated, or when the user provides input on the display device (e.g., a scroll input on the second portion 504). A scrollable interface is an interface that a user can navigate through using user input (e.g., including up-down, side-to-side scrolling motions on the display screen) to view portions of the interface that are not visible on the display screen.
[0101] In one embodiment, the game system 212 generates a settings menu based on the context of the client device 106, including: identifying a mini-application displayed in the application interface 506, determining settings associated with the mini-application, and establishing a configuration of the settings menu. The configuration of the settings menu may include the height of the settings menu and whether the settings menu is fixed or scrollable. The height of the settings menu can then be used to determine the predetermined distance of the contraction of the first portion 502 and the expansion of the second portion 504.
[0102] The settings menu may also include an item 602 associated with a request to return to the interface 500 (e.g., "return to the top space"). Item 602 is generated based on the context of the client device 106, as it may indicate the identity of the mini-application currently in the application interface 506. When the user activates item 602 on his client device 106, the gaming system 212 receives the request to return to the mini-application. Figure 5 502 and 504 of the display screen are displayed by the client device 106. Figure 5 Inactive positions in .
[0103] Although not shown, the user can select and drag down Figure 6 In the request for the selection and drag input, the gaming system 212 may cause the client device 106 to Figure 6 The first portion 502 in FIG. 1 is shown extending downwardly to expose the Figure 6 506. Simultaneously and proportionally with the expansion of the first portion 502, the gaming system 212 may cause the client device 106 to Figure 6The second portion 504 in the display is shown to be contracted downward to make the settings menu disappear from view and return to Figure 5 Action bar 516 in .
[0104] Processing of generating context application menu
[0105] Although the described flow charts may show the operations as sequential processing, many operations may be performed in parallel or simultaneously. In addition, the order of the operations may be rearranged. When the operations of the processing are completed, the processing terminates. The processing may correspond to a method, a process, an algorithm, etc. The operations of the method may be performed in whole or in part, may be performed in combination with some or all of the operations in other methods, and may be performed by any number of different systems (e.g., the systems described herein) or any part thereof (e.g., a processor included in any system).
[0106] Figure 7 A process 700 for generating a contextual application menu according to one embodiment is shown. At operation 702, the processor causes the display screen of the client device 106 to display the first portion 502 of the display screen and the second portion 504 of the display screen in an inactive position. The processor may cause the first portion to display an application interface 506 associated with the application, and cause the second portion 504 to display an action bar 516 associated with the messaging system 100. At operation 704, the processor receives a selection of a setting selectable item 514 in the action bar 516 from a user of the client device 106. At operation 706, in response to receiving the selection of the setting selectable item 514, the processor generates a settings menu based on the context of the client device 106. At operation 708, the processor causes the first portion 502 and the second portion 504 of the display screen to be displayed in an activated position. In one embodiment, the processor may cause the first portion 502 of the display screen to shrink, and cause the second portion 504 of the display screen to expand and include a settings menu.
[0107] Machine Architecture
[0108] Figure 8800 in which instructions 810 (e.g., software, programs, applications, applet, app, or other executable code) may be executed to cause the machine 800 to perform any one or more of the methods discussed herein. For example, the instructions 810 may cause the machine 800 to perform any one or more of the methods described herein. The instructions 810 convert a general-purpose, non-programmed machine 800 into a specific machine 800 that is programmed to perform the functions described and shown in the described manner. The machine 800 may operate as a standalone device or may be coupled (e.g., networked) to other machines. In a networked deployment, the machine 800 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 800 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 personal digital assistant (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 appliance), other smart devices, a network device, a network router, a network switch, a network bridge, or any machine capable of sequentially or otherwise executing instructions 810 specifying actions to be taken by the machine 800. In addition, although only a single machine 800 is shown, the term "machine" should also be taken to include a collection of machines that individually or jointly execute instructions 810 to perform any one or more of the methods discussed herein. For example, the machine 800 may include any of the client devices 106 or a number of server devices that form part of the messaging server system 104. In some examples, the machine 800 may also include both a client system and a server system, wherein certain operations of a particular method or algorithm are performed on the server side, and wherein certain operations of a particular method or algorithm are performed on the client side.
[0109] The machine 800 may include a processor 804, a memory 806, and input / output I / O components 638 that may be configured to communicate with each other via a bus 840. In an example, the processor 804 (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 application specific integrated circuit (ASIC), a radio frequency integrated circuit (RFIC), another processor, or any suitable combination thereof) may include, for example, a processor 808 and a processor 812 that execute instructions 810. The term "processor" is intended to include a multi-core processor that may include two or more independent processors (sometimes referred to as "cores") that may execute instructions simultaneously. Although Figure 8 Multiple processors 804 are shown, but the machine 800 may include a single processor with a single core, a single processor with multiple cores (e.g., a multi-core processor), multiple processors with a single core, multiple processors with multiple cores, or any combination thereof.
[0110] The memory 806 includes a main memory 814, a static memory 816, and a storage unit 818, which are all accessible by the processor 804 via the bus 840. The main memory 806, the static memory 816, and the storage unit 818 store instructions 810 that implement any one or more of the methods or functions described herein. The instructions 810 may also reside, completely or partially, within the main memory 814, within the static memory 816, within the machine-readable medium 820 within the storage unit 818, within at least one of the processors 804 (e.g., within a cache memory of a processor), or within any suitable combination thereof during execution thereof by the machine 800.
[0111] The I / O components 802 may include various components for receiving input, providing output, generating output, transmitting information, exchanging information, capturing measurements, etc. The specific I / O components 802 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 should be appreciated that the I / O components 802 may include Figure 8 820 , and the like. In various examples, the I / O components 802 may include a user output component 826 and a user input component 828. The user output component 826 may include a visual component (e.g., a display such as a plasma display panel (PDP), a light emitting diode (LED) display, a liquid crystal display (LCD), a projector, or a cathode ray tube (CRT)), an acoustic component (e.g., a speaker), a tactile component (e.g., a vibration motor, a resistance mechanism), other signal generators, etc. The user input component 828 may include an alphanumeric input component (e.g., a keyboard, a touch screen configured to receive alphanumeric input, an optical keyboard, or other alphanumeric input component), a point-based input component (e.g., a mouse, a touch pad, a trackball, a joystick, a motion sensor, or another pointing instrument), a tactile input component (e.g., a physical button, a touch screen or other tactile input component that provides positioning and / or force of a touch or touch gesture), an audio input component (e.g., a microphone), etc.
[0112] In another example, the I / O component 802 may include: a biometric component 830, a motion component 832, an environment component 834, or a position component 836, as well as a variety of other components. For example, the biometric component 830 includes components for detecting expressions (e.g., hand expressions, facial expressions, voice expressions, body gestures, 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 832 includes an acceleration sensor component (e.g., an accelerometer), a gravity sensor component, and a rotation sensor component (e.g., a gyroscope).
[0113] Environmental components 834 include, for example, one or more cameras (with still image / photo and video capabilities), an illumination sensor component (e.g., a photometer), a temperature sensor component (e.g., one or more thermometers that detect ambient temperature), a humidity sensor component, a pressure sensor component (e.g., a barometer), an acoustic sensor component (e.g., one or more microphones that detect background noise), a proximity sensor component (e.g., an infrared sensor that detects nearby objects), a gas sensor (e.g., a gas detection sensor that detects concentrations of hazardous gases for safety or measures pollutants in the atmosphere), or other components that can provide indications, measurements, or signals corresponding to the surrounding physical environment.
[0114] With respect to cameras, client device 106 may have a camera system including, for example, a front-facing camera on a front surface of client device 106 and a rear-facing camera on a rear surface of client device 106. The front-facing camera may, for example, be used to capture still images and videos of a user of client device 106 (e.g., a "selfie"), which may then be enhanced with the enhancement data (e.g., filters) described above. For example, the rear-facing camera may be used to capture still images and videos in a more conventional camera mode, which images are similarly enhanced with the enhancement data. In addition to the front-facing camera and the rear-facing camera, client device 106 may also include a 360° camera for capturing 360° photos and videos.
[0115] Additionally, the camera system of the client device 106 may include dual rear cameras (e.g., a main camera and a depth sensing camera), or even triple, quad, or quintuple rear camera configurations on the front and back sides of the client device 106. For example, these multi-camera systems may include a wide-angle camera, an ultra-wide-angle camera, a telephoto camera, a macro camera, and a depth sensor.
[0116] The location component 836 includes a positioning sensor component (e.g., a GPS receiver component), an altitude sensor component (e.g., an altimeter or barometer that detects air pressure, from which the altitude can be obtained), an orientation sensor component (e.g., a magnetometer), and the like.
[0117] Various technologies may be used to achieve communication. The I / O component 802 also includes a communication component 838 that is operable to couple the machine 800 to the network 822 or device 824 via a corresponding coupling or connection. For example, the communication component 838 may include a network interface component or other suitable device that interfaces with the network 822. In other examples, the communication component 838 may include a wired communication component, a wireless communication component, a cellular communication component, a near field communication (NFC) component, Parts (e.g. Low power consumption), Device 824 may be another machine or any of a variety of peripherals (eg, a peripheral coupled via USB).
[0118] In addition, the communication component 838 can detect the identifier, or include a component that is operable to detect the identifier. For example, the communication component 838 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 one-dimensional bar codes such as Universal Product Code (UPC) bar codes, multi-dimensional bar codes such as Quick Response (QR) codes, Aztec codes, Data Matrix, Dataglyph, MaxiCode, PDF417, Ultra Code, UCC RSS-2D bar codes, and other optical codes) or an acoustic detection component (e.g., a microphone for identifying tagged audio signals). In addition, various information can be obtained via the communication component 838, such as positioning via Internet Protocol (IP) geolocation, location information ... Positioning by signal triangulation, positioning via detection of NFC beacon signals, etc., which may indicate a specific position.
[0119] Various memories (e.g., main memory 814, static memory 816, and memory of processor 804) and storage unit 818 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. When executed by processor 804, these instructions (e.g., instructions 810) cause various operations to implement the disclosed examples.
[0120] The instructions 810 may be sent or received via a network interface device (e.g., a network interface component included in the communication component 838) using a transmission medium and using any of a number of well-known transmission protocols (e.g., the Hypertext Transfer Protocol (HTTP)) over the network 822. Similarly, the instructions 810 may be sent or received via a coupling (e.g., a peer-to-peer coupling) with the device 824 using a transmission medium.
[0121] Software Architecture
[0122] Fig. 9 900 is a block diagram illustrating a software architecture 904 that may be installed on any one or more of the devices described herein. The software architecture 904 is supported by hardware such as a machine 902 including a processor 920, a memory 926, and an I / O component 938. In this example, the software architecture 904 may be conceptualized as a stack of layers, where each layer provides specific functionality. The software architecture 904 includes layers such as an operating system 912, a library 910, a framework 908, and an application 906. In operation, the application 906 invokes an API call 950 through the software stack and receives a message 952 in response to the API call 950.
[0123] The operating system 912 manages hardware resources and provides public services. The operating system 912 includes, for example, a kernel 914, services 916, and drivers 922. The kernel 914 acts as an abstraction layer between the hardware layer and other software layers. For example, the kernel 914 provides memory management, processor management (e.g., scheduling), component management, networking and security settings, and other functions. Services 916 can provide other public services for other software layers. Drivers 922 are responsible for controlling or interfacing with the underlying hardware. For example, drivers 922 may include display drivers, camera drivers, or Low-power drivers, Flash drivers, Serial communication drivers (e.g., USB drivers), Drivers, audio drivers, power management drivers, etc.
[0124] The library 910 provides a common low-level infrastructure used by the application 906. The library 910 may include a system library 918 (e.g., a C standard library) that provides functions such as memory allocation functions, string manipulation functions, mathematical functions, etc. In addition, the library 910 may include an API library 924, 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 graphical 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 910 may also include various other libraries 928 to provide many other APIs to the application 906.
[0125] The framework 908 provides a common high-level infrastructure used by the applications 906. For example, the framework 908 provides various graphical user interface (GUI) functions, high-level resource management, and high-level positioning services. The framework 908 can provide a wide range of other APIs that can be used by the applications 906, some of which can be specific to a particular operating system or platform.
[0126] In an example, applications 906 may include a home application 936, a contacts application 930, a browser application 932, a book reader application 934, a positioning application 942, a media application 944, a messaging application 946, a game application 948, and a variety of other applications such as third-party applications 940. Application 906 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 906 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 940 (e.g., provided 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 940 can trigger API calls 950 provided by the operating system 912 to facilitate the functions described herein.
[0127] Regarding the implementation methods including the above embodiments, the following technical solutions are also disclosed:
[0128] Solution 1. A method comprising:
[0129] The processor causes the display screen of the client device to display the first portion of the display screen and the second portion of the display screen in an inactive position by:
[0130] causing the first portion to display an application interface associated with the application, and
[0131] causing the second portion to display an action bar associated with a messaging system;
[0132] receiving a selection of a settings selectable item in the action bar from a user of the client device;
[0133] In response to receiving a selection of the setting selectable item, generating a settings menu based on the context of the client device;
[0134] The first and second parts of the display screen are displayed in an activated position by:
[0135] causing the first portion of the display screen to collapse, and
[0136] A second portion of the display screen is caused to expand to include the settings menu.
[0137] Option 2. A method according to Option 1, wherein the context includes information about the application, information about the user, a list of users associated with the user on the application, or a list of users associated with the user on the messaging system.
[0138] Option 3. The method according to Option 2, wherein the settings menu includes a plurality of selectable items associated with each of the users in the user list associated with users on the application.
[0139] Option 4. A method according to Option 2, wherein the settings menu includes preferences associated with the application.
[0140] Solution 5. The method according to Solution 2 further includes:
[0141] An input from the user associated with a request to display additional information included in the setting menu is detected.
[0142] Solution 6. The method according to Solution 5 further includes:
[0143] A second portion of the display screen is scrolled to display the additional information, wherein the input from the user is a scrolling motion.
[0144] Solution 7. The method according to Solution 5 further includes:
[0145] A second portion of the display screen is caused to expand to display the additional information, wherein the input from the user is a selection of a selectable item in the settings menu.
[0146] Option 8. A method according to Option 1, wherein the first portion of the display screen in the inactivated position is larger in size than the second portion of the display screen in the inactivated position.
[0147] Option 9. A method according to Option 1, wherein the first portion of the display screen is a top portion of the display screen, and the second portion of the display screen is a bottom portion of the display screen.
[0148] Solution 10. The method according to Solution 10, wherein causing the first portion and the second portion of the display screen to be in the activated position further comprises:
[0149] causing a first portion of the display screen to shrink upward by a predetermined distance, wherein the application interface displayed in the first portion is pushed upward, and
[0150] The second portion of the display screen is extended upward by the predetermined distance.
[0151] Solution 11. The method according to Solution 1, further comprising:
[0152] receiving input from the user corresponding to a request to return to the inactivated location; and
[0153] The first portion and the second portion of the display screen are caused to be displayed by the client device in the inactivated position.
[0154] Option 12. A method according to Option 11, wherein the input corresponding to the request to return to the unactivated position is a selection of an optional item associated with the request, wherein the optional item associated with the request is included in a second portion of the display screen.
[0155] Option 13. A method according to Option 11, wherein the input corresponding to the request to return to the unactivated position is a selection and downward drag of the first portion of the display screen.
[0156] Embodiment 14. A non-transitory computer-readable storage medium having stored thereon instructions, the instructions, when executed by a processor, causing the processor to perform operations comprising:
[0157] The display screen of the client device is caused to display the first portion of the display screen and the second portion of the display screen in the inactive position by:
[0158] causing the first portion to display an application interface associated with the application, and
[0159] causing the second portion to display an action bar associated with a messaging system;
[0160] receiving a selection of a settings selectable item in the action bar from a user of the client device;
[0161] In response to receiving a selection of the setting selectable item, generating a settings menu based on the context of the client device;
[0162] The first and second parts of the display screen are displayed in an activated position by:
[0163] causing the first portion of the display screen to collapse, and
[0164] A second portion of the display screen is caused to expand to include the settings menu.
[0165] Option 15. A non-transitory computer-readable storage medium according to Option 14, wherein the context includes information about the application, information about the user, a list of users associated with the user on the application, or a list of users associated with the user on the messaging system.
[0166] Option 16. A non-transitory computer-readable storage medium according to Option 14, wherein the first portion of the display screen in the unactivated position is larger in size than the second portion of the display screen in the unactivated position.
[0167] Option 17. A non-transitory computer-readable storage medium according to Option 14, wherein the first portion of the display screen is a top portion of the display screen, and the second portion of the display screen is a bottom portion of the display screen.
[0168] Embodiment 18. The non-transitory computer-readable storage medium of embodiment 17, wherein causing the first portion and the second portion of the display screen to be in the activated position further comprises:
[0169] causing a first portion of the display screen to shrink upward by a predetermined distance, wherein the application interface displayed in the first portion is pushed upward, and
[0170] The second portion of the display screen is extended upward by the predetermined distance.
[0171] Embodiment 19. The non-transitory computer-readable storage medium according to embodiment 14, further comprising:
[0172] receiving input from the user corresponding to a request to return to the inactivated location; and
[0173] The first portion and the second portion of the display screen are caused to be displayed by the client device in the inactivated position.
[0174] Solution 20. A system comprising:
[0175] Processor; and
[0176] a memory having stored thereon instructions that, when executed by the processor, cause the system to perform operations comprising:
[0177] The display screen of the client device is caused to display the first portion of the display screen and the second portion of the display screen in the inactive position by:
[0178] causing the first portion to display an application interface associated with the application, and
[0179] causing the second portion to display an action bar associated with a messaging system;
[0180] receiving a selection of a settings selectable item in the action bar from a user of the client device;
[0181] In response to receiving a selection of the setting selectable item, generating a settings menu based on the context of the client device;
[0182] The first and second parts of the display screen are displayed in an activated position by:
[0183] causing the first portion of the display screen to collapse, and
[0184] A second portion of the display screen is caused to expand to include the settings menu.
[0185] Glossary
[0186] "Carrier signal" refers to any intangible medium that can store, encode or carry instructions for execution by a machine and includes digital or analog communications signals or other intangible media to facilitate communication of such instructions. Instructions may be sent or received over a network using a transmission medium via a network interface device.
[0187] "Client Device" refers to any machine that interfaces with a communications network to obtain resources from one or more server systems or other client devices. A client device may be, but is not limited to, a mobile phone, a desktop computer, a laptop computer, a portable digital assistant (PDA), a smart phone, a tablet computer, an ultrabook, a netbook, a laptop computer, a multiprocessor system, a microprocessor-based or programmable consumer electronics product, a game console, a set-top box, or any other communications device that a user may use to access a network.
[0188] "Communications network" means one or more parts of a network, which may be an ad hoc network, an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (WLAN), a wide area network (WAN), a wireless WAN (WWAN), a metropolitan area network (MAN), the Internet, a part of the Internet, a part of the public switched telephone network (PSTN), a plain old telephone service (POTS) network, a cellular telephone network, a wireless network, The coupling may be a network, another type of network, or a combination of two or more such networks. For example, the network or a portion of the network may include a wireless network or a cellular network, and the coupling may be a code division multiple access (CDMA) connection, a global system for mobile communications (GSM) connection, or other type of cellular or wireless coupling. In this example, the coupling may implement any of various types of data transmission technologies, such as single carrier radio transmission technology (1xRTT), evolution data optimized (EVDO) technology, general packet radio service (GPRS) technology, enhanced data rates for GSM evolution (EDGE) technology, the third generation partnership project (3GPP) including 3G, fourth generation wireless (4G) network, universal mobile telecommunications system (UMTS), high speed packet access (HSPA), world wide interoperability for microwave access (WiMAX), long term evolution (LTE) standards, other data transmission technologies defined by various standard setting organizations, other long distance protocols, or other data transmission technologies.
[0189] "Component" refers to a device, physical entity or logic with the following boundaries: the boundary is defined by a function or subroutine call, a branch point, an API or other technology provided for dividing or modularizing a specific processing or control function. A component can be combined with other components via its interface to perform a machine process. A component can be a packaged functional hardware unit designed for use with other components and can be part of a program that generally performs a specific function in a related function. A component can constitute a software component (e.g., a code implemented on a machine-readable medium) or a hardware component. A "hardware component" is a tangible unit that can perform certain operations and can be configured or arranged in a certain physical manner. In various example embodiments, one or more computer systems (e.g., an independent computer system, a client computer system or a server computer system) or one or more hardware components (e.g., a processor or a processor group) of a computer system can be configured by software (e.g., an application or an application part) to be a hardware component that operates to perform certain operations as described herein. Hardware components can also be implemented mechanically, electronically, or in any suitable combination thereof. For example, a hardware component may include a dedicated circuit or logic that is permanently configured to perform certain operations. The hardware component can be a special processor, such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC). The hardware component can also include a programmable logic or circuit that is temporarily configured to perform certain operations by software. For example, the hardware component can include software executed by a general-purpose processor or other programmable processor. Once configured by such software, the hardware component becomes a specific machine (or a specific component of a machine) that is uniquely customized to perform the configured function, and is no longer a general-purpose processor. It will be understood that the decision to implement the hardware component mechanically, in a dedicated and permanently configured circuit, or in a temporarily configured circuit (e.g., configured by software) can be driven by cost and time considerations. Accordingly, the phrase "hardware component" (or "hardware-implemented component") should be understood to include a tangible entity, that is, an entity that is physically constructed, permanently configured (e.g., hardwired) or temporarily configured (e.g., programmed) to operate in some way or perform certain operations described herein. Considering the embodiment in which the hardware component is temporarily configured (e.g., programmed), each of the hardware components does not need to be configured or instantiated at any time. For example, where a hardware component includes a general purpose processor that is configured by software to be a special purpose processor, the general purpose processor may be configured to be different special purpose processors (e.g., including different hardware components) at different times. Thus, software configures one or more specific processors to, for example, constitute a specific hardware component at one time and to constitute different hardware components at different times. Hardware components may provide information to other hardware components and receive information from other hardware components. Thus, the described hardware components may be considered to be communicatively coupled.In the case of multiple hardware components being present at the same time, communication can be achieved by (for example, by appropriate circuits and buses) signal transmission between or among two or more hardware components. In an embodiment in which multiple hardware components are configured or instantiated at different times, communication between such hardware components can be achieved, for example, by storing information in a memory structure accessible to multiple hardware components and retrieving information in the memory structure. For example, a hardware component can perform an operation and store the output of the operation in a memory device coupled to it in communication. Then, other hardware components can access the memory device at a subsequent time to retrieve the stored output and process it. The hardware component can also initiate communication with an input device or an output device, and can operate on resources (for example, the collection of information). The various operations of the example methods described herein can be performed at least in part by one or more processors, and one or more processors are temporarily configured (for example, by software) or permanently configured to perform related operations. Whether it is temporarily configured or permanently configured, such a processor can constitute a processor-implemented component that operates to perform one or more operations or functions described herein. As used herein, "processor-implemented components" refer to hardware components implemented using one or more processors. Similarly, the method described herein can be implemented at least in part by a processor, wherein one or more specific processors are examples of hardware. For example, at least some operations of the method can be performed by one or more processors 1004 or a component implemented by a processor. In addition, one or more processors can also operate to support the execution of related operations in a "cloud computing" environment or as a "software as a service" (SaaS) operation. For example, at least some operations in the operation can be performed by a group of computers (as an example of a machine including a processor), wherein these operations can be accessed via a network (e.g., the Internet) and via one or more appropriate interfaces (e.g., API). The execution of certain operations can be distributed between processors, can not only reside in a single machine, but can also be deployed on several machines. In some example embodiments, a processor or a component implemented by a processor can be located in a single geographic location (e.g., in a home environment, an office environment, or a server cluster). In other example embodiments, a processor or a component implemented by a processor can be distributed across several geographic locations.
[0190] "Computer-readable storage media" refers to both machine storage media and transmission media. Thus, the term includes both storage devices / medium and carrier / modulated data signals. The terms "machine-readable medium," "computer-readable medium," and "device-readable medium" mean the same thing and may be used interchangeably in this disclosure.
[0191] "Ephemeral messages" are messages that are accessible for a limited duration. Ephemeral messages can be text, images, videos, etc. The access time for ephemeral messages can be set by the sender of the message. Alternatively, the access time can be a default setting or a setting specified by the recipient. Regardless of the setting technique, the message is ephemeral.
[0192] “Machine storage media” refers to a single or multiple storage devices and media (e.g., centralized or distributed databases, and associated caches and servers) that store executable instructions, routines, and data. Thus, the term should be considered to include, but is not limited to, solid-state memory and optical and magnetic media, including memory internal or external to the processor. Specific examples of machine storage media, computer storage media, and device storage media include: non-volatile memory, including, for example, semiconductor memory devices such as erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), FPGA, and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The terms “machine storage media,” “device storage media,” and “computer storage media” mean the same thing and are used interchangeably in this disclosure. The terms “machine storage media,” “computer storage media,” and “device storage media” expressly exclude carrier waves, modulated data signals, and other such media, at least some of which are encompassed by the term “signal media.”
[0193] “Non-transitory computer-readable storage medium” refers to tangible media capable of storing, encoding, or carrying instructions to be executed by a machine.
[0194] "Signal media" refers to any intangible medium that is capable of storing, encoding or carrying instructions to be executed by a machine, and "signal media" includes digital or analog communication signals or other intangible media to facilitate the transmission of software or data. The term "signal medium" should be deemed to include any form of modulated data signals, carrier waves, etc. The term "modulated data signal" refers to a signal whose one or more characteristics are set or changed in such a manner that information is encoded in the signal. The terms "transmission medium" and "signal medium" refer to the same thing and may be used interchangeably in this disclosure.
Claims
1. A method for generating a context application menu, comprising: causing, by the processor, a first portion of a display screen of the client device to display an application interface associated with a gaming application that is launched within the context of the messaging system and utilizes features of the messaging system, and causing a second portion of the display screen to display an action bar associated with the messaging system different from the gaming application, the action bar including a settings selectable item for activating a settings menu associated with the gaming application and a text input element for receiving text input to be sent to a user associated with a user of the client device on the messaging system; as well as In response to receiving a selection of the setting selectable item, the setting menu is generated, the setting menu including selectable items for changing a plurality of settings of the gaming application and selectable items for controlling the messaging system.
2. The method according to claim 1, wherein: Generating the settings menu is based on one or more of: information about the gaming application, information about the user, a user list associated with the user on the gaming application, or a user list associated with the user on the messaging system.
3. The method according to claim 2, wherein: The settings menu includes a plurality of selectable items associated with each of the users in the user list associated with users on the gaming application.
4. The method according to claim 2, wherein: The plurality of settings for the gaming application include settings for activating or deactivating sound in the gaming application, contacting customer support for the gaming application, providing feedback on the gaming application, displaying preferences for the gaming application, or any combination thereof.
5. The method according to claim 2, further comprising: An input from the user associated with a request to display additional information included in the setting menu is detected.
6. The method according to claim 5, further comprising: A second portion of the display screen is scrolled to display the additional information, wherein the input from the user is a scrolling motion.
7. The method according to claim 5, further comprising: A second portion of the display screen is caused to expand to display the additional information, wherein the input from the user is a selection of the settings menu.
8. The method according to claim 1, wherein: The first portion of the display screen is larger in size than the second portion of the display screen.
9. The method according to claim 1, wherein: The first portion of the display screen is a top portion of the display screen and the second portion of the display screen is a bottom portion of the display screen.
10. A non-transitory computer-readable storage medium having stored thereon instructions, the instructions, when executed by a processor, causing the processor to perform operations comprising: causing a first portion of a display screen of a client device to display an application interface associated with a gaming application that is launched within the context of a messaging system and utilizes features of the messaging system, and causing a second portion of the display screen to display an action bar associated with the messaging system different from the gaming application, the action bar including a settings selectable item for activating a settings menu associated with the gaming application and a text input element for receiving text input to be sent to a user associated with a user of the client device on the messaging system; as well as In response to receiving a selection of the setting selectable item, the setting menu is generated, the setting menu including selectable items for changing a plurality of settings of the gaming application and selectable items for controlling the messaging system.
11. The non-transitory computer-readable storage medium of claim 10, wherein: Generating the settings menu is based on one or more of: information about the gaming application, information about the user, a user list associated with the user on the gaming application, or a user list associated with the user on the messaging system.
12. The non-transitory computer-readable storage medium of claim 11, wherein: The settings menu includes a plurality of selectable items associated with each of the users in the user list associated with users on the gaming application.
13. The non-transitory computer-readable storage medium of claim 11, wherein: The plurality of settings for the gaming application include settings for activating or deactivating sound in the gaming application, contacting customer support for the gaming application, providing feedback on the gaming application, displaying preferences for the gaming application, or any combination thereof.
14. The non-transitory computer-readable storage medium of claim 11, further comprising: An input from the user associated with a request to display additional information included in the setting menu is detected.
15. The non-transitory computer-readable storage medium of claim 14, further comprising: A second portion of the display screen is scrolled to display the additional information, wherein the input from the user is a scrolling motion.
16. The non-transitory computer-readable storage medium of claim 14, further comprising: A second portion of the display screen is caused to expand to display the additional information, wherein the input from the user is a selection of the settings menu.
17. The non-transitory computer-readable storage medium of claim 10, wherein: The first portion of the display screen is larger in size than the second portion of the display screen.
18. The non-transitory computer-readable storage medium of claim 10, wherein: The first portion of the display screen is a top portion of the display screen and the second portion of the display screen is a bottom portion of the display screen.
19. A system comprising: processor; and a memory having stored thereon instructions that, when executed by the processor, cause the system to perform operations comprising: causing a first portion of a display screen of a client device to display an application interface associated with a gaming application that is launched within the context of a messaging system and utilizes features of the messaging system, and causing a second portion of the display screen to display an action bar associated with the messaging system different from the gaming application, the action bar including a settings selectable item for activating a settings menu associated with the gaming application and a text input element for receiving text input to be sent to a user associated with a user of the client device on the messaging system; as well as In response to receiving a selection of the setting selectable item, the setting menu is generated, the setting menu including selectable items for changing a plurality of settings of the gaming application and selectable items for controlling the messaging system.
20. The system of claim 19, wherein: Generating the settings menu is based on one or more of: information about the gaming application, information about the user, a user list associated with the user on the gaming application, or a user list associated with the user on the messaging system.