Media resource display method, device, terminal, server and storage medium
By detecting events or triggering operations on the target activity page, media resources in any area are automatically displayed, which solves the inefficiency problem caused by manual selection in the existing technology, improves the efficiency of human-computer interaction, and increases the fun of display.
Patent Information
- Application Number
- CN202011046118.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-28
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-09-28
AI Technical Summary
The existing media resource display method requires manual selection of media resources in different cities, resulting in inefficient human-computer interaction and the inability to quickly view media resources in different cities.
By detecting target events or triggering operations on the target activity page, media resources in any area are automatically obtained and displayed without manual selection, improving the efficiency of human-computer interaction.
It enables you to view media resources in different areas without manual selection, improves the efficiency of human-computer interaction, and increases the fun of displaying media resources through resource cards, attracting more users to participate in activities.
Smart Images

Figure CN112181573B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a media resource display method, device, terminal, server and storage medium. Background Art
[0002] With the rapid development of mobile Internet and computer technology, current multimedia applications can not only provide basic multimedia playback services, but also provide display services of media resources based on city information. For example, the display of local media resources such as local videos, local pictures or local texts. Since the geographical attributes of the same city are strong, by displaying local media resources to users, more users can be attracted to use multimedia applications.
[0003] At present, the media resource display method is usually: through a multimedia application, according to the location information of the user terminal, the media resources in the same city that match the location information are displayed to the user. When the user wants to watch the media resources of other cities, he manually selects the city he wants to watch from the multiple city options included in the multimedia application interface, and the media resources of other cities are displayed on the multimedia application interface.
[0004] In the above technology, media resources of different cities need to be viewed manually, and media resources of different cities cannot be viewed quickly, which reduces the efficiency of human-computer interaction. Summary of the invention
[0005] The present disclosure provides a media resource display method, device, terminal, server and storage medium, which can improve the efficiency of human-computer interaction. The technical solution of the present disclosure is as follows:
[0006] According to a first aspect of an embodiment of the present disclosure, a media resource display method is provided, which is applied to a terminal, and the method includes:
[0007] Displaying a target activity page, which is used to trigger media resources corresponding to the display area;
[0008] If a target event is detected based on the target activity page, a target media resource corresponding to a first area is obtained, the first area being any area, and the target media resource is used to recommend the first area;
[0009] In the target activity page, the target media resources corresponding to the first area are displayed.
[0010] In some embodiments, the method further comprises:
[0011] Displaying a first control in the target activity page;
[0012] If a triggering operation on the first control in the target activity page is detected, a target media resource corresponding to a second area is obtained, where the second area is any area;
[0013] In the target activity page, the target media resources corresponding to the second area are displayed.
[0014] In some embodiments, the method further comprises:
[0015] If the target event is detected again based on the target activity page, a target media resource corresponding to a second area is obtained, where the second area is any area;
[0016] In the target activity page, the target media resources corresponding to the second area are displayed.
[0017] In some embodiments, the method further comprises:
[0018] If the target event is detected based on the second page, or a triggering operation on the first control in the second page is detected, the target media resource corresponding to the second area is obtained, and the second page is used to represent other pages associated with the target activity page;
[0019] In the target activity page, the target media resources corresponding to the second area are displayed, and the second area is any area.
[0020] In some embodiments, the method further comprises:
[0021] Displaying a second control in the target activity page;
[0022] If a triggering operation on the second control is detected, media resources whose location tags belong to the same area as the target media resource are displayed on the first page, and the first page is used to display multiple media resources whose location tags belong to the same area.
[0023] In some embodiments, the method further comprises any of the following:
[0024] A third control is displayed in the target activity page, and if a triggering operation on the third control is detected, the target media resource corresponding to the first area is shared with the target object.
[0025] In some embodiments, before displaying the target activity page, the method further includes any of the following:
[0026] In response to entering the first page or the second page, a target activity entrance is displayed on the corresponding page. If a trigger operation on the target activity entrance is detected, the step of displaying the target activity page is executed, wherein the first page is used to display multiple media resources with location tags belonging to the same area, and the second page is used to represent other pages associated with the target activity page.
[0027] In some embodiments, in response to entering the first page or the second page, displaying the target activity entrance on the corresponding page includes any of the following:
[0028] In response to the user account logged in by the terminal entering the first page or the second page for the first time, displaying the target activity entrance on the corresponding page in the form of a pop-up window;
[0029] In response to the user account logged in by the terminal not entering the first page or the second page for the first time, the target activity entrance is displayed on the corresponding page in the form of a widget.
[0030] In some embodiments, the method further comprises:
[0031] In the target activity page, a resource record control is displayed, and the resource record control is used to trigger the display of target media resources that have been displayed by the user account logged in by the terminal;
[0032] If a triggering operation on the resource record control is detected, a resource record page is displayed, and the resource record page includes target media resources that have been displayed by the user account logged in by the terminal.
[0033] In some embodiments, the method further comprises:
[0034] A sharing control is displayed on the resource record page, and the sharing control is used to trigger sharing of a target media resource that has been displayed by the user account logged in by the terminal.
[0035] In some embodiments, if a target event is detected based on the target activity page, after obtaining the target media resource corresponding to the first area, the method further includes:
[0036] If the first area is the area set by the user account logged in by the terminal, the first special effect is displayed in the target activity page;
[0037] If the first area is an area set by the server, the second special effect is displayed in the target activity page.
[0038] In some embodiments, the method further comprises:
[0039] If a viewing operation on the target media resource corresponding to the first area is detected, resource prompt information is displayed in the target activity page, and the resource prompt information is used to prompt the resources obtained by the user account.
[0040] In some embodiments, if a target event is detected based on the target activity page, before obtaining the target media resource corresponding to the first area, the method further includes any of the following:
[0041] If it is determined that the user account logged in by the terminal has been set with any area, the step of displaying the target activity page is executed;
[0042] If it is determined that the user account logged in by the terminal has not set any area, then a region filling page is displayed, and the region filling page is used to fill in the area of the user account.
[0043] In some embodiments, the target event is any one of a shaking operation on the terminal, a click operation on a target area of the target activity page, and receiving an audio instruction carrying a keyword.
[0044] In some embodiments, in the target activity page, displaying the target media resource corresponding to the first area includes:
[0045] In the target activity page, a resource card is displayed, and the target media resource corresponding to the first area is displayed in the displayed resource card.
[0046] According to a second aspect of an embodiment of the present disclosure, a media resource display method is provided, which is applied to a server, and the method includes:
[0047] A receiving terminal sends a resource acquisition request based on a target activity page, where the target activity page is used to trigger a media resource corresponding to the display area;
[0048] Selecting a target media resource in a first area from among multiple media resources, where the first area is any area;
[0049] The resource information and the corresponding area of the target media resource are returned to the terminal.
[0050] In some embodiments, after the receiving terminal sends a resource acquisition request based on the target activity page, the method further includes:
[0051] Obtaining the resource status of the user account logged in by the terminal at the current moment, and if the resource status is valid, executing the step of selecting the target media resource;
[0052] If the resource status is invalid, resource status prompt information is sent to the terminal, and the resource status prompt information is used to prompt that the resources of the target activity are insufficient.
[0053] According to a third aspect of an embodiment of the present disclosure, a media resource display device is provided, the device comprising:
[0054] A page display unit is configured to execute display of a target activity page, where the target activity page is used to trigger a media resource corresponding to the display area;
[0055] An acquisition unit is configured to acquire a target media resource corresponding to a first area if a target event is detected based on the target activity page, the first area being any area, and the target media resource being used to recommend the first area;
[0056] The resource display unit is configured to be executed in the target activity page to display the target media resource corresponding to the first area.
[0057] In some embodiments, the apparatus further comprises:
[0058] A first control display unit is configured to display a first control in the target activity page;
[0059] The acquisition unit is further configured to acquire a target media resource corresponding to a second area if a trigger operation on the first control in the target activity page is detected, where the second area is any area;
[0060] The resource display unit is further configured to be executed in the target activity page to display the target media resource corresponding to the second area.
[0061] In some embodiments, the acquisition unit is further configured to execute, if the target event is detected again based on the target activity page, acquiring a target media resource corresponding to a second area, the second area being any area;
[0062] The resource display unit is further configured to be executed in the target activity page to display the target media resource corresponding to the second area.
[0063] In some embodiments, the acquisition unit is further configured to acquire a target media resource corresponding to the second area if the target event is detected based on the second page, or a triggering operation on the first control in the second page is detected, and the second page is used to represent other pages associated with the target activity page;
[0064] The resource display unit is further configured to be executed in the target activity page to display the target media resource corresponding to the second area, where the second area is any area.
[0065] In some embodiments, the apparatus further comprises:
[0066] A second control display unit is configured to display a second control in the target activity page;
[0067] The resource display unit is further configured to execute, if a trigger operation on the second control is detected, display media resources whose location tags belong to the same area as the target media resource on a first page, and the first page is used to display multiple media resources whose location tags belong to the same area.
[0068] In some embodiments, the device further comprises any of the following:
[0069] The third control display unit is configured to display the third control in the target activity page, and if a trigger operation on the third control is detected, share the target media resource corresponding to the first area with the target object.
[0070] In some embodiments, before displaying the target activity page, the device further includes any of the following:
[0071] The entry display unit is configured to display a target activity entry on the corresponding page in response to entering the first page or the second page, and if a triggering operation on the target activity entry is detected, execute the step of displaying the target activity page, wherein the first page is used to display multiple media resources belonging to the same area with location tags, and the second page is used to represent other pages associated with the target activity page.
[0072] In some embodiments, the entrance display unit is configured to perform any of the following:
[0073] In response to the user account logged in by the terminal entering the first page or the second page for the first time, displaying the target activity entrance on the corresponding page in the form of a pop-up window;
[0074] In response to the user account logged in by the terminal not entering the first page or the second page for the first time, the target activity entrance is displayed on the corresponding page in the form of a widget.
[0075] In some embodiments, the apparatus further comprises:
[0076] A record control display unit is configured to be executed in the target activity page to display a resource record control, the resource record control being used to trigger the display of a target media resource that has been displayed by the user account logged in by the terminal;
[0077] The resource display unit is further configured to display a resource record page if a trigger operation on the resource record control is detected. The resource record page includes target media resources that have been displayed by the user account logged in by the terminal.
[0078] In some embodiments, the apparatus further comprises:
[0079] The sharing control display unit is configured to display a sharing control in the resource record page, wherein the sharing control is used to trigger sharing of a target media resource that has been displayed by the user account logged in by the terminal.
[0080] In some embodiments, the apparatus further comprises:
[0081] A first special effect display unit is configured to display a first special effect in the target activity page if the first area is an area set by the user account logged in by the terminal;
[0082] The second special effect display unit is configured to display a second special effect in the target activity page if the first area is an area set by the server.
[0083] In some embodiments, the apparatus further comprises:
[0084] The prompt information display unit is configured to display resource prompt information in the target activity page if a viewing operation of the target media resource corresponding to the first area is detected, and the resource prompt information is used to prompt the resources obtained by the user account.
[0085] In some embodiments, the page display unit is further configured to perform any of the following:
[0086] If it is determined that the user account logged in by the terminal has been set with any area, the step of displaying the target activity page is executed;
[0087] If it is determined that the user account logged in by the terminal has not set any area, then a region filling page is displayed, and the region filling page is used to fill in the area of the user account.
[0088] In some embodiments, the target event is any one of a shaking operation on the terminal, a click operation on a target area of the target activity page, and receiving an audio instruction carrying a keyword.
[0089] In some embodiments, the resource display unit is configured to display a resource card in the target activity page, and display the target media resource corresponding to the first area in the displayed resource card.
[0090] According to a fourth aspect of an embodiment of the present disclosure, a media resource display device is provided, the device comprising:
[0091] A receiving unit configured to execute a resource acquisition request sent by a receiving terminal based on a target activity page, where the target activity page is used to trigger a media resource corresponding to a display area;
[0092] A selection unit is configured to select a target media resource of a first area from a plurality of media resources, where the first area is any area;
[0093] The returning unit is configured to return the resource information and the corresponding area of the target media resource to the terminal.
[0094] In some embodiments, the apparatus further comprises:
[0095] An acquisition unit is configured to acquire the resource status of the user account logged in by the terminal at the current moment, and if the resource status is valid, execute the step of selecting the target media resource;
[0096] The sending unit is configured to send resource status prompt information to the terminal if the resource status is invalid, wherein the resource status prompt information is used to prompt that the resources of the target activity are insufficient.
[0097] According to a fifth aspect of an embodiment of the present disclosure, a terminal is provided, the terminal including:
[0098] one or more processors;
[0099] A memory for storing program codes executable by the processor;
[0100] The processor is configured to execute the program code to implement the above-mentioned media resource display method.
[0101] According to a sixth aspect of an embodiment of the present disclosure, a server is provided, the server comprising:
[0102] one or more processors;
[0103] A memory for storing program codes executable by the processor;
[0104] The processor is configured to execute the program code to implement the above-mentioned media resource display method.
[0105] According to the seventh aspect of the embodiments of the present disclosure, a storage medium is provided, comprising: when the program code in the storage medium is executed by the processor of the terminal, the terminal is enabled to execute the media resource display method described in the first aspect or any one of the embodiments of the first aspect; when the program code in the storage medium is executed by the processor of the server, the server is enabled to execute the media resource display method described in the second aspect or any one of the embodiments of the second aspect.
[0106] According to an eighth aspect of the embodiments of the present disclosure, a computer program product is provided, the computer program product comprising a computer program code, the computer program code being stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the computer device executes the above-mentioned media resource display method.
[0107] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0108] The technical solution provided by the embodiment of the present disclosure can trigger the display of media resources corresponding to a region when a target event based on a target activity page is detected. The display of media resources in any region can be achieved through operations corresponding to the target event. Media resources in different regions can be viewed without manual selection, thereby improving the efficiency of human-computer interaction.
[0109] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0110] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0111] Figure 1 is a schematic diagram of an implementation environment of a media resource display method according to an exemplary embodiment;
[0112] Figure 2 is a flow chart of a method for displaying media resources according to an exemplary embodiment;
[0113] Figure 3 is a flow chart of a method for displaying media resources according to an exemplary embodiment;
[0114] Figure 4 is a flow chart of a method for displaying media resources according to an exemplary embodiment;
[0115] Figure 5 is a schematic diagram of an interface of a target application according to an exemplary embodiment;
[0116] Figure 6 is a schematic diagram of a same-city page according to an exemplary embodiment;
[0117] Figure 7 is a schematic diagram of another same-city page according to an exemplary embodiment;
[0118] Fig. 8A is a schematic diagram of a target activity page according to an exemplary embodiment;
[0119] Figure 8B is a schematic diagram of another target activity page according to an exemplary embodiment;
[0120] Fig. 9A is a schematic diagram of a resource record page according to an exemplary embodiment;
[0121] Fig. 9Bis a schematic diagram of another resource record page according to an exemplary embodiment;
[0122] Fig.10 is a schematic diagram of a sharing page according to an exemplary embodiment;
[0123] Fig.11 is a schematic diagram showing a page where a sharing card is located according to an exemplary embodiment;
[0124] Fig. 12A is a schematic diagram of a region filling page according to an exemplary embodiment;
[0125] Fig. 12B is a schematic diagram of another area filling page according to an exemplary embodiment;
[0126] Fig.13 is a schematic diagram showing a resource card according to an exemplary embodiment;
[0127] Fig.14A is a detailed schematic diagram of a resource card according to an exemplary embodiment;
[0128] Fig. 14B is a detailed schematic diagram of another resource card according to an exemplary embodiment;
[0129] Fig.15 is a schematic diagram showing another method of displaying resource cards according to an exemplary embodiment;
[0130] Fig.16 is a detailed schematic diagram of another resource card according to an exemplary embodiment;
[0131] Fig.17 is a schematic diagram showing another method of displaying resource cards according to an exemplary embodiment;
[0132] Fig.18 is a schematic diagram of a first page according to an exemplary embodiment;
[0133] Fig.19 is a schematic diagram of a sharing page according to an exemplary embodiment;
[0134] Fig. 20 is a flow chart showing a media resource display according to an exemplary embodiment;
[0135] Fig.21 is a block diagram of a media resource display device according to an exemplary embodiment;
[0136] Fig. 22is a block diagram of a media resource display device according to an exemplary embodiment;
[0137] Fig.23 is a structural block diagram of a terminal according to an exemplary embodiment;
[0138] Fig.24 It is a structural block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0139] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0140] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0141] The data involved in the present disclosure may be data authorized by the user or fully authorized by all parties.
[0142] Figure 1 is a schematic diagram of an implementation environment of a media resource display method provided by an embodiment of the present disclosure, see Figure 1 , the implementation environment includes: a terminal 101 and a server 102.
[0143] Terminal 101 may be at least one of a smart phone, a smart watch, a desktop computer, a laptop, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer. Terminal 101 has a communication function and can access the Internet. Terminal 101 may generally refer to one of a plurality of terminals, and this embodiment is only illustrated by terminal 101. Those skilled in the art may know that the number of the above terminals may be more or less. Terminal 101 may run an application with a video push function, such as a video application, a live broadcast application, and a social application. The target application is subsequently used to represent the application with the video push function.
[0144] The server 102 may be an independent physical server, or a server cluster or distributed file system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The server 102 may be a platform server for an application with a video push function. The server 102 and the terminal 101 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present disclosure. Optionally, the number of the above-mentioned servers 102 may be more or less, which is not limited in the embodiments of the present disclosure. Of course, the server 102 may also include other functional servers in order to provide more comprehensive and diversified services.
[0145] In the process of implementing the present disclosure, the terminal 101 and the server 102 jointly execute the corresponding process: the user operates on the terminal 101, starts the target application, and logs in the user account on the target application. When the user wants to participate in the target activity (that is, wants to view the target media resources corresponding to any area), the target activity page is opened, and the trigger operation is performed on the target activity page. The terminal 101 detects the user's trigger operation and triggers the process of obtaining the media resources to be displayed, that is, sending a resource acquisition request to the server 102. After receiving the resource acquisition request, the server 102 randomly selects a target media resource in an area, and returns the resource information and corresponding area of the target media resource to the terminal 101 based on the target media resource of the selected area. Then, the terminal 101 displays the target media resource corresponding to the selected area based on the received resource information and corresponding area of the target media resource.
[0146] Figure 2 is a flow chart of a method for displaying media resources according to an exemplary embodiment. Figure 2 As shown, the method is used in a terminal and includes the following steps:
[0147] In step 201, the terminal displays a target activity page, and the target activity page is used to trigger a media resource corresponding to a display area.
[0148] In step 202, if the terminal detects a target event based on the target activity page, a target media resource corresponding to a first area is obtained, where the first area is any area, and the target media resource is used to recommend the first area.
[0149] In step 203, the terminal displays the target media resource corresponding to the first area in the target activity page.
[0150] The technical solution provided by the embodiment of the present disclosure can trigger the display of media resources corresponding to a region when a target event based on a target activity page is detected. The display of media resources in any region can be achieved through operations corresponding to the target event. Media resources in different regions can be viewed without manual selection, thereby improving the efficiency of human-computer interaction.
[0151] Figure 3 is a flow chart of a method for displaying media resources according to an exemplary embodiment. Figure 3 As shown, the method is used in a server and includes the following steps:
[0152] In step 301, the server receives a resource acquisition request sent by a terminal based on a target activity page, where the target activity page is used to trigger a media resource corresponding to a display area.
[0153] In step 302, the server selects a target media resource in a first area from a plurality of media resources, where the first area is any area.
[0154] In step 303, the server returns the resource information of the target media resource and the corresponding area to the terminal.
[0155] The technical solution provided by the embodiment of the present disclosure can trigger the display of media resources corresponding to a region when a target event based on a target activity page is detected. The display of media resources in any region can be achieved through operations corresponding to the target event. Media resources in different regions can be viewed without manual selection, thereby improving the efficiency of human-computer interaction.
[0156] Above Figures 2 to 3 What is shown is only the basic process of the present disclosure. The solution provided by the present disclosure will be further explained below based on a specific implementation method. Figure 4 is a flowchart of a method for displaying media resources according to an exemplary embodiment. The method takes the interaction process between a terminal and a server as an example to illustrate the scheme. Figure 4 , the method comprising:
[0157] In step 401, the server responds to the user account logged in by the terminal entering the first page, determines whether the user account enters the first page for the first time, obtains a first judgment result, and returns the first judgment result to the terminal. The first page is used to display multiple media resources with location tags belonging to the same area.
[0158] Among them, the first page can be understood as a same-city page, and the same-city page is used to display multiple media resources with location tags belonging to the same area. For example, the same-city page displays multiple media resources belonging to the same area as the area where the terminal is located. The type of media resource is a picture or a video. The first judgment result is used to indicate the judgment result of whether the user account enters the first page for the first time. The location tag refers to the location tag corresponding to the media resource, which can be understood as the publishing location of the media resource, or the city location corresponding to the media resource, such as a picture taken at a certain city location. The area is used to represent the city location. In some embodiments, the area can be an administrative area, which can be divided into provinces, cities, or finer units, such as ×× Street. The embodiment of the present disclosure does not limit the way of dividing administrative areas. In other embodiments, the area can be a hot spot area, such as a certain scenic spot, a certain shopping mall, etc.
[0159] It should be noted that when the user operates on the terminal, starts the target application, and logs in to the user account on the target application, a local tag is displayed on the interface of the target application, and the local tag is used to trigger the display of the first page. For example, when the first page is triggered to open, the first page belonging to the same area as the terminal is displayed. For example, the interface of the target application is shown in Figure 5 , Figure 5 is a schematic diagram of an interface of a target application according to an exemplary embodiment. Figure 5 The page shown is the Homepage-Discovery page, which contains multiple media resources and the City tag, Homepage tag, Message tag, and Me tag. Among them, the Homepage tag is used to trigger the display of the homepage. The Message tag is used to trigger the display of the message records of the user account. The Me tag is used to trigger the display of relevant information of the user account.
[0160] In some embodiments, when the user wants to view the first page, he clicks on the same-city tag in the interface of the target application, and the terminal detects the click on the same-city tag, and displays the first page on the interface of the target application. This process is also the process of the user account entering the first page. In response to the user account entering the first page, the server queries the display record corresponding to the user account to determine whether there is an identifier of the first page in the display record. If so, it means that the user account has displayed the first page, that is, it is not the first time for the user account to enter the first page. If not, it means that the user account has not displayed the first page, that is, it is the first time for the user account to enter the first page, and a first judgment result is obtained, and the first judgment result is returned to the terminal where the user account is located.
[0161] Step 401 is a process of making a judgment based on the user account logged in by the terminal. It should be noted that the condition that the terminal has a user account is an optional condition. In other embodiments, if the user account is not logged in, the server performs a subsequent judgment process based on the terminal ID (identification) to achieve the basic function of displaying media resources.
[0162] In step 402, the terminal receives a first judgment result sent by the server, and displays a target activity entrance on the first page according to the first judgment result. The target activity entrance is used to trigger display of a target activity page, and the target activity page is used to trigger media resources corresponding to the display area.
[0163] It should be noted that the target activity refers to an activity for displaying the media resources of the region. In the embodiment of the present disclosure, the scheme is described below by taking the activity of opening any door by shaking as an example.
[0164] In some embodiments, after receiving the first judgment result sent by the server, the terminal displays the target activity entrance in a corresponding display manner according to the content indicated by the first judgment result.
[0165] In some embodiments, the process of the terminal displaying the target activity entrance includes any of the following:
[0166] In some embodiments, the terminal displays the target activity entrance on the first page in the form of a pop-up window in response to the user account logged in by the terminal entering the first page for the first time. For example, taking the target activity as an activity of shaking to open any door as an example, the first page may be Figure 6 The same city page shown, Figure 6 is a schematic diagram of a same-city page according to an exemplary embodiment. The same-city page displays multiple media resources with location tags belonging to the same area. The target activity entrance can be Figure 6 The activity entrance 601 for shaking to open any door is shown. It can be found that the activity entrance 601 is displayed in the form of a pop-up window. Figure 6 The activity entrance 601 shown includes the target activity name, the activity copy of the target activity, the immediate participation control 6011 and the close control 6012. Among them, the immediate participation control 6011 is used to trigger the display of the target activity page. The close control 6012 is used to trigger the closing of the target activity entrance. It should be understood that in this embodiment, the target activity entrance can be understood as a guide entrance, and the pop-up window is a guide pop-up window, which is used to guide the user to enter the target activity page. In this embodiment, for the user account entering the same city page for the first time, the entrance is displayed in the form of a pop-up window, which can guide the user who enters the same city page for the first time to quickly enter the target activity.
[0167] In some other embodiments, the terminal displays the target activity entrance on the first page in the form of a widget in response to the user account logged in by the terminal not entering the first page for the first time. For example, taking the target activity as an activity of shaking to open any door as an example, the first page may be Figure 7 The same city page shown, Figure 7 is a schematic diagram of another same-city page according to an exemplary embodiment. In the same-city page, the target activity entrance can be Figure 7 In the Any Door widget 701 shown in the lower right corner, it can be found that the Any Door activity entrance 701 is displayed in the form of a widget. In this embodiment, for user accounts that are not entering the same city page for the first time, the entrance is displayed in the form of a widget, which is more in line with the user's usage needs and improves the user's usage experience.
[0168] It should be noted that step 402 is a process of displaying the target activity entrance on the first page (that is, the same city page). In other embodiments, the terminal displays the target activity entrance on the second page in response to entering the second page, and the second page is used to represent other pages associated with the target activity page. For example, the second page can be a home page. Through this process, the user can also enter the target activity page through the entrance displayed on other pages, which improves the user's operating experience. In addition, the above process illustrates the solution using the target activity as an example. In other embodiments, the target activity can also be used as a sub-activity of some main venue activities, and the terminal displays the target activity entrance on the page of the main venue activity. For example, the target activity entrance is displayed in the form of a pop-up window or a widget.
[0169] It should also be noted that the above steps 401 to 402 are a process of determination by the server. In other embodiments, the above determination process can also be performed by the terminal.
[0170] In step 403, the server responds to the triggering operation of the target activity portal by the user account logged in by the terminal, determines whether the user account has set any area, obtains a second determination result, and returns the second determination result to the terminal.
[0171] It should be noted that in the embodiments of the present disclosure, a user account setting function for the area is also provided. It should be understood that the area set by the user account logged in by the terminal is also the area of interest to the user. Of course, the user can also set the area where he is located. The embodiments of the present disclosure do not limit the area set by the user account. In some embodiments, the corresponding process of setting the area is: the user selects the area of interest in multiple areas pre-set by the server through the target application, and the terminal responds to the selection operation of the user account, determines the area set by the user account, and sends the area set by the user account to the server, which is stored by the server. In subsequent examples, the wish city is used to represent the area set by the user account.
[0172] In some embodiments, when the user wants to view the target activity page, the user clicks on the target activity entry in the first page, and the terminal responds to the trigger operation on the target activity entry and sends a prompt message to the server that the user has triggered the target activity entry. After receiving the prompt message, the server responds to the trigger operation on the target activity entry by the user account logged in by the terminal, and queries the area setting information of the user account. If there is an identifier of any area in the area setting information, it means that the user account has set the area. If there is no identifier of any area in the area setting information, it means that the user account has not set the area, and a second judgment result is obtained, and the second judgment result is sent to the terminal. The area setting information stores the corresponding relationship between the user account and the area it has set.
[0173] In step 404, the terminal receives the second determination result sent by the server. If the second determination result indicates that the user account logged in by the terminal has been set with any area, the target activity page is displayed.
[0174] For example, taking the target activity as the activity of shaking to open any door, the target activity page can be found in Fig. 8A or Figure 8B .in, Fig. 8A is a schematic diagram of a target activity page according to an exemplary embodiment. Fig. 8A The target activity page shown includes the target activity name, a wish city prompt box 801 and a shake prompt box 802. The wish city prompt box 801 is used to prompt the user's wish city, such as "Wish city is A". The shake prompt box 802 is used to prompt the user to shake the terminal. Fig. 8A As shown, the target activity page also includes an activity rule control 803 and a my reward control 804. The activity rule control 803 is used to trigger the display of the content of the activity rule. The my reward control 804 is used to trigger the display of the reward record of the user account. Figure 8Bis a schematic diagram of another target activity page according to an exemplary embodiment. Figure 8B It includes the target activity name, shake prompt box, activity rule control and my reward control. Figure 8B For the contents of the prompt box and controls, see Fig. 8A , no more details.
[0175] In some embodiments, the terminal also displays a resource record control in the target activity page, and the resource record control is used to trigger the display of the target media resources that have been displayed by the user account logged in by the terminal. For example, the resource record control can be the view my footprint achievement control 805 shown in Figure 8. When the user wants to view his own resource record (footprint achievement), the resource record control (view my footprint achievement control 805) in the target activity page is clicked, and the terminal detects the triggering operation of the resource record control and displays the resource record page, which includes the target media resources that have been displayed by the user account logged in by the terminal, and the target media resources displayed on the resource record page can be clicked to view.
[0176] For example, the resource record page see Fig. 9A or Fig. 9B .in, Fig. 9A is a schematic diagram of a resource record page according to an exemplary embodiment. Fig. 9A The resource record page shown includes multiple target media resources that have been displayed by the user account, that is, media resources of the areas that the user account has shaken to. Fig. 9B is a schematic diagram of another resource record page according to an exemplary embodiment. Fig. 9B The resource record page shown displays multiple target media resources that the user account has displayed and multiple footprint introduction information, such as the number of cities reached (such as 156), route introductions to the cities reached, resource introduction information of the cities reached, text introduction information of the cities reached, and a share my city footprint control 902. In some embodiments, if the terminal detects a click operation on any media resource in the resource record page, it jumps to the same city page belonging to the same area as any media resource. For example, if the user clicks Fig. 9A When you view the media resources corresponding to Chengdu in the resource record page shown, you will be redirected to the local page of Chengdu.
[0177] In some embodiments, the terminal displays a sharing control in the resource record page, and the sharing control is used to trigger the sharing of the target media resource that has been displayed by the user account logged in by the terminal. For example, the sharing control can be Fig. 9A Share My Footprints achievement control 901 or Fig. 9B The Share My City Footprints control 902 in.
[0178] The process of sharing by the terminal based on the sharing control in the resource record page includes any of the following:
[0179] In some embodiments, when a user wants to share his resource record (footprint achievement), he clicks the share control (share my footprint achievement control 901) in the resource record page, and the terminal detects the triggering operation of the share control and shares the resource record of the user account to the target object. Fig. 9A After the terminal where the user account is located shares the target media resource to the target object, the terminal where the target object is located displays the following Fig.10 Sharing page, Fig.10 It is a schematic diagram of a sharing page according to an exemplary embodiment. Fig.10 The sharing page shown includes the target media resources included in the resource card displayed by the user account, that is, the media resources of the area that the user account has shaken. In addition, the terminal where the target object is located displays a shake to participate in the activity control 1001 in the received sharing page, and the shake to participate in the activity control 1001 is used to trigger the display of the target activity page. Through the shake to participate in the activity control 1001, more users can be attracted to participate in the activity.
[0180] In some other embodiments, when a user wants to share his resource record, he clicks on the share control (share my city footprint control 902) in the resource record page, and the terminal detects the triggering operation of the share control, generates a share card, and shares the resource record of the user account to the target object in the form of a share card, and the share card is used to display the resource record. Fig. 9B If the terminal detects a click operation on the share my city footprint control 902, it generates the following Fig.11 The share card shown, Fig.11 The figure is a schematic diagram of a page where a sharing card is located according to an exemplary embodiment. Fig.11 The shared card shown includes city footprint prompt information, a QR code pattern and user account information. The city footprint prompt information is used to prompt the user account's city footprint brief information, such as reaching 156 cities. The user account information includes the user account name or user account avatar, etc. In addition, Fig.11The page shown also includes icons of multiple social applications. It should be understood that, through any social application, the sharing card of the user account can be sent to the terminal where the user account of the friend is located. In this process, since the region has a geographical location attribute, the footprint information of the resource card popped up by the user can be recorded, and the user can share his resource card and footprint achievement card, so that the user can get a sense of satisfaction, and after sharing with friend users, it can attract more users to participate in the activity.
[0181] It should be noted that in the above-mentioned embodiments, the resource record control is used to trigger the display of target media resources that have been displayed by the user account logged in by the terminal. In other embodiments, the resource record control is also used to trigger the display of target media resources that have been clicked by the user account logged in by the terminal. It should be understood that the displayed target media resources refer to media resources that have been displayed by the user account but not clicked to play, and the clicked target media resources refer to media resources that have been displayed and clicked to play by the user account. The embodiments of the present disclosure do not limit what kind of resources the resource record control is used to trigger the display of.
[0182] Step 404 is a process of displaying the target activity page if the second judgment result indicates that the user account logged in by the terminal has any area set. In other embodiments, if the second judgment result indicates that the user account logged in by the terminal has no area set, then a region filling page is displayed, and the region filling page is used to fill in the user account area. Optionally, the terminal displays a region filling control in the region filling page, and the region filling control is used to fill in the user account area. For example, taking the target activity as an activity of shaking to open any door as an example, the region filling page is shown in FIG. Fig. 12A or Fig. 12B .in, Fig. 12A is a schematic diagram of a region filling page according to an exemplary embodiment. The region filling control can be Fig. 12A The desired city control 1201 is shown. Fig. 12B is a schematic diagram of another area filling page according to an exemplary embodiment. The area filling control can also be Fig. 12B The control 1202 for setting a desired city is shown. The above process introduces the area filling page by taking the area filling control as an example. In other embodiments, the terminal displays an area filling box in the area filling page, and the area filling box is used to fill in the area. It should be noted that after the user completes filling in the area, the terminal displays the target activity page in response to the completion of filling in the area filling page.
[0183] It should be noted that step 403 to step 404 are optional steps. For a user account that has not set a region (wish city), it is also possible to participate in the target activity.
[0184] In step 405, if the terminal detects a target event based on the target activity page, a resource acquisition request is sent to the server.
[0185] Among them, the target event can be any one of a shaking operation on the terminal, a click operation on the target area of the target activity page, and receiving an audio instruction carrying a keyword. For example, the shaking operation on the terminal refers to a shaking operation on the terminal. The above-mentioned activity of shaking to open any door refers to the activity of triggering the terminal to display the media resources of the area through a shaking operation. The subsequent resource cards are displayed through the triggering operation of shaking, which gives the user a sense of time travel and increases the fun of the target activity.
[0186] In some embodiments, if the terminal detects a target event based on the target activity page, a resource card is obtained. The process of obtaining the resource card is shown in steps 405 to 410 .
[0187] In step 406, the server receives a resource acquisition request sent by the terminal based on the target activity page.
[0188] In some embodiments, after receiving the resource acquisition request sent by the terminal based on the target activity page, the server obtains the identifier of the user account from a specific field of the resource acquisition request, and then performs subsequent processes according to the identifier of the user account.
[0189] In step 407 , the server obtains the resource status of the user account logged in by the terminal at the current moment, and determines whether the resource status is valid. If the resource status is valid, step 408 is executed.
[0190] The resource status is used to indicate the number of remaining activities of the target activity. The resource status is valid and can be indicated by the number of remaining activities being sufficient, for example, the number of remaining activities being greater than or equal to one.
[0191] In some embodiments, after the server obtains the identifier of the user account, it determines the number of remaining activities of the user account at the current moment according to the identifier of the user account and the correspondence between the identifier and the number of remaining activities. It is determined whether the number of remaining activities is greater than or equal to one. If the number of remaining activities is greater than or equal to one, the process of selecting the target media resource is executed. The number of remaining activities can be the number of remaining activities today in the target activity page shown in FIG8.
[0192] In other embodiments, if the resource status is invalid, a resource status prompt message is sent to the terminal, and the resource status prompt message is used to prompt that the target activity has insufficient resources, that is, if the remaining number of times of the activity is less than one, an activity number prompt message is sent to the terminal, and the activity number prompt message is used to prompt that the remaining number of times of the target activity is insufficient. After the terminal receives the activity number prompt message sent by the server, the activity number prompt message is displayed on the target activity page to indicate that the remaining number of user activities is insufficient, that is, the activity is over. In some embodiments, after the terminal receives the activity number prompt message sent by the server, the activity number prompt message is displayed on the target activity page in a toast floating display mode. Among them, toast is a message prompt box type for quickly displaying a small amount of information. In some embodiments, when the terminal displays the resource status prompt message on the target activity page, it displays a guide prompt message, and the guide prompt message is used to prompt an activity task that can obtain the number of activities. For example, the activity task is a sharing task, a browsing task, etc. In this process, the user is guided through the activity task to obtain the number of activities by displaying the guide prompt message.
[0193] It should be noted that step 407 is an optional solution. In other embodiments, after the server receives the card acquisition request sent by the terminal based on the target activity page, step 408 is executed.
[0194] In step 408, the server selects a target media resource in a first area from a plurality of media resources. The first area is any area, and the target media resource is used to recommend the first area.
[0195] In some embodiments, the process of the server determining the target media resource includes any of the following:
[0196] In some embodiments, the server randomly selects a target media resource from a plurality of media resources, and uses an area corresponding to the target media resource as the first area.
[0197] In some other embodiments, the server selects one area from among multiple areas as the first area, and then randomly selects a target media resource from among multiple media resources corresponding to the first area.
[0198] Through the above two methods of selecting target media resources, the media resources to be pushed can be quickly determined, and the media resources can be quickly issued, which improves the efficiency of media resource display. Moreover, through this random issuance method, media resources in different regions can be displayed, rather than just limited to the display of resources in the same city, which increases the fun of the event.
[0199] In step 409, the server returns the resource information of the target media resource and the corresponding area to the terminal.
[0200] In some embodiments, after determining the target media resource of the first area, the server returns resource information of the first area and the target media resource to the terminal to display the media resource.
[0201] In step 410, the terminal receives the resource information of the target media resource and the corresponding area, and generates a resource card according to the resource information of the target media resource and the corresponding area.
[0202] In some embodiments, the terminal is provided with a style template for a resource card. After receiving the resource information and the corresponding area of the target media resource, the resource information and the corresponding area of the target media resource are written into the style template, that is, the resource information of the target media resource is written into the corresponding display area, and the first area is written into the corresponding display area, thereby generating a resource card.
[0203] In step 411, the terminal displays the resource card in the target activity page, and displays the target media resource corresponding to the first area in the displayed resource card.
[0204] In some embodiments, the terminal displays the resource card in the target activity page with a pre-set transition animation effect, such as a pop-up card effect, or a gradient effect, and displays the target media resource corresponding to the first area in the displayed resource card. It should be noted that in some embodiments, when displaying the target media resource corresponding to the first area, the cover image of the target media resource is displayed, and a viewing control is provided on the cover image, and the viewing control is used to trigger the playback of the target media resource corresponding to the first area; in other embodiments, when displaying the target media resource corresponding to the first area, the target media resource is automatically played based on the resource information of the target media resource to achieve a seamless playback effect.
[0205] For example, taking the first area as B and the cover image including the viewing control as an example, the schematic diagram of displaying the resource card is shown in FIG. Fig.13 , Fig.13 is a schematic diagram showing a resource card according to an exemplary embodiment. Fig.13 The resource card is displayed as a pop-up card, and the viewing control can be Fig.13The playback control 1301 shown. In addition, the resource card also includes text introduction information of the target media resource corresponding to the first area. Among them, the text introduction information may include area introduction information and resource introduction information, the area introduction information is used to introduce the first area, and the resource introduction information is used to introduce the target media resource corresponding to the first area. By displaying the corresponding featured video or text description in the resource card, users can be attracted to enter the first page for consumption. In the above process, users can randomly draw resource cards through the shake function, and the resource cards will display the media resources corresponding to the area, thereby guiding users to watch the media resources.
[0206] In some embodiments, when displaying a resource card, the terminal displays a view details control, and the view details control is used to trigger the display of details of the target media resource corresponding to the first area. Fig.13 , the view details control can be Fig.13 When the user wants to view the details of the target media resource corresponding to the first area, the user clicks the view details control in the resource card, and the terminal detects the click of the view details control and displays the details of the target media resource corresponding to the first area in the target activity page. Fig.13 , click Fig.13 After the control 1302 is checked in the first area, the detailed diagram of the target media resource corresponding to the first area is shown in FIG. Fig.14A or Fig. 14B , Fig.14A is a detailed schematic diagram of a resource card according to an exemplary embodiment. Fig. 14B is a detailed schematic diagram of another resource card according to an exemplary embodiment. At this time, the terminal starts to automatically play the target media resource corresponding to the first area, and displays the introduction information of the target media resource corresponding to the first area.
[0207] It should be noted that the above process is a routine process for displaying target media resources. In other embodiments, if the first area is an area (wish city) that has been set for the user account, the terminal displays the corresponding reward special effect when displaying the target media resource corresponding to the first area. In some embodiments, if the first area is an area set for the user account logged in by the terminal, the terminal displays the first special effect in the target activity page. Optionally, if the first area is an area set by the terminal, the terminal displays the first special effect on the resource card while popping up the resource card in the target activity page. For example, taking the wish city as A as an example, when the first area is A, the schematic diagram of displaying the first special effect is shown in FIG. Fig.15 , Fig.15FIG. 1 is a schematic diagram showing another method of displaying resource cards according to an exemplary embodiment. When displaying resource cards, dynamic effect diagrams of rewards, such as airplane special effects, are displayed on resource cards. Fig.15 The resource card shown also displays prompt information for obtaining rewards, a wish city label and a view control 1501, such as a prompt information of "Congratulations! You have won the travel award."
[0208] When the user wants to view the details of the target media resource corresponding to the first area, the user clicks the view control 1501 in the resource card, and the terminal detects the view operation of the target media resource corresponding to the first area, and displays resource prompt information in the target activity page. The resource prompt information is used to prompt the resources obtained by the user account. Optionally, the target media resource corresponding to the first area is automatically played in the target activity page, and the text introduction information of the target media resource corresponding to the first area is displayed. For example, Fig.15 , click Fig.15 For a detailed diagram of the target media resource corresponding to the first area after the control 1501 is viewed, see Fig.16 , Fig.16 16 is a detailed schematic diagram of another resource card according to an exemplary embodiment. At this time, the terminal starts to automatically play the target media resource corresponding to the first area, and displays reward prompt information, view my reward control 1601, and introduction information of the target media resource corresponding to the first area. Among them, the resource prompt information may include reward pictures and reward text. View my reward control 1601 is used to trigger the display of reward records of the user account.
[0209] In the above process, by setting a wish city and adding corresponding rewards for the wish city, when the resource card that pops up is the resource card corresponding to the wish city, rewards are added for users, which increases the fun of the activity and can attract users to participate in the activity.
[0210] It should also be noted that the embodiments of the present disclosure also provide a server setting function for the area, that is, the area pre-set by the server. In subsequent examples, Easter egg city or surprise city is used to represent the area set by the server. In some embodiments, if the first area is the area set by the server (surprise city), the second special effect is displayed in the target activity page. Optionally, if the first area is the area set by the server, the terminal displays the second special effect on the resource card while popping up the resource card in the target activity page. For example, taking the surprise city as C as an example, when the first area is C, the schematic diagram of displaying the second special effect is shown in Fig.17 , Fig.17is a schematic diagram showing another method of displaying resource cards according to an exemplary embodiment. When displaying resource cards, dynamic effect diagrams of rewards, such as gift special effects, are displayed on resource cards. Fig.17 The resource card shown also displays prompt information for obtaining a surprise easter egg, a surprise city label, and a view control 1701, such as a prompt information of "Congratulations! You have obtained a surprise easter egg".
[0211] When the user wants to view the details of the target media resource corresponding to the first area, the user clicks on the view control 1701 in the resource card, and the terminal detects the view operation on the target media resource corresponding to the first area, and displays resource prompt information in the target activity page. The resource prompt information is used to prompt the resources obtained by the user account, and the target media resource corresponding to the first area is played in the target activity page, and the introduction information of the target media resource corresponding to the first area is displayed.
[0212] The technical solution provided by the embodiment of the present disclosure can trigger the display of target media resources corresponding to any area when a target event based on a target activity page is detected. Therefore, the display of media resources in any area can be achieved through operations corresponding to the target event, and media resources in different areas can be viewed without manual selection, thereby improving the efficiency of human-computer interaction. In addition, the target media resources corresponding to the first area are displayed in the form of resource cards, which increases the interest of the display of media resources and can attract more users to participate in the activity.
[0213] In the above embodiment, the process of displaying media resources is described. In addition, after the terminal displays the target media resources in the first area, there are other possible implementation methods to meet different business needs. The following is an explanation of the scheme based on five embodiments:
[0214] In a first embodiment, the terminal displays a first control in the target activity page, and the first control is used to trigger media resources corresponding to a display area. If a triggering operation on the first control in the target activity page is detected, the target media resources corresponding to a second area are obtained, and the second area is any area. In the target activity page, the target media resources corresponding to the second area are displayed.
[0215] For example, see Figure 14 or Fig.16 , the first control can be Fig.14A Continue to shake the control 1401 in the Fig. 14B Continue to shake the control 1404 in the Fig.16The continue shaking control 1602 in the control. In this embodiment, by triggering the first control, the process of acquiring and displaying the resource card can be executed, and the process of acquiring and displaying the media resource again can be quickly realized, thereby improving the user's activity experience.
[0216] The above embodiment is a process of directly acquiring media resources by clicking on the first control. In other embodiments, if a trigger operation on the first control is detected, the first page is jumped to, and based on the first page after the jump, the target activity page and the target media resources corresponding to the second area are triggered to be displayed. In this embodiment, based on the trigger operation on the first control, the first page is jumped to (the same city page), and the target activity entrance is displayed on the first page. In this way, the user triggers the terminal to execute the process of acquiring and displaying the resource card based on the click operation on the target activity entrance.
[0217] In a second embodiment, if the terminal detects the target event again based on the target activity page, the target media resource corresponding to the second area is obtained, and the second area is any area. In the target activity page, the target media resource corresponding to the second area is displayed.
[0218] In this embodiment, by shaking the target activity page again, the media resources corresponding to the second area can be displayed, thereby improving the user's activity experience.
[0219] In a third embodiment, if the terminal detects the target event based on the second page, or detects a triggering operation on the first control in the second page, the target media resources corresponding to the second area are obtained, and the second page is used to represent other pages associated with the target activity page. In the target activity page, the target media resources corresponding to the second area are displayed, and the second area is any area.
[0220] The second page may be a page in the same city, or a page containing resource cards, or a page in the same city displayed again.
[0221] In some embodiments, the terminal displays the first control in the second page, and if a trigger operation on the first control in the second page is detected, the target media resource corresponding to the second area is obtained, and the target media resource corresponding to the second area is displayed in the target activity page. In this embodiment, the continue shaking control can also be displayed on other pages, so that the user can display the media resource corresponding to the second area by clicking the continue shaking control in any page, which is convenient for the user's operation and can attract more users to participate in the activity.
[0222] In some other embodiments, if the terminal detects the target event based on the second page, the target media resource corresponding to the second area is obtained, and the target media resource corresponding to the second area is displayed in the target activity page. In this embodiment, other pages can also be shaken, so that the user can display the media resource corresponding to the second area by shaking any page, which is convenient for the user's operation and can attract more users to participate in the event.
[0223] In a fourth embodiment, the terminal displays a second control in the target activity page, and the second control is used to trigger the display of media resources whose location tags belong to the same area as the target media resources. If a triggering operation on the second control is detected, media resources whose location tags belong to the same area as the target media resources are displayed in the first page.
[0224] For example, see Figure 14 or Fig.16 , the second control can be Fig.14A The Browse control 1402, or Fig. 14B The Browse control 1405, or Fig.16 If the terminal detects a trigger operation on the second control, the first page displays media resources with location tags belonging to the same area as the target media resource. The first page is used to display multiple media resources with location tags belonging to the same area. Fig.14A , if Fig.14A The browse control 1402 shown is clicked to display the first page of area A. For a schematic diagram of the first page of area A, see Fig.18 , Fig.18 is a schematic diagram of a first page according to an exemplary embodiment, and in the first page of A, multiple media resources with location tag A are displayed. In addition, the terminal also displays the target activity entrance in the form of a widget in the first page of A, that is, Fig.18 In addition, after detecting the triggering operation of the second control, the terminal increases the remaining number of acquisitions of the user account and displays the number of increase prompt information on the first page, such as Fig.18 The prompt message shown is shake number +2.
[0225] In a fifth embodiment, the terminal displays a third control in the target activity page, and the third control is used to trigger sharing of the target media resource corresponding to the first area. If a triggering operation on the third control is detected, the target media resource corresponding to the first area is shared to the target object.
[0226] For example, see Fig. 14B , the third control can be Fig. 14BIf the terminal detects a trigger operation on the third control, the target media resource corresponding to the first area is shared with the target object. Fig. 14B If the user clicks on the city sharing control 1406 in 14B, the terminal responds to the click operation on the city sharing control 1406 by displaying the following Fig.19 The share page shown. Fig.19 1 is a schematic diagram of a sharing page according to an exemplary embodiment, wherein the sharing page includes a resource card containing a target media resource, icon controls of multiple social application programs, and a download control. In this embodiment, the sharing of the currently shaken media resource can be realized.
[0227] In some other embodiments, the terminal displays a fourth control in the target activity page, and the fourth control is used to trigger the sharing of the target media resource that has been displayed by the user account logged in by the terminal. If a trigger operation on the fourth control is detected, the displayed target media resource is shared with the target object. For example, the fourth control can be Fig.14A 1403, or Fig.16 The share my footprint control 1604 in. In this embodiment, the sharing of the resource records that have been shaken can be achieved.
[0228] To facilitate understanding, the following is an example to illustrate the solution. Fig. 20 is a flowchart showing a media resource display according to an exemplary embodiment, see Fig. 20, when the user enters the same city page, it is determined whether it is the first time to enter. If so, the target activity entrance is displayed in a pop-up window, if not, the target activity entrance is displayed in a widget. If the user clicks on the target activity entrance, it triggers the process of determining whether the wish city has been filled in. If so, the target activity page (shake page) is displayed, if not, the process of filling in the wish city is executed. If the user performs a shake (or other interactive) operation, the resource card pops up. After the resource card pops up, the target activity page displays a stroll control, a share my footprint control, and a continue shake control. Through the stroll control, the user can enter the first page of the city he shook, and the first page displays multiple media resources of the city he shook. Through the share my footprint control, the user can share my footprint information in the form of a sharing card to attract more users to participate in the activity. The user can also continue to participate in the shake activity on the target activity page by continuing to shake the control. It should be noted that after clicking the Continue Shake control, the process of determining whether there is still a resource status is triggered. If so, it jumps to the target activity page. If not, it prompts the user that today's activity has ended. In addition, through the View My Footprints achievement control on the target activity page, the process of displaying the resource record page of the user account can be triggered, and the resource record page also displays a sharing control to realize the sharing of its resource record.
[0229] The technical solution provided by the embodiment of the present disclosure triggers the display of target media resources corresponding to any area when a target event based on the target activity page is detected. Therefore, the display of media resources in any area can be realized through the operation corresponding to the target event. The media resources of different areas can be viewed without manual selection, which improves the efficiency of human-computer interaction. The target media resources corresponding to the first area are displayed in the form of resource cards, which increases the fun of displaying media resources and can attract more users to participate in the activity. In addition, by displaying trigger controls with different functions on the target activity page, different types of business needs can be realized, achieving the effect of attracting more users to participate in the activity while improving the user experience.
[0230] Fig.21 is a block diagram of a media resource display device according to an exemplary embodiment. Fig.21 The device includes a page display unit 2101, an acquisition unit 2102 and a card display unit 2103.
[0231] The page display unit 2101 is configured to execute display of a target activity page, where the target activity page is used to trigger a media resource corresponding to the display area;
[0232] The acquisition unit 2102 is configured to execute, if a target event is detected based on the target activity page, acquiring a target media resource corresponding to a first area, the first area being any area, the target media resource being used to recommend the first area;
[0233] The resource display unit 2103 is configured to be executed in the target activity page to display the target media resource corresponding to the first area.
[0234] In some embodiments, the apparatus further comprises:
[0235] A first control display unit is configured to display a first control in the target activity page;
[0236] The acquisition unit 2102 is further configured to execute, if a trigger operation on the first control in the target activity page is detected, to acquire a target media resource corresponding to a second area, where the second area is any area;
[0237] The resource display unit 2103 is further configured to be executed in the target activity page to display the target media resource corresponding to the second area.
[0238] In some embodiments, the acquisition unit 2102 is further configured to execute if the target event is detected again based on the target activity page, acquiring a target media resource corresponding to a second area, the second area being any area;
[0239] The resource display unit 2103 is further configured to be executed in the target activity page to display the target media resource corresponding to the second area.
[0240] In some embodiments, the acquisition unit 2102 is further configured to acquire a target media resource corresponding to the second area if the target event is detected based on the second page, or a triggering operation on the first control in the second page is detected, and the second page is used to represent other pages associated with the target activity page;
[0241] The resource display unit 2103 is further configured to be executed in the target activity page to display the target media resource corresponding to the second area, where the second area is any area.
[0242] In some embodiments, the apparatus further comprises:
[0243] A second control display unit is configured to display a second control in the target activity page;
[0244] The resource display unit 2103 is further configured to execute, if a trigger operation on the second control is detected, display media resources whose location tags belong to the same area as the target media resource on the first page, and the first page is used to display multiple media resources whose location tags belong to the same area.
[0245] In some embodiments, the device further comprises any of the following:
[0246] The third control display unit is configured to display the third control in the target activity page, and if a trigger operation on the third control is detected, share the target media resource corresponding to the first area with the target object.
[0247] In some embodiments, before displaying the target activity page, the device further includes any of the following:
[0248] The entry display unit is configured to display a target activity entry on the corresponding page in response to entering the first page or the second page, and if a triggering operation on the target activity entry is detected, execute the step of displaying the target activity page, wherein the first page is used to display multiple media resources belonging to the same area with location tags, and the second page is used to represent other pages associated with the target activity page.
[0249] In some embodiments, the entrance display unit is configured to perform any of the following:
[0250] In response to the user account logged in by the terminal entering the first page or the second page for the first time, displaying the target activity entrance on the corresponding page in the form of a pop-up window;
[0251] In response to the user account logged in by the terminal not entering the first page or the second page for the first time, the target activity entrance is displayed on the corresponding page in the form of a widget.
[0252] In some embodiments, the apparatus further comprises:
[0253] A record control display unit is configured to be executed in the target activity page to display a resource record control, the resource record control being used to trigger the display of a target media resource that has been displayed by the user account logged in by the terminal;
[0254] The resource display unit 2103 is further configured to display a resource record page if a trigger operation on the resource record control is detected. The resource record page includes target media resources that have been displayed by the user account logged in by the terminal.
[0255] In some embodiments, the apparatus further comprises:
[0256] The sharing control display unit is configured to display a sharing control in the resource record page, wherein the sharing control is used to trigger sharing of a target media resource that has been displayed by the user account logged in by the terminal.
[0257] In some embodiments, the apparatus further comprises:
[0258] A first special effect display unit is configured to display a first special effect in the target activity page if the first area is an area set by the user account logged in by the terminal;
[0259] The second special effect display unit is configured to display a second special effect in the target activity page if the first area is an area set by the server.
[0260] In some embodiments, the apparatus further comprises:
[0261] The prompt information display unit is configured to display resource prompt information in the target activity page if a viewing operation of the target media resource corresponding to the first area is detected, and the resource prompt information is used to prompt the resources obtained by the user account.
[0262] In some embodiments, the page display unit 2101 is further configured to perform any of the following:
[0263] If it is determined that the user account logged in by the terminal has been set with any area, the step of displaying the target activity page is executed;
[0264] If it is determined that the user account logged in by the terminal has not set any area, then a region filling page is displayed, and the region filling page is used to fill in the area of the user account.
[0265] In some embodiments, the target event is any one of a shaking operation on the terminal, a click operation on a target area of the target activity page, and receiving an audio instruction carrying a keyword.
[0266] In some embodiments, the resource display unit 2103 is configured to display a resource card in the target activity page, and display the target media resource corresponding to the first area in the displayed resource card.
[0267] The technical solution provided by the embodiment of the present disclosure can trigger the display of media resources corresponding to a region when a target event based on a target activity page is detected. The display of media resources in any region can be achieved through operations corresponding to the target event. Media resources in different regions can be viewed without manual selection, thereby improving the efficiency of human-computer interaction.
[0268] It should be noted that: the media resource display device provided in the above embodiment only uses the division of the above functional modules as an example when displaying media resources. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the media resource display device provided in the above embodiment and the media resource display method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0269] Fig. 22 is a block diagram of a media resource display device according to an exemplary embodiment. Fig. 22 The device includes a receiving unit 2201, a selecting unit 2202 and a returning unit 2203.
[0270] The receiving unit 2201 is configured to execute a resource acquisition request sent by a receiving terminal based on a target activity page, where the target activity page is used to trigger a media resource corresponding to a display area;
[0271] The selection unit 2202 is configured to select a target media resource in a first area from a plurality of media resources, where the first area is any area;
[0272] The returning unit 2203 is configured to return the resource information and the corresponding area of the target media resource to the terminal.
[0273] In some embodiments, the apparatus further comprises:
[0274] an acquisition unit configured to acquire a resource status of a user account logged in by the terminal at a current moment, and if the resource status is greater than or equal to one, execute a step of selecting a target media resource;
[0275] The sending unit is configured to send resource status prompt information to the terminal if the resource status is less than one, wherein the resource status prompt information is used to prompt that the resource status of the target activity is insufficient.
[0276] The technical solution provided by the embodiment of the present disclosure can trigger the display of media resources corresponding to a region when a target event based on a target activity page is detected. The display of media resources in any region can be achieved through operations corresponding to the target event. Media resources in different regions can be viewed without manual selection, thereby improving the efficiency of human-computer interaction.
[0277] It should be noted that: the media resource display device provided in the above embodiment only uses the division of the above functional modules as an example when displaying media resources. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the media resource display device provided in the above embodiment and the media resource display method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0278] Fig.23 2 is a block diagram of a terminal 2300 according to an exemplary embodiment. The terminal 2300 may be a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 2300 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0279] Typically, the terminal 2300 includes: a processor 2301 and a memory 2302 .
[0280] The processor 2301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0281] The memory 2302 may include one or more computer-readable storage media, which may be non-transitory. The memory 2302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2302 is used to store at least one instruction, which is used to be executed by the processor 2301 to implement the media resource display method provided in the method embodiment of the present disclosure.
[0282] In some embodiments, the terminal 2300 may also optionally include: a peripheral device interface 2303 and at least one peripheral device. The processor 2301, the memory 2302 and the peripheral device interface 2303 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2303 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2304, a display screen 2305, a camera assembly 2306, an audio circuit 2307, a positioning assembly 2308 and a power supply 2309.
[0283] The peripheral device interface 2303 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2301 and the memory 2302. In some embodiments, the processor 2301, the memory 2302, and the peripheral device interface 2303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2301, the memory 2302, and the peripheral device interface 2303 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0284] The radio frequency circuit 2304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2304 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2304 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 2304 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2304 may also include circuits related to NFC (Near Field Communication), which is not limited in the present disclosure.
[0285] The display screen 2305 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2305 is a touch display screen, the display screen 2305 also has the ability to collect touch signals on the surface or above the surface of the display screen 2305. The touch signal can be input to the processor 2301 as a control signal for processing. At this time, the display screen 2305 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 2305 can be one, set on the front panel of the terminal 2300; in other embodiments, the display screen 2305 can be at least two, respectively set on different surfaces of the terminal 2300 or in a folding design; in other embodiments, the display screen 2305 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 2300. Even, the display screen 2305 can also be set to a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 2305 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0286] The camera assembly 2306 is used to capture images or videos. Optionally, the camera assembly 2306 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2306 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0287] The audio circuit 2307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 2301 for processing, or input them into the radio frequency circuit 2304 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 2300. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 2301 or the radio frequency circuit 2304 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 2307 may also include a headphone jack.
[0288] Positioning component 2308 is used to locate the current geographical location of terminal 2300 to implement navigation or LBS (Location Based Service). Positioning component 2308 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.
[0289] The power supply 2309 is used to power various components in the terminal 2300. The power supply 2309 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 2309 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0290] In some embodiments, the terminal 2300 further includes one or more sensors 2310 , including but not limited to: an acceleration sensor 2311 , a gyroscope sensor 2312 , a pressure sensor 2313 , a fingerprint sensor 2314 , an optical sensor 2315 , and a proximity sensor 2316 .
[0291] The acceleration sensor 2311 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 2300. For example, the acceleration sensor 2311 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 2301 can control the display screen 2305 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 2311. The acceleration sensor 2311 can also be used for collecting game or user motion data.
[0292] The gyro sensor 2312 can detect the body direction and rotation angle of the terminal 2300, and the gyro sensor 2312 can cooperate with the acceleration sensor 2311 to collect the user's 3D actions on the terminal 2300. The processor 2301 can implement the following functions based on the data collected by the gyro sensor 2312: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0293] The pressure sensor 2313 can be set on the side frame of the terminal 2300 and / or the lower layer of the display screen 2305. When the pressure sensor 2313 is set on the side frame of the terminal 2300, the user's holding signal of the terminal 2300 can be detected, and the processor 2301 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 2313. When the pressure sensor 2313 is set on the lower layer of the display screen 2305, the processor 2301 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 2305. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0294] The fingerprint sensor 2314 is used to collect the user's fingerprint, and the processor 2301 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 2314, or the fingerprint sensor 2314 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 2301 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 2314 can be set on the front, back, or side of the terminal 2300. When a physical button or a manufacturer logo is set on the terminal 2300, the fingerprint sensor 2314 can be integrated with the physical button or the manufacturer logo.
[0295] The optical sensor 2315 is used to collect the ambient light intensity. In one embodiment, the processor 2301 can control the display brightness of the display screen 2305 according to the ambient light intensity collected by the optical sensor 2315. Specifically, when the ambient light intensity is high, the display brightness of the display screen 2305 is increased; when the ambient light intensity is low, the display brightness of the display screen 2305 is reduced. In another embodiment, the processor 2301 can also dynamically adjust the shooting parameters of the camera assembly 2306 according to the ambient light intensity collected by the optical sensor 2315.
[0296] The proximity sensor 2316, also called a distance sensor, is usually arranged on the front panel of the terminal 2300. The proximity sensor 2316 is used to collect the distance between the user and the front of the terminal 2300. In one embodiment, when the proximity sensor 2316 detects that the distance between the user and the front of the terminal 2300 is gradually decreasing, the processor 2301 controls the display screen 2305 to switch from the screen-on state to the screen-off state; when the proximity sensor 2316 detects that the distance between the user and the front of the terminal 2300 is gradually increasing, the processor 2301 controls the display screen 2305 to switch from the screen-off state to the screen-on state.
[0297] Those skilled in the art will understand that Fig.23 The structure shown in the figure does not constitute a limitation on the terminal 2300, and the terminal 2300 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0298] Fig.24 It is a block diagram of a server according to an exemplary embodiment. The server 2400 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 2401 and one or more memories 2402, wherein the one or more memories 2402 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 2401 to implement the media resource display method provided by the above-mentioned various method embodiments. Of course, the server 2400 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server 2400 may also include other components for implementing device functions, which will not be repeated here.
[0299] In an exemplary embodiment, a storage medium including a program code is also provided, such as a memory 2402 including the program code, and the program code can be executed by a processor 2401 of a server 2400 to complete the above-mentioned media resource display method. Optionally, the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact-disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0300] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0301] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for displaying media resources, characterized in that: The method comprises: Displaying a target activity entrance on a first page, the target activity entrance is used to trigger display of a target activity page, the target activity page is used to trigger media resources corresponding to a display area, the area including a city, a scenic spot, and a shopping mall; wherein, when a user account logged in by a terminal enters the first page for the first time, the target activity entrance is displayed in the form of a pop-up window; when the user account logged in by the terminal enters the first page not for the first time, the target activity entrance is displayed in the form of a widget; In response to a triggering operation on the target activity entry, displaying a target activity page, wherein a display resource record control is displayed on the target activity page; If a target event is detected based on the target activity page, a target media resource corresponding to a first area is obtained, the first area being any area, and the target media resource is used to recommend the first area; In the target activity page, display the target media resources corresponding to the first area; If the target event is detected again based on the target activity page, a target media resource corresponding to a second area is obtained, where the second area is any area; and in the target activity page, the target media resource corresponding to the second area is displayed; If the target event is detected based on the second page, the target media resource corresponding to the second area is obtained, and the second page is used to represent other pages associated with the target activity page; in the target activity page, the target media resource corresponding to the second area is displayed; If a trigger operation on the resource record control is detected, a resource record page is displayed, the resource record page including the target media resource and the sharing control that have been displayed by the user account logged in by the terminal; If a triggering operation on the sharing control is detected, the resource record of the user account is shared with the target object, and the resource record includes the target media resource obtained by triggering the target event.
2. The media resource display method according to claim 1, characterized in that: The method further comprises: Displaying a first control in the target activity page; If a triggering operation on the first control in the target activity page is detected, a target media resource corresponding to a second area is obtained, where the second area is any area; In the target activity page, target media resources corresponding to the second area are displayed.
3. The media resource display method according to claim 1, characterized in that: The method further comprises: If a triggering operation on the first control in the second page is detected, obtaining a target media resource corresponding to the second area; In the target activity page, target media resources corresponding to the second area are displayed, and the second area is any area.
4. The media resource display method according to claim 1, characterized in that: The method further comprises: Displaying a second control in the target activity page; If a trigger operation on the second control is detected, media resources whose location tags belong to the same area as the target media resource are displayed on the first page, and the first page is used to display multiple media resources whose location tags belong to the same area.
5. The media resource display method according to claim 1, characterized in that: The method further comprises any of the following: A third control is displayed in the target activity page, and if a triggering operation on the third control is detected, a target media resource corresponding to the first area is shared with a target object.
6. The media resource display method according to claim 1, characterized in that: Before displaying the target activity page, the method further includes any of the following: In response to entering the first page or the second page, a target activity entrance is displayed on the corresponding page. If a triggering operation on the target activity entrance is detected, the step of displaying the target activity page is executed, wherein the first page is used to display multiple media resources with location tags belonging to the same area, and the second page is used to represent other pages associated with the target activity page.
7. The media resource display method according to claim 6, characterized in that: In response to entering the first page or the second page, displaying the target activity entrance on the corresponding page includes any of the following: In response to the user account logged in by the terminal entering the second page for the first time, displaying the target activity entrance on the corresponding page in the form of a pop-up window; In response to the user account logged in by the terminal not entering the second page for the first time, the target activity entrance is displayed on the corresponding page in the form of a widget.
8. The media resource display method according to claim 1, characterized in that: If a target event is detected based on the target activity page, after obtaining the target media resource corresponding to the first area, the method further includes: If the first area is an area set by the user account logged in by the terminal, displaying a first special effect in the target activity page; If the first area is an area set by the server, a second special effect is displayed in the target activity page.
9. The media resource display method according to claim 8, characterized in that: The method further comprises: If a viewing operation on the target media resource corresponding to the first area is detected, resource prompt information is displayed in the target activity page, and the resource prompt information is used to prompt the resources obtained by the user account.
10. The media resource display method according to claim 8, characterized in that: If a target event is detected based on the target activity page, before acquiring the target media resource corresponding to the first area, the method further includes any of the following: If it is determined that the user account logged in by the terminal has been set with any area, the step of displaying the target activity page is executed; If it is determined that the user account logged in by the terminal has not set any area, then a region filling page is displayed, and the region filling page is used for the user account filling area.
11. The media resource display method according to claim 1, characterized in that: The target event is any one of a shaking operation on the terminal, a click operation on a target area of the target activity page, and receiving an audio instruction carrying a keyword.
12. The media resource display method according to claim 1, characterized in that: In the target activity page, displaying the target media resource corresponding to the first area includes: In the target activity page, a resource card is displayed, and the target media resource corresponding to the first area is displayed in the displayed resource card.
13. A method for displaying media resources, characterized in that: The method comprises: Receiving a resource acquisition request sent by a terminal based on a target activity page, wherein the target activity page is used to trigger media resources corresponding to a display area, wherein the area includes a city, a scenic spot, and a shopping mall; Selecting a target media resource in a first area from among multiple media resources, where the first area is any area; Returning resource information and a corresponding area of the target media resource to the terminal; Wherein, the terminal is used to display a target activity entrance on a first page, the target activity entrance is used to trigger the display of a target activity page, the target activity page is used to trigger media resources corresponding to a display area, when the user account logged in by the terminal enters the first page for the first time, the target activity entrance is displayed in the form of a pop-up window; when the user account logged in by the terminal enters the first page not for the first time, the target activity entrance is displayed in the form of a widget; in response to the triggering operation of the target activity entrance, the target activity page is displayed, and a display resource record control is displayed in the target activity page; if a target event is detected based on the target activity page, the target media resources corresponding to the first area are obtained, the first area is any area, and the target media resources are used to recommend the first area; in the target activity page, the target media resources corresponding to the first area are displayed; If the target event is detected again based on the target activity page, the target media resources corresponding to the second area are obtained, and the second area is any area; in the target activity page, the target media resources corresponding to the second area are displayed; if the target event is detected based on the second page, the target media resources corresponding to the second area are obtained, and the second page is used to represent other pages associated with the target activity page; in the target activity page, the target media resources corresponding to the second area are displayed; if a triggering operation on the resource record control is detected, a resource record page is displayed, and the resource record page includes the target media resources and sharing controls that have been displayed by the user account logged in by the terminal; if a triggering operation on the sharing control is detected, the resource record of the user account is shared to the target object, and the resource record includes the target media resources obtained by triggering the target event.
14. The media resource display method according to claim 13, characterized in that: After the receiving terminal sends a resource acquisition request based on the target activity page, the method further includes: Acquire the resource status of the user account logged in by the terminal at the current moment, and if the resource status is valid, execute the step of selecting the target media resource; If the resource status is invalid, resource status prompt information is sent to the terminal, where the resource status prompt information is used to prompt that the resources of the target activity are insufficient.
15. A media resource display device, characterized in that: The device comprises: A page display unit is configured to execute displaying a target activity entrance on a first page, the target activity entrance is used to trigger display of a target activity page, the target activity page is used to trigger media resources corresponding to a display area, the area including a city, a scenic spot, and a shopping mall; wherein, when a user account logged in by a terminal enters the first page for the first time, the target activity entrance is displayed in a pop-up window; when the user account logged in by the terminal enters the first page not for the first time, the target activity entrance is displayed in a widget; in response to a triggering operation on the target activity entrance, a target activity page is displayed, wherein a display resource record control is displayed on the target activity page; An acquisition unit is configured to acquire a target media resource corresponding to a first area if a target event is detected based on the target activity page, the first area being any area, and the target media resource being used to recommend the first area; A resource display unit, configured to be executed in the target activity page to display the target media resource corresponding to the first area; The acquisition unit is further configured to execute, if the target event is detected again based on the target activity page, acquiring a target media resource corresponding to a second area, where the second area is any area; The resource display unit is further configured to be executed in the target activity page to display the target media resource corresponding to the second area; The acquisition unit is further configured to acquire a target media resource corresponding to a second area if the target event is detected based on a second page, wherein the second page is used to represent other pages associated with the target activity page; The resource display unit is further configured to be executed in the target activity page to display the target media resource corresponding to the second area; The resource display unit is further configured to display a resource record page if a trigger operation on the resource record control is detected, the resource record page including the target media resource and the sharing control that have been displayed by the user account logged in by the terminal; The sharing control display unit is configured to execute, if a triggering operation on the sharing control is detected, sharing the resource record of the user account to a target object, wherein the resource record includes a target media resource obtained by triggering a target event.
16. The media resource display device according to claim 15, characterized in that: The device also includes: A first control display unit is configured to display a first control in the target activity page; The acquisition unit is further configured to acquire a target media resource corresponding to a second area if a trigger operation on the first control in the target activity page is detected, where the second area is any area; The resource display unit is further configured to be executed in the target activity page to display the target media resource corresponding to the second area.
17. The media resource display device according to claim 15, characterized in that: The acquisition unit is further configured to acquire a target media resource corresponding to the second area if a trigger operation on the first control in the second page is detected, wherein the second page is used to represent other pages associated with the target activity page; The resource display unit is further configured to be executed in the target activity page to display the target media resource corresponding to the second area, where the second area is any area.
18. The media resource display device according to claim 15, characterized in that: The device also includes: A second control display unit is configured to display a second control in the target activity page; The resource display unit is further configured to execute, if a trigger operation on the second control is detected, display media resources whose location tags belong to the same area as the target media resource on a first page, and the first page is used to display multiple media resources whose location tags belong to the same area.
19. The media resource display device according to claim 15, characterized in that: The device further comprises any of the following: The third control display unit is configured to display a third control in the target activity page, and if a trigger operation on the third control is detected, share the target media resource corresponding to the first area with the target object.
20. The media resource display device according to claim 15, characterized in that: Before displaying the target activity page, the device further includes any of the following: The entry display unit is configured to display a target activity entry on the corresponding page in response to entering the first page or the second page, and if a triggering operation on the target activity entry is detected, execute the step of displaying the target activity page, wherein the first page is used to display multiple media resources with location tags belonging to the same area, and the second page is used to represent other pages associated with the target activity page.
21. The media resource display device according to claim 20, characterized in that: The entrance display unit is configured to perform any of the following: In response to the user account logged in by the terminal entering the second page for the first time, displaying the target activity entrance on the corresponding page in the form of a pop-up window; In response to the user account logged in by the terminal not entering the second page for the first time, the target activity entrance is displayed on the corresponding page in the form of a widget.
22. The media resource display device according to claim 15, characterized in that: The device also includes: A first special effect display unit is configured to display a first special effect in the target activity page if the first area is an area set by the user account logged in by the terminal; The second special effect display unit is configured to display a second special effect in the target activity page if the first area is an area set by the server.
23. The media resource display device according to claim 22, characterized in that: The device also includes: The prompt information display unit is configured to display resource prompt information in the target activity page if a viewing operation of the target media resource corresponding to the first area is detected, and the resource prompt information is used to prompt the resources obtained by the user account.
24. The media resource display device according to claim 22, characterized in that: The page display unit is further configured to perform any of the following: If it is determined that the user account logged in by the terminal has been set with any area, the step of displaying the target activity page is executed; If it is determined that the user account logged in by the terminal has not set any area, then a region filling page is displayed, and the region filling page is used for the user account filling area.
25. The media resource display device according to claim 15, characterized in that: The target event is any one of a shaking operation on the terminal, a click operation on a target area of the target activity page, and receiving an audio instruction carrying a keyword.
26. The media resource display device according to claim 15, characterized in that: The resource display unit is configured to be executed in the target activity page, display resource cards, and display target media resources corresponding to the first area in the displayed resource cards.
27. A media resource display device, characterized in that: The device comprises: A receiving unit configured to execute a resource acquisition request sent by a receiving terminal based on a target activity page, wherein the target activity page is used to trigger a media resource corresponding to a display area, wherein the area includes a city, a scenic spot, and a shopping mall; A selection unit is configured to select a target media resource in a first area from a plurality of media resources, wherein the first area is any area; A returning unit, configured to return the resource information and the corresponding area of the target media resource to the terminal; Wherein, the terminal is used to display a target activity entrance on a first page, the target activity entrance is used to trigger the display of a target activity page, the target activity page is used to trigger media resources corresponding to a display area, when the user account logged in by the terminal enters the first page for the first time, the target activity entrance is displayed in the form of a pop-up window; when the user account logged in by the terminal enters the first page not for the first time, the target activity entrance is displayed in the form of a widget; in response to the triggering operation of the target activity entrance, the target activity page is displayed, and a display resource record control is displayed in the target activity page; if a target event is detected based on the target activity page, the target media resources corresponding to the first area are obtained, the first area is any area, and the target media resources are used to recommend the first area; in the target activity page, the target media resources corresponding to the first area are displayed; If the target event is detected again based on the target activity page, the target media resources corresponding to the second area are obtained, and the second area is any area; in the target activity page, the target media resources corresponding to the second area are displayed; if the target event is detected based on the second page, the target media resources corresponding to the second area are obtained, and the second page is used to represent other pages associated with the target activity page; in the target activity page, the target media resources corresponding to the second area are displayed; if a triggering operation on the resource record control is detected, a resource record page is displayed, and the resource record page includes the target media resources and sharing controls that have been displayed by the user account logged in by the terminal; if a triggering operation on the sharing control is detected, the resource record of the user account is shared to the target object, and the resource record includes the target media resources obtained by triggering the target event.
28. The media resource display device according to claim 27, characterized in that: The device also includes: an acquisition unit configured to acquire the resource status of the user account logged in by the terminal at the current moment, and if the resource status is valid, execute the step of selecting the target media resource; The sending unit is configured to send resource status prompt information to the terminal if the resource status is invalid, wherein the resource status prompt information is used to prompt that the resources of the target activity are insufficient.
29. A terminal, characterized in that: The terminal comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the media resource display method as described in any one of claims 1 to 12.
30. A server, characterized in that: The server comprises: one or more processors; a memory for storing program code executable by the processor; The processor is configured to execute the program code to implement the media resource display method as described in any one of claims 13 to 14.
31. A storage medium, characterized in that: When the program code in the storage medium is executed by the processor of the terminal, the terminal is enabled to execute the media resource display method as described in any one of claims 1 to 12; when the program code in the storage medium is executed by the processor of the server, the server is enabled to execute the media resource display method as described in any one of claims 13 to 14.
32. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the media resource display method according to any one of claims 1 to 14 is implemented.
